summaryrefslogtreecommitdiff
path: root/firmware/decompressor
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/decompressor')
-rw-r--r--firmware/decompressor/link.lds84
1 files changed, 42 insertions, 42 deletions
diff --git a/firmware/decompressor/link.lds b/firmware/decompressor/link.lds
index e6abbe2..a33993d 100644
--- a/firmware/decompressor/link.lds
+++ b/firmware/decompressor/link.lds
@@ -7,26 +7,26 @@ OUTPUT_FORMAT(elf32-sh)
MEMORY
{
- IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE
- DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE
+ IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE
+ DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE
}
SECTIONS
{
- .vectors :
- {
- _loadaddress = .;
- _dramend = . + DRAMSIZE;
- *(.vectors)
- . = ALIGN(0x200);
- } > DRAM
+ .vectors :
+ {
+ _loadaddress = .;
+ _dramend = . + DRAMSIZE;
+ *(.vectors)
+ . = ALIGN(0x200);
+ } > DRAM
- .text :
- {
- *(.start)
- *(.text)
- . = ALIGN(0x4);
- } > DRAM
+ .text :
+ {
+ *(.start)
+ *(.text)
+ . = ALIGN(0x4);
+ } > DRAM
.rodata :
{
@@ -36,36 +36,36 @@ SECTIONS
. = ALIGN(0x4);
} > DRAM
- .data :
- {
- *(.data)
- . = ALIGN(0x4);
- _iramcopy = .;
- } > DRAM
+ .data :
+ {
+ *(.data)
+ . = ALIGN(0x4);
+ _iramcopy = .;
+ } > DRAM
- .iram IRAMORIG : AT ( _iramcopy )
- {
- _iramstart = .;
- *(.icode)
- *(.idata)
- . = ALIGN(0x4);
- _iramend = .;
- } > IRAM
+ .iram IRAMORIG : AT ( _iramcopy )
+ {
+ _iramstart = .;
+ *(.icode)
+ *(.idata)
+ . = ALIGN(0x4);
+ _iramend = .;
+ } > IRAM
- .stack :
- {
- _stackbegin = .;
- *(.stack)
+ .stack :
+ {
+ _stackbegin = .;
+ *(.stack)
. += 0x0800;
- _stackend = .;
- } > IRAM
+ _stackend = .;
+ } > IRAM
- .bss :
- {
- _edata = .;
- *(.bss)
+ .bss :
+ {
+ _edata = .;
+ *(.bss)
*(COMMON)
- . = ALIGN(0x4);
- _end = .;
- } > DRAM
+ . = ALIGN(0x4);
+ _end = .;
+ } > DRAM
}