------- Additional Comments From amodra at bigpond dot net dot au 2008-09-17
11:25 -------
Testcase in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493651
GNU_RELRO 0x016bc8 0x0000000000216bc8 0x0000000000216bc8 0x0003d0
0x0003c0 R 0x1
I don't know how we managed to get p_filesz (0x3d) != p_memsz (0x3c0).
HJ, why did you add the p_filesz == p_memsz test in the following:
if (map->p_type == PT_GNU_RELRO
&& segment->p_filesz == segment->p_memsz)
{
/* The PT_GNU_RELRO segment may contain the first a few
bytes in the .got.plt section even if the whole .got.plt
section isn't in the PT_GNU_RELRO segment. We won't
change the size of the PT_GNU_RELRO segment. */
map->p_size = segment->p_filesz;
map->p_size_valid = 1;
}
That results in p_size_valid == 0 for this testcase which then triggers the
abort.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Last reconfirmed|0000-00-00 00:00:00 |2008-09-17 11:25:36
date| |
http://sourceware.org/bugzilla/show_bug.cgi?id=6494
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils