diff options
author | Nick Clifton <nickc@redhat.com> | 2017-05-18 15:07:59 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-05-18 15:07:59 +0100 |
commit | 3aa2d05a728216bbb99dbb5718be9bb36429cf41 (patch) | |
tree | 634ea00884160b88e1c0c55154b963ab3652e077 /ld/ChangeLog | |
parent | 59cc050d893d1e8c75547de950a35e809588f12f (diff) | |
download | gdb-3aa2d05a728216bbb99dbb5718be9bb36429cf41.zip gdb-3aa2d05a728216bbb99dbb5718be9bb36429cf41.tar.gz gdb-3aa2d05a728216bbb99dbb5718be9bb36429cf41.tar.bz2 |
Treat a prefix of "$SYSROOT" in the same way as "=" when parsing linker search paths.
PR ld/21251
* ldfile.c (ldfile_add_library_path): If the path starts with
$SYSROOT then use the sysroot as the real prefix.
* ldlang.c (lang_add_input_file): Treat $SYSROOT in the same
way as =.
* ldlex.l: Add $SYSROOT as allow prefix for a filename.
* ld.texinfo (-L): Document that $SYSROOT acts like = when
prefixing a library search path.
(INPUT): Likewise.
* testsuite/ld-scripts/sysroot-prefix.exp: Add $SYSROOT prefix
tests.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 9e5b66b..097afac 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,17 @@ +2017-05-18 Nick Clifton <nickc@redhat.com> + + PR ld/21251 + * ldfile.c (ldfile_add_library_path): If the path starts with + $SYSROOT then use the sysroot as the real prefix. + * ldlang.c (lang_add_input_file): Treat $SYSROOT in the same + way as =. + * ldlex.l: Add $SYSROOT as allow prefix for a filename. + * ld.texinfo (-L): Document that $SYSROOT acts like = when + prefixing a library search path. + (INPUT): Likewise. + * testsuite/ld-scripts/sysroot-prefix.exp: Add $SYSROOT prefix + tests. + 2017-05-18 Alan Modra <amodra@gmail.com> * emultempl/elf32.em: Don't compare boolean values against TRUE or FALSE. |