projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: fix ads124s0x data structure
[fw/altos]
/
src
/
stmf0
/
altos.ld
diff --git
a/src/stmf0/altos.ld
b/src/stmf0/altos.ld
index 8f8933c6cc452b3769f741cf2bc615500cff4bb3..64e1d00cf0ab5b1aadebebdd389914a1d8d63c5e 100644
(file)
--- a/
src/stmf0/altos.ld
+++ b/
src/stmf0/altos.ld
@@
-55,10
+55,16
@@
SECTIONS {
ao_product.o(.romconfig*)
*(.text*) /* Executable code */
ao_product.o(.romconfig*)
*(.text*) /* Executable code */
+ } > rom
+
+ .ARM.exidx : {
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
- *(.rodata*) /* Constants */
+ } > rom
+ .rodata : {
+ *(.rodata*) /* Constants */
} > rom
} > rom
+
__text_end__ = .;
/* Boot data which must live at the start of ram so that
__text_end__ = .;
/* Boot data which must live at the start of ram so that
@@
-75,10
+81,10
@@
SECTIONS {
/* Data -- relocated to RAM, but written to ROM
*/
.data : {
/* Data -- relocated to RAM, but written to ROM
*/
.data : {
- _
_data_
start__ = .;
+ _start__ = .;
*(.data) /* initialized data */
. = ALIGN(4);
*(.data) /* initialized data */
. = ALIGN(4);
- _
_data_
end__ = .;
+ _end__ = .;
} >ram AT>rom
.bss : {
} >ram AT>rom
.bss : {