Parcourir la 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 il y a 13 ans
Parent
commit
cf2ffdce1a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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^);