This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Correct the type of _PROCEDURE_LINKAGE_TABLE_
On Thu, May 27, 2004 at 09:36:49AM +0930, Alan Modra wrote:
> On Wed, May 26, 2004 at 05:31:24PM -0400, Daniel Jacobowitz wrote:
> > objdump will not dump the PLT as instructions if it starts
> > with an STT_OBJECT symbol.
>
> Really? Fix objdump then. _PROCEDURE_LINKAGE_TABLE_ isn't a function,
> nor are many other symbols in code sections.
>From the gABI:
STT_OBJECT
The symbol is associated with a data object, such as a variable,
an array, and so on.
STT_FUNC
The symbol is associated with a function or other executable
code.
_PROCEDURE_LINKAGE_TABLE_ in this case is "other executable code", and not a "data
object", so I think it should be STT_FUNC.
--
Daniel Jacobowitz