From patchwork Mon Jun 29 09:19:28 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 138022 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1FF6E4BA23CB for ; Mon, 29 Jun 2026 09:20:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1FF6E4BA23CB Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=cebitec.uni-bielefeld.de header.i=@cebitec.uni-bielefeld.de header.a=rsa-sha256 header.s=20200306 header.b=LjBiqsz2 X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from smtp.CeBiTec.Uni-Bielefeld.DE (smtp.CeBiTec.Uni-Bielefeld.DE [129.70.160.84]) by sourceware.org (Postfix) with ESMTPS id 7EFB24BA2E30 for ; Mon, 29 Jun 2026 09:19:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7EFB24BA2E30 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=CeBiTec.Uni-Bielefeld.DE Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cebitec.uni-bielefeld.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 7EFB24BA2E30 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=129.70.160.84 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1782724769; cv=none; b=psujAE40elb0wrqDqeM00++TfEF3esiJ8BxfqM4GV7v35kz5kkXLqlP8Bxwo2Yu1UDu7gHatz1fpD1Vz9Artm0WJI/ebqHySnOjrW8HKjR2KFHyToHvx2+A7uoUIcwmZbP8B95yVVahYaXQRL/qDBdQ4mlF+z2a2gtXqDvmgTBU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1782724769; c=relaxed/simple; bh=gbzGoXC3yx28ZZHpaFQJXmBRho+cIcsF8RDFzLh00/s=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=XiuTeQDxhsUcGzXUvDSftBfDMFC2taNWiTz6VB/h65IhvDKvW56W4UtYd15HQ9F+2zLdUFx73WzHKYS96sn0nOb+hSpQbnLttHIyPyuqkrhll6EyLCSHXP0900PFVGCiZaPO174XO4o2ylWKpR+Sq77dJ6EB/QmLSL8GNLOnBck= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=cebitec.uni-bielefeld.de header.i=@cebitec.uni-bielefeld.de header.a=rsa-sha256 header.s=20200306 header.b=LjBiqsz2 DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7EFB24BA2E30 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id AD66FDAFA8 for ; Mon, 29 Jun 2026 11:19:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= cebitec.uni-bielefeld.de; h=content-type:content-type :mime-version:user-agent:message-id:date:date:subject:subject :from:from:received:received; s=20200306; t=1782724768; bh=gbzGo XC3yx28ZZHpaFQJXmBRho+cIcsF8RDFzLh00/s=; b=LjBiqsz2VqZGKvOSPQnXH RuJLftiiwboTGIh9XUR/P7OItMtr/rJjnpXRGWp4rBxMB/ebOjAsfSZzNUL1LmC4 oYuvUivg127r9N42xhjVOBpOOKveruZJwgI+pidAmYu1+Ontt44jJrPNqRngUOyo XYYen7Lxcx5zK7UuerJn6aE+0BX9yLQZpSKHLfBq9hMg4upcrabzU+kj1uyA20NK M0zgWWovZ9AIr8+03gTZ8rQvoeNepwV0hHjjg8Yx3wdEgGOLlJp6qifcdsr8kwHh z7mwOis8vLkOCV+flgAf5uxApW1tX4wLRdbqe99cHOWaIdE1zigGHUBq/QqHeFtg Q== X-Virus-Scanned: amavisd-new at cebitec.uni-bielefeld.de Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (smtp.cebitec.uni-bielefeld.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id TjHV5dh3Gxab for ; Mon, 29 Jun 2026 11:19:28 +0200 (CEST) Received: from manam.CeBiTec.Uni-Bielefeld.DE (p508553da.dip0.t-ipconnect.de [80.133.83.218]) (Authenticated sender: ro) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPSA id 4C3FFDAFA7 for ; Mon, 29 Jun 2026 11:19:28 +0200 (CEST) From: Rainer Orth To: Subject: [PATCH] Remove 32-bit-only Solaris configurations Date: Mon, 29 Jun 2026 11:19:28 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 X-Spam-Status: No, score=-3778.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, GIT_PATCH_0, RCVD_IN_PBL, SPF_HELO_NONE, SPF_PASS, TXREP shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: binutils-bounces~patchwork=sourceware.org@sourceware.org After the removal of all Solaris configurations but Solaris 10/11 (*-*-solaris2.1[01]), the 32-bit-only configurations can no longer be matched. This patch removes them. Tested on {amd64,i386}-pc-solaris2.11 and sparc{v9,}-sun-solaris2.11. Ok for trunk. I thought about obsoleting Solaris 10, too, because it's no longer tested. However, AFAICS there's no Solaris 10-specific code or workaround present. I've also checked that trunk still builds on Solaris 10, unlike Solaris 8 and 9 which already didn't build before their removal, so such an obsoletion would gain nothing. Rainer # HG changeset patch # Parent d032e5cf7634d12dbad4f02e355bb01edc06ee48 Remove 32-bit-only Solaris configurations diff --git a/bfd/config.bfd b/bfd/config.bfd --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -567,10 +567,6 @@ case "${targ}" in targ_selvecs="i386_elf32_vec x86_64_elf64_sol2_vec x86_64_elf64_vec" want64=true ;; - i[3-7]86-*-solaris*) - targ_defvec=i386_elf32_sol2_vec - targ_selvecs=i386_elf32_vec - ;; i[3-7]86-*-dicos* | i[3-7]86-*-dragonfly* | i[3-7]86-*-netbsd* | i[3-7]86-*-knetbsd*-gnu | i[3-7]86-*-redox*) targ_defvec=i386_elf32_vec targ64_selvecs="x86_64_elf64_vec" @@ -1268,10 +1264,6 @@ case "${targ}" in targ_defvec=sparc_elf32_vxworks_vec targ_selvecs="sparc_elf32_vec" ;; - sparc*-*-solaris*) - targ_defvec=sparc_elf32_sol2_vec - targ_selvecs=sparc_elf32_vec - ;; sparc*-*-*) targ_defvec=sparc_elf32_vec ;; diff --git a/ld/configure.tgt b/ld/configure.tgt --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -369,10 +369,6 @@ i[3-7]86-*-solaris2*) targ64_extra_libpath=elf_x86_64_sol2 targ64_extra_emuls=elf_x86_64 ;; -i[3-7]86-*-solaris*) - targ_emul=elf_i386_sol2 - targ_extra_emuls=elf_i386 - ;; i[3-7]86-*-netbsd* | \ i[3-7]86-*-netbsd*-gnu* | \ i[3-7]86-*-knetbsd*-gnu | \ @@ -898,10 +894,6 @@ sparc-*-solaris2*) targ64_extra_libpath=elf64_sparc_sol2 targ64_extra_emuls=elf64_sparc ;; -sparc*-*-solaris*) - targ_emul=elf32_sparc_sol2 - targ_extra_emuls=elf32_sparc - ;; sparc*-*-vxworks*) targ_emul=elf32_sparc_vxworks ;; sparc*-*-*) targ_emul=elf32_sparc