* reordered a little bit
[mascara-docs.git] / boot / btldr / linker.ld
blob9a377bbc7962dd194170c1931c6e273bef8a04aa
1 ENTRY(main);
2 SECTIONS
4     . = 0x7C00;
5     .text : AT(0x7C00)
6     {
7         _text = .;
8         *(.text);
9         _text_end = .;
10     }
11     .data :
12     {
13         _data = .;
14         *(.bss);
15         *(.bss*);
16         *(.data);
17         *(.rodata*);
18         *(COMMON)
19         _data_end = .;
20     }
21     .sig : AT(0x7DFE)
22     {
23         SHORT(0xaa55);
24     }
25     /DISCARD/ :
26     {
27         *(.note*);
28         *(.iplt*);
29         *(.igot*);
30         *(.rel*);
31         *(.comment);
32 /* add any unwanted sections spewed out by your version of gcc and flags here */
33     }