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/ChangeLog | |
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/ChangeLog')
-rw-r--r-- | gcc/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 02a309f..4e437f0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2016-11-16 Maciej W. Rozycki <macro@imgtec.com> + + * 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. + 2016-11-16 Thomas Preud'homme <thomas.preudhomme@arm.com> * config/arm/arm.md (arm_addsi3): Add alternative for addition of |