[PATCH v5 03/12] BFD: Correct archive format determination for non-default link emulations

Hans-Peter Nilsson hp@axis.com
Wed Jan 28 19:44:08 GMT 2026


> Date: Wed, 28 Jan 2026 19:33:43 +0000 (GMT)
> From: "Maciej W. Rozycki" <macro@redhat.com>

> On Wed, 28 Jan 2026, Hans-Peter Nilsson wrote:
> > Hmm, the parameters and the test-description don't look
> > a.out-cris-specific.  What am I missing?
> 
>  The CRIS target is the only one nowadays that supports aout and non-aout 
> formats both at a time, and the aout BFD backend is one that crashes when 
> incorrectly chosen by the BFD linker to handle ELF archive members.  For 
> completeness this test covers the opposite situation as well, though it 
> doesn't cause a crash, but hits PR binutils/33485 instead.  Yeah, corner 
> cases and bitrot...

Sounds like great material for a comment above the xfail.

brgds, H-P


More information about the Binutils mailing list