Commit fbf0cf90 by David Holsgrove Committed by Michael Eager

gcc: PR target/54663

gcc:  PR target/54663
	* config.gcc (microblaze*-linux*): Add tmake_file to allow building
	of microblaze-c.o.
libgcc:
	* config.host(microblaze*-linux*): tmake_file: Remove 
	t-slibgcc-nolc-override, add t-slibgcc-libgcc.
	* config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
	to exclude functions from being built with libgcc.c and use
	the microblaze assembly.

From-SVN: r195488
parent 6f14eef2
2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
PR target/54663
* config.gcc (microblaze*-linux*): Add tmake_file to allow building
of microblaze-c.o
2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
* config.gcc (microblaze*-*-*): Rename microblaze*-*-elf, update
......
......@@ -1728,8 +1728,10 @@ mep-*-*)
;;
microblaze*-linux*)
tm_file="${tm_file} dbxelf.h gnu-user.h linux.h microblaze/linux.h"
tm_file="${tm_file} glibc-stdint.h"
c_target_objs="${c_target_objs} microblaze-c.o"
cxx_target_objs="${cxx_target_objs} microblaze-c.o"
tmake_file="${tmake_file} microblaze/t-microblaze"
;;
microblaze*-*-rtems*)
tm_file="${tm_file} dbxelf.h"
......
2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
* config.host(microblaze*-linux*): tmake_file: Remove
t-slibgcc-nolc-override, add t-slibgcc-libgcc.
* config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
to exclude functions from being built with libgcc.c and use
the microblaze assembly.
2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
* config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
......
......@@ -713,7 +713,7 @@ mcore-*-elf)
extra_parts="$extra_parts crti.o crtn.o"
;;
microblaze*-linux*)
tmake_file="$tmake_file t-slibgcc-nolc-override microblaze/t-microblaze t-fdpbit"
tmake_file="${tmake_file} microblaze/t-microblaze t-fdpbit t-slibgcc-libgcc"
;;
microblaze*-*-elf)
tmake_file="${tmake_file} microblaze/t-microblaze t-fdpbit"
......
LIB2FUNCS_EXCLUDE += _divsi3 _modsi3 _moddi3 _mulsi3 _udivsi3 _umodsi3
LIB2ADD += \
$(srcdir)/config/microblaze/divsi3.S \
$(srcdir)/config/microblaze/moddi3.S \
......
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