aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2001-06-09 20:19:29 +0000
committerPhil Blundell <philb@gnu.org>2001-06-09 20:19:29 +0000
commit7a25cd3e1a593072bbb6f6a040d02f0baa785493 (patch)
tree503ba08cd4eed4270ffb18ea02556667aa6c1e0b /bfd
parent594e740ff004d17790ecf89e23a8e4d37df73ad6 (diff)
downloadgdb-7a25cd3e1a593072bbb6f6a040d02f0baa785493.zip
gdb-7a25cd3e1a593072bbb6f6a040d02f0baa785493.tar.gz
gdb-7a25cd3e1a593072bbb6f6a040d02f0baa785493.tar.bz2
2001-06-09 Philip Blundell <philb@gnu.org>
* elf32-arm.h (elf32_arm_plt0_entry): Correct error in last change. (elf32_arm_plt_entry): Likewise.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/elf32-arm.h4
2 files changed, 8 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index b60ba18..488714d 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2001-06-09 Philip Blundell <philb@gnu.org>
+
+ * elf32-arm.h (elf32_arm_plt0_entry): Correct error in last
+ change.
+ (elf32_arm_plt_entry): Likewise.
+
2001-06-08 H.J. Lu <hjl@gnu.org>
* elf.c (swap_out_syms): Keep names for global section symbols.
diff --git a/bfd/elf32-arm.h b/bfd/elf32-arm.h
index b0c70f2..6fb1633 100644
--- a/bfd/elf32-arm.h
+++ b/bfd/elf32-arm.h
@@ -78,7 +78,7 @@ static int elf32_thumb_to_arm_stub
this. It is set up so that any shared library function that is
called before the relocation has been set up calls the dynamic
linker first. */
-static const bfd_byte elf32_arm_plt0_entry [PLT_ENTRY_SIZE] =
+static const unsigned long elf32_arm_plt0_entry [PLT_ENTRY_SIZE / 4] =
{
0xe52de004, /* str lr, [sp, #-4]! */
0xe59fe010, /* ldr lr, [pc, #16] */
@@ -88,7 +88,7 @@ static const bfd_byte elf32_arm_plt0_entry [PLT_ENTRY_SIZE] =
/* Subsequent entries in a procedure linkage table look like
this. */
-static const bfd_byte elf32_arm_plt_entry [PLT_ENTRY_SIZE] =
+static const unsigned long elf32_arm_plt_entry [PLT_ENTRY_SIZE / 4] =
{
0xe59fc004, /* ldr ip, [pc, #4] */
0xe08fc00c, /* add ip, pc, ip */