Rockbox mail archive
Subject: Odd size
From: Johan Vromans (jvromans_at_squirrel.nl)
Date: 2003-04-24
Since a while when I build rockbox it ends up with an odd sized
binary. Most likely theory is that GCC 3.2.1 produces better optimized
(and hence smaller) code.
I've been advised to insert a couple of align instructions in
linkage.lds and this does, indeed, seem to cure it.
Maybe these aligns can be permanently added to the source?
--- linkage.lds~ Thu Apr 24 22:10:27 2003
+++ linkage.lds Thu Apr 24 22:10:27 2003
@@ -20,6 +20,7 @@
.text :
{
*(.text)
+ . = ALIGN(0x4);
} > DRAM
.data :
@@ -31,6 +32,7 @@
{
*(.rodata)
*(.rodata.str1.4)
+ . = ALIGN(0x4);
} > DRAM
.stack :
-- Johan
Page was last modified "Jan 10 2012" The Rockbox Crew
|