gcc: PR target/54663
authorDavid Holsgrove <david.holsgrove@xilinx.com>
Sat, 26 Jan 2013 16:53:45 +0000 (16:53 +0000)
committerMichael Eager <eager@gcc.gnu.org>
Sat, 26 Jan 2013 16:53:45 +0000 (16:53 +0000)
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

gcc/ChangeLog
gcc/config.gcc
libgcc/ChangeLog
libgcc/config.host
libgcc/config/microblaze/t-microblaze

index cffe46a4719412c0cde640299a9c153da43e473d..a49bfdda70077848c0f6472335b8cae1acb7b1e2 100644 (file)
@@ -1,3 +1,9 @@
+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
index 54f49b29d71d03f67c674c5337da6db8a43242a8..53a1e4b3274cdbf3af0968e1b0b701379f9b758c 100644 (file)
@@ -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"
index 1f0651586a3211720fa42fabb946c25ed986d332..30775e03d51215b2d131bccdac05729618e4e755 100644 (file)
@@ -1,3 +1,11 @@
+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
index ec25eb31257d4ce5fdb0eeb5eaae32bd0d51bcb0..94b3985c0653fbfaafd2241de437fef5c6cd9b4d 100644 (file)
@@ -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"
index 3a9c7ff23fe3159a68da952f0e5d44aaa9e64b54..96959f0292b0b87994f3e08339304387b4c9acc3 100644 (file)
@@ -1,3 +1,5 @@
+LIB2FUNCS_EXCLUDE += _divsi3 _modsi3 _moddi3 _mulsi3 _udivsi3 _umodsi3
+
 LIB2ADD += \
         $(srcdir)/config/microblaze/divsi3.S \
         $(srcdir)/config/microblaze/moddi3.S \