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
This commit is contained in:
Ulrich Weigand 2003-03-28 23:40:51 +00:00 committed by Ulrich Weigand
parent 00dcfe8086
commit 7d798969ff
5 changed files with 296 additions and 282 deletions

View File

@ -1,3 +1,8 @@
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> 2003-03-29 Alan Modra <amodra@bigpond.net.au>
* reload1.c (reload_as_needed): Allow a USE in asm reloads. * reload1.c (reload_as_needed): Allow a USE in asm reloads.

View File

@ -5429,6 +5429,16 @@ s390_emit_prologue ()
set_mem_alias_set (addr, s390_sr_alias_set); set_mem_alias_set (addr, s390_sr_alias_set);
insn = emit_insn (gen_move_insn (addr, temp_reg)); 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). */ /* Save fprs 8 - 15 (64 bit ABI). */

View File

@ -1,3 +1,8 @@
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> 2003-03-28 Michael Koch <konqueror@gmx.de>
* java/io/File.java: * java/io/File.java:

555
libjava/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -580,9 +580,6 @@ else
ia64-*-linux*) ia64-*-linux*)
# Has broken backtrace() # Has broken backtrace()
;; ;;
s390*-*-linux*)
# Has broken backtrace()
;;
*) *)
AC_DEFINE(HAVE_BACKTRACE) AC_DEFINE(HAVE_BACKTRACE)
;; ;;