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-c++.ld
blob
d9d24c2f7b4e00fed55e7a8ccd569f2b81854967
1
ENTRY(_start)
2
OUTPUT_FORMAT("elf64-x86-64")
3
OUTPUT_ARCH(i386:x86-64)
4
VIRTUAL = 0x400000 + SIZEOF_HEADERS;
5
6
SECTIONS
7
{
8
. = VIRTUAL;
9
.text :
10
{
11
__stext__ = .;
12
*(.text*)
13
*(.rodata*)
14
__etext__ = .;
15
}
16
.data ALIGN(0x1000):
17
{
18
__sdata__ = .;
19
*(.data)
20
__edata__ = .;
21
__ctors_start__ = .;
22
*(.ctors)
23
__ctors_end__ = .;
24
}
25
.bss ALIGN(0x1000):
26
{
27
__sbss__ = .;
28
*(.bss)
29
__ebss__ = .;
30
}
31
.rela.dyn ALIGN(0x1000):
32
{
33
*(.rela.dyn*)
34
}
35
.gnu.linkonce ALIGN(0x1000):
36
{
37
*(.gnu.linkonce.*)
38
}
39
/DISCARD/ : { *(.comment .note.GNU-stack) }
40
}