Want to know about linkers that fix up function calls

kendall@centerline.com (Sam Kendall)
Fri, 26 Jun 1992 20:11:24 GMT

          From comp.compilers

Related articles
Want to know about linkers that fix up function calls kendall@centerline.com (1992-06-26)
| List of all articles for this month |
Newsgroups: comp.compilers
From: kendall@centerline.com (Sam Kendall)
Organization: CenterLine Software, Inc.
Date: Fri, 26 Jun 1992 20:11:24 GMT
Keywords: linker, question

I'm looking for papers on or examples of linkers/loaders that fix up
function call code, or that insert a small piece of code or "stub" between
the caller and callee. (The caller is relocated to call the stub, and the
stub branches to or calls the callee.) I'm particularly interested in
stubs that somehow relocate arguments.


The two things that are most like what I'm looking for are David Wall's
paper "Global Register Allocation at Link Time" (some ACM publication,
1986) and the HP PA-RISC linker, which inserts stubs that (among other
things) move arguments or the return value between floating-point and
integer registers to fix up disagreements between the caller and callee.
Are there any citations on the PA-RISC linker? I also have citations on
the SPARC and IBM PC/RT and RS/6000 linkers.


----
Sam Kendall
CenterLine Software, Inc. (formerly Saber Software)
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.