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: gcc and -fPIC


On Mon, Oct 18, 2004 at 10:11:50PM +0200, Andreas Schwab wrote:
> -      addr = bed->plt_sym_val (i, plt, p);
> +      addr = bed->plt_sym_val (abfd, i, plt, p);

There's no need to pass abfd here.  You can use plt->owner in your
target function.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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