aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>2016-06-21 21:57:25 +0000
committerTrevor Saunders <tbsaunde@gcc.gnu.org>2016-06-21 21:57:25 +0000
commitd980e73865448313fc6d47a0a48b8195f2100230 (patch)
tree51c459a5a12a8701de5609af52e6378513831c52 /gcc
parentee2499b4d4fe5897d83a315fa0064ee89067f230 (diff)
downloadgcc-d980e73865448313fc6d47a0a48b8195f2100230.zip
gcc-d980e73865448313fc6d47a0a48b8195f2100230.tar.gz
gcc-d980e73865448313fc6d47a0a48b8195f2100230.tar.bz2
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. From-SVN: r237661
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config.gcc14
-rw-r--r--gcc/config/openbsd-oldgas.h26
3 files changed, 5 insertions, 40 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c8cb5fc..228f08a 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 34da23e..7b091fb 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 34e88bf..0000000
--- 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}}"
-