re PR libffi/49594 (bootstrap failure in libffi:darwin_closure for powerpc-darwin8)
authorIain Sandoe <iains@gcc.gnu.org>
Sun, 4 Sep 2011 19:19:39 +0000 (19:19 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Sun, 4 Sep 2011 19:19:39 +0000 (19:19 +0000)
PR libffi/49594
* src/powerpc/darwin_closure.S (stubs): Make the stub binding
helper reference track the architecture pointer size.

From-SVN: r178512

libffi/ChangeLog
libffi/src/powerpc/darwin_closure.S

index b5905fac96fc126af3f2c6f33e166c0bab88ba45..a9d240a6128764fd1db4f4442ec13dc36ae7d136 100644 (file)
@@ -1,3 +1,9 @@
+2011-09-04  Iain Sandoe  <iains@gcc.gnu.org>
+
+       PR libffi/49594
+       * src/powerpc/darwin_closure.S (stubs): Make the stub binding
+       helper reference track the architecture pointer size.
+
 2011-08-25  Andrew Haley  <aph@redhat.com>
 
        * src/arm/ffi.c (FFI_INIT_TRAMPOLINE): Remove hard-coded assembly
index 8c0e11a18444b7eb351d02a29c44c190e7a09f2f..b43f9658fceaf65d1853fdcb71a0fefebb6c527f 100644 (file)
@@ -534,7 +534,7 @@ L_ffi_closure_helper_DARWIN$stub:
        .lazy_symbol_pointer
 L_ffi_closure_helper_DARWIN$lazy_ptr:
        .indirect_symbol _ffi_closure_helper_DARWIN
-       .long   dyld_stub_binding_helper
+       .g_long dyld_stub_binding_helper
 
 #if defined(__ppc64__)
        .section __TEXT,__picsymbolstub1,symbol_stubs,pure_instructions,32
@@ -553,7 +553,8 @@ L_darwin64_struct_ret_by_value_p$stub:
        .lazy_symbol_pointer
 L_darwin64_struct_ret_by_value_p$lazy_ptr:
        .indirect_symbol _darwin64_struct_ret_by_value_p
-       .long   dyld_stub_binding_helper
+       .g_long dyld_stub_binding_helper
+
        .section __TEXT,__picsymbolstub1,symbol_stubs,pure_instructions,32
        .align 5
 L_darwin64_pass_struct_floats$stub:
@@ -570,6 +571,6 @@ L_darwin64_pass_struct_floats$stub:
        .lazy_symbol_pointer
 L_darwin64_pass_struct_floats$lazy_ptr:
        .indirect_symbol _darwin64_pass_struct_floats
-       .long   dyld_stub_binding_helper
+       .g_long dyld_stub_binding_helper
 #  endif
 #endif