]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
ld: fix plugin tests for MIPS PIC
authorYunQiang Su <yunqiang.su@cipunited.com>
Mon, 3 Jul 2023 04:43:21 +0000 (12:43 +0800)
committerYunQiang Su <yunqiang.su@cipunited.com>
Fri, 7 Jul 2023 06:58:48 +0000 (14:58 +0800)
commit9c63989b5d7bf960e0fb7c7fe4c19a2fd312b774
tree7e057146e507c80263c9673c264809723863530b
parent4a9d53839742bb74af5d8cbcd372e2a173fbc6ba
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.
ld/testsuite/ld-plugin/plugin-14.d
ld/testsuite/ld-plugin/plugin-15.d
ld/testsuite/ld-plugin/plugin-16.d
ld/testsuite/ld-plugin/plugin-20.d
ld/testsuite/ld-plugin/plugin-21.d
ld/testsuite/ld-plugin/plugin-22.d
ld/testsuite/ld-plugin/plugin-23.d
ld/testsuite/ld-plugin/plugin-6.d
ld/testsuite/ld-plugin/plugin-7.d
ld/testsuite/ld-plugin/plugin-8.d