Mercurial > hg > xemacs-beta
annotate src/unexfx2800.c @ 4738:a6f27e2b3d84
Move functionality of s/darwin.h to configure.ac and config.h.in.
author | Stephen J. Turnbull <stephen@xemacs.org> |
---|---|
date | Wed, 11 Nov 2009 23:40:15 +0900 |
parents | db7068430402 |
children |
rev | line source |
---|---|
4709
db7068430402
Add explicit GPL v2 or later notices to Bill Perry's code, where such notices
Jerry James <james@xemacs.org>
parents:
2286
diff
changeset
|
1 /* Unexec for the Alliant FX/2800. |
0 | 2 |
3 This file is part of XEmacs. | |
4 | |
5 XEmacs is free software; you can redistribute it and/or modify it | |
6 under the terms of the GNU General Public License as published by the | |
7 Free Software Foundation; either version 2, or (at your option) any | |
8 later version. | |
9 | |
10 XEmacs is distributed in the hope that it will be useful, but WITHOUT | |
11 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
12 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
13 for more details. | |
14 | |
15 You should have received a copy of the GNU General Public License | |
16 along with XEmacs; see the file COPYING. If not, write to | |
17 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
18 Boston, MA 02111-1307, USA. */ | |
19 | |
20 /* Synched up with: FSF 19.31. */ | |
21 | |
22 #include <stdio.h> | |
2286 | 23 #include "compiler.h" |
0 | 24 |
25 unexec (new_name, a_name, data_start, bss_start, entry_address) | |
26 char *new_name, *a_name; | |
2286 | 27 unsigned UNUSED (data_start); |
28 unsigned UNUSED (bss_start); | |
29 unsigned UNUSED (entry_address); | |
0 | 30 { |
31 int stat; | |
32 | |
33 stat = elf_write_modified_data (a_name, new_name); | |
34 if (stat < 0) | |
35 perror ("emacs: elf_write_modified_data"); | |
36 else if (stat > 0) | |
37 fprintf (stderr, "Unspecified error from elf_write_modified_data.\n"); | |
38 } |