(whitespace-global-mode): Use define-minor-mode. Use the new file hook names.
[emacs.git] / src / unexsol.c
blobff8a812f27948ab1d8f7f79d9263effdfd583a9a
1 /* Trivial unexec for Solaris. */
3 #include <config.h>
4 #include <stdlib.h>
5 #include <dlfcn.h>
7 #include "lisp.h"
9 int
10 unexec (char *new_name, char *old_name, unsigned int data_start,
11 unsigned int bss_start, unsigned int entry_address)
13 if (dldump (0, new_name, RTLD_MEMORY))
14 report_file_error ("Cannot unexec", Fcons (build_string (new_name), Qnil));
16 return 0;