This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: RFC: Change in dwarf2dbg using sizeof_offset
On Wed, Jul 30, 2008 at 07:40:42AM -0700, Brian Dessent wrote:
> "H.J. Lu" wrote:
>
> > Please find out how Linux/x86-64 deals with it. You may need to
>
> It's not really a fair comparison because on ELF targets the DWARF
> sections can have their VMA set to 0 and so relocs aren't necessary.
> This isn't possible on PE which requires that the debug sections be laid
> out with nonzero VMA even though they aren't marked ALLOC or LOAD, which
> necessitated the .secrel32 (and now .secrel64 it seems) op.
>
Please provide testcases so that we can be sure they are handled
properly for both ELF and PE.
H.J.