ELF: Support INPUT linker script directive
authorRui Ueyama <ruiu@google.com>
Tue, 3 Feb 2015 23:00:19 +0000 (23:00 +0000)
committerRui Ueyama <ruiu@google.com>
Tue, 3 Feb 2015 23:00:19 +0000 (23:00 +0000)
commit2a96704b339699d60dd8849b4a73f4e133879354
tree9f1e4890e85f074bb10cfb5fc515896a997cb67e
parent11ca834bef952ee84d61b0e4bd3045077095f280
ELF: Support INPUT linker script directive

INPUT directive is a variant of GROUP in the sense that that specifies
a list of input files. The only difference is whether the entire file
list is wrapped with a --start-group/--end-group or not.

http://reviews.llvm.org/D7390

llvm-svn: 228060
lld/include/lld/ReaderWriter/LinkerScript.h
lld/lib/Driver/GnuLdDriver.cpp
lld/lib/ReaderWriter/LinkerScript.cpp
lld/unittests/DriverTests/GnuLdDriverTest.cpp