diff options
Diffstat (limited to 'gcc/config/rs6000/sol-ci.asm')
-rw-r--r-- | gcc/config/rs6000/sol-ci.asm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/config/rs6000/sol-ci.asm b/gcc/config/rs6000/sol-ci.asm index e4ead3210e6..2c9a4d855ce 100644 --- a/gcc/config/rs6000/sol-ci.asm +++ b/gcc/config/rs6000/sol-ci.asm @@ -68,12 +68,12 @@ __DTOR_LIST__: .type __init,@function __init: stwu %r1,-16(%r1) mflr %r0 -# stw %r31,12(%r1) + stw %r31,12(%r1) stw %r0,16(%r1) -# bl _GLOBAL_OFFSET_TABLE_-4 # get the GOT address -# mflr %r31 -# + bl _GLOBAL_OFFSET_TABLE_-4 # get the GOT address + mflr %r31 + # lwz %r3,_ex_shared0@got(%r31) # lwz %r4,-8(%r3) # _ex_register or 0 # cmpi %cr0,%r4,0 @@ -92,8 +92,8 @@ __fini: stwu %r1,-16(%r1) stw %r31,12(%r1) stw %r0,16(%r1) -# bl _GLOBAL_OFFSET_TABLE_-4 # get the GOT address -# mflr %r31 + bl _GLOBAL_OFFSET_TABLE_-4 # get the GOT address + mflr %r31 # _environ and its evil twin environ, pointing to the environment .comm _environ,4,4 |