PR ld/15787
authorNick Clifton <nickc@redhat.com>
Wed, 31 Jul 2013 16:26:02 +0000 (16:26 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 31 Jul 2013 16:26:02 +0000 (16:26 +0000)
commit31a91d61f9ea4504812349166ef6ad5308270927
treeaad0e1f44dea516ba6e3fdf1a6f99a02f217449a
parent16f92dd4d4a4e637f7910c32cd6fd4b0ff78149a
PR ld/15787
* elf32-arm.c (elf32_arm_final_link_relocate): Base SB on the
output section VMA.

* ld-arm/group-relocs-alu-bad-2.d; New.
* ld-arm/group-relocs-alu-bad-2.s: New.
* ld-arm/group-relocs-ldc-bad-2.d: New.
* ld-arm/group-relocs-ldc-bad-2.s: New.
* ld-arm/group-relocs-ldr-bad-2.d: New.
* ld-arm/group-relocs-ldr-bad-2.s: New.
* ld-arm/group-relocs-ldrs-bad-2.d: New.
* ld-arm/group-relocs-ldrs-bad-2: New.
* ld-arm/arm-elf.exp: Add the new tests.
* ld-arm/group-relocs-ldr-bad.d: Update expected output.
* ld-arm/group-relocs-ldr-bad.s: Likewise.
* ld-arm/group-relocs-ldrs-bad.d: Likewise.
* ld-arm/group-relocs-ldrs-bad.s: Likewise.
* ld-arm/group-relocs.d: Likewise.
* ld-arm/group-relocs.s: Likewise.
18 files changed:
bfd/ChangeLog
bfd/elf32-arm.c
ld/testsuite/ChangeLog
ld/testsuite/ld-arm/arm-elf.exp
ld/testsuite/ld-arm/group-relocs-alu-bad-2.d [new file with mode: 0644]
ld/testsuite/ld-arm/group-relocs-alu-bad-2.s [new file with mode: 0644]
ld/testsuite/ld-arm/group-relocs-ldc-bad-2.d [new file with mode: 0644]
ld/testsuite/ld-arm/group-relocs-ldc-bad-2.s [new file with mode: 0644]
ld/testsuite/ld-arm/group-relocs-ldr-bad-2.d [new file with mode: 0644]
ld/testsuite/ld-arm/group-relocs-ldr-bad-2.s [new file with mode: 0644]
ld/testsuite/ld-arm/group-relocs-ldr-bad.d
ld/testsuite/ld-arm/group-relocs-ldr-bad.s
ld/testsuite/ld-arm/group-relocs-ldrs-bad-2.d [new file with mode: 0644]
ld/testsuite/ld-arm/group-relocs-ldrs-bad-2.s [new file with mode: 0644]
ld/testsuite/ld-arm/group-relocs-ldrs-bad.d
ld/testsuite/ld-arm/group-relocs-ldrs-bad.s
ld/testsuite/ld-arm/group-relocs.d
ld/testsuite/ld-arm/group-relocs.s