diff options
author | Douglas B Rupp <rupp@adacore.com> | 2018-02-28 11:44:26 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2018-02-28 11:44:26 +0000 |
commit | 889be5dbd230ee47a90d4a83f682b13ed7e3faae (patch) | |
tree | 7c4623776aa822c8320d6b7cbe134e5a9492078e /ld/ChangeLog | |
parent | eef104664efb52965d85a28bc3fc7c77e52e48e2 (diff) | |
download | gdb-889be5dbd230ee47a90d4a83f682b13ed7e3faae.zip gdb-889be5dbd230ee47a90d4a83f682b13ed7e3faae.tar.gz gdb-889be5dbd230ee47a90d4a83f682b13ed7e3faae.tar.bz2 |
Remove any trailing directory separator from ld_canon_sysroot and adjust ld_canon_sysroot_len.
The problem was the ld expect libiberty/lrealpath() to always return a
path, but in some cases it returns a prefix. It seemed like too much of
an earthquake to propose a fix to lrealpath.
* ldmain.c (main): Remove directory separator, if any, from the
end of the canonicalized sysroot.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 07c86ef..f6b7508 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2018-02-28 Douglas B Rupp <rupp@adacore.com> + + * ldmain.c (main): Remove directory separator, if any, from the + end of the canonicalized sysroot. + 2018-02-27 H.J. Lu <hongjiu.lu@intel.com> * NEWS: Mention --enable-separate-code. |