Always keep SHT_NOTE sections
commit2c9d04e1291934124d6c017d621c2f2451d91b14
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 7 Jan 2010 13:44:36 +0000 (7 13:44 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 7 Jan 2010 13:44:36 +0000 (7 13:44 +0000)
tree5c34ef7d63ffba7f8f6150253e826e329e1d7331
parent0468ce51929e26505a2c6efda4469396aa39e7b9
Always keep SHT_NOTE sections

bfd/

2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11143
* elflink.c (elf_gc_sweep): Keep SHT_NOTE section.

ld/testsuite/

2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11143
* ld-gc/gc.exp: Run abi-note.

* ld-gc/abi-note.d: New.
* ld-gc/abi-note.s: Likewise.
bfd/ChangeLog
bfd/elflink.c
ld/testsuite/ChangeLog
ld/testsuite/ld-gc/abi-note.d [new file with mode: 0644]
ld/testsuite/ld-gc/abi-note.s [new file with mode: 0644]
ld/testsuite/ld-gc/gc.exp