repo.or.cz
/
Rockbox.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Corrected version of 176x54 (Nano) colour logo (it wasn't being used until logo-nano...
[Rockbox.git]
/
gdb
/
linker.cfg
blob
2cc6a0e9b42cee250e826c80e1cf5a35ceb826f3
1
#include "config.h"
2
3
#ifdef CPU_ARM
4
ENTRY(start)
5
STARTUP(crt0.o)
6
OUTPUT_FORMAT(elf32-littlearm)
7
#else
8
ENTRY(_start)
9
OUTPUT_FORMAT(elf32-sh)
10
#endif
11
12
#ifdef IRIVER_IFP7XX_SERIES
13
MEMORY
14
{
15
IRAM : ORIGIN = 0, LENGTH = 0x10000
16
DRAM : ORIGIN = 0x24000000, LENGTH = 0x8000
17
}
18
19
SECTIONS
20
{
21
.text :
22
{
23
*(.init*)
24
*(.text)
25
*(.text*)
26
*(.rodata)
27
*(.rodata*)
28
*(.glue_7)
29
*(.glue_7t)
30
} >DRAM
31
32
.data :
33
{
34
*(.data)
35
} >DRAM
36
37
.vectors :
38
{
39
_vectorsstart = .;
40
*(.vectors)
41
_vectorsend = .;
42
} >IRAM AT>DRAM
43
_vectorscopy = LOADADDR(.vectors);
44
45
.stack (NOLOAD) :
46
{
47
stackbegin = .;
48
. += 0x400;
49
_stub_stack = .;
50
. += 0x200;
51
stackend = .;
52
} >DRAM
53
54
.bss (NOLOAD) :
55
{
56
_edata = .;
57
*(.bss)
58
_end = .;
59
} >DRAM
60
}
61
#else
62
63
SECTIONS
64
{
65
.vectors 0x09000000 :
66
{
67
*(.vectors);
68
. = ALIGN(0x200);
69
start.o(.text)
70
*(.rodata)
71
}
72
73
.text :
74
{
75
*(.text)
76
}
77
78
.bss :
79
{
80
_stack = . + 0x1000;
81
_stub_stack = _stack + 0x1000;
82
}
83
84
.pad 0x0900C800 :
85
{
86
LONG(0);
87
}
88
}
89
90
#endif