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

#...
  \[[ 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