repo.or.cz
/
lightOS.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* libcurses++, libc++ and liblightOS++ are installed into the crosscompiler directory
[lightOS.git]
/
linkerscript
/
x86_64-lib++.ld
blob
bb8b995304c0698aeb56086c88fa8e5c8e6c415a
1
ENTRY(_start)
2
OUTPUT_FORMAT("elf64-x86-64")
3
OUTPUT_ARCH(i386:x86-64)
4
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
}