aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/sol-cn.asm
diff options
context:
space:
mode:
authorMichael Meissner <meissner@gcc.gnu.org>1996-07-13 02:00:42 +0000
committerMichael Meissner <meissner@gcc.gnu.org>1996-07-13 02:00:42 +0000
commit5b9d9a0c0e6d116f4804b4f48cdfb9c0a304dcc9 (patch)
treee009973434ae989495f6dc33e67e22ad7fea72d3 /gcc/config/rs6000/sol-cn.asm
parent821581e4157fb400dfeb1a8927df0ef988800b8d (diff)
downloadgcc-5b9d9a0c0e6d116f4804b4f48cdfb9c0a304dcc9.zip
gcc-5b9d9a0c0e6d116f4804b4f48cdfb9c0a304dcc9.tar.gz
gcc-5b9d9a0c0e6d116f4804b4f48cdfb9c0a304dcc9.tar.bz2
Solaris, shared lib, aix broken compatibiliy
From-SVN: r12439
Diffstat (limited to 'gcc/config/rs6000/sol-cn.asm')
-rw-r--r--gcc/config/rs6000/sol-cn.asm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/rs6000/sol-cn.asm b/gcc/config/rs6000/sol-cn.asm
index b911b8f..2bc992e 100644
--- a/gcc/config/rs6000/sol-cn.asm
+++ b/gcc/config/rs6000/sol-cn.asm
@@ -68,6 +68,7 @@ _ex_range1:
# Tail of __init used for static constructors in Solaris
.section ".init","ax"
lwz %r0,16(%r1)
+ lwz %r31,12(%r1)
mtlr %r0
addi %r1,%r1,16
blr
@@ -75,6 +76,7 @@ _ex_range1:
# Tail of __fini used for static destructors in Solaris
.section ".fini","ax"
lwz %r0,16(%r1)
+ lwz %r31,12(%r1)
mtlr %r0
addi %r1,%r1,16
blr