freebsd-skq/contrib/llvm/tools/lld/ELF
emaste f3775907dd lld: hack version and help output for compatibility with libtool
GNU libtool checks the output from invoking the linker with --version
and --help, in order to determine the linker "flavour" and the command-
ine arguments to use for various link operations (e.g. generating shared
libraries). To detect GNU ld it looks for the strings "GNU" and
"supported targets:.*elf". Since LLD is compatible with GNU ld we
include those same strings to fool libtool.

Quoting from a comment in the change:
    This is somewhat ugly hack, but in reality, we had no choice other
    than doing this. Considering the very long release cycle of Libtool,
    it is not easy to improve it to recognize LLD as a GNU compatible
    linker in a timely manner. Even if we can make it, there are still a
    lot of "configure" scripts out there that are generated by old
    version of Libtool. We cannot convince every software developer to
    migrate to the latest version and re-generate scripts. So we have
    this hack.

Upstream LLVM revisions r298532, r298568, r298591

Obtained from:	LLVM
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
2017-03-27 16:01:16 +00:00
..
CMakeLists.txt
Config.h Merge llvm, clang, compiler-rt, libc++, lld and lldb release_40 branch 2017-02-05 19:57:41 +00:00
Driver.cpp lld: hack version and help output for compatibility with libtool 2017-03-27 16:01:16 +00:00
Driver.h Merge llvm, clang, lld and lldb trunk r291476. 2017-01-09 22:32:19 +00:00
DriverUtils.cpp lld: hack version and help output for compatibility with libtool 2017-03-27 16:01:16 +00:00
EhFrame.cpp
EhFrame.h
Error.cpp Merge llvm, clang, lld and lldb release_40 branch r292009. Also update 2017-01-14 22:12:13 +00:00
Error.h Merge llvm, clang, lld and lldb release_40 branch r292009. Also update 2017-01-14 22:12:13 +00:00
GdbIndex.cpp
GdbIndex.h
ICF.cpp
ICF.h
InputFiles.cpp Merge llvm, clang, lld and lldb release_40 branch r292009. Also update 2017-01-14 22:12:13 +00:00
InputFiles.h Merge llvm, clang, compiler-rt, libc++, lld and lldb release_40 branch 2017-02-01 21:57:07 +00:00
InputSection.cpp Merge llvm, clang, compiler-rt, libc++, lld and lldb release_40 branch 2017-02-01 21:57:07 +00:00
InputSection.h Merge llvm, clang, lld and lldb release_40 branch r292009. Also update 2017-01-14 22:12:13 +00:00
LinkerScript.cpp Merge llvm, clang, compiler-rt, libc++, lld and lldb release_40 branch 2017-01-29 21:56:47 +00:00
LinkerScript.h
LTO.cpp
LTO.h
MarkLive.cpp
Memory.h
Mips.cpp
Options.td Merge llvm, clang, compiler-rt, libc++, lld and lldb release_40 branch 2017-02-05 19:57:41 +00:00
OutputSections.cpp Merge llvm, clang, lld and lldb release_40 branch r292009. Also update 2017-01-14 22:12:13 +00:00
OutputSections.h Merge llvm, clang, lld and lldb release_40 branch r292009. Also update 2017-01-14 22:12:13 +00:00
README.md
Relocations.cpp Merge llvm, clang, lld and lldb release_40 branch r292009. Also update 2017-01-14 22:12:13 +00:00
Relocations.h
ScriptParser.cpp
ScriptParser.h
Strings.cpp
Strings.h
Symbols.cpp Merge llvm, clang, compiler-rt, libc++, lld and lldb release_40 branch 2017-02-05 19:57:41 +00:00
Symbols.h Merge llvm, clang, lld and lldb release_40 branch 292732, and update 2017-01-22 18:02:44 +00:00
SymbolTable.cpp Merge llvm, clang, lld and lldb release_40 branch 292732, and update 2017-01-22 18:02:44 +00:00
SymbolTable.h Merge llvm, clang, lld and lldb release_40 branch 292732, and update 2017-01-22 18:02:44 +00:00
SyntheticSections.cpp Merge llvm, clang, compiler-rt, libc++, lld and lldb release_40 branch 2017-02-05 19:57:41 +00:00
SyntheticSections.h Merge llvm, clang, compiler-rt, libc++, lld and lldb release_40 branch 2017-02-01 21:57:07 +00:00
Target.cpp Merge llvm, clang, lld and lldb release_40 branch r292009. Also update 2017-01-14 22:12:13 +00:00
Target.h Merge llvm, clang, lld and lldb trunk r291274, and resolve conflicts. 2017-01-06 20:24:06 +00:00
Threads.h
Thunks.cpp
Thunks.h
Writer.cpp Merge llvm, clang, compiler-rt, libc++, lld and lldb release_40 branch 2017-02-05 19:57:41 +00:00
Writer.h

See docs/NewLLD.rst