testsuites: how to match something or no_this_line
YunQiang Su
wzssyqa@gmail.com
Tue May 9 06:44:58 GMT 2023
YunQiang Su <wzssyqa@gmail.com> 于2023年5月9日周二 14:16写道:
>
> I am working on binutils testsuites, and I find that I need to do so.
>
> An example is like this: <gas/testsuite/gas/all/fwdexp.d>
> The MIPS n64 has different relocation type like:
>
Sorry for the noisy: by reading the code of binutils-common.exp, I find
#?EXP
can work.
> 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.
>
> --
> YunQiang Su
--
YunQiang Su
More information about the Binutils
mailing list