发明名称 |
Runtime management of TOC pointer save and restore commands |
摘要 |
Embodiments relate to runtime management of table of contents (TOC) pointer save and restore commands. An aspect includes receiving, by a computer system, application object code comprising a first function call. Another aspect includes determining, at runtime of the application object code, that the first function call comprises an external function call from a calling function in the application object code to a callee function that is external to the application object code. Yet another aspect includes, based on determining that the first function call comprises the external function call, inserting a TOC save command and a TOC restore command corresponding to the first function call into the application object code. |
申请公布号 |
US9021511(B1) |
申请公布日期 |
2015.04.28 |
申请号 |
US201414211255 |
申请日期 |
2014.03.14 |
申请人 |
International Business Machines Corporation |
发明人 |
Gschwind Michael K. |
分类号 |
G06F13/00;G06F9/445 |
主分类号 |
G06F13/00 |
代理机构 |
Cantor Colburn LLP |
代理人 |
Cantor Colburn LLP ;Bennett Steven |
主权项 |
1. A computer system for runtime management of table of contents (TOC) pointer save and restore commands, the system comprising:
a memory having computer readable instructions; and a processor configured to execute the computer readable instructions, the instructions comprising:
receiving application object code comprising a first function call;determining, at runtime of the application object code, that the first function call comprises an external function call from a calling function in the application object code to a callee function that is external to the application object code; andbased on determining that the first function call comprises the external function call, inserting a TOC save command and a TOC restore command corresponding to the first function call into the application object code. |
地址 |
Armonk NY US |