public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Richard Biener <rguenther@suse.de>
To: gcc-patches@gcc.gnu.org
Cc: jeffreyalaw@gmail.com, schwab@linux-m68k.org
Subject: [PATCH] Remove m68k-openbsd support
Date: Mon, 13 Sep 2021 13:36:04 +0200 (CEST)	[thread overview]
Message-ID: <38p7orp-51s1-7rp9-o21r-p2p5q03pp36@fhfr.qr> (raw)

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  <rguenther@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	other threads:[~2021-09-13 11:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-13 11:36 Richard Biener [this message]
2021-09-13 13:11 ` Jeff Law

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=38p7orp-51s1-7rp9-o21r-p2p5q03pp36@fhfr.qr \
    --to=rguenther@suse.de \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jeffreyalaw@gmail.com \
    --cc=schwab@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).