]> Joshua Wise's Git repositories - netwatch.git/blobdiff - aseg/aseg.lds
Add port tool
[netwatch.git] / aseg / aseg.lds
index 2d805bb3d373c7e2ae27edf297dcfa6b5751aabb..290502701ab32ca594096835919134208b24a3c4 100644 (file)
@@ -3,9 +3,34 @@ OUTPUT_ARCH(i386)
 SECTIONS
 {
        . = 0xA8000;
 SECTIONS
 {
        . = 0xA8000;
-       
-       .aseg 0xA8000 : {
+       .aseg : {
                _start = .;
                aseg.o
                _start = .;
                aseg.o
+               LONG(_stacktop);
+               LONG(_bss);
+               LONG(_bssend - _bss);
+               LONG(__start);
+               *(.text);
+               *(.data);
+               *(.rodata);
+       }
+
+       . = 0x1FF80000;
+       .bss : {
+               _bss = .;
+               *(.bss);
+               _bssend = .;
+       }
+       .stack : { 
+               . = . + 0x10000;
+               . = ALIGN(0x10);
+               _stacktop = .;
+       }
+
+       . = 0x10000;
+       .info : {
+               _start = .;
+               LONG(0x5754454E);
+               LONG(__firstrun_start);
        }
 }
        }
 }
This page took 0.026612 seconds and 4 git commands to generate.