+ libc: file with doxygen groups
[lightOS.git] / linkerscript / x86_64-lib++.ld
blobea52ed31bd17ed4ba3b2ce77e2a05c3c89b9ef4f
1 ENTRY(startup)
2 OUTPUT_FORMAT("elf64-x86-64")
3 OUTPUT_ARCH(i386:x86-64)
5 SECTIONS
6         {
7         . = SIZEOF_HEADERS;
8         .text ALIGN(0x1000):
9                 {
10                 __stext__ = .;
11                 *(.text*)
12                 *(.rodata*)
13                 __etext__ = .;
14                 }
15         .data ALIGN(0x1000):
16                 {
17                 __sdata__ = .;
18                 *(.data)
19                 __edata__ = .;
20                 __lib_ctors_start__ = .;
21                 *(.ctors)
22                 __lib_ctors_end__ = .;
23                 }
24         .bss ALIGN(0x1000):
25                 {
26                 __sbss__ = .;
27                 *(.bss)
28                 __ebss__ = .;
29                 }
30         .gnu.linkonce ALIGN(0x1000):
31                 {
32                 *(.gnu.linkonce.*)
33                 }
34         /DISCARD/ : { *(.comment .note.GNU-stack) }
35         }