[lld] r254031 - ELF2: LinkerScript: lookup absolute paths under sysroot

Hans Wennborg via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 24 17:01:55 PST 2015


On Tue, Nov 24, 2015 at 2:16 PM, Simon Atanasyan via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> Author: atanasyan
> Date: Tue Nov 24 16:16:25 2015
> New Revision: 254031
>
> URL: http://llvm.org/viewvc/llvm-project?rev=254031&view=rev
> Log:
> ELF2: LinkerScript: lookup absolute paths under sysroot
>
> In case a sysroot prefix is configured, and the filename starts with the
> '/' character, and the script being processed was located inside the
> sysroot prefix, the file's name will be looked for in the sysroot
> prefix. Otherwise, the linker falls to the common lookup scheme.
>
> https://www.sourceware.org/binutils/docs-2.24/ld/File-Commands.html
>
> Differential Revision: http://reviews.llvm.org/D14916

The test was failing on Windows. I've reverted this commit in r254049.


More information about the llvm-commits mailing list