diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-04-11 16:56:20 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-04-11 16:56:50 -0400 |
commit | 71347f8f430e28b5e5ed565bc5c5f5142c2314e0 (patch) | |
tree | e5eb0377dcad27bb26155266c0ea7047f8cab671 /libmaple/fsmc.c | |
parent | 33c40cbbf0ea025b7e0bf39a4703cf239cc09e08 (diff) | |
download | librambutan-71347f8f430e28b5e5ed565bc5c5f5142c2314e0.tar.gz librambutan-71347f8f430e28b5e5ed565bc5c5f5142c2314e0.zip |
Fix linking and C runtime initialization on F1.
Reorder the .data and .rodata sections in common.inc. This seems
necessary to get the linker to place the data ROM disk and the pointer
to it in the right places.
Switch from long long to int in start_c.c. I have no idea why this
helps, but it does. F1 will crash if you don't do this. It will
probably slow things down unnecessarily on F2, but I don't care.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'libmaple/fsmc.c')
0 files changed, 0 insertions, 0 deletions