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
This commit is contained in:
DJ Delorie 2006-10-16 15:41:47 -04:00 committed by DJ Delorie
parent 499c96f56b
commit 0c6385dccb
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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)
{
;