# Rumpk Linker Script (ARM64)
# For QEMU virt machine

ENTRY(_start)

SECTIONS
{
    . = 0x40080000;  /* QEMU virt kernel load address */

    .text : {
        *(.text._start)
        *(.text*)
    }

    .rodata : {
        *(.rodata*)
    }

    .data : {
        *(.data*)
    }

    .bss : {
        __bss_start = .;
        *(.bss*)
        *(COMMON)
        __bss_end = .;
    }

    /DISCARD/ : {
        *(.comment)
        *(.note*)
        *(.eh_frame*)
    }
}
