aboutsummaryrefslogtreecommitdiff
path: root/libjava/include/pa-signal.h
diff options
context:
space:
mode:
authorAndrew Haley <aph@redhat.com>2016-09-30 16:24:48 +0000
committerAndrew Haley <aph@gcc.gnu.org>2016-09-30 16:24:48 +0000
commit07b78716af6a9d7c9fd1e94d9baf94a52c873947 (patch)
tree3f22b3241c513ad168c8353805614ae1249410f4 /libjava/include/pa-signal.h
parenteae993948bae8b788c53772bcb9217c063716f93 (diff)
downloadgcc-07b78716af6a9d7c9fd1e94d9baf94a52c873947.zip
gcc-07b78716af6a9d7c9fd1e94d9baf94a52c873947.tar.gz
gcc-07b78716af6a9d7c9fd1e94d9baf94a52c873947.tar.bz2
Makefile.def: Remove libjava.
2016-09-30 Andrew Haley <aph@redhat.com> * Makefile.def: Remove libjava. * Makefile.tpl: Likewise. * Makefile.in: Regenerate. * configure.ac: Likewise. * configure: Likewise. * gcc/java: Remove. * libjava: Likewise. From-SVN: r240662
Diffstat (limited to 'libjava/include/pa-signal.h')
-rw-r--r--libjava/include/pa-signal.h49
1 files changed, 0 insertions, 49 deletions
diff --git a/libjava/include/pa-signal.h b/libjava/include/pa-signal.h
deleted file mode 100644
index add1325..0000000
--- a/libjava/include/pa-signal.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// pa-signal.h - Catch runtime signals and turn them into exceptions.
-
-/* Copyright (C) 1998, 1999, 2000, 2009 Free Software Foundation
-
- This file is part of libgcj.
-
-This software is copyrighted work licensed under the terms of the
-Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
-details. */
-
-#ifndef JAVA_SIGNAL_H
-#define JAVA_SIGNAL_H 1
-
-#include <signal.h>
-#include <sys/syscall.h>
-
-#define HANDLE_SEGV 1
-#define HANDLE_FPE 1
-
-#define SIGNAL_HANDLER(_name) \
-static void _Jv_##_name (int _dummy __attribute__ ((unused)), \
- siginfo_t *_info __attribute__ ((__unused__)), \
- void *arg __attribute__ ((__unused__)))
-
-#define MAKE_THROW_FRAME(_exception)
-
-#define INIT_SEGV \
-do \
- { \
- struct sigaction act; \
- act.sa_sigaction = _Jv_catch_segv; \
- sigemptyset (&act.sa_mask); \
- act.sa_flags = SA_SIGINFO; \
- syscall (SYS_rt_sigaction, SIGSEGV, &act, NULL, _NSIG / 8); \
- } \
-while (0)
-
-#define INIT_FPE \
-do \
- { \
- struct sigaction act; \
- act.sa_sigaction = _Jv_catch_fpe; \
- sigemptyset (&act.sa_mask); \
- act.sa_flags = SA_SIGINFO; \
- syscall (SYS_rt_sigaction, SIGFPE, &act, NULL, _NSIG / 8); \
- } \
-while (0)
-
-#endif /* JAVA_SIGNAL_H */