]> Joshua Wise's Git repositories - netwatch.git/blobdiff - netwatch/aseg.lds
Move aseg-paging to netwatch/
[netwatch.git] / netwatch / aseg.lds
diff --git a/netwatch/aseg.lds b/netwatch/aseg.lds
new file mode 100644 (file)
index 0000000..cf14790
--- /dev/null
@@ -0,0 +1,45 @@
+OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
+OUTPUT_ARCH(i386)
+
+SECTIONS
+{
+       . = 0xA8000;
+       
+       .aseg : {
+               _start = .;
+               entry.o
+               LONG(0xA9FF0);
+               LONG(c_entry);
+               entry_initialized = .;
+               LONG(0);
+               pagingstub-asm.o
+               pagingstub.o
+               _aseg_end = .;
+       }
+
+       . = 0x200000;
+
+       .text : { *(.text); }
+       .data : { *(.data); }
+       .rodata : { *(.rodata); }
+       .text : { *(.text); }
+       
+       _bss = .;
+       .bss : { *(.bss); }
+       _bssend = .;
+       _end = .;
+
+       .stack : { 
+               . = . + 0x10000;
+               . = ALIGN(0x10);
+               _stacktop = .;
+       }
+
+       . = 0x10000;
+       .info : {
+               _start = .;
+               LONG(0x5754454E);
+               LONG(__firstrun_stub);
+       }
+
+}
This page took 0.022119 seconds and 4 git commands to generate.