[binutils-gdb] bfd/x86: minor re-work of Solaris targ*_selvec

Jan Beulich via Binutils-cvs <[email protected]>
Newsgroups gmane.comp.gnu.binutils.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4b0868a7e62fb13c84859e53355c30d6418aa386

commit 4b0868a7e62fb13c84859e53355c30d6418aa386
Author: Jan Beulich <[email protected]>
Date:   Fri Mar 20 14:08:36 2026 +0100

    bfd/x86: minor re-work of Solaris targ*_selvec
    
    targ64_selvec is useful as a separate enumeration from targ_selvec only
    when want64 isn't set to true.

Diff:
---
 bfd/config.bfd | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/bfd/config.bfd b/bfd/config.bfd
index 3e57676327c..bc035a078bc 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -584,9 +584,8 @@ case "${targ}" in
     ;;
   i[3-7]86-*-solaris2*)
     targ_defvec=i386_elf32_sol2_vec
-    targ_selvecs=i386_elf32_vec
-    targ64_selvecs="x86_64_elf64_sol2_vec x86_64_elf64_vec"
     # Include 64-bit support to match GCC.
+    targ_selvecs="i386_elf32_vec x86_64_elf64_sol2_vec x86_64_elf64_vec"
     want64=true
     ;;
   i[3-7]86-*-solaris*)
@@ -1176,7 +1175,7 @@ case "${targ}" in
 
   s390-*-linux*)
     targ_defvec=s390_elf32_vec
-    targ64_selvecs=s390_elf64_vec
+    targ_selvecs=s390_elf64_vec
     want64=true
     ;;
 #ifdef BFD64
@@ -1263,9 +1262,8 @@ case "${targ}" in
     ;;
   sparc-*-solaris2*)
     targ_defvec=sparc_elf32_sol2_vec
-    targ_selvecs=sparc_elf32_vec
-    targ64_selvecs="sparc_elf64_sol2_vec sparc_elf64_vec"
     # Include 64-bit support to match GCC.
+    targ_selvecs="sparc_elf32_vec sparc_elf64_sol2_vec sparc_elf64_vec"
     want64=true
     ;;
 #ifdef BFD64
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.