repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Updated Malay translation for the bfd sub-directory
[binutils-gdb.git]
/
ld
/
testsuite
/
ld-riscv-elf
/
code-model-02.ld
blob
af8a2feb0531b9c064a828a2f0da5e0b36a32ee4
1
/* text: over the 32-bit address range.
2
data: far away from text, and nearly-zero. */
3
4
ENTRY(_start)
5
MEMORY
6
{
7
rom (rx) : ORIGIN = 0x800000000, LENGTH = 0x1000
8
ram (!rx) : ORIGIN = 0x10, LENGTH = 0x1000
9
}
10
SECTIONS {
11
.text : {
12
*(.text*)
13
} >rom
14
15
.data : {
16
*(.data*)
17
} >ram
18
19
__global_pointer$ = .;
20
21
.got : {
22
*(.got*)
23
} > ram
24
}