X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tools-for-build%2Fldso-stubs.lisp;h=45d24256093750ccc302e72b41e6b8deabb9b8c3;hb=f52d22d071c68f2daa318a7c0477358145bf22c6;hp=0360b1d8d3375292304fa378e02ec55d43bdb2f2;hpb=dedc93e4b7ed42ee697006b017e4a6095be3c5b7;p=sbcl.git diff --git a/tools-for-build/ldso-stubs.lisp b/tools-for-build/ldso-stubs.lisp index 0360b1d..45d2425 100644 --- a/tools-for-build/ldso-stubs.lisp +++ b/tools-for-build/ldso-stubs.lisp @@ -97,8 +97,8 @@ ldso_stub__ ## fct: ; \\ #!+(and darwin ppc) " #define LDSO_STUBIFY(fct) @\\ .text @\\ -.globl ldso_stub___ ## fct @\\ -ldso_stub___ ## fct: @\\ +.globl _ldso_stub___ ## fct @\\ +_ldso_stub___ ## fct: @\\ b ldso_stub__ ## fct ## stub @\\ .symbol_stub ldso_stub__ ## fct ## stub: @\\ .indirect_symbol _ ## fct @\\ @@ -117,8 +117,8 @@ ldso_stub__ ## fct ## $lazy_ptr: @\\ #define LDSO_STUBIFY(fct) \\ .text ; \\ .align 4 ; \\ -.globl ldso_stub___ ## fct ; \\ -ldso_stub___ ## fct: ; \\ +.globl _ldso_stub___ ## fct ; \\ +_ldso_stub___ ## fct: ; \\ jmp L ## fct ## $stub ; \\ .section __IMPORT,__jump_table,symbol_stubs,self_modifying_code+pure_instructions,5 ; \\ L ## fct ## $stub: ; \\ @@ -134,8 +134,8 @@ L ## fct ## $stub: ; \\ #!+(and darwin x86-64) " #define LDSO_STUBIFY(fct) \\ .align 4 ; \\ -.globl ldso_stub___ ## fct ; \\ -ldso_stub___ ## fct: ; \\ +.globl _ldso_stub___ ## fct ; \\ +_ldso_stub___ ## fct: ; \\ jmp _ ## fct ; \\ .L ## fct ## e1: ; " @@ -246,6 +246,7 @@ ldso_stub__ ## fct: ; \\ "read" "readdir" "readlink" + "realpath" "recv" "rename" "rmdir" @@ -298,10 +299,12 @@ ldso_stub__ ## fct: ; \\ ;; #!-linkage-table, as we only need these stubs if ;; we don't have linkage-table. Done this way now to ;; cut down on the number of ports affected. - #!-(or win32 darwin freebsd netbsd) + #!-(or win32 darwin freebsd netbsd openbsd) '("ptsname" "grantpt" "unlockpt") + #!+openbsd + '("openpty") #!-darwin '("dlclose" "dlerror"