diff options
| author | Dan Nicolaescu | 2008-07-10 06:54:56 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2008-07-10 06:54:56 +0000 |
| commit | a0ce9ab7910c161bf27a182218bbeacbcf1954d6 (patch) | |
| tree | 0f475d650e5025887737a86cca24f127bd21844f /src | |
| parent | cf37ed4f2308302d08aba5735ef99fa4ad6689f3 (diff) | |
| download | emacs-a0ce9ab7910c161bf27a182218bbeacbcf1954d6.tar.gz emacs-a0ce9ab7910c161bf27a182218bbeacbcf1954d6.zip | |
* unexec.c:
* m/ia64.h:
* m/hp800.h: Remove dead code.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 1 | ||||
| -rw-r--r-- | src/m/hp800.h | 11 | ||||
| -rw-r--r-- | src/m/ia64.h | 7 | ||||
| -rw-r--r-- | src/unexec.c | 4 |
4 files changed, 1 insertions, 22 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d648b8a90d0..9ad4e855859 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | 2008-07-10 Dan Nicolaescu <dann@ics.uci.edu> | 1 | 2008-07-10 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 2 | ||
| 3 | * unexec.c: | ||
| 3 | * s/vms.h: | 4 | * s/vms.h: |
| 4 | * s/usg5-4-2.h: | 5 | * s/usg5-4-2.h: |
| 5 | * s/sol2-5.h: | 6 | * s/sol2-5.h: |
diff --git a/src/m/hp800.h b/src/m/hp800.h index 27c22f7b957..14769077034 100644 --- a/src/m/hp800.h +++ b/src/m/hp800.h | |||
| @@ -127,17 +127,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 127 | /* no underscore please */ | 127 | /* no underscore please */ |
| 128 | #define LDAV_SYMBOL "avenrun" | 128 | #define LDAV_SYMBOL "avenrun" |
| 129 | 129 | ||
| 130 | #if 0 /* Supposedly no longer true. */ | ||
| 131 | /* In hpux, for unknown reasons, S_IFLNK is defined even though | ||
| 132 | symbolic links do not exist. | ||
| 133 | Make sure our conditionals based on S_IFLNK are not confused. | ||
| 134 | |||
| 135 | Here we assume that stat.h is included before config.h | ||
| 136 | so that we can override it here. */ | ||
| 137 | |||
| 138 | #undef S_IFLNK | ||
| 139 | #endif | ||
| 140 | |||
| 141 | /* On USG systems these have different names. */ | 130 | /* On USG systems these have different names. */ |
| 142 | 131 | ||
| 143 | #define index strchr | 132 | #define index strchr |
diff --git a/src/m/ia64.h b/src/m/ia64.h index ecd3a801760..2b11fa78540 100644 --- a/src/m/ia64.h +++ b/src/m/ia64.h | |||
| @@ -65,13 +65,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 65 | 65 | ||
| 66 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | 66 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) |
| 67 | 67 | ||
| 68 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 69 | Then the function dump-emacs will not be defined | ||
| 70 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 71 | #if 0 | ||
| 72 | #define CANNOT_DUMP | ||
| 73 | #endif | ||
| 74 | |||
| 75 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | 68 | /* Define VIRT_ADDR_VARIES if the virtual addresses of |
| 76 | pure and impure space as loaded can vary, and even their | 69 | pure and impure space as loaded can vary, and even their |
| 77 | relative order cannot be relied on. | 70 | relative order cannot be relied on. |
diff --git a/src/unexec.c b/src/unexec.c index 6b46c00150e..7116685051b 100644 --- a/src/unexec.c +++ b/src/unexec.c | |||
| @@ -503,10 +503,6 @@ make_hdr (new, a_out, data_start, bss_start, entry_address, a_name, new_name) | |||
| 503 | f_thdr.s_size = f_ohdr.tsize; | 503 | f_thdr.s_size = f_ohdr.tsize; |
| 504 | f_thdr.s_scnptr = sizeof (f_hdr) + sizeof (f_ohdr); | 504 | f_thdr.s_scnptr = sizeof (f_hdr) + sizeof (f_ohdr); |
| 505 | f_thdr.s_scnptr += (f_hdr.f_nscns) * (sizeof (f_thdr)); | 505 | f_thdr.s_scnptr += (f_hdr.f_nscns) * (sizeof (f_thdr)); |
| 506 | #ifdef ADJUST_TEXT_SCNHDR_SIZE | ||
| 507 | /* On some machines, `text size' includes all headers. */ | ||
| 508 | f_thdr.s_size -= f_thdr.s_scnptr; | ||
| 509 | #endif /* ADJUST_TEST_SCNHDR_SIZE */ | ||
| 510 | lnnoptr = f_thdr.s_lnnoptr; | 506 | lnnoptr = f_thdr.s_lnnoptr; |
| 511 | #ifdef SECTION_ALIGNMENT | 507 | #ifdef SECTION_ALIGNMENT |
| 512 | /* Some systems require special alignment | 508 | /* Some systems require special alignment |