binutils-gdb/binutils/testsuite/binutils-all/group-6.s
H.J. Lu 4c8e8a7ee0 Remove the group section if all members are removed.
binutils/

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

	PR binutils/13180
	* objcopy.c (is_strip_section_1): New.
	(is_strip_section): Use it.  Remove the group section if all
	members are removed.

binutils/testsuite/

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

	PR binutils/13180
	* binutils-all/group-6.d: New.
	* binutils-all/group-6.s: Likewise.

	* binutils-all/objcopy.exp: Run group-6 for ELF targrts.
2011-09-16 04:23:19 +00:00

5 lines
79 B
ArmAsm

.text
.byte 0
.section .text.foo,"axG",%progbits,foo,comdat
.byte 0