Enable to link ARM object file that hasn't attribute section.
authorTerry Guo <terry.guo@arm.com>
Thu, 20 Nov 2014 05:54:27 +0000 (13:54 +0800)
committerTerry Guo <terry.guo@arm.com>
Thu, 20 Nov 2014 05:54:27 +0000 (13:54 +0800)
commit9274e9de160a98d737bb2bd068c22d37ec66d98d
tree0282392448b637559a928cc7569755dd0d2f7964
parent430ce64f28318ef6f8e24b38af6c79741560b4f5
Enable to link ARM object file that hasn't attribute section.

bfd/ChangeLog

2014-11-20  Terry Guo  <terry.guo@arm.com>

* elf32-arm.c (elf32_arm_merge_eabi_attributes): Skip if input bfd
hasn't attribute section.

ld/testsuite/ChangeLog:

2014-11-20  Terry Guo  <terry.guo@arm.com>

* ld-arm/attr-merge-nosection-1.d: New file.
* ld-arm/attr-merge-nosection-1a.s: Likewise.
* ld-arm/attr-merge-nosection-1b.s: Likewise.
* ld-arm/arm-elf.exp: Include the new test.
bfd/ChangeLog
bfd/elf32-arm.c
ld/testsuite/ChangeLog
ld/testsuite/ld-arm/arm-elf.exp
ld/testsuite/ld-arm/attr-merge-nosection-1.d [new file with mode: 0644]
ld/testsuite/ld-arm/attr-merge-nosection-1a.s [new file with mode: 0644]
ld/testsuite/ld-arm/attr-merge-nosection-1b.s [new file with mode: 0644]