binutils-gdb/ld/testsuite/ld-elf/group10.d

12 lines
271 B
Makefile

#source: group10.s
#ld: -r -T group.ld
#readelf: -Sg --wide
#...
group section \[[ 0-9]+\] `\.group' \[foo_group\] contains 4 sections:
\[Index\] Name
\[[ 0-9]+\] \.text.*
\[[ 0-9]+\] \.rodata\.str.*
\[[ 0-9]+\] \.data.*
\[[ 0-9]+\] \.keepme.*