[PATCH, ARM]Enable to link object file without attribute section with any others

Terry Guo terry.guo@arm.com
Tue Sep 30 09:57:00 GMT 2014


Hi there,

The attached patch intends to skip the object file that hasn't attribute
section when merge the attributes, thus enable to link such file with any
others.

Tested with regression test, no regressions. Is it ok?

BR,
Terry

bfd/ChangeLog

2014-09-30  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-09-30  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.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: merge-arch-attr-v3.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20140930/837264f9/attachment.txt>


More information about the Binutils mailing list