blob: af8a2feb0531b9c064a828a2f0da5e0b36a32ee4 (
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
|
/* text: over the 32-bit address range.
data: far away from text, and nearly-zero. */
ENTRY(_start)
MEMORY
{
rom (rx) : ORIGIN = 0x800000000, LENGTH = 0x1000
ram (!rx) : ORIGIN = 0x10, LENGTH = 0x1000
}
SECTIONS {
.text : {
*(.text*)
} >rom
.data : {
*(.data*)
} >ram
__global_pointer$ = .;
.got : {
*(.got*)
} > ram
}
|