aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/raise-gcc.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2011-08-30 16:35:54 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2011-08-30 16:35:54 +0000
commitf2991b48202740f19566099850048e8718da03b1 (patch)
tree387af934db628c3ee3e1116abae25c0808282141 /gcc/ada/raise-gcc.c
parent10a22f4330b9f0e5be5f36690617d6094024c290 (diff)
downloadgcc-f2991b48202740f19566099850048e8718da03b1.zip
gcc-f2991b48202740f19566099850048e8718da03b1.tar.gz
gcc-f2991b48202740f19566099850048e8718da03b1.tar.bz2
raise-gcc.c: Do not include coretypes.h and tm.h.
* raise-gcc.c: Do not include coretypes.h and tm.h. (setup_to_install): Remove test for compiler macro. * targext.c: Document use for the library. * gcc-interface/Makefile.in: Fix comment on the use of IN_GCC. From-SVN: r178333
Diffstat (limited to 'gcc/ada/raise-gcc.c')
-rw-r--r--gcc/ada/raise-gcc.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/gcc/ada/raise-gcc.c b/gcc/ada/raise-gcc.c
index 729b76c..0ced559 100644
--- a/gcc/ada/raise-gcc.c
+++ b/gcc/ada/raise-gcc.c
@@ -35,14 +35,6 @@
#ifdef IN_RTS
#include "tconfig.h"
#include "tsystem.h"
-/* In the top-of-tree GCC, tconfig does not include tm.h, but in GCC 3.2
- it does. To avoid branching raise.c just for that purpose, we kludge by
- looking for a symbol always defined by tm.h and if it's not defined,
- we include it. */
-#ifndef FIRST_PSEUDO_REGISTER
-#include "coretypes.h"
-#include "tm.h"
-#endif
#include <sys/stat.h>
#include <stdarg.h>
typedef char bool;
@@ -1007,11 +999,6 @@ setup_to_install (_Unwind_Context *uw_context,
_Unwind_Ptr uw_landing_pad,
int uw_filter)
{
-#ifndef EH_RETURN_DATA_REGNO
- /* We should not be called if the appropriate underlying support is not
- there. */
- abort ();
-#else
/* 1/ exception object pointer, which might be provided back to
_Unwind_Resume (and thus to this personality routine) if we are jumping
to a cleanup. */
@@ -1026,7 +1013,6 @@ setup_to_install (_Unwind_Context *uw_context,
/* Setup the address we should jump at to reach the code where there is the
"something" we found. */
_Unwind_SetIP (uw_context, uw_landing_pad);
-#endif
}
/* The following is defined from a-except.adb. Its purpose is to enable