]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/config.gcc
remove support for targeting openbsd 2 or 3
[thirdparty/gcc.git] / gcc / config.gcc
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"