diff options
Diffstat (limited to 'lld/ELF/InputSection.h')
-rw-r--r-- | lld/ELF/InputSection.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/ELF/InputSection.h b/lld/ELF/InputSection.h index 356ccda..143384b 100644 --- a/lld/ELF/InputSection.h +++ b/lld/ELF/InputSection.h @@ -137,7 +137,7 @@ public: // Used by --optimize-bb-jumps and RISC-V linker relaxation temporarily to // indicate the number of bytes which is not counted in the size. This should // be reset to zero after uses. - uint16_t bytesDropped = 0; + uint32_t bytesDropped = 0; mutable bool compressed = false; @@ -401,7 +401,7 @@ private: template <class ELFT> void copyShtGroup(uint8_t *buf); }; -static_assert(sizeof(InputSection) <= 152, "InputSection is too big"); +static_assert(sizeof(InputSection) <= 160, "InputSection is too big"); class SyntheticSection : public InputSection { public: |