old-cross-binutils/ld/testsuite/ld-elf/pr13177.s
H.J. Lu 1a766c6843 Also hide symbols without PLT nor GOT references.
bfd/

2011-09-15  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/13177
	* elflink.c (elf_gc_sweep_symbol): Also hide symbols without PLT
	nor GOT references.

ld/testsuite/

2011-09-15  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/13177
	* ld-elf/pr13177.d: New.
	* ld-elf/pr13177.s: Likewise.
2011-09-16 01:17:16 +00:00

9 lines
168 B
ArmAsm

.section .text.foo,"ax",%progbits
.globl foo
.type foo, %function
foo:
.byte 0
.section .text.opt_out,"ax",%progbits
.type opt_out, %function
opt_out:
.dc.a bar