Update build glue for lld (MK_LLD=yes). Also update invocation of
elf::link() in lld.cpp.
This commit is contained in:
parent
9a9c3bae5e
commit
0f43089073
@ -148,7 +148,7 @@ int main(int argc, const char **argv) {
|
||||
|
||||
std::vector<const char *> args(argv, argv + argc);
|
||||
#ifdef __FreeBSD__
|
||||
return !elf::link(args, true);
|
||||
return !elf::link(args, canExitEarly(), llvm::outs(), llvm::errs());
|
||||
#else
|
||||
switch (parseFlavor(args)) {
|
||||
case Gnu:
|
||||
|
@ -27,6 +27,7 @@ CFLAGS+= -I${OBJTOP}/lib/clang/libllvm
|
||||
|
||||
SRCDIR= lld
|
||||
SRCS+= Common/Args.cpp
|
||||
SRCS+= Common/DWARF.cpp
|
||||
SRCS+= Common/ErrorHandler.cpp
|
||||
SRCS+= Common/Filesystem.cpp
|
||||
SRCS+= Common/Memory.cpp
|
||||
@ -36,6 +37,7 @@ SRCS+= Common/TargetOptionsCommandFlags.cpp
|
||||
SRCS+= Common/Threads.cpp
|
||||
SRCS+= Common/Version.cpp
|
||||
SRCS+= ELF/AArch64ErrataFix.cpp
|
||||
SRCS+= ELF/ARMErrataFix.cpp
|
||||
SRCS+= ELF/Arch/AArch64.cpp
|
||||
SRCS+= ELF/Arch/AMDGPU.cpp
|
||||
SRCS+= ELF/Arch/ARM.cpp
|
||||
|
Loading…
Reference in New Issue
Block a user