mips.h (CRT_CALL_STATIC_FUNCTION): Fix the macro to use la/jalr instead of jal.
authorPetar Jovanovic <petar.jovanovic@rt-rk.com>
Wed, 29 Apr 2015 20:28:52 +0000 (20:28 +0000)
committerCatherine Moore <clm@gcc.gnu.org>
Wed, 29 Apr 2015 20:28:52 +0000 (16:28 -0400)
commit8d92d2743c400d2b0bf14954e14bc343e1953168
treea41bdb0346a871eff002147ce7843828b3e88e17
parent3c908a5b5c5bf5693dd2c5a3f1858867d1b96034
mips.h (CRT_CALL_STATIC_FUNCTION): Fix the macro to use la/jalr instead of jal.

gcc/ChangeLog:

2015-04-21  Petar Jovanovic  <petar.jovanovic@rt-rk.com>

* config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Fix the macro to use
la/jalr instead of jal.

gcc/testsuite/ChangeLog:

2015-04-21  Petar Jovanovic  <petar.jovanovic@rt-rk.com>

* gcc.target/mips/call-from-init.c: New test.
* gcc.target/mips/mips.exp: Add section_start to mips_option_groups.

From-SVN: r222589
gcc/ChangeLog
gcc/config/mips/mips.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/mips/call-from-init.c [new file with mode: 0644]
gcc/testsuite/gcc.target/mips/mips.exp