* same with xv6
[mascara-docs.git] / i386 / ucla / src / lab1 / boot / ldscript.ld
blob18496f100908fdd1fd9384a8f1f4d0184e13b93c
1 ENTRY(main);
2 SECTIONS
4     . = 0x7C00;
5     .text : AT(0x7C00)
6     {
7         _text = .;
8         *(.text);
9         _text_end = .;
10     }
11     /DISCARD/ :
12     {
13         *(.note*);
14         *(.iplt*);
15         *(.igot*);
16         *(.rel*);
17         *(.comment);
18         *(.eh_frame);
19 /* add any unwanted sections spewed out by your version of gcc and flags here */
20     }