OUTPUT_ARCH(i386:x86-64) PAGESIZE = CONSTANT(MAXPAGESIZE); SECTIONS { . = 0x1000; .text BLOCK(PAGESIZE) : ALIGN(PAGESIZE) { *(.text.start) *(.text) *(.rodata) } .data BLOCK(PAGESIZE) : ALIGN(PAGESIZE) { *(.data) *(.bss) } }