summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authordalej <dalej@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-07 17:27:53 +0000
committerdalej <dalej@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-07 17:27:53 +0000
commitacbfaf552b8cf18258950a2a699c1e89f25ba19f (patch)
tree742b302fefab2995ff25ede6c8510f3fda441304 /gcc
parent4a29bad1a27af35871efa55b13ecb4935f9776be (diff)
downloadgcc-acbfaf552b8cf18258950a2a699c1e89f25ba19f.tar.gz
Fix PR 10900.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69045 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/rs6000/darwin-tramp.asm2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4dc13477ad6..4d590fb16fd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2003-07-07 Dale Johannesen <dalej@apple.com>
+
+ * config/rs6000/darwin-tramp.asm: Fix trampolines. PR 10900.
+
2003-07-07 Andreas Jaeger <aj@suse.de>
* config/i386/i386-protos.h: Convert prototypes to ISO C90.
diff --git a/gcc/config/rs6000/darwin-tramp.asm b/gcc/config/rs6000/darwin-tramp.asm
index 02c7be67e6f..22ce80a1080 100644
--- a/gcc/config/rs6000/darwin-tramp.asm
+++ b/gcc/config/rs6000/darwin-tramp.asm
@@ -64,7 +64,7 @@ ___trampoline_setup:
bcl 20,31,LCF0 /* load up __trampoline_initial into r7 */
LCF0:
mflr r11
- addi r7,r11,ha16(LTRAMP-LCF0)
+ addis r7,r11,ha16(LTRAMP-LCF0)
lwz r7,lo16(LTRAMP-LCF0)(r7)
subi r7,r7,4
li r8,trampoline_size /* verify trampoline big enough */