/* Unexec for HP 9000 Series 800 machines.
+
+ This file is in the public domain.
+
+ Author: John V. Morris
+
+ This file was written by John V. Morris at Hewlett Packard.
+ Both the author and Hewlett Packard Co. have disclaimed the
+ copyright on this file, and it is therefore in the public domain.
+ (Search for "hp9k800" in copyright.list.)
+*/
+
+/*
Bob Desinger <hpsemc!bd@hplabs.hp.com>
Note that the GNU project considers support for HP operation a
#include <a.out.h>
-#ifdef HPUX_USE_SHLIBS
#include <dl.h>
-#endif
/* brk value to restore, stored as a global.
This is really used only if we used shared libraries. */
if (hdr->a_magic != EXEC_MAGIC && hdr->a_magic != SHARE_MAGIC
&& hdr->a_magic != DEMAND_MAGIC)
{
- fprintf (stderr, "a.out file doesn't have legal magic number\n");
+ fprintf (stderr, "a.out file doesn't have valid magic number\n");
exit (1);
}