首页> 外国专利> PROGRAM-PROCESSING PROGRAM, RECORDING MEDIUM TO WHICH PROGRAM-PROCESSING PROGRAM IS RECORDED, PROGRAM-PROCESSING DEVICE, AND PROGRAM-PROCESSING METHOD

PROGRAM-PROCESSING PROGRAM, RECORDING MEDIUM TO WHICH PROGRAM-PROCESSING PROGRAM IS RECORDED, PROGRAM-PROCESSING DEVICE, AND PROGRAM-PROCESSING METHOD

机译:程序处理程序,将介质记录到哪个程序处理程序,程序处理装置以及程序处理方法

摘要

PROBLEM TO BE SOLVED: To generate position independence codes for a data area corresponding to a dynamic module link without changing a compiler and a linker and also generate an execution code by linking the position independence codes corresponding to the dynamic module link.;SOLUTION: Global variables in a module are confined in a structural body, and register-relative offset access is executed. An immediate value relative address is converted to a symbol name by a difference detection method, and the linker decides the conversion and does not link unused variables. By this, a code corresponding to a dynamic link can be generated without correcting a compiler even if the compiler does not correspond to the dynamic link. Such a method is high in portability and easily applicable to many compilers, and labor for the maintenance of the compilers is consequently reduced.;COPYRIGHT: (C)2005,JPO&NCIPI
机译:解决的问题:在不更改编译器和链接器的情况下,为与动态模块链接相对应的数据区域生成位置独立代码,并且通过链接与动态模块链接相对应的位置独立代码来生成执行代码。模块中的变量被限制在结构体中,并且执行相对于寄存器的偏移量访问。通过差异检测方法将立即数相对地址转换为符号名,并且链接程序决定转换,并且不链接未使用的变量。这样,即使编译器不对应于动态链接,也可以在不校正编译器的情况下生成与动态链接相对应的代码。这种方法具有很高的可移植性,并且容易适用于许多编译器,因此减少了维护编译器的工作量。;版权所有:(C)2005,JPO&NCIPI

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号