summaryrefslogtreecommitdiff
path: root/gcc/config/spu/t-spu-elf
diff options
context:
space:
mode:
authoruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2008-08-12 13:22:27 +0000
committeruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2008-08-12 13:22:27 +0000
commited4bf5c95710de5c4c20bd91f2d5dc3e2a777460 (patch)
treea63229f3d0203e709f678594f6a7e48b9d08425c /gcc/config/spu/t-spu-elf
parente2eb2b7f42c984114a733ebf5b9b4fd48c77f52c (diff)
downloadgcc-ed4bf5c95710de5c4c20bd91f2d5dc3e2a777460.tar.gz
* config/spu/float_disf.c: New file.
* config/spu/float_unsdisf.c: New file. * config/spu/t-elf (LIB2FUNCS_STATIC_EXTRA): Add them. (LIB2FUNCS_EXCLUDE): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139015 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/spu/t-spu-elf')
-rw-r--r--gcc/config/spu/t-spu-elf7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/config/spu/t-spu-elf b/gcc/config/spu/t-spu-elf
index 0a3947d9017..017f09d1fb6 100644
--- a/gcc/config/spu/t-spu-elf
+++ b/gcc/config/spu/t-spu-elf
@@ -21,8 +21,15 @@ CROSS_LIBGCC1 =
TARGET_LIBGCC2_CFLAGS = -fPIC -mwarn-reloc -D__IN_LIBGCC2
+# We exclude those because the libgcc2.c default versions do not support
+# the SPU single-precision format (round towards zero). We provide our
+# own versions below.
+LIB2FUNCS_EXCLUDE = _floatdisf _floatundisf
+
LIB2FUNCS_STATIC_EXTRA = $(srcdir)/config/spu/float_unssidf.c \
$(srcdir)/config/spu/float_unsdidf.c \
+ $(srcdir)/config/spu/float_unsdisf.c \
+ $(srcdir)/config/spu/float_disf.c \
$(srcdir)/config/spu/mfc_tag_table.c \
$(srcdir)/config/spu/mfc_tag_reserve.c \
$(srcdir)/config/spu/mfc_tag_release.c \