summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-02-17 11:19:14 +0000
committerJens Arnold <amiconn@rockbox.org>2007-02-17 11:19:14 +0000
commit471d881979e0027737a435fd03efea493ea696f3 (patch)
tree60b312cb9b4ac4b97e40b9343cab503b825e8fbc /tools
parent5dd08e17e9b632f48234cef7c6e360c6666b51e0 (diff)
downloadrockbox-471d881979e0027737a435fd03efea493ea696f3.tar.gz
rockbox-471d881979e0027737a435fd03efea493ea696f3.tar.bz2
rockbox-471d881979e0027737a435fd03efea493ea696f3.zip
ARM targets: Making a few functions non-static allows us to get rid of -ffunction-sections, significantly decreasing binary size and making things run a bit faster because static functions are no longer long_call.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12349 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/configure b/tools/configure
index 799ac638f1..77884ef02c 100755
--- a/tools/configure
+++ b/tools/configure
@@ -229,7 +229,7 @@ arm7tdmicc () {
prefixtools arm-elf-
GCCOPTS="$CCOPTS -mcpu=arm7tdmi"
if test "X$1" != "Xshort"; then
- GCCOPTS="$GCCOPTS -ffunction-sections -mlong-calls"
+ GCCOPTS="$GCCOPTS -mlong-calls"
fi
GCCOPTIMIZE="-fomit-frame-pointer"
endian="little"
@@ -237,7 +237,7 @@ arm7tdmicc () {
arm9tdmicc () {
prefixtools arm-elf-
- GCCOPTS="$CCOPTS -mcpu=arm9tdmi -ffunction-sections -mlong-calls"
+ GCCOPTS="$CCOPTS -mcpu=arm9tdmi -mlong-calls"
GCCOPTIMIZE="-fomit-frame-pointer"
endian="little"
}