[Dwarf-Discuss] DW_AT_segment and relocation

2019-09-26 Thread Jayvee Neumann via Dwarf-Discuss
Dear DWARF experts, I have a question regarding the attribute DW_AT_segment. I do not quite understand how to handle it, yet. It can appear in a DIE (or its parent) whenever DW_AT_low_pc, DW_AT_high_pc, DW_AT_ranges, DW_AT_entry_pc, or a location description that evaluates to an Address are used.

Re: [Dwarf-Discuss] DW_AT_segment and relocation

2019-09-26 Thread Ron Brender via Dwarf-Discuss
Jayvee, Your question seems quite clear. I hope this response is equally so. First off, the segment attribute names a register, whose contents is added to the address value computed by the other address expression. So in a real sense, a pair of attributes like DW_AT_segment and DW_AT_pc forms "ju

Re: [Dwarf-Discuss] DW_AT_segment and relocation

2019-09-26 Thread Michael Eager via Dwarf-Discuss
On 9/26/19 3:33 AM, Jayvee Neumann via Dwarf-Discuss wrote: Dear DWARF experts, I have a question regarding the attribute DW_AT_segment. I do not quite understand how to handle it, yet. It can appear in a DIE (or its parent) whenever DW_AT_low_pc, DW_AT_high_pc, DW_AT_ranges, DW_AT_entry_pc, o