[PATCH] MIPS: gas: alter 64 or 32 for r6 triples if march is implicit
Maciej W. Rozycki
macro@orcam.me.uk
Mon May 8 19:06:30 GMT 2023
On Mon, 8 May 2023, Maciej W. Rozycki wrote:
> > If most of any arch can work, but us, it's MIPS's bug: we cannot
> > change the whole world.
>
> It's not a MIPS bug, and I have seen it elsewhere too. For example:
> <https://lists.gnu.org/archive/html/bug-binutils/2014-01/msg00037.html>.
> Software maintainers need to accept all the world's not a VAX/x86/whatever
> and that if something works by chance in the majority of cases, it does
> not mean it is correct.
To be fair we might well suppress setting and/or verifying ISA, ASE, PIC,
etc. flags for object files that only contain data (i.e. no SHF_EXECINTR
sections), because such annotation is only relevant to executable code.
This would I suppose largely mitigate the issue with linking object files
made from raw data with LD or `objcopy'.
Maciej
More information about the Binutils
mailing list