File gcc41-no-unwind-tables.diff of Package gcc41
Index: gcc/Makefile.in
===================================================================
--- gcc/Makefile.in.orig 2009-11-20 13:41:44.000000000 +0100
+++ gcc/Makefile.in 2009-11-20 13:41:52.000000000 +0100
@@ -551,6 +551,7 @@ TARGET_LIBGCC2_CFLAGS =
CRTSTUFF_CFLAGS = -O2 $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) -g0 \
-finhibit-size-directive -fno-inline-functions -fno-exceptions \
-fno-zero-initialized-in-bss -fno-unit-at-a-time \
+ -fno-unwind-tables -fno-asynchronous-unwind-tables \
$(INHIBIT_LIBC_CFLAGS)
# Additional sources to handle exceptions; overridden by targets as needed.