weak alias test
authorAlan Modra <amodra@gmail.com>
Fri, 1 Dec 2017 03:08:01 +0000 (13:38 +1030)
committerAlan Modra <amodra@gmail.com>
Fri, 1 Dec 2017 06:53:56 +0000 (17:23 +1030)
commit40363a913b8c1292af97b4f50a0b2c5e6fdd04cb
tree0ff3e7c19e0cafecf4ed47333500c2678ef1dc31
parent63c1f59d665542359de4737e3e48033c588f44dc
weak alias test

This adds the test I was using when testing 60d67dc8.

* testsuite/ld-elfweak/alias.c,
* testsuite/ld-elfweak/alias.dat,
* testsuite/ld-elfweak/aliasmain.c,
* testsuite/ld-elfweak/weakref1.c,
* testsuite/ld-elfweak/weakref2.c: New test.
* testsuite/ld-elfweak/elfweak.exp: Run it.  Don't return on fails,
attempt other tests.
ld/ChangeLog
ld/testsuite/ld-elfweak/alias.c [new file with mode: 0644]
ld/testsuite/ld-elfweak/alias.dat [new file with mode: 0644]
ld/testsuite/ld-elfweak/aliasmain.c [new file with mode: 0644]
ld/testsuite/ld-elfweak/elfweak.exp
ld/testsuite/ld-elfweak/weakref1.c [new file with mode: 0644]
ld/testsuite/ld-elfweak/weakref2.c [new file with mode: 0644]