diff options
author | Maciej W. Rozycki <macro@imgtec.com> | 2016-11-16 21:05:01 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@gcc.gnu.org> | 2016-11-16 21:05:01 +0000 |
commit | 8e2be5aefcc78b213c2f44e50cbec2c799f40f8b (patch) | |
tree | 08e0b5bf62873cee3510eb0f3d5cc057e25b7fd5 /gcc/tree-if-conv.c | |
parent | 3549e181bd89b7f8a978cae9f55679c4ccd9a010 (diff) | |
download | gcc-8e2be5aefcc78b213c2f44e50cbec2c799f40f8b.zip gcc-8e2be5aefcc78b213c2f44e50cbec2c799f40f8b.tar.gz gcc-8e2be5aefcc78b213c2f44e50cbec2c799f40f8b.tar.bz2 |
microMIPS/GCC: Fix PIC call relaxation
gcc/
* config/mips/mips.c (mips_output_jump): Output R_MICROMIPS_JALR
rather than R_MIPS_JALR relocation in microMIPS code. Do not
cancel short delay slots in PIC call relaxation.
gcc/testsuite/
* gcc.target/mips/call-1.c (dg-options): Add `-mno-micromips'.
(dg-final): Remove microMIPS JALRS mnemonic matching.
* gcc.target/mips/call-2.c (dg-options): Add `-mno-micromips'.
(dg-final): Remove microMIPS JALRS mnemonic matching.
* gcc.target/mips/call-3.c (dg-options): Add `-mno-micromips'.
(dg-final): Remove microMIPS JALRS mnemonic matching.
* gcc.target/mips/call-4.c (dg-options): Add `-mno-micromips'.
* gcc.target/mips/call-5.c (dg-options): Add `-mno-micromips'.
* gcc.target/mips/call-6.c (dg-options): Add `-mno-micromips'.
* gcc.target/mips/call-1u.c: New test case.
* gcc.target/mips/call-2u.c: New test case.
* gcc.target/mips/call-3u.c: New test case.
* gcc.target/mips/call-4u.c: New test case.
* gcc.target/mips/call-5u.c: New test case.
* gcc.target/mips/call-6u.c: New test case.
From-SVN: r242512
Diffstat (limited to 'gcc/tree-if-conv.c')
0 files changed, 0 insertions, 0 deletions