From 471d881979e0027737a435fd03efea493ea696f3 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sat, 17 Feb 2007 11:19:14 +0000 Subject: 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 --- tools/configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') 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" } -- cgit v1.2.3