initial commit
[bootcensus] / pcboot.ld
1 OUTPUT_ARCH(i386)
2
3 SECTIONS {
4         /* BIOS will load us at 0x7c000h */
5         . = 0x7c000;
6
7         .boot : { * (.boot); }
8         .startup : { * (.startup); }
9         .text : { * (.text); }
10         .rodata : { * (.rodata); }
11         .data : { * (.data); }
12
13         .bss ALIGN(4): {
14                 _bss_start = .;
15                 * (.bss);
16                 . = ALIGN(4);
17                 _bss_end = .;
18         }
19         _bss_size = SIZEOF(.bss);
20
21         _mem_start = .;
22 }