git: 10b96277e5d9 - main - cleanup: Remove expired ports:

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Thu, 30 Jun 2022 20:33:13 UTC
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=10b96277e5d911a7461dabfa9719d1a68bd33bf6

commit 10b96277e5d911a7461dabfa9719d1a68bd33bf6
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2022-06-30 20:33:06 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2022-06-30 20:33:06 +0000

    cleanup: Remove expired ports:
    
    2022-06-30 devel/psptoolchain: Security issues for multiple years
    2022-06-30 devel/psptoolchain-binutils: Security issues for multiple years
    2022-06-30 devel/psptoolchain-newlib: Security issues for multiple years
    2022-06-30 devel/psptoolchain-gdb: Security issues for multiple years
    2022-06-30 devel/psptoolchain-gcc-stage1: Security issues for multiple years
    2022-06-30 devel/psptoolchain-pspsdk-stage1: Security issues for multiple years
    2022-06-30 devel/psptoolchain-pspsdk-stage2: Security issues for multiple years
    2022-06-30 devel/psptoolchain-gcc-stage2: Security issues for multiple years
---
 MOVED                                              |    8 +
 devel/Makefile                                     |    8 -
 devel/psptoolchain-binutils/Makefile               |   46 -
 devel/psptoolchain-binutils/distinfo               |    2 -
 .../files/patch-bfd-archures.c                     |   10 -
 .../files/patch-bfd-bfd-in2.h                      |   10 -
 .../files/patch-bfd-cpu-mips.c                     |   18 -
 .../files/patch-bfd-elfxx-mips.c                   |   41 -
 .../files/patch-bfd-version.h                      |    8 -
 .../files/patch-binutils-readelf.c                 |   15 -
 devel/psptoolchain-binutils/files/patch-config.sub |   29 -
 devel/psptoolchain-binutils/files/patch-configure  |   19 -
 .../files/patch-gas-config-tc-mips.c               | 1867 --------
 .../files/patch-gas-configure                      |   12 -
 .../files/patch-gas-configure.in                   |   12 -
 .../files/patch-gas-testsuite-gas-mips-mips.exp    |   12 -
 .../files/patch-include-elf-common.h               |   10 -
 .../files/patch-include-elf-mips.h                 |   10 -
 .../files/patch-include-opcode-mips.h              |  358 --
 .../files/patch-include-opcode-vfpu.h              |  264 --
 .../files/patch-ld-Makefile.am                     |   20 -
 .../files/patch-ld-Makefile.in                     |   20 -
 .../files/patch-ld-configure.tgt                   |   11 -
 .../patch-ld-emulparams-elf_mipsallegrexel_psp.sh  |   25 -
 .../files/patch-ld-scripttempl-elf_psp.sc          |  499 --
 .../files/patch-opcodes-mips-dis.c                 |  556 ---
 .../files/patch-opcodes-mips-opc.c                 |  624 ---
 devel/psptoolchain-binutils/pkg-descr              |    4 -
 devel/psptoolchain-binutils/pkg-plist              |   69 -
 devel/psptoolchain-gcc-stage1/Makefile             |   86 -
 devel/psptoolchain-gcc-stage1/distinfo             |    3 -
 .../psptoolchain-gcc-stage1/files/patch-config.sub |   29 -
 .../files/patch-gcc_config.gcc                     |   21 -
 .../files/patch-gcc_config_mips_allegrex.md        |  175 -
 .../files/patch-gcc_config_mips_mips-cpus.def      |   10 -
 .../files/patch-gcc_config_mips_mips-ftypes.def    |   20 -
 .../files/patch-gcc_config_mips_mips.c             |  184 -
 .../files/patch-gcc_config_mips_mips.h             |  104 -
 .../files/patch-gcc_config_mips_mips.md            |  142 -
 .../files/patch-gcc_config_mips_mips.opt           |   12 -
 .../files/patch-gcc_config_mips_psp.h              |   34 -
 .../files/patch-gcc_config_mips_t-allegrex         |   32 -
 .../files/patch-gcc_cp_cfns.gperf                  |   12 -
 .../files/patch-gcc_cp_cfns.h                      |   12 -
 .../files/patch-gcc_system.h                       |   10 -
 .../files/patch-gcc_tree-vect-loop.c               |   11 -
 .../files/patch-libcpp_Makefile.in                 |   13 -
 .../files/patch-libcpp_lex.c                       |   25 -
 .../files/patch-libgcc_config.host                 |   35 -
 .../files/patch-libgcc_config_mips_psp.h           |   34 -
 .../files/patch-libgcc_config_mips_t-allegrex      |   23 -
 .../files/patch-libgcc_config_t-hardfp             |   42 -
 .../files/patch-libgcc_config_t-hardfp-sf          |   35 -
 .../files/patch-libgcc_configure                   |   29 -
 .../files/patch-libgcc_configure.ac                |   17 -
 .../files/patch-libgcc_crtstuff.c                  |   11 -
 devel/psptoolchain-gcc-stage1/pkg-descr            |    4 -
 devel/psptoolchain-gcc-stage1/pkg-plist            |  247 -
 devel/psptoolchain-gcc-stage2/Makefile             |   31 -
 devel/psptoolchain-gcc-stage2/pkg-plist            |  944 ----
 devel/psptoolchain-gdb/Makefile                    |   40 -
 devel/psptoolchain-gdb/distinfo                    |    2 -
 devel/psptoolchain-gdb/files/patch-bfd-archures.c  |   10 -
 devel/psptoolchain-gdb/files/patch-bfd-bfd-in2.h   |   10 -
 devel/psptoolchain-gdb/files/patch-bfd-cpu-mips.c  |   18 -
 .../psptoolchain-gdb/files/patch-bfd-elfxx-mips.c  |   30 -
 devel/psptoolchain-gdb/files/patch-bfd-sysdep.h    |   11 -
 devel/psptoolchain-gdb/files/patch-config.sub      |   29 -
 .../files/patch-include-elf-common.h               |   10 -
 .../files/patch-include-elf-mips.h                 |   10 -
 .../files/patch-include-opcode-mips.h              |  194 -
 .../files/patch-opcodes-mips-dis.c                 |  557 ---
 .../files/patch-opcodes-mips-opc.c                 |  600 ---
 .../files/patch-sim-common-sim-signal.c            |   11 -
 devel/psptoolchain-gdb/pkg-descr                   |    4 -
 devel/psptoolchain-gdb/pkg-plist                   |   22 -
 devel/psptoolchain-newlib/Makefile                 |   52 -
 devel/psptoolchain-newlib/distinfo                 |    2 -
 devel/psptoolchain-newlib/files/patch-config.sub   |   29 -
 devel/psptoolchain-newlib/files/patch-configure    |   12 -
 devel/psptoolchain-newlib/files/patch-configure.ac |   12 -
 .../files/patch-newlib-Makefile.am                 |   21 -
 .../files/patch-newlib-Makefile.in                 |   21 -
 .../files/patch-newlib-configure.host              |   24 -
 .../files/patch-newlib-libc-include-machine-time.h |   13 -
 .../files/patch-newlib-libc-include-stdint.h       |   15 -
 .../files/patch-newlib-libc-include-sys-config.h   |   15 -
 .../files/patch-newlib-libc-include-sys-types.h    |   18 -
 .../files/patch-newlib-libc-include-sys-unistd.h   |   18 -
 .../files/patch-newlib-libc-sys-configure          |   19 -
 .../files/patch-newlib-libc-sys-configure.in       |   10 -
 .../files/patch-newlib-libc-sys-psp-Makefile.am    |   74 -
 .../files/patch-newlib-libc-sys-psp-Makefile.in    |  471 --
 .../files/patch-newlib-libc-sys-psp-README         |   18 -
 .../files/patch-newlib-libc-sys-psp-aclocal.m4     |  995 ----
 .../files/patch-newlib-libc-sys-psp-arpa-inet.h    |   29 -
 .../files/patch-newlib-libc-sys-psp-confdefs.h     |    4 -
 .../files/patch-newlib-libc-sys-psp-configure      | 4748 --------------------
 .../files/patch-newlib-libc-sys-psp-configure.in   |   17 -
 .../files/patch-newlib-libc-sys-psp-crt0.c         |    6 -
 .../files/patch-newlib-libc-sys-psp-fdman.c        |  118 -
 .../files/patch-newlib-libc-sys-psp-fdman.h        |   47 -
 .../patch-newlib-libc-sys-psp-include-netdb.h      |   39 -
 .../files/patch-newlib-libc-sys-psp-interrupt.S    |   69 -
 .../files/patch-newlib-libc-sys-psp-libcglue.c     |  972 ----
 .../files/patch-newlib-libc-sys-psp-netdb.c        |  106 -
 .../files/patch-newlib-libc-sys-psp-netinet-in.h   |  274 --
 .../files/patch-newlib-libc-sys-psp-netinet-tcp.h  |   15 -
 .../files/patch-newlib-libc-sys-psp-pipe.c         |  308 --
 .../files/patch-newlib-libc-sys-psp-pspcwd.c       |  169 -
 .../files/patch-newlib-libc-sys-psp-select.c       |  202 -
 .../files/patch-newlib-libc-sys-psp-socket.c       |  393 --
 .../files/patch-newlib-libc-sys-psp-sys-dirent.h   |   42 -
 .../files/patch-newlib-libc-sys-psp-sys-errno.h    |  161 -
 .../files/patch-newlib-libc-sys-psp-sys-fd_set.h   |   72 -
 .../files/patch-newlib-libc-sys-psp-sys-ioctl.h    |    4 -
 .../files/patch-newlib-libc-sys-psp-sys-select.h   |   57 -
 .../files/patch-newlib-libc-sys-psp-sys-socket.h   |  297 --
 .../files/patch-newlib-libc-sys-psp-syscalls.c     |   22 -
 .../files/patch-newlib-libc-sys-psp-xprintf.c      |  987 ----
 devel/psptoolchain-newlib/pkg-descr                |    4 -
 devel/psptoolchain-newlib/pkg-plist                |  114 -
 devel/psptoolchain-pspsdk-stage1/Makefile          |   42 -
 devel/psptoolchain-pspsdk-stage1/distinfo          |    2 -
 .../files/patch-tools-PrxEncrypter-kirk_engine.c   |   10 -
 devel/psptoolchain-pspsdk-stage1/pkg-descr         |    4 -
 devel/psptoolchain-pspsdk-stage1/pkg-plist         |  316 --
 devel/psptoolchain-pspsdk-stage2/Makefile          |   31 -
 devel/psptoolchain-pspsdk-stage2/pkg-plist         |  395 --
 devel/psptoolchain/Makefile                        |   32 -
 devel/psptoolchain/pkg-descr                       |    4 -
 131 files changed, 8 insertions(+), 20475 deletions(-)

diff --git a/MOVED b/MOVED
index 9b7d6e01a439..95aec0f9a63c 100644
--- a/MOVED
+++ b/MOVED
@@ -17454,3 +17454,11 @@ multimedia/sabbu||2022-06-30|Has expired: please consider using multimedia/aegis
 multimedia/avinfo||2022-06-30|Has expired: Last release in 2008, please consider using multimedia/mediainfo or multimedia/ffmpeg instead
 audio/asterisk-espeak||2022-06-30|Has expired: Depends on deprecated audio/espeaak
 multimedia/mpgtx||2022-06-30|Has expired: Obsolete, please consider using multimedia/ffmpeg
+devel/psptoolchain||2022-06-30|Has expired: Security issues for multiple years
+devel/psptoolchain-binutils||2022-06-30|Has expired: Security issues for multiple years
+devel/psptoolchain-newlib||2022-06-30|Has expired: Security issues for multiple years
+devel/psptoolchain-gdb||2022-06-30|Has expired: Security issues for multiple years
+devel/psptoolchain-gcc-stage1||2022-06-30|Has expired: Security issues for multiple years
+devel/psptoolchain-pspsdk-stage1||2022-06-30|Has expired: Security issues for multiple years
+devel/psptoolchain-pspsdk-stage2||2022-06-30|Has expired: Security issues for multiple years
+devel/psptoolchain-gcc-stage2||2022-06-30|Has expired: Security issues for multiple years
diff --git a/devel/Makefile b/devel/Makefile
index 1d52276db101..bd23d27160e4 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4051,14 +4051,6 @@
     SUBDIR += protozero
     SUBDIR += pructl
     SUBDIR += psimd
-    SUBDIR += psptoolchain
-    SUBDIR += psptoolchain-binutils
-    SUBDIR += psptoolchain-gcc-stage1
-    SUBDIR += psptoolchain-gcc-stage2
-    SUBDIR += psptoolchain-gdb
-    SUBDIR += psptoolchain-newlib
-    SUBDIR += psptoolchain-pspsdk-stage1
-    SUBDIR += psptoolchain-pspsdk-stage2
     SUBDIR += pstreams
     SUBDIR += psvn
     SUBDIR += pth
diff --git a/devel/psptoolchain-binutils/Makefile b/devel/psptoolchain-binutils/Makefile
deleted file mode 100644
index 076f5cb8e206..000000000000
--- a/devel/psptoolchain-binutils/Makefile
+++ /dev/null
@@ -1,46 +0,0 @@
-# Created by: Tassilo Philipp <tphilipp@potion-studios.com>
-
-PORTNAME=	binutils
-PORTVERSION=	2.22
-PORTREVISION=	1
-CATEGORIES=	devel
-MASTER_SITES=	GNU \
-		SOURCEWARE/${PORTNAME}/releases
-PKGNAMEPREFIX=	psptoolchain-
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	PlayStation Portable development toolchain ${PORTNAME}
-
-LICENSE=	GPLv3 LGPL3
-LICENSE_COMB=	multi
-
-DEPRECATED=	Security issues for multiple years
-EXPIRATION_DATE=2022-06-30
-
-BROKEN_mips64=		fails to package: ansidecl.h: No such file or directory
-
-USES=		cpe gmake tar:bzip2 libtool
-CPE_VENDOR=	gnu
-
-HAS_CONFIGURE=	yes
-CONFIGURE_TARGET=	${ARCH:S/aarch64/arm64/:S/amd64/x86_64/:C/armv[0-9]+/arm/:C/powerpc64.*/powerpc/:S/riscv64/riscv/}-unknown-${OPSYS:tl}${OSREL}
-CONFIGURE_ARGS=	--prefix=${PREFIX} \
-		--target="psp" \
-		--enable-install-libbfd \
-		--disable-werror \
-		--disable-nls \
-		--mandir=${PREFIX}/man
-PLIST_SUB=	CONFIGURE_TARGET="${CONFIGURE_TARGET}"
-
-# Disable installation of .info files and libiberty.
-post-patch:
-	@${REINPLACE_CMD} -E 's/^(install-data-am:)(.*)install-info-am(.*)/\1 \2 \3/' \
-		${WRKSRC}/ld/Makefile.in
-	@${REINPLACE_CMD} -E 's/^(install-info:)(.*install-info-am.*)/\1#\2/' \
-		${WRKSRC}/gas/doc/Makefile.in \
-		${WRKSRC}/bfd/doc/Makefile.in \
-		${WRKSRC}/binutils/doc/Makefile.in
-	@${REINPLACE_CMD} -E 's/^(install:)(.*)/\1#\2/' ${WRKSRC}/libiberty/Makefile.in
-	@${REINPLACE_CMD} -E 's,^(install.*:)(.*)install-info(.*),\1 \2 \3,' ${WRKSRC}/etc/Makefile.in
-
-.include <bsd.port.mk>
diff --git a/devel/psptoolchain-binutils/distinfo b/devel/psptoolchain-binutils/distinfo
deleted file mode 100644
index e335740cce29..000000000000
--- a/devel/psptoolchain-binutils/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (binutils-2.22.tar.bz2) = 6c7af8ed1c8cf9b4b9d6e6fe09a3e1d3d479fe63984ba8b9b26bf356b6313ca9
-SIZE (binutils-2.22.tar.bz2) = 19973532
diff --git a/devel/psptoolchain-binutils/files/patch-bfd-archures.c b/devel/psptoolchain-binutils/files/patch-bfd-archures.c
deleted file mode 100644
index 2e81fc0f418a..000000000000
--- a/devel/psptoolchain-binutils/files/patch-bfd-archures.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- ./bfd/archures.c.orig	2011-08-01 23:04:19.000000000 +0000
-+++ ./bfd/archures.c	2012-01-21 13:31:35.000000000 +0000
-@@ -175,6 +175,7 @@
- .#define bfd_mach_mips_loongson_2f      3002
- .#define bfd_mach_mips_loongson_3a      3003
- .#define bfd_mach_mips_sb1              12310201 {* octal 'SB', 01 *}
-+.#define bfd_mach_mips_allegrex         10111431 {* octal 'AL', 31 *}
- .#define bfd_mach_mips_octeon		6501
- .#define bfd_mach_mips_xlr              887682   {* decimal 'XLR'  *}
- .#define bfd_mach_mipsisa32             32
diff --git a/devel/psptoolchain-binutils/files/patch-bfd-bfd-in2.h b/devel/psptoolchain-binutils/files/patch-bfd-bfd-in2.h
deleted file mode 100644
index 81b0f7138424..000000000000
--- a/devel/psptoolchain-binutils/files/patch-bfd-bfd-in2.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- ./bfd/bfd-in2.h.orig	2011-09-16 01:15:18.000000000 +0000
-+++ ./bfd/bfd-in2.h	2012-01-21 13:31:35.000000000 +0000
-@@ -1882,6 +1882,7 @@
- #define bfd_mach_mips_loongson_2f      3002
- #define bfd_mach_mips_loongson_3a      3003
- #define bfd_mach_mips_sb1              12310201 /* octal 'SB', 01 */
-+#define bfd_mach_mips_allegrex         10111431 /* octal 'AL', 31 */
- #define bfd_mach_mips_octeon           6501
- #define bfd_mach_mips_xlr              887682   /* decimal 'XLR'  */
- #define bfd_mach_mipsisa32             32
diff --git a/devel/psptoolchain-binutils/files/patch-bfd-cpu-mips.c b/devel/psptoolchain-binutils/files/patch-bfd-cpu-mips.c
deleted file mode 100644
index 5ba46c6c229f..000000000000
--- a/devel/psptoolchain-binutils/files/patch-bfd-cpu-mips.c
+++ /dev/null
@@ -1,18 +0,0 @@
---- ./bfd/cpu-mips.c.orig	2011-07-24 14:20:05.000000000 +0000
-+++ ./bfd/cpu-mips.c	2012-01-21 13:31:35.000000000 +0000
-@@ -89,6 +89,7 @@
-   I_mipsisa64,
-   I_mipsisa64r2,
-   I_sb1,
-+  I_allegrex,
-   I_loongson_2e,
-   I_loongson_2f,
-   I_loongson_3a,
-@@ -130,6 +131,7 @@
-   N (64, 64, bfd_mach_mipsisa64,  "mips:isa64",   FALSE, NN(I_mipsisa64)),
-   N (64, 64, bfd_mach_mipsisa64r2,"mips:isa64r2", FALSE, NN(I_mipsisa64r2)),
-   N (64, 64, bfd_mach_mips_sb1, "mips:sb1",       FALSE, NN(I_sb1)),
-+  N (32, 32, bfd_mach_mips_allegrex, "mips:allegrex", FALSE, NN(I_allegrex)),
-   N (64, 64, bfd_mach_mips_loongson_2e, "mips:loongson_2e",       FALSE, NN(I_loongson_2e)),
-   N (64, 64, bfd_mach_mips_loongson_2f, "mips:loongson_2f",       FALSE, NN(I_loongson_2f)),
-   N (64, 64, bfd_mach_mips_loongson_3a, "mips:loongson_3a",       FALSE, NN(I_loongson_3a)),
diff --git a/devel/psptoolchain-binutils/files/patch-bfd-elfxx-mips.c b/devel/psptoolchain-binutils/files/patch-bfd-elfxx-mips.c
deleted file mode 100644
index 5717296eacdd..000000000000
--- a/devel/psptoolchain-binutils/files/patch-bfd-elfxx-mips.c
+++ /dev/null
@@ -1,41 +0,0 @@
---- ./bfd/elfxx-mips.c.orig	2011-11-21 09:29:27.000000000 +0000
-+++ ./bfd/elfxx-mips.c	2012-01-21 13:31:35.000000000 +0000
-@@ -6173,14 +6173,19 @@
-     case E_MIPS_MACH_SB1:
-       return bfd_mach_mips_sb1;
- 
-+    case E_MIPS_MACH_ALLEGREX:
-+      return bfd_mach_mips_allegrex;
-+
-     case E_MIPS_MACH_LS2E:
-       return bfd_mach_mips_loongson_2e;
- 
-     case E_MIPS_MACH_LS2F:
-       return bfd_mach_mips_loongson_2f;
- 
-+    /*
-     case E_MIPS_MACH_LS3A:
-       return bfd_mach_mips_loongson_3a;
-+    */
- 
-     case E_MIPS_MACH_OCTEON:
-       return bfd_mach_mips_octeon;
-@@ -10882,6 +10887,10 @@
-       val = E_MIPS_ARCH_64 | E_MIPS_MACH_SB1;
-       break;
- 
-+    case bfd_mach_mips_allegrex:
-+      val = E_MIPS_ARCH_2 | E_MIPS_MACH_ALLEGREX;
-+      break;
-+
-     case bfd_mach_mips_loongson_3a:
-       val = E_MIPS_ARCH_64 | E_MIPS_MACH_LS3A;
-       break;
-@@ -13544,6 +13553,7 @@
-   /* MIPS II extensions.  */
-   { bfd_mach_mips4000, bfd_mach_mips6000 },
-   { bfd_mach_mipsisa32, bfd_mach_mips6000 },
-+  { bfd_mach_mips_allegrex, bfd_mach_mips6000 },
- 
-   /* MIPS I extensions.  */
-   { bfd_mach_mips6000, bfd_mach_mips3000 },
diff --git a/devel/psptoolchain-binutils/files/patch-bfd-version.h b/devel/psptoolchain-binutils/files/patch-bfd-version.h
deleted file mode 100644
index b6cb299becf1..000000000000
--- a/devel/psptoolchain-binutils/files/patch-bfd-version.h
+++ /dev/null
@@ -1,8 +0,0 @@
---- ./bfd/version.h.orig	2011-11-21 09:29:28.000000000 +0000
-+++ ./bfd/version.h	2012-01-21 13:31:35.000000000 +0000
-@@ -1,4 +1,4 @@
--#define BFD_VERSION_DATE 20111121
-+#define BFD_VERSION_DATE (PSNPT 20120103)
- #define BFD_VERSION @bfd_version@
- #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
- #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/devel/psptoolchain-binutils/files/patch-binutils-readelf.c b/devel/psptoolchain-binutils/files/patch-binutils-readelf.c
deleted file mode 100644
index 46548ca5e043..000000000000
--- a/devel/psptoolchain-binutils/files/patch-binutils-readelf.c
+++ /dev/null
@@ -1,15 +0,0 @@
---- ./binutils/readelf.c.orig	2011-09-21 20:49:13.000000000 +0000
-+++ ./binutils/readelf.c	2012-01-21 13:31:35.000000000 +0000
-@@ -2395,10 +2395,11 @@
- 	    case E_MIPS_MACH_9000: strcat (buf, ", 9000"); break;
-   	    case E_MIPS_MACH_LS2E: strcat (buf, ", loongson-2e"); break;
-   	    case E_MIPS_MACH_LS2F: strcat (buf, ", loongson-2f"); break;
--  	    case E_MIPS_MACH_LS3A: strcat (buf, ", loongson-3a"); break;
-+  	    /* case E_MIPS_MACH_LS3A: strcat (buf, ", loongson-3a"); break; */
- 	    case E_MIPS_MACH_OCTEON: strcat (buf, ", octeon"); break;
- 	    case E_MIPS_MACH_OCTEON2: strcat (buf, ", octeon2"); break;
- 	    case E_MIPS_MACH_XLR:  strcat (buf, ", xlr"); break;
-+	    case E_MIPS_MACH_ALLEGREX: strcat(buf, ", allegrex"); break;
- 	    case 0:
- 	    /* We simply ignore the field in this case to avoid confusion:
- 	       MIPS ELF does not specify EF_MIPS_MACH, it is a GNU
diff --git a/devel/psptoolchain-binutils/files/patch-config.sub b/devel/psptoolchain-binutils/files/patch-config.sub
deleted file mode 100644
index c13c029fc6cb..000000000000
--- a/devel/psptoolchain-binutils/files/patch-config.sub
+++ /dev/null
@@ -1,29 +0,0 @@
---- ./config.sub.orig	2011-06-06 10:36:06.000000000 +0000
-+++ ./config.sub	2012-01-21 13:31:35.000000000 +0000
-@@ -279,6 +279,7 @@
- 	| mipsisa64sb1 | mipsisa64sb1el \
- 	| mipsisa64sr71k | mipsisa64sr71kel \
- 	| mipstx39 | mipstx39el \
-+	| mipsallegrex | mipsallegrexel \
- 	| mn10200 | mn10300 \
- 	| moxie \
- 	| mt \
-@@ -389,6 +390,7 @@
- 	| mipsisa64sb1-* | mipsisa64sb1el-* \
- 	| mipsisa64sr71k-* | mipsisa64sr71kel-* \
- 	| mipstx39-* | mipstx39el-* \
-+	| mipsallegrex-* | mipsallegrexel-* \
- 	| mmix-* \
- 	| mt-* \
- 	| msp430-* \
-@@ -788,6 +790,10 @@
- 		basic_machine=m68k-atari
- 		os=-mint
- 		;;
-+	psp)
-+		basic_machine=mipsallegrexel-psp
-+		os=-elf
-+		;;
- 	mips3*-*)
- 		basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
- 		;;
diff --git a/devel/psptoolchain-binutils/files/patch-configure b/devel/psptoolchain-binutils/files/patch-configure
deleted file mode 100644
index 107487f1fd7c..000000000000
--- a/devel/psptoolchain-binutils/files/patch-configure
+++ /dev/null
@@ -1,19 +0,0 @@
---- ./configure.orig	2011-08-14 12:28:15.000000000 +0000
-+++ ./configure	2012-01-21 13:31:35.000000000 +0000
-@@ -2667,7 +2667,7 @@
- # binutils, gas and ld appear in that order because it makes sense to run
- # "make check" in that particular order.
- # If --enable-gold is used, "gold" may replace "ld".
--host_tools="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools"
-+host_tools="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb etc expect dejagnu m4 utils guile fastjar gnattools"
- 
- # libgcj represents the runtime libraries only used by gcj.
- libgcj="target-libffi \
-@@ -3568,7 +3568,6 @@
-   mips*-*-linux*)
-     ;;
-   mips*-*-*)
--    noconfigdirs="$noconfigdirs gprof"
-     ;;
-   sh-*-* | sh64-*-*)
-     case "${target}" in
diff --git a/devel/psptoolchain-binutils/files/patch-gas-config-tc-mips.c b/devel/psptoolchain-binutils/files/patch-gas-config-tc-mips.c
deleted file mode 100644
index afd01e6348ff..000000000000
--- a/devel/psptoolchain-binutils/files/patch-gas-config-tc-mips.c
+++ /dev/null
@@ -1,1867 +0,0 @@
---- ./gas/config/tc-mips.c.orig	2011-11-21 09:29:32.000000000 +0000
-+++ ./gas/config/tc-mips.c	2012-01-21 13:31:35.000000000 +0000
-@@ -91,8 +91,32 @@
- 
- #define ZERO 0
- #define ATREG 1
-+#define V0  2
-+#define V1  3
-+#define A0  4
-+#define A1  5
-+#define A2  6
-+#define A3  7
-+#define T0  8
-+#define T1  9
-+#define T2  10
-+#define T3  11
-+#define T4  12
-+#define T5  13
-+#define T6  14
-+#define T7  15
- #define S0  16
-+#define S1  17
-+#define S2  18
-+#define S3  19
-+#define S4  20
-+#define S5  21
-+#define S6  22
- #define S7  23
-+#define T8  24
-+#define T9  25
-+#define K0  26
-+#define K1  27
- #define TREG 24
- #define PIC_CALL_REG 25
- #define KT0 26
-@@ -490,11 +514,14 @@
- /* Return true if the given CPU supports the microMIPS ASE.  */
- #define CPU_HAS_MICROMIPS(cpu)	0
- 
-+/* True if the given CPU belongs to the Allegrex family.  */
-+#define CPU_IS_ALLEGREX(CPU)   ((CPU) == CPU_ALLEGREX)
-+
- /* True if CPU has a dror instruction.  */
- #define CPU_HAS_DROR(CPU)	((CPU) == CPU_VR5400 || (CPU) == CPU_VR5500)
- 
- /* True if CPU has a ror instruction.  */
--#define CPU_HAS_ROR(CPU)	CPU_HAS_DROR (CPU)
-+#define CPU_HAS_ROR(CPU)	CPU_HAS_DROR (CPU) || CPU_IS_ALLEGREX (CPU)
- 
- /* True if CPU has seq/sne and seqi/snei instructions.  */
- #define CPU_HAS_SEQ(CPU)	((CPU) == CPU_OCTEON)
-@@ -528,6 +555,7 @@
-    || mips_opts.arch == CPU_R16000                    \
-    || mips_opts.arch == CPU_RM7000                    \
-    || mips_opts.arch == CPU_VR5500                    \
-+   || mips_opts.arch == CPU_ALLEGREX                  \
-    || mips_opts.micromips                             \
-    )
- 
-@@ -1563,6 +1591,8 @@
- static expressionS imm_expr;
- static expressionS imm2_expr;
- static expressionS offset_expr;
-+static expressionS vimm_expr[4];
-+static expressionS voffset_expr[4];
- 
- /* Relocs associated with imm_expr and offset_expr.  */
- 
-@@ -1571,6 +1601,15 @@
- static bfd_reloc_code_real_type offset_reloc[3]
-   = {BFD_RELOC_UNUSED, BFD_RELOC_UNUSED, BFD_RELOC_UNUSED};
- 
-+/* set by vfpu code for prefix instructions */
-+
-+static bfd_boolean vfpu_dprefix;
-+static char vfpu_dprefix_str[64];
-+static bfd_boolean vfpu_sprefix;
-+static char vfpu_sprefix_str[64];
-+static bfd_boolean vfpu_tprefix;
-+static char vfpu_tprefix_str[64];
-+
- /* This is set to the resulting size of the instruction to be produced
-    by mips16_ip if an explicit extension is used or by mips_ip if an
-    explicit size is supplied.  */
-@@ -2580,6 +2619,56 @@
-       return;
-     }
- 
-+  /* If we've generated operands for a VFPU prefix instruction then we need
-+     to assemble and append the prefix instruction before emitting the
-+     instruction it prefixes.  Note that in mips_ip prefix operands do not
-+     cause any side effects with imm_expr or offset_expr.  If they did
-+     we'd have to save and restore them here.  */
-+  if (CPU_IS_ALLEGREX (mips_opts.arch) && ((vfpu_dprefix || vfpu_sprefix || vfpu_tprefix)))
-+    {
-+
-+      if (mips_opts.noreorder
-+     && ( history[0].insn_mo->pinfo & (INSN_UNCOND_BRANCH_DELAY
-+                      | INSN_COND_BRANCH_DELAY
-+                      | INSN_COND_BRANCH_LIKELY)))
-+   {
-+     as_bad (_("instruction with prefix cannot be used in branch delay slot"));
-+   }
-+
-+      if (vfpu_dprefix)
-+   {
-+     struct mips_cl_insn prefix;
-+     char buf[256];
-+
-+     sprintf (buf, "vpfxd %s", vfpu_dprefix_str);
-+     mips_ip (buf, &prefix);
-+     append_insn (&prefix, NULL, unused_reloc, FALSE);
-+     vfpu_dprefix = FALSE;
-+   }
-+
-+      if (vfpu_sprefix)
-+   {
-+     struct mips_cl_insn prefix;
-+     char buf[256];
-+
-+     sprintf (buf, "vpfxs %s", vfpu_sprefix_str);
-+     mips_ip (buf, &prefix);
-+     append_insn ( &prefix, NULL, unused_reloc, FALSE);
-+     vfpu_sprefix = FALSE;
-+   }
-+      
-+      if (vfpu_tprefix)
-+   {
-+     struct mips_cl_insn prefix;
-+     char buf[256];
-+
-+     sprintf (buf, "vpfxt %s", vfpu_tprefix_str);
-+     mips_ip (buf, &prefix);
-+     append_insn (&prefix, NULL, unused_reloc, FALSE);
-+     vfpu_tprefix = FALSE;
-+   }
-+    }
-+  
-   if (insn.insn_mo->pinfo == INSN_MACRO)
-     {
-       macro_start ();
-@@ -5085,6 +5174,55 @@
- 	    }
- 	  continue;
- 
-+   /* VFPU fields */
-+   case '?':
-+     switch (*fmt++)
-+       {
-+       case 'o':
-+         *r = (bfd_reloc_code_real_type) va_arg (args, int);
-+         gas_assert (*r == BFD_RELOC_GPREL16
-+             || *r == BFD_RELOC_MIPS_LITERAL
-+             || *r == BFD_RELOC_MIPS_HIGHER
-+             || *r == BFD_RELOC_HI16_S
-+             || *r == BFD_RELOC_LO16
-+             || *r == BFD_RELOC_MIPS_GOT16
-+             || *r == BFD_RELOC_MIPS_CALL16
-+             || *r == BFD_RELOC_MIPS_GOT_DISP
-+             || *r == BFD_RELOC_MIPS_GOT_PAGE
-+             || *r == BFD_RELOC_MIPS_GOT_OFST
-+             || *r == BFD_RELOC_MIPS_GOT_LO16
-+             || *r == BFD_RELOC_MIPS_CALL_LO16);
-+         break;
-+       case 'd':
-+         insn.insn_opcode |= va_arg (args, int) << VF_SH_VD;
-+         fmt += 2;
-+         break;
-+       case 's':
-+         insn.insn_opcode |= va_arg (args, int) << VF_SH_VS;
-+         fmt += 2;
-+         break;
-+       case 'm':
-+         {
-+       int vtreg = va_arg (args, int);
-+       insn.insn_opcode |= (vtreg & VF_MASK_VML) << VF_SH_VML;
-+       insn.insn_opcode |= ((vtreg >> 5) & VF_MASK_VMH) << VF_SH_VMH;
-+       fmt += 2;
-+         }
-+         break;
-+       case 'n':
-+         {
-+       int vtreg = va_arg (args, int);
-+       insn.insn_opcode |= (vtreg & VF_MASK_VNL) << VF_SH_VNL;
-+       insn.insn_opcode |= ((vtreg >> 5) & VF_MASK_VNH) << VF_SH_VNH;
-+       fmt += 2;
-+         }
-+         break;
-+       case 'e':
-+         insn.insn_opcode |= va_arg (args, int) << VF_SH_MCOND;
-+         break;
-+       }
-+     continue;
-+
- 	default:
- 	  internalError ();
- 	}
-@@ -6241,6 +6379,7 @@
- macro (struct mips_cl_insn *ip)
- {
-   unsigned int treg, sreg, dreg, breg;
-+  int vsreg, vtreg, vdreg, vmreg, vwb;
-   unsigned int tempreg;
-   int mask;
-   int used_at = 0;
-@@ -6272,6 +6411,13 @@
-   sreg = breg = EXTRACT_OPERAND (mips_opts.micromips, RS, *ip);
-   mask = ip->insn_mo->mask;
- 
-+  vmreg = ((ip->insn_opcode >> 16) & 0x1f)
-+   | ((ip->insn_opcode <<  5) & 0x60);
-+  vtreg = (ip->insn_opcode >> 16) & 0x7f;
-+  vsreg = (ip->insn_opcode >> 8) & 0x7f;
-+  vdreg = (ip->insn_opcode >> 0) & 0x7f;
-+  vwb = (ip->insn_opcode >> 1) & 0x1;
-+
-   label_expr.X_op = O_constant;
-   label_expr.X_op_symbol = NULL;
-   label_expr.X_add_symbol = NULL;
-@@ -7964,6 +8110,34 @@
-       /* Itbl support may require additional care here.  */
-       coproc = 1;
-       goto ld_st;
-+    case M_LV_S_AB:
-+      s = "lv.s";
-+      /* Itbl support may require additional care here.  */
-+      coproc = 1;
-+      fmt = "?m0x,?o(b)";
-+      treg = vmreg;
-+      goto ld;
-+    case M_LV_Q_AB:
-+      s = "lv.q";
-+      /* Itbl support may require additional care here.  */
-+      coproc = 1;
-+      fmt = "?n3x,?o(b)";
-+      treg = vmreg;
-+      goto ld;
-+    case M_LVL_Q_AB:
-+      s = "lvl.q";
-+      /* Itbl support may require additional care here.  */
-+      coproc = 1;
-+      fmt = "?n3x,?o(b)";
-+      treg = vmreg;
-+      goto ld;
-+    case M_LVR_Q_AB:
-+      s = "lvr.q";
-+      /* Itbl support may require additional care here.  */                                                                                  
-+      coproc = 1;                                                                                                                            
-+      fmt = "?n3x,?o(b)";
-+      treg = vmreg;
-+      goto ld;
-     case M_LWL_AB:
-       ab = 1;
-     case M_LWL_OB:
-@@ -8125,6 +8299,37 @@
-       /* Itbl support may require additional care here.  */
-       coproc = 1;
-       goto ld_st;
-+    case M_SV_S_AB:
-+      s = "sv.s";
-+      /* Itbl support may require additional care here.  */
-+      coproc = 1;
-+      fmt = "?m0x,?o(b)";
-+      treg = vmreg;
-+      goto ld_st;
-+    case M_SV_Q_AB:
-+      if (vwb)
-+   s = "vwb.q";
-+      else
-+   s = "sv.q";
-+      /* Itbl support may require additional care here.  */
-+      coproc = 1;
-+      fmt = "?n3x,?o(b)";
-+      treg = vmreg;
-+      goto ld_st;
-+    case M_SVL_Q_AB:
-+      s = "svl.q";
-+      /* Itbl support may require additional care here.  */
-+      coproc = 1;
-+      fmt = "?n3x,?o(b)";
-+      treg = vmreg;
-+      goto ld_st;
-+    case M_SVR_Q_AB:
-+      s = "svr.q";
-+      /* Itbl support may require additional care here.  */
-+      coproc = 1;
-+      fmt = "?n3x,?o(b)";
-+      treg = vmreg;
-+      goto ld_st;
-     case M_SWL_AB:
-       ab = 1;
-     case M_SWL_OB:
-@@ -8654,6 +8859,138 @@
- 	  break;
- 	}
- 
-+    case M_LVI_S_SS:
-+    case M_LVI_P_SS:
-+    case M_LVI_T_SS:
-+    case M_LVI_Q_SS:
-+      {
-+   int mtx = (vtreg >> VF_SH_MR_MTX) & VF_MASK_MR_MTX;
-+   int idx = (vtreg >> VF_SH_MR_IDX) & VF_MASK_MR_IDX;
-+   int fsl = 0;
-+   int rxc = 0;
-+   int vtreg_s = 0;
-+   int vnum = 0;
-+   int vat = 0;
-+   int i;
-+
-+   switch (mask)
-+     {
-+     case M_LVI_S_SS:
-+       vnum = 1;
-+       fsl = (vtreg >> VF_SH_MR_FSL) & VF_MASK_MR_FSL;
-+       rxc = 0;
-+       break;
-+     case M_LVI_P_SS:
-+       vnum = 2;
-+       fsl = ((vtreg >> VF_SH_MR_VFSL) & VF_MASK_MR_VFSL) << 1;
-+       rxc = (vtreg >> VF_SH_MR_RXC) & VF_MASK_MR_RXC;
-+       break;
-+     case M_LVI_T_SS:
-+       vnum = 3;
-+       fsl = (vtreg >> VF_SH_MR_VFSL) & VF_MASK_MR_VFSL;
-+       rxc = (vtreg >> VF_SH_MR_RXC) & VF_MASK_MR_RXC;
-+       break;
-+     case M_LVI_Q_SS:
-+       vnum = 4;
-+       fsl = 0;
-+       rxc = (vtreg >> VF_SH_MR_RXC) & VF_MASK_MR_RXC;
-+       break;
-+     }
-+   if (rxc)
-+     vtreg_s = (mtx << VF_SH_MR_MTX) | (idx << VF_SH_MR_FSL)
-+         | (fsl << VF_SH_MR_IDX);
-+   else
-+     vtreg_s = (mtx << VF_SH_MR_MTX) | (idx << VF_SH_MR_IDX)
-+         | (fsl << VF_SH_MR_FSL);
-+
-+   for (i = 0; i < vnum; i++) {
-+     imm_expr = vimm_expr[i];
-+     offset_expr = voffset_expr[i];
-+
-+     if (imm_expr.X_op == O_constant)
-+       {
-+         load_register (AT, &imm_expr, 0);
-+         macro_build ((expressionS *) NULL,
-+              "mtv", "t,?d0z", AT, vtreg_s);
-+         vat = 1;
-+       }
-+     else
-+       {
-+         gas_assert (offset_expr.X_op == O_symbol
-+             && strcmp (segment_name (S_GET_SEGMENT
-+                          (offset_expr.X_add_symbol)),
-+                ".lit4") == 0
-+             && offset_expr.X_add_number == 0);
-+         macro_build (&offset_expr,
-+              "lv.s", "?m0x,?o(b)", vtreg_s,
-+              (int) BFD_RELOC_MIPS_LITERAL, mips_gp_register);
-+       }
-+
-+     if (rxc)
-+       vtreg_s += (1 << VF_SH_MR_IDX);
-+     else
-+       vtreg_s += (1 << VF_SH_MR_FSL);
-+   }
-+
-+   if (vat)
-+     break;
-+   else
-+     return;
-+      }
-+
-+    case M_LVHI_S_SS:
-+    case M_LVHI_P_SS:
-+      {
-+   int mtx = (vtreg >> VF_SH_MR_MTX) & VF_MASK_MR_MTX;
-+   int idx = (vtreg >> VF_SH_MR_IDX) & VF_MASK_MR_IDX;
-+   int fsl = 0;
-+   int rxc = 0;
-+   int vtreg_s = 0;
-+   int vnum = 0;
-+   int i;
-+   unsigned int f16v;
-+   char f16v_str[16];
-+
-+   switch (mask)
-+     {
-+     case M_LVHI_S_SS:
-+       vnum = 2;
-+       fsl = (vtreg >> VF_SH_MR_FSL) & VF_MASK_MR_FSL;
-+       rxc = 0;
-+       break;
-+     case M_LVHI_P_SS:
-+       vnum = 4;
-+       fsl = ((vtreg >> VF_SH_MR_VFSL) & VF_MASK_MR_VFSL) << 1;
-+       rxc = (vtreg >> VF_SH_MR_RXC) & VF_MASK_MR_RXC;
-+       break;
-+     }
-+   if (rxc)
-+     vtreg_s = (mtx << VF_SH_MR_MTX) | (idx << VF_SH_MR_FSL)
-+         | (fsl << VF_SH_MR_IDX);
-+   else
-+     vtreg_s = (mtx << VF_SH_MR_MTX) | (idx << VF_SH_MR_IDX)
-+         | (fsl << VF_SH_MR_FSL);
-+
-+
-+   for (i = 0; i < vnum; i += 2) {
-+     f16v = ((vimm_expr[i + 1].X_add_number & 0xffff) << 16)
-+          | (vimm_expr[i].X_add_number & 0xffff);
-+     sprintf(f16v_str, "0x%08x", f16v);
-+     my_getExpression (&imm_expr, f16v_str);
-+
-+     load_register (AT, &imm_expr, 0);
-+     macro_build ((expressionS *) NULL,
-+              "mtv", "t,?d0z", AT, vtreg_s);
-+
-+     if (rxc)
-+       vtreg_s += (1 << VF_SH_MR_IDX);
-+     else
-+       vtreg_s += (1 << VF_SH_MR_FSL);
-+   }
-+
-+   break;
-+      }
-+
-     case M_LI_D:
-       /* Check if we have a constant in IMM_EXPR.  If the GPRs are 64 bits
-          wide, IMM_EXPR is the entire value.  Otherwise IMM_EXPR is the high
-@@ -9164,6 +9501,27 @@
-       move_register (dreg, sreg);
-       break;
- 
-+    case M_VCMOV_S:
-+      s = "vcmovt.s";
-+      fmt = "?d0d,?s0s,?e";
-+      goto vcmov;
-+    case M_VCMOV_P:
-+      s = "vcmovt.p";
-+      fmt = "?d1d,?s1s,?e";
-+      goto vcmov;
-+    case M_VCMOV_T:
-+      s = "vcmovt.t";
-+      fmt = "?d2d,?s2s,?e";
-+      goto vcmov;
-+    case M_VCMOV_Q:
-+      s = "vcmovt.q";
-+      fmt = "?d3d,?s3s,?e";
-+    vcmov:
-+      macro_build ((expressionS *) NULL, s, fmt,
-+          vdreg, vsreg,
-+          (ip->insn_opcode >> VF_SH_MCOND) & VF_MASK_MCOND);
-+      return;
-+
-     case M_DMUL:
-       dbl = 1;
-     case M_MUL:
-@@ -9779,6 +10137,40 @@
-       off12 = mips_opts.micromips;
-       off = 3;
-       goto uld_st;
-+
-+    case M_ULV_S:
-+      if (mips_opts.arch == CPU_ALLEGREX)
-+   as_bad (_("opcode not supported on this processor"));
-+      off = 3;
-+      if (offset_expr.X_add_number >= 0x8000 - off)
-+   as_bad (_("operand overflow"));
-+      if (! target_big_endian)
-+   offset_expr.X_add_number += off;
-+      macro_build (&offset_expr, "lwl", "t,o(b)",
-+          AT, (int) BFD_RELOC_LO16, breg);
-+      if (! target_big_endian)
-+   offset_expr.X_add_number -= off;
-+      else
-+   offset_expr.X_add_number += off;
-+      macro_build (&offset_expr, "lwr", "t,o(b)",
-+          AT, (int) BFD_RELOC_LO16, breg);
-+
-+      macro_build ((expressionS *) NULL, "mtv", "t,?d0z",
-+          AT, vmreg);
-+      break;
-+
-+    case M_ULV_Q:
-+      off = 12;
-+      if (offset_expr.X_add_number >= 0x8000 - off)
-+   as_bad (_("operand overflow"));
-+      offset_expr.X_add_number += off;
-+      macro_build (&offset_expr, "lvl.q", "?n3x,?o(b)",
-+          vmreg, (int) BFD_RELOC_LO16, breg);
-+      offset_expr.X_add_number -= off;
-+      macro_build (&offset_expr, "lvr.q", "?n3x,?o(b)",
-+          vmreg, (int) BFD_RELOC_LO16, breg);
-+      return;
-+
-     case M_ULD_A:
-       ab = 1;
-     case M_ULD:
-@@ -9804,6 +10196,56 @@
-       off = 3;
-       ust = 1;
-       goto uld_st;
-+
-+    case M_USV_S:
-+      off = 3;
-+      if (offset_expr.X_add_number >= 0x8000 - off)
-+   as_bad (_("operand overflow"));
-+      macro_build ((expressionS *) NULL, "mfv", "t,?d0z",
-+          AT, vmreg);
-+      if (mips_opts.arch != CPU_ALLEGREX)
-+   {
-+     if (! target_big_endian)
-+       offset_expr.X_add_number += off;
-+     macro_build (&offset_expr, "swl", "t,o(b)",
-+              AT, (int) BFD_RELOC_LO16, breg);
-+     if (! target_big_endian)
-+       offset_expr.X_add_number -= off;
-+     else
-+       offset_expr.X_add_number += off;
-+     macro_build (&offset_expr, "swr", "t,o(b)",
-+              AT, (int) BFD_RELOC_LO16, breg);
-+   }
-+      else
-+   {
-+     if (target_big_endian)
-+       offset_expr.X_add_number += off;
-+     while (off-- >= 0)
-+       {
-+         macro_build (&offset_expr, "sb", "t,o(b)",
-+              AT, (int) BFD_RELOC_LO16, breg);
-+         macro_build ((expressionS *) NULL, "ror",
-+              "d,w,<", AT, AT, 8);
*** 20443 LINES SKIPPED ***