LD: Always make a SEGMENT_START expression section-relative
[deliverable/binutils-gdb.git] / ld / testsuite / ld-scripts / segment-start.d
1 #PROG: nm
2 #name: SEGMENT_START expression not absolute
3 #source: segment-start.s
4 #ld: -e 0 -u __executable_start -T segment-start.ld
5 #xfail: mmix-*-* pdp11-*-* powerpc-*-aix* powerpc-*-beos* rs6000-*-* sh-*-pe
6 #xfail: c30-*-*aout* tic30-*-*aout* c54x*-*-*coff* tic54x-*-*coff*
7 # XFAIL targets that are not expected to handle SEGMENT_START correctly.
8
9 # Make sure `__executable_start' is regular:
10 #
11 # 10000000 T __executable_start
12 #
13 # not absolute:
14 #
15 # 10000000 A __executable_start
16
17 #...
18 0*10000000 T __executable_start
19 #pass
This page took 0.030705 seconds and 4 git commands to generate.