Browse Source

* reset the stored symbol for SEH data once a new section is encountered

git-svn-id: trunk@47108 -
svenbarth 4 years ago
parent
commit
5e6ec33a59
1 changed files with 5 additions and 1 deletions
  1. 5 1
      compiler/aarch64/agcpugas.pas

+ 5 - 1
compiler/aarch64/agcpugas.pas

@@ -305,7 +305,11 @@ unit agcpugas;
                         internalerror(2020041214);
                     end
                   else
-                    lastsec:=tai_section(hp);
+                    begin
+                      lastsec:=tai_section(hp);
+                      { also reset the last encountered symbol }
+                      lastsym:=nil;
+                    end;
 
                   if assigned(tmplist) then
                     begin