Mercurial > hg > xemacs-beta
annotate src/s/hpux11-shr.h @ 4871:d8d92ad084b8
rewrite check for bad memory in debug_can_save_memory
-------------------- ChangeLog entries follow: --------------------
src/ChangeLog addition:
2010-01-15 Ben Wing <ben@xemacs.org>
* emacs.c:
* emacs.c (debug_can_access_memory):
When checking for bad memory, we need to read all bytes from memory;
try even harder to avoid the possibility that a super-optimizing
compiler will optimize away the memory reads.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Fri, 15 Jan 2010 04:47:00 -0600 |
parents | aa5ed11f473b |
children | cad59a0a3b19 |
rev | line source |
---|---|
269 | 1 /* Synched up with: FSF 19.31. */ |
2 | |
4759
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
269
diff
changeset
|
3 /* For building XEmacs under HPUX 11.0 with dynamic libraries. */ |
269 | 4 |
5 #define ORDINARY_LINK | |
6 | |
7 /* XEmacs change */ | |
8 #define HPUX_USE_SHLIBS | |
9 | |
10 /* XEmacs: */ | |
11 /* Don't tell the linker to link statically */ | |
12 #ifdef NOT_C_CODE | |
13 #define START_FILES | |
14 #define LINKER "$(CC)" | |
15 #endif /* THIS IS YMAKEFILE */ | |
16 | |
17 /* get call to brk() when rerunning XEmacs */ | |
18 #define RUN_TIME_REMAP | |
19 | |
20 #include "hpux11.h" | |
21 | |
22 /* We must turn off -g since it forces -static. */ | |
23 #ifdef __GNUC__ | |
24 #undef C_DEBUG_SWITCH | |
25 #define C_DEBUG_SWITCH | |
26 #endif |