diff options
author | Jim Blandy <[email protected]> | 1992-01-31 21:19:17 +0000 |
---|---|---|
committer | Jim Blandy <[email protected]> | 1992-01-31 21:19:17 +0000 |
commit | 93a3712002fec52f80d4cf0500f762e8dd8a558b (patch) | |
tree | 58f0b5761223b205a9f4fef0c6e470843e3c8449 /src/unexfx2800.c | |
parent | 9ae5ee04cdfdb5668eb49343efe6cde929ee7406 (diff) |
entered into RCS
Diffstat (limited to 'src/unexfx2800.c')
-rw-r--r-- | src/unexfx2800.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/unexfx2800.c b/src/unexfx2800.c new file mode 100644 index 0000000000..89e14e678d --- /dev/null +++ b/src/unexfx2800.c @@ -0,0 +1,16 @@ +/* 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"); +} |