diff options
author | Jeffrey A Law <law@cygnus.com> | 1997-09-03 00:46:39 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1997-09-02 18:46:39 -0600 |
commit | 49dad301f07d216d8c780eea5eefdc26d43aed0b (patch) | |
tree | be7845db162499ff55afcdb11558fe68cd2c3087 | |
parent | b245293e3b5082672ba2cceb3d2f05408d5789fd (diff) | |
download | gcc-49dad301f07d216d8c780eea5eefdc26d43aed0b.zip gcc-49dad301f07d216d8c780eea5eefdc26d43aed0b.tar.gz gcc-49dad301f07d216d8c780eea5eefdc26d43aed0b.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/mn10200/mn10200.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d982628..90c5ec6 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 <wilson@cygnus.com> * local-alloc.c (contains_replace_regs): New function. diff --git a/gcc/config/mn10200/mn10200.h b/gcc/config/mn10200/mn10200.h index 53ec0de..2364af3 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"); \ |