summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Blundell <pb@futuretv.com>2001-06-09 20:18:32 +0000
committerPhil Blundell <pb@futuretv.com>2001-06-09 20:18:32 +0000
commitb717aa85dd9c4f3de4db37d364e3135ecb7da19c (patch)
tree69dbcc71939543ac2485b9f6297f1a72a9542bf3
parentc215aa12dbe1e6998ec927115681dc8451253ed5 (diff)
downloadgdb-b717aa85dd9c4f3de4db37d364e3135ecb7da19c.tar.gz
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.
-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 ef143b1097b..bc12b66f85f 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-07 Alan Modra <amodra@bigpond.net.au>
* Most files: Update copyright notices.
diff --git a/bfd/elf32-arm.h b/bfd/elf32-arm.h
index 7f273e454e2..bfc4ca3c532 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 */