Commit 227a39fa by Ulrich Weigand Committed by Ulrich Weigand

s390.c (s390_short_displacement): UNSPEC_GOTNTPOFF displacements are not short.

	* config/s390/s390.c (s390_short_displacement): UNSPEC_GOTNTPOFF
	displacements are not short.

From-SVN: r91303
parent 6aea2f6d
2004-11-25 Ulrich Weigand <uweigand@de.ibm.com>
* config/s390/s390.c (s390_short_displacement): UNSPEC_GOTNTPOFF
displacements are not short.
2004-11-25 Ulrich Weigand <uweigand@de.ibm.com>
* config/s390/s390.c (legitimize_pic_address): Use s390_load_address
to load addresses.
......
......@@ -1565,7 +1565,8 @@ s390_short_displacement (rtx disp)
/* GOT offset is not OK, the GOT can be large. */
if (GET_CODE (disp) == CONST
&& GET_CODE (XEXP (disp, 0)) == UNSPEC
&& XINT (XEXP (disp, 0), 1) == UNSPEC_GOT)
&& (XINT (XEXP (disp, 0), 1) == UNSPEC_GOT
|| XINT (XEXP (disp, 0), 1) == UNSPEC_GOTNTPOFF))
return 0;
/* All other symbolic constants are literal pool references,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment