reducing reloc syms to section syms
Ian Lance Taylor
ian@airs.com
Tue May 7 02:01:00 GMT 2002
Alan Modra <amodra@bigpond.net.au> writes:
> Is there any benefit in reducing just some relocs using a given symbol
> to the section symbol, and not others?
It's slightly faster to compute a relocation against a section symbol,
since it doesn't require a symbol lookup and doesn't require the
various cases which can arise with a symbol. This is particularly
true if the relocation becomes a dynamic relocation.
Ian
More information about the Binutils
mailing list