From: DJ Delorie Date: Mon, 16 Oct 2006 19:41:47 +0000 (-0400) Subject: s390.c (s390_decompose_address): Allow symbol+offset into the GOT in case we need... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0c6385dccb0de291dc08832465cf9d6baa017c8a;p=gcc.git 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 --- 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) { ;