summaryrefslogtreecommitdiff
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.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 () {
229 prefixtools arm-elf- 229 prefixtools arm-elf-
230 GCCOPTS="$CCOPTS -mcpu=arm7tdmi" 230 GCCOPTS="$CCOPTS -mcpu=arm7tdmi"
231 if test "X$1" != "Xshort"; then 231 if test "X$1" != "Xshort"; then
232 GCCOPTS="$GCCOPTS -ffunction-sections -mlong-calls" 232 GCCOPTS="$GCCOPTS -mlong-calls"
233 fi 233 fi
234 GCCOPTIMIZE="-fomit-frame-pointer" 234 GCCOPTIMIZE="-fomit-frame-pointer"
235 endian="little" 235 endian="little"
@@ -237,7 +237,7 @@ arm7tdmicc () {
237 237
238arm9tdmicc () { 238arm9tdmicc () {
239 prefixtools arm-elf- 239 prefixtools arm-elf-
240 GCCOPTS="$CCOPTS -mcpu=arm9tdmi -ffunction-sections -mlong-calls" 240 GCCOPTS="$CCOPTS -mcpu=arm9tdmi -mlong-calls"
241 GCCOPTIMIZE="-fomit-frame-pointer" 241 GCCOPTIMIZE="-fomit-frame-pointer"
242 endian="little" 242 endian="little"
243} 243}