Commit: Fix gas testsuite failures for non-ELF AArch64 toolchains

Nick Clifton nickc@redhat.com
Tue Jun 27 13:58:36 GMT 2023


Hi Richard,

> This seems a little draconian (a test doesn't work so we ignore it)?

True.  In most cases the problem is that an assembler command line option
is being used that is specific to the ELF targetted assembler.  (eg -mabi=ilp32)

It would certainly be possible to create PE/COFF equivalents of the tests
that use appropriate alternative command line options.


> I'd be much more inclined to rename the problematic .d files as -elf.d and then add variants for coff, with both using the same source .s file.  Only where the test is 
> specifically designed to test the ELF format (or an feature of it) should we be skipping the test entirely.

Sure - any patches to do this would be most welcome.

Cheers
   Nick



More information about the Binutils mailing list