|
|
82154a |
diff -rupN --no-dereference binutils-2.39/bfd/config.bfd binutils-2.39-new/bfd/config.bfd
|
|
|
82154a |
--- binutils-2.39/bfd/config.bfd 2022-07-08 11:46:47.000000000 +0200
|
|
|
82154a |
+++ binutils-2.39-new/bfd/config.bfd 2022-10-30 12:41:33.412023779 +0100
|
|
|
82154a |
@@ -490,7 +490,7 @@ case "${targ}" in
|
|
|
e89428 |
;;
|
|
|
e89428 |
|
|
|
e89428 |
#ifdef BFD64
|
|
|
e89428 |
- bpf-*-none)
|
|
|
e89428 |
+ bpf-*-none | bpf-*)
|
|
|
e89428 |
targ_defvec=bpf_elf64_le_vec
|
|
|
e89428 |
targ_selvecs=bpf_elf64_be_vec
|
|
|
e89428 |
targ_underscore=yes
|
|
|
82154a |
@@ -1478,7 +1478,7 @@ case "${targ}" in
|
|
|
e89428 |
;;
|
|
|
e89428 |
|
|
|
e89428 |
*)
|
|
|
e89428 |
- echo 1>&2 "*** BFD does not support target ${targ}."
|
|
|
e89428 |
+ echo 1>&2 "*** BFD does not support target '${targ}'. Honest."
|
|
|
e89428 |
echo 1>&2 "*** Look in bfd/config.bfd for supported targets."
|
|
|
e89428 |
exit 1
|
|
|
e89428 |
;;
|
|
|
82154a |
diff -rupN --no-dereference binutils-2.39/gold/configure binutils-2.39-new/gold/configure
|
|
|
82154a |
--- binutils-2.39/gold/configure 2022-07-08 11:58:08.000000000 +0200
|
|
|
82154a |
+++ binutils-2.39-new/gold/configure 2022-10-30 12:41:33.410023779 +0100
|
|
|
82154a |
@@ -5223,7 +5223,8 @@ for targ in $target $canon_targets; do
|
|
|
e89428 |
. ${srcdir}/configure.tgt
|
|
|
e89428 |
|
|
|
e89428 |
if test "$targ_obj" = "UNKNOWN"; then
|
|
|
e89428 |
- as_fn_error $? "\"unsupported target $targ\"" "$LINENO" 5
|
|
|
e89428 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"unsupported target $targ\"" >&5
|
|
|
e89428 |
+$as_echo "$as_me: WARNING: \"unsupported target $targ\"" >&2;}
|
|
|
e89428 |
else
|
|
|
e89428 |
targetobjs="$targetobjs ${targ_obj}.\$(OBJEXT)"
|
|
|
e89428 |
if test "$targ_extra_obj" != ""; then
|
|
|
82154a |
diff -rupN --no-dereference binutils-2.39/gold/configure.ac binutils-2.39-new/gold/configure.ac
|
|
|
82154a |
--- binutils-2.39/gold/configure.ac 2022-07-08 11:46:48.000000000 +0200
|
|
|
82154a |
+++ binutils-2.39-new/gold/configure.ac 2022-10-30 12:41:33.411023779 +0100
|
|
|
fcd040 |
@@ -182,7 +182,7 @@ for targ in $target $canon_targets; do
|
|
|
e89428 |
. ${srcdir}/configure.tgt
|
|
|
e89428 |
|
|
|
e89428 |
if test "$targ_obj" = "UNKNOWN"; then
|
|
|
e89428 |
- AC_MSG_ERROR("unsupported target $targ")
|
|
|
e89428 |
+ AC_MSG_WARN("unsupported target $targ")
|
|
|
e89428 |
else
|
|
|
e89428 |
targetobjs="$targetobjs ${targ_obj}.\$(OBJEXT)"
|
|
|
e89428 |
if test "$targ_extra_obj" != ""; then
|
|
|
82154a |
diff -rupN --no-dereference binutils-2.39/ld/configure.tgt binutils-2.39-new/ld/configure.tgt
|
|
|
82154a |
--- binutils-2.39/ld/configure.tgt 2022-07-29 09:37:48.000000000 +0200
|
|
|
82154a |
+++ binutils-2.39-new/ld/configure.tgt 2022-10-30 12:41:33.411023779 +0100
|
|
|
82154a |
@@ -258,7 +258,7 @@ bfin-*-linux-uclibc*) targ_emul=elf32bfi
|
|
|
e89428 |
targ_extra_emuls="elf32bfin"
|
|
|
e89428 |
targ_extra_libpath=$targ_extra_emuls
|
|
|
e89428 |
;;
|
|
|
e89428 |
-bpf-*-*) targ_emul=elf64bpf
|
|
|
e89428 |
+bpf-* | bpf-*-*) targ_emul=elf64bpf
|
|
|
e89428 |
;;
|
|
|
e89428 |
cr16-*-elf*) targ_emul=elf32cr16
|
|
|
e89428 |
;;
|
|
|
82154a |
@@ -1078,7 +1078,7 @@ loongarch64-*) targ_emul=elf64loongarch
|
|
|
e89428 |
targ_extra_ofiles=
|
|
|
e89428 |
;;
|
|
|
e89428 |
*)
|
|
|
e89428 |
- echo 2>&1 "*** ld does not support target ${targ}"
|
|
|
e89428 |
+ echo 2>&1 "*** ld does not support target '${targ}' NO REALLY"
|
|
|
e89428 |
echo 2>&1 "*** see ld/configure.tgt for supported targets"
|
|
|
e89428 |
exit 1
|
|
|
e89428 |
|