From 7a25cd3e1a593072bbb6f6a040d02f0baa785493 Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Sat, 9 Jun 2001 20:19:29 +0000 Subject: [PATCH] 2001-06-09 Philip Blundell * elf32-arm.h (elf32_arm_plt0_entry): Correct error in last change. (elf32_arm_plt_entry): Likewise. --- bfd/ChangeLog | 6 ++++++ bfd/elf32-arm.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index b60ba18fdb..488714d42e 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2001-06-09 Philip Blundell + + * elf32-arm.h (elf32_arm_plt0_entry): Correct error in last + change. + (elf32_arm_plt_entry): Likewise. + 2001-06-08 H.J. Lu * elf.c (swap_out_syms): Keep names for global section symbols. diff --git a/bfd/elf32-arm.h b/bfd/elf32-arm.h index b0c70f275e..6fb163389a 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 */