ref: e5e12f806ecf322946c093fe59d909beb9160d0c
dir: /hello/linker.ld/
OUTPUT_FORMAT(elf64-x86-64) PHDRS { text PT_LOAD FILEHDR PHDRS; data PT_LOAD; } UTZERO = 0x200000; MAXPAGESIZE = 2M; SECTIONS { . = UTZERO + SIZEOF_HEADERS; .text : { *(.text*) } :text . = ALIGN(MAXPAGESIZE); .data : { *(.rodata*) *(.data*) } :data .bss : { *(.bss*) } :data /DISCARD/ : { *(.comment*) *(.eh_frame*) } }