[ELF] Fix duplicate work typo. NFC

This commit is contained in:
Fangrui Song 2022-11-03 23:10:19 -07:00
parent e604f88304
commit cb30072a72
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ static bool isADRP(uint32_t instr) {
return (instr & 0x9f000000) == 0x90000000;
}
// Load and store bit patterns from ARMv8-A ARM ARM.
// Load and store bit patterns from ARMv8-A.
// Instructions appear in order of appearance starting from table in
// C4.1.3 Loads and Stores.

View File

@ -3651,7 +3651,7 @@ size_t PPC64LongBranchTargetSection::getSize() const {
void PPC64LongBranchTargetSection::writeTo(uint8_t *buf) {
// If linking non-pic we have the final addresses of the targets and they get
// written to the table directly. For pic the dynamic linker will allocate
// the section and fill it it.
// the section and fill it.
if (config->isPic)
return;