Xref: utzoo comp.sys.dec:2217 comp.sys.mips:312 Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!pasteur!umpqua.berkeley.edu!jac From: jac@umpqua.berkeley.edu (Gordon Jacobs) Newsgroups: comp.sys.dec,comp.sys.mips Subject: Dynamic Loading on a DS3100 Keywords: dynamic loading Message-ID: <20047@pasteur.Berkeley.EDU> Date: 29 Nov 89 13:16:50 GMT Sender: news@pasteur.Berkeley.EDU Reply-To: jac@modoc.berkeley.edu.UUCP (Gordon Jacobs) Distribution: na Organization: Postgres Research Group, UC Berkeley Lines: 17 Has anyone attempted to perform dynamic loading on a DECstation 3100? I have been trying to do so using the incremental loading option on ld (ld -A). I execute the ld command and then read the appropriate headers in the resulting a.out file in order to determine the size of the text and data. Even with some margin placed in the size and calling malloc() to make space for it, after reading into memory, unpredictable results occurr! I do page align the space. Executing the program several times gives success once and a core dump the next... Does the loader work right?? Any suggestions or comments welcome. Thanks, Gordon Jacobs