* config/rs6000/linux.h (TARGET_C99_FUNCTIONS): Define.
(OS_MISSING_POWERPC64): Move, and comment.
* config/rs6000/linux64.h (TARGET_C99_FUNCTIONS): Define.
(OS_MISSING_POWERPC64): Move, and comment.
From-SVN: r88440
+2004-10-03 Alan Modra <amodra@bigpond.net.au>
+
+ * config/rs6000/linux.h (TARGET_C99_FUNCTIONS): Define.
+ (OS_MISSING_POWERPC64): Move, and comment.
+ * config/rs6000/linux64.h (TARGET_C99_FUNCTIONS): Define.
+ (OS_MISSING_POWERPC64): Move, and comment.
+
2004-10-02 Ian Lance Taylor <ian@wasabisystems.com>
* arm.c (output_call_mem): Add missing \t.
#undef MD_EXEC_PREFIX
#undef MD_STARTFILE_PREFIX
+/* Linux doesn't support saving and restoring 64-bit regs in a 32-bit
+ process. */
+#define OS_MISSING_POWERPC64 1
+
+/* glibc has float and long double forms of math functions. */
+#undef TARGET_C99_FUNCTIONS
+#define TARGET_C99_FUNCTIONS 1
+
#undef TARGET_OS_CPP_BUILTINS
#define TARGET_OS_CPP_BUILTINS() \
do \
#define TARGET_HAS_F_SETLKW
#define MD_UNWIND_SUPPORT "config/rs6000/linux-unwind.h"
-
-#define OS_MISSING_POWERPC64 1
#undef MD_EXEC_PREFIX
#undef MD_STARTFILE_PREFIX
+/* Linux doesn't support saving and restoring 64-bit regs in a 32-bit
+ process. */
+#define OS_MISSING_POWERPC64 !TARGET_64BIT
+
+/* glibc has float and long double forms of math functions. */
+#undef TARGET_C99_FUNCTIONS
+#define TARGET_C99_FUNCTIONS 1
+
#undef TARGET_OS_CPP_BUILTINS
#define TARGET_OS_CPP_BUILTINS() \
do \
#endif
#define MD_UNWIND_SUPPORT "config/rs6000/linux-unwind.h"
-
-#define OS_MISSING_POWERPC64 !TARGET_64BIT