Skip to content

Commit e89d6d2

Browse files
committed
[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).
1 parent 7b12e56 commit e89d6d2

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lld/ELF/Driver.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -591,11 +591,6 @@ void LinkerDriver::linkerMain(ArrayRef<const char *> argsArr) {
591591
if (errorCount())
592592
return;
593593

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

0 commit comments

Comments
 (0)