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

Simon Atanasyan via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 25 07:01:11 PST 2015


On Wed, Nov 25, 2015 at 4:01 AM, Hans Wennborg <hans at chromium.org> wrote:
> 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.

Thanks. I will investigate the problem.

-- 
Simon Atanasyan


More information about the llvm-commits mailing list