Commit 7d798969 by Ulrich Weigand Committed by Ulrich Weigand

gcc/ ChangeLog:

	* config/s390/s390.c (s390_emit_prologoue): Make sure backchain is
	set up before any trapping memory access if flag_non_call_exceptions.
libjava/ ChangeLog:
	* configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
	* configure: Regenerate.

From-SVN: r64995
parent 00dcfe80
2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
* config/s390/s390.c (s390_emit_prologoue): Make sure backchain is
set up before any trapping memory access if flag_non_call_exceptions.
2003-03-29 Alan Modra <amodra@bigpond.net.au>
* reload1.c (reload_as_needed): Allow a USE in asm reloads.
......
......@@ -5429,6 +5429,16 @@ s390_emit_prologue ()
set_mem_alias_set (addr, s390_sr_alias_set);
insn = emit_insn (gen_move_insn (addr, temp_reg));
}
/* If we support asynchronous exceptions (e.g. for Java),
we need to make sure the backchain pointer is set up
before any possibly trapping memory access. */
if (TARGET_BACKCHAIN && flag_non_call_exceptions)
{
addr = gen_rtx_MEM (BLKmode, gen_rtx_SCRATCH (VOIDmode));
emit_insn (gen_rtx_CLOBBER (VOIDmode, addr));
}
}
/* Save fprs 8 - 15 (64 bit ABI). */
......
2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
* configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
* configure: Regenerate.
2003-03-28 Michael Koch <konqueror@gmx.de>
* java/io/File.java:
......
......@@ -580,9 +580,6 @@ else
ia64-*-linux*)
# Has broken backtrace()
;;
s390*-*-linux*)
# Has broken backtrace()
;;
*)
AC_DEFINE(HAVE_BACKTRACE)
;;
......
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