* ttai_typedconstbuilder.finalize_asmlist(): fixed handling of non-local

symbols that aren't AB_GLOBAL (e.g. AB_PRIVATE_EXTERN)

git-svn-id: trunk@32878 -
This commit is contained in:
Jonas Maebe 2016-01-07 22:05:28 +00:00
parent bf735c7e58
commit 1046c995a8

View File

@ -935,10 +935,10 @@ implementation
end;
if not(tcalo_is_lab in options) then
if sym.bind=AB_GLOBAL then
prelist.concat(tai_symbol.Create_Global(sym,0))
else
if sym.bind=AB_LOCAL then
prelist.concat(tai_symbol.Create(sym,0))
else
prelist.concat(tai_symbol.Create_Global(sym,0))
else
prelist.concat(tai_label.Create(tasmlabel(sym)));
{ insert the symbol information before the data }