aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc
diff options
context:
space:
mode:
authorAndreas Tobler <a.tobler@schweiz.ch>2004-08-15 23:32:11 +0200
committerAndreas Tobler <andreast@gcc.gnu.org>2004-08-15 23:32:11 +0200
commitcbaaa7db2c1e139df1c3484a028de9ba42864bd2 (patch)
treec33331ce9539ed59c4506924555a43504dd9c68b /boehm-gc
parent869464baf79c9a0952389fd63bb9e1b998c76ed6 (diff)
downloadgcc-cbaaa7db2c1e139df1c3484a028de9ba42864bd2.zip
gcc-cbaaa7db2c1e139df1c3484a028de9ba42864bd2.tar.gz
gcc-cbaaa7db2c1e139df1c3484a028de9ba42864bd2.tar.bz2
re PR target/14931 (ASM file in GCC for PPC darwin should use the new stub style)
2004-08-15 Andreas Tobler <a.tobler@schweiz.ch> PR target/14931 * powerpc_darwin_mach_dep.s (_GC_push_regs): Change to new stub style. From-SVN: r86029
Diffstat (limited to 'boehm-gc')
-rw-r--r--boehm-gc/ChangeLog5
-rw-r--r--boehm-gc/powerpc_darwin_mach_dep.s6
2 files changed, 8 insertions, 3 deletions
diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog
index 9ed4d720..c9281e7 100644
--- a/boehm-gc/ChangeLog
+++ b/boehm-gc/ChangeLog
@@ -1,3 +1,8 @@
+2004-08-15 Andreas Tobler <a.tobler@schweiz.ch>
+
+ PR target/14931
+ * powerpc_darwin_mach_dep.s (_GC_push_regs): Change to new stub style.
+
2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
* configure.ac (gc_cflags): Add -Iinclude.
diff --git a/boehm-gc/powerpc_darwin_mach_dep.s b/boehm-gc/powerpc_darwin_mach_dep.s
index 92f2c93..83f06cf 100644
--- a/boehm-gc/powerpc_darwin_mach_dep.s
+++ b/boehm-gc/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