From 49dad301f07d216d8c780eea5eefdc26d43aed0b Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Wed, 3 Sep 1997 00:46:39 +0000 Subject: [PATCH] mn10200.h (INITIALIZE_TRAMPOLINE): PC relative instructions are relative to the next instruction... * mn10200.h (INITIALIZE_TRAMPOLINE): PC relative instructions are relative to the next instruction, not the current instruction. From-SVN: r15043 --- gcc/ChangeLog | 5 +++++ gcc/config/mn10200/mn10200.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d982628ace5..90c5ec6c7d6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Tue Sep 2 18:41:55 1997 Jeffrey A Law (law@cygnus.com) + + * mn10200.h (INITIALIZE_TRAMPOLINE): PC relative instructions + are relative to the next instruction, not the current instruction. + Tue Sep 2 14:22:43 1997 Jim Wilson * local-alloc.c (contains_replace_regs): New function. diff --git a/gcc/config/mn10200/mn10200.h b/gcc/config/mn10200/mn10200.h index 53ec0de0a71..2364af35866 100644 --- a/gcc/config/mn10200/mn10200.h +++ b/gcc/config/mn10200/mn10200.h @@ -566,7 +566,7 @@ extern struct rtx_def *function_arg(); #define TRAMPOLINE_TEMPLATE(FILE) \ do { \ fprintf (FILE, "\t.byte 0xfd\n"); \ - fprintf (FILE, "\t.byte 0x03\n"); \ + fprintf (FILE, "\t.byte 0x02\n"); \ fprintf (FILE, "\t.byte 0x00\n"); \ fprintf (FILE, "\tmov (a3),a0\n"); \ fprintf (FILE, "\tadd -4,a3\n"); \ -- 2.30.2