[PATCH] Exclude zero size section for RELRO segment match

Alan Modra amodra@gmail.com
Fri Feb 16 12:08:00 GMT 2018


On Thu, Feb 15, 2018 at 03:58:16AM -0800, H.J. Lu wrote:
> When seaching a LOAD segment which overlaps with the RELRO segment, we
> need to check the size of the last non-zero size section in the LOAD
> segment.

Why?  Do you have a case where the current algorithm goes wrong?

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list