testsuites: how to match something or no_this_line

YunQiang Su wzssyqa@gmail.com
Tue May 9 06:16:15 GMT 2023


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:

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


More information about the Binutils mailing list