testsuites: how to match something or no_this_line

Andreas Schwab schwab@suse.de
Tue May 9 07:48:26 GMT 2023


On Mai 09 2023, YunQiang Su via Binutils wrote:

> An example is like this: <gas/testsuite/gas/all/fwdexp.d>
> The MIPS n64 has different relocation type like:
>
> RELOCATION RECORDS FOR [.text]:
> OFFSET           TYPE              VALUE
> 0000000000000000 R_MIPS_64         .data-0x0000000000000008
> 0000000000000000 R_MIPS_NONE       *ABS*-0x0000000000000008
> 0000000000000000 R_MIPS_NONE       *ABS*-0x0000000000000008
>
> While normally, for other ports, it like
>
> RELOCATION RECORDS FOR [.text]:
> OFFSET   TYPE              VALUE
> 00000000 R_MIPS_32         .data
>
> Maybe I can sed out R_MIPS_NONE, but I don't know how to do so either.

It's really a bug in the mips backend, nothing should ever emit R_*_NONE
relocations.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


More information about the Binutils mailing list