OUTPUT_ARCH(aarch64) ENTRY(_image_start) SECTIONS { /* QEMU virt RAM begins at 0x40000000; Image text_offset is 0x80000. */ . = 0x40080000; .head : { KEEP(*(.head)) } .boot_contract : ALIGN(8) { KEEP(*(.rodata.boot_contract)) } ASSERT(. <= 0x40081000, "boot contract exceeds header page") . = 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.watchdog (NOLOAD) : ALIGN(8) { *(.bss.os_k2095) } .bss (NOLOAD) : { *(.bss .bss.*) *(COMMON) } . = ALIGN(16); __bss_end = .; _image_end = .; /DISCARD/ : { *(.eh_frame .eh_frame.*) *(.comment) *(.note .note.*) } }