mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-02 08:30:20 +02:00
* generate indirect symbols for interface IID and IIDSTR (fixes cycling; I wonder why that worked on Windows without problems :/ )
git-svn-id: trunk@34353 -
This commit is contained in:
parent
419c6ce61e
commit
37c32f4b61
@ -924,7 +924,7 @@ implementation
|
||||
s:=make_mangledname('IID',_class.owner,_class.objname^);
|
||||
tcb:=ctai_typedconstbuilder.create([tcalo_make_dead_strippable]);
|
||||
tcb.emit_guid_const(_class.iidguid^);
|
||||
sym:=current_asmdata.DefineAsmSymbol(s,AB_GLOBAL,AT_DATA,rec_tguid);
|
||||
sym:=current_asmdata.DefineAsmSymbol(s,AB_GLOBAL,AT_DATA_FORCEINDIRECT,rec_tguid);
|
||||
list.concatlist(tcb.get_final_asmlist(
|
||||
sym,
|
||||
rec_tguid,
|
||||
@ -937,7 +937,7 @@ implementation
|
||||
s:=make_mangledname('IIDSTR',_class.owner,_class.objname^);
|
||||
tcb:=ctai_typedconstbuilder.create([tcalo_make_dead_strippable]);
|
||||
def:=tcb.emit_shortstring_const(_class.iidstr^);
|
||||
sym:=current_asmdata.DefineAsmSymbol(s,AB_GLOBAL,AT_DATA,def);
|
||||
sym:=current_asmdata.DefineAsmSymbol(s,AB_GLOBAL,AT_DATA_FORCEINDIRECT,def);
|
||||
list.concatlist(tcb.get_final_asmlist(
|
||||
sym,
|
||||
def,
|
||||
|
Loading…
Reference in New Issue
Block a user