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

Hans-Peter Nilsson hp@axis.com
Wed Jan 28 17:41:36 GMT 2026


> From: Hans-Peter Nilsson <hp@axis.com>
> Date: Wed, 28 Jan 2026 18:36:56 +0100
> 
> > Date: Wed, 28 Jan 2026 17:32:45 +0000 (GMT)
> > From: "Maciej W. Rozycki" <macro@redhat.com>
> 
> > On Wed, 28 Jan 2026, Hans-Peter Nilsson wrote:
> > > ...the following test needs to be xfailed for non-aout CRIS
> > > configurations (FAOD I'm looking for a logical explanation
> > > why they'd fail, i.e. not just "because they're failing").
> > > Probably just a line or two is needed.
> > > 
> > > > +run_ld_link_tests [list \
> > > > +    [list "CRIS thin archive link (implicit emulation)" \
> > > > +	"-e ff" "tmpdir/abt.a --verbose --print-map" \
> > > > +	"$asemul" {../ld-archive/abc.s} \
> > > > +	{{ld ../ld-archive/abtc.vd} \
> > > > +	 {nm "" ../ld-archive/abc.nd} \
> > > > +	 {nm "" ../ld-archive/nx.nd}} \
> > > > +	"abtci" \
> > > > +    ] \
> > > > +]
> > 
> >  With non-aout CRIS configurations this link uses the aout emulation, 
> > which suffers from PR binutils/33485.  I can put a note to that effect 
> > above the conditional if this is what you are after.
> 
> Yes thanks, that's exactly what I'm after, sorry for not being clear.

Also:

Hmm, the parameters and the test-description don't look
a.out-cris-specific.  What am I missing?

brgds, H-P


More information about the Binutils mailing list