RFC: Add output_bfd to bfd_link_info
H. J. Lu
hjl@lucon.org
Fri Apr 23 02:31:00 GMT 2004
On Thu, Apr 22, 2004 at 09:22:01PM -0400, Ian Lance Taylor wrote:
> "H. J. Lu" <hjl@lucon.org> writes:
>
> > > > I find a need to access output_bfd via bfd_link_info. I was wondering
> > > > why it wasn't there to begin with. Any comments?
> > >
> > > It's not there because it is passed to every function which needs it.
> > >
> >
> > We can remove that argument and access it from bfd_link_info instead.
>
> And requiring the additional memory access is better because....
>
I don't know if we will see a difference since there will be one less
argument to pass around. I will time it.
H.J.
More information about the Binutils
mailing list