universalisos/kernel/test_boot.ld
Fábio Coutada 62e8454f91 build: add UEFI ISO builder, test boot scripts, EIM config
- make-uefi-iso.sh: UEFI ISO image builder
- test_boot.S, test_boot.ld: test boot assembly and linker script
- eim_config.toml: EIM (External Interface Module) configuration
- edk2-ovmf RPM for UEFI firmware
- GAP_ANALYSIS_PIKEOS_PARITY.md: PikeOS parity gap analysis
2026-07-15 15:33:07 +01:00

40 lines
552 B
Text

/*
* Minimal Multiboot2 Test Kernel Linker Script
*
* SPDX-License-Identifier: MIT
*/
OUTPUT_FORMAT("elf32-i386")
OUTPUT_ARCH(i386)
ENTRY(_start)
SECTIONS
{
. = 0x100000; /* 1MB — standard Multiboot load address */
.multiboot : ALIGN(8)
{
*(.multiboot)
}
.text : ALIGN(4096)
{
*(.text)
*(.text64)
}
.rodata : ALIGN(4096)
{
*(.rodata)
}
.data : ALIGN(4096)
{
*(.data)
}
.bss (NOLOAD) : ALIGN(16)
{
*(.bss)
*(COMMON)
}
}