old-cross-binutils/ld/testsuite/ld-elf/pr12851.s
H.J. Lu 2400775011 Check relocations in note sections for --gc-sections.
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.
2011-06-09 04:52:15 +00:00

5 lines
145 B
ArmAsm

.section .note.stapsdt,"?","note"
.dc.a _.stapsdt.base
.section .stapsdt.base,"a","progbits"
_.stapsdt.base: .space 1
.size _.stapsdt.base,1