This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Attachment: merge-arch-attr-v3.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]