old-cross-binutils/ld/testsuite/ld-elf/group8.s
H.J. Lu a33dafc30d bfd/
2009-01-14  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/9727
	* elflink.c (elf_gc_sweep): Exclude the group section if the
	first member of the section group is excluded.

ld/testsuite/

2009-01-14  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/9727
	* ld-elf/group8.s: New.
	* ld-elf/group8a.d: Likewise.
	* ld-elf/group8b.d: Likewise.
	* ld-elf/group9.s: Likewise.
	* ld-elf/group9a.d: Likewise.
	* ld-elf/group9b.d: Likewise.
2009-01-14 21:52:49 +00:00

10 lines
188 B
ArmAsm

.section .text.foo,"axG",%progbits,foo,comdat
.globl foo
.type foo,%function
foo:
.byte 0
.section .text.bar,"axG",%progbits,bar,comdat
.globl bar
.type bar,%function
bar:
.byte 0