Mercurial > hg > xemacs-beta
annotate src/unexfx2800.c @ 4709:db7068430402
Add explicit GPL v2 or later notices to Bill Perry's code, where such notices
are missing. This is done with Bill Perry's stated permission, in private
email to me.
author | Jerry James <james@xemacs.org> |
---|---|
date | Mon, 05 Oct 2009 11:08:59 -0600 |
parents | 04bc9d2f42c7 |
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 } |