X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/db9fad13f192963786c7ac90d305467ac00bd145..4e3ef36be657e274f91162edbbf13265abb23319:/netwatch/netwatch-large.lds diff --git a/netwatch/netwatch-large.lds b/netwatch/netwatch-large.lds new file mode 100644 index 0000000..9bf3b8a --- /dev/null +++ b/netwatch/netwatch-large.lds @@ -0,0 +1,48 @@ +OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386") +OUTPUT_ARCH(i386) + +SECTIONS +{ + . = 0xA8000; + + .aseg : { + _start = .; + entry.o + LONG(0xA9FF0); + LONG(c_entry); + entry_initialized = .; + LONG(0); + pagingstub-asm.o + pagingstub.o + _aseg_end = .; + } + + . = 0x200000; + + .text : { + *(.text); + *(SORT(.table.*)); + } + .data : { *(.data); *(.data2); } + .rodata : { *(.rodata); } + .text : { *(.text); } + + _bss = .; + .bss : { *(.bss); } + _bssend = .; + _end = .; + + .stack : { + . = . + 0x10000; + . = ALIGN(0x10); + _primary_stack_top = .; + } + + . = 0x10000; + .info : { + _start = .; + LONG(0x5754454E); + LONG(__firstrun_stub); + } + +}