summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--firmware/rom.lds6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/rom.lds b/firmware/rom.lds
index dadd2ab4eb..e63ba7850f 100644
--- a/firmware/rom.lds
+++ b/firmware/rom.lds
@@ -84,7 +84,7 @@ SECTIONS
KEEP(*(.resetvectors));
KEEP(*(.vectors));
. = ALIGN(0x200);
- *(.data)
+ *(.data*)
. = ALIGN(0x4);
_dataend = .;
. = ALIGN(0x10); /* Maintain proper alignment for .text section */
@@ -101,13 +101,13 @@ SECTIONS
.text LOADADDR(.data) + SIZEOF(.data) :
{
*(.init.text)
- *(.text)
+ *(.text*)
. = ALIGN(0x4);
} > FLASH
.rodata :
{
- *(.rodata)
+ *(.rodata*)
*(.rodata.str1.1)
*(.rodata.str1.4)
. = ALIGN(0x4);