Selaa lähdekoodia

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

git-svn-id: trunk@47108 -
svenbarth 5 vuotta sitten
vanhempi
commit
5e6ec33a59
1 muutettua tiedostoa jossa 5 lisäystä ja 1 poistoa
  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