Invention Grant
- Patent Title: Relocation format for linking
- Patent Title (中): 链接重定位格式
-
Application No.: US09850666Application Date: 2001-05-07
-
Publication No.: US07299462B2Publication Date: 2007-11-20
- Inventor: Richard Shann , Stephen Jones
- Applicant: Richard Shann , Stephen Jones
- Applicant Address: GB Almondsbury Bristol
- Assignee: STMicroelectronics Limited
- Current Assignee: STMicroelectronics Limited
- Current Assignee Address: GB Almondsbury Bristol
- Agency: Wolf, Greenfield & Sacks, P.C.
- Agent Lisa K. Jorgenson; James H. Morris
- Main IPC: G06F9/45
- IPC: G06F9/45 ; G06F9/44

Abstract:
A method of preparing an executable program from a plurality of object code modules, at least one of said object code modules including section data specifying a plurality of functions associated with relocation instructions, at least some of which functions are called in the executable program. The method comprises the steps of assigning an attribute to each function, said attribute being capable of providing an indication of whether the function is reachable, reading the section data and relocation instructions to ascertain if the function is called and setting the attribute to indicate the called status and preparing the executable program to only include functions with an indicated called status of reachable. A linker is provided for preparing the executable program from object code modules containing the relocation instructions. A computer program is provided to control the linker.
Public/Granted literature
- US20040015884A1 Relocation format for linking Public/Granted day:2004-01-22
Information query