Chroma/linker.ld

41 lines
579 B
Plaintext
Raw Normal View History

mmio = 0xfffffffff8000000;
fb = 0xfffffffffc000000;
PHDRS
{
boot PT_LOAD;
}
SECTIONS
{
. = 0xFFFFFFFFFFE00000;
LoadAddr = .;
bootldr = .; . += 4096;
environment = .; . += 4096;
.text : {
2021-07-04 20:47:09 +00:00
_kernel_text_start = .;
KEEP(*(.text.boot)) *(.text .text.*)
_kernel_rodata_start = .;
*(.rodata .rodata.*)
_kernel_data_start = .;
*(.data .data.*)
} :boot
.bss (NOLOAD) : {
. = ALIGN(16);
*(.bss .bss.*)
*(COMMON)
} :boot
.eh_frame_hdr : {
*(.eh_frame_hdr)
*(.eh_frame)
*(.gcc_except_table)
} :boot
/DISCARD/ : {*(.comment) }
end = .;
}