Remove default values that vary depending on target.

llvm-svn: 272976
This commit is contained in:
Rui Ueyama 2016-06-16 23:50:25 +00:00
parent 2f524fb7c7
commit c737ef5d21
2 changed files with 4 additions and 3 deletions

View File

@ -936,6 +936,7 @@ PPC64TargetInfo::PPC64TargetInfo() {
PltRel = GotRel = R_PPC64_GLOB_DAT;
RelativeRel = R_PPC64_RELATIVE;
PltEntrySize = 32;
PltHeaderSize = 0;
// We need 64K pages (at least under glibc/Linux, the loader won't
// set different permissions on a finer granularity than that).

View File

@ -74,11 +74,11 @@ public:
uint32_t RelativeRel;
uint32_t IRelativeRel;
uint32_t TlsDescRel;
uint32_t TlsGotRel = 0;
uint32_t TlsGotRel;
uint32_t TlsModuleIndexRel;
uint32_t TlsOffsetRel;
unsigned PltEntrySize = 8;
unsigned PltHeaderSize = 0;
unsigned PltEntrySize;
unsigned PltHeaderSize;
// At least on x86_64 positions 1 and 2 are used by the first plt entry
// to support lazy loading.