[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/12921] sh_offset for SHT_NOBITS sections

From: hjl.tools at gmail dot com
Subject: [Bug ld/12921] sh_offset for SHT_NOBITS sections
Date: Thu, 23 Jun 2011 13:41:34 +0000


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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]