From: Trevor Saunders Date: Tue, 21 Jun 2016 21:57:20 +0000 (+0000) Subject: remove support for the interix target X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ee2499b4d4fe5897d83a315fa0064ee89067f230;p=gcc.git remove support for the interix target contrib/ChangeLog: 2016-06-21 Trevor Saunders * config-list.mk: Remove interix target. libgcc/ChangeLog: 2016-06-21 Trevor Saunders * config.host: Remove interix support. * config/i386/t-interix: Remove. config/ChangeLog: 2016-06-21 Trevor Saunders * elf.m4: Remove interix support. * picflag.m4: Likewise. fixincludes/ChangeLog: 2016-06-21 Trevor Saunders * mkfixinc.sh: Remove interix support. gcc/ChangeLog: 2016-06-21 Trevor Saunders * config.gcc: Remove interix support. * config/i386/i386-interix.h: Remove. * config/i386/interix.opt: Remove. * config/i386/t-interix: Remove. * configure: Regenerate. * configure.ac: Remove interix support. * doc/install.texi: Remove interix documentation. gcc/testsuite/ChangeLog: 2016-06-21 Trevor Saunders * gcc.dg/attr-ms_struct-1.c: Stop testing interix. * gcc.dg/attr-ms_struct-2.c: Likewise. * gcc.dg/attr-ms_struct-packed1.c: Likewise. * gcc.dg/bf-ms-attrib.c: Likewise. * gcc.dg/bf-ms-layout-2.c: Likewise. * gcc.dg/bf-ms-layout-3.c: Likewise. * gcc.dg/bf-ms-layout.c: Likewise. * gcc.dg/bf-no-ms-layout.c: Likewise. * gcc.target/i386/bitfield1.c: Likewise. * gcc.target/i386/bitfield2.c: Likewise. * gcc.target/i386/bitfield3.c: Likewise. From-SVN: r237660 --- diff --git a/config/ChangeLog b/config/ChangeLog index edaf7d1529b..3b0092b26b9 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,8 @@ +2016-06-21 Trevor Saunders + + * elf.m4: Remove interix support. + * picflag.m4: Likewise. + 2016-04-30 Oleg Endo * picflag.m4: Remove SH5 support. diff --git a/config/elf.m4 b/config/elf.m4 index 1772a44318e..5f5cd88da09 100644 --- a/config/elf.m4 +++ b/config/elf.m4 @@ -17,7 +17,7 @@ target_elf=no case $target in *-darwin* | *-aix* | *-cygwin* | *-mingw* | *-aout* | *-*coff* | \ *-msdosdjgpp* | *-vms* | *-wince* | *-*-pe* | \ - alpha*-dec-osf* | *-interix* | hppa[[12]]*-*-hpux* | \ + alpha*-dec-osf* | hppa[[12]]*-*-hpux* | \ nvptx-*-none) target_elf=no ;; diff --git a/config/picflag.m4 b/config/picflag.m4 index e0fa3439997..614421d2a94 100644 --- a/config/picflag.m4 +++ b/config/picflag.m4 @@ -27,10 +27,6 @@ case "${$2}" in ;; i[[34567]]86-*-mingw* | x86_64-*-mingw*) ;; - i[[34567]]86-*-interix[[3-9]]*) - # Interix 3.x gcc -fpic/-fPIC options generate broken code. - # Instead, we relocate shared libraries at runtime. - ;; i[[34567]]86-*-nto-qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 2dee7e21756..b1f94572b02 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,7 @@ +2016-06-21 Trevor Saunders + + * config-list.mk: Remove interix target. + 2016-06-21 David Edelsohn * config-list.mk: Remove rs6000-ibm-aix4.3, rs6000-ibm-aix5.1, diff --git a/contrib/config-list.mk b/contrib/config-list.mk index 9099223d91e..33d20060f19 100644 --- a/contrib/config-list.mk +++ b/contrib/config-list.mk @@ -99,8 +99,7 @@ LIST = aarch64-elf aarch64-linux-gnu aarch64-rtems \ x86_64-knetbsd-gnuOPT-enable-obsolete x86_64-w64-mingw32 \ x86_64-mingw32OPT-enable-sjlj-exceptions=yes x86_64-rtems \ xstormy16-elf xtensa-elf \ - xtensa-linux \ - i686-interix3OPT-enable-obsolete + xtensa-linux LOGFILES = $(patsubst %,log/%-make.out,$(LIST)) all: $(LOGFILES) diff --git a/fixincludes/ChangeLog b/fixincludes/ChangeLog index 60b46882db8..957181d1816 100644 --- a/fixincludes/ChangeLog +++ b/fixincludes/ChangeLog @@ -1,3 +1,7 @@ +2016-06-21 Trevor Saunders + + * mkfixinc.sh: Remove interix support. + 2016-06-13 David Edelsohn * inclhack.def (aix_stdlib_malloc): New fix. diff --git a/fixincludes/mkfixinc.sh b/fixincludes/mkfixinc.sh index 0d96c8ca876..0f9648608e9 100755 --- a/fixincludes/mkfixinc.sh +++ b/fixincludes/mkfixinc.sh @@ -14,7 +14,6 @@ case $machine in i?86-*-cygwin* | \ i?86-*-mingw32* | \ x86_64-*-mingw32* | \ - i?86-*-interix* | \ powerpc-*-eabisim* | \ powerpc-*-eabi* | \ powerpc-*-rtems* | \ diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 020e08d5b87..c8cb5fc063d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +2016-06-21 Trevor Saunders + + * config.gcc: Remove interix support. + * config/i386/i386-interix.h: Remove. + * config/i386/interix.opt: Remove. + * config/i386/t-interix: Remove. + * configure: Regenerate. + * configure.ac: Remove interix support. + * doc/install.texi: Remove interix documentation. + 2016-06-21 Kelvin Nilsen * config/rs6000/rs6000.h: Add conditional preprocessing directives diff --git a/gcc/config.gcc b/gcc/config.gcc index e47535bb764..34da23e5dd1 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -236,8 +236,7 @@ md_file= # Obsolete configurations. case ${target} in - *-interix* \ - | *-knetbsd-* \ + *-knetbsd-* \ | *-openbsd2* \ | *-openbsd3* \ | avr-*rtems* \ @@ -1778,19 +1777,6 @@ i[34567]86-*-mingw* | x86_64-*-mingw*) ;; esac ;; -i[34567]86-*-interix[3-9]*) - tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/i386-interix.h" - tmake_file="${tmake_file} i386/t-interix" - extra_options="${extra_options} rpath.opt i386/interix.opt" - extra_objs="winnt.o winnt-stubs.o" - target_gtfiles="\$(srcdir)/config/i386/winnt.c" - if test x$enable_threads = xyes ; then - thread_file='posix' - fi - if test x$stabs = xyes ; then - tm_file="${tm_file} dbxcoff.h" - fi - ;; ia64*-*-elf*) tm_file="${tm_file} dbxelf.h elfos.h newlib-stdint.h ia64/sysv4.h ia64/elf.h" tmake_file="ia64/t-ia64" diff --git a/gcc/config/i386/i386-interix.h b/gcc/config/i386/i386-interix.h deleted file mode 100644 index 7d4b8721ecd..00000000000 --- a/gcc/config/i386/i386-interix.h +++ /dev/null @@ -1,345 +0,0 @@ -/* Target definitions for GCC for Intel 80386 running Interix - Parts Copyright (C) 1991-2016 Free Software Foundation, Inc. - - Parts: - by Douglas B. Rupp (drupp@cs.washington.edu). - by Ron Guilmette (rfg@netcom.com). - by Donn Terry (donn@softway.com). - by Mumit Khan (khan@xraylith.wisc.edu). - -This file is part of GCC. - -GCC is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GCC is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GCC; see the file COPYING3. If not see -. */ - -/* Note: Interix doesn't support user-written DLLs (use conventional - shared libs (.so) instead). Thus a lot of the stuff that might apply - about dllimport/dllexport and the like does not apply here. */ - -#include - -/* Names to predefine in the preprocessor for this target machine. */ - -#define DBX_DEBUGGING_INFO 1 -#define SDB_DEBUGGING_INFO 1 -#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG - -/* Our strategy for finding global constructors is a bit different, although - not a lot. */ -#define DO_GLOBAL_CTORS_BODY \ -do { \ - int i; \ - unsigned long nptrs; \ - func_ptr *p; \ - asm( \ - " .section .ctor_head, \"rw\"\n" \ - "1:\n" \ - " .text \n" \ - ASM_LOAD_ADDR(1b,%0) \ - : "=r" (p) : : "cc"); \ - for (nptrs = 0; p[nptrs] != 0; nptrs++); \ - for (i = nptrs-1; i >= 0; i--) \ - p[i] (); \ -} while (0) - -#define DO_GLOBAL_DTORS_BODY \ -do { \ - func_ptr *p; \ - asm( \ - " .section .dtor_head, \"rw\"\n" \ - "1:\n" \ - " .text \n" \ - ASM_LOAD_ADDR(1b,%0) \ - : "=r" (p) : : "cc"); \ - while (*p) \ - { \ - p++; \ - (*(p-1)) (); \ - } \ -} while (0) - -/* We don't use the "usual" push-an-address solution. */ -#undef TARGET_ASM_CONSTRUCTOR - -#undef SUBTARGET_SWITCHES -#define SUBTARGET_SWITCHES \ -{ "ms-bitfields", MASK_MS_BITFIELD_LAYOUT, N_("Use native (MS) bitfield layout") }, \ -{ "no-ms-bitfields", -MASK_MS_BITFIELD_LAYOUT, N_("Use gcc default bitfield layout") }, - -#undef LIB_SPEC -#define LIB_SPEC "\ - %{!shared:%{!dynamic:-lc -lpsxdll \ - }} \ - %{!G:%{!dynamic:-lc -lpsxdll \ - }} \ - %{dynamic:-lc -lpsxdll \ - } \ - %{v}" - -#undef LINK_SPEC -#define LINK_SPEC "%{!shared:-stack 0x4000000,0x10000} \ - %{g} \ - %{dynamic:-Bdynamic} \ - %{static:-Bstatic} \ - %{shared:--shared -Bdynamic} \ - %{G:--shared -Bdynamic} \ - %{symbolic:--shared -Bsymbolic -Bdynamic} \ - %{rpath*:--rpath %*} \ - " - -#undef STARTFILE_SPEC -#define STARTFILE_SPEC \ - "%{!shared:%{pg:gcrt0%O%s}%{!pg:%{p:mcrt0%O%s}%{!p:crt0%O%s}}} %{shared:crti%O%s}" - -#define TARGET_DECLSPEC 1 - -/* cpp handles __STDC__ */ -#define TARGET_OS_CPP_BUILTINS() \ - do \ - { \ - builtin_define ("__INTERIX"); \ - builtin_define ("_M_IX86=300"); \ - builtin_define ("_X86_=1"); \ - builtin_define ("__stdcall=__attribute__((__stdcall__))"); \ - builtin_define ("__cdecl=__attribute__((__cdecl__))"); \ - builtin_define ("__declspec(x)=__attribute__((x))"); \ - builtin_assert ("system=unix"); \ - builtin_assert ("system=interix"); \ - if (preprocessing_asm_p ()) \ - builtin_define_std ("LANGUAGE_ASSEMBLY"); \ - else \ - { \ - builtin_define_std ("LANGUAGE_C"); \ - if (c_dialect_cxx ()) \ - builtin_define_std ("LANGUAGE_C_PLUS_PLUS"); \ - if (c_dialect_objc ()) \ - builtin_define_std ("LANGUAGE_OBJECTIVE_C"); \ - } \ - } \ - while (0) - -#undef CPP_SPEC -#define CPP_SPEC "%{posix:-D_POSIX_SOURCE}" - -#define SIZE_TYPE "unsigned int" -#define PTRDIFF_TYPE "int" -#define WCHAR_TYPE "short unsigned int" -#define WCHAR_TYPE_SIZE 16 - -/* Turn off long double being 96 bits. */ -#undef LONG_DOUBLE_TYPE_SIZE -#define LONG_DOUBLE_TYPE_SIZE 64 - -#define IX86_NO_LIBGCC_TFMODE - -#undef TARGET_LIBC_HAS_FUNCTION -#define TARGET_LIBC_HAS_FUNCTION no_c99_libc_has_function - -/* The following are needed for us to be able to use winnt.c, but are not - otherwise meaningful to Interix. (The functions that use these are - never called because we don't do DLLs.) */ -#define TARGET_NOP_FUN_DLLIMPORT 1 -#define drectve_section() /* nothing */ - - -#define READONLY_DATA_SECTION_ASM_OP "\t.section\t.rdata,\"r\"" - -/* Define this macro if references to a symbol must be treated - differently depending on something about the variale or - function named by the symbol (such as what section it is in). */ - -#undef TARGET_ENCODE_SECTION_INFO -#define TARGET_ENCODE_SECTION_INFO i386_pe_encode_section_info -#undef TARGET_STRIP_NAME_ENCODING -#define TARGET_STRIP_NAME_ENCODING i386_pe_strip_name_encoding_full - -/* Emit code to check the stack when allocating more that 4000 - bytes in one go. */ - -#define CHECK_STACK_LIMIT 4000 - -/* By default, target has a 80387, uses IEEE compatible arithmetic, - and returns float values in the 387 and needs stack probes - We also align doubles to 64-bits forMSVC default compatibility - Ditto for bitfields. */ -#undef TARGET_SUBTARGET_DEFAULT -#define TARGET_SUBTARGET_DEFAULT \ - (MASK_80387 | MASK_IEEE_FP | MASK_FLOAT_RETURNS | MASK_STACK_PROBE | \ - MASK_ALIGN_DOUBLE | MASK_MS_BITFIELD_LAYOUT) - -/* The MS compilers take alignment as a number of bytes, so we do as well */ -#undef ASM_OUTPUT_ALIGN -#define ASM_OUTPUT_ALIGN(FILE,LOG) \ - if ((LOG)!=0) fprintf ((FILE), "\t.balign %d\n", 1<<(LOG)) - - -/* Define this macro if in some cases global symbols from one translation - unit may not be bound to undefined symbols in another translation unit - without user intervention. For instance, under Microsoft Windows - symbols must be explicitly imported from shared libraries (DLLs). */ -/* - * Old gcc(3.3) did not have 1 here - */ -#define MULTIPLE_SYMBOL_SPACES 1 - -extern void i386_pe_unique_section (tree, int); -#define TARGET_ASM_UNIQUE_SECTION i386_pe_unique_section - -/* Switch into a generic section. */ -#define TARGET_ASM_NAMED_SECTION default_pe_asm_named_section - -/* Select attributes for named sections. */ -#define TARGET_SECTION_TYPE_FLAGS i386_pe_section_type_flags - -/* Write the extra assembler code needed to declare a function - properly. If we are generating SDB debugging information, this - will happen automatically, so we only need to handle other cases. */ -#undef ASM_DECLARE_FUNCTION_NAME -#define ASM_DECLARE_FUNCTION_NAME(FILE, NAME, DECL) \ - do \ - { \ - if (write_symbols != SDB_DEBUG) \ - i386_pe_declare_function_type (FILE, NAME, TREE_PUBLIC (DECL)); \ - ASM_OUTPUT_LABEL (FILE, NAME); \ - } \ - while (0) - -/* Add an external function to the list of functions to be declared at - the end of the file. */ -#define ASM_OUTPUT_EXTERNAL(FILE, DECL, NAME) \ - do \ - { \ - if (TREE_CODE (DECL) == FUNCTION_DECL) \ - i386_pe_record_external_function (DECL, NAME); \ - } \ - while (0) - -/* Declare the type properly for any external libcall. */ -#define ASM_OUTPUT_EXTERNAL_LIBCALL(FILE, FUN) \ - i386_pe_declare_function_type (FILE, XSTR (FUN, 0), 1) - -/* This says out to put a global symbol in the BSS section. */ -#undef ASM_OUTPUT_ALIGNED_BSS -#define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \ - asm_output_aligned_bss ((FILE), (DECL), (NAME), (SIZE), (ALIGN)) - -/* Don't assume anything about the header files. */ -#define NO_IMPLICIT_EXTERN_C - -/* External function declarations. */ -extern void i386_pe_record_external_function (tree, const char *); -extern void i386_pe_declare_function_type (FILE *, const char *, int); -extern void i386_pe_record_exported_symbol (const char *, int); -extern void i386_pe_asm_file_end (FILE *); - -/* For Win32 ABI compatibility */ -#undef DEFAULT_PCC_STRUCT_RETURN -#define DEFAULT_PCC_STRUCT_RETURN 0 - -/* A bitfield declared as `int' forces `int' alignment for the struct. */ -#undef PCC_BITFIELD_TYPE_MATTERS -#define PCC_BITFIELD_TYPE_MATTERS 1 - -/* Enable alias attribute support. */ -#ifndef SET_ASM_OP -#define SET_ASM_OP "\t.set\t" -#endif - -/* Note that there appears to be two different ways to support const - sections at the moment. You can either #define the symbol - READONLY_DATA_SECTION (giving it some code which switches to the - readonly data section) or else you can #define the symbols - EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS, SELECT_SECTION, and - SELECT_RTX_SECTION. We do both here just to be on the safe side. */ - -#define USE_CONST_SECTION 1 - -/* The linker will take care of this, and having them causes problems with - ld -r (specifically -rU). */ -#define CTOR_LISTS_DEFINED_EXTERNALLY 1 - -/* Output a definition (implements alias) */ -#define ASM_OUTPUT_DEF(FILE,LABEL1,LABEL2) \ -do \ -{ \ - fputs (SET_ASM_OP, (FILE)); \ - assemble_name (FILE, LABEL1); \ - fputc (',', (FILE)); \ - assemble_name (FILE, LABEL2); \ - fputc ('\n', (FILE)); \ - } \ -while (0) - -#define HOST_PTR_AS_INT unsigned long - -/* The following two flags are usually "off" for i386, because some non-gnu - tools (for the i386) don't handle them. However, we don't have that - problem, so.... */ - -/* Forward references to tags are allowed. */ -#define SDB_ALLOW_FORWARD_REFERENCES -/* Unknown tags are also allowed. */ -#define SDB_ALLOW_UNKNOWN_REFERENCES -/* DWARF2 Unwinding doesn't work with exception handling yet. */ -#define DWARF2_UNWIND_INFO 0 -/* MSVC returns structs of up to 8 bytes via registers. */ - -#undef SUBTARGET_RETURN_IN_MEMORY -#define SUBTARGET_RETURN_IN_MEMORY(TYPE, FNTYPE) \ - (TYPE_MODE (TYPE) == BLKmode || \ - (AGGREGATE_TYPE_P (TYPE) && int_size_in_bytes(TYPE) > 8 )) - -#define ASM_LOAD_ADDR(loc, reg) " leal " #loc "," #reg "\n" - -/* The integer half of this list needs to be constant. However, there's - a lot of disagreement about what the floating point adjustments should - be. We pick one that works with gdb. (The underlying problem is - what to do about the segment registers. Since we have access to them - from /proc, we'll allow them to be accessed in gdb, even tho the - gcc compiler can't generate them. (There's some evidence that - MSVC does, but possibly only for certain special "canned" sequences.) */ - -#undef DBX_REGISTER_NUMBER -#define DBX_REGISTER_NUMBER(n) \ -(TARGET_64BIT ? dbx64_register_map[n] \ - : (n) == 0 ? (int) 0 \ - : (n) == 1 ? (int) 2 \ - : (n) == 2 ? (int) 1 \ - : (n) == 3 ? (int) 3 \ - : (n) == 4 ? (int) 6 \ - : (n) == 5 ? (int) 7 \ - : (n) == 6 ? (int) 5 \ - : (n) == 7 ? (int) 4 \ - : ((n) >= FIRST_STACK_REG && (n) <= LAST_STACK_REG) ? (int) (n)+8 \ - : (int) (-1)) - -#define EH_FRAME_THROUGH_COLLECT2 -#define EH_TABLES_CAN_BE_READ_ONLY 0 - -/* the following are OSF linker (not gld) specific... we don't want them */ -#undef HAS_INIT_SECTION -#undef LD_INIT_SWITCH -#undef LD_FINI_SWITCH - -/* The following are needed for us to be able to use winnt.c, but are not - otherwise meaningful to Interix. (The functions that use these are - never called because we don't do DLLs.) */ -#define TARGET_NOP_FUN_DLLIMPORT 1 -#define I386_PE_STRIP_ENCODING(SYM_NAME) \ - ((SYM_NAME) + ((SYM_NAME)[0] == '@' \ - ? ((SYM_NAME)[3] == '*' ? 4 : 3) : 0) \ - + ((SYM_NAME)[0] == '*' ? 1 : 0)) - -#define drectve_section() /* nothing */ - diff --git a/gcc/config/i386/interix.opt b/gcc/config/i386/interix.opt deleted file mode 100644 index bd65432fe59..00000000000 --- a/gcc/config/i386/interix.opt +++ /dev/null @@ -1,34 +0,0 @@ -; Interix-specific options. - -; Copyright (C) 2005-2016 Free Software Foundation, Inc. -; -; This file is part of GCC. -; -; GCC is free software; you can redistribute it and/or modify it under -; the terms of the GNU General Public License as published by the Free -; Software Foundation; either version 3, or (at your option) any later -; version. -; -; GCC is distributed in the hope that it will be useful, but WITHOUT ANY -; WARRANTY; without even the implied warranty of MERCHANTABILITY or -; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -; for more details. -; -; You should have received a copy of the GNU General Public License -; along with GCC; see the file COPYING3. If not see -; . - -dynamic -Driver - -G -Driver - -posix -Driver - -mpe-aligned-commons -Target Var(use_pe_aligned_common) Init(HAVE_GAS_ALIGNED_COMM) -Use the GNU extension to the PE format for aligned common data. - -; This comment is to ensure we retain the blank line above. diff --git a/gcc/config/i386/t-interix b/gcc/config/i386/t-interix deleted file mode 100644 index 39edbe5ccb6..00000000000 --- a/gcc/config/i386/t-interix +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright (C) 2011-2016 Free Software Foundation, Inc. -# -# This file is part of GCC. -# -# GCC is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3, or (at your option) -# any later version. -# -# GCC is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with GCC; see the file COPYING3. If not see -# . - -winnt.o: $(srcdir)/config/i386/winnt.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ - $(TM_H) $(RTL_H) $(REGS_H) hard-reg-set.h output.h $(TREE_H) flags.h \ - $(TM_P_H) $(HASH_TABLE_H) $(GGC_H) - $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ - $(srcdir)/config/i386/winnt.c - -winnt-stubs.o: $(srcdir)/config/i386/winnt-stubs.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ - $(TM_H) $(RTL_H) $(REGS_H) hard-reg-set.h output.h $(TREE_H) flags.h \ - $(TM_P_H) toplev.h $(HASHTAB_H) $(GGC_H) - $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ - $(srcdir)/config/i386/winnt-stubs.c - diff --git a/gcc/configure b/gcc/configure index bce9ea03c87..5648eca3a14 100755 --- a/gcc/configure +++ b/gcc/configure @@ -25226,7 +25226,7 @@ _ACEOF esac case $target_os in - cygwin* | pe | mingw32* | interix*) + cygwin* | pe | mingw32*) # Recent binutils allows the three-operand form of ".comm" on PE. This # definition is used unconditionally to initialise the default state of # the target option variable that governs usage of the feature. diff --git a/gcc/configure.ac b/gcc/configure.ac index 6607e760c6a..af40895c175 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -3977,7 +3977,7 @@ changequote([,])dnl Cygwin DLL exports wrappers to support libstdc++ function replacement.]) esac case $target_os in - cygwin* | pe | mingw32* | interix*) + cygwin* | pe | mingw32*) # Recent binutils allows the three-operand form of ".comm" on PE. This # definition is used unconditionally to initialise the default state of # the target option variable that governs usage of the feature. diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index e4c7535208f..a74b3d69637 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -3418,8 +3418,6 @@ information have to. @item @uref{#x-x-cygwin,,*-*-cygwin} @item -@uref{#x-x-interix,,*-*-interix} -@item @uref{#x-x-mingw32,,*-*-mingw32} @item @uref{#os2,,OS/2} @@ -4841,8 +4839,6 @@ and which C libraries are used. @itemize @item Cygwin @uref{#x-x-cygwin,,*-*-cygwin}: Cygwin provides a user-space Linux API emulation layer in the Win32 subsystem. -@item Interix @uref{#x-x-interix,,*-*-interix}: The Interix subsystem -provides native support for POSIX. @item MinGW @uref{#x-x-mingw32,,*-*-mingw32}: MinGW is a native GCC port for the Win32 subsystem that provides a subset of POSIX. @item MKS i386-pc-mks: NuTCracker from MKS. See @@ -4890,16 +4886,6 @@ used with as up-to-date a version of binutils as possible; use either the latest official GNU binutils release in the Cygwin distribution, or version 2.20 or above if building your own. -@html -
-@end html -@anchor{x-x-interix} -@heading *-*-interix -The Interix target is used by OpenNT, Interix, Services For UNIX (SFU), -and Subsystem for UNIX-based Applications (SUA). Applications compiled -with this target run in the Interix subsystem, which is separate from -the Win32 subsystem. This target was last known to work in GCC 3.3. - @html
@end html diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 51d7a3082fb..3f8448ac376 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,17 @@ +2016-06-21 Trevor Saunders + + * gcc.dg/attr-ms_struct-1.c: Stop testing interix. + * gcc.dg/attr-ms_struct-2.c: Likewise. + * gcc.dg/attr-ms_struct-packed1.c: Likewise. + * gcc.dg/bf-ms-attrib.c: Likewise. + * gcc.dg/bf-ms-layout-2.c: Likewise. + * gcc.dg/bf-ms-layout-3.c: Likewise. + * gcc.dg/bf-ms-layout.c: Likewise. + * gcc.dg/bf-no-ms-layout.c: Likewise. + * gcc.target/i386/bitfield1.c: Likewise. + * gcc.target/i386/bitfield2.c: Likewise. + * gcc.target/i386/bitfield3.c: Likewise. + 2016-06-21 Kelvin Nilsen * gcc.target/powerpc/darn-0.c: Add dejagnu directives to disable diff --git a/gcc/testsuite/gcc.dg/attr-ms_struct-1.c b/gcc/testsuite/gcc.dg/attr-ms_struct-1.c index 4cbff013f17..0b1d0404fd3 100644 --- a/gcc/testsuite/gcc.dg/attr-ms_struct-1.c +++ b/gcc/testsuite/gcc.dg/attr-ms_struct-1.c @@ -1,5 +1,5 @@ /* Test for MS structure sizes. */ -/* { dg-do run { target *-*-interix* *-*-mingw* *-*-cygwin* i?86-*-darwin* } } */ +/* { dg-do run { target *-*-mingw* *-*-cygwin* i?86-*-darwin* } } */ /* { dg-require-effective-target ilp32 } */ /* { dg-options "-std=gnu99" } */ diff --git a/gcc/testsuite/gcc.dg/attr-ms_struct-2.c b/gcc/testsuite/gcc.dg/attr-ms_struct-2.c index 58804525bf1..f2534b5cbab 100644 --- a/gcc/testsuite/gcc.dg/attr-ms_struct-2.c +++ b/gcc/testsuite/gcc.dg/attr-ms_struct-2.c @@ -1,5 +1,5 @@ /* Test for MS structure sizes. */ -/* { dg-do run { target *-*-interix* *-*-mingw* *-*-cygwin* i?86-*-darwin* } } */ +/* { dg-do run { target *-*-mingw* *-*-cygwin* i?86-*-darwin* } } */ /* { dg-require-effective-target ilp32 } */ /* { dg-options "-std=gnu99" } */ diff --git a/gcc/testsuite/gcc.dg/attr-ms_struct-packed1.c b/gcc/testsuite/gcc.dg/attr-ms_struct-packed1.c index d885c6ff306..25388d26e2c 100644 --- a/gcc/testsuite/gcc.dg/attr-ms_struct-packed1.c +++ b/gcc/testsuite/gcc.dg/attr-ms_struct-packed1.c @@ -1,5 +1,5 @@ /* Test for MS structure with packed attribute. */ -/* { dg-do run { target *-*-interix* *-*-mingw* *-*-cygwin* i?86-*-darwin* } } +/* { dg-do run { target *-*-mingw* *-*-cygwin* i?86-*-darwin* } } /* { dg-options "-std=gnu99" } */ extern void abort (); diff --git a/gcc/testsuite/gcc.dg/bf-ms-attrib.c b/gcc/testsuite/gcc.dg/bf-ms-attrib.c index d62da2ad525..2da4f0320d6 100644 --- a/gcc/testsuite/gcc.dg/bf-ms-attrib.c +++ b/gcc/testsuite/gcc.dg/bf-ms-attrib.c @@ -3,7 +3,7 @@ posted to GCC-patches http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00577.html */ -/* { dg-do run { target *-*-interix* *-*-mingw* *-*-cygwin* } } */ +/* { dg-do run { target *-*-mingw* *-*-cygwin* } } */ /* We don't want the default "pedantic-errors" in this case, since we're testing nonstandard stuff to begin with. */ diff --git a/gcc/testsuite/gcc.dg/bf-ms-layout-2.c b/gcc/testsuite/gcc.dg/bf-ms-layout-2.c index 408ddbeb89e..53a55e603c7 100644 --- a/gcc/testsuite/gcc.dg/bf-ms-layout-2.c +++ b/gcc/testsuite/gcc.dg/bf-ms-layout-2.c @@ -5,7 +5,7 @@ posted to GCC-patches http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00577.html */ -/* { dg-do run { target *-*-interix* *-*-mingw* *-*-cygwin* i?86-*-darwin* } } */ +/* { dg-do run { target *-*-mingw* *-*-cygwin* i?86-*-darwin* } } */ /* { dg-options "-D_TEST_MS_LAYOUT" } */ /* This test uses the attribute instead of the command line option. */ diff --git a/gcc/testsuite/gcc.dg/bf-ms-layout-3.c b/gcc/testsuite/gcc.dg/bf-ms-layout-3.c index a4e9ab3ff6f..668a036677d 100644 --- a/gcc/testsuite/gcc.dg/bf-ms-layout-3.c +++ b/gcc/testsuite/gcc.dg/bf-ms-layout-3.c @@ -1,5 +1,5 @@ /* Test for MS bitfield layout */ -/* { dg-do run { target *-*-interix* *-*-mingw* *-*-cygwin* i?86-*-* x86_64-*-* } } */ +/* { dg-do run { target *-*-mingw* *-*-cygwin* i?86-*-* x86_64-*-* } } */ extern void abort(); diff --git a/gcc/testsuite/gcc.dg/bf-ms-layout.c b/gcc/testsuite/gcc.dg/bf-ms-layout.c index 109a01b0a07..54909d8b32e 100644 --- a/gcc/testsuite/gcc.dg/bf-ms-layout.c +++ b/gcc/testsuite/gcc.dg/bf-ms-layout.c @@ -5,7 +5,7 @@ posted to GCC-patches http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00577.html */ -/* { dg-do run { target *-*-interix* *-*-mingw* *-*-cygwin* i?86-*-darwin* } } */ +/* { dg-do run { target *-*-mingw* *-*-cygwin* i?86-*-darwin* } } */ /* { dg-options "-mms-bitfields -D_TEST_MS_LAYOUT" } */ #include diff --git a/gcc/testsuite/gcc.dg/bf-no-ms-layout.c b/gcc/testsuite/gcc.dg/bf-no-ms-layout.c index 7e55321820c..80f7f98c4b1 100644 --- a/gcc/testsuite/gcc.dg/bf-no-ms-layout.c +++ b/gcc/testsuite/gcc.dg/bf-no-ms-layout.c @@ -5,7 +5,7 @@ posted to GCC-patches http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00577.html */ -/* { dg-do run { target *-*-interix* *-*-mingw* *-*-cygwin* i?86-*-darwin } } */ +/* { dg-do run { target *-*-mingw* *-*-cygwin* i?86-*-darwin } } */ /* { dg-options "-mno-ms-bitfields" } */ #include diff --git a/gcc/testsuite/gcc.target/i386/bitfield1.c b/gcc/testsuite/gcc.target/i386/bitfield1.c index 00b7bfd716e..e4e06cb0c0f 100644 --- a/gcc/testsuite/gcc.target/i386/bitfield1.c +++ b/gcc/testsuite/gcc.target/i386/bitfield1.c @@ -2,7 +2,7 @@ // { dg-do run } // { dg-require-effective-target ia32 } // { dg-options "-O2" } -// { dg-options "-mno-align-double -mno-ms-bitfields" { target i?86-*-interix* i?86-*-cygwin* i?86-*-mingw*} } +// { dg-options "-mno-align-double -mno-ms-bitfields" { target i?86-*-cygwin* i?86-*-mingw*} } extern void abort (void); extern void exit (int); diff --git a/gcc/testsuite/gcc.target/i386/bitfield2.c b/gcc/testsuite/gcc.target/i386/bitfield2.c index e400598920a..db9d284449e 100644 --- a/gcc/testsuite/gcc.target/i386/bitfield2.c +++ b/gcc/testsuite/gcc.target/i386/bitfield2.c @@ -2,7 +2,7 @@ // { dg-do run } // { dg-require-effective-target ia32 } // { dg-options "-O2" } -// { dg-options "-mno-align-double -mno-ms-bitfields" { target i?86-*-interix* i?86-*-cygwin* i?86-*-mingw* } } +// { dg-options "-mno-align-double -mno-ms-bitfields" { target i?86-*-cygwin* i?86-*-mingw* } } extern void abort (void); extern void exit (int); diff --git a/gcc/testsuite/gcc.target/i386/bitfield3.c b/gcc/testsuite/gcc.target/i386/bitfield3.c index 1a161597cfe..3bee7cd3700 100644 --- a/gcc/testsuite/gcc.target/i386/bitfield3.c +++ b/gcc/testsuite/gcc.target/i386/bitfield3.c @@ -1,7 +1,6 @@ // Test for bitfield alignment in structs on IA-32 // { dg-do run } // { dg-options "-O2" } -// { dg-additional-options "-mno-align-double -mno-ms-bitfields" { target *-*-interix* } } // { dg-additional-options "-mno-ms-bitfields" { target *-*-mingw* } } extern void abort (void); diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 7c86f8c6313..d50e0bc22b3 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2016-06-21 Trevor Saunders + + * config.host: Remove interix support. + * config/i386/t-interix: Remove. + 2016-06-18 John David Anglin * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set diff --git a/libgcc/config.host b/libgcc/config.host index 7899216af6c..2f55fbdd84d 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -752,9 +752,6 @@ x86_64-*-mingw*) extra_parts="$extra_parts vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o" fi ;; -i[34567]86-*-interix[3-9]*) - tmake_file="$tmake_file i386/t-interix i386/t-chkstk" - ;; ia64*-*-elf*) extra_parts="$extra_parts crtbeginS.o crtendS.o crtfastmath.o" tmake_file="ia64/t-ia64 ia64/t-ia64-elf ia64/t-eh-ia64 t-crtfm" diff --git a/libgcc/config/i386/t-interix b/libgcc/config/i386/t-interix deleted file mode 100644 index 8889e7c6c63..00000000000 --- a/libgcc/config/i386/t-interix +++ /dev/null @@ -1,3 +0,0 @@ -# We need to override LIBGCC2_DEBUG_CFLAGS so libgcc2 will be -# built without debugging information -LIBGCC2_DEBUG_CFLAGS =