summaryrefslogtreecommitdiff
path: root/lld/ELF/Writer.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2016-07-19 12:33:46 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2016-07-19 12:33:46 +0000
commit169679f7a6a260e30425dc75d1daa3e82e632962 (patch)
treeed03c95cd41c8f36e050a4b75cafa2428183e473 /lld/ELF/Writer.h
parentaf66faf9f58d944f585b13ee59cf18fd652a49a1 (diff)
Fix build with gcc 6.
Diffstat (limited to 'lld/ELF/Writer.h')
-rw-r--r--lld/ELF/Writer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/ELF/Writer.h b/lld/ELF/Writer.h
index ec7a2eb6d59..256d74bf431 100644
--- a/lld/ELF/Writer.h
+++ b/lld/ELF/Writer.h
@@ -35,8 +35,8 @@ uint32_t toPhdrFlags(uint64_t Flags);
// Each contains type, access flags and range of output sections that will be
// placed in it.
template<class ELFT>
-struct Phdr {
- Phdr(unsigned Type, unsigned Flags);
+struct PhdrEntry {
+ PhdrEntry(unsigned Type, unsigned Flags);
void AddSec(OutputSectionBase<ELFT> *Sec);
typename ELFT::Phdr H = {};