diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/config.gcc | 17 | ||||
-rw-r--r-- | gcc/config/i386/knetbsd-gnu.h | 21 | ||||
-rw-r--r-- | gcc/config/i386/knetbsd-gnu64.h | 26 | ||||
-rw-r--r-- | gcc/config/knetbsd-gnu.h | 35 | ||||
-rwxr-xr-x | gcc/configure | 10 | ||||
-rw-r--r-- | gcc/configure.ac | 2 |
7 files changed, 17 insertions, 102 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 228f08a..32c14a1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,13 @@ 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> + * config.gcc: Remove support for knetbsd. + * configure.ac: Likewise. + * config/i386/knetbsd-gnu.h: Remove. * config/i386/knetbsd-gnu64.h: Remove. + * config/knetbsd-gnu.h: Remove. + * configure: Regenerate. + +2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> + * config.gcc: Remove support for openbsd 2 and 3. * config/openbsd-oldgas.h: Remove. diff --git a/gcc/config.gcc b/gcc/config.gcc index 7b091fb..669cb9f 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -236,8 +236,7 @@ md_file= # Obsolete configurations. case ${target} in - *-knetbsd-* \ - | avr-*rtems* \ + avr-*rtems* \ | h8300-*rtems* \ | m32r-*rtems* \ | mep-* \ @@ -707,7 +706,7 @@ case ${target} in esac use_gcc_stdint=wrap ;; -*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu) +*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu) extra_options="$extra_options gnu-user.opt" gas=yes gnu_ld=yes @@ -716,7 +715,7 @@ case ${target} in esac tmake_file="t-slibgcc" case $target in - *-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-kopensolaris*-gnu) + *-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-kopensolaris*-gnu) :;; *-*-gnu*) native_system_header_dir=/include @@ -1459,7 +1458,7 @@ x86_64-*-openbsd*) gas=yes gnu_ld=yes ;; -i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu) +i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu) # Intel 80386's running GNU/* # with ELF format using glibc 2 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h gnu-user.h glibc-stdint.h" @@ -1515,9 +1514,6 @@ i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | i tm_file="${tm_file} i386/gnu-user-common.h i386/gnu-user.h i386/linux-common.h i386/linux.h" fi ;; - i[34567]86-*-knetbsd*-gnu) - tm_file="${tm_file} i386/gnu-user-common.h i386/gnu-user.h knetbsd-gnu.h i386/knetbsd-gnu.h" - ;; i[34567]86-*-kfreebsd*-gnu) tm_file="${tm_file} i386/gnu-user-common.h i386/gnu-user.h kfreebsd-gnu.h i386/kfreebsd-gnu.h" ;; @@ -1529,7 +1525,7 @@ i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | i ;; esac ;; -x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu) +x86_64-*-linux* | x86_64-*-kfreebsd*-gnu) tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h gnu-user.h glibc-stdint.h \ i386/x86-64.h i386/gnu-user-common.h i386/gnu-user64.h" case ${target} in @@ -1548,9 +1544,6 @@ x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu) x86_64-*-kfreebsd*-gnu) tm_file="${tm_file} kfreebsd-gnu.h i386/kfreebsd-gnu64.h" ;; - x86_64-*-knetbsd*-gnu) - tm_file="${tm_file} knetbsd-gnu.h i386/knetbsd-gnu64.h" - ;; esac tmake_file="${tmake_file} i386/t-linux64" x86_multilibs="${with_multilib_list}" diff --git a/gcc/config/i386/knetbsd-gnu.h b/gcc/config/i386/knetbsd-gnu.h deleted file mode 100644 index 51f8a0c..0000000 --- a/gcc/config/i386/knetbsd-gnu.h +++ /dev/null @@ -1,21 +0,0 @@ -/* Definitions for Intel 386 running kNetBSD-based GNU systems with ELF format - Copyright (C) 2004-2016 Free Software Foundation, Inc. - Contributed by Robert Millan. - -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 -<http://www.gnu.org/licenses/>. */ - -#define GNU_USER_LINK_EMULATION "elf_i386" diff --git a/gcc/config/i386/knetbsd-gnu64.h b/gcc/config/i386/knetbsd-gnu64.h deleted file mode 100644 index fb9e2c0..0000000 --- a/gcc/config/i386/knetbsd-gnu64.h +++ /dev/null @@ -1,26 +0,0 @@ -/* Definitions for AMD x86-64 running kNetBSD-based GNU systems with ELF format - Copyright (C) 2012-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 -<http://www.gnu.org/licenses/>. */ - -#define GNU_USER_LINK_EMULATION32 "elf_i386" -#define GNU_USER_LINK_EMULATION64 "elf_x86_64" -#define GNU_USER_LINK_EMULATIONX32 "elf32_x86_64" - -#define GNU_USER_DYNAMIC_LINKER32 "/lib/ld.so.1" -#define GNU_USER_DYNAMIC_LINKER64 "/lib/ld-knetbsd-x86-64.so.1" -#define GNU_USER_DYNAMIC_LINKERX32 "/lib/ld-knetbsd-x32.so.1" diff --git a/gcc/config/knetbsd-gnu.h b/gcc/config/knetbsd-gnu.h deleted file mode 100644 index 02b7488..0000000 --- a/gcc/config/knetbsd-gnu.h +++ /dev/null @@ -1,35 +0,0 @@ -/* Definitions for kNetBSD-based GNU systems with ELF format - Copyright (C) 2004-2016 Free Software Foundation, Inc. - Contributed by Robert Millan. - -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 -<http://www.gnu.org/licenses/>. */ - -#undef GNU_USER_TARGET_OS_CPP_BUILTINS -#define GNU_USER_TARGET_OS_CPP_BUILTINS() \ - do \ - { \ - builtin_define ("__NetBSD_kernel__"); \ - builtin_define ("__GLIBC__"); \ - builtin_define_std ("unix"); \ - builtin_assert ("system=unix"); \ - builtin_assert ("system=posix"); \ - } \ - while (0) - - -#undef GNU_USER_DYNAMIC_LINKER -#define GNU_USER_DYNAMIC_LINKER "/lib/ld.so.1" diff --git a/gcc/configure b/gcc/configure index 5648eca..9b1a404 100755 --- a/gcc/configure +++ b/gcc/configure @@ -5033,10 +5033,6 @@ case "${target}" 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. @@ -18479,7 +18475,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 18482 "configure" +#line 18478 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -18585,7 +18581,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 18588 "configure" +#line 18584 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -28517,7 +28513,7 @@ else *-*-musl*) # All versions of musl provide stack protector gcc_cv_libc_provides_ssp=yes;; - *-*-linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu) + *-*-linux* | *-*-kfreebsd*-gnu) # glibc 2.4 and later provides __stack_chk_fail and # either __stack_chk_guard, or TLS access to stack guard canary. diff --git a/gcc/configure.ac b/gcc/configure.ac index af40895..1bcb6f53 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -5495,7 +5495,7 @@ AC_CACHE_CHECK(__stack_chk_fail in target C library, *-*-musl*) # All versions of musl provide stack protector gcc_cv_libc_provides_ssp=yes;; - *-*-linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu) + *-*-linux* | *-*-kfreebsd*-gnu) # glibc 2.4 and later provides __stack_chk_fail and # either __stack_chk_guard, or TLS access to stack guard canary. GCC_GLIBC_VERSION_GTE_IFELSE([2], [4], [gcc_cv_libc_provides_ssp=yes], [ |