Files
Deshab-OS/CODE/dsk/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

28 lines
381 B
Plaintext

ENTRY(dsk_entry)
PHDRS
{
text PT_LOAD FLAGS(5); /* R-X */
rodata PT_LOAD FLAGS(4); /* R-- */
data PT_LOAD FLAGS(6); /* RW- */
}
SECTIONS
{
. = 0x1000;
.text : ALIGN(4K) {
*(.text*)
} :text
.rodata : ALIGN(4K) {
*(.rodata*)
} :rodata
.data : ALIGN(4K) {
*(.data*)
*(COMMON)
*(.bss*)
} :data
}