首页>
外国专利>
Linker rewriting to eliminate TOC pointer references
Linker rewriting to eliminate TOC pointer references
展开▼
机译:链接器重写可消除TOC指针引用
展开▼
页面导航
摘要
著录项
相似文献
摘要
A method and associated computer program product are disclosed for generating an object file for subsequent linking by a linker. The object file comprises a function that references a table of contents (TOC) pointer register. The method comprises generating, in the object file, at least one first annotation that identifies at least one instruction of the function. The at least one instruction has an eliminable reference to the TOC pointer register. The first annotation configures the linker to determine, during the subsequent linking of the object file and based on the at least one first annotation, whether to eliminate the eliminable reference.
展开▼