group2.d 504 B

12345678910111213141516171819
  1. #source: ../../../binutils/testsuite/binutils-all/group.s
  2. #ld: -r
  3. #readelf: -Sg --wide
  4. # xstormy uses a non-standard script, putting .data before .text.
  5. #xfail: xstormy*-*-*
  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 . sections:
  14. \[Index\] Name
  15. \[[ 0-9]+\] .text.*
  16. #...
  17. \[[ 0-9]+\] .data.*
  18. #pass