]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
remove support for targeting openbsd 2 or 3
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>
Tue, 21 Jun 2016 21:57:25 +0000 (21:57 +0000)
committerTrevor Saunders <tbsaunde@gcc.gnu.org>
Tue, 21 Jun 2016 21:57:25 +0000 (21:57 +0000)
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

contrib/ChangeLog
contrib/config-list.mk
gcc/ChangeLog
gcc/config.gcc
gcc/config/openbsd-oldgas.h [deleted file]
libgcc/ChangeLog
libgcc/config.host

index b1f94572b0250d98a443293a80e2fc667f2dc8cf..6b5494c7abcbcbd836a4f02b3f852208c4d173cf 100644 (file)
@@ -1,3 +1,7 @@
+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.
index 33d20060f19ce4b7d237cacecb4da918ff6c1698..33de2fc8c87f305e8c9b8c98be0a2e69e63eede7 100644 (file)
@@ -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 \
index c8cb5fc063d13ef80da4541fc308252d5b0e9053..228f08a1f53b9991b0f8de7db51b221da1ea97d5 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 34da23e5dd17937a84533eeee6708dd238bec4be..7b091fb756ca7afb0242c48a39fd15e2834d3074 100644 (file)
@@ -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 (file)
index 34e88bf..0000000
+++ /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}}"
-
index d50e0bc22b311cfa19d049c1cc8d749020bb657f..417dbdbe9548a3bd90a68845f95b9e3b7c06528d 100644 (file)
@@ -1,3 +1,7 @@
+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.
index 2f55fbdd84dd93c11e414ad2bbe5e2259d688c1c..0d9bb0d90da5fb2aeefaf640583a42696c960ae7 100644 (file)
@@ -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*)