Corrected version of 176x54 (Nano) colour logo (it wasn't being used until logo-nano...
[Rockbox.git] / gdb / linker.cfg
blob2cc6a0e9b42cee250e826c80e1cf5a35ceb826f3
1 #include "config.h"
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
12 #ifdef IRIVER_IFP7XX_SERIES
13 MEMORY
15    IRAM : ORIGIN = 0, LENGTH = 0x10000
16    DRAM : ORIGIN = 0x24000000, LENGTH = 0x8000
19 SECTIONS
21     .text :
22     {
23         *(.init*)
24         *(.text)
25         *(.text*)
26         *(.rodata)
27         *(.rodata*)
28         *(.glue_7)
29         *(.glue_7t)
30     } >DRAM
32     .data :
33     {
34         *(.data)
35     } >DRAM
37     .vectors :
38     {
39         _vectorsstart = .;
40         *(.vectors)
41         _vectorsend = .;
42     } >IRAM AT>DRAM
43     _vectorscopy = LOADADDR(.vectors);
45     .stack (NOLOAD) :
46     {
47         stackbegin = .;
48         . += 0x400;
49         _stub_stack = .;
50         . += 0x200;
51         stackend = .;
52     } >DRAM
54     .bss (NOLOAD) :
55     {
56         _edata = .;
57         *(.bss)
58         _end = .;
59     } >DRAM
61 #else
63 SECTIONS
65     .vectors 0x09000000 :
66     {
67         *(.vectors);
68         . = ALIGN(0x200);
69         start.o(.text)
70         *(.rodata)
71     }
73     .text :
74     {
75         *(.text)
76     }
78     .bss :
79     {
80        _stack = . + 0x1000;
81        _stub_stack = _stack + 0x1000;
82     }
84     .pad 0x0900C800 :
85     {
86         LONG(0);
87     }
90 #endif