From 656ec3b11f71e6b4c8a7749be375ad2aba6fc19f Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Wed, 30 Jul 2003 17:38:14 +0000 Subject: [PATCH] s390.h (EH_RETURN_HANDLER_RTX): Compute offset symbolically. * config/s390/s390.h (EH_RETURN_HANDLER_RTX): Compute offset symbolically. From-SVN: r69965 --- gcc/ChangeLog | 5 +++++ gcc/config/s390/s390.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3f64081c405..1eecb790c43 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-07-30 Ulrich Weigand + + * config/s390/s390.h (EH_RETURN_HANDLER_RTX): Compute offset + symbolically. + Wed Jul 30 19:12:10 CEST 2003 Jan Hubicka * gcse.c (insert_store): Ignore fake edges. diff --git a/gcc/config/s390/s390.h b/gcc/config/s390/s390.h index 48b7c5632ec..73b2fc7edbe 100644 --- a/gcc/config/s390/s390.h +++ b/gcc/config/s390/s390.h @@ -600,7 +600,7 @@ extern int current_function_outgoing_args_size; #define EH_RETURN_DATA_REGNO(N) ((N) < 4 ? (N) + 6 : INVALID_REGNUM) #define EH_RETURN_HANDLER_RTX \ gen_rtx_MEM (Pmode, plus_constant (arg_pointer_rtx, \ - TARGET_64BIT? -48 : -40)) + -STACK_POINTER_OFFSET + UNITS_PER_WORD*RETURN_REGNUM)) /* Select a format to encode pointers in exception handling data. */ #define ASM_PREFERRED_EH_DATA_FORMAT(CODE, GLOBAL) \ -- 2.30.2