aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/retain1a.d
blob: 29adb5d2c9155831aaad1c817fc9c11c4cb57287 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#name: SHF_GNU_RETAIN 1a
#source: retain1.s
#ld: -e _start --gc-sections
#notarget: ![supports_gnu_osabi] ![check_gc_sections_available]
#DUMPPROG: nm

#...
[0-9a-f]+ . fnretain1
#...
[0-9a-f]+ . lsretain0.2
#...
[0-9a-f]+ . lsretain1.1
#...
[0-9a-f]+ . lsretain2.0
#...
[0-9a-f]+ . retain0
#...
[0-9a-f]+ . retain1
#...
[0-9a-f]+ . retain2
#...
[0-9a-f]+ . sretain0
#...
[0-9a-f]+ . sretain1
#...
[0-9a-f]+ . sretain2
#pass