发明名称 Linking of program units at program activation
摘要 An improved method for linking images at program activation is provided by use of a symbol vector in a sharable code image. The symbol vector is automatically constructed which the linker and operating system use to effect fast lookup of symbol values at program activation, thus providing flexibility similar to that of link-time binding. For each sharable image being constructed, the programmer provides a list of symbols which are to be made visible outside of the image. These symbols may be procedure names, data cells, absolute values, or any other valid use of a symbolic value. The order of this list must remain fixed from one image build to the next. From this list, the "symbol vector" is constructed (as by the linker) of the value of each of the identified symbols, and the symbol vector is associated with the sharable image. A symbol table is also associated with the sharable image, where each symbol has the value of its index in the symbol vector. When resolving references to other images, the linker does a symbolic lookup in the symbol table of the target image and obtains the index into the target symbol vector. That index is bound into the calling image. Then, at program activation, the image activator uses the index bound into a calling image to obtain the current value of the symbol in the target image.
申请公布号 IE920744(A1) 申请公布日期 1992.09.09
申请号 IE19920000744 申请日期 1992.03.06
申请人 DIGITAL EQUIPMENT CORPORATION 发明人 DANIEL L. MURPHY
分类号 G06F9/06;G06F9/445;G06F9/45;(IPC1-7):G06F9/445 主分类号 G06F9/06
代理机构 代理人
主权项
地址