pdp11 loader options

guy at rlgvax.UUCP guy at rlgvax.UUCP
Mon Jun 13 16:09:58 AEST 1983


Actually, the PDP-11 "crt0" C startup routine puts in a shim at location
0 to insure that real data starts at location 2; if you don't link with
it, you can end up with real data at location 0.  Anybody out there
planning an implementation of UNIX should ENSURE, using this or any
other trick, that no code (other than the start-up code) or data appear
at location 0 (one implementation did that, and it gave some of our
programs gastric distress; fortunately, they fixed that bug early on).

		Guy Harris
		RLG Corporation
		{seismo,mcnc,we13,brl-bmd,allegra}!rlgvax!guy



More information about the Comp.unix.wizards mailing list