Re: [Linux-ia64] Question about .opd section

From: Jim Wilson <>
Date: 2003-02-04 07:55:18 is a better place to ask questions like this.
This is where the binutils experts hang out.

I found a comment in the IA-64 bfd support that says .opd contains "official
procedure descriptors".  I don't know where the terminology came from though.

The function descriptors are required for executing IA-64 code, so this is
definitely a normal section when using the GNU tools.  The section is
required if present.  The section is created by the linker, if one of the
object files being linked uses a relocation type that requires that a
function descriptor be created, e.g. LTOFF_FPTR22.  The 2-word function
descriptor goes in the .opd section, the address of the descriptor goes in
the GOT, and the gcc generated code loads the address from the GOT.

I don't have easy access to any other IA-64 compiler, so I can't comment on
how other compilers handle this.

Received on Mon Feb 03 12:55:26 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:11 EST