aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2005-05-19 06:47:50 +0000
committerJan Beulich <jbeulich@gcc.gnu.org>2005-05-19 06:47:50 +0000
commit7a774cac8861957f4adfe4084e8ab4ee863f15d4 (patch)
tree1ae6c75af7fbcd5a7e8556b45df275fcac2022cb
parentd2751e9ed5e31a902b308114082fe4a53e808564 (diff)
downloadgcc-7a774cac8861957f4adfe4084e8ab4ee863f15d4.zip
gcc-7a774cac8861957f4adfe4084e8ab4ee863f15d4.tar.gz
gcc-7a774cac8861957f4adfe4084e8ab4ee863f15d4.tar.bz2
unwind-compat.c: Include tconfig.h and tsystem.h.
gcc/ 2005-05-19 Jan Beulich <jbeulich@novell.com> * unwind-compat.c: Include tconfig.h and tsystem.h. * unwind-dw2-fde-compat.c: Likewise. libstdc++-v3/ 2005-05-19 Jan Beulich <jbeulich@novell.com> * libsupc++/unwind-cxx.h: Include cstdlib. (gcc_unreachable): #define. * libsupc++/eh_personality.cc (gcc_unreachable): Remove #define. From-SVN: r99952
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/unwind-compat.c2
-rw-r--r--gcc/unwind-dw2-fde-compat.c2
-rw-r--r--libstdc++-v3/ChangeLog6
-rw-r--r--libstdc++-v3/libsupc++/eh_personality.cc1
-rw-r--r--libstdc++-v3/libsupc++/unwind-cxx.h2
6 files changed, 17 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 10657a4..4722b92 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2005-05-19 Jan Beulich <jbeulich@novell.com>
+
+ * unwind-compat.c: Include tconfig.h and tsystem.h.
+ * unwind-dw2-fde-compat.c: Likewise.
+
2005-05-18 Richard Henderson <rth@redhat.com>
PR 21541
diff --git a/gcc/unwind-compat.c b/gcc/unwind-compat.c
index 26f45ac..3e8c302 100644
--- a/gcc/unwind-compat.c
+++ b/gcc/unwind-compat.c
@@ -29,6 +29,8 @@
02111-1307, USA. */
#if defined (USE_GAS_SYMVER) && defined (USE_LIBUNWIND_EXCEPTIONS)
+#include "tconfig.h"
+#include "tsystem.h"
#include "unwind.h"
#include "unwind-dw2-fde.h"
#include "unwind-compat.h"
diff --git a/gcc/unwind-dw2-fde-compat.c b/gcc/unwind-dw2-fde-compat.c
index 5e8c0a3..b5fd3ce 100644
--- a/gcc/unwind-dw2-fde-compat.c
+++ b/gcc/unwind-dw2-fde-compat.c
@@ -29,6 +29,8 @@
02111-1307, USA. */
#if defined (USE_GAS_SYMVER) && defined (USE_LIBUNWIND_EXCEPTIONS)
+#include "tconfig.h"
+#include "tsystem.h"
#include "unwind.h"
#include "unwind-dw2-fde.h"
#include "unwind-compat.h"
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 50db6bb..08ff5ca 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,9 @@
+2005-05-19 Jan Beulich <jbeulich@novell.com>
+
+ * libsupc++/unwind-cxx.h: Include cstdlib.
+ (gcc_unreachable): #define.
+ * libsupc++/eh_personality.cc (gcc_unreachable): Remove #define.
+
2005-05-18 Paolo Carlini <pcarlini@suse.de>
Nathan Myers <ncm@cantrip.org>
diff --git a/libstdc++-v3/libsupc++/eh_personality.cc b/libstdc++-v3/libsupc++/eh_personality.cc
index ae8756b0..4d5ae57 100644
--- a/libstdc++-v3/libsupc++/eh_personality.cc
+++ b/libstdc++-v3/libsupc++/eh_personality.cc
@@ -35,7 +35,6 @@
using namespace __cxxabiv1;
-#define gcc_unreachable() std::abort()
#include "unwind-pe.h"
diff --git a/libstdc++-v3/libsupc++/unwind-cxx.h b/libstdc++-v3/libsupc++/unwind-cxx.h
index e79dd83..4fa4b41 100644
--- a/libstdc++-v3/libsupc++/unwind-cxx.h
+++ b/libstdc++-v3/libsupc++/unwind-cxx.h
@@ -38,6 +38,8 @@
#include <typeinfo>
#include <exception>
#include <cstddef>
+#include <cstdlib>
+#define gcc_unreachable() std::abort()
#include "unwind.h"
#pragma GCC visibility push(default)