[PATCH 2/4] x86: drop iamcu as default secondary target

Maciej W. Rozycki macro@orcam.me.uk
Tue Apr 7 18:32:10 GMT 2026


On Sun, 5 Apr 2026, Jan Beulich wrote:

> >  This breaks the handling of `-march=iamcu':
> > 
> > $ i386-linux-as -march=iamcu -o test.o /dev/null
> > Assembler messages:
> > Fatal error: selected target format 'elf32-iamcu' unknown
> > $ 
> > 
> > Was this effect considered in your decision to drop the BFD target?
> 
> Yes, albeit some cleaning up in gas may be needed (along the lines of
> other cleanup I already did there not so long ago, and also along the
> lines of more related cleanup that wants doing). If you want to be able
> to use -march=iamcu, you need to enable that target as a secondary one.

 Fair enough, though it begs for a better error message.

  Maciej


More information about the Binutils mailing list