diff options
author | Catherine Moore <clm@redhat.com> | 1999-11-19 15:41:55 +0000 |
---|---|---|
committer | Catherine Moore <clm@redhat.com> | 1999-11-19 15:41:55 +0000 |
commit | 1ca42bada0c5d34dd32d69b36fe0e3ff417d894d (patch) | |
tree | 0b56550445f1e9b98f011e3a224bc303a601bb0d /bfd | |
parent | For include/opcode: (diff) | |
download | binutils-gdb-1ca42bada0c5d34dd32d69b36fe0e3ff417d894d.tar.gz binutils-gdb-1ca42bada0c5d34dd32d69b36fe0e3ff417d894d.tar.bz2 binutils-gdb-1ca42bada0c5d34dd32d69b36fe0e3ff417d894d.zip |
* elf32-m68k.c (elf_cpu32_plt0_entry): Fix encoding.
(elf_cpu32_plt_entry): Likewise.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf32-m68k.c | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index d26847ccca9..d292fcfbcd5 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +1999-11-19 Catherine Moore <clm@cygnus.com> + + * elf32-m68k.c (elf_cpu32_plt0_entry): Fix encoding. + (elf_cpu32_plt_entry): Likewise. + 1999-11-18 Nick Clifton <nickc@cygnus.com> * coff-mcore.c (coff_mcore_rtype_to_howto): Special case handling diff --git a/bfd/elf32-m68k.c b/bfd/elf32-m68k.c index cc5abc777fb..c87ec7a1f1f 100644 --- a/bfd/elf32-m68k.c +++ b/bfd/elf32-m68k.c @@ -224,9 +224,9 @@ static const bfd_byte elf_m68k_plt_entry[PLT_ENTRY_SIZE] = /* Procedure linkage table entries for the cpu32 */ static const bfd_byte elf_cpu32_plt0_entry[PLT_CPU32_ENTRY_SIZE] = { - 0x21, 0x7b, 0x01, 0x70, /* moveal %pc@(0xc), %a0 */ + 0x22, 0x7b, 0x01, 0x70, /* moveal %pc@(0xc), %a1 */ 0, 0, 0, 0, /* replaced with offset to .got + 4. */ - 0x4e, 0xd1, /* jmp %a0@ */ + 0x4e, 0xd1, /* jmp %a1@ */ 0, 0, 0, 0, /* replace with offset to .got +8. */ 0, 0, 0, 0, /* pad out to 24 bytes. */ 0, 0, 0, 0, /* pad out to 24 bytes. */ @@ -235,9 +235,9 @@ static const bfd_byte elf_cpu32_plt0_entry[PLT_CPU32_ENTRY_SIZE] = static const bfd_byte elf_cpu32_plt_entry[PLT_CPU32_ENTRY_SIZE] = { - 0x21, 0x7b, 0x01, 0x70, /* moveal %pc@(0xc), %a0 */ + 0x22, 0x7b, 0x01, 0x70, /* moveal %pc@(0xc), %a1 */ 0, 0, 0, 0, /* replaced with offset to symbol's .got entry. */ - 0x4e, 0xd1, /* jmp %a0@ */ + 0x4e, 0xd1, /* jmp %a1@ */ 0x2f, 0x3c, /* move.l #offset,-(%sp) */ 0, 0, 0, 0, /* replaced with offset into relocation table. */ 0x60, 0xff, /* bra.l .plt */ |