From 9c50426849f0e9bb15ab0b46dc18a70c1db38a90 Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Mon, 13 Sep 2004 14:14:32 +0000 Subject: 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}. --- gas/ChangeLog | 4 ++++ gas/config/tc-arm.c | 6 +++--- gas/testsuite/ChangeLog | 5 +++++ gas/testsuite/gas/arm/pic.d | 2 +- gas/testsuite/gas/arm/pic.s | 2 +- 5 files changed, 14 insertions(+), 5 deletions(-) (limited to 'gas') diff --git a/gas/ChangeLog b/gas/ChangeLog index 22efeee..87df7f8 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2004-09-13 Paul Brook + + * config/tc-arm.c: Rename RELABS to TARGET1. + 2004-09-13 Alan Modra * messages.c (as_internal_value_out_of_range): Cast values passed diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index da447c8..faa628b 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -12487,7 +12487,7 @@ md_apply_fix3 (fixP, valP, seg) case BFD_RELOC_RVA: case BFD_RELOC_32: - case BFD_RELOC_ARM_RELABS32: + case BFD_RELOC_ARM_TARGET1: case BFD_RELOC_ARM_ROSEGREL32: case BFD_RELOC_ARM_SBREL32: if (fixP->fx_done || fixP->fx_pcrel) @@ -12777,7 +12777,7 @@ tc_gen_reloc (section, fixp) case BFD_RELOC_ARM_GOT32: case BFD_RELOC_ARM_GOTOFF: case BFD_RELOC_ARM_PLT32: - case BFD_RELOC_ARM_RELABS32: + case BFD_RELOC_ARM_TARGET1: case BFD_RELOC_ARM_ROSEGREL32: case BFD_RELOC_ARM_SBREL32: code = fixp->fx_r_type; @@ -14149,7 +14149,7 @@ arm_parse_reloc () /* ScottB: Jan 30, 1998 - Added support for parsing "var(PLT)" branch instructions generated by GCC for PLT relocs. */ MAP ("(plt)", BFD_RELOC_ARM_PLT32), - MAP ("(relabs)", BFD_RELOC_ARM_RELABS32), + MAP ("(target1)", BFD_RELOC_ARM_TARGET1), MAP ("(sbrel)", BFD_RELOC_ARM_SBREL32), { NULL, 0, BFD_RELOC_UNUSED } #undef MAP diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index c1f0e07..c2e4663 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-09-13 Paul Brook + + * gas/arm/pic.d: Rename RELABS to TARGET1. + * gas/arm/pic.s: Ditto. + 2004-09-03 Tomer Levi * gas/crx: New directory. diff --git a/gas/testsuite/gas/arm/pic.d b/gas/testsuite/gas/arm/pic.d index bd69d1b..ff536ad 100644 --- a/gas/testsuite/gas/arm/pic.d +++ b/gas/testsuite/gas/arm/pic.d @@ -15,5 +15,5 @@ Disassembly of section .text: c: R_ARM_GOT32 sym 10: R_ARM_GOTOFF sym 14: R_ARM_GOTPC _GLOBAL_OFFSET_TABLE_ - 18: R_ARM_RELABS32 foo2 + 18: R_ARM_TARGET1 foo2 1c: R_ARM_SBREL32 foo3 diff --git a/gas/testsuite/gas/arm/pic.s b/gas/testsuite/gas/arm/pic.s index 8d0842c..7a26750 100644 --- a/gas/testsuite/gas/arm/pic.s +++ b/gas/testsuite/gas/arm/pic.s @@ -9,5 +9,5 @@ .word sym(GOTOFF) 1: .word _GLOBAL_OFFSET_TABLE_ - 1b - .word foo2(RELABS) + .word foo2(TARGET1) .word foo3(SBREL) -- cgit v1.1