mirror of
https://github.com/bminor/binutils-gdb.git
synced 2026-02-05 20:31:31 +00:00
bfd: Re-enable 64-bit support for 32-bit Solaris targets
One of the recent Solaris patches removed want64=true from the 32-bit Solaris targets. This breaks GCC bootstrap: unlike Linux, GCC on Solaris is always biarch, both in 32-bit-default and 64-bit-default configurations, so the 64-bit multilib fails to build. This patch undoes this incompatible change. Tested on i386-pc-solaris2.11 and sparc-sun-solaris2.11. 2025-12-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> bfd: * config.bfd <i[3-7]86-*-solaris2*> (want64): Add. <sparc-*-solaris2*>: Likewise.
This commit is contained in:
@@ -598,6 +598,8 @@ case "${targ}" in
|
||||
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.
|
||||
want64=true
|
||||
;;
|
||||
i[3-7]86-*-solaris*)
|
||||
targ_defvec=i386_elf32_sol2_vec
|
||||
@@ -1337,6 +1339,8 @@ case "${targ}" in
|
||||
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.
|
||||
want64=true
|
||||
;;
|
||||
#ifdef BFD64
|
||||
sparcv9-*-solaris2* | sparc64-*-solaris2*)
|
||||
|
||||
Reference in New Issue
Block a user