ELF Loader (EL) API Function List

Initialization

EL_Init Initializes the EL library.

Dynamic Module Registration

EL_Link Relocates an ELF object or its archive using a user-specified READ function.
We recommend using EL_LinkEx instead of this function.
EL_LinkFile Relocates an ELF object or its archive from a file to a buffer.
We recommend using EL_LinkFileEx instead of this function.
EL_LinkImage Relocates an ELF object or its archive from memory to a buffer.
We recommend using EL_LinkImageEx instead of this function.
EL_LinkEx Relocates an ELF object or its archive using a developer-specified read function.
EL_LinkFileEx Relocates an ELF object or its archive from a file to a buffer.
EL_LinkImageEx Relocates an ELF object or its archive from memory to a buffer.
EL_CalcEnoughBufferSizeforLink Determines the required buffer size for relocation.
EL_CalcEnoughBufferSizeforLinkFile Determines the required buffer size for relocation.
EL_CalcEnoughBufferSizeforLinkImage Determines the required buffer size for relocation.

Link Processing

EL_ResolveAll Uses the address table to resolve unresolved symbols.
EL_Export Adds entries to the address table.
EL_AddStaticSym Adds static entries to the address table.
EL_GetGlobalAdr Returns the address corresponding to the specified string from the address table.
EL_Unlink Unlinks an object.

Other

EL_IsResolved Checks an object for unresolved external references.
EL_GetLibSize Finds the size of an ELF object.
EL_GetResultCode Gets the result of the last process executed.

Constants

ELResult Indicates the result of the link process.

Types and Structures

ELAdrEntry Structure that stores export symbol information.
ELAlloc Developer-specified memory allocation function to pass to the EL library.
ELFree Developer-specified memory deallocation function to pass to the EL library.
ELReadImage Developer-specified function to load an object file.
ELLinkMode Enumeration type that represents the mode used when the dynamic link is tested.

CONFIDENTIAL