ld: Restore PR ld/15146 tests
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 4 Feb 2021 13:11:37 +0000 (05:11 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 4 Feb 2021 13:11:49 +0000 (05:11 -0800)
commit37707bd8221c2e3f7676de8bee0c42ce3ab38c77
tree63acf371c3ed5446a3afd08b5c810478bce9a8b2
parent24075dcc8592db6e17dd18ee4fd8961635691bf6
ld: Restore PR ld/15146 tests

commit 7d409ac001cce916661d345bff01ed589991e762
Author: Alan Modra <amodra@gmail.com>
Date:   Thu Feb 4 13:56:34 2021 +1030

    PR27311, (symbol from plugin): undefined reference, hidden sym

fixed PR ld/15146.  Restore PR ld/15146 tests.

PR ld/15146
* testsuite/ld-plugin/lto.exp: Run PR ld/15146 tests.
* testsuite/ld-plugin/pr15146.d: Restored.
* testsuite/ld-plugin/pr15146a.c: Likewise.
* testsuite/ld-plugin/pr15146b.c: Likewise.
* testsuite/ld-plugin/pr15146c.c: Likewise.
* testsuite/ld-plugin/pr15146d.c: Likewise.
ld/ChangeLog
ld/testsuite/ld-plugin/lto.exp
ld/testsuite/ld-plugin/pr15146.d [new file with mode: 0644]
ld/testsuite/ld-plugin/pr15146a.c [new file with mode: 0644]
ld/testsuite/ld-plugin/pr15146b.c [new file with mode: 0644]
ld/testsuite/ld-plugin/pr15146c.c [new file with mode: 0644]
ld/testsuite/ld-plugin/pr15146d.c [new file with mode: 0644]