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

Richard Earnshaw (lists) Richard.Earnshaw@arm.com
Tue Jun 27 14:33:17 GMT 2023


On 27/06/2023 14:58, Nick Clifton via Binutils wrote:
> 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
> 

I don't have time to work on this at present.  Could you ticket it in 
bz, please?

R.


More information about the Binutils mailing list