git://scm.lunaixsky.com
/
lunaix-os.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
layout boot-stage framework for aa64
[lunaix-os.git]
/
lunaix-os
/
usr
/
uexec.ldx
1
ENTRY(_start)
2
3
#ifdef CONFIG_ARCH_X86_64
4
# define EXEC_START 0x0000008000000000
5
#else
6
# define EXEC_START 0x400000
7
#endif
8
9
SECTIONS {
10
. = EXEC_START;
11
12
.text BLOCK(4K) : {
13
*(.text)
14
}
15
16
.data BLOCK(4K) : {
17
*(.data)
18
}
19
20
.ro.data BLOCK(4K) : {
21
*(.ro.data)
22
}
23
24
.bss BLOCK(4K) : {
25
*(.bss)
26
}
27
}