Re: [Dwarf-Discuss] .debug_frame and the base address

2018-09-25 Thread Robert Harris via Dwarf-Discuss
> On 25 Sep 2018, at 01:44, Cary Coutant wrote: > > The new material in Section 7.3.1 about what needs relocation is > clarifying material that was just as true for DWARF 2, 3, and 4. That > was an attempt to pre-emptively answer your questions above. OK. Many thanks, all, for your clarificat

Re: [Dwarf-Discuss] .debug_frame and the base address

2018-09-24 Thread Robert Harris via Dwarf-Discuss
> On 24 Sep 2018, at 18:40, Eric Christopher wrote: > > Dwarf 5, 7.3.1 > > "A DWARF expression may contain a DW_OP_addr (see Section 2.5.1.1 on 31 page > 26) which contains a location within the virtual address space of the 32 > program, and require relocation." I think I've confused the is

Re: [Dwarf-Discuss] .debug_frame and the base address

2018-09-24 Thread Robert Harris via Dwarf-Discuss
> On 24 Sep 2018, at 16:59, Greg Clayton wrote: > > > >> On Sep 24, 2018, at 8:44 AM, Robert Harris >> wrote: >> >> >> >>> On 24 Sep 2018, at 15:33, Greg Clayton wrote: >>> >>> >>> >>>> On S

Re: [Dwarf-Discuss] .debug_frame and the base address

2018-09-24 Thread Robert Harris via Dwarf-Discuss
> On 24 Sep 2018, at 15:33, Greg Clayton wrote: > > > >> On Sep 24, 2018, at 7:15 AM, Robert Harris via Dwarf-Discuss >> wrote: >> >> I'd like some clarification regarding what precisely needs to be relocated >> relative to >> the obj

[Dwarf-Discuss] .debug_frame and the base address

2018-09-24 Thread Robert Harris via Dwarf-Discuss
I'd like some clarification regarding what precisely needs to be relocated relative to the object load address when interpreting .debug_frame. I'm interested in versions 2, 3 and 4. I think the only explicit mention of relocation in DWARF 4 is ยง 6.4.1: Abstractly, this mechanism descri