* libcurses++, libc++ and liblightOS++ are installed into the crosscompiler directory
[lightOS.git] / linkerscript / x86-c.ld
blob3c4d7260004b96d0837f2434e4423f1abdbbcab8
1 ENTRY(_start)
2 OUTPUT_FORMAT(elf32-i386)
4 SECTIONS
5         {
6         . = 0x00400000;
7         .text ALIGN(0x1000):
8                 {
9                 __stext__ = .;
10                 *(.text*)
11                 *(.rodata*)
12                 __etext__ = .;
13                 }
14         .data ALIGN(0x1000):
15                 {
16                 __sdata__ = .;
17                 *(.data)
18                 __edata__ = .;
19                 }
20         .bss ALIGN(0x1000):
21                 {
22                 __sbss__ = .;
23                 *(.bss)
24                 __ebss__ = .;
25                 }
26         .rel.dyn ALIGN(0x1000):
27                 {
28                 *(.rel.dyn*)
29                 }
30         .gnu.linkonce ALIGN(0x1000):
31                 {
32                 *(.gnu.linkonce.*)
33                 }
34         /DISCARD/ : { *(.comment .note.GNU-stack) }
35         }