diff options
| author | Jan Djärv | 2004-10-20 16:23:30 +0000 |
|---|---|---|
| committer | Jan Djärv | 2004-10-20 16:23:30 +0000 |
| commit | dede27921696e4e940c93fa7335066864c93ccfd (patch) | |
| tree | ce72db52bdf71d9dce653075a9565016a81f8f02 /src/lastfile.c | |
| parent | f17e308a43db0a5bcc847714a79f3334201d415f (diff) | |
| download | emacs-dede27921696e4e940c93fa7335066864c93ccfd.tar.gz emacs-dede27921696e4e940c93fa7335066864c93ccfd.zip | |
* emacs.c (my_heap_start, heap_bss_diff, MAX_HEAP_BSS_DIFF):
New variables and constant.
(main): Calculate heap_bss_diff. If we are dumping and the
heap_bss_diff is greater than MAX_HEAP_BSS_DIFF, set PER_LINUX32
and exec ourself again.
(Fdump_emacs): If heap_bss_diff is greater than MAX_HEAP_BSS_DIFF
print a warning.
* lastfile.c: Make my_endbss and my_endbss_static available on all
platforms.
* Makefile.in (RUN_TEMACS): Remove @SETARCH@.
* config.in (HAVE_PERSONALITY_LINUX32): Regenerate.
Diffstat (limited to 'src/lastfile.c')
| -rw-r--r-- | src/lastfile.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lastfile.c b/src/lastfile.c index df678b42876..d6292e30040 100644 --- a/src/lastfile.c +++ b/src/lastfile.c | |||
| @@ -40,7 +40,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 40 | 40 | ||
| 41 | char my_edata[] = "End of Emacs initialized data"; | 41 | char my_edata[] = "End of Emacs initialized data"; |
| 42 | 42 | ||
| 43 | #if defined(WINDOWSNT) || defined(CYGWIN) | ||
| 44 | /* Help unexec locate the end of the .bss area used by Emacs (which | 43 | /* Help unexec locate the end of the .bss area used by Emacs (which |
| 45 | isn't always a separate section in NT executables). */ | 44 | isn't always a separate section in NT executables). */ |
| 46 | char my_endbss[1]; | 45 | char my_endbss[1]; |
| @@ -50,7 +49,6 @@ char my_endbss[1]; | |||
| 50 | of the bss area used by Emacs. */ | 49 | of the bss area used by Emacs. */ |
| 51 | static char _my_endbss[1]; | 50 | static char _my_endbss[1]; |
| 52 | char * my_endbss_static = _my_endbss; | 51 | char * my_endbss_static = _my_endbss; |
| 53 | #endif | ||
| 54 | 52 | ||
| 55 | /* arch-tag: 67e81ab4-e14f-44b2-8875-c0c12252223e | 53 | /* arch-tag: 67e81ab4-e14f-44b2-8875-c0c12252223e |
| 56 | (do not change this comment) */ | 54 | (do not change this comment) */ |