Support tcl procedure calls in run_dump_test xfail
[external/binutils.git] / ld / testsuite / ld-elf / orphan-9.ld
1 /* This linker script is used for orphan-9 and orphan-10 test.
2
3    orphan-9: We have a single byte in .data, and an orphan .data.1
4    section.  We are checking that the .data.1 orphan is assigned an
5    LMA after .data rather than picking up the lma region of .rodata.
6
7    orphan-10: In this case we have nothing in .data and an orphan
8    .data.1, we are checking that .data.1 is assigned an LMA after
9    .data, rather than defaulting to take LMA == VMA.  */
10
11 MEMORY
12 {
13    MEM    : ORIGIN = 0x1000, LENGTH = 0x100
14    TEXT   : ORIGIN = 0x200,  LENGTH = 0x50
15    DATA   : ORIGIN = 0x300,  LENGTH = 0x50
16    RODATA : ORIGIN = 0x400,  LENGTH = 0x50
17 }
18
19 SECTIONS
20 {
21   .text : {
22     *(.text)
23   } >MEM AT>TEXT
24
25   .data : AT(0x300) {
26     *(.data)
27   } >MEM
28
29   .rodata : {
30     *(.rodata)
31   } >MEM AT>RODATA
32 }