This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: NOLOAD section attribute results in incorrect debug information


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


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