If "=" is the first character in a ldscript input file, force a sysroot prefix.
authorHans-Peter Nilsson <hp@bitrange.com>
Wed, 15 Oct 2014 01:03:59 +0000 (03:03 +0200)
committerHans-Peter Nilsson <hp@bitrange.com>
Wed, 15 Oct 2014 01:04:21 +0000 (03:04 +0200)
commitbfa234344327776fb3b16e8bfd9c8de6ec73ae31
treea0b2c562aca0683ae56024a46aa2e908c82441c9
parentef1ab8e216a01d94a4cd23dc94363a78e2971b84
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.
ld/ChangeLog
ld/ldlang.c
This page took 0.024927 seconds and 4 git commands to generate.