Skip to content

Commit 9383f82

Browse files
MaskRaytstellar
authored andcommitted
[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). (cherry picked from commit e89d6d2)
1 parent 107b9db commit 9383f82

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lld/ELF/Driver.cpp

-5
Original file line numberDiff line numberDiff line change
@@ -590,11 +590,6 @@ void LinkerDriver::linkerMain(ArrayRef<const char *> argsArr) {
590590
if (errorCount())
591591
return;
592592

593-
// The Target instance handles target-specific stuff, such as applying
594-
// relocations or writing a PLT section. It also contains target-dependent
595-
// values such as a default image base address.
596-
target = getTarget();
597-
598593
link(args);
599594
}
600595

0 commit comments

Comments
 (0)