mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-26 13:09:09 +02:00
* fixed position of "weak" linkage flag
git-svn-id: trunk@32915 -
This commit is contained in:
parent
90071e04c4
commit
e3f8f8c974
@ -977,6 +977,8 @@ implementation
|
||||
else
|
||||
begin
|
||||
writer.AsmWrite('define');
|
||||
if ldf_weak in taillvmdecl(hp).flags then
|
||||
writer.AsmWrite(' weak');
|
||||
WriteLinkageVibilityFlags(taillvmdecl(hp).namesym.bind);
|
||||
writer.AsmWrite(llvmencodeproctype(tprocdef(taillvmdecl(hp).def), '', lpd_def));
|
||||
WriteFunctionFlags(tprocdef(taillvmdecl(hp).def));
|
||||
@ -987,10 +989,10 @@ implementation
|
||||
begin
|
||||
writer.AsmWrite(LlvmAsmSymName(taillvmdecl(hp).namesym));
|
||||
writer.AsmWrite(' =');
|
||||
if ldf_weak in taillvmdecl(hp).flags then
|
||||
writer.AsmWrite(' weak');
|
||||
WriteLinkageVibilityFlags(taillvmdecl(hp).namesym.bind);
|
||||
writer.AsmWrite(' ');
|
||||
if ldf_weak in taillvmdecl(hp).flags then
|
||||
writer.AsmWrite('weak ');
|
||||
if (ldf_tls in taillvmdecl(hp).flags) then
|
||||
writer.AsmWrite('thread_local ');
|
||||
if ldf_unnamed_addr in taillvmdecl(hp).flags then
|
||||
|
Loading…
Reference in New Issue
Block a user