-
公开(公告)号:US08959502B2
公开(公告)日:2015-02-17
申请号:US13525756
申请日:2012-06-18
申请人: Jin Song Ji , Jian Jiang , Si Yuan Zhang
发明人: Jin Song Ji , Jian Jiang , Si Yuan Zhang
IPC分类号: G06F9/44
CPC分类号: G06F8/443 , G06F11/3624
摘要: The present disclosure provides a method and system for processing table of content (TOC) access overflow in an application. The method may determine whether there occurs a TOC access overflow within an object file during linking the object file that may be generated from the compiling. If the TOC access overflow occurs within the object file, then the source file corresponding to the object file may be re-compiled so as to generate an object file having no TOC access overflow, and the object file may be re-linked to generate an executable file of the application. The present disclosure may adopt two-pass compiling and a dual-instruction TOC access in a form of two pieces of instructions that may be generated for TOC entries within which TOC overflows generally occur.
摘要翻译: 本公开提供了一种在应用程序中处理内容表(TOC)访问溢出的方法和系统。 该方法可以在链接可能从编译生成的目标文件期间确定在对象文件内是否发生TOC访问溢出。 如果在目标文件中发生TOC访问溢出,则可以对与目标文件相对应的源文件进行重新编译,以生成没有TOC访问溢出的目标文件,并且可以重新链接目标文件以产生 应用程序的可执行文件。 本公开可以采用两个指令的形式的双程编译和双指令TOC访问,这两条指令可以针对通常发生TOC溢出的TOC条目生成。
-
公开(公告)号:US20130031535A1
公开(公告)日:2013-01-31
申请号:US13525756
申请日:2012-06-18
申请人: Jin Song Ji , Jian Jiang , Si Yuan Zhang
发明人: Jin Song Ji , Jian Jiang , Si Yuan Zhang
IPC分类号: G06F9/45
CPC分类号: G06F8/443 , G06F11/3624
摘要: The present disclosure provides a method and system for processing table of content (TOC) access overflow in an application. The method may determine whether there occurs a TOC access overflow within an object file during linking the object file that may be generated from the compiling. If the TOC access overflow occurs within the object file, then the source file corresponding to the object file may be re-compiled so as to generate an object file having no TOC access overflow, and the object file may be re-linked to generate an executable file of the application. The present disclosure may adopt two-pass compiling and a dual-instruction TOC access in a form of two pieces of instructions that may be generated for TOC entries within which TOC overflows generally occur.
摘要翻译: 本公开提供了一种在应用程序中处理内容表(TOC)访问溢出的方法和系统。 该方法可以在链接可能从编译生成的目标文件期间确定在对象文件内是否发生TOC访问溢出。 如果在目标文件中发生TOC访问溢出,则可以对与目标文件相对应的源文件进行重新编译,以生成没有TOC访问溢出的目标文件,并且可以重新链接目标文件以产生 应用程序的可执行文件。 本公开可以采用两个指令的形式的双程编译和双指令TOC访问,这两条指令可以针对通常发生TOC溢出的TOC条目生成。
-