aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorCatherine Moore <clm@redhat.com>1999-09-16 18:25:09 +0000
committerCatherine Moore <clm@redhat.com>1999-09-16 18:25:09 +0000
commit38f7d33d09569135cc5273c997d83225fd93c595 (patch)
tree4b81a32490f47bdbff46d1df75b7abe20aed9bef /bfd
parent88e99a394dc9f100f17d9a5a7e544e532bd68d1b (diff)
downloadgdb-38f7d33d09569135cc5273c997d83225fd93c595.zip
gdb-38f7d33d09569135cc5273c997d83225fd93c595.tar.gz
gdb-38f7d33d09569135cc5273c997d83225fd93c595.tar.bz2
(elf_cpu32_plt0_entry): Use a1 instead of a0.
(elf_cpu32_plt_entry): Likewise. ----------------------------------------------------------------------
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-m68k.c8
2 files changed, 9 insertions, 4 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 15ec069..9d0dde1 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+Thu Sep 16 11:21:13 1999 Catherine Moore <clm@cygnus.com>
+
+ * elf32-m68k.c (elf_cpu32_plt0_entry): Use a1 instead of a0.
+ (elf_cpu32_plt_entry): Likewise.
+
Thu Sep 16 10:48:17 1999 Jeffrey A Law (law@cygnus.com)
* elf-hppa.h (elf_hppa_relocate_section): Allow undefined
diff --git a/bfd/elf32-m68k.c b/bfd/elf32-m68k.c
index 709057b..cc5abc7 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] =
{
- 0x20, 0x7b, 0x01, 0x70, /* moveal %pc@(0xc), %a0 */
+ 0x21, 0x7b, 0x01, 0x70, /* moveal %pc@(0xc), %a0 */
0, 0, 0, 0, /* replaced with offset to .got + 4. */
- 0x4e, 0xd0, /* jmp %a0@ */
+ 0x4e, 0xd1, /* jmp %a0@ */
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] =
{
- 0x20, 0x7b, 0x01, 0x70, /* moveal %pc@(0xc), %a0 */
+ 0x21, 0x7b, 0x01, 0x70, /* moveal %pc@(0xc), %a0 */
0, 0, 0, 0, /* replaced with offset to symbol's .got entry. */
- 0x4e, 0xd0, /* jmp %a0@ */
+ 0x4e, 0xd1, /* jmp %a0@ */
0x2f, 0x3c, /* move.l #offset,-(%sp) */
0, 0, 0, 0, /* replaced with offset into relocation table. */
0x60, 0xff, /* bra.l .plt */