blob: 512e3ad87d45ef32e37b114301db1e97b1837740 [file] [log] [blame]
swissChilid8137922021-02-17 15:34:07 -08001ENTRY(start)
2SECTIONS
3{
swissChilid3a652e2021-02-21 22:16:06 -08004 . = 0xC0100000;
5
6 kernel_virtual_start = .;
7 kernel_physical_start = . - 0xC0000000;
8
9
10 .text ALIGN(4096) : AT(ADDR(.text) - 0xC0000000)
swissChilid8137922021-02-17 15:34:07 -080011 {
12 code = .; _code = .; __code = .;
13 *(.text)
swissChilid8137922021-02-17 15:34:07 -080014 }
15
swissChilid3a652e2021-02-21 22:16:06 -080016 .data ALIGN(4096) : AT(ADDR(.data) - 0xC0000000)
swissChilid8137922021-02-17 15:34:07 -080017 {
18 data = .; _data = .; __data = .;
19 *(.data)
20 *(.rodata)
swissChilid8137922021-02-17 15:34:07 -080021 }
22
swissChilid3a652e2021-02-21 22:16:06 -080023 .bss ALIGN(4096) : AT(ADDR(.bss) - 0xC0000000)
swissChilid8137922021-02-17 15:34:07 -080024 {
25 bss = .; _bss = .; __bss = .;
26 *(.bss)
swissChilid8137922021-02-17 15:34:07 -080027 }
28
29 end = .; _end = .; __end = .;
30}