From: Trevor Saunders Date: Tue, 21 Jun 2016 21:57:25 +0000 (+0000) Subject: remove support for targeting openbsd 2 or 3 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d980e73865448313fc6d47a0a48b8195f2100230;p=gcc.git remove support for targeting openbsd 2 or 3 contrib/ChangeLog: 2016-06-21 Trevor Saunders * config-list.mk: Stop testing openbsd3.0. libgcc/ChangeLog: 2016-06-21 Trevor Saunders * config.host: Remove support for openbsd 2 and 3. gcc/ChangeLog: 2016-06-21 Trevor Saunders * config.gcc: Remove support for openbsd 2 and 3. * config/openbsd-oldgas.h: Remove. From-SVN: r237661 --- diff --git a/contrib/ChangeLog b/contrib/ChangeLog index b1f94572b02..6b5494c7abc 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,7 @@ +2016-06-21 Trevor Saunders + + * config-list.mk: Stop testing openbsd3.0. + 2016-06-21 Trevor Saunders * config-list.mk: Remove interix target. diff --git a/contrib/config-list.mk b/contrib/config-list.mk index 33d20060f19..33de2fc8c87 100644 --- a/contrib/config-list.mk +++ b/contrib/config-list.mk @@ -49,9 +49,8 @@ LIST = aarch64-elf aarch64-linux-gnu aarch64-rtems \ i686-pc-linux-gnu i686-apple-darwin i686-apple-darwin9 i686-apple-darwin10 \ i486-freebsd4 i686-freebsd6 i686-kfreebsd-gnu \ i686-netbsdelf9 i686-knetbsd-gnuOPT-enable-obsolete \ - i686-openbsd i686-openbsd3.0OPT-enable-obsolete \ - i686-elf i686-kopensolaris-gnu i686-symbolics-gnu i686-pc-msdosdjgpp \ - i686-lynxos i686-nto-qnx \ + i686-openbsd i686-elf i686-kopensolaris-gnu i686-symbolics-gnu \ + i686-pc-msdosdjgpp i686-lynxos i686-nto-qnx \ i686-rtems i686-solaris2.10 i686-wrs-vxworks \ i686-wrs-vxworksae \ i686-cygwinOPT-enable-threads=yes i686-mingw32crt ia64-elf \ diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c8cb5fc063d..228f08a1f53 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-06-21 Trevor Saunders + + * config.gcc: Remove support for openbsd 2 and 3. + * config/openbsd-oldgas.h: Remove. + 2016-06-21 Trevor Saunders * config.gcc: Remove interix support. diff --git a/gcc/config.gcc b/gcc/config.gcc index 34da23e5dd1..7b091fb756c 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -237,8 +237,6 @@ md_file= # Obsolete configurations. case ${target} in *-knetbsd-* \ - | *-openbsd2* \ - | *-openbsd3* \ | avr-*rtems* \ | h8300-*rtems* \ | m32r-*rtems* \ @@ -804,10 +802,6 @@ case ${target} in thread_file='posix' ;; esac - case ${target} in - *-*-openbsd2.*|*-*-openbsd3.[012]) - tm_defines="${tm_defines} HAS_LIBC_R=1" ;; - esac case ${target} in *-*-openbsd4.[3-9]|*-*-openbsd[5-9]*) default_use_cxa_atexit=yes @@ -1451,14 +1445,6 @@ x86_64-*-netbsd*) tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/x86-64.h i386/netbsd64.h" extra_options="${extra_options} netbsd.opt netbsd-elf.opt" ;; -i[34567]86-*-openbsd2.*|i[34567]86-*openbsd3.[0123]) - tm_file="i386/i386.h i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h openbsd-oldgas.h openbsd.h i386/openbsd.h" - extra_options="${extra_options} openbsd.opt" - # needed to unconfuse gdb - tmake_file="${tmake_file} t-openbsd i386/t-openbsd" - # we need collect2 until our bug is fixed... - use_collect2=yes - ;; i[34567]86-*-openbsd*) tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h" tm_file="${tm_file} openbsd.h openbsd-stdint.h openbsd-libpthread.h i386/openbsdelf.h" diff --git a/gcc/config/openbsd-oldgas.h b/gcc/config/openbsd-oldgas.h deleted file mode 100644 index 34e88bfe0a4..00000000000 --- a/gcc/config/openbsd-oldgas.h +++ /dev/null @@ -1,26 +0,0 @@ -/* Generic settings for a.out OpenBSD systems. - Copyright (C) 2002-2016 Free Software Foundation, Inc. - Contributed by David E. O'Brien . - -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 -. */ - - -#define OBSD_OLD_GAS - -/* OpenBSD3.0 had no libpthread, pthreads lived in -lc_r */ -#define OBSD_LIB_SPEC "%{!shared:-lc%{pthread:_r}}" - diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index d50e0bc22b3..417dbdbe954 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,7 @@ +2016-06-21 Trevor Saunders + + * config.host: Remove support for openbsd 2 and 3. + 2016-06-21 Trevor Saunders * config.host: Remove interix support. diff --git a/libgcc/config.host b/libgcc/config.host index 2f55fbdd84d..0d9bb0d90da 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -603,8 +603,6 @@ i[34567]86-*-netbsdelf*) x86_64-*-netbsd*) tmake_file="${tmake_file} i386/t-crtstuff" ;; -i[34567]86-*-openbsd2.*|i[34567]86-*openbsd3.[0123]) - ;; i[34567]86-*-openbsd*) ;; x86_64-*-openbsd*)