aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/retain6b.d
blob: f29ba71dd91c0ad7f47ac9a70983a813f8dc336a (plain)
1
2
3
4
5
6
7
8
9
10
#name: SHF_GNU_RETAIN 6b (pull section out of lib required by SHF_GNU_RETAIN section)
#source: retain6main.s
#ld: --gc-sections -e _start -u bar -Ltmpdir -lretain6
#notarget: ![supports_gnu_osabi] ![check_gc_sections_available]
#DUMPPROG: nm

#failif
#...
[0-9a-f]+ . .*discard.*
#...