user.lds (568B)
1 /* Link at the boot2 chain's default base (hex2pp -B 0x600000). This is 2 * below QEMU virt's RAM (which starts at 0x40000000) — the seed kernel 3 * provides a per-process L2 page table that maps user low VAs to a 4 * reserved physical RAM pool, so VA 0x600000 has real backing. */ 5 6 ENTRY(_start) 7 8 SECTIONS { 9 . = 0x00600000; 10 11 .text : { *(.text .text.*) } 12 .rodata : ALIGN(8) { *(.rodata .rodata.*) } 13 .data : ALIGN(8) { *(.data .data.*) } 14 .bss : ALIGN(16) { *(.bss .bss.*) *(COMMON) } 15 16 /DISCARD/ : { *(.note.*) *(.comment) *(.eh_frame) } 17 }