[Top][All Lists]

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

[Bug binutils/27951] PE64 Add-Section Virtual Address is 0 ?

From: df7729 at gmail dot com
Subject: [Bug binutils/27951] PE64 Add-Section Virtual Address is 0 ?
Date: Fri, 04 Jun 2021 06:32:02 +0000


--- Comment #1 from David F. <df7729 at gmail dot com> ---
Well there is another problem, you can't add sections on PE/PE64 before the
other existing sections without fixing up all offsets which means looking at
opcodes and addresses, so much better if it only added to the end of existing
sections, not at the start.  Likewise it should update the virtual memory
address to match.

I was looking at the code, not sure if the osections[] array created are the
existing sectors and where it will output (only if gaps?).  It's not easy to
follow the code being new to it.

That option to add section to end is needed for the PE/PE64 types.

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]