发明名称 A relocation format for linking
摘要 <p>An executable program is prepared from a plurality of object code modules, at least one of the object code modules including section data specifying a plurality of code sequences each associated with relocation instructions identifying condition parameters. The executable program is prepared by reading the relocation instructions and determining for each condition parameter whether or not the condition specified for that parameter is satisfied and on the basis of that determination, selecting only one of the code sequences for inclusion in the executable program. A linker for preparing the executable program includes a stack, a relocation module for reading the relocations and carrying out the relocation operations, the relocation module being responsive to a value recalled from the stack to select one of the code sequences in dependence on the value, a section data module for holding section data which is subject to the relocation operations and a program forming a module for preparing executable programs. The linker may be controlled by a computer program in the form of one of the object code modules. Also disclosed is a method of assembling an object code module such that the assembled object code module includes the conditional code sequences. &lt;IMAGE&gt;</p>
申请公布号 EP1085410(A2) 申请公布日期 2001.03.21
申请号 EP20000307544 申请日期 2000.09.01
申请人 STMICROELECTRONICS, LTD. 发明人 SHANN, RICHARD
分类号 G06F9/445;(IPC1-7):G06F9/445 主分类号 G06F9/445
代理机构 代理人
主权项
地址