S/390: Allow to use r2 to r4 as literal pool base.
authorDominik Vogt <vogt@linux.vnet.ibm.com>
Fri, 18 Dec 2015 10:36:57 +0000 (10:36 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Fri, 18 Dec 2015 10:36:57 +0000 (10:36 +0000)
commit10148d74d8138f12423160893b4100cf7b034896
treef9246c707651d4529df1ccb2af4d1096d8e797fc
parent5c846df71f33216fa8b5ccf21e88ee64b58b678a
S/390: Allow to use r2 to r4 as literal pool base.

gcc/ChangeLog

* config/s390/s390.c (s390_init_frame_layout): Try r4 to r2 for the
literal pool pointer.

gcc/testsuite/ChangeLog

* gcc.target/s390/litpool-r3-1.c: New test.

From-SVN: r231813
gcc/ChangeLog
gcc/config/s390/s390.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/s390/litpool-r3-1.c [new file with mode: 0644]