summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-04-27 03:04:56 +0000
committerRui Ueyama <ruiu@google.com>2016-04-27 03:04:56 +0000
commit389aa8e91e152fc4ca7ee0b42b2f4e187eb81e4a (patch)
tree9ba15d2128b59c66128411374ff17c8fddae0360
parent23ce61b66334b78ce7a0dd48c24fbf407ca12d8b (diff)
downloadbcm5719-llvm-389aa8e91e152fc4ca7ee0b42b2f4e187eb81e4a.tar.gz
bcm5719-llvm-389aa8e91e152fc4ca7ee0b42b2f4e187eb81e4a.zip
Simplify. NFC.
llvm-svn: 267663
-rw-r--r--lld/ELF/Writer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp
index dd9710523ba..8ca9aa2a31f 100644
--- a/lld/ELF/Writer.cpp
+++ b/lld/ELF/Writer.cpp
@@ -842,7 +842,7 @@ static int getPPC64SectionRank(StringRef SectionName) {
template <class ELFT> static bool isRelroSection(OutputSectionBase<ELFT> *Sec) {
if (!Config->ZRelro)
return false;
- typename OutputSectionBase<ELFT>::uintX_t Flags = Sec->getFlags();
+ typename ELFT::uint Flags = Sec->getFlags();
if (!(Flags & SHF_ALLOC) || !(Flags & SHF_WRITE))
return false;
if (Flags & SHF_TLS)
OpenPOWER on IntegriCloud