[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:
Fangrui Song 2022-08-05 18:20:23 -07:00
parent 7b12e561ac
commit e89d6d2ac5
1 changed files with 0 additions and 5 deletions

View File

@ -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);
}