From e74918f172aa49d42e2ab64e24ca7a5cd5ff4c44 Mon Sep 17 00:00:00 2001 From: lloyd Date: Tue, 26 Sep 2006 16:12:08 +0000 Subject: Use -momit-leaf-frame-pointer on x86 and x86-64 --- misc/config/cc/gcc | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'misc/config') diff --git a/misc/config/cc/gcc b/misc/config/cc/gcc index f3667b9e6..4108b0f0c 100644 --- a/misc/config/cc/gcc +++ b/misc/config/cc/gcc @@ -32,12 +32,9 @@ solaris -> "$(CXX) -shared -fPIC -Wl,-h,$(SONAME)" beos -> "ld -shared -h $(SONAME)" -# Using -momit-leaf-frame-pointer would be a huge win (on x86 anyway, why isn't -# it implemented elsewhere?), but it was added in 3.0 and the current mandate -# is to continue to support 2.95.x, so we don't use it (yet). # Specializations first (they don't need to be, just clearer) -i386 -> "-mcpu=i686" +i386 -> "-mcpu=i686 -momit-leaf-frame-pointer" r10000 -> "-mips4" alpha-ev67 -> "-mcpu=ev6" # FIXME: GCC 3.1 and on has -march=ev67 alpha-ev68 -> "-mcpu=ev6" @@ -49,9 +46,9 @@ sparc64-ultra3 -> "-mcpu=v9 -mtune=ultrasparc3" # Anything after the quotes is what should be *removed* from the submodel name # before it's put into SUBMODEL. alpha -> "-mcpu=SUBMODEL" alpha- -amd64 -> "" +amd64 -> "-momit-leaf-frame-pointer" arm -> "-mcpu=SUBMODEL" -ia32 -> "-march=SUBMODEL" +ia32 -> "-march=SUBMODEL -momit-leaf-frame-pointer" ia64 -> "-mtune=SUBMODEL" hppa -> "-march=SUBMODEL" hppa m68k -> "-mSUBMODEL" -- cgit v1.2.3