Commit | Line | Data |
---|---|---|
a288c270 AM |
1 | #source: init-fini-arrays.s |
2 | #ld: | |
3 | #nm: -n | |
4 | # Most targets with their own scripts don't support init/fini_array and | |
5 | # thus don't define __init/fini_array_start. | |
6 | #xfail: avr-*-* cr16-*-* crx-*-* d10v-*-* d30v-*-* dlx-*-* ft32-*-* iq2000-*-* | |
7 | #xfail: m68hc1*-*-* mep-*-* microblaze*-*-elf* s12z-*-* v850-*-* visium-*-* | |
8 | #xfail: xgate-*-* xstormy*-*-* | |
9 | # Some targets with their own scripts haven't kept up with elf.sc and | |
10 | # PROVIDE __init_array_start rather than using PROVIDE_HIDDEN. These | |
11 | # result in D symbols. rx-elf makes .init/fini_array SHF_EXECINSTR so | |
12 | # gets t symbols. | |
13 | ||
14 | #... | |
15 | [0-9a-f]+ [dDt] _?__init_array_start | |
16 | #... | |
17 | [0-9a-f]+ [dDt] _?__fini_array_start | |
18 | #pass |