Patent ID: 7353508

Claim:
A method of linking a plurality of object code modules to form an executable program, each object code module comprising sets of section data and associated section data relocation instructions, at least one of said modules further comprising a macro section containing information sequences associated with one or more of said sets of section data and macro relocation instructions associated with said macro section, wherein said information sequences include call frame information macros from which a sequence of call frame information instructions are derivable as a modified information sequence for constructing a debug frame of said executable program, and wherein said section data relocation instructions include at least one divert macro call relocation instruction identifying a location of one of said information sequences in said macro section, the method comprising, at link time: reading said sets of section data and section data relocation instructions; executing said relocation instructions on said associated sets of section data to modify said section data to generate program code sequences and inserting said program code sequences into a first portion of said executable program, wherein said method further comprises: on reading a divert macro call relocation instruction identifying the location of said information sequence in the macro section, executing said associated macro relocation instructions on said associated information sequence to modify said information sequence; and constructing said debug frame of said executable program with said call frame information macros therein.