This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc DWARF debug info for PowerPC


On Wed, Jan 10, 2001 at 03:40:14PM -0500, Gregg K Gibson wrote:
> Analizing the debug info in the compiled binary, it looks like the
> addresses listed are absolute target addresses rather than just
> offsets into the binary file, which is causing RISCWatch to choke.

It is very likely that you have a custom link script, and
that you have omitted the bits that place dwarf sections
at VMA 0.  GCC relies on this.  Look at the default link
scripts for examples of how this should be done.



r~

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]