diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/rom.lds | 6 |
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 | |||
84 | KEEP(*(.resetvectors)); | 84 | KEEP(*(.resetvectors)); |
85 | KEEP(*(.vectors)); | 85 | KEEP(*(.vectors)); |
86 | . = ALIGN(0x200); | 86 | . = ALIGN(0x200); |
87 | *(.data) | 87 | *(.data*) |
88 | . = ALIGN(0x4); | 88 | . = ALIGN(0x4); |
89 | _dataend = .; | 89 | _dataend = .; |
90 | . = ALIGN(0x10); /* Maintain proper alignment for .text section */ | 90 | . = ALIGN(0x10); /* Maintain proper alignment for .text section */ |
@@ -101,13 +101,13 @@ SECTIONS | |||
101 | .text LOADADDR(.data) + SIZEOF(.data) : | 101 | .text LOADADDR(.data) + SIZEOF(.data) : |
102 | { | 102 | { |
103 | *(.init.text) | 103 | *(.init.text) |
104 | *(.text) | 104 | *(.text*) |
105 | . = ALIGN(0x4); | 105 | . = ALIGN(0x4); |
106 | } > FLASH | 106 | } > FLASH |
107 | 107 | ||
108 | .rodata : | 108 | .rodata : |
109 | { | 109 | { |
110 | *(.rodata) | 110 | *(.rodata*) |
111 | *(.rodata.str1.1) | 111 | *(.rodata.str1.1) |
112 | *(.rodata.str1.4) | 112 | *(.rodata.str1.4) |
113 | . = ALIGN(0x4); | 113 | . = ALIGN(0x4); |