summaryrefslogtreecommitdiff
path: root/firmware/test/i2c/app.lds
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/test/i2c/app.lds')
-rw-r--r--firmware/test/i2c/app.lds20
1 files changed, 16 insertions, 4 deletions
diff --git a/firmware/test/i2c/app.lds b/firmware/test/i2c/app.lds
index 4b7e5f4c6f..2aa374f8c1 100644
--- a/firmware/test/i2c/app.lds
+++ b/firmware/test/i2c/app.lds
@@ -2,22 +2,34 @@ ENTRY(start)
OUTPUT_FORMAT(elf32-sh)
SECTIONS
{
- .text 0x09018000 :
+ .text 0x09010000 :
+ {
+ *(.vectors)
+ . = ALIGN(0x200);
+ *(.init.text)
+ }
+
+ .text :
{
- *(.rodata)
*(.text)
}
.data :
{
+ *(.rodata)
*(.data)
}
+ .rodata :
+ {
+ *(.rodata)
+ }
+
.bss :
{
*(.bss)
- _end = . + 0x8000;
- _stack = . + 0x9000;
+ _end = .;
+ _stack = . + 0x1000;
_edata = .;
}
}