Commit | Line | Data |
---|---|---|
6e5e9d58 AM |
1 | #name: copy removing non-reloc group member |
2 | #source: group-7.s | |
3 | #PROG: objcopy | |
6e5e9d58 AM |
4 | #objcopy: --remove-section .data2.foo |
5 | #readelf: -Sg --wide | |
6 | ||
7 | #... | |
8 | \[[ 0-9]+\] \.group[ \t]+GROUP[ \t]+.* | |
9 | #... | |
10 | \[[ 0-9]+\] \.data\.foo[ \t]+PROGBITS[ \t0-9a-f]+WAG.* | |
11 | #... | |
12 | \[[ 0-9]+\] \.rela?\.data\.foo[ \t]+RELA?[ \t0-9a-f]+IG.* | |
13 | #... | |
14 | COMDAT group section \[[ 0-9]+\] `\.group' \[foo\] contains 2 sections: | |
15 | \[Index\] Name | |
16 | \[[ 0-9]+\] \.data\.foo | |
17 | \[[ 0-9]+\] \.rela?\.data\.foo | |
18 | #pass |