ld: Fix testcase errors due to -shared not support.
authorjiawei <jiawei@iscas.ac.cn>
Thu, 23 Dec 2021 06:19:58 +0000 (14:19 +0800)
committerNelson Chu <nelson.chu@sifive.com>
Tue, 28 Dec 2021 04:14:32 +0000 (12:14 +0800)
commit4748764aaba89b8515cbf8918dc0ada840cdfab7
tree7d88f2ca49ce6e3d1d7bdb7729f62636ef7658f4
parentd4ff0c5d0065bf4f180524022b10f4b4a3e2c378
ld: Fix testcase errors due to -shared not support.

Reviewed-by: Jim Wilson <jim.wilson.gcc@gmail.com>
ld/ChangeLog:

        * testsuite/ld-ctf/ctf.exp: Add shared lib check.
        * testsuite/ld-plugin/lto.exp: Add lto shared check.
ld/testsuite/ld-ctf/ctf.exp
ld/testsuite/ld-plugin/lto.exp