]> Joshua Wise's Git repositories - netwatch.git/blob - aseg-paging/aseg.lds
Only memcpy as much as we need to when we need to.
[netwatch.git] / aseg-paging / aseg.lds
1 OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
2 OUTPUT_ARCH(i386)
3
4 SECTIONS
5 {
6         . = 0xA8000;
7         
8         .aseg : {
9                 _start = .;
10                 entry.o
11                 LONG(0xA9FF0);
12                 LONG(c_entry);
13                 entry_initialized = .;
14                 LONG(0);
15                 pagingstub-asm.o
16                 pagingstub.o
17                 _aseg_end = .;
18         }
19
20         . = 0x200000;
21
22         .text : { *(.text); }
23         .data : { *(.data); }
24         .rodata : { *(.rodata); }
25         .text : { *(.text); }
26         
27         _bss = .;
28         .bss : { *(.bss); }
29         _bssend = .;
30         _end = .;
31
32         .stack : { 
33                 . = . + 0x10000;
34                 . = ALIGN(0x10);
35                 _stacktop = .;
36         }
37
38         . = 0x10000;
39         .info : {
40                 _start = .;
41                 LONG(0x5754454E);
42                 LONG(__firstrun_stub);
43         }
44
45 }
This page took 0.030565 seconds and 4 git commands to generate.