Path: utzoo!utgpu!watmath!clyde!att!rutgers!ucsd!ucbvax!ISUMVS.BITNET!F2.MJP From: F2.MJP@ISUMVS.BITNET ("Mike Purtell") Newsgroups: comp.sys.amiga.tech Subject: resident library call feature of the linker(ALINK): HOW? Message-ID: <8812171054.AA10776@ucbvax.Berkeley.EDU> Date: 17 Dec 88 10:55:28 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 28 I noticed something in the AmigaDos Develper's Manual that I've never seen anyone mention before. It's the 'resident library call feature' of the linker (ALINK). The idea is that the loader opens the resident libraries and patches my code so that JSR's for library routines are right to the routines in the libraries. This would save the use of a register for the library base and I think it also bypasses the jump tables in the libraries making for more efficient routine calls. I want to do this. I can't find enough information in the manual to figure it out. Apparently, some 'special software tool', mentioned only once in the manual, is needed to create an object file with the resident library definitions in it from an object file with absolute definitions. I'll write the tool myself if I can find out exactly what the object file is too look like after conversion. I've already tried just converting the symbol data units in the hunk_ext from type ext_abs to ext_res, but this didn't seem to make any difference. Can anyone help me? Is this feature not really there? Is it a bad idea to use it? In the search for knowledge I become more ignorant the more I search. ------------------------------------------------------------------------------ Mike Purtell Bitnet: f2.mjp@ISUMVS PO BOX 1519 Internet: f2.mjp@MVS1.IASTATE.EDU Ames, Iowa 50010-1519 USA Institution: Iowa State University ------------------------------------------------------------------------------