This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r242512 - in /trunk/gcc: ChangeLog config/mips/...


Author: macro
Date: Wed Nov 16 21:05:01 2016
New Revision: 242512

URL: https://gcc.gnu.org/viewcvs?rev=242512&root=gcc&view=rev
Log:
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.

Added:
    trunk/gcc/testsuite/gcc.target/mips/call-1u.c
    trunk/gcc/testsuite/gcc.target/mips/call-2u.c
    trunk/gcc/testsuite/gcc.target/mips/call-3u.c
    trunk/gcc/testsuite/gcc.target/mips/call-4u.c
    trunk/gcc/testsuite/gcc.target/mips/call-5u.c
    trunk/gcc/testsuite/gcc.target/mips/call-6u.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/mips/mips.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/mips/call-1.c
    trunk/gcc/testsuite/gcc.target/mips/call-2.c
    trunk/gcc/testsuite/gcc.target/mips/call-3.c
    trunk/gcc/testsuite/gcc.target/mips/call-4.c
    trunk/gcc/testsuite/gcc.target/mips/call-5.c
    trunk/gcc/testsuite/gcc.target/mips/call-6.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]