Path: utzoo!attcan!uunet!husc6!mailrus!tut.cis.ohio-state.edu!osu-cis!killer!vector!rpp386!jfh From: jfh@rpp386.UUCP (John F. Haugh II) Newsgroups: comp.lang.c Subject: Re: a.out magic numbers (was Referencing through a null pointer) Message-ID: <2177@rpp386.UUCP> Date: 28 May 88 17:47:23 GMT References: <3803@diku.dk> <1988May6.165741.633@utzoo.uucp> <1806@cuuxb.ATT.COM> <1988May26.171814.811@utzoo.uucp> Reply-To: jfh@rpp386.UUCP (The Beach Bum) Organization: Big "D" Home for Wayward Hackers Lines: 23 [ speaking of the 0407 magic numbers and bootstraps at the same time ] i don't recall this to be the case around about system iii. i hacked on the bootstrap for the pdp/11 (11/44) and all it did was check the inode for execute permission, then load the sucker and move it by something like 020 bytes. [ after relocating itself to 0160000 if i remember correctly. ] then, it did clr r0 jmp (r0) to start unix, if i recall correctly (i remember thinking not doing a clr r7 was stupid, so i am pretty sure about the transfer code.) - john. -- John F. Haugh II | "If you aren't part of the solution, River Parishes Programming | you are part of the precipitate." UUCP: ihnp4!killer!rpp386!jfh | -- long since forgot who DOMAIN: jfh@rpp386.uucp |