From b37a8c1d310422d3784dcf7c4fd0a52e1d5a7d87 Mon Sep 17 00:00:00 2001 From: andreast Date: Sun, 15 Aug 2004 21:32:11 +0000 Subject: [PATCH] 2004-08-15 Andreas Tobler PR target/14931 * powerpc_darwin_mach_dep.s (_GC_push_regs): Change to new stub style. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86029 138bc75d-0d04-0410-961f-82ee72b054a4 --- ChangeLog | 5 +++++ powerpc_darwin_mach_dep.s | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9ed4d720..c9281e70 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-08-15 Andreas Tobler + + PR target/14931 + * powerpc_darwin_mach_dep.s (_GC_push_regs): Change to new stub style. + 2004-08-13 Bryce McKinlay * configure.ac (gc_cflags): Add -Iinclude. diff --git a/powerpc_darwin_mach_dep.s b/powerpc_darwin_mach_dep.s index 92f2c93c..83f06cff 100644 --- a/powerpc_darwin_mach_dep.s +++ b/powerpc_darwin_mach_dep.s @@ -64,7 +64,8 @@ _GC_push_regs: ; PIC stuff, generated by GCC .data -.picsymbol_stub +.section __TEXT,__picsymbolstub1,symbol_stubs,pure_instructions,32 + .align 2 L_GC_push_one$stub: .indirect_symbol _GC_push_one mflr r0 @@ -73,9 +74,8 @@ L0$_GC_push_one: mflr r11 addis r11,r11,ha16(L_GC_push_one$lazy_ptr-L0$_GC_push_one) mtlr r0 - lwz r12,lo16(L_GC_push_one$lazy_ptr-L0$_GC_push_one)(r11) + lwzu r12,lo16(L_GC_push_one$lazy_ptr-L0$_GC_push_one)(r11) mtctr r12 - addi r11,r11,lo16(L_GC_push_one$lazy_ptr-L0$_GC_push_one) bctr .data .lazy_symbol_pointer -- 2.40.0