X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/f54c68a085c376bf5e2d64b50aab28a3f46d0eac..92bb2596b1eda2324da82825b882df5dce9dfbbb:/aseg/aseg.lds diff --git a/aseg/aseg.lds b/aseg/aseg.lds index 2d805bb..02c104d 100644 --- a/aseg/aseg.lds +++ b/aseg/aseg.lds @@ -1,11 +1,37 @@ OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386") OUTPUT_ARCH(i386) + SECTIONS { . = 0xA8000; - - .aseg 0xA8000 : { + .aseg : { _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); } }