summaryrefslogtreecommitdiffstats
path: root/lld/ELF/Target.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/Target.h')
-rw-r--r--lld/ELF/Target.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lld/ELF/Target.h b/lld/ELF/Target.h
index 5b7af1c7f08..1683b3c0430 100644
--- a/lld/ELF/Target.h
+++ b/lld/ELF/Target.h
@@ -46,8 +46,8 @@ public:
// If lazy binding is supported, the first entry of the PLT has code
// to call the dynamic linker to resolve PLT entries the first time
// they are called. This function writes that code.
- virtual void writePltZero(uint8_t *Buf, uint64_t GotEntryAddr,
- uint64_t PltEntryAddr) const = 0;
+ virtual void writePltZero(uint8_t *Buf, uint64_t GotAddr,
+ uint64_t PltAddr) const = 0;
virtual void writePlt(uint8_t *Buf, uint64_t GotAddr, uint64_t GotEntryAddr,
uint64_t PltEntryAddr, int32_t Index,
@@ -100,7 +100,7 @@ public:
unsigned TlsModuleIndexRel;
unsigned TlsOffsetRel;
unsigned PltEntrySize = 8;
- unsigned PltZeroEntrySize = 0;
+ unsigned PltZeroSize = 0;
unsigned GotHeaderEntriesNum = 0;
unsigned GotPltHeaderEntriesNum = 3;
bool UseLazyBinding = false;
OpenPOWER on IntegriCloud