lto-18 test
authorAlan Modra <amodra@gmail.com>
Wed, 9 Sep 2020 02:46:23 +0000 (12:16 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 9 Sep 2020 03:06:59 +0000 (12:36 +0930)
commitfb7331ae2b551247a33e8da5387ebc910c4a7308
tree63a9cb66e0e78845d346425e3df1894ae943fa64
parent7671fe54f3a0c8c41098ad8fc32588a9e281c92c
lto-18 test

Demonstrates a reason to use IR symbols when deciding an --as-needed
library should be loaded.

* testsuite/ld-plugin/lto-18a.c,
* testsuite/ld-plugin/lto-18b.c,
* testsuite/ld-plugin/lto-18c.c,
* testsuite/ld-plugin/lto-18d.c,
* testsuite/ld-plugin/lto-18.out: New test.
* testsuite/ld-plugin/lto.exp: Run it.
ld/ChangeLog
ld/testsuite/ld-plugin/lto-18.out [new file with mode: 0644]
ld/testsuite/ld-plugin/lto-18a.c [new file with mode: 0644]
ld/testsuite/ld-plugin/lto-18b.c [new file with mode: 0644]
ld/testsuite/ld-plugin/lto-18c.c [new file with mode: 0644]
ld/testsuite/ld-plugin/lto-18d.c [new file with mode: 0644]
ld/testsuite/ld-plugin/lto.exp