[binutils][Arm] Fix Branch Future relocation handling and testisms
commite6f65e7573a317ac4efff26fe0e49fe1b9e7a596
authorAndre Vieira <andre.simoesdiasvieira@arm.com>
Tue, 21 May 2019 13:49:03 +0000 (21 14:49 +0100)
committerAndre Vieira <andre.simoesdiasvieira@arm.com>
Tue, 21 May 2019 13:53:49 +0000 (21 14:53 +0100)
treee12394a240761592fb54c179256bf96004ffe34e
parent739b5c9c778dee9e2f54d864f83a81ecb0639535
[binutils][Arm] Fix Branch Future relocation handling and testisms

bfd/ChangeLog:
2019-05-21  Andre Vieira  <andre.simoesdiasvieira@arm.com>

PR/target 24460
* elf32-arm.c (get_value_helper): Remove.
(elf32_arm_final_link_relocate): Fix branch future relocations.

gas/ChangeLog:
2019-05-21  Andre Vieira  <andre.simoesdiasvieira@arm.com>

* testsuite/gas/arm/armv8_1-m-bf.d: Allow different branch target naming
conventions.
* testsuite/gas/arm/armv8_1-m-bfl.d: Likewise.
* testsuite/gas/arm/armv8_1-m-bfcsel.d: Likewise.
* testsuite/gas/arm/armv8_1-m-loloop.d: Likewise.
* testsuite/gas/arm/armv8_1-m-bf-rel.d: Skip for vxworks.
* testsuite/gas/arm/armv8_1-m-bf-rela.d: New test.
* testsuite/gas/arm/armv8_1-m-bfl-rel.d: Skip for vxworks.
* testsuite/gas/arm/armv8_1-m-bfl-rela.d: New test.

ld/ChangeLog:
2019-05-21  Andre Vieira  <andre.simoesdiasvieira@arm.com>

* testsuite/ld-arm/arm-elf.exp: Add tests
* testsuite/ld-arm/bfs-0.s: New test.
* testsuite/ld-arm/bfs-1.s: New test.
* testsuite/ld-arm/branch-futures.d: New test.
16 files changed:
bfd/ChangeLog
bfd/elf32-arm.c
gas/ChangeLog
gas/testsuite/gas/arm/armv8_1-m-bf-rel.d
gas/testsuite/gas/arm/armv8_1-m-bf-rela.d [new file with mode: 0644]
gas/testsuite/gas/arm/armv8_1-m-bf.d
gas/testsuite/gas/arm/armv8_1-m-bfcsel.d
gas/testsuite/gas/arm/armv8_1-m-bfl-rel.d
gas/testsuite/gas/arm/armv8_1-m-bfl-rela.d [new file with mode: 0644]
gas/testsuite/gas/arm/armv8_1-m-bfl.d
gas/testsuite/gas/arm/armv8_1-m-loloop.d
ld/ChangeLog
ld/testsuite/ld-arm/arm-elf.exp
ld/testsuite/ld-arm/bfs-0.s [new file with mode: 0644]
ld/testsuite/ld-arm/bfs-1.s [new file with mode: 0644]
ld/testsuite/ld-arm/branch-futures.d [new file with mode: 0644]