dumping core on *(NULL) is not a function of your processor

Jack Jansen jack at cwi.nl
Fri Aug 5 23:47:09 AEST 1988


Well, there's a simple hack to get a binary format that doesn't
use a new magic number and will break hardly any existing programs:
Make ld generate ZMAGIC output with the first page full of zeroes. Of
course, this moves crt0.o into page 1 (and thus setting a_entry to
0x400 or something).

Now, the only trick needed is that the kernel recognizes the fact that page
0 is full of zeroes and doesn't map it......
	Jack Jansen, jack at cwi.nl (or jack at mcvax.uucp)
	The shell is my oyster.



More information about the Comp.unix.wizards mailing list