X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/37e45c7c11b6af276ba23505bbdbf218ff915ed8..2d34b5d2cb94b7976fa40e954bcf060bdb5856c2:/aseg/aseg.lds?ds=inline diff --git a/aseg/aseg.lds b/aseg/aseg.lds index a3a8ece..02c104d 100644 --- a/aseg/aseg.lds +++ b/aseg/aseg.lds @@ -1,5 +1,6 @@ OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386") OUTPUT_ARCH(i386) + SECTIONS { . = 0xA8000; @@ -7,12 +8,12 @@ SECTIONS _start = .; aseg.o LONG(_stacktop); - LONG(_bss); - LONG(_bssend - _bss); - LONG(__start); - *(.text); + LONG(smi_entry); *(.data); *(.rodata); + + . = 0x8000; + *(.text); } . = 0x1FF80000; @@ -26,4 +27,11 @@ SECTIONS . = ALIGN(0x10); _stacktop = .; } + + . = 0x10000; + .info : { + _start = .; + LONG(0x5754454E); + LONG(__firstrun_start); + } }