Commit 727cbedf by Joel Sherrill Committed by Sebastian Huber

[Microblaze] Redefine LINK_SPEC for RTEMS

gcc/

	* config/microblaze/rtems.h: Redefine LINK_SPEC to avoid
	xilink.ld and flags not relevant to RTEMS.

From-SVN: r235465
parent f702d110
2016-04-27 Joel Sherrill <joel@rtems.org>
* config/microblaze/rtems.h: Redefine LINK_SPEC to avoid
xilink.ld and flags not relevant to RTEMS.
2016-04-26 Zhouyi Zhou <yizhouzhou@ict.ac.cn>
* toplev.c (backend_init_target): Avoid calling init_reload when using
......
......@@ -23,3 +23,10 @@ along with GCC; see the file COPYING3. If not see
builtin_define( "__rtems__" ); \
builtin_assert( "system=rtems" ); \
} while (0)
/* Redefine to include only items relevant for RTEMS */
#undef LINK_SPEC
#define LINK_SPEC "%{shared:-shared} -N -relax \
%{mbig-endian:-EB --oformat=elf32-microblaze} \
%{mlittle-endian:-EL --oformat=elf32-microblazeel} \
%{mxl-gp-opt:%{G*}} %{!mxl-gp-opt: -G 0}"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment