[lld] e8e0e5f - [NFC] Small indentation fix in lld/ELF/Relocations.cpp
Shivam Gupta via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 22 05:10:53 PST 2023
Author: Shivam Gupta
Date: 2023-01-22T18:40:58+05:30
New Revision: e8e0e5f3eea86e4707279e418f0d40c67109daf9
URL: https://github.com/llvm/llvm-project/commit/e8e0e5f3eea86e4707279e418f0d40c67109daf9
DIFF: https://github.com/llvm/llvm-project/commit/e8e0e5f3eea86e4707279e418f0d40c67109daf9.diff
LOG: [NFC] Small indentation fix in lld/ELF/Relocations.cpp
Added:
Modified:
lld/ELF/Relocations.cpp
Removed:
################################################################################
diff --git a/lld/ELF/Relocations.cpp b/lld/ELF/Relocations.cpp
index 6ef7a328e96df..1368d90531250 100644
--- a/lld/ELF/Relocations.cpp
+++ b/lld/ELF/Relocations.cpp
@@ -1021,10 +1021,10 @@ void RelocationScanner::processAux(RelExpr expr, RelType type, uint64_t offset,
// R_HEX_GD_PLT_B22_PCREL (call a at GDPLT) is transformed into
// call __tls_get_addr even if the symbol is non-preemptible.
if (!(config->emachine == EM_HEXAGON &&
- (type == R_HEX_GD_PLT_B22_PCREL ||
- type == R_HEX_GD_PLT_B22_PCREL_X ||
- type == R_HEX_GD_PLT_B32_PCREL_X)))
- expr = fromPlt(expr);
+ (type == R_HEX_GD_PLT_B22_PCREL ||
+ type == R_HEX_GD_PLT_B22_PCREL_X ||
+ type == R_HEX_GD_PLT_B32_PCREL_X)))
+ expr = fromPlt(expr);
} else if (!isAbsoluteValue(sym)) {
expr =
target->adjustGotPcExpr(type, addend, sec->content().data() + offset);
More information about the llvm-commits
mailing list