summaryrefslogtreecommitdiff
path: root/firmware/target/arm/tcc77x/boot.lds
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/tcc77x/boot.lds')
-rw-r--r--firmware/target/arm/tcc77x/boot.lds63
1 files changed, 0 insertions, 63 deletions
diff --git a/firmware/target/arm/tcc77x/boot.lds b/firmware/target/arm/tcc77x/boot.lds
deleted file mode 100644
index 6303de0c34..0000000000
--- a/firmware/target/arm/tcc77x/boot.lds
+++ /dev/null
@@ -1,63 +0,0 @@
1#include "config.h"
2
3ENTRY(start)
4OUTPUT_FORMAT(elf32-littlearm)
5OUTPUT_ARCH(arm)
6STARTUP(target/arm/tcc77x/crt0.o)
7
8#define DRAMSIZE (MEMORYSIZE * 0x100000)
9
10#define DRAMORIG 0x20000000
11#define IRAMORIG 0x00000000
12#define IRAMSIZE 64K
13
14
15MEMORY
16{
17#ifdef TCCBOOT
18 DRAM : ORIGIN = DRAMORIG + DRAMSIZE - 0x100000, LENGTH = 0x100000
19#else
20 DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE
21#endif
22 IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE
23}
24
25SECTIONS
26{
27 .text : {
28 *(.init.text)
29 *(.text)
30 *(.text*)
31 *(.glue_7)
32 *(.glue_7t)
33 } > DRAM
34
35 .data : {
36 *(.icode)
37 *(.irodata)
38 *(.idata)
39 *(.data*)
40 *(.rodata.*)
41 *(.rodata)
42 . = ALIGN(0x4);
43 _dataend = . ;
44 } > DRAM
45
46 .stack (NOLOAD) :
47 {
48 *(.stack)
49 _stackbegin = .;
50 stackbegin = .;
51 . += 0x2000;
52 _stackend = .;
53 stackend = .;
54 } > DRAM
55
56 .bss (NOLOAD) : {
57 _edata = .;
58 *(.bss*);
59 *(.ibss);
60 *(COMMON)
61 _end = .;
62 } > DRAM
63}