]> git.saurik.com Git - apple/libsystem.git/blobdiff - spinlocktry_stub.s
Libsystem-88.tar.gz
[apple/libsystem.git] / spinlocktry_stub.s
index a4d8955cb368f136cb7c7ff051d7594a28786ec8..5e1e88a1fab4ba2371844020ab420d09afa6aac8 100644 (file)
@@ -25,7 +25,8 @@
 
 #define __APPLE_API_PRIVATE
 #include <machine/cpu_capabilities.h>
-#if defined(__ppc__)
+#if defined(__ppc__) || defined(__ppc64__)
+#include <architecture/ppc/mode_independent_asm.h>
 .data
 .section __TEXT,__picsymbolstub1,symbol_stubs,pure_instructions,32
         .align 2
@@ -43,7 +44,7 @@ L__spin_lock_try$stub:
 .lazy_symbol_pointer
 L__spin_lock_try$lazy_ptr:
         .indirect_symbol __spin_lock_try
-        .long dyld_stub_binding_helper
+        .g_long dyld_stub_binding_helper
 #elif defined(__i386__)
 .data
 .picsymbol_stub