diff options
author | David Holsgrove <david.holsgrove@xilinx.com> | 2013-01-26 16:53:45 +0000 |
---|---|---|
committer | Michael Eager <eager@gcc.gnu.org> | 2013-01-26 16:53:45 +0000 |
commit | fbf0cf904e0e5ef881e272785bf8a7ef946aeab8 (patch) | |
tree | 03745bc1add38e30058c49a5752c179b53b4e9ce | |
parent | 6f14eef2c56a1be17ff06efa35fc384b2d964418 (diff) | |
download | gcc-fbf0cf904e0e5ef881e272785bf8a7ef946aeab8.zip gcc-fbf0cf904e0e5ef881e272785bf8a7ef946aeab8.tar.gz gcc-fbf0cf904e0e5ef881e272785bf8a7ef946aeab8.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config.gcc | 2 | ||||
-rw-r--r-- | libgcc/ChangeLog | 8 | ||||
-rw-r--r-- | libgcc/config.host | 2 | ||||
-rw-r--r-- | libgcc/config/microblaze/t-microblaze | 2 |
5 files changed, 19 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cffe46a..a49bfdd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config.gcc b/gcc/config.gcc index 54f49b2..53a1e4b 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -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" diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 1f06515..30775e0 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -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 diff --git a/libgcc/config.host b/libgcc/config.host index ec25eb3..94b3985 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -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" diff --git a/libgcc/config/microblaze/t-microblaze b/libgcc/config/microblaze/t-microblaze index 3a9c7ff..96959f0 100644 --- a/libgcc/config/microblaze/t-microblaze +++ b/libgcc/config/microblaze/t-microblaze @@ -1,3 +1,5 @@ +LIB2FUNCS_EXCLUDE += _divsi3 _modsi3 _moddi3 _mulsi3 _udivsi3 _umodsi3 + LIB2ADD += \ $(srcdir)/config/microblaze/divsi3.S \ $(srcdir)/config/microblaze/moddi3.S \ |