Method for resolving arbitrarily complex expressions at link-time
First Claim
Patent Images
1. A method of resolving an arbitrarily-complex expression before it is inserted into an executable object file, said executable object file having at least one instruction and/or data item requiring relocation, comprising the steps of:
- generating a relocatable object file having at least two relocation entries;
inserting one or more stack operations into each said relocation entry;
processing said relocatable object file with a linker; and
outputting the result of said processing by said linker to said executable object file, wherein two or more of said relocation entries may be applied to a single instruction and/or data item.
6 Assignments
0 Petitions
Accused Products
Abstract
A method of resolving arbitrarily-complex expressions during the linking operation of an object file is disclosed. This is accomplished by including stack operations in the relocation entries of relocatable object files. By adding stack operations to the relocation entries, postfix notation (also known as “reverse Polish notation”) can be utilized to allow the resolution of the arbitrarily-complex expressions during the linking operation and within the object file itself.
24 Citations
24 Claims
-
1. A method of resolving an arbitrarily-complex expression before it is inserted into an executable object file, said executable object file having at least one instruction and/or data item requiring relocation, comprising the steps of:
-
generating a relocatable object file having at least two relocation entries;
inserting one or more stack operations into each said relocation entry;
processing said relocatable object file with a linker; and
outputting the result of said processing by said linker to said executable object file, wherein two or more of said relocation entries may be applied to a single instruction and/or data item. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method of resolving an arbitrarily-complex expression before it is inserted into an executable object file, said executable object file having at least one instruction and/or data file requiring relocation, comprising the steps of:
-
generating a relocatable object file having at least two relocation entries;
extending said relocation entries to include one or more stack operations;
resolving said arbitrarily-complex expression using said stack operations;
inserting the results of said resolved expression into said relocatable object file;
processing said relocatable object file with a linker; and
outputting the result of said processing by said linker to said executable object file, wherein two or more of said relocation entries may be applied to a single instruction and/or data item. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. In a software system, a method of resolving an arbitrarily-complex operation before it is inserted into an executable object file, said executable object file having at least one instruction and/or item file requiring relocation, comprising the steps of:
-
generating a relocatable object file having at least one relocation entry;
extending said relocation entries to include one or more stack operations;
reading said extended relocation entries;
calculating a new value of the relocation entries using said stack operations;
inserting said new value into said relocatable object file;
processing said relocatable object file with a linker; and
outputting the result of said processing by said linker to said executable object file, wherein two or more of said relocation entries may be applied to a single instruction and/or data item. - View Dependent Claims (14, 15, 16, 17, 18)
-
-
19. A computer-implemented system for resolving arbitrarily-complex expressions in a relocatable object file at link-time, said system configured to perform the following steps:
-
extend the relocation entries of said relocatable object file to include stack operations;
resolve said arbitrarily-complex expressions using said stack operations; and
insert the results of said resolved expressions into said relocatable object file. - View Dependent Claims (20, 21, 22, 23, 24)
-
Specification