OSDN Git Service

Always keep SHT_NOTE sections
authorhjl <hjl>
Thu, 7 Jan 2010 22:44:36 +0000 (22:44 +0000)
committerhjl <hjl>
Thu, 7 Jan 2010 22:44:36 +0000 (22:44 +0000)
commitd97dcb94ee34965aaf63cbd26a00c1ebbc641a55
tree5ca3a35b09f5254528ddc956f2b5f2d56047d31d
parenta6ea5d66694ca7d75b76586af535e1668efb37da
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