group9b.d 532 B

123456789101112131415161718
  1. #source: group9.s
  2. #ld: -r --gc-sections --entry bar
  3. #readelf: -g --wide
  4. # generic linker targets don't support --gc-sections, nor do a bunch of others
  5. #xfail: [is_generic] hppa64-*-* mep-*-* mn10200-*-*
  6. COMDAT group section \[[ 0-9]+\] `.group' \[foo\] contains . sections:
  7. \[Index\] Name
  8. \[[ 0-9]+\] \.text\.foo
  9. #...
  10. \[[ 0-9]+\] \.data\.foo
  11. #...
  12. COMDAT group section \[[ 0-9]+\] `.group' \[bar\] contains . sections:
  13. \[Index\] Name
  14. \[[ 0-9]+\] \.text\.bar
  15. #...
  16. \[[ 0-9]+\] \.rela?\.text\.bar
  17. #pass