blob: 1a6773de1838b9e939c1d1584069b5b353048f65 (
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
28
|
/* This linker script is used for orphan-9 test.
We have a single byte in .data, and an orphan .data.1
section. We are checking that the .data.1 orphan is assigned an
LMA after .data rather than picking up the lma region of .rodata. */
MEMORY
{
MEM : ORIGIN = 0x1000, LENGTH = 0x100
TEXT : ORIGIN = 0x200, LENGTH = 0x50
DATA : ORIGIN = 0x300, LENGTH = 0x50
RODATA : ORIGIN = 0x400, LENGTH = 0x50
}
SECTIONS
{
.text : {
*(.text)
} >MEM AT>TEXT
.data : AT(0x300) {
*(.data)
} >MEM
.rodata : {
*(.rodata)
} >MEM AT>RODATA
}
|