annotate src/lastfile.c @ 3025:facf3239ba30

[xemacs-hg @ 2005-10-25 11:16:19 by ben] rename new->new_, convert 'foo to `foo' EmacsFrame.c, ExternalClient.c, ExternalShell.c, chartab.c, cmdloop.c, compiler.h, console.c, database.c, device-msw.c, device-x.c, device.c, doc.c, dragdrop.c, eval.c, event-msw.c, event-stream.c, events.c, extents.c, file-coding.c, fns.c, frame-tty.c, frame.c, gpmevent.c, gutter.c, hash.c, imgproc.c, indent.c, keymap.c, lisp-union.h, macros.c, malloc.c, marker.c, menubar-x.c, menubar.c, mule-charset.c, number.c, process.c, profile.h, ralloc.c, redisplay.c, select-common.h, select.c, syntax.c, sysfile.h, sysproc.h, systime.h, syswindows.h, toolbar.c, tooltalk.c, tparam.c, unexaix.c, unexalpha.c, unexconvex.c, unexec.c, unexhp9k800.c, unexmips.c, unicode.c, window.c: new -> new_. 'foo -> `foo'. lwlib-internal.h: redo assert macros to follow lisp.h and not trigger warnings. lwlib.c, xlwtabs.c: new -> new_.
author ben
date Tue, 25 Oct 2005 11:16:49 +0000
parents 3078fd1074e8
children 308d34e9f07d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1 /* Mark end of data space to dump as pure, for XEmacs.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
2 Copyright (C) 1985 Free Software Foundation, Inc.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
3
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
4 This file is part of XEmacs.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
5
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
6 XEmacs is free software; you can redistribute it and/or modify it
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
7 under the terms of the GNU General Public License as published by the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
8 Free Software Foundation; either version 2, or (at your option) any
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
9 later version.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
10
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
11 XEmacs is distributed in the hope that it will be useful, but WITHOUT
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
14 for more details.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
15
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
17 along with XEmacs; see the file COPYING. If not, write to
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
19 Boston, MA 02111-1307, USA. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
20
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
21 /* Synched up with: FSF 19.30. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
22
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
23
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
24 /* How this works:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
25
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
26 Fdump_emacs dumps everything up to my_edata as text space (pure).
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
27
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
28 The files of Emacs are written so as to have no initialized
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
29 data that can ever need to be altered except at the first startup.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
30 This is so that those words can be dumped as sharable text.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
31
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
32 It is not possible to exercise such control over library files.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
33 So it is necessary to refrain from making their data areas shared.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
34 Therefore, this file is loaded following all the files of Emacs
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
35 but before library files.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
36 As a result, the symbol my_edata indicates the point
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
37 in data space between data coming from Emacs and data
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
38 coming from libraries.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
39 */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
40
448
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents: 428
diff changeset
41 #include <config.h>
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents: 428
diff changeset
42
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
43 char my_edata[] = "End of Emacs initialized data";
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
44
448
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents: 428
diff changeset
45 /* Ensure there is enough slack in the .bss to pad with. */
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents: 428
diff changeset
46 #ifdef HEAP_IN_DATA
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents: 428
diff changeset
47 #define BSS_PADDING 0x1000
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents: 428
diff changeset
48 #else
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents: 428
diff changeset
49 #define BSS_PADDING 1
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents: 428
diff changeset
50 #endif
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents: 428
diff changeset
51
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents: 428
diff changeset
52 char my_ebss [BSS_PADDING];
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents: 428
diff changeset
53