|[3 earlier articles]|
|Re: Linker ... still useful ? email@example.com (1994-09-23)|
|Re: Linker ... still useful ? firstname.lastname@example.org (Joel Runes) (1994-09-26)|
|Re: Linker ... still useful ? email@example.com (1994-09-26)|
|Re: Linker ... still useful ? firstname.lastname@example.org (Rob MacLachlan) (1994-09-27)|
|Re: Linker ... still useful ? email@example.com (1994-09-28)|
|Re: Linker ... still useful ? firstname.lastname@example.org (1994-09-28)|
|Linker ... still useful ? Roger@natron.demon.co.uk (1994-09-28)|
|Re: Linker ... still useful ? email@example.com (1994-09-29)|
|Re: Linker ... still useful ? firstname.lastname@example.org (1994-09-30)|
|Re: Linker ... still useful ? email@example.com (1994-10-05)|
|Re: Linker ... still useful ? firstname.lastname@example.org (1994-10-06)|
|Re: Linker ... still useful ? email@example.com (1994-10-07)|
|Re: Linker ... still useful ? firstname.lastname@example.org (1994-10-10)|
|[1 later articles]|
|From:||Roger@natron.demon.co.uk (Roger Barnett)|
|Organization:||Natron Software Maintenance Ltd|
|Date:||Wed, 28 Sep 1994 14:11:58 GMT|
email@example.com "Rob MacLachlan" writes:
> However, I have to admit I'm not sure what could come after current linkers.
> Support for multiple namespaces and initialization is straightforward, but
> interface checking is language dependent, and incremental linking and heap
> preallocation are dependent on the particular implementation as well as on
> the language.
> [A surprisingly effective way to do interface checking is to hang a byte
> string on each procedure symbol that somehow encodes the arguments passed
> (for refs) or expected (for defs) and for the linker to compare the strings
> and complain if they're not the same. ...
The RTL/2 language compilers have included a "linkage verifier" to perform
interface checking since 1972 (i.e. from the first release). The compilers
generate a "cross-reference" text file detailing defs and refs for global
procedures and data items which can then be passed to the linkage verifier
for checking before running whatever linker is being used. Other information
can also be included if useful, such as compiler version or option settings
used. Using a separate file has the advantage that the programmer can add
equivalent information for any modules written in (say) assembler in order
to provide a complete set of definitions.
Return to the
Search the comp.compilers archives again.