gcc and -fPIC

Alan Modra amodra@bigpond.net.au
Tue Oct 19 01:25:00 GMT 2004


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



More information about the Binutils mailing list