K 10 svn:author V 3 kib K 8 svn:date V 27 2017-03-12T13:51:13.503234Z K 7 svn:log V 584 Accept linkers representation for ELF segments with zero on-disk length. For such segments, GNU bfd linker writes knowingly incorrect value into the the file offset field of the program header entry, with the motivation that file should not be mapped for creation of this segment at all. Relax checks for the ELF structure validity when on-disk segment length is zero, and explicitely set mapping length to zero for such segments to avoid validating rounding arithmetic. PR: 217610 Reported by: Robert Clausecker Sponsored by: The FreeBSD Foundation MFC after: 1 week END