diff options
| author | Dan Nicolaescu | 2010-07-28 20:25:08 -0700 |
|---|---|---|
| committer | Dan Nicolaescu | 2010-07-28 20:25:08 -0700 |
| commit | 76fd1ee9bd6e22602ed4df4350daeb375f67e16a (patch) | |
| tree | 3628a3c341f6b0750837768a5efcb6d5c44faf6f /src/m | |
| parent | 087b38a075e28408c397252f3756af9d3ac23e87 (diff) | |
| download | emacs-76fd1ee9bd6e22602ed4df4350daeb375f67e16a.tar.gz emacs-76fd1ee9bd6e22602ed4df4350daeb375f67e16a.zip | |
Clean up unexec.c, remove references to unused code.
* nt/config.nt: Remove code referring to NO_REMAP, unused.
* src/unexec.c (make_hdr): Remove references to NO_REMAP, COFF,
SEGMENT_MASK, SECTION_ALIGNMENT, ADJUST_EXEC_HEADER.
* src/s/usg5-4.h (COFF):
* src/s/template.h:
* src/s/msdos.h (COFF, NO_REMAP):
* src/s/ms-w32.h (NO_REMAP):
* src/s/hpux10-20.h (NO_REMAP):
* src/m/sparc.h (SEGMENT_MASK):
* src/m/m68k.h (NO_REMAP):
* src/m/intel386.h (SEGMENT_MASK):
* src/m/arm.h (NO_REMAP):
* src/m/alpha.h (COFF):
* src/m/template.h: Remove references to unused defines.
Diffstat (limited to 'src/m')
| -rw-r--r-- | src/m/alpha.h | 6 | ||||
| -rw-r--r-- | src/m/arm.h | 2 | ||||
| -rw-r--r-- | src/m/intel386.h | 2 | ||||
| -rw-r--r-- | src/m/m68k.h | 1 | ||||
| -rw-r--r-- | src/m/sparc.h | 3 | ||||
| -rw-r--r-- | src/m/template.h | 6 |
6 files changed, 0 insertions, 20 deletions
diff --git a/src/m/alpha.h b/src/m/alpha.h index ae8fd62d6f8..5a0168417cb 100644 --- a/src/m/alpha.h +++ b/src/m/alpha.h | |||
| @@ -64,12 +64,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 64 | termio and struct termios are mutually incompatible. */ | 64 | termio and struct termios are mutually incompatible. */ |
| 65 | #define NO_TERMIO | 65 | #define NO_TERMIO |
| 66 | 66 | ||
| 67 | #if defined (GNU_LINUX) || defined (__NetBSD__) || defined (__OpenBSD__) | ||
| 68 | # ifndef __ELF__ | ||
| 69 | # define COFF | ||
| 70 | # endif /* notdef __ELF__ */ | ||
| 71 | #endif | ||
| 72 | |||
| 73 | /* Many Alpha implementations (e.g. gas 2.8) can't handle DBL_MIN: | 67 | /* Many Alpha implementations (e.g. gas 2.8) can't handle DBL_MIN: |
| 74 | they generate code that uses a signaling NaN instead of DBL_MIN. | 68 | they generate code that uses a signaling NaN instead of DBL_MIN. |
| 75 | Define DBL_MIN_REPLACEMENT to be the next value larger than DBL_MIN: | 69 | Define DBL_MIN_REPLACEMENT to be the next value larger than DBL_MIN: |
diff --git a/src/m/arm.h b/src/m/arm.h index cf30e2e1b19..ee5d6c77844 100644 --- a/src/m/arm.h +++ b/src/m/arm.h | |||
| @@ -22,7 +22,5 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 22 | is the most significant byte. */ | 22 | is the most significant byte. */ |
| 23 | #undef WORDS_BIG_ENDIAN | 23 | #undef WORDS_BIG_ENDIAN |
| 24 | 24 | ||
| 25 | #define NO_REMAP | ||
| 26 | |||
| 27 | /* arch-tag: 07856f0c-f0c8-4bd8-99af-0b7fa1e5ee42 | 25 | /* arch-tag: 07856f0c-f0c8-4bd8-99af-0b7fa1e5ee42 |
| 28 | (do not change this comment) */ | 26 | (do not change this comment) */ |
diff --git a/src/m/intel386.h b/src/m/intel386.h index 76e5929e4e6..2931e9a2284 100644 --- a/src/m/intel386.h +++ b/src/m/intel386.h | |||
| @@ -32,8 +32,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 32 | /* libc-linux/sysdeps/linux/i386/ulimit.c says that due to shared library, */ | 32 | /* libc-linux/sysdeps/linux/i386/ulimit.c says that due to shared library, */ |
| 33 | /* we cannot get the maximum address for brk */ | 33 | /* we cannot get the maximum address for brk */ |
| 34 | #define ULIMIT_BREAK_VALUE (32*1024*1024) | 34 | #define ULIMIT_BREAK_VALUE (32*1024*1024) |
| 35 | |||
| 36 | #define SEGMENT_MASK ((SEGMENT_SIZE)-1) | ||
| 37 | #endif | 35 | #endif |
| 38 | 36 | ||
| 39 | /* arch-tag: 746338f0-cb7b-4f49-a98c-cb50817cf2ec | 37 | /* arch-tag: 746338f0-cb7b-4f49-a98c-cb50817cf2ec |
diff --git a/src/m/m68k.h b/src/m/m68k.h index 5a083205e50..2286cbce5e6 100644 --- a/src/m/m68k.h +++ b/src/m/m68k.h | |||
| @@ -40,7 +40,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 40 | #define DATA_SEG_BITS 0x80000000 | 40 | #define DATA_SEG_BITS 0x80000000 |
| 41 | #endif | 41 | #endif |
| 42 | 42 | ||
| 43 | #define NO_REMAP | ||
| 44 | #endif | 43 | #endif |
| 45 | 44 | ||
| 46 | /* arch-tag: 4eadd161-b4e8-4b82-82a1-e4ce7f42969d | 45 | /* arch-tag: 4eadd161-b4e8-4b82-82a1-e4ce7f42969d |
diff --git a/src/m/sparc.h b/src/m/sparc.h index 39240dcbf5c..6c2c71c4045 100644 --- a/src/m/sparc.h +++ b/src/m/sparc.h | |||
| @@ -34,9 +34,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 34 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | 34 | /* Convert that into an integer that is 100 for a load average of 1.0 */ |
| 35 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | 35 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) |
| 36 | 36 | ||
| 37 | /* Mask for address bits within a memory segment */ | ||
| 38 | #define SEGMENT_MASK (SEGSIZ - 1) | ||
| 39 | |||
| 40 | #ifdef __arch64__ /* GCC, 64-bit ABI. */ | 37 | #ifdef __arch64__ /* GCC, 64-bit ABI. */ |
| 41 | 38 | ||
| 42 | #define BITS_PER_LONG 64 | 39 | #define BITS_PER_LONG 64 |
diff --git a/src/m/template.h b/src/m/template.h index 0b149411a0a..7e067849813 100644 --- a/src/m/template.h +++ b/src/m/template.h | |||
| @@ -47,12 +47,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 47 | numerically. */ | 47 | numerically. */ |
| 48 | #define VIRT_ADDR_VARIES | 48 | #define VIRT_ADDR_VARIES |
| 49 | 49 | ||
| 50 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 51 | to change the boundary between the text section and data section | ||
| 52 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 53 | code will not be sharable; but that's better than failing completely. */ | ||
| 54 | #define NO_REMAP | ||
| 55 | |||
| 56 | /* After adding support for a new machine, modify the large case | 50 | /* After adding support for a new machine, modify the large case |
| 57 | statement in configure.in to recognize reasonable | 51 | statement in configure.in to recognize reasonable |
| 58 | configuration names, and add a description of the system to | 52 | configuration names, and add a description of the system to |