Files
Deshab-OS/CODE/UTSM/linker.ld
T
xyou f1a2a110d7 Record networking and DMA development progress
Add the current OS source tree, build scripts, system image layout, and development notes covering DMA page allocation, e1000 bring-up, net API dispatch, and DHCP work in progress.
2026-07-02 16:17:09 +08:00

31 lines
505 B
Plaintext

ENTRY(_start)
PHDRS
{
text PT_LOAD FLAGS(5); /* R-X */
rodata PT_LOAD FLAGS(4); /* R-- */
data PT_LOAD FLAGS(7); /* RWX (SAS-R0) */
}
SECTIONS
{
. = 0xffffffff80000000;
.text : ALIGN(4K) {
*(.text*)
} :text
.rodata : ALIGN(4K) {
*(.limine_requests_start*)
*(.limine_requests*)
*(.limine_requests_end*)
*(.rodata*)
} :rodata
.data : ALIGN(4K) {
*(.data*)
*(COMMON)
*(.bss*)
} :data
}