group-5.d 452 B

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