projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4697a36
)
Initialize r13 to be _SDA_BASE_.
author
Michael Meissner
<meissner@gcc.gnu.org>
Sat, 22 Jul 1995 02:50:21 +0000
(
02:50
+0000)
committer
Michael Meissner
<meissner@gcc.gnu.org>
Sat, 22 Jul 1995 02:50:21 +0000
(
02:50
+0000)
From-SVN: r10153
gcc/config/rs6000/eabi.asm
patch
|
blob
|
history
diff --git
a/gcc/config/rs6000/eabi.asm
b/gcc/config/rs6000/eabi.asm
index d775a21910e312e3291388e8ef73d0134a450d7f..81788a3973db62904505a4412877570a73297312 100644
(file)
--- a/
gcc/config/rs6000/eabi.asm
+++ b/
gcc/config/rs6000/eabi.asm
@@
-58,7
+58,8
@@
__eabi: mflr 0
# Normal program, load up register 2
- lwz 2,.Lgot(11) # normal GOT address
+ lwz 2,.Lgot(11) # normal GOT address (obsolete in register 2)
+ mr 13,2 # also same as _SDA_BASE_ (V.4 small data ptr)
b __do_global_ctors # do any C++ global constructors (which returns to caller)
# We need to relocate the .got2 pointers. Don't load register 2