diff options
author | Joseph Myers <joseph@codesourcery.com> | 2010-12-09 16:58:32 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2010-12-09 16:58:32 +0000 |
commit | 9c0c4ec7cdb619ed922ad1e5eb4605713646685e (patch) | |
tree | ebf560b377323f3a8116c05a8c9b24e937bb6834 /gcc | |
parent | 72b7f7eaf31282b345ccb4acaa9be52777b5f83c (diff) | |
download | gcc-9c0c4ec7cdb619ed922ad1e5eb4605713646685e.zip gcc-9c0c4ec7cdb619ed922ad1e5eb4605713646685e.tar.gz gcc-9c0c4ec7cdb619ed922ad1e5eb4605713646685e.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 13 | ||||
-rw-r--r-- | gcc/config/i386/netware.h | 2 | ||||
-rw-r--r-- | gcc/config/i386/nto.h | 1 | ||||
-rw-r--r-- | gcc/config/ia64/hpux.h | 2 | ||||
-rw-r--r-- | gcc/config/moxie/moxie.h | 6 | ||||
-rw-r--r-- | gcc/config/openbsd.h | 1 | ||||
-rw-r--r-- | gcc/config/rtems.h | 2 | ||||
-rw-r--r-- | gcc/config/sh/embed-elf.h | 2 | ||||
-rw-r--r-- | gcc/config/sol2.h | 2 | ||||
-rw-r--r-- | gcc/config/svr4.h | 2 | ||||
-rw-r--r-- | gcc/config/vxworksae.h | 3 |
11 files changed, 26 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f444e51..29c1c32 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/i386/netware.h b/gcc/config/i386/netware.h index 0b50566..4b5e31f 100644 --- a/gcc/config/i386/netware.h +++ b/gcc/config/i386/netware.h @@ -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 diff --git a/gcc/config/i386/nto.h b/gcc/config/i386/nto.h index 8696abd..9a4cdec7 100644 --- a/gcc/config/i386/nto.h +++ b/gcc/config/i386/nto.h @@ -98,3 +98,4 @@ crti.o%s \ #define NO_IMPLICIT_EXTERN_C 1 +#define TARGET_POSIX_IO diff --git a/gcc/config/ia64/hpux.h b/gcc/config/ia64/hpux.h index 804e0f8..d4d8da5 100644 --- a/gcc/config/ia64/hpux.h +++ b/gcc/config/ia64/hpux.h @@ -231,3 +231,5 @@ do { \ .text.hot. */ #define TARGET_ASM_FUNCTION_SECTION ia64_hpux_function_section + +#define TARGET_POSIX_IO diff --git a/gcc/config/moxie/moxie.h b/gcc/config/moxie/moxie.h index c3b3454..eae86cc 100644 --- a/gcc/config/moxie/moxie.h +++ b/gcc/config/moxie/moxie.h @@ -21,12 +21,6 @@ #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. diff --git a/gcc/config/openbsd.h b/gcc/config/openbsd.h index b1076a7..d4037c3 100644 --- a/gcc/config/openbsd.h +++ b/gcc/config/openbsd.h @@ -144,6 +144,7 @@ while (0) #define LIB_SPEC OBSD_LIB_SPEC #endif +#define TARGET_POSIX_IO /* Runtime target specification. */ diff --git a/gcc/config/rtems.h b/gcc/config/rtems.h index 39ddcb7..869b14b 100644 --- a/gcc/config/rtems.h +++ b/gcc/config/rtems.h @@ -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 diff --git a/gcc/config/sh/embed-elf.h b/gcc/config/sh/embed-elf.h index e6c2782..c84ae08 100644 --- a/gcc/config/sh/embed-elf.h +++ b/gcc/config/sh/embed-elf.h @@ -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 diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h index 34911b6..e7fe467 100644 --- a/gcc/config/sol2.h +++ b/gcc/config/sol2.h @@ -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 diff --git a/gcc/config/svr4.h b/gcc/config/svr4.h index 40798a4..49bb9da 100644 --- a/gcc/config/svr4.h +++ b/gcc/config/svr4.h @@ -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 diff --git a/gcc/config/vxworksae.h b/gcc/config/vxworksae.h index d29b465..6e1efa9 100644 --- a/gcc/config/vxworksae.h +++ b/gcc/config/vxworksae.h @@ -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 \ |