summaryrefslogtreecommitdiffstats
path: root/apps/init/arch/x86_64/link.ld
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2025-08-19 15:04:04 -0400
committerJon Santmyer <jon@jonsantmyer.com>2025-08-19 15:04:04 -0400
commit858a52c06a4615bd58a6a906333f2ad707d41c0a (patch)
tree16870cd4d67da283567a72a74d28c04464da292a /apps/init/arch/x86_64/link.ld
parent65ba015d6c1f248d36ad01a653bc49637804b15b (diff)
downloadjove-os-858a52c06a4615bd58a6a906333f2ad707d41c0a.tar.gz
jove-os-858a52c06a4615bd58a6a906333f2ad707d41c0a.tar.bz2
jove-os-858a52c06a4615bd58a6a906333f2ad707d41c0a.zip
usermode pager
Diffstat (limited to 'apps/init/arch/x86_64/link.ld')
-rw-r--r--apps/init/arch/x86_64/link.ld10
1 files changed, 10 insertions, 0 deletions
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) }
+}