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] |
From the HP Dwarf extensions manual:
If the value of DW_AT_HP_prologue has class constant, then the integer value of the attribute gives the offset of the one and only prologue end relative to the base of reference.
------------- Note: This is the case we are discussing above,
but it gets more complicated for multiple prologues (and epilogues), for which we need SLEB slot offsets, and possibly even addresses.
-------------
If the value of DW_AT_HP_prologue has class block, then the block contains a sequence of values. The first value is a signed non-zero LEB integer value. There are two cases:
1.If the first value is positive, it is a count of the number of signed LEB integer values that follow. Each such value is an (instruction slot) offset relative to the base of reference to a prologue end location.
This case applies when there is more than one prologue end location, but they are all in the same section as the base of reference.
2.If the first value is negative, its absolute value is a count of the number of addresses that follow. Each such address is a prologue end location.
Cheers Nick
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |