This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: DWARF2 info not being generated correctly for PPC targets?
- To: Geoff Keating <geoffk at cygnus dot com>
- Subject: Re: DWARF2 info not being generated correctly for PPC targets?
- From: Thomas de Lellis <tdel at windriver dot com>
- Date: Fri, 16 Jun 2000 15:54:18 -0700
- CC: binutils at sourceware dot cygnus dot com, igor at mail dot wrs dot com
- References: <394A72F8.40C4F2AE@wrs.com> <200006161845.LAA03416@localhost.cygnus.com>
Greetings Geoff!
thanks for the reply. I am looking for ways to accommodate a 3rd party
who are trying to make their debugger compatible with GNU-ld-produced .o
files but expects these dwarf offset fields to contain valid values even
in relocatable .o files.
Is it too risky or are there side effects in simply dropping the RELA
addend offset into the dwarf debugging info as well as keep the offset
in the addend?
regards!
tom
Geoff Keating wrote:
> > What happens though is when you partially link more than one PPC .o
> > file, dwarf offsets are still zero.
>
> Yes, this is because .o files are intermediate files. When you link
> them into a final executable the relocations will be resolved and you
> will get the correct values.
>
> --
> - Geoffrey Keating <geoffk@cygnus.com>