[PATCH] Derive ld's noconfigdirs entry from ld/configure.tgt (was: Re: [PATCH] bfd: recognize *-*-windows* Windows targets)
Pedro Alves <[email protected]> Mon, 20 Jul 2026 13:42:20 +0100
| Newsgroups | gmane.comp.gnu.binutils |
|---|---|
| Message-ID | <[email protected]> |
On 2026-07-20 00:26, Maciej W. Rozycki wrote:
> On Tue, 14 Jul 2026, Pedro Alves wrote:
>
>>> Further, while in the follow-on mail you say this aiming at gdb, what
>>> about in particular ld? If ld is deliberately not covered, wouldn't
>>> top-level configury then want to gain a noconfigdirs adjustment, such
>>> that ld (and perhaps also other components) won't even be tried to be
>>> configured?
>>
>> ld currently gets:
>>
>> *** ld does not support target x86_64-pc-windows-msvc
>> *** see ld/configure.tgt for supported targets
>>
>> I myself configure with --disable-ld, etc. as (for this target) I want
>> to use gdb against clang + lld-link.
>
> Does it break compilation then where no explicit `--disable-ld' has been
> given?
No, currently, with or without --disable-ld, we get:
*** BFD does not support target x86_64-pc-windows-msvc.
*** Look in bfd/config.bfd for supported targets.
So the build stops before even getting to ld.
After the patch, bfd config now builds, and ld still does not, with the error
I showed above.
IOW, nothing really changes, you couldn't build ld before, and you still can't.
No chance of producing bogus binaries, if that's the worry.
And gdb can now go on to consume the read-side APIs of libbfd, which works well.
> If so, then it's a no-no, cf. commit 58d798318c42 ("AMDGCN:
> Disable subdirectory configuration for unsupported GAS and LD") for the
> right way to handle it.
>
I'm well aware of that, but I don't call it "right way" myself.
As I said earlier, IMHO, ideally it'd be done by top level consulting
ld's configure.tgt, instead of hard coding at the top level.
OK, I kind of feel like I'm being nerd-sniped. :-P
Below's a patch implementing what I meant. Main advantages:
- ld's tree is the single source of truth, no longer need to sync ld noconfigdirs changes with gcc.
- --enable-ld respected instead of silently ignored.
From 5e70ee5b56592bf9f423783b388607f5baf9598a Mon Sep 17 00:00:00 2001
From: Pedro Alves <[email protected]>
Date: Mon, 20 Jul 2026 10:39:57 +0100
Subject: [PATCH] Derive ld's noconfigdirs entry from ld/configure.tgt
The top-level configure script decides whether to configure and build
ld by hardcoding, per target, whether "ld" is added to noconfigdirs.
This list has to be kept in sync by hand with the set of targets ld
actually supports, and over the years it has drifted.
ld/configure.tgt already knows which targets ld supports: its default
case prints an error and exits. Make the top-level configure ask that
file directly instead of maintaining a parallel hardcoded list, the
same way it already probes gdbserver/configure.srv for gdbserver
support.
To make configure.tgt usable as a passive oracle, its default case no
longer exits directly. Instead it sets a new UNSUPPORTED variable,
and the error-and-exit moves into ld/configure, which sources
configure.tgt and rejects an unsupported target. The top-level
configure can then source configure.tgt purely to inspect UNSUPPORTED,
without the sourcing itself terminating configure, and drop ld from
noconfigdirs when UNSUPPORTED is set.
The probe runs only when neither --enable-ld nor --disable-ld was
given, mirroring how the gdbserver probe keys off an empty
$enable_gdbserver.
This also makes --enable-ld actually force ld to be built. Previously
the per-target "ld" entries in noconfigdirs were applied
unconditionally, and the --enable-ld=yes case did nothing, so ld was
skipped on a suppressed target even when the user explicitly asked for
it. Now an explicit --enable-ld skips the probe, so top level
configures ld regardless of what ld/configure.tgt says -- and if the
target is genuinely unsupported, ld/configure is where the build
stops, with the UNSUPPORTED error, rather than ld being silently
dropped.
With this, all the per-target "ld" entries in the top-level
noconfigdirs case statement are removed, along with the now-stale
comments explaining why ld was suppressed on this or that target.
Most of those entries turn out to have been redundant already:
bfd is configured before ld, and bfd/configure sources bfd/config.bfd,
whose obsolete-configuration gate rejects these targets outright. The
build therefore stops while configuring bfd, before ld would ever be
configured, so removing their top-level "ld" entries changes nothing:
arm-*-riscix*
m68k-apollo-*
i[3456789]86-*-sco3.2v5*
mips*-*-bsd*
mips*-*-ultrix*
mips*-*-osf*
mips*-*-ecoff*
mips*-*-pe*
mips*-*-lnews*
mips*-*-riscos*
mips-sgi-irix[34]*
v810-*-*
For a handful of targets, though, ld/configure.tgt has a real
emulation while the top-level list suppressed ld, and config.bfd does
accept them. For these, dropping the hardcode from the top level
would start building ld:
alpha*-*-osf* targ_emul=alpha
ia64*-*-*vms* targ_emul=elf64_ia64_vms
hppa*-*-netbsd* targ_emul=hppanbsd
To keep the built set unchanged, configure.tgt now marks these with a
new DEFAULT_DISABLED variable, which the top-level probe honors
exactly like UNSUPPORTED. This keeps the "can ld link this target"
question (UNSUPPORTED) separate from the "do we build ld here by
default" question (DEFAULT_DISABLED), with both answers living in the
ld tree rather than in the top-level configure, which is shared with
and has to be mirrored into the gcc repository.
DEFAULT_DISABLED is honored only by the top-level probe, not by
ld/configure, which checks only UNSUPPORTED. So on a DEFAULT_DISABLED
target an explicit --enable-ld builds ld, whereas on a genuinely
UNSUPPORTED one it stops at ld/configure's error.
The only one of the three targets with a still-accurate reason is
alpha-osf, whose old top-level comment ("ld works, but does not
support shared libraries") is carried over next to its
DEFAULT_DISABLED=1 in ld/configure.tgt.
ia64-vms was suppressed with a "No ld support yet" comment that is
nowadays false -- ld gained the elf64_ia64_vms emulation back in 2012,
in commit 202e23565d3, which added ld support for ia64*-*-*vms*.
hppa-netbsd was only ever suppressed by the generic hppa*-*-*
catch-all, with no reason given.
So I'm not sure DEFAULT_DISABLED is wanted at all. It exists here
purely to preserve today's behavior on these three targets, where ld
demonstrably works, and for two of them there is no longer any real
justification for not building it AFAICS. If we'd rather just build
ld wherever it is supported per ld's configure.tgt, the three
DEFAULT_DISABLED=1 lines and the "-o -n $DEFAULT_DISABLED" test can
simply be dropped. I've included it so the trade-off is easily
visible in the diff. Comments welcome.
Note I carried over the error-and-exit lines into ld/configure.ac
verbatim, including the pre-existing "echo 2>&1" typo. "2>&1"
redirects the (unused) stderr to where stdout points, so the messages
still go to stdout rather than stderr. Certainly the intention was to
do ">&2" instead. I've kept it as-is to make this a pure code-motion,
and left fixing the redirection for a separate patch. If you'd prefer
I fix that in this patch directly, or to remove the dead redirection
and keep erroring to stdout (though I find that surprising), just let
me know.
Change-Id: I3611233039313534d75fed86997bd50b06b5f472
---
configure | 65 +++++++++++++++++++++++++++---------------------
configure.ac | 62 ++++++++++++++++++++++++---------------------
ld/configure | 6 +++++
ld/configure.ac | 6 +++++
ld/configure.tgt | 13 +++++++---
5 files changed, 90 insertions(+), 62 deletions(-)
diff --git a/configure b/configure
index 4c2aa195810..0c6f5f0df2d 100755
--- a/configure
+++ b/configure
@@ -3194,6 +3194,24 @@ $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
;;
esac
+if test -d ${srcdir}/ld; then
+ if test "x$enable_ld" = x; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld support" >&5
+$as_echo_n "checking for ld support... " >&6; }
+ if (srcdir=${srcdir}/ld; targ=${target}; \
+ . ${srcdir}/configure.tgt; \
+ test -n "$UNSUPPORTED" -o -n "$DEFAULT_DISABLED")
+ then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ noconfigdirs="$noconfigdirs ld"
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ fi
+ fi
+fi
+
# Check whether --enable-gprofng was given.
if test "${enable_gprofng+set}" = set; then :
enableval=$enable_gprofng; enable_gprofng=$enableval
@@ -3935,30 +3953,30 @@ case "${target}" in
*-*-chorusos)
;;
aarch64-*-darwin*)
- noconfigdirs="$noconfigdirs ld gas gdb gprof"
+ noconfigdirs="$noconfigdirs gas gdb gprof"
noconfigdirs="$noconfigdirs sim target-rda"
;;
amdgcn*-*-*)
- noconfigdirs="$noconfigdirs ld gas"
+ noconfigdirs="$noconfigdirs gas"
;;
arm-*-darwin*)
- noconfigdirs="$noconfigdirs ld gas gdb gprof"
+ noconfigdirs="$noconfigdirs gas gdb gprof"
noconfigdirs="$noconfigdirs target-rda"
;;
powerpc-*-darwin*)
- noconfigdirs="$noconfigdirs ld gas gdb gprof"
+ noconfigdirs="$noconfigdirs gas gdb gprof"
noconfigdirs="$noconfigdirs sim target-rda"
;;
i[3456789]86-*-darwin*)
- noconfigdirs="$noconfigdirs ld gprof"
+ noconfigdirs="$noconfigdirs gprof"
noconfigdirs="$noconfigdirs sim target-rda"
;;
x86_64-*-darwin[912]*)
- noconfigdirs="$noconfigdirs ld gas gprof"
+ noconfigdirs="$noconfigdirs gas gprof"
noconfigdirs="$noconfigdirs sim target-rda"
;;
*-*-darwin*)
- noconfigdirs="$noconfigdirs ld gas gdb gprof"
+ noconfigdirs="$noconfigdirs gas gdb gprof"
noconfigdirs="$noconfigdirs sim target-rda"
;;
*-*-dragonfly*)
@@ -3994,9 +4012,8 @@ case "${target}" in
*-*-vxworks*)
;;
alpha*-dec-osf*)
- # ld works, but does not support shared libraries.
# gas doesn't generate exception information.
- noconfigdirs="$noconfigdirs gas ld"
+ noconfigdirs="$noconfigdirs gas"
;;
alpha*-*-*vms*)
noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
@@ -4018,7 +4035,7 @@ case "${target}" in
noconfigdirs="$noconfigdirs target-libgloss"
;;
arm-*-riscix*)
- noconfigdirs="$noconfigdirs ld target-libgloss"
+ noconfigdirs="$noconfigdirs target-libgloss"
;;
avr-*-*)
if test x${with_avrlibc} != xno; then
@@ -4058,7 +4075,7 @@ case "${target}" in
noconfigdirs="$noconfigdirs gdb"
;;
hppa*-*-hpux11*)
- noconfigdirs="$noconfigdirs gdb ld"
+ noconfigdirs="$noconfigdirs gdb"
;;
hppa*64*-*-linux*)
;;
@@ -4071,9 +4088,6 @@ case "${target}" in
;;
hppa*-*-pro*)
;;
- hppa*-*-*)
- noconfigdirs="$noconfigdirs ld"
- ;;
i960-*-*)
noconfigdirs="$noconfigdirs gdb"
;;
@@ -4082,12 +4096,10 @@ case "${target}" in
noconfigdirs="$noconfigdirs readline libgui itcl gdb"
;;
ia64*-**-hpux*)
- # No ld support yet.
- noconfigdirs="$noconfigdirs gdb libgui itcl ld"
+ noconfigdirs="$noconfigdirs gdb libgui itcl"
;;
ia64*-*-*vms*)
- # No ld support yet.
- noconfigdirs="$noconfigdirs libgui itcl ld"
+ noconfigdirs="$noconfigdirs libgui itcl"
;;
i[3456789]86-w64-mingw*)
;;
@@ -4108,9 +4120,7 @@ case "${target}" in
noconfigdirs="$noconfigdirs target-libgloss"
;;
i[3456789]86-*-sco3.2v5*)
- # The linker does not yet know about weak symbols in COFF,
- # and is not configured to handle mixed ELF and COFF.
- noconfigdirs="$noconfigdirs ld target-libgloss"
+ noconfigdirs="$noconfigdirs target-libgloss"
;;
i[3456789]86-*-sco*)
noconfigdirs="$noconfigdirs gprof target-libgloss"
@@ -4137,7 +4147,7 @@ case "${target}" in
noconfigdirs="$noconfigdirs sim"
;;
nfp-*-*)
- noconfigdirs="$noconfigdirs ld gas gdb gprof sim"
+ noconfigdirs="$noconfigdirs gas gdb gprof sim"
noconfigdirs="$noconfigdirs $target_libraries"
;;
pdp11-*-*)
@@ -4166,7 +4176,7 @@ case "${target}" in
noconfigdirs="$noconfigdirs gprof"
;;
m68k-apollo-*)
- noconfigdirs="$noconfigdirs ld binutils gprof target-libgloss"
+ noconfigdirs="$noconfigdirs binutils gprof target-libgloss"
;;
microblaze*)
noconfigdirs="$noconfigdirs gprof"
@@ -4183,13 +4193,13 @@ case "${target}" in
noconfigdirs="$noconfigdirs gprof target-libgloss"
;;
mips*-*-bsd*)
- noconfigdirs="$noconfigdirs ld gas gprof target-libgloss"
+ noconfigdirs="$noconfigdirs gas gprof target-libgloss"
;;
mips*-*-linux*)
;;
mips*-*-ultrix* | mips*-*-osf* | mips*-*-ecoff* | mips*-*-pe* \
| mips*-*-irix* | mips*-*-lnews* | mips*-*-riscos*)
- noconfigdirs="$noconfigdirs ld gas gprof"
+ noconfigdirs="$noconfigdirs gas gprof"
;;
mips*-*-*)
noconfigdirs="$noconfigdirs gprof"
@@ -4217,14 +4227,11 @@ case "${target}" in
noconfigdirs="$noconfigdirs sim"
;;
v810-*-*)
- noconfigdirs="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
+ noconfigdirs="$noconfigdirs bfd binutils gas gdb opcodes target-libgloss"
;;
vax-*-*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
;;
- wasm32-*-*)
- noconfigdirs="$noconfigdirs ld"
- ;;
loongarch*-*-linux*)
;;
loongarch*-*-*)
diff --git a/configure.ac b/configure.ac
index cae0042411b..6c042496e90 100644
--- a/configure.ac
+++ b/configure.ac
@@ -409,6 +409,21 @@ case "${ENABLE_LD}" in
;;
esac
+if test -d ${srcdir}/ld; then
+ if test "x$enable_ld" = x; then
+ AC_MSG_CHECKING([for ld support])
+ if (srcdir=${srcdir}/ld; targ=${target}; \
+ . ${srcdir}/configure.tgt; \
+ test -n "$UNSUPPORTED" -o -n "$DEFAULT_DISABLED")
+ then
+ AC_MSG_RESULT([no])
+ noconfigdirs="$noconfigdirs ld"
+ else
+ AC_MSG_RESULT([yes])
+ fi
+ fi
+fi
+
AC_ARG_ENABLE(gprofng,
[AS_HELP_STRING([[--disable-gprofng]], [do not build gprofng])],
enable_gprofng=$enableval,
@@ -1104,30 +1119,30 @@ case "${target}" in
*-*-chorusos)
;;
aarch64-*-darwin*)
- noconfigdirs="$noconfigdirs ld gas gdb gprof"
+ noconfigdirs="$noconfigdirs gas gdb gprof"
noconfigdirs="$noconfigdirs sim target-rda"
;;
amdgcn*-*-*)
- noconfigdirs="$noconfigdirs ld gas"
+ noconfigdirs="$noconfigdirs gas"
;;
arm-*-darwin*)
- noconfigdirs="$noconfigdirs ld gas gdb gprof"
+ noconfigdirs="$noconfigdirs gas gdb gprof"
noconfigdirs="$noconfigdirs target-rda"
;;
powerpc-*-darwin*)
- noconfigdirs="$noconfigdirs ld gas gdb gprof"
+ noconfigdirs="$noconfigdirs gas gdb gprof"
noconfigdirs="$noconfigdirs sim target-rda"
;;
i[[3456789]]86-*-darwin*)
- noconfigdirs="$noconfigdirs ld gprof"
+ noconfigdirs="$noconfigdirs gprof"
noconfigdirs="$noconfigdirs sim target-rda"
;;
x86_64-*-darwin[[912]]*)
- noconfigdirs="$noconfigdirs ld gas gprof"
+ noconfigdirs="$noconfigdirs gas gprof"
noconfigdirs="$noconfigdirs sim target-rda"
;;
*-*-darwin*)
- noconfigdirs="$noconfigdirs ld gas gdb gprof"
+ noconfigdirs="$noconfigdirs gas gdb gprof"
noconfigdirs="$noconfigdirs sim target-rda"
;;
*-*-dragonfly*)
@@ -1163,9 +1178,8 @@ case "${target}" in
*-*-vxworks*)
;;
alpha*-dec-osf*)
- # ld works, but does not support shared libraries.
# gas doesn't generate exception information.
- noconfigdirs="$noconfigdirs gas ld"
+ noconfigdirs="$noconfigdirs gas"
;;
alpha*-*-*vms*)
noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
@@ -1187,7 +1201,7 @@ case "${target}" in
noconfigdirs="$noconfigdirs target-libgloss"
;;
arm-*-riscix*)
- noconfigdirs="$noconfigdirs ld target-libgloss"
+ noconfigdirs="$noconfigdirs target-libgloss"
;;
avr-*-*)
if test x${with_avrlibc} != xno; then
@@ -1227,7 +1241,7 @@ case "${target}" in
noconfigdirs="$noconfigdirs gdb"
;;
hppa*-*-hpux11*)
- noconfigdirs="$noconfigdirs gdb ld"
+ noconfigdirs="$noconfigdirs gdb"
;;
hppa*64*-*-linux*)
;;
@@ -1240,9 +1254,6 @@ case "${target}" in
;;
hppa*-*-pro*)
;;
- hppa*-*-*)
- noconfigdirs="$noconfigdirs ld"
- ;;
i960-*-*)
noconfigdirs="$noconfigdirs gdb"
;;
@@ -1251,12 +1262,10 @@ case "${target}" in
noconfigdirs="$noconfigdirs readline libgui itcl gdb"
;;
ia64*-**-hpux*)
- # No ld support yet.
- noconfigdirs="$noconfigdirs gdb libgui itcl ld"
+ noconfigdirs="$noconfigdirs gdb libgui itcl"
;;
ia64*-*-*vms*)
- # No ld support yet.
- noconfigdirs="$noconfigdirs libgui itcl ld"
+ noconfigdirs="$noconfigdirs libgui itcl"
;;
i[[3456789]]86-w64-mingw*)
;;
@@ -1277,9 +1286,7 @@ case "${target}" in
noconfigdirs="$noconfigdirs target-libgloss"
;;
i[[3456789]]86-*-sco3.2v5*)
- # The linker does not yet know about weak symbols in COFF,
- # and is not configured to handle mixed ELF and COFF.
- noconfigdirs="$noconfigdirs ld target-libgloss"
+ noconfigdirs="$noconfigdirs target-libgloss"
;;
i[[3456789]]86-*-sco*)
noconfigdirs="$noconfigdirs gprof target-libgloss"
@@ -1306,7 +1313,7 @@ case "${target}" in
noconfigdirs="$noconfigdirs sim"
;;
nfp-*-*)
- noconfigdirs="$noconfigdirs ld gas gdb gprof sim"
+ noconfigdirs="$noconfigdirs gas gdb gprof sim"
noconfigdirs="$noconfigdirs $target_libraries"
;;
pdp11-*-*)
@@ -1335,7 +1342,7 @@ case "${target}" in
noconfigdirs="$noconfigdirs gprof"
;;
m68k-apollo-*)
- noconfigdirs="$noconfigdirs ld binutils gprof target-libgloss"
+ noconfigdirs="$noconfigdirs binutils gprof target-libgloss"
;;
microblaze*)
noconfigdirs="$noconfigdirs gprof"
@@ -1352,13 +1359,13 @@ case "${target}" in
noconfigdirs="$noconfigdirs gprof target-libgloss"
;;
mips*-*-bsd*)
- noconfigdirs="$noconfigdirs ld gas gprof target-libgloss"
+ noconfigdirs="$noconfigdirs gas gprof target-libgloss"
;;
mips*-*-linux*)
;;
mips*-*-ultrix* | mips*-*-osf* | mips*-*-ecoff* | mips*-*-pe* \
| mips*-*-irix* | mips*-*-lnews* | mips*-*-riscos*)
- noconfigdirs="$noconfigdirs ld gas gprof"
+ noconfigdirs="$noconfigdirs gas gprof"
;;
mips*-*-*)
noconfigdirs="$noconfigdirs gprof"
@@ -1386,14 +1393,11 @@ case "${target}" in
noconfigdirs="$noconfigdirs sim"
;;
v810-*-*)
- noconfigdirs="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
+ noconfigdirs="$noconfigdirs bfd binutils gas gdb opcodes target-libgloss"
;;
vax-*-*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
;;
- wasm32-*-*)
- noconfigdirs="$noconfigdirs ld"
- ;;
loongarch*-*-linux*)
;;
loongarch*-*-*)
diff --git a/ld/configure b/ld/configure
index 82a90102d57..02b6dbb442b 100755
--- a/ld/configure
+++ b/ld/configure
@@ -19232,6 +19232,12 @@ do
. ${srcdir}/configure.tgt
+ if test -n "$UNSUPPORTED"; then
+ echo 2>&1 "*** ld does not support target ${targ}"
+ echo 2>&1 " *** see ld/configure.tgt for supported targets"
+ exit 1
+ fi
+
if test "$targ" = "$target"; then
EMUL=$targ_emul
fi
diff --git a/ld/configure.ac b/ld/configure.ac
index 8c5e9606ac0..00b2ab74dc7 100644
--- a/ld/configure.ac
+++ b/ld/configure.ac
@@ -526,6 +526,12 @@ do
. ${srcdir}/configure.tgt
+ if test -n "$UNSUPPORTED"; then
+ echo 2>&1 "*** ld does not support target ${targ}"
+ echo 2>&1 " *** see ld/configure.tgt for supported targets"
+ exit 1
+ fi
+
if test "$targ" = "$target"; then
EMUL=$targ_emul
fi
diff --git a/ld/configure.tgt b/ld/configure.tgt
index a696e557533..0dd1eab9e82 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -33,6 +33,10 @@
# --enable-64-bit-bfd is given or if host is 64 bit.
# NATIVE_LIB_DIRS library directories to search on this host
# (if we are a native or sysrooted linker)
+# UNSUPPORTED Set to 1 if the target is unsupported.
+# DEFAULT_DISABLED Set to 1 if ld supports the target, but should not
+# be built for it by default. ld is still built if
+# explicitly requested with --enable-ld.
targ_extra_emuls=
targ_extra_libpath=
@@ -145,6 +149,8 @@ alpha*-*-linux-*) targ_emul=elf64alpha
;;
alpha*-*-osf*) targ_emul=alpha
targ_extra_ofiles=
+ # ld works, but does not support shared libraries.
+ DEFAULT_DISABLED=1
;;
alpha*-*-gnu*) targ_emul=elf64alpha
;;
@@ -331,6 +337,7 @@ hppa*-*-*elf*) targ_emul=hppaelf
hppa*-*-lites*) targ_emul=hppaelf
;;
hppa*-*-netbsd*) targ_emul=hppanbsd
+ DEFAULT_DISABLED=1
;;
hppa*-*-openbsd*) targ_emul=hppaobsd
;;
@@ -440,6 +447,7 @@ ia64-*-linux*) targ_emul=elf64_ia64
;;
ia64-*-*vms*) targ_emul=elf64_ia64_vms
targ_extra_ofiles=ldelfgen.o
+ DEFAULT_DISABLED=1
;;
ia64-*-aix*) targ_emul=elf64_aix
;;
@@ -1025,10 +1033,7 @@ loongarch64-*) targ_emul=elf64loongarch
targ_extra_ofiles=
;;
*)
- echo 2>&1 "*** ld does not support target ${targ}"
- echo 2>&1 "*** see ld/configure.tgt for supported targets"
- exit 1
-
+ UNSUPPORTED=1
esac
NATIVE_LIB_DIRS='/usr/local/lib /lib /usr/lib'
base-commit: 490469846dcef89fe53668bdbba73591c64bed61
--
2.54.0