OSDN Git Service

Update Copyright years for files modified in 2008 and/or 2009.
[pf3gnuchains/gcc-fork.git] / gcc / config / spu / t-spu-elf
index 43fdd8f..2e19287 100644 (file)
@@ -1,4 +1,4 @@
-#  Copyright (C) 2006, 2007 Free Software Foundation, Inc.
+#  Copyright (C) 2006, 2007, 2008 Free Software Foundation, Inc.
 #
 #  This file is free software; you can redistribute it and/or modify it under
 #  the terms of the GNU General Public License as published by the Free
 #  along with GCC; see the file COPYING3.  If not see
 #  <http://www.gnu.org/licenses/>.
 
+# Define system directory to match STANDARD_INCLUDE_DIR in spu-elf.h,
+# allowing combined SPU/PPU sysroot builds.
+NATIVE_SYSTEM_HEADER_DIR = /include
 
 # Suppress building libgcc1.a
 LIBGCC1 =
 CROSS_LIBGCC1 =
 
-# On SPU __word__ is TImode which is too inefficient and incomplete for
-# implementing libgcc routines.
-TARGET_LIBGCC2_CFLAGS = -fPIC -D__word__=SI -mwarn-reloc
+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_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 \
+                        $(srcdir)/config/spu/mfc_multi_tag_reserve.c \
+                        $(srcdir)/config/spu/mfc_multi_tag_release.c \
+                        $(srcdir)/config/spu/multi3.c \
+                        $(srcdir)/config/spu/divmodti4.c
 
 LIB2ADDEH = $(srcdir)/unwind-dw2.c $(srcdir)/unwind-dw2-fde.c \
    $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c