Fix the PR22983 test so that it will work regardless of the order of the symbols...
authorNick Clifton <nickc@redhat.com>
Tue, 12 Jun 2018 12:22:24 +0000 (13:22 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 12 Jun 2018 12:22:24 +0000 (13:22 +0100)
commit212b9bc7b4cfa7702005928dc3bffb3ba3a6e19a
tree0668a18b780f783bb162bdbfc2afb1fabcf95ce6
parentd89c18895bfdbf092ff34fd7c593cdab4105b5cc
Fix the PR22983 test so that it will work regardless of the order of the symbols in the dynamic symbol table.

See email thread starting here for more details:
  https://sourceware.org/ml/binutils/2018-06/msg00036.html

PR 22983
* testsuite/ld-plugin/lto.exp: Use individual tests to check for
the presence of each expected symbol.
* testsuite/ld-plugin/pr22983.1.d: New file.
* testsuite/ld-plugin/pr22983.2.d: New file.
* testsuite/ld-plugin/pr22983.3.d: New file.
* testsuite/ld-plugin/pr22983.4.d: New file.
ld/ChangeLog
ld/testsuite/ld-plugin/lto.exp
ld/testsuite/ld-plugin/pr22983.1.d [new file with mode: 0644]
ld/testsuite/ld-plugin/pr22983.2.d [new file with mode: 0644]
ld/testsuite/ld-plugin/pr22983.3.d [new file with mode: 0644]
ld/testsuite/ld-plugin/pr22983.4.d [new file with mode: 0644]