This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: NOLOAD section attribute results in incorrect debug information
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Ina Pandit <Ina dot Pandit at kpitcummins dot com>
- Cc: binutils at sourceware dot org
- Date: Mon, 12 Nov 2007 10:28:30 +1030
- Subject: Re: NOLOAD section attribute results in incorrect debug information
- References: <C0510D1599922A44A7CE0F05E83C1D49027E64B1@sohm.kpit.com>
On Wed, Nov 07, 2007 at 02:52:09PM +0530, Ina Pandit wrote:
> We have built toolchains for H8/SH targets using
> binutils-2.17.90 (20070806), gcc-4.2.1 and newlib-1.15.0 sources.
Please check current binutils. We are at 20071112 :-)
> <28> DW_AT_low_pc : 0x72 <- Incorrect-should be 0x800
> <2c> DW_AT_high_pc : 0x6f677261 <- Incorrect-should be 0x810
> <30> DW_AT_stmt_list : 0x6d204669 <- Incorrect-should be 0
Looks like file corruption. 0x6f677261 = "ogra", 0x6d204669 = "m FI".
Your problem might be cured by the fix for
http://sourceware.org/bugzilla/show_bug.cgi?id=5006
--
Alan Modra
Australia Development Lab, IBM