This is the mail archive of the binutils@sources.redhat.com 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: RFA: Fix readelf -wi test (Was: Re: readelf: apply all rela relocations in the debug_info section)


On Wed, Apr 23, 2003 at 06:34:31PM +0100, Nick Clifton wrote:
> Hi Joern,
> 
> > The reaadelf.wi template hasn't been updated in years, and not only
> > the representation of the debug information, even the source file
> > numbers are out of date; that mean that any sucess on this testcase
> > (not counting XFAILs) on any target must have been a bug.
> > I've updated readelf.wi so that the test passes for sh-elf; the readelf.out
> > for sh-elf is attached separately.  The output style change that I have
> > considered a bug is the adding of a trailing "; " in every location
> > expression, e.g. (DW_OP_addr: 0) .
> > The following patch implements this readelf.wi update and suppression of
> > the trailing "; ".
> 
> Your patch still does not resolve the "readelf: Warning: Skipping
> unexpected symbol type 1" problem that you mentioned in your earlier
> post.  In my opinion however the readelf.wi is severely broken, since
> there is no real guaranteed structure to the output of "readelf -wi".
> 
> Instead I am going to apply your patch together with a change of my
> own.  This additional patch:
> 
>   * Filters out "skipping unexpected symbol" messages.

But are they "expected"?  Or are they a bug?  I think they're probably
a bug...

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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