X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tools-for-build%2Fldso-stubs.lisp;h=e125e9fa511b6b0adf9cd86dd476473e7af9a6fd;hb=7230ec4e3e75e0c81750d7682ba5b9ea349b4acf;hp=61c0a5fd6026ba3045c79e529cb87f0a04667bf7;hpb=55c7345f18c442abbbe46c66b51bcab612cae65f;p=sbcl.git diff --git a/tools-for-build/ldso-stubs.lisp b/tools-for-build/ldso-stubs.lisp index 61c0a5f..e125e9f 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" @@ -191,7 +191,8 @@ ldso_stub__ ## fct: ; \\ .size ldso_stub__ ## fct,.-ldso_stub__ ## fct ;")) (defvar *stubs* (append - '("accept" + '("_exit" + "accept" "access" "acos" "acosh" @@ -260,6 +261,7 @@ ldso_stub__ ## fct: ; \\ "open" "opendir" "pipe" + "poll" "pow" "read" "readdir" @@ -294,6 +296,7 @@ ldso_stub__ ## fct: ; \\ "unlink" "utimes" "wait3" + "waitpid" "write") ;; These aren't needed on the X86 because they're microcoded into the ;; FPU, so the Lisp VOPs can implement them directly without having to @@ -324,13 +327,14 @@ ldso_stub__ ## fct: ; \\ "unlockpt") #!+openbsd '("openpty") - #!-dlshim '("dlclose" "dlerror" "dlopen" "dlsym") #!+bsd '("sysctl") + #!+darwin + '("sysctlbyname") #!+os-provides-dladdr '("dladdr") #!-sunos ;; !defined(SVR4)