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/s | |
| 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/s')
| -rw-r--r-- | src/s/hpux10-20.h | 6 | ||||
| -rw-r--r-- | src/s/ms-w32.h | 4 | ||||
| -rw-r--r-- | src/s/msdos.h | 6 | ||||
| -rw-r--r-- | src/s/template.h | 5 | ||||
| -rw-r--r-- | src/s/usg5-4.h | 2 |
5 files changed, 0 insertions, 23 deletions
diff --git a/src/s/hpux10-20.h b/src/s/hpux10-20.h index ee841041edb..ee0fa9abe02 100644 --- a/src/s/hpux10-20.h +++ b/src/s/hpux10-20.h | |||
| @@ -113,12 +113,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 113 | on HP-UX. (You get duplicate symbol errors on linking). */ | 113 | on HP-UX. (You get duplicate symbol errors on linking). */ |
| 114 | #undef _FILE_OFFSET_BITS | 114 | #undef _FILE_OFFSET_BITS |
| 115 | 115 | ||
| 116 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 117 | to change the boundary between the text section and data section | ||
| 118 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 119 | code will not be sharable; but that's better than failing completely. */ | ||
| 120 | #define NO_REMAP | ||
| 121 | |||
| 122 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | 116 | /* Define VIRT_ADDR_VARIES if the virtual addresses of |
| 123 | pure and impure space as loaded can vary, and even their | 117 | pure and impure space as loaded can vary, and even their |
| 124 | relative order cannot be relied on. | 118 | relative order cannot be relied on. |
diff --git a/src/s/ms-w32.h b/src/s/ms-w32.h index b3e9db8be8a..f61fae57eff 100644 --- a/src/s/ms-w32.h +++ b/src/s/ms-w32.h | |||
| @@ -62,10 +62,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 62 | for received packets, so datagrams are broken too. */ | 62 | for received packets, so datagrams are broken too. */ |
| 63 | #define BROKEN_DATAGRAM_SOCKETS 1 | 63 | #define BROKEN_DATAGRAM_SOCKETS 1 |
| 64 | 64 | ||
| 65 | /* If your system uses COFF (Common Object File Format) then define the | ||
| 66 | preprocessor symbol "COFF". */ | ||
| 67 | #define COFF 1 | ||
| 68 | |||
| 69 | #define MAIL_USE_POP 1 | 65 | #define MAIL_USE_POP 1 |
| 70 | #define MAIL_USE_SYSTEM_LOCK 1 | 66 | #define MAIL_USE_SYSTEM_LOCK 1 |
| 71 | 67 | ||
diff --git a/src/s/msdos.h b/src/s/msdos.h index b76b583250c..ffbae8777e2 100644 --- a/src/s/msdos.h +++ b/src/s/msdos.h | |||
| @@ -45,10 +45,6 @@ You lose; /* Emacs for DOS must be compiled with DJGPP */ | |||
| 45 | This is the only system that needs this. */ | 45 | This is the only system that needs this. */ |
| 46 | #undef subprocesses | 46 | #undef subprocesses |
| 47 | 47 | ||
| 48 | /* If your system uses COFF (Common Object File Format) then define the | ||
| 49 | preprocessor symbol "COFF". */ | ||
| 50 | #define COFF | ||
| 51 | |||
| 52 | /* Here, on a separate page, add any special hacks needed to make | 48 | /* Here, on a separate page, add any special hacks needed to make |
| 53 | Emacs work on this system. For example, you might define certain | 49 | Emacs work on this system. For example, you might define certain |
| 54 | system call names that don't exist on your system, or that do | 50 | system call names that don't exist on your system, or that do |
| @@ -131,7 +127,5 @@ You lose; /* Emacs for DOS must be compiled with DJGPP */ | |||
| 131 | #define GC_SETJMP_WORKS 1 | 127 | #define GC_SETJMP_WORKS 1 |
| 132 | #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS | 128 | #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS |
| 133 | 129 | ||
| 134 | #define NO_REMAP | ||
| 135 | |||
| 136 | /* arch-tag: d184f860-815d-4ff4-8187-d05c0f3c37d0 | 130 | /* arch-tag: d184f860-815d-4ff4-8187-d05c0f3c37d0 |
| 137 | (do not change this comment) */ | 131 | (do not change this comment) */ |
diff --git a/src/s/template.h b/src/s/template.h index 67ed13e6180..dd1e56f8553 100644 --- a/src/s/template.h +++ b/src/s/template.h | |||
| @@ -85,11 +85,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 85 | 85 | ||
| 86 | /* #undef subprocesses */ | 86 | /* #undef subprocesses */ |
| 87 | 87 | ||
| 88 | /* If your system uses COFF (Common Object File Format) then define the | ||
| 89 | preprocessor symbol "COFF". */ | ||
| 90 | |||
| 91 | /* #define COFF */ | ||
| 92 | |||
| 93 | /* Define CLASH_DETECTION if you want lock files to be written | 88 | /* Define CLASH_DETECTION if you want lock files to be written |
| 94 | so that Emacs can tell instantly when you try to modify | 89 | so that Emacs can tell instantly when you try to modify |
| 95 | a file that someone else has modified in his Emacs. */ | 90 | a file that someone else has modified in his Emacs. */ |
diff --git a/src/s/usg5-4.h b/src/s/usg5-4.h index b92a5bbb450..0fcc6623450 100644 --- a/src/s/usg5-4.h +++ b/src/s/usg5-4.h | |||
| @@ -56,8 +56,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 56 | /* On USG systems signal handlers return void. */ | 56 | /* On USG systems signal handlers return void. */ |
| 57 | #define SIGTYPE void | 57 | #define SIGTYPE void |
| 58 | 58 | ||
| 59 | #undef COFF | ||
| 60 | |||
| 61 | /* Get FIONREAD from <sys/filio.h>. Get <sys/ttold.h> to get struct tchars. | 59 | /* Get FIONREAD from <sys/filio.h>. Get <sys/ttold.h> to get struct tchars. |
| 62 | But get <termio.h> first to make sure ttold.h doesn't interfere. | 60 | But get <termio.h> first to make sure ttold.h doesn't interfere. |
| 63 | And don't try to use SIGIO yet. */ | 61 | And don't try to use SIGIO yet. */ |