ENTRY(_start) KERNEL_VIRT_BASE = 0xC0000000; KERNEL_PHYS_BASE = 0x00100000; SECTIONS { . = KERNEL_VIRT_BASE; .text : AT(KERNEL_PHYS_BASE) { *(.text) } .rodata : AT(KERNEL_PHYS_BASE + (ADDR(.rodata) - KERNEL_VIRT_BASE)) { *(.rodata) } .data : AT(KERNEL_PHYS_BASE + (ADDR(.data) - KERNEL_VIRT_BASE)) { *(.data) } .bss : AT(KERNEL_PHYS_BASE + (ADDR(.bss) - KERNEL_VIRT_BASE)) { *(COMMON) *(.bss) } }