summaryrefslogtreecommitdiff
path: root/src/stm/altos.ld
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-03-23 01:42:32 -0700
committerKeith Packard <keithp@keithp.com>2012-03-28 21:37:04 -0700
commitc1531fb26461b9f4ec39672bbfaeb70e6f4d1056 (patch)
treed6ae89d6a1ae982f71346d3dce477d8ffcf527cf /src/stm/altos.ld
parentf2c110fb4531144f18f62200e4127738c84e87f1 (diff)
Use -Os for STM apps. Fix altos.ld to matchall .rodata* sections
Without .rodata*, it would stick the flash copy of the data on top of any further .rodata* sections. Fortunately, the linker catches that and complains... Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm/altos.ld')
-rw-r--r--src/stm/altos.ld4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stm/altos.ld b/src/stm/altos.ld
index 4e955666..7fede558 100644
--- a/src/stm/altos.ld
+++ b/src/stm/altos.ld
@@ -36,8 +36,8 @@ SECTIONS {
.text : {
*(.interrupt) /* Interrupt vectors */
- *(.text) /* Executable code */
- *(.rodata) /* Constants */
+ *(.text*) /* Executable code */
+ *(.rodata*) /* Constants */
} > rom
.ARM.exidx : {