Clean elfvsb files left over from previous runs
authorAlan Modra <amodra@gmail.com>
Mon, 10 Apr 2017 05:40:58 +0000 (15:10 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 10 Apr 2017 05:40:58 +0000 (15:10 +0930)
commit37095d07b470ea94d578cd5ca2da032617200c52
tree9605de71a6ab5f1bbe67a1a48ec8736ce930c11c
parentaa808707033a46ee063263f4bc1bd06449851621
Clean elfvsb files left over from previous runs

My mips-linux and mips64-linux testsuite runs have been failing a
bunch of visibility tests, seemingly randomly.  It turns out the
problem occurs when object files are left over in ld/tmpdir from a
previous run.

* testsuite/ld-elfvsb/elfvsb.exp (visibility_run): Delete
sh1p.o, sh2p.o, sh1np.o and sh2np.o before compiling.  Use
remote_file host exists rather than file exists.
ld/ChangeLog
ld/testsuite/ld-elfvsb/elfvsb.exp