summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/ELF/SyntheticSections.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/ELF/SyntheticSections.h b/lld/ELF/SyntheticSections.h
index dab530234b8..6c8bd87f216 100644
--- a/lld/ELF/SyntheticSections.h
+++ b/lld/ELF/SyntheticSections.h
@@ -310,7 +310,7 @@ private:
class DynamicReloc {
public:
- DynamicReloc(uint32_t Type, const InputSectionBase *InputSec,
+ DynamicReloc(RelType Type, const InputSectionBase *InputSec,
uint64_t OffsetInSec, bool UseSymVA, Symbol *Sym, int64_t Addend)
: Type(Type), Sym(Sym), InputSec(InputSec), OffsetInSec(OffsetInSec),
UseSymVA(UseSymVA), Addend(Addend) {}
@@ -320,7 +320,7 @@ public:
uint32_t getSymIndex() const;
const InputSectionBase *getInputSec() const { return InputSec; }
- uint32_t Type;
+ RelType Type;
private:
Symbol *Sym;
OpenPOWER on IntegriCloud