diff options
| author | Richard M. Stallman | 1994-08-26 01:44:01 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-08-26 01:44:01 +0000 |
| commit | 8427dec96b1d72027a72983f780d852dfbb8deb6 (patch) | |
| tree | e63555511a0f5f778f08ac2dcb0b959868def257 /src | |
| parent | 1e2d9c6d1a129188b94bb50b8cdd99c745ebad06 (diff) | |
| download | emacs-8427dec96b1d72027a72983f780d852dfbb8deb6.tar.gz emacs-8427dec96b1d72027a72983f780d852dfbb8deb6.zip | |
Add LINUX_QMAGIC conditional.
Diffstat (limited to 'src')
| -rw-r--r-- | src/s/gnu-linux.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h index 6dfc6c724fa..aff40d68446 100644 --- a/src/s/gnu-linux.h +++ b/src/s/gnu-linux.h | |||
| @@ -240,11 +240,21 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 240 | 240 | ||
| 241 | #define HAVE_SYSVIPC | 241 | #define HAVE_SYSVIPC |
| 242 | 242 | ||
| 243 | #ifdef LINUX_QMAGIC | ||
| 244 | |||
| 245 | #define HAVE_TEXT_START | ||
| 246 | #define UNEXEC unexsunos4.o | ||
| 247 | #define N_PAGSIZ(x) PAGE_SIZE | ||
| 248 | |||
| 249 | #else /* not LINUX_QMAGIC */ | ||
| 250 | |||
| 243 | #define A_TEXT_OFFSET(hdr) (N_MAGIC(hdr) == QMAGIC ? sizeof (struct exec) : 0) | 251 | #define A_TEXT_OFFSET(hdr) (N_MAGIC(hdr) == QMAGIC ? sizeof (struct exec) : 0) |
| 244 | #define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr)) | 252 | #define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr)) |
| 245 | #define ADJUST_EXEC_HEADER \ | 253 | #define ADJUST_EXEC_HEADER \ |
| 246 | unexec_text_start = N_TXTADDR(ohdr) + A_TEXT_OFFSET(ohdr) | 254 | unexec_text_start = N_TXTADDR(ohdr) + A_TEXT_OFFSET(ohdr) |
| 247 | 255 | ||
| 256 | #endif /* not LINUX_QMAGIC */ | ||
| 257 | |||
| 248 | #if 0 | 258 | #if 0 |
| 249 | /* In 19.23 and 19.24, configure sometimes fails to define these. | 259 | /* In 19.23 and 19.24, configure sometimes fails to define these. |
| 250 | It has to do with the fact that configure uses CFLAGS when linking | 260 | It has to do with the fact that configure uses CFLAGS when linking |