netware.h (TARGET_POSIX_IO): Define.

* 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
This commit is contained in:
Joseph Myers 2010-12-09 16:58:32 +00:00 committed by Joseph Myers
parent 72b7f7eaf3
commit 9c0c4ec7cd
11 changed files with 26 additions and 10 deletions

View 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> 2010-12-09 Joseph Myers <joseph@codesourcery.com>
* config/i386/nto.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define. * config/i386/nto.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.

View 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 #define TARGET_MANGLE_DECL_ASSEMBLER_NAME i386_nlm_mangle_decl_assembler_name
#undef TARGET_STRIP_NAME_ENCODING #undef TARGET_STRIP_NAME_ENCODING
#define TARGET_STRIP_NAME_ENCODING i386_nlm_strip_name_encoding #define TARGET_STRIP_NAME_ENCODING i386_nlm_strip_name_encoding
#define TARGET_POSIX_IO

View file

@ -98,3 +98,4 @@ crti.o%s \
#define NO_IMPLICIT_EXTERN_C 1 #define NO_IMPLICIT_EXTERN_C 1
#define TARGET_POSIX_IO

View file

@ -231,3 +231,5 @@ do { \
.text.hot. */ .text.hot. */
#define TARGET_ASM_FUNCTION_SECTION ia64_hpux_function_section #define TARGET_ASM_FUNCTION_SECTION ia64_hpux_function_section
#define TARGET_POSIX_IO

View file

@ -21,12 +21,6 @@
#ifndef GCC_MOXIE_H #ifndef GCC_MOXIE_H
#define 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 /* 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 between the two is that `STARTFILE_SPEC' is used at the very beginning of
the command given to the linker. the command given to the linker.

View file

@ -144,6 +144,7 @@ while (0)
#define LIB_SPEC OBSD_LIB_SPEC #define LIB_SPEC OBSD_LIB_SPEC
#endif #endif
#define TARGET_POSIX_IO
/* Runtime target specification. */ /* Runtime target specification. */

View file

@ -40,3 +40,5 @@ along with GCC; see the file COPYING3. If not see
"%{!nostdlib: %{qrtems: --start-group \ "%{!nostdlib: %{qrtems: --start-group \
-lrtemsbsp -lrtemscpu \ -lrtemsbsp -lrtemscpu \
-lc -lgcc --end-group %{!qnolinkcmds: -T linkcmds%s}}}" -lc -lgcc --end-group %{!qnolinkcmds: -T linkcmds%s}}}"
#define TARGET_POSIX_IO

View file

@ -22,8 +22,6 @@ along with GCC; see the file COPYING3. If not see
#undef USER_LABEL_PREFIX #undef USER_LABEL_PREFIX
#define USER_LABEL_PREFIX "_" #define USER_LABEL_PREFIX "_"
#undef TARGET_POSIX_IO
/* While the speed-optimized implementations of udivsi3_i4i / sdivsi3_i4i /* While the speed-optimized implementations of udivsi3_i4i / sdivsi3_i4i
in libgcc are not available for SH2, the space-optimized ones in in libgcc are not available for SH2, the space-optimized ones in
libgcc-Os-4-200 are. Thus, when not optimizing for space, link libgcc-Os-4-200 are. Thus, when not optimizing for space, link

View file

@ -310,3 +310,5 @@ extern GTY(()) tree solaris_pending_finis;
/* Allow macro expansion in #pragma pack. */ /* Allow macro expansion in #pragma pack. */
#define HANDLE_PRAGMA_PACK_WITH_EXPANSION #define HANDLE_PRAGMA_PACK_WITH_EXPANSION
#define TARGET_POSIX_IO

View file

@ -175,5 +175,3 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#undef WCHAR_TYPE_SIZE #undef WCHAR_TYPE_SIZE
#define WCHAR_TYPE_SIZE BITS_PER_WORD #define WCHAR_TYPE_SIZE BITS_PER_WORD
#define TARGET_POSIX_IO

View file

@ -56,6 +56,9 @@ along with GCC; see the file COPYING3. If not see
#define VXWORKS_KIND VXWORKS_KIND_AE #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. */ /* A VxWorks 653 implementation of TARGET_OS_CPP_BUILTINS. */
#define VXWORKS_OS_CPP_BUILTINS() \ #define VXWORKS_OS_CPP_BUILTINS() \
do \ do \