diff options
Diffstat (limited to 'lld/ELF/OutputSections.h')
-rw-r--r-- | lld/ELF/OutputSections.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/ELF/OutputSections.h b/lld/ELF/OutputSections.h index 6aecce7ae3e..8836f9381ea 100644 --- a/lld/ELF/OutputSections.h +++ b/lld/ELF/OutputSections.h @@ -48,7 +48,7 @@ public: uint32_t getPhdrFlags() const; - void updateAlignment(uint64_t Val) { + void updateAlignment(uint32_t Val) { if (Val > Alignment) Alignment = Val; } @@ -70,11 +70,11 @@ public: // The following fields correspond to Elf_Shdr members. uint64_t Size = 0; uint64_t Entsize = 0; - uint64_t Alignment = 0; uint64_t Offset = 0; uint64_t Flags = 0; uint64_t LMAOffset = 0; uint64_t Addr = 0; + uint32_t Alignment = 0; uint32_t ShName = 0; uint32_t Type = 0; uint32_t Info = 0; |