linux.h (TARGET_C99_FUNCTIONS): Define.
authorAlan Modra <amodra@bigpond.net.au>
Sun, 3 Oct 2004 03:31:38 +0000 (03:31 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Sun, 3 Oct 2004 03:31:38 +0000 (13:01 +0930)
* 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

gcc/ChangeLog
gcc/config/rs6000/linux.h
gcc/config/rs6000/linux64.h

index c18b3a9627254fa0a37a55df4d3e64cc77990e3c..9c081a91a5f2ff5e3a9d88c4a2a204338c8010e8 100644 (file)
@@ -1,3 +1,10 @@
+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.
index 0f4d046e0496f55f2ac2c51fd4d75cbab92502f0..5420917673c89f51e960c57f3e6a554965cdd575 100644 (file)
 #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
index 13b673c49dfa6b208223674f18cdcf6b91b5760a..36c4ae55b68c040a68d5e33cd9205e22ba5ec22c 100644 (file)
@@ -287,6 +287,14 @@ extern int dot_symbols;
 #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                                                   \
@@ -559,5 +567,3 @@ while (0)
 #endif
 
 #define MD_UNWIND_SUPPORT "config/rs6000/linux-unwind.h"
-
-#define OS_MISSING_POWERPC64 !TARGET_64BIT