This removes m68k-openbsd as a valid configuration, according
to openbsd.org m68k-openbsd [on the mac] was discontinued after
the 5.1 release.  The configuration is also not (or no longer)
supported by gas and GNU ld so I could not figure whether it is still
a.out (I suspect it is).  But first and foremost the target only supports
STABS as a debugging format.

OK for trunk?

Thanks,
Richard.

2021-09-13  Richard Biener  <rguent...@suse.de>

        * config.gcc: Remove m68k-openbsd.

contrib/
        * config-list.mk: Remove m68k-openbsd.
---
 contrib/config-list.mk |  2 +-
 gcc/config.gcc         | 12 +-----------
 2 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/contrib/config-list.mk b/contrib/config-list.mk
index b493e69f5d6..8b1a2c67b60 100644
--- a/contrib/config-list.mk
+++ b/contrib/config-list.mk
@@ -58,7 +58,7 @@ LIST = aarch64-elf aarch64-linux-gnu aarch64-rtems \
   ia64-freebsd6 ia64-linux ia64-hpux ia64-hp-vms iq2000-elf lm32-elf \
   lm32-rtems lm32-uclinux m32c-rtems m32c-elf m32r-elf m32rle-elf \
   m32r-linux m32rle-linux m68k-elf m68k-netbsdelf \
-  m68k-openbsd m68k-uclinux m68k-linux m68k-rtems \
+  m68k-uclinux m68k-linux m68k-rtems \
   mcore-elf microblaze-linux microblaze-elf \
   mips-netbsd \
   mips64el-st-linux-gnu mips64octeon-linux mipsisa64r2-linux \
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 84de1a3f691..5e38803d275 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -277,6 +277,7 @@ case ${target} in
  | crisv32-*-*                         \
  | i[34567]86-go32-*                   \
  | i[34567]86-*-go32*                  \
+ | m68k*-*-openbsd*                    \
  | m68k-*-uclinuxoldabi*               \
  | mips64orion*-*-rtems*               \
  | pdp11-*-bsd                         \
@@ -2356,17 +2357,6 @@ m68k*-*-netbsdelf*)
        extra_options="${extra_options} netbsd.opt netbsd-elf.opt"
        tm_defines="${tm_defines} MOTOROLA=1 CHAR_FAST8=1 SHORT_FAST16=1"
        ;;
-m68k*-*-openbsd*)
-       default_m68k_cpu=68020
-       default_cf_cpu=5475
-       # needed to unconfuse gdb
-       tm_defines="${tm_defines} OBSD_OLD_GAS"
-       tm_file="${tm_file} openbsd.h openbsd-stdint.h openbsd-libpthread.h 
m68k/openbsd.h"
-       extra_options="${extra_options} openbsd.opt"
-       tmake_file="t-openbsd m68k/t-openbsd"
-       # we need collect2 until our bug is fixed...
-       use_collect2=yes
-       ;;
 m68k-*-uclinux*)               # Motorola m68k/ColdFire running uClinux
                                # with uClibc, using the new GNU/Linux-style
                                # ABI.
-- 
2.31.1

Reply via email to