X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/d427b66a664c0e1ffc818dfa5b87b45b4857d2ae..14b6e3bb481f4cb48f397c50ae8116b6fc39c937:/src/lastfile.c diff --git a/src/lastfile.c b/src/lastfile.c index 6588a593c9..7c5e067dd0 100644 --- a/src/lastfile.c +++ b/src/lastfile.c @@ -1,11 +1,12 @@ /* Mark end of data space to dump as pure, for GNU Emacs. - Copyright (C) 1985 Free Software Foundation, Inc. + Copyright (C) 1985, 2002, 2003, 2004, 2005, + 2006 Free Software Foundation, Inc. This file is part of GNU Emacs. GNU Emacs is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 1, or (at your option) +the Free Software Foundation; either version 2, or (at your option) any later version. GNU Emacs is distributed in the hope that it will be useful, @@ -15,7 +16,8 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. */ /* How this works: @@ -35,4 +37,19 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ coming from libraries. */ -char my_edata = 0; +#include + +char my_edata[] = "End of Emacs initialized data"; + +/* Help unexec locate the end of the .bss area used by Emacs (which + isn't always a separate section in NT executables). */ +char my_endbss[1]; + +/* The Alpha MSVC linker globally segregates all static and public bss + data, so we must take both into account to determine the true extent + of the bss area used by Emacs. */ +static char _my_endbss[1]; +char * my_endbss_static = _my_endbss; + +/* arch-tag: 67e81ab4-e14f-44b2-8875-c0c12252223e + (do not change this comment) */