[RFA] Relocations in dwarf2, 2nd attempt

Daniel Jacobowitz drow@mvista.com
Tue Oct 29 06:58:00 GMT 2002


On Tue, Oct 29, 2002 at 03:45:42PM +0100, Michal Ludvig wrote:
> drow@mvista.com wrote:
> 
> > There's code in bfd/simple.c you can use to relocate a section if
> > that's what you want.
> 
> Thanks for a hint! It simplified my patch "a little".
> (however simple.c is pretty new, isn't it?)

Yes.  This is one of the two things I added it for :)  I just never had
time to finish it.

> Could someone approve it now, please?

Two problems:
  - You introduce long lines.
  - Please add a fast-path exit from bfd_simple_get_relocated_section_contents
    that just calls bfd_get_section_contents if ! SEC_RELOC.

Other than that, it looks good to me, but someone else will have to
approve it.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Binutils mailing list