X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tools-for-build%2Fldso-stubs.lisp;h=5d9e0d73f5af050f1bb757e42bbfad8cf4d9f583;hb=b43d36ddab647b955432acc51a6d2aec3a128482;hp=8fa13b026ef5f191b8068855c18510e7d2d04d2f;hpb=2b0851c405b494143009f68e2bc7e91017a809d4;p=sbcl.git diff --git a/tools-for-build/ldso-stubs.lisp b/tools-for-build/ldso-stubs.lisp index 8fa13b0..5d9e0d7 100644 --- a/tools-for-build/ldso-stubs.lisp +++ b/tools-for-build/ldso-stubs.lisp @@ -113,18 +113,18 @@ ldso_stub__ ## fct: ; \\ #!+(and darwin ppc) " #define LDSO_STUBIFY(fct) @\\ .text @\\ -.globl _ldso_stub___ ## fct @\\ -_ldso_stub___ ## fct: @\\ - b ldso_stub__ ## fct ## stub @\\ -.symbol_stub ldso_stub__ ## fct ## stub: @\\ +.globl _ldso_stub__ ## fct @\\ +_ldso_stub__ ## fct: @\\ + b _ldso_stub__ ## fct ## stub @\\ +.symbol_stub _ldso_stub__ ## fct ## stub: @\\ .indirect_symbol _ ## fct @\\ - lis r11,ha16(ldso_stub__ ## fct ## $lazy_ptr) @\\ - lwz r12,lo16(ldso_stub__ ## fct ## $lazy_ptr)(r11) @\\ + lis r11,ha16(_ldso_stub__ ## fct ## $lazy_ptr) @\\ + lwz r12,lo16(_ldso_stub__ ## fct ## $lazy_ptr)(r11) @\\ mtctr r12 @\\ - addi r11,r11,lo16(ldso_stub__ ## fct ## $lazy_ptr) @\\ + addi r11,r11,lo16(_ldso_stub__ ## fct ## $lazy_ptr) @\\ bctr @\\ .lazy_symbol_pointer @\\ -ldso_stub__ ## fct ## $lazy_ptr: @\\ +_ldso_stub__ ## fct ## $lazy_ptr: @\\ .indirect_symbol _ ## fct @\\ .long dyld_stub_binding_helper" @@ -133,8 +133,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: ; \\ @@ -150,8 +150,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: ; " @@ -220,6 +220,7 @@ ldso_stub__ ## fct: ; \\ "fork" "free" "fstat" + #!+inode64 "fstat$INODE64" "fsync" "ftruncate" "getcwd" @@ -250,6 +251,7 @@ ldso_stub__ ## fct: ; \\ "log1p" "lseek" "lstat" + #!+inode64 "lstat$INODE64" "malloc" "memmove" "mkdir" @@ -274,6 +276,7 @@ ldso_stub__ ## fct: ; \\ "sinh" "socket" "stat" + #!+inode64 "stat$INODE64" "strerror" "strlen" "symlink" @@ -321,7 +324,6 @@ ldso_stub__ ## fct: ; \\ "unlockpt") #!+openbsd '("openpty") - #!-darwin '("dlclose" "dlerror" "dlopen"