aboutsummaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authorTom Tromey <tromey@cygnus.com>1999-09-27 21:16:40 +0000
committerTom Tromey <tromey@gcc.gnu.org>1999-09-27 21:16:40 +0000
commit8c14177ca8713954c353e8651c11b59e85cd0c61 (patch)
treea6d3e45c1b7aedebf1a2bb9108ce2002098e2c9b /libjava
parent9e28024a9b6761b4b19c41c1d263273132671d11 (diff)
downloadgcc-8c14177ca8713954c353e8651c11b59e85cd0c61.zip
gcc-8c14177ca8713954c353e8651c11b59e85cd0c61.tar.gz
gcc-8c14177ca8713954c353e8651c11b59e85cd0c61.tar.bz2
sparc-signal.h (SIGNAL_HANDLER): Third argument now a `void *'.
* include/sparc-signal.h (SIGNAL_HANDLER): Third argument now a `void *'. (MAKE_THROW_FRAME): Cast third argument back to `ucontext_t *'. From-SVN: r29682
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog4
-rw-r--r--libjava/include/sparc-signal.h3
2 files changed, 6 insertions, 1 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index f033126..f2392d6 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,5 +1,9 @@
1999-09-24 Tom Tromey <tromey@cygnus.com>
+ * include/sparc-signal.h (SIGNAL_HANDLER): Third argument now a
+ `void *'.
+ (MAKE_THROW_FRAME): Cast third argument back to `ucontext_t *'.
+
Fix for PR java.util/47:
* configure, include/config.h: Rebuilt.
* configure.in: Don't look for ctime or ctime_r.
diff --git a/libjava/include/sparc-signal.h b/libjava/include/sparc-signal.h
index b2464c4..e733da2 100644
--- a/libjava/include/sparc-signal.h
+++ b/libjava/include/sparc-signal.h
@@ -18,7 +18,7 @@ details. */
#define HANDLE_FPE 1
#define SIGNAL_HANDLER(_name) \
-static void _name (int _dummy, siginfo_t *_info, ucontext_t *_context)
+static void _name (int _dummy, siginfo_t *_info, void *arg)
#define FLUSH_REGISTER_WINDOWS \
asm volatile ("ta 3");
@@ -26,6 +26,7 @@ static void _name (int _dummy, siginfo_t *_info, ucontext_t *_context)
#define MAKE_THROW_FRAME \
do \
{ \
+ ucontext_t *_context = (ucontext_t *) arg; \
(void)_dummy; \
(void)_info; \
register int sp = _context->uc_mcontext.gregs[REG_SP]; \