摘要 |
PROBLEM TO BE SOLVED: To generate the unitary structure for linking a specific global symbol to a corresponding global register by evaluating an object file by using global register information so as to identify a variable global register collision. SOLUTION: To enable a decision on a collision between global registers by a static linker 114 and a run-time linker 118, a compiler 104 generates an object file 106 including the unitary structure (UDS) 306. Global source register information which is referred to in a source file 102 is generated first. Then the object file 106 is generated including the unitary data structure 406 containing the global register information from the source file 102. This object file 106 is evaluated by using the global information next to decide whether or not one of them has a global register collision.
|