Also note that the CODE section in a C program is almost entirely free of references to other code that needs to be relocated - all calls and branches are "relative to current instruction", so only "other' references need fixup. This is typically data addresses (e.g. string constants, global variables), jump tables for (large) switch statements and VTables.
--
Mats