OSDN Git Service

* config/rs6000/linux.h (TARGET_C99_FUNCTIONS): Define.
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 3 Oct 2004 03:31:38 +0000 (03:31 +0000)
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 3 Oct 2004 03:31:38 +0000 (03:31 +0000)
(OS_MISSING_POWERPC64): Move, and comment.
* config/rs6000/linux64.h (TARGET_C99_FUNCTIONS): Define.
(OS_MISSING_POWERPC64): Move, and comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88440 138bc75d-0d04-0410-961f-82ee72b054a4

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

index c18b3a9..9c081a9 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 0f4d046..5420917 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 13b673c..36c4ae5 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