From 858a52c06a4615bd58a6a906333f2ad707d41c0a Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Tue, 19 Aug 2025 15:04:04 -0400 Subject: usermode pager --- apps/init/arch/x86_64/link.ld | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 apps/init/arch/x86_64/link.ld (limited to 'apps/init/arch/x86_64/link.ld') diff --git a/apps/init/arch/x86_64/link.ld b/apps/init/arch/x86_64/link.ld new file mode 100644 index 0000000..45b08f5 --- /dev/null +++ b/apps/init/arch/x86_64/link.ld @@ -0,0 +1,10 @@ +OUTPUT_ARCH(i386:x86-64) + +PAGESIZE = CONSTANT(MAXPAGESIZE); + +SECTIONS +{ + . = 0x1000; + .text BLOCK(PAGESIZE) : ALIGN(PAGESIZE) { *(.text.start) *(.text) *(.rodata) } + .data BLOCK(PAGESIZE) : ALIGN(PAGESIZE) { *(.data) *(.bss) } +} -- cgit v1.2.1