Commit | Line | Data |
---|---|---|
8b6f4cd3 L |
1 | #ld: -r --gc-sections -u foo |
2 | #readelf: -S --wide | |
3 | #notarget: d30v-*-* dlx-*-* i960-*-* pj*-*-* pru-*-* | |
4 | #notarget: alpha-*-* hppa64-*-* i370-*-* i860-*-* ia64-*-* mep-*-* mn10200-*-* | |
5 | #xfail: cr16-*-* crx-*-* msp430-*-* | |
6 | # msp430 puts the init_array and fini_array inside the .rodata section. | |
7 | # generic linker targets don't support --gc-sections, nor do a bunch of | |
8 | # others. | |
9 | # cr16 and crx use non-standard scripts with memory regions, which don't | |
10 | # play well with unique group sections under ld -r. | |
11 | ||
12 | #... | |
13 | \[[ 0-9]+\] \.preinit_array\.01000[ \t]+PREINIT_ARRAY[ \t0-9a-f]+WA?.* | |
14 | #... | |
15 | \[[ 0-9]+\] \.init_array\.01000[ \t]+INIT_ARRAY[ \t0-9a-f]+WA?.* | |
16 | #... | |
17 | \[[ 0-9]+\] \.fini_array\.01000[ \t]+FINI_ARRAY[ \t0-9a-f]+WA?.* | |
18 | #pass |