Patch by @b-sumner
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
g++4.8.2 is complaining:
../../../InputSection.h: In constructor 'lld::elf::SectionPiece::SectionPiece(size_t, uint32_t, bool)':
../../../InputSection.h:219:41: error: large integer implicitly truncated to unsigned type [-Werror=overflow]
Live(Live || !Config->GcSections) {} ^
Comment Actions
Thanks, I confirmed.
Since we have plenty bits for OutputOff, changing the type of OutputOff from uint64_t to int64_t seems better than using an obscure very large constant.