RFA: Fix readelf -wi test (Was: Re: readelf: apply all rela relocations in the debug_info section)

Daniel Jacobowitz drow@mvista.com
Fri Apr 25 13:38:00 GMT 2003


On Fri, Apr 25, 2003 at 10:31:53AM +0100, Nick Clifton wrote:
> Hi Joern, Hi H.J.
> 
> > > Anyway it looks like we need to reduce the text inside readelf.wi even
> > > more.  I suspect that the best thing to do would be to delete the test
> > > entirely.  Do you agree ?
> > 
> > It is useful to find regressions like the stray "; ", or readelf giving
> > extra warning messages.
> > Till we find someone who volunteers to sort the output intelligently,
> > we could at least grep for the most salient bits, i.e.:
> > grep DW_AT_producer < readelf.out > readelf.out2
> > grep DW_AT_language < readelf.out >> readelf.out2
> > grep 'DW_AT_name.*: fn' < readelf.out >> readelf.out2
> > etc.
> 
> That would be good.
> 
> HJ - Do you still get failures from this test with your x86 Linux
> build ?  If not, then lets leave the test as it is until someone gets
> around to rewriting it properly.  Otherwise I will have a go at
> reworking it to Joern's suggestion.

I can reproduce them here on gcc 3.2.3pre.  Same symptom; things come
out in a different order.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Binutils mailing list