1 #PROG: objcopy 2 #readelf: -Sg --wide 3 #objcopy: --remove-section .dropme 4 #name: copy removing group member 5 6 #readelf: -Sg --wide 7 8 #... 9 \[[ 0-9]+\] \.group[ \t]+GROUP[ \t]+.* 10 #... 11 \[[ 0-9]+\] \.text.*[ \t]+PROGBITS[ \t0-9a-f]+AXG.* 12 #... 13 \[[ 0-9]+\] \.data.*[ \t]+PROGBITS[ \t0-9a-f]+WAG.* 14 #... 15 COMDAT group section \[[ 0-9]+\] `\.group' \[foo_group\] contains 2 sections: 16 \[Index\] Name 17 \[[ 0-9]+\] .text.* 18 \[[ 0-9]+\] .data.* 19 #pass 20