⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 c-loader3.html

📁 vxworks相关论文
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><link rel="STYLESHEET" type="text/css" href="wrs.css"><title>    Object-Module Loader   </title></head><body bgcolor="FFFFFF"><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a><a href="c-loader.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="c-loader.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="c-loader2.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="c-loader4.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p><font face="Helvetica, sans-serif" class="sans"><h3 class="H2"><i><a name="84439">3.3  &nbsp;&nbsp;Loader Overview</a></i></h3></font><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="84440">Linking and Loading</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84442"> </a>The following steps are required to link and load a module onto the target:</p></dl><dl class="margin"><ul class="BulletSingle" type="disc"><li><a name="84443"> </a>Read and analyze the object file.</li></ul><ul class="BulletSingle" type="disc"><li><a name="84444"> </a>Process the object-module symbols.</li></ul><ul class="BulletSingle" type="disc"><li><a name="84445"> </a>Relocate the symbols.</li></ul><ul class="BulletSingle" type="disc"><li><a name="84446"> </a>Transfer the module code and data to the target environment.</li></ul></dl><dl class="margin"><dd><p class="Body"><a name="84447"> </a>These steps are apportioned between two internal parts of the loader: symbols are relocated by the <i class="emphasis">relocation unit</i> (RU - the portion of the loader that performs relocations) and all other steps are performed by the <i class="term">object-module-format manager</i> (OMF manager). </p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="84452">Bootstrapping the Target Server Symbol Table</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84454"> </a>In addition loading modules to the target, the loader plays an additional role when the target server establishes a connection with a target agent. The loader attempts to obtain the pathname to the <i class="term">core file</i> from the agent. The core file is the executable file on the host that corresponds to the runtime system initially executing on the target. This file is not downloaded to the target system because the core image is already present there (typically in PROM). If the core file is found, the loader reads this file in order to bootstrap the target server symbol table. If the checksums of the text regions do not agree, the loader prints an error message, because a symbol table built from this core file might not contain the correct addresses on the target. </p><dd><p class="Body"><a name="84456"> </a>If the core file is not known, the target server exits with an error message. Try connecting the target server again using the <b class="command">-c</b> option to specify the core file path and name.</p></dl></dl><a name="foot"><hr></a><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a><a href="c-loader.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="c-loader.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="c-loader2.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="c-loader4.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p></body></html><!---by WRS Documentation (), Wind River Systems, Inc.    conversion tool:  Quadralay WebWorks Publisher 4.0.11    template:         CSS Template, Jan 1998 - Jefro --->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -