Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!udel!princeton!cs!dynamic.Princeton.EDU!nr From: nr@dynamic.Princeton.EDU (Norman Ramsey) Newsgroups: comp.sys.mips Subject: changing crt0.o Message-ID: <7991@rossignol.Princeton.EDU> Date: 1 Apr 91 17:01:45 GMT Sender: news@cs.Princeton.EDU Organization: Princeton Computer Science Dept Lines: 13 Originator: nr@dynamic.Princeton.EDU I want to change crt0.o to initialize some debugging code before calling the user's main(). I've looked at the existing __start using dbx, and I've duplicated the instruction sequence, but when I try `nm /usr/lib/crt0.o' I still see some things I don't understand. (For example, how much of the moncontrol stuff is necessary?) We have Ultrix sources but our sysadmin people have been unable to find crt0.s for me. Can anyone point me to a copy of crt0.s for the MIPS, or tell me what manual explains what this code is supposed to do? -- Norman Ramsey nr@princeton.edu