OSDN Git Service

Always keep SHT_NOTE sections
authorhjl <hjl>
Thu, 7 Jan 2010 13:44:36 +0000 (13:44 +0000)
committerhjl <hjl>
Thu, 7 Jan 2010 13:44:36 +0000 (13:44 +0000)
commitbb93ba342835e36f7ed2ddeff5a27cc60eb08f72
treebae0bb6fa7c2296f8feb15b8f5a171f762fb9bda
parentecec286283646e35c48eda864e2e94f7b5eeeb91
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