summaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authoreager <eager@138bc75d-0d04-0410-961f-82ee72b054a4>2013-01-26 16:53:45 +0000
committereager <eager@138bc75d-0d04-0410-961f-82ee72b054a4>2013-01-26 16:53:45 +0000
commitc48df545df47619048b3dac398a07142b76ab1a7 (patch)
tree03745bc1add38e30058c49a5752c179b53b4e9ce /libgcc
parent98f2ac05e3adaf283a55531a3e274e20aad6048d (diff)
downloadgcc-c48df545df47619048b3dac398a07142b76ab1a7.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195488 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog8
-rw-r--r--libgcc/config.host2
-rw-r--r--libgcc/config/microblaze/t-microblaze2
3 files changed, 11 insertions, 1 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 1f0651586a3..30775e03d51 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 ec25eb31257..94b3985c065 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 3a9c7ff23fe..96959f0292b 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 \