OUTPUT_ARCH(aarch64) ENTRY(_image_start) SECTIONS { /* QEMU virt RAM begins at 0x40000000; Image text_offset is 0x80000. */ . = 0x40080000; .head : { KEEP(*(.head)) } . = ALIGN(4096); _text_start = .; .text : { *(.text.boot) *(.text .text.*) } . = ALIGN(4096); _text_end = .; .rodata : ALIGN(16) { *(.rodata .rodata.*) } . = ALIGN(4096); _rodata_end = .; .data : ALIGN(16) { *(.data .data.*) } . = ALIGN(16); __bss_start = .; .bss (NOLOAD) : { *(.bss .bss.*) *(COMMON) } . = ALIGN(16); __bss_end = .; _image_end = .; /DISCARD/ : { *(.eh_frame .eh_frame.*) *(.comment) *(.note .note.*) } }