From: utzoo!decvax!harpo!npoiv!npois!houxm!houxa!houxi!houxz!ihnp4!ixn5c!inuxc!pur-ee!uiucdcs!emrath Newsgroups: net.unix-wizards Title: Re: demand loading - (nf) Article-I.D.: uiucdcs.1303 Posted: Fri Jan 7 02:28:08 1983 Received: Mon Jan 10 02:50:52 1983 #R:idis:-17700:uiucdcs:13700013:000:1071 uiucdcs!emrath Jan 7 00:57:00 1983 Maybe this isn't the place, but the last note mentioned ld's -T option. I have tried using this a couple times and everything blows up when I do. Could someone please explain what it actually does? I am running some compatibility mode code (loaded dynamically). To reserve pdp-11 addressing space, I have an assembler module that is nothing but: .text zero: .space 0200000 It all works fine with this as the first module "ld'ed", the -N option to make the whole mess r/w and the -e option to set the start address. But it takes a godawful long time to load because of the 64K chunk of zeros at the front. From the manual it looked like maybe the T option would allow me to eliminate this essentially bss space, but I can't get it to work. Is there any way I can? As a solution I have been thinking of writing a separate small program which manually loads the pdp-11 code loader/emulator by doing the appropriate "brk" call, then loading the program skipping over the first 0200000 bytes (of 0's) and finally transferring to it. P. Emrath - EUREKA Group - U of IL