mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 03:03:31 +08:00
2400775011
bfd/ 2011-06-08 H.J. Lu <hongjiu.lu@intel.com> PR ld/12851 * elflink.c (elf_gc_sweep): Don't check SHT_NOTE sections here. (bfd_elf_gc_sections): Also check SHT_NOTE sections. ld/testsuite/ 2011-06-08 H.J. Lu <hongjiu.lu@intel.com> PR ld/12851 * ld-elf/pr12851.d: New. * ld-elf/pr12851.s: Likewise.
15 lines
477 B
D
15 lines
477 B
D
#source: pr12851.s
|
|
#source: start.s
|
|
#ld: --gc-sections
|
|
#readelf: -s --wide
|
|
#notarget: arc-*-* d30v-*-* dlx-*-* i960-*-* or32-*-* pj*-*-*
|
|
#notarget: alpha-*-* hppa64-*-* i370-*-* i860-*-* ia64-*-* mep-*-* mn10200-*-*
|
|
#xfail: cr16-*-* crx-*-*
|
|
# generic linker targets don't support --gc-sections, nor do a bunch of others
|
|
# cr16 and crx use non-standard scripts with memory regions, which don't play
|
|
# well with unique group sections under ld -r.
|
|
|
|
#...
|
|
+.* _.stapsdt.base
|
|
#pass
|