forked from OSchip/llvm-project
[ELF] Keep only getTarget() call. NFC
The place from D61712 seems unneeded now. We can just use the place added by D62609 (support AArch64 BTI/PAC).
This commit is contained in:
parent
7b12e561ac
commit
e89d6d2ac5
|
@ -591,11 +591,6 @@ void LinkerDriver::linkerMain(ArrayRef<const char *> argsArr) {
|
|||
if (errorCount())
|
||||
return;
|
||||
|
||||
// The Target instance handles target-specific stuff, such as applying
|
||||
// relocations or writing a PLT section. It also contains target-dependent
|
||||
// values such as a default image base address.
|
||||
target = getTarget();
|
||||
|
||||
link(args);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue