2020-11-09 18:48:47 +00:00
|
|
|
mmio = 0xfffffffff8000000;
|
|
|
|
fb = 0xfffffffffc000000;
|
2020-02-06 20:20:58 +00:00
|
|
|
|
|
|
|
PHDRS
|
|
|
|
{
|
|
|
|
boot PT_LOAD;
|
|
|
|
}
|
|
|
|
|
|
|
|
SECTIONS
|
|
|
|
{
|
2020-04-11 21:59:39 +00:00
|
|
|
. = 0xFFFFFFFFFFE00000;
|
|
|
|
LoadAddr = .;
|
2020-02-06 20:20:58 +00:00
|
|
|
bootldr = .; . += 4096;
|
|
|
|
environment = .; . += 4096;
|
|
|
|
|
|
|
|
.text : {
|
2021-07-04 20:47:09 +00:00
|
|
|
|
2020-08-31 20:53:44 +00:00
|
|
|
_kernel_text_start = .;
|
2020-02-06 20:20:58 +00:00
|
|
|
KEEP(*(.text.boot)) *(.text .text.*)
|
2020-08-31 20:53:44 +00:00
|
|
|
_kernel_rodata_start = .;
|
2020-02-06 20:20:58 +00:00
|
|
|
*(.rodata .rodata.*)
|
2020-08-31 20:53:44 +00:00
|
|
|
_kernel_data_start = .;
|
2020-02-06 20:20:58 +00:00
|
|
|
*(.data .data.*)
|
|
|
|
} :boot
|
|
|
|
.bss (NOLOAD) : {
|
|
|
|
. = ALIGN(16);
|
|
|
|
*(.bss .bss.*)
|
|
|
|
*(COMMON)
|
|
|
|
} :boot
|
|
|
|
|
2020-08-27 00:39:56 +00:00
|
|
|
.eh_frame_hdr : {
|
|
|
|
*(.eh_frame_hdr)
|
|
|
|
*(.eh_frame)
|
|
|
|
*(.gcc_except_table)
|
|
|
|
} :boot
|
|
|
|
|
|
|
|
/DISCARD/ : {*(.comment) }
|
2020-02-06 20:20:58 +00:00
|
|
|
|
|
|
|
end = .;
|
|
|
|
}
|