blob: fa8db60d9eef265fbf5e690c67d7093ef43c7bb4 [file] [log] [blame]
#name: copy removing reloc group member
#source: group-7.s
#PROG: objcopy
#DUMPPROG: readelf
#objcopy: --remove-section .data.foo
#readelf: -Sg --wide
#...
\[[ 0-9]+\] \.group[ \t]+GROUP[ \t]+.*
#...
\[[ 0-9]+\] \.data2\.foo[ \t]+PROGBITS[ \t0-9a-f]+WAG.*
#...
COMDAT group section \[[ 0-9]+\] `\.group' \[foo\] contains 1 section.*
\[Index\] Name
\[[ 0-9]+\] \.data2\.foo
#pass