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)


Hi Daniel,Hi Joern,

> > > +       ".*DW_AT_producer.*(GNU C|indirect string).*"
> > > +       ".*DW_AT_language.*ANSI C.*"
> > > +       ".*DW_AT_name.*(testprog.c|indirect string).*"
> > > +       ".*DW_AT_name.*fn.*"
> > > +       ".*DW_AT_name.*(main|indirect string).*"
> > > +     }
> > 
> > At least for sh-elf, after the " \(indirect string, offset: 0x[0-9a-f]+\): "
> > bit, it still displays the original string.  Are there any targets where
> > this is not the case?
> 
> There should not be; if there are, it's a bug.  So I'd say the indirect
> string bit can probably go.

Actually they are needed.  Without them the sh-elf sh64-elf and
mn10300-elf ports will fail this test.  The problem is that we are
running readelf on the object file not the executable, so there can be
unresolved relocs in the debug info sections.

> > I would also like to see a grep for "\(DW_OP_addr: 0\)", since we
> > actually had a regression there.

What was the regression ?

Anyway I have added this line to the test and checked it in.

Cheers
        Nick



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