aboutsummaryrefslogtreecommitdiff
path: root/ld/ChangeLog
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@bitrange.com>2014-10-15 03:03:59 +0200
committerHans-Peter Nilsson <hp@bitrange.com>2014-10-15 03:04:21 +0200
commitbfa234344327776fb3b16e8bfd9c8de6ec73ae31 (patch)
treea0b2c562aca0683ae56024a46aa2e908c82441c9 /ld/ChangeLog
parentef1ab8e216a01d94a4cd23dc94363a78e2971b84 (diff)
downloadgdb-bfa234344327776fb3b16e8bfd9c8de6ec73ae31.zip
gdb-bfa234344327776fb3b16e8bfd9c8de6ec73ae31.tar.gz
gdb-bfa234344327776fb3b16e8bfd9c8de6ec73ae31.tar.bz2
If "=" is the first character in a ldscript input file, force a sysroot prefix.
* ldlang.c (lang_add_input_file): If the first character in the filename is '=', prepend the sysroot and force the context of that input file to non-sysroot. The "input_flags.sysrooted = 0" thing described in the comment is covered by the testsuite part ("root-anchored =-prefixed script inside"), but only observable for --with-sysroot configurations.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r--ld/ChangeLog3
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index dd7c75e..49a0a66 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,8 @@
2014-10-15 Hans-Peter Nilsson <hp@axis.com>
+ * ldlang.c (lang_add_input_file): If the first character in the
+ filename is '=', prepend the sysroot and force the context of that
+ input file to non-sysroot.
* ld.texinfo (Options): When mentioning "=" and sysroot, mention
that --sysroot controls it, not only through the configuration.
(input files in linker scripts): When mentioning