* when setting up the symbol for the SEH data don't check whether it is global, instead check whether it's a function

git-svn-id: trunk@47107 -
This commit is contained in:
svenbarth 2020-10-14 09:11:27 +00:00
parent 7a1903cc8f
commit 0c2494bec8

View File

@ -313,10 +313,11 @@ unit agcpugas;
tmplist.free; tmplist.free;
tmplist:=nil; tmplist:=nil;
end; end;
end; end;
ait_symbol: ait_symbol:
begin begin
if tai_symbol(hp).is_global then if tai_symbol(hp).sym.typ=AT_FUNCTION then
lastsym:=tai_symbol(hp); lastsym:=tai_symbol(hp);
end; end;
ait_instruction: ait_instruction: