X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/f54c68a085c376bf5e2d64b50aab28a3f46d0eac..60a917ef0909a3d22904e8204a0df64094af6e50:/aseg/aseg.lds?ds=sidebyside diff --git a/aseg/aseg.lds b/aseg/aseg.lds index 2d805bb..a3a8ece 100644 --- a/aseg/aseg.lds +++ b/aseg/aseg.lds @@ -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 = .; } }