summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/tcc780x
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/tcc780x')
-rw-r--r--firmware/target/arm/tcc780x/app.lds11
-rw-r--r--firmware/target/arm/tcc780x/boot.lds9
2 files changed, 8 insertions, 12 deletions
diff --git a/firmware/target/arm/tcc780x/app.lds b/firmware/target/arm/tcc780x/app.lds
index e84ea05de7..e56c7f5cb7 100644
--- a/firmware/target/arm/tcc780x/app.lds
+++ b/firmware/target/arm/tcc780x/app.lds
@@ -51,10 +51,7 @@ SECTIONS
.rodata :
{
- *(.rodata) /* problems without this, dunno why */
*(.rodata*)
- *(.rodata.str1.1)
- *(.rodata.str1.4)
. = ALIGN(0x4);
} > DRAM
@@ -97,9 +94,9 @@ SECTIONS
.iram :
{
_iramstart = .;
- *(.irodata)
- *(.idata)
- *(.icode)
+ *(.irodata*)
+ *(.idata*)
+ *(.icode*)
. = ALIGN(0x4);
_iramend = .;
} > SRAM AT> DRAM
@@ -109,7 +106,7 @@ SECTIONS
.ibss (NOLOAD) :
{
_iedata = .;
- *(.ibss)
+ *(.ibss*)
. = ALIGN(0x4);
_iend = .;
} > SRAM
diff --git a/firmware/target/arm/tcc780x/boot.lds b/firmware/target/arm/tcc780x/boot.lds
index 82b4619819..e54e09f91e 100644
--- a/firmware/target/arm/tcc780x/boot.lds
+++ b/firmware/target/arm/tcc780x/boot.lds
@@ -27,16 +27,15 @@ SECTIONS
{
.text : {
*(.init.text)
- *(.text)
*(.text*)
*(.glue_7)
*(.glue_7t)
} > DRAM
.data : {
- *(.icode)
- *(.irodata)
- *(.idata)
+ *(.icode*)
+ *(.irodata*)
+ *(.idata*)
*(.data*)
*(.rodata.*)
. = ALIGN(0x4);
@@ -55,7 +54,7 @@ SECTIONS
.bss (NOLOAD) : {
_edata = .;
*(.bss*);
- *(.ibss);
+ *(.ibss*);
*(COMMON)
_end = .;
} > DRAM