diff options
author | Dan Nicolaescu <dann@ics.uci.edu> | 2010-07-28 20:25:08 -0700 |
---|---|---|
committer | Dan Nicolaescu <dann@ics.uci.edu> | 2010-07-28 20:25:08 -0700 |
commit | 76fd1ee9bd6e22602ed4df4350daeb375f67e16a (patch) | |
tree | 3628a3c341f6b0750837768a5efcb6d5c44faf6f /src/m | |
parent | 087b38a075e28408c397252f3756af9d3ac23e87 (diff) | |
download | emacs-76fd1ee9bd6e22602ed4df4350daeb375f67e16a.tar.gz |
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/>. */ termio and struct termios are mutually incompatible. */ #define NO_TERMIO -#if defined (GNU_LINUX) || defined (__NetBSD__) || defined (__OpenBSD__) -# ifndef __ELF__ -# define COFF -# endif /* notdef __ELF__ */ -#endif - /* Many Alpha implementations (e.g. gas 2.8) can't handle DBL_MIN: they generate code that uses a signaling NaN instead of DBL_MIN. 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/>. */ is the most significant byte. */ #undef WORDS_BIG_ENDIAN -#define NO_REMAP - /* arch-tag: 07856f0c-f0c8-4bd8-99af-0b7fa1e5ee42 (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/>. */ /* libc-linux/sysdeps/linux/i386/ulimit.c says that due to shared library, */ /* we cannot get the maximum address for brk */ #define ULIMIT_BREAK_VALUE (32*1024*1024) - -#define SEGMENT_MASK ((SEGMENT_SIZE)-1) #endif /* 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/>. */ #define DATA_SEG_BITS 0x80000000 #endif -#define NO_REMAP #endif /* 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/>. */ /* Convert that into an integer that is 100 for a load average of 1.0 */ #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) -/* Mask for address bits within a memory segment */ -#define SEGMENT_MASK (SEGSIZ - 1) - #ifdef __arch64__ /* GCC, 64-bit ABI. */ #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/>. */ numerically. */ #define VIRT_ADDR_VARIES -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ -#define NO_REMAP - /* After adding support for a new machine, modify the large case statement in configure.in to recognize reasonable configuration names, and add a description of the system to |