[PATCH] Remove Solaris/PowerPC support

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Mon Sep 15 09:56:34 GMT 2025


Solaris/PowerPC was a shortlived Solaris port with limited hardware
support.  It was released with Solaris 2.5.1 back in 1996, with support
removed again only a year later in Solaris 2.6.  Since this is long
obsolete, this patch removes the remains of the support.

Tested by a cross to ppc-unknown-linux-gnu to ascertain the build didn't
get broken.

There are two issues to note:

* gas/stabs.c has a Solaris/PowerPC reference.  I've left that as is.

* The gas/po files need to be regenerated.  I've now idea how, so I left
  them alone.  At that occasion I noticed that there are both es.po and
  gas.es.po in gas/po.  I found that confusing.

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University


2025-09-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	bfd:
	* config.bfd <powerpc-*-solaris2*>: Remove.

	gas:
	* NEWS: Mention Solaris/PowerPC removal.

	* configure.ac <ppc-*-solaris*>: Remove.
	* configure: Regenerate.
	* configure.in: Regenerate.
	* configure.tgt <ppc-*-solaris*>: Remove.

	* config/tc-ppc.c (ppc_solaris_comment_chars): Remove.
	(ppc_eabi_comment_chars): Remove.
	(SOLARIS_P): Remove.
	(msolaris): Remove.
	(md_parse_option): Remove "solaris", "no-solaris" hangling.
	(md_show_usage): Likewise.
	(md_begin): Remove msolaris handling.
	* config/tc-ppc.h (ppc_comment_chars): Fix declaration.

	* doc/as.texi (Overview, Target PowerPC options): Remove
	-msolaris, -mno-solaris.
	* doc/c-ppc.texi (PowerPC-Opts): Remove -msolaris, -mno-solaris.
	(PowerPC-Chars): Remove ! as line comment character.

	* po: Regenerate.

	ld:
	* configure.tgt <powerpc*-*-solaris*>: Remove.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sol2-ppc-removal.patch
Type: text/x-patch
Size: 7459 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20250915/57d40b1e/attachment.bin>


More information about the Binutils mailing list