Commit | Line | Data |
---|---|---|
3cff7cc7 JZ |
1 | #source: init-fini-arrays.s |
2 | #ld: -r | |
4975f22f | 3 | #readelf: -S --wide |
1133012c | 4 | #xfail: cr16-*-* crx-*-* msp430-*-* |
13761a11 | 5 | # msp430 puts the init_array and fini_array inside the .rodata section. |
1133012c | 6 | # cr16 and crx use non-standard scripts with memory regions, which don't play |
13761a11 | 7 | # well with unique group sections under ld -r. |
3cff7cc7 JZ |
8 | |
9 | #... | |
6f9dbcd4 | 10 | \[[ 0-9]+\] \.init_array\.01000[ \t]+INIT_ARRAY[ \t0-9a-f]+WA?.* |
3cff7cc7 | 11 | #... |
6f9dbcd4 | 12 | \[[ 0-9]+\] \.fini_array\.01000[ \t]+FINI_ARRAY[ \t0-9a-f]+WA?.* |
3cff7cc7 | 13 | #pass |