diff options
author | DJ Delorie <dj@redhat.com> | 2006-10-16 15:41:47 -0400 |
---|---|---|
committer | DJ Delorie <dj@gcc.gnu.org> | 2006-10-16 15:41:47 -0400 |
commit | 0c6385dccb0de291dc08832465cf9d6baa017c8a (patch) | |
tree | 3f7d43a3676a8b15b251b1da9bba3354d3d26422 /gcc | |
parent | 499c96f56b64575eb6dbb7ae0d8b88aca7691e7f (diff) | |
download | gcc-0c6385dccb0de291dc08832465cf9d6baa017c8a.zip gcc-0c6385dccb0de291dc08832465cf9d6baa017c8a.tar.gz gcc-0c6385dccb0de291dc08832465cf9d6baa017c8a.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/s390/s390.c | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c1803fb..0a6dcda 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-10-16 DJ Delorie <dj@redhat.com> + + * 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 <rguenther@suse.de> PR target/25519 diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index e55686d..d205695 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) { ; |