OUTPUT_ARCH(i386:x86-64) ENTRY(_start) BASE_ADDRESS = 0x200000; SECTIONS { /* Load the kernel at this address: "." means the current address */ . = BASE_ADDRESS; start = .; .text : { stext = .; *(.text.entry) *(.text .text.*) . = ALIGN(4K); etext = .; } .rodata : { srodata = .; *(.rodata .rodata.*) . = ALIGN(4K); erodata = .; } .data : { sdata = .; *(.data .data.*) *(.sdata .sdata.*) edata = .; } .stack : { *(.bss.stack) } .bss : { sbss = .; *(.bss .bss.*) *(.sbss .sbss.*) ebss = .; } . = ALIGN(4K); PROVIDE(dma_region = .); }