aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfarm-nabi.c
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2004-09-13 14:14:32 +0000
committerPaul Brook <paul@codesourcery.com>2004-09-13 14:14:32 +0000
commit9c50426849f0e9bb15ab0b46dc18a70c1db38a90 (patch)
treeb2293b1be28132b73dda0aae98fdc7067897f0e3 /bfd/elfarm-nabi.c
parentee31a58d74a66007e42ec12d07f6688884c9fce3 (diff)
downloadfsf-binutils-gdb-9c50426849f0e9bb15ab0b46dc18a70c1db38a90.zip
fsf-binutils-gdb-9c50426849f0e9bb15ab0b46dc18a70c1db38a90.tar.gz
fsf-binutils-gdb-9c50426849f0e9bb15ab0b46dc18a70c1db38a90.tar.bz2
bfd/
* bfd-in.h (bfd_elf32_arm_process_before_allocation): Update prototype. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. * elf32-arm.h (elf32_arm_link_hash_table): Add target1_is_rel. (elf32_arm_link_hash_table_create): Set target1_is_rel. (bfd_elf32_arm_process_before_allocation): Ditto. (elf32_arm_final_link_relocate): Handle R_ARM_TARGET1. (elf32_arm_gc_sweep_hook, elf32_arm_check_relocs): Ditto. * elfarm-nabi.c (elf32_arm_howto_table): Rename RELABS to TARGET1. * reloc.c: Ditto. gas/ * config/tc-arm.c: Rename RELABS to TARGET1. gas/testsuite/ * gas/arm/pic.d: Rename RELABS to TARGET1. * gas/arm/pic.s: Ditto. include/ * elf/arm.h: Rename RELABS to TARGET1. ld/ * emulparams/armsymbian.sh: Set TARGET1_IS_REL. * emultempl/armelf.em: Use TARGET1_IS_REL. Add --target1-{rel,abs}.
Diffstat (limited to 'bfd/elfarm-nabi.c')
-rw-r--r--bfd/elfarm-nabi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/elfarm-nabi.c b/bfd/elfarm-nabi.c
index 6644578..aef15d4 100644
--- a/bfd/elfarm-nabi.c
+++ b/bfd/elfarm-nabi.c
@@ -595,7 +595,7 @@ static reloc_howto_type elf32_arm_howto_table[] =
0x0ff00000, /* dst_mask */
FALSE), /* pcrel_offset */
- HOWTO (R_ARM_RELABS32, /* type */
+ HOWTO (R_ARM_TARGET1, /* type */
0, /* rightshift */
2, /* size (0 = byte, 1 = short, 2 = long) */
32, /* bitsize */
@@ -603,7 +603,7 @@ static reloc_howto_type elf32_arm_howto_table[] =
0, /* bitpos */
complain_overflow_dont,/* complain_on_overflow */
bfd_elf_generic_reloc, /* special_function */
- "R_ARM_RELABS32", /* name */
+ "R_ARM_TARGET1", /* name */
FALSE, /* partial_inplace */
0xffffffff, /* src_mask */
0xffffffff, /* dst_mask */
@@ -769,7 +769,7 @@ static const struct elf32_arm_reloc_map elf32_arm_reloc_map[] =
{BFD_RELOC_ARM_GOTPC, R_ARM_GOTPC},
{BFD_RELOC_ARM_GOT32, R_ARM_GOT32},
{BFD_RELOC_ARM_PLT32, R_ARM_PLT32},
- {BFD_RELOC_ARM_RELABS32, R_ARM_RELABS32},
+ {BFD_RELOC_ARM_TARGET1, R_ARM_TARGET1},
{BFD_RELOC_ARM_ROSEGREL32, R_ARM_ROSEGREL32},
{BFD_RELOC_ARM_SBREL32, R_ARM_SBREL32}
};