diff options
author | Steve Ellcey <sje@cup.hp.com> | 2011-11-18 22:26:44 +0000 |
---|---|---|
committer | Steve Ellcey <sje@gcc.gnu.org> | 2011-11-18 22:26:44 +0000 |
commit | 93aeb62b9e061bc43f4d0d11afc3ec52883894e1 (patch) | |
tree | 3ef13afe8d637ad0e0e56c0280e00030d64411ec | |
parent | 2283c41652ec7e7721622d4b4057d93d57a464b8 (diff) | |
download | gcc-93aeb62b9e061bc43f4d0d11afc3ec52883894e1.zip gcc-93aeb62b9e061bc43f4d0d11afc3ec52883894e1.tar.gz gcc-93aeb62b9e061bc43f4d0d11afc3ec52883894e1.tar.bz2 |
Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
2011-11-18 Steve Ellcey <sje@cup.hp.com>
* Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
From-SVN: r181495
-rw-r--r-- | libgcc/ChangeLog | 4 | ||||
-rw-r--r-- | libgcc/Makefile.in | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 86b482f..9a69320 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 3a8509d..f0b5a0e 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)))) |