Browse Source

* use cg.g_external_wrapper() rather than cg.a_jmp_name() to generate stubs
for alternate shared library function names (corrects them on at least
AIX and Linux/ppc64)

git-svn-id: trunk@20816 -

Jonas Maebe 13 years ago
parent
commit
cf2ffdce1a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/expunix.pas

+ 1 - 1
compiler/expunix.pas

@@ -167,7 +167,7 @@ begin
 {$endif x86}
              end
            else
-             cg.a_jmp_name(current_asmdata.asmlists[al_procedures],pd.mangledname);
+             cg.g_external_wrapper(current_asmdata.asmlists[al_procedures],pd,pd.mangledname);
            current_asmdata.asmlists[al_procedures].concat(Tai_symbol_end.Createname(hp2.name^));
          end;
         exportedsymnames.insert(hp2.name^);