diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2016-07-19 12:33:46 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2016-07-19 12:33:46 +0000 |
commit | 169679f7a6a260e30425dc75d1daa3e82e632962 (patch) | |
tree | ed03c95cd41c8f36e050a4b75cafa2428183e473 /lld/ELF/Writer.h | |
parent | af66faf9f58d944f585b13ee59cf18fd652a49a1 (diff) |
Fix build with gcc 6.
Diffstat (limited to 'lld/ELF/Writer.h')
-rw-r--r-- | lld/ELF/Writer.h | 4 |
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 = {}; |