Revert "Remove tests that test __gnu_lto_v1 symbol."
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 24 Jul 2019 15:15:56 +0000 (08:15 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 24 Jul 2019 15:17:33 +0000 (08:17 -0700)
commit8f79c1075e8f258ac5a909b39704009ebc440e76
tree8016d8f2023111d210dbf38de6142f9ce0fed2d1
parent4625b4d081eb0a243c6c7370f9a12c97bf6bcf65
Revert "Remove tests that test __gnu_lto_v1 symbol."

Revert

commit 8c728a9d93e2342c57039fcdd6e4a502875b9e09
Author: Martin Liska <mliska@suse.cz>
Date:   Mon Jul 22 14:23:32 2019 +0200

    Remove tests that test __gnu_lto_v1 symbol.

since outputs of these tests are used by later tests.  Check the normal
symbol, foo, instead of __gnu_lto_v.*, which GCC stopped emitting after
r273662.

* testsuite/ld-plugin/lto-3r.d: Restored.  Check foo instead
of __gnu_lto_v.*.
* testsuite/ld-plugin/lto-5r.d: Likewise.
* testsuite/ld-plugin/lto.exp: Run lto-3r and lto-5r tests.
ld/ChangeLog
ld/testsuite/ld-plugin/lto-3r.d [new file with mode: 0644]
ld/testsuite/ld-plugin/lto-5r.d [new file with mode: 0644]
ld/testsuite/ld-plugin/lto.exp