Always keep SHT_NOTE sections
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 7 Jan 2010 13:44:37 +0000 (13:44 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 7 Jan 2010 13:44:37 +0000 (13:44 +0000)
commit16583161e14cbe747e78da035790c48951884556
treee1fbc701c4f2f9fde24733620bad0513cd286ac9
parent089b4803bf8f591e762c475dbabceb3c37d97ffc
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