aboutsummaryrefslogtreecommitdiff
path: root/ELF/Relocations.h
diff options
context:
space:
mode:
Diffstat (limited to 'ELF/Relocations.h')
-rw-r--r--ELF/Relocations.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ELF/Relocations.h b/ELF/Relocations.h
index 56c14c115..dab60b449 100644
--- a/ELF/Relocations.h
+++ b/ELF/Relocations.h
@@ -60,9 +60,10 @@ enum RelExpr {
R_TLSLD_PC
};
-struct Relocation {
+template <class ELFT> struct Relocation {
RelExpr Expr;
uint32_t Type;
+ InputSectionBase<ELFT> *InputSec;
uint64_t Offset;
uint64_t Addend;
SymbolBody *Sym;