summaryrefslogtreecommitdiff
path: root/firmware/decompressor/link.lds
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/decompressor/link.lds')
-rw-r--r--firmware/decompressor/link.lds71
1 files changed, 0 insertions, 71 deletions
diff --git a/firmware/decompressor/link.lds b/firmware/decompressor/link.lds
deleted file mode 100644
index 51c0460d42..0000000000
--- a/firmware/decompressor/link.lds
+++ /dev/null
@@ -1,71 +0,0 @@
1OUTPUT_FORMAT(elf32-sh)
2
3#define DRAMORIG 0x09000000
4#define DRAMSIZE (MEMORYSIZE * 0x00100000)
5#define IRAMORIG 0x0f000000
6#define IRAMSIZE 0x00001000
7
8MEMORY
9{
10 IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE
11 DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE
12}
13
14SECTIONS
15{
16 .vectors :
17 {
18 _loadaddress = .;
19 _dramend = . + DRAMSIZE;
20 KEEP(*(.vectors))
21 . = ALIGN(0x200);
22 } > DRAM
23
24 .text :
25 {
26 *(.start)
27 *(.text)
28 . = ALIGN(0x4);
29 } > DRAM
30
31 .rodata :
32 {
33 *(.rodata*)
34 *(.rodata.str1.1)
35 *(.rodata.str1.4)
36 . = ALIGN(0x4);
37 } > DRAM
38
39 .data :
40 {
41 *(.data)
42 . = ALIGN(0x4);
43 _iramcopy = .;
44 } > DRAM
45
46 .iram IRAMORIG : AT ( _iramcopy )
47 {
48 _iramstart = .;
49 *(.icode)
50 *(.idata)
51 . = ALIGN(0x4);
52 _iramend = .;
53 } > IRAM
54
55 .stack :
56 {
57 _stackbegin = .;
58 *(.stack)
59 . += 0x0800;
60 _stackend = .;
61 } > IRAM
62
63 .bss :
64 {
65 _edata = .;
66 *(.bss)
67 *(COMMON)
68 . = ALIGN(0x4);
69 _end = .;
70 } > DRAM
71}