|
@@ -71,7 +71,7 @@ implementation
|
|
symconst,script,
|
|
symconst,script,
|
|
fmodule,
|
|
fmodule,
|
|
aasmbase,aasmtai,aasmdata,aasmcpu,cpubase,
|
|
aasmbase,aasmtai,aasmdata,aasmcpu,cpubase,
|
|
- cgbase,cgobj,cgutils,ogbase,
|
|
|
|
|
|
+ cgbase,cgobj,cgutils,ogbase,ncgutil,
|
|
i_linux
|
|
i_linux
|
|
;
|
|
;
|
|
|
|
|
|
@@ -164,7 +164,7 @@ begin
|
|
{ the manglednames can already be the same when the procedure
|
|
{ the manglednames can already be the same when the procedure
|
|
is declared with cdecl }
|
|
is declared with cdecl }
|
|
pd:=tprocdef(tprocsym(hp2.sym).ProcdefList[0]);
|
|
pd:=tprocdef(tprocsym(hp2.sym).ProcdefList[0]);
|
|
- if pd.mangledname<>hp2.name^ then
|
|
|
|
|
|
+ if has_alias_name(pd,hp2.name^) then
|
|
begin
|
|
begin
|
|
{ place jump in al_procedures }
|
|
{ place jump in al_procedures }
|
|
current_asmdata.asmlists[al_procedures].concat(tai_align.create(target_info.alignment.procalign));
|
|
current_asmdata.asmlists[al_procedures].concat(tai_align.create(target_info.alignment.procalign));
|