2011-11-18 Steve Ellcey <sje@cup.hp.com>
authorsje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Nov 2011 22:26:44 +0000 (22:26 +0000)
committersje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Nov 2011 22:26:44 +0000 (22:26 +0000)
* Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181495 138bc75d-0d04-0410-961f-82ee72b054a4

libgcc/ChangeLog
libgcc/Makefile.in

index 86b482f..9a69320 100644 (file)
@@ -1,3 +1,7 @@
+2011-11-18  Steve Ellcey  <sje@cup.hp.com>
+
+       * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
+
 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
 
        PR target/49868
index 3a8509d..f0b5a0e 100644 (file)
@@ -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))))