This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, committed] sh-linux: Define TARGET_C99_FUNCTIONS


Hi,

I've checked the appended patch in to fix some test failures for
the builtin functions on sh-linux.  It's an sh-linux specific bug
fix and never affects other targets.  Tested with bootstrap and
make -k check on sh4-unknown-linux-gnu with no regressions.

Although sh-linux should use the general config/linux.h, I think
this one-liner is more appropriate in stage3.

Regards,
	kaz
--
2005-01-18  Kaz Kojima  <kkojima@gcc.gnu.org>

	* config/sh/linux.h (TARGET_C99_FUNCTIONS): Define.

diff -uprN ORIG/gcc/gcc/config/sh/linux.h LOCAL/gcc/gcc/config/sh/linux.h
--- ORIG/gcc/gcc/config/sh/linux.h	2004-09-20 09:26:42.000000000 +0900
+++ LOCAL/gcc/gcc/config/sh/linux.h	2005-01-18 11:47:09.000000000 +0900
@@ -1,5 +1,6 @@
 /* Definitions for SH running Linux-based GNU systems using ELF
-   Copyright (C) 1999, 2000, 2002, 2003, 2004 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2000, 2002, 2003, 2004, 2005
+   Free Software Foundation, Inc.
    Contributed by Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
 
 This file is part of GCC.
@@ -110,6 +111,10 @@ do { \
 #define USE_LD_AS_NEEDED 1
 #endif
 
+/* Determine whether the the entire c99 runtime
+   is present in the runtime library.  */
+#define TARGET_C99_FUNCTIONS 1
+
 /* Output assembler code to STREAM to call the profiler.  */
 
 #undef FUNCTION_PROFILER


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]