[PATCH 7/8] PR ld/24600: BFD: Add general linker support for mapless archives
Hans-Peter Nilsson
hp@axis.com
Wed Oct 8 03:40:17 GMT 2025
> Date: Wed, 1 Oct 2025 13:33:08 +0100 (BST)
> From: "Maciej W. Rozycki" <macro@redhat.com>
> I have also added `cris-aout' now to my list of
> targets verified, and updated the relevant target pattern lists in 1/8 and
> 8/8 accordingly, as the target suffers from the same AR issue as the other
> a.out ones do (and, as expected, does not cause LD to crash with the new
> tests/feature).
Ooouff... cris-aout. I was about to write that "don't
bother with that target" but that'd encourage breaking
targets. But with my maintainer hat off, the sentiment is
somewhere there: it's obsolete and irrelevant and remains
only because in the distant past before cris-elf was
conceived, it was used at Axis, so there may be an
object-file somewhere that may be inspected or used.
Actually, outside Axis too. As an input format to inspect:
yes, but generating (gas, ld), not so much.
Anyway, as I'm about to post a patch to switch around the
CRIS targ_defvec and targ_selvecs lists in config.bfd, I
have trouble adding a test-case covering the change before
your patch-set. I've only come up with checking the list of
"supported targets:" emitted with the --help option from ar,
objdump, and objcopy (randomly picking objdump).
Do you have a better idea?
brgds, H-P
More information about the Binutils
mailing list