* elf32-spu.c (build_stub): Fix malloc under-allocation.
[binutils.git] / ld / testsuite / ld-elf / group4.d
blobaf4ca4d0fdab6daf6a3720ff18e1ea692e19755c
1 #source: ../../../binutils/testsuite/binutils-all/group-2.s
2 #ld: -r
3 #readelf: -Sg --wide
4 #xfail: cr16-*-* crx-*-* xstormy*-*-*
5 # cr16 and crx use non-standard scripts with memory regions, which don't play
6 # well with unique group sections under ld -r.
7 # xstormy also uses a non-standard script, putting .data before .text.
9 #...
10 \[[ 0-9]+\] .group[ \t]+GROUP[ \t]+.*
11 #...
12 \[[ 0-9]+\] \.text.*[ \t]+PROGBITS[ \t0-9a-f]+AXG[ \t]+.*
13 #...
14 \[[ 0-9]+\] \.data.*[ \t]+PROGBITS[ \t0-9a-f]+WAG[ \t]+.*
15 #...
16 COMDAT group section \[[ 0-9]+\] `.group' \[.text.foo\] contains 2 sections:
17 \[Index\] Name
18 \[[ 0-9]+\] .text.*
19 \[[ 0-9]+\] .data.*
20 #pass