HEADSUP: Python 2.7 upgrade

szgyg szgyg@ludens.elte.hu
Sat Jan 26 00:09:00 GMT 2013


On 1/24/2013 1:29 PM, Corinna Vinschen wrote:
> On Jan 24 11:41, marco atzeri wrote:
>> On 1/24/2013 10:39 AM, Corinna Vinschen wrote:
>>> I debugged this last week, and I don't see how this could be a rebase
>>> bug. [...]  To me this indicates a bug in objcopy.

Strip copies the whole .reloc section, including entries for removed 
debug sections. This is documented in rebase/README. Rebase checks for 
this condition in Relocations::relocate and silently ignores wrong 
entries. Well, except in Marco's dict_snowball.dll.

Btw,
>>> The size of the .reloc section in the file header does not indicate how
>>> long the relocation information in the section actually is.  Usually the
>>> section is larger than the actual relocation info.  The end of the
>>> relocation info is indicated by a block header with a base offset of 0
>>> and a sizeof of 0, let's call it the NULL block.

VirtualSize (offset 8 in section header) should be exact. There are no 
terminator zero block, but can be zero section padding. VirtualSize + 
padding = SizeOfRawData.

szgyg



More information about the Cygwin-apps mailing list