netware.h (TARGET_POSIX_IO): Define.
authorJoseph Myers <joseph@codesourcery.com>
Thu, 9 Dec 2010 16:58:32 +0000 (16:58 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Thu, 9 Dec 2010 16:58:32 +0000 (16:58 +0000)
* config/i386/netware.h (TARGET_POSIX_IO): Define.
* config/i386/nto.h (TARGET_POSIX_IO): Define.
* config/ia64/hpux.h (TARGET_POSIX_IO): Define.
* config/moxie/moxie.h (TARGET_POSIX_IO): Don't undefine.
* config/openbsd.h (TARGET_POSIX_IO): Define.
* config/rtems.h (TARGET_POSIX_IO): Define.
* config/sh/embed-elf.h (TARGET_POSIX_IO): Don't undefine.
* config/sol2.h (TARGET_POSIX_IO): Define.
* config/svr4.h (TARGET_POSIX_IO): Don't define.
* config/vxworksae.h (TARGET_POSIX_IO): Define.

From-SVN: r167648

gcc/ChangeLog
gcc/config/i386/netware.h
gcc/config/i386/nto.h
gcc/config/ia64/hpux.h
gcc/config/moxie/moxie.h
gcc/config/openbsd.h
gcc/config/rtems.h
gcc/config/sh/embed-elf.h
gcc/config/sol2.h
gcc/config/svr4.h
gcc/config/vxworksae.h

index f444e51ecdf5402d3c177bb218c568eddd7e4f5f..29c1c32ba83e36142900cb90aa49e9c9f2ba47c3 100644 (file)
@@ -1,3 +1,16 @@
+2010-12-09  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/i386/netware.h (TARGET_POSIX_IO): Define.
+       * config/i386/nto.h (TARGET_POSIX_IO): Define.
+       * config/ia64/hpux.h (TARGET_POSIX_IO): Define.
+       * config/moxie/moxie.h (TARGET_POSIX_IO): Don't undefine.
+       * config/openbsd.h (TARGET_POSIX_IO): Define.
+       * config/rtems.h (TARGET_POSIX_IO): Define.
+       * config/sh/embed-elf.h (TARGET_POSIX_IO): Don't undefine.
+       * config/sol2.h (TARGET_POSIX_IO): Define.
+       * config/svr4.h (TARGET_POSIX_IO): Don't define.
+       * config/vxworksae.h (TARGET_POSIX_IO): Define.
+
 2010-12-09  Joseph Myers  <joseph@codesourcery.com>
 
        * config/i386/nto.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
index 0b505668ddfa9cb5c765886e9ef550f1a9f46a7d..4b5e31f1462e7f70d6bfcc467ad5f085d5b4c7ed 100644 (file)
@@ -165,3 +165,5 @@ const char *i386_nlm_strip_name_encoding (const char *);
 #define TARGET_MANGLE_DECL_ASSEMBLER_NAME i386_nlm_mangle_decl_assembler_name
 #undef  TARGET_STRIP_NAME_ENCODING
 #define TARGET_STRIP_NAME_ENCODING  i386_nlm_strip_name_encoding
+
+#define TARGET_POSIX_IO
index 8696abd0ac1eb70741101f58f46f91b09290e5bc..9a4cdec75087049752c8a5d47bb36545e31c6936 100644 (file)
@@ -98,3 +98,4 @@ crti.o%s \
 
 #define NO_IMPLICIT_EXTERN_C 1
 
+#define TARGET_POSIX_IO
index 804e0f8d50d0e24d60a8e4633af489d54ca7a368..d4d8da57673910fcb257322f002ae183197d0300 100644 (file)
@@ -231,3 +231,5 @@ do {                                                                \
    .text.hot.  */
 
 #define TARGET_ASM_FUNCTION_SECTION ia64_hpux_function_section
+
+#define TARGET_POSIX_IO
index c3b3454354a8d9116947ef03c4b9d31b296b7f1d..eae86cc67e8787f2f276f8bec597580d4087e347 100644 (file)
 #ifndef GCC_MOXIE_H
 #define GCC_MOXIE_H
 
-/* This is defined by svr4.h, which is included prior to this file.
-   However, we should undefine it for moxie-elf, since we don't provide
-   functions like access() and mkdir() in newlib.  This will have to
-   be defined again for a Linux port.  */
-#undef TARGET_POSIX_IO
-
 /* Another C string constant used much like `LINK_SPEC'.  The difference
    between the two is that `STARTFILE_SPEC' is used at the very beginning of
    the command given to the linker.
index b1076a7b4d6c7ecbcb4db20f180d9d620e070879..d4037c36b8612afffc78aad90d4af4cca53e2804 100644 (file)
@@ -144,6 +144,7 @@ while (0)
 #define LIB_SPEC OBSD_LIB_SPEC
 #endif
 
+#define TARGET_POSIX_IO
 \f
 /* Runtime target specification.  */
 
index 39ddcb7b55edc401ee3c7433fe68c639621361b6..869b14b56d422f393a8556540a94cd33b8cdc239 100644 (file)
@@ -40,3 +40,5 @@ along with GCC; see the file COPYING3.  If not see
 "%{!nostdlib: %{qrtems: --start-group \
  -lrtemsbsp -lrtemscpu \
  -lc -lgcc --end-group %{!qnolinkcmds: -T linkcmds%s}}}"
+
+#define TARGET_POSIX_IO
index e6c2782ca2f62e020462d58282307b866c657654..c84ae08b3ad1f7a71e44548871ac7f63302d1396 100644 (file)
@@ -22,8 +22,6 @@ along with GCC; see the file COPYING3.  If not see
 #undef USER_LABEL_PREFIX
 #define USER_LABEL_PREFIX "_"
 
-#undef TARGET_POSIX_IO
-
 /* While the speed-optimized implementations of udivsi3_i4i / sdivsi3_i4i
    in libgcc are not available for SH2, the space-optimized ones in
    libgcc-Os-4-200 are.  Thus, when not optimizing for space, link
index 34911b63fefdf75a453006eeb3015f6905267644..e7fe4673e6e81d1d6b3e3f207d6642b9a24db16a 100644 (file)
@@ -310,3 +310,5 @@ extern GTY(()) tree solaris_pending_finis;
 
 /* Allow macro expansion in #pragma pack.  */
 #define HANDLE_PRAGMA_PACK_WITH_EXPANSION
+
+#define TARGET_POSIX_IO
index 40798a4b8f3d9df743d9073cd8e4b4d024f26b56..49bb9da601435fbb32dedb2411cdba5263405d1c 100644 (file)
@@ -175,5 +175,3 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 
 #undef  WCHAR_TYPE_SIZE
 #define WCHAR_TYPE_SIZE BITS_PER_WORD
-
-#define TARGET_POSIX_IO
index d29b465eda0fe52fad9b830c8811ca37a52ee6d0..6e1efa93c403ecdfe1639c8df4ff9b8918096cb7 100644 (file)
@@ -56,6 +56,9 @@ along with GCC; see the file COPYING3.  If not see
 
 #define VXWORKS_KIND VXWORKS_KIND_AE
 
+/* Both kernels and RTPs have the facilities required by this macro.  */
+#define TARGET_POSIX_IO
+
 /* A VxWorks 653 implementation of TARGET_OS_CPP_BUILTINS.  */
 #define VXWORKS_OS_CPP_BUILTINS()                                       \
   do                                                                    \