1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3<HEAD> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META http-equiv="Content-Style-Type" content="text/css"> 6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows"> 7<BASE target="main"> 8<TITLE>ELF Loader (EL) API Function List</TITLE> 9<LINK rel="stylesheet" href="../css/apilist.css"> 10</HEAD> 11<BODY> 12<H1>ELF Loader (EL) API Function List</H1> 13 14<H3><A name="Init">Initialization</A></H3> 15<TABLE border="1" width="100%"> 16 <TBODY> 17 <TR> 18<TH nowrap width="25%"><A href="EL_Init.html" target="_self">EL_Init</A></TH> 19 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 20<TD>Initializes the EL library.</TD> 21 </TR> 22 </TBODY> 23</TABLE> 24 25<H3><A name="Entry">Dynamic Module Registration</A></H3> 26<TABLE border="1" width="100%"> 27 <TBODY> 28 <TR> 29<TH nowrap width="25%"><A href="EL_Link.html" target="_self">EL_Link</A></TH> 30 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 31<TD>Relocates an ELF object or its archive using a developer-specified read function.</TD> 32 </TR> 33 <TR> 34<TH nowrap width="25%"><A href="EL_Link.html" target="_self">EL_LinkFile</A></TH> 35 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 36<TD>Relocates an ELF object or its archive from a file to a buffer.</TD> 37 </TR> 38 <TR> 39<TH nowrap width="25%"><A href="EL_Link.html" target="_self">EL_LinkImage</A></TH> 40 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 41<TD>Relocates an ELF object or its archive from memory to a buffer.</TD> 42 </TR> 43 <TR> 44<TH nowrap width="25%"><A href="EL_CalcEnoughBufferSizeforLink.html" target="_self">EL_CalcEnoughBufferSizeforLink</A></TH> 45 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 46<TD>Determines the required buffer size for relocation.</TD> 47 </TR> 48 <TR> 49<TH nowrap width="25%"><A href="EL_CalcEnoughBufferSizeforLink.html" target="_self">EL_CalcEnoughBufferSizeforLinkFile</A></TH> 50 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 51<TD>Determines the required buffer size for relocation.</TD> 52 </TR> 53 <TR> 54<TH nowrap width="25%"><A href="EL_CalcEnoughBufferSizeforLink.html" target="_self">EL_CalcEnoughBufferSizeforLinkImage</A></TH> 55 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 56<TD>Determines the required buffer size for relocation.</TD> 57 </TR> 58 </TBODY> 59</TABLE> 60 61 62<H3><A name="Link">Link Processing</A></H3> 63<TABLE border="1" width="100%"> 64 <TBODY> 65 <TR> 66<TH nowrap width="25%"><A href="EL_ResolveAll.html" target="_self">EL_ResolveAll</A></TH> 67 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 68<TD>Uses the address table to resolve unresolved symbols.</TD> 69 </TR> 70 <TR> 71<TH nowrap width="25%"><A href="EL_Export.html" target="_self">EL_Export</A></TH> 72 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 73<TD>Adds entries to the address table.</TD> 74 </TR> 75 <TR> 76<TH nowrap width="25%"><A href="EL_AddStaticSym.html" target="_self">EL_AddStaticSym</A></TH> 77 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 78<TD>Adds static entries to the address table.</TD> 79 </TR> 80 <TR> 81<TH nowrap width="25%"><A href="EL_GetGlobalAdr.html" target="_self">EL_GetGlobalAdr</A></TH> 82 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 83<TD>Returns the address corresponding to the specified string from the address table.</TD> 84 </TR> 85 <TR> 86<TH nowrap width="25%"><A href="EL_Unlink.html" target="_self">EL_Unlink</A></TH> 87 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 88<TD>Unlinks an object.</TD> 89 </TR> 90 </TBODY> 91</TABLE> 92 93<H3><A name="Other">Other</A></H3> 94<TABLE border="1" width="100%"> 95 <TBODY> 96 <TR> 97<TH nowrap width="25%"><A href="EL_IsResolved.html" target="_self">EL_IsResolved</A></TH> 98 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 99<TD>Checks an object for unresolved external references.</TD> 100 </TR> 101 <TR> 102<TH nowrap width="25%"><A href="EL_GetLibSize.html" target="_self">EL_GetLibSize</A></TH> 103 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 104<TD>Finds the size of an ELF object.</TD> 105 </TR> 106 <TR> 107<TH nowrap width="25%"><A href="EL_GetResultCode.html" target="_self">EL_GetResultCode</A></TH> 108 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 109<TD>Gets the result of the last process executed.</TD> 110 </TR> 111 </TBODY> 112</TABLE> 113 114<H3><A name="Const">Constants</A></H3> 115<TABLE border="1" width="100%"> 116 <TBODY> 117 <TR> 118<TH nowrap width="25%"><A href="ELResult.html" target="_self">ELResult</A></TH> 119 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 120<TD>Indicates the result of the link process.</TD> 121 </TR> 122 </TBODY> 123</TABLE> 124 125<H3><A name="Struct">Types and Structures</A></H3> 126<TABLE border="1" width="100%"> 127 <TBODY> 128 <TR> 129<TH nowrap width="25%"><A href="ELAdrEntry.html" target="_self">ELAdrEntry</A></TH> 130 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 131<TD>Structure that stores export symbol information.</TD> 132 </TR> 133 <TR> 134<TH nowrap width="25%"><A href="ELAlloc.html" target="_self">ELAlloc</A></TH> 135 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 136<TD>Developer-specified memory allocation function to pass to the EL library.</TD> 137 </TR> 138 <TR> 139<TH nowrap width="25%"><A href="ELFree.html" target="_self">ELFree</A></TH> 140 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 141<TD>Developer-specified memory deallocation function to pass to the EL library.</TD> 142 </TR> 143 <TR> 144<TH nowrap width="25%"><A href="ELReadImage.html" target="_self">ELReadImage</A></TH> 145 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 146<TD>Developer-specified function to load an object file.</TD> 147 </TR> 148 </TBODY> 149</TABLE> 150 151<table border="0" height="100%"><tr><td style="background-color : white;"></td></tr></table> 152 153<hr><p>CONFIDENTIAL</p></body> 154</HTML> 155