Mercurial > emacs
view src/unexfx2800.c @ 16484:96df462c5f15
(BROKEN_O_NONBLOCK): Define only if Ultrix.
(LIBS_MACHINE, KERNEL_FILE): Don't define if __NetBSD__.
(C_SWITCH_X_MACHINE): Define only if Ultrix.
[__NetBSD__] (START_FILES, CANNOT_DUMP): New definitions.
[__NetBSD__] (RUN_TIME_REMAP, UNEXEC): Undef them.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 30 Oct 1996 05:11:12 +0000 |
parents | 79ea818b6aed |
children |
line wrap: on
line source
/* Unexec for the Alliant FX/2800. */ #include <stdio.h> unexec (new_name, a_name, data_start, bss_start, entry_address) char *new_name, *a_name; unsigned data_start, bss_start, entry_address; { int stat; stat = elf_write_modified_data (a_name, new_name); if (stat < 0) perror ("emacs: elf_write_modified_data"); else if (stat > 0) fprintf (stderr, "Unspecified error from elf_write_modified_data.\n"); }