OSDN Git Service

* config/i386/netware.h (TARGET_POSIX_IO): Define.
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Dec 2010 16:58:32 +0000 (16:58 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Dec 2010 16:58:32 +0000 (16:58 +0000)
* 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.

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

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 f444e51..29c1c32 100644 (file)
@@ -1,5 +1,18 @@
 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.
        * config/ia64/hpux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
        Define.
index 0b50566..4b5e31f 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 8696abd..9a4cdec 100644 (file)
@@ -98,3 +98,4 @@ crti.o%s \
 
 #define NO_IMPLICIT_EXTERN_C 1
 
+#define TARGET_POSIX_IO
index 804e0f8..d4d8da5 100644 (file)
@@ -231,3 +231,5 @@ do {                                                                \
    .text.hot.  */
 
 #define TARGET_ASM_FUNCTION_SECTION ia64_hpux_function_section
+
+#define TARGET_POSIX_IO
index c3b3454..eae86cc 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 b1076a7..d4037c3 100644 (file)
@@ -144,6 +144,7 @@ while (0)
 #define LIB_SPEC OBSD_LIB_SPEC
 #endif
 
+#define TARGET_POSIX_IO
 \f
 /* Runtime target specification.  */
 
index 39ddcb7..869b14b 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 e6c2782..c84ae08 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 34911b6..e7fe467 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 40798a4..49bb9da 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 d29b465..6e1efa9 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                                                                    \