mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-06 12:09:26 +08:00
16 lines
376 B
D
16 lines
376 B
D
|
#name: copy removing reloc group member
|
||
|
#source: group-7.s
|
||
|
#PROG: objcopy
|
||
|
#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
|