]> Joshua Wise's Git repositories - netwatch.git/blobdiff - aseg/aseg.lds
aseg with a working C execution environment
[netwatch.git] / aseg / aseg.lds
index 2d805bb3d373c7e2ae27edf297dcfa6b5751aabb..a3a8ecefbd67d7c97b56b8282e8c063a4abdbdb1 100644 (file)
@@ -3,9 +3,27 @@ OUTPUT_ARCH(i386)
 SECTIONS
 {
        . = 0xA8000;
-       
-       .aseg 0xA8000 : {
+       .aseg : {
                _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 = .;
        }
 }
This page took 0.023194 seconds and 4 git commands to generate.