Do not include sh64 support into sh*-netbsdelf* targets unless
specifically requested with sh5* or sh64*.
This commit is contained in:
parent
9a3c4f612c
commit
119f6e61f7
|
@ -1139,14 +1139,14 @@ case "${targ}" in
|
|||
targ_defvec=bfd_elf32_shlnbsd_vec
|
||||
targ_selvecs="bfd_elf32_shnbsd_vec shcoff_vec shlcoff_vec"
|
||||
#ifdef BFD64
|
||||
targ_selvecs="${targ_selvecs} bfd_elf32_sh64lnbsd_vec bfd_elf32_sh64nbsd_vec bfd_elf64_sh64lnbsd_vec bfd_elf64_sh64nbsd_vec"
|
||||
targ64_selvecs="bfd_elf32_sh64lnbsd_vec bfd_elf32_sh64nbsd_vec bfd_elf64_sh64lnbsd_vec bfd_elf64_sh64nbsd_vec"
|
||||
#endif
|
||||
;;
|
||||
sh*-*-netbsdelf*)
|
||||
targ_defvec=bfd_elf32_shnbsd_vec
|
||||
targ_selvecs="bfd_elf32_shlnbsd_vec shcoff_vec shlcoff_vec"
|
||||
#ifdef BFD64
|
||||
targ_selvecs="${targ_selvecs} bfd_elf32_sh64lnbsd_vec bfd_elf32_sh64nbsd_vec bfd_elf64_sh64lnbsd_vec bfd_elf64_sh64nbsd_vec"
|
||||
targ64_selvecs="bfd_elf32_sh64lnbsd_vec bfd_elf32_sh64nbsd_vec bfd_elf64_sh64lnbsd_vec bfd_elf64_sh64nbsd_vec"
|
||||
#endif
|
||||
;;
|
||||
|
||||
|
|
|
@ -8645,6 +8645,14 @@ if test x${all_targets} = xfalse ; then
|
|||
# specified, as in sh3-elf, sh3b-linux-gnu, etc.
|
||||
# Include it just for ELF targets, since the SH5 bfd:s are ELF only.
|
||||
for t in $target $canon_targets; do
|
||||
# For NetBSD we do NOT want SH5 support unless sh5 or sh64
|
||||
# is specified
|
||||
case $t in
|
||||
sh5*-* | sh64*-*) # let the case below handle it
|
||||
;;
|
||||
sh*-*-netbsd* | sh*l*-*-netbsd*)
|
||||
continue ;;
|
||||
esac
|
||||
case $t in
|
||||
all | sh5*-* | sh64*-* | sh-*-*elf* | shl*-*-*elf* | \
|
||||
sh-*-linux* | shl-*-linux*)
|
||||
|
|
|
@ -222,6 +222,14 @@ if test x${all_targets} = xfalse ; then
|
|||
# specified, as in sh3-elf, sh3b-linux-gnu, etc.
|
||||
# Include it just for ELF targets, since the SH5 bfd:s are ELF only.
|
||||
for t in $target $canon_targets; do
|
||||
# For NetBSD we do NOT want SH5 support unless sh5 or sh64
|
||||
# is specified
|
||||
case $t in
|
||||
sh5*-* | sh64*-*) # let the case below handle it
|
||||
;;
|
||||
sh*-*-netbsd* | sh*l*-*-netbsd*)
|
||||
continue ;;
|
||||
esac
|
||||
case $t in
|
||||
all | sh5*-* | sh64*-* | sh-*-*elf* | shl*-*-*elf* | \
|
||||
sh-*-linux* | shl-*-linux*)
|
||||
|
|
Loading…
Reference in New Issue