This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] pe/coff x86-64: improve dump of unwind v2


On 04 Dec 2013, at 16:03, Corinna Vinschen <vinschen@redhat.com> wrote:

> Hi Tristan,
> 
> 
> thanks for following up on this with a patch.  I'm just a bit confused
> about the first EPILOG info value.


For the EPILOG opcode, the 'prolog offset' byte is used differently:

>  First you write:
> 
> On Dec  4 15:47, Tristan Gingold wrote:
>> [...] the first EPILOG opcode contains the length of the epilogue, [...]
>        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

in the 'prolog offset' byte.

> Then you write:
> 
>> I am not sure about the meaning of the info of the first EPILOG opcode. It looks like
>> it is set to 1 if there is an epilog at the end of the function. [...]
>  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

(that's the info nibble).

> Which one wins?

Hopes this clarifies :-)

Tristan.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]