summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4>2016-06-21 21:57:25 +0000
committertbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4>2016-06-21 21:57:25 +0000
commitb79c0f5e41cc6e534be0750242932342122c215b (patch)
tree51c459a5a12a8701de5609af52e6378513831c52
parent6905db525403545f758b2ba6c5e7096ef2fa311f (diff)
remove support for targeting openbsd 2 or 3
contrib/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config-list.mk: Stop testing openbsd3.0. libgcc/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config.host: Remove support for openbsd 2 and 3. gcc/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config.gcc: Remove support for openbsd 2 and 3. * config/openbsd-oldgas.h: Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237661 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--contrib/ChangeLog4
-rw-r--r--contrib/config-list.mk5
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config.gcc14
-rw-r--r--gcc/config/openbsd-oldgas.h26
-rw-r--r--libgcc/ChangeLog4
-rw-r--r--libgcc/config.host2
7 files changed, 15 insertions, 45 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index b1f94572b025..6b5494c7abcb 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,5 +1,9 @@
2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
+ * config-list.mk: Stop testing openbsd3.0.
+
+2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
+
* config-list.mk: Remove interix target.
2016-06-21 David Edelsohn <dje.gcc@gmail.com>
diff --git a/contrib/config-list.mk b/contrib/config-list.mk
index 33d20060f19c..33de2fc8c87f 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 c8cb5fc063d1..228f08a1f53b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
+ * config.gcc: Remove support for openbsd 2 and 3.
+ * config/openbsd-oldgas.h: Remove.
+
+2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
+
* config.gcc: Remove interix support.
* config/i386/i386-interix.h: Remove.
* config/i386/interix.opt: Remove.
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 34da23e5dd17..7b091fb756ca 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* \
@@ -805,10 +803,6 @@ case ${target} in
;;
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 34e88bfe0a40..000000000000
--- 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 <obrien@FreeBSD.org>.
-
-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 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 d50e0bc22b31..417dbdbe9548 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,5 +1,9 @@
2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
+ * config.host: Remove support for openbsd 2 and 3.
+
+2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
+
* config.host: Remove interix support.
* config/i386/t-interix: Remove.
diff --git a/libgcc/config.host b/libgcc/config.host
index 2f55fbdd84dd..0d9bb0d90da5 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*)