projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos/stm32f4-disco: Start hooking up stm32f413 USB for the disco board
[fw/altos]
/
src
/
stm
/
altos-loader.ld
diff --git
a/src/stm/altos-loader.ld
b/src/stm/altos-loader.ld
index a4a7dc43fe60c05381d2ff87b9ddd4e7628a0858..1ebbc7a2afcb15b30d2c24fe692547edec4e1073 100644
(file)
--- a/
src/stm/altos-loader.ld
+++ b/
src/stm/altos-loader.ld
@@
-65,17
+65,18
@@
SECTIONS {
*/
.textram BLOCK(8): {
*/
.textram BLOCK(8): {
- _
_data_
start__ = .;
+ _start__ = .;
__text_ram_start__ = .;
*(.ramtext)
__text_ram_end = .;
} >ram AT>rom
/* Data -- relocated to RAM, but written to ROM
__text_ram_start__ = .;
*(.ramtext)
__text_ram_end = .;
} >ram AT>rom
/* Data -- relocated to RAM, but written to ROM
+ * Also aligned to 8 bytes to agree with textram
*/
*/
- .data : {
+ .data
BLOCK(8)
: {
*(.data) /* initialized data */
*(.data) /* initialized data */
- _
_data_
end__ = .;
+ _end__ = .;
} >ram AT>rom
} >ram AT>rom