]> Joshua Wise's Git repositories - netwatch.git/blobdiff - aseg/aseg.lds
initial checkin of RFB
[netwatch.git] / aseg / aseg.lds
index 2d805bb3d373c7e2ae27edf297dcfa6b5751aabb..02c104d2b2b4da775ccd7965f161f7ce0cd41c78 100644 (file)
@@ -1,11 +1,37 @@
 OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
 OUTPUT_ARCH(i386)
 OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
 OUTPUT_ARCH(i386)
+
 SECTIONS
 {
        . = 0xA8000;
 SECTIONS
 {
        . = 0xA8000;
-       
-       .aseg 0xA8000 : {
+       .aseg : {
                _start = .;
                aseg.o
                _start = .;
                aseg.o
+               LONG(_stacktop);
+               LONG(smi_entry);
+               *(.data);
+               *(.rodata);
+
+               . = 0x8000;
+               *(.text);
+       }
+
+       . = 0x1FF80000;
+       .bss : {
+               _bss = .;
+               *(.bss);
+               _bssend = .;
+       }
+       .stack : { 
+               . = . + 0x10000;
+               . = ALIGN(0x10);
+               _stacktop = .;
+       }
+
+       . = 0x10000;
+       .info : {
+               _start = .;
+               LONG(0x5754454E);
+               LONG(__firstrun_start);
        }
 }
        }
 }
This page took 0.020593 seconds and 4 git commands to generate.