2014-09-12 22:14:23 +00:00
|
|
|
#source: init-fini-arrays.s
|
|
|
|
#ld: -r
|
|
|
|
#readelf: -S --wide
|
|
|
|
#xfail: cr16-*-* crx-*-* msp430-*-*
|
|
|
|
# msp430 puts the init_array and fini_array inside the .rodata section.
|
|
|
|
# cr16 and crx use non-standard scripts with memory regions, which don't play
|
|
|
|
# well with unique group sections under ld -r.
|
|
|
|
|
|
|
|
#...
|
2017-10-07 00:16:47 +00:00
|
|
|
\[[ 0-9]+\] \.init_array\.01000[ \t]+INIT_ARRAY[ \t0-9a-f]+WA?.*
|
2014-09-12 22:14:23 +00:00
|
|
|
#...
|
2017-10-07 00:16:47 +00:00
|
|
|
\[[ 0-9]+\] \.fini_array\.01000[ \t]+FINI_ARRAY[ \t0-9a-f]+WA?.*
|
2014-09-12 22:14:23 +00:00
|
|
|
#pass
|