]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - binutils/testsuite/binutils-all/strip-2.d
5c54b7ecb824856b6073e6ec845a73cab7936133
[thirdparty/binutils-gdb.git] / binutils / testsuite / binutils-all / strip-2.d
1 #PROG: strip
2 #source: group.s
3 #strip: --strip-unneeded
4 #readelf: -Sg --wide
5 #name: strip with section group 2
6
7 #...
8 \[[ 0-9]+\] foo_group[ \t]+GROUP[ \t]+.*
9 #...
10 \[[ 0-9]+\] \.text.*[ \t]+PROGBITS[ \t0-9a-f]+AXG[ \t]+.*
11 #...
12 \[[ 0-9]+\] \.data.*[ \t]+PROGBITS[ \t0-9a-f]+WAG[ \t]+.*
13 #...
14 COMDAT group section \[[ 0-9]+\] `foo_group' \[foo_group\] contains 2 sections:
15 \[Index\] Name
16 \[[ 0-9]+\] .text.*
17 \[[ 0-9]+\] .data.*
18 #pass