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: reducing reloc syms to section syms


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


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