[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 |
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 ld/12921] New: sh_offset for SHT_NOBITS sections, jakub at redhat dot com, 2011/06/22
- [Bug ld/12921] sh_offset for SHT_NOBITS sections, amodra at gmail dot com, 2011/06/22
- [Bug ld/12921] sh_offset for SHT_NOBITS sections, amodra at gmail dot com, 2011/06/22
- [Bug ld/12921] sh_offset for SHT_NOBITS sections, jakub at redhat dot com, 2011/06/23
- [Bug ld/12921] sh_offset for SHT_NOBITS sections,
hjl.tools at gmail dot com <=
- [Bug ld/12921] sh_offset for SHT_NOBITS sections, jakub at redhat dot com, 2011/06/23
- [Bug ld/12921] sh_offset for SHT_NOBITS sections, amodra at gmail dot com, 2011/06/23
- [Bug ld/12921] sh_offset for SHT_NOBITS sections, amodra at gmail dot com, 2011/06/23
- [Bug ld/12921] sh_offset for SHT_NOBITS sections, hjl.tools at gmail dot com, 2011/06/23
- [Bug ld/12921] sh_offset for SHT_NOBITS sections, cvs-commit at gcc dot gnu.org, 2011/06/23
- [Bug ld/12921] sh_offset for SHT_NOBITS sections, cvs-commit at gcc dot gnu.org, 2011/06/23
- [Bug ld/12921] sh_offset for SHT_NOBITS sections, amodra at gmail dot com, 2011/06/24
- [Bug ld/12921] sh_offset for SHT_NOBITS sections, cvs-commit at gcc dot gnu.org, 2011/06/24