a33dafc30d
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.
8 lines
212 B
Makefile
8 lines
212 B
Makefile
#source: group8.s
|
|
#ld: -r --gc-sections --entry foo
|
|
#readelf: -g --wide
|
|
#notarget: ia64-*-*
|
|
|
|
COMDAT group section \[[ 0-9]+\] `.group' \[foo\] contains 1 sections:
|
|
\[Index\] Name
|
|
\[[ 0-9]+\] .text.foo
|