diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 86b482f9950..9a69320c8b1 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,7 @@ +2011-11-18 Steve Ellcey + + * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind. + 2011-11-18 Georg-Johann Lay PR target/49868 diff --git a/libgcc/Makefile.in b/libgcc/Makefile.in index 3a8509d118c..f0b5a0ecbd5 100644 --- a/libgcc/Makefile.in +++ b/libgcc/Makefile.in @@ -827,9 +827,10 @@ include $(iterator) endif -# Build LIBUNWIND. +# Build LIBUNWIND. Use -fno-exceptions so that the unwind library does +# not generate calls to __gcc_personality_v0. -c_flags := -fexceptions +c_flags := -fno-exceptions libunwind-objects += $(addsuffix $(objext),$(basename $(notdir $(LIBUNWIND))))