aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr22677.d
blob: 38e2be1898bd848ac04d1f2745f7fb72fb70780b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ld: -r  --gc-sections -u foo
#readelf: -S --wide
# generic linker targets don't support --gc-sections, nor do a bunch of
# others.
#xfail: d30v-*-* dlx-*-* hppa64-*-*
#xfail: mep-*-* mn10200-*-* pj*-*-* pru-*-* xgate-*-*

#...
  \[[ 0-9]+\] \.preinit_array\.01000[ \t]+PREINIT_ARRAY[ \t0-9a-f]+WA?.*
#...
  \[[ 0-9]+\] \.init_array\.01000[ \t]+INIT_ARRAY[ \t0-9a-f]+WA?.*
#...
  \[[ 0-9]+\] \.fini_array\.01000[ \t]+FINI_ARRAY[ \t0-9a-f]+WA?.*
#pass