From 0c6385dccb0de291dc08832465cf9d6baa017c8a Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Mon, 16 Oct 2006 15:41:47 -0400 Subject: [PATCH] s390.c (s390_decompose_address): Allow symbol+offset into the GOT in case we need a subreg of the address. * config/s390/s390.c (s390_decompose_address): Allow symbol+offset into the GOT in case we need a subreg of the address. From-SVN: r117791 --- gcc/ChangeLog | 5 +++++ gcc/config/s390/s390.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c1803fbe2ff..0a6dcdad38c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-10-16 DJ Delorie + + * config/s390/s390.c (s390_decompose_address): Allow symbol+offset + into the GOT in case we need a subreg of the address. + 2006-10-16 Richard Guenther PR target/25519 diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index e55686dae07..d20569598da 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -1739,7 +1739,6 @@ s390_decompose_address (rtx addr, struct s390_address *out) if (GET_CODE (disp) == UNSPEC && (XINT (disp, 1) == UNSPEC_GOT || XINT (disp, 1) == UNSPEC_GOTNTPOFF) - && offset == 0 && flag_pic == 1) { ; -- 2.30.2