[ELF] - Linkerscript: Fall back to search paths when INCLUDE not found
authorGeorge Rimar <grimar@accesssoftek.com>
Wed, 21 Dec 2016 09:42:25 +0000 (09:42 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Wed, 21 Dec 2016 09:42:25 +0000 (09:42 +0000)
commitd45006530833d60a2d8d961064eda5b751575b86
treeffb9c0a9f1ea4184a9e4fd81dc7d6573012b5cff
parentcecc4af496a4cf40ae5e4f364e45427041f5a0a7
[ELF] - Linkerscript: Fall back to search paths when INCLUDE not found

From https://sourceware.org/binutils/docs/ld/File-Commands.html:
The file will be searched for in the current directory, and in any
directory specified with the -L option.

Patch done by Alexander Richardson.

Differential revision: https://reviews.llvm.org/D27831

llvm-svn: 290247
lld/ELF/LinkerScript.cpp
lld/test/ELF/linkerscript/linkerscript.s