summaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorsje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>2011-11-18 22:26:44 +0000
committersje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>2011-11-18 22:26:44 +0000
commit31da0b3dc2c8f10801df97315438764ea8836637 (patch)
tree3ef13afe8d637ad0e0e56c0280e00030d64411ec /libgcc
parent7a5dfde8be63397f62bfc82cd73ebfea861b4cd6 (diff)
downloadgcc-31da0b3dc2c8f10801df97315438764ea8836637.tar.gz
2011-11-18 Steve Ellcey <sje@cup.hp.com>
* 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
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog4
-rw-r--r--libgcc/Makefile.in5
2 files changed, 7 insertions, 2 deletions
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 <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
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))))