aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/sort-file.d
blob: 8d395ac648970ea29a063fcc2591ad94b698a67d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#source: sort-file2.s
#source: sort-file1.s
#ld: -T sort-file.t --no-error-rwx-segments
#nm: -n

# Check that SORT_BY_NAME on filenames works
# the text sections should come in sorted order, the data
# sections in input order.  Note how we specifically pass
# the object filenames in non-alphabetical order
#...
0[0-9a-f]* t infile1
#...
0[0-9a-f]* t infile2
#...
0[0-9a-f]* d data2
#...
0[0-9a-f]* d data1
#pass