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] Relocations in dwarf2, 2nd attempt


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


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