VMA section overlap warnings for overlays

H.J. Lu hjl.tools@gmail.com
Fri Feb 25 12:30:00 GMT 2011


On Thu, Feb 24, 2011 at 11:49 PM, Alan Modra <amodra@gmail.com> wrote:
> On Thu, Feb 24, 2011 at 03:49:25PM -0800, H.J. Lu wrote:
>> On Tue, Jul 20, 2010 at 7:10 AM, Alan Modra <amodra@gmail.com> wrote:
>> > This removes all the special treatment for zero size sections when
>> > using ELF_SECTION_IN_SEGMENT in elf.c, and makes readelf display
> [snip]
>> This may have caused:
>>
>> http://sourceware.org/bugzilla/show_bug.cgi?id=12516
>
> Yes, looks like it.
>
>        PR 12519
>        * internal.h (ELF_SECTION_IN_SEGMENT_1): Don't match zero size
>        sections at start or end of PT_DYNAMIC.
>

Please add a testcase.

Thanks.

-- 
H.J.



More information about the Binutils mailing list