diff options
| author | Glenn Morris | 2012-07-10 00:15:05 -0700 |
|---|---|---|
| committer | Glenn Morris | 2012-07-10 00:15:05 -0700 |
| commit | 882cf227ab70fc5cd7252781bd55febfbcad27d5 (patch) | |
| tree | aba4dbf427dcc09623dd4d79a399bf48644a618f /src | |
| parent | c293e30cd9f841e59ce6ae3b2757f0e6daf2e71d (diff) | |
| download | emacs-882cf227ab70fc5cd7252781bd55febfbcad27d5.tar.gz emacs-882cf227ab70fc5cd7252781bd55febfbcad27d5.zip | |
Move DATA_START, DATA_SEG_BITS from src/s to configure
* configure.ac (DATA_START, DATA_SEG_BITS): Move here from src/s.
* src/s/irix6-5.h (DATA_START, DATA_SEG_BITS):
* src/s/hpux10-20.h (DATA_SEG_BITS, DATA_START):
* src/s/gnu.h (DATA_START): Move definitions to configure.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/s/gnu.h | 3 | ||||
| -rw-r--r-- | src/s/hpux10-20.h | 5 | ||||
| -rw-r--r-- | src/s/irix6-5.h | 7 |
4 files changed, 4 insertions, 15 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index e54ea7d8fe9..cbfc1245c13 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -11,6 +11,10 @@ | |||
| 11 | 11 | ||
| 12 | 2012-07-10 Glenn Morris <rgm@gnu.org> | 12 | 2012-07-10 Glenn Morris <rgm@gnu.org> |
| 13 | 13 | ||
| 14 | * s/irix6-5.h (DATA_START, DATA_SEG_BITS): | ||
| 15 | * s/hpux10-20.h (DATA_SEG_BITS, DATA_START): | ||
| 16 | * s/gnu.h (DATA_START): Move definitions to configure. | ||
| 17 | |||
| 14 | * s/irix6-5.h (SETUP_SLAVE_PTY, PTY_NAME_SPRINTF): Drop ifdef guards. | 18 | * s/irix6-5.h (SETUP_SLAVE_PTY, PTY_NAME_SPRINTF): Drop ifdef guards. |
| 15 | We include usg5-4-common.h, which defines them both. | 19 | We include usg5-4-common.h, which defines them both. |
| 16 | 20 | ||
diff --git a/src/s/gnu.h b/src/s/gnu.h index 8410ad666f5..bac233266c8 100644 --- a/src/s/gnu.h +++ b/src/s/gnu.h | |||
| @@ -21,9 +21,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 21 | /* Get most of the stuff from bsd-common */ | 21 | /* Get most of the stuff from bsd-common */ |
| 22 | #include "bsd-common.h" | 22 | #include "bsd-common.h" |
| 23 | 23 | ||
| 24 | /* libc defines data_start. */ | ||
| 25 | #define DATA_START ({ extern int data_start; (char *) &data_start; }) | ||
| 26 | |||
| 27 | /* It would be harmless to drop the ifdef emacs test. */ | 24 | /* It would be harmless to drop the ifdef emacs test. */ |
| 28 | #ifdef emacs | 25 | #ifdef emacs |
| 29 | #include <stdio.h> /* Get the definition of _IO_STDIO_H. */ | 26 | #include <stdio.h> /* Get the definition of _IO_STDIO_H. */ |
diff --git a/src/s/hpux10-20.h b/src/s/hpux10-20.h index 62bb0f4e344..0e47ccee86f 100644 --- a/src/s/hpux10-20.h +++ b/src/s/hpux10-20.h | |||
| @@ -79,8 +79,3 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 79 | /* Conservative garbage collection has not been tested, so for now | 79 | /* Conservative garbage collection has not been tested, so for now |
| 80 | play it safe and stick with the old-fashioned way of marking. */ | 80 | play it safe and stick with the old-fashioned way of marking. */ |
| 81 | #define GC_MARK_STACK GC_USE_GCPROS_AS_BEFORE | 81 | #define GC_MARK_STACK GC_USE_GCPROS_AS_BEFORE |
| 82 | |||
| 83 | /* The data segment on this machine always starts at address 0x40000000. */ | ||
| 84 | #define DATA_SEG_BITS 0x40000000 | ||
| 85 | |||
| 86 | #define DATA_START 0x40000000 | ||
diff --git a/src/s/irix6-5.h b/src/s/irix6-5.h index 212a6ffb839..1f50df600d9 100644 --- a/src/s/irix6-5.h +++ b/src/s/irix6-5.h | |||
| @@ -82,10 +82,3 @@ char *_getpty(); | |||
| 82 | 82 | ||
| 83 | /* Tested on Irix 6.5. SCM worked on earlier versions. */ | 83 | /* Tested on Irix 6.5. SCM worked on earlier versions. */ |
| 84 | #define GC_SETJMP_WORKS 1 | 84 | #define GC_SETJMP_WORKS 1 |
| 85 | |||
| 86 | |||
| 87 | /* DATA_SEG_BITS forces extra bits to be or'd in with any pointers which | ||
| 88 | were stored in a Lisp_Object (as Emacs uses fewer than 32 bits for | ||
| 89 | the value field of a LISP_OBJECT). */ | ||
| 90 | #define DATA_START 0x10000000 | ||
| 91 | #define DATA_SEG_BITS 0x10000000 | ||