X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/d427b66a664c0e1ffc818dfa5b87b45b4857d2ae..35e8e78731bbd055f028cbf643fe7713440a3912:/src/lastfile.c diff --git a/src/lastfile.c b/src/lastfile.c index 6588a593c9..d6292e3004 100644 --- a/src/lastfile.c +++ b/src/lastfile.c @@ -5,7 +5,7 @@ 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 +15,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., 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. */ /* How this works: @@ -35,4 +36,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) */