Commit 08b2f8e6 by Rainer Orth Committed by Rainer Orth

Support 64-bit libjava multilib for i?86-linux

	* configure.ac (i?86-*-linux*): Set SIGNAL_HANDLER_AUX.
	* configure: Regenerate.
	* include/i386-signal.h: Wrap in __i386__, include
	java-signal-aux.h otherwise.

From-SVN: r182528
parent 6b302f97
2011-12-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* configure.ac (i?86-*-linux*): Set SIGNAL_HANDLER_AUX.
* configure: Regenerate.
* include/i386-signal.h: Wrap in __i386__, include
java-signal-aux.h otherwise.
2011-12-12 Kai Tietz <ktietz@redhat.com>
PR libgcj/50053
......
......@@ -24225,6 +24225,7 @@ case "${host}" in
;;
i?86-*-linux*)
SIGNAL_HANDLER=include/i386-signal.h
SIGNAL_HANDLER_AUX=include/x86_64-signal.h
;;
# ia64-*)
# SYSDEP_SOURCES=sysdep/ia64.c
......
......@@ -1737,6 +1737,7 @@ case "${host}" in
;;
i?86-*-linux*)
SIGNAL_HANDLER=include/i386-signal.h
SIGNAL_HANDLER_AUX=include/x86_64-signal.h
;;
# ia64-*)
# SYSDEP_SOURCES=sysdep/ia64.c
......
// i386-signal.h - Catch runtime signals and turn them into exceptions
// on an i386 based Linux system.
/* Copyright (C) 1998, 1999, 2001, 2002, 2006, 2007 Free Software Foundation
/* Copyright (C) 1998, 1999, 2001, 2002, 2006, 2007, 2011
Free Software Foundation
This file is part of libgcj.
......@@ -10,6 +11,8 @@ Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
details. */
#ifdef __i386__
#ifndef JAVA_SIGNAL_H
#define JAVA_SIGNAL_H 1
......@@ -165,3 +168,11 @@ while (0)
#endif /* JAVA_SIGNAL_H */
#else /* __i386__ */
/* This is for the 64-bit subsystem on i386. */
#define sigcontext_struct sigcontext
#include <java-signal-aux.h>
#endif /* __i386__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment