summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/sol-cn.asm
diff options
context:
space:
mode:
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>1996-07-13 02:00:42 +0000
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>1996-07-13 02:00:42 +0000
commit2c44283cf7d4873b6112bb7f2cc4a02ca7471d7b (patch)
treee009973434ae989495f6dc33e67e22ad7fea72d3 /gcc/config/rs6000/sol-cn.asm
parent53d51c456e14dcf611b9220deffc0c39108954b8 (diff)
downloadgcc-2c44283cf7d4873b6112bb7f2cc4a02ca7471d7b.tar.gz
Solaris, shared lib, aix broken compatibiliy
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12439 138bc75d-0d04-0410-961f-82ee72b054a4
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 b911b8f8533..2bc992e1391 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