diff options
| author | Dan Nicolaescu | 2008-07-23 08:29:24 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2008-07-23 08:29:24 +0000 |
| commit | 7a14f2a03e95f5ac10d5603da6fa52777f16968e (patch) | |
| tree | 458d3141171de03a79258e34d4bc8930fb709a9a /src/unexec.c | |
| parent | 5fa8e472948b7e7fe3903c73ed39b28109f22216 (diff) | |
| download | emacs-7a14f2a03e95f5ac10d5603da6fa52777f16968e.tar.gz emacs-7a14f2a03e95f5ac10d5603da6fa52777f16968e.zip | |
* s/usg5-4.h (ADDR_CORRECT): Remove, unused.
* unexaix.c (ADDR_CORRECT): Remove conditional, the only user
defines it.
* unexec.c (ADDR_CORRECT): Define unconditionally.
* m/ibmrs6000.h (C_SWITCH_MACHINE): Remove.
Diffstat (limited to 'src/unexec.c')
| -rw-r--r-- | src/unexec.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/unexec.c b/src/unexec.c index a1f962bd606..e3381d6d6ae 100644 --- a/src/unexec.c +++ b/src/unexec.c | |||
| @@ -117,15 +117,6 @@ the bits that must be zero on such a boundary. | |||
| 117 | This macro can be used to generate statements to adjust or | 117 | This macro can be used to generate statements to adjust or |
| 118 | initialize nonstandard fields in the file header | 118 | initialize nonstandard fields in the file header |
| 119 | 119 | ||
| 120 | * ADDR_CORRECT(ADDR) | ||
| 121 | |||
| 122 | Macro to correct an int which is the bit pattern of a pointer to a byte | ||
| 123 | into an int which is the number of a byte. | ||
| 124 | |||
| 125 | This macro has a default definition which is usually right. | ||
| 126 | This default definition is a no-op on most machines (where a | ||
| 127 | pointer looks like an int) but not on all machines. | ||
| 128 | |||
| 129 | */ | 120 | */ |
| 130 | 121 | ||
| 131 | #ifndef emacs | 122 | #ifndef emacs |
| @@ -209,9 +200,7 @@ static int pagemask; | |||
| 209 | into an int which is the number of a byte. | 200 | into an int which is the number of a byte. |
| 210 | This is a no-op on ordinary machines, but not on all. */ | 201 | This is a no-op on ordinary machines, but not on all. */ |
| 211 | 202 | ||
| 212 | #ifndef ADDR_CORRECT /* Let m-*.h files override this definition */ | ||
| 213 | #define ADDR_CORRECT(x) ((char *)(x) - (char*)0) | 203 | #define ADDR_CORRECT(x) ((char *)(x) - (char*)0) |
| 214 | #endif | ||
| 215 | 204 | ||
| 216 | #ifdef emacs | 205 | #ifdef emacs |
| 217 | 206 | ||