blob: ff8a812f27948ab1d8f7f79d9263effdfd583a9a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/* Trivial unexec for Solaris. */
#include <config.h>
#include <stdlib.h>
#include <dlfcn.h>
#include "lisp.h"
int
unexec (char *new_name, char *old_name, unsigned int data_start,
unsigned int bss_start, unsigned int entry_address)
{
if (dldump (0, new_name, RTLD_MEMORY))
report_file_error ("Cannot unexec", Fcons (build_string (new_name), Qnil));
return 0;
}
|