[PATCH] Remove 32-bit-only Solaris configurations
Rainer Orth <[email protected]>
| Newsgroups | gmane.comp.gnu.binutils |
|---|---|
| Message-ID | <[email protected]> |
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
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
2026-06-28 Rainer Orth <[email protected]>
bfd:
* config.bfd <i[3-7]86-*-solaris*>: Remove.
<sparc*-*-solaris*>: Likewise.
ld:
* configure.tgt <i[3-7]86-*-solaris*>: Remove.
<sparc*-*-solaris*>: Likewise.
sol2-remove-32bit.patch
(text/x-patch, 1.6 KB)
# 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