From 40be168cc419152df5cfae01caae415f52ffb4de Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 15 Jun 2020 14:46:01 +0930 Subject: [PATCH] Obsolete PowerPC PE, winnt and cygwin targets The PowerPC PE support is so old and bitrotted that it ought to be removed. Test results for a cross from x86_64 with no C cross compiler currently shows 109 fails. I don't think anyone cares about the target. This FIXME in bfd/peXXigen.c has been around since 1999, git commit 277d1b5e453: /* FIXME: This file has various tests of POWERPC_LE_PE. Those tests worked when the code was in peicode.h, but no longer work now that the code is in peigen.c. PowerPC NT is said to be dead. If anybody wants to revive the code, you will have to figure out how to handle those issues. */ and this one in gas/config/tc-ppc.c since 1995, git commit cd557d83d61: * FIXME: I just noticed this. This doesn't work at all really. It it * setting bits that bfd probably neither understands or uses. The * correct approach (?) will have to incorporate extra fields attached * to the section to hold the system specific stuff. (krk) * config.bfd: Obsolete powerpcle-*-pe targets. --- bfd/ChangeLog | 4 ++++ bfd/config.bfd | 1 + 2 files changed, 5 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index fe04699b45f..6543260b298 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2020-06-15 Alan Modra + + * config.bfd: Obsolete powerpcle-*-pe targets. + 2020-06-15 Alan Modra PR 26103 diff --git a/bfd/config.bfd b/bfd/config.bfd index 40f259c92aa..231e6f155d5 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -53,6 +53,7 @@ case $targ in echo "*** Use or1k-*-elf or or1k-*-linux as the target instead" >&2 exit 1 ;; + powerpcle-*-pe | powerpcle-*-winnt* | powerpcle-*-cygwin* | \ null) if test "x$enable_obsolete" != xyes; then echo "*** Configuration $targ is obsolete." >&2 -- 2.30.2