Add --gc-sections test checking removal of __start/__stop symbols.
authorAlan Modra <amodra@gmail.com>
Tue, 30 Jan 2018 11:41:00 +0000 (22:11 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 30 Jan 2018 11:43:43 +0000 (22:13 +1030)
commit040b4a9eb8430dc5e0fc657da88b08ab730b97ee
tree75d91f65f3b3111927a2c096494f5ec80ed8f525
parent76cb3a89a6615cf3418fa1efe8268bf6673a5c8a
Add --gc-sections test checking removal of __start/__stop symbols.

Well, just __stop__foo but that should be good enough.

* testsuite/ld-gc/stop.d,
* testsuite/ld-gc/stop.s: New test.
* testsuite/ld-gc/gc.exp: Run it.
ld/ChangeLog
ld/testsuite/ld-gc/gc.exp
ld/testsuite/ld-gc/stop.d [new file with mode: 0644]
ld/testsuite/ld-gc/stop.s [new file with mode: 0644]