Correct the type of _PROCEDURE_LINKAGE_TABLE_
Andreas Schwab
schwab@suse.de
Fri May 28 14:30:00 GMT 2004
Ian Lance Taylor <ian@wasabisystems.com> writes:
> I suppose that when I think of _PROCEDURE_LINKAGE_TABLE_, I think of
> it as naming a data object: the procedure linkage table, in fact.
> It's true that there is often code at that address. But it's not
> really a function in any sense.
Both alpha and sparc{32,64} (the only backends that set want_plt_sym) have
pure code in the .plt section. It can be looked at as a table of code
snippets, all of the same size.
> Most of the entries in the PLT come with their own STT_FUNC symbols.
The .plt entries don't have symbols of their own. They are only used to
internally resolve references to global functions. The function symbols
always point to the real entry points.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, MaxfeldstraÃe 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Binutils
mailing list