swissChili | d813792 | 2021-02-17 15:34:07 -0800 | [diff] [blame] | 1 | ENTRY(start) |
2 | SECTIONS | ||||
3 | { | ||||
swissChili | d3a652e | 2021-02-21 22:16:06 -0800 | [diff] [blame] | 4 | . = 0xC0100000; |
5 | |||||
6 | kernel_virtual_start = .; | ||||
7 | kernel_physical_start = . - 0xC0000000; | ||||
8 | |||||
9 | |||||
10 | .text ALIGN(4096) : AT(ADDR(.text) - 0xC0000000) | ||||
swissChili | d813792 | 2021-02-17 15:34:07 -0800 | [diff] [blame] | 11 | { |
12 | code = .; _code = .; __code = .; | ||||
13 | *(.text) | ||||
swissChili | d813792 | 2021-02-17 15:34:07 -0800 | [diff] [blame] | 14 | } |
15 | |||||
swissChili | d3a652e | 2021-02-21 22:16:06 -0800 | [diff] [blame] | 16 | .data ALIGN(4096) : AT(ADDR(.data) - 0xC0000000) |
swissChili | d813792 | 2021-02-17 15:34:07 -0800 | [diff] [blame] | 17 | { |
18 | data = .; _data = .; __data = .; | ||||
19 | *(.data) | ||||
20 | *(.rodata) | ||||
swissChili | d813792 | 2021-02-17 15:34:07 -0800 | [diff] [blame] | 21 | } |
22 | |||||
swissChili | d3a652e | 2021-02-21 22:16:06 -0800 | [diff] [blame] | 23 | .bss ALIGN(4096) : AT(ADDR(.bss) - 0xC0000000) |
swissChili | d813792 | 2021-02-17 15:34:07 -0800 | [diff] [blame] | 24 | { |
25 | bss = .; _bss = .; __bss = .; | ||||
26 | *(.bss) | ||||
swissChili | d813792 | 2021-02-17 15:34:07 -0800 | [diff] [blame] | 27 | } |
28 | |||||
29 | end = .; _end = .; __end = .; | ||||
30 | } |