binutils-gdb/ld/testsuite/ld-plugin/plugin-22.d
YunQiang Su 0fa7d86440 ld: fix plugin tests for MIPS PIC
On MIPS, for PIC objects, symbols may reference 2 times:
once from the caller, and once from GOT.
Thus ld may complains 2 times about "undefined reference".

So we add a new "#?" line to every effected testsuite.
2023-07-06 09:53:18 +08:00

9 lines
316 B
Makefile

Claimed: tmpdir[/\\]libfunc.a \[@.*
hook called: all symbols read.
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF.*
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF.*
.*: tmpdir/main.o: in function `main':
.*main.c.*: undefined reference to `\.?func'
#?.*main.c.*: undefined reference to `\.?func'
hook called: cleanup.