http://sourceware.org/bugzilla/show_bug.cgi?id=12921

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hjl.tools at gmail dot com

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> 2011-06-23 13:41:29 
UTC ---
(In reply to comment #3)
> The intention of prelink --undo is that it reverts the binary/shared library 
> to
> the original, bitwise, content.  During prelinking the binary/shared library
> usually grows, and on undo prelink feeds the saved ElfXX_Shdr/ElfXX_Phdr etc.
> content to libelf to restore the file.  And, apparently sh_offset beyond end 
> of
> file mean at least for elfutils libelf that it pads with zeros up to that 
> spot.
> 

It is too bad that we didn't have a testcase binutils so that we would
have prevented it from happening.  When this bug is fixed, we should also
add a testcase.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to