aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-arm.h
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/elf32-arm.h
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/elf32-arm.h')
-rw-r--r--bfd/elf32-arm.h4
1 files changed, 2 insertions, 2 deletions
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 */