ld bootstrap test in build dir with path containing symlinks
authorAlan Modra <amodra@gmail.com>
Sun, 18 Dec 2022 02:24:49 +0000 (12:54 +1030)
committerAlan Modra <amodra@gmail.com>
Sun, 18 Dec 2022 08:41:32 +0000 (19:11 +1030)
commit3bbdb440d0eb9333c969e87d75996011bcdc9aff
treea6645fea85e5a231a8bd6da9d90fc5a57aab9384
parent4ff87a3052e4fb4a56def9a33dfd97a1e0fd0eff
ld bootstrap test in build dir with path containing symlinks

This allows the bootstrap test to run if you have a symlink somewhere
in the build path directory.  $ld depends on $base_dir which is set
via tcl [pwd], collapsing the symlink like /usr/bin/pwd, while $objdir
contains the symlink.

* testsuite/ld-bootstrap/bootstrap.exp: Normalize paths when
checking for ld build directory.
ld/testsuite/ld-bootstrap/bootstrap.exp