Mercurial > emacs
diff src/s/gnu-linux.h @ 8633:ef773dd417ea
Add LINUX_QMAGIC conditional.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Fri, 26 Aug 1994 01:44:01 +0000 |
| parents | 04eeb3ed2828 |
| children | 191acacfa1ec |
line wrap: on
line diff
--- a/src/s/gnu-linux.h Fri Aug 26 00:45:03 1994 +0000 +++ b/src/s/gnu-linux.h Fri Aug 26 01:44:01 1994 +0000 @@ -240,11 +240,21 @@ #define HAVE_SYSVIPC +#ifdef LINUX_QMAGIC + +#define HAVE_TEXT_START +#define UNEXEC unexsunos4.o +#define N_PAGSIZ(x) PAGE_SIZE + +#else /* not LINUX_QMAGIC */ + #define A_TEXT_OFFSET(hdr) (N_MAGIC(hdr) == QMAGIC ? sizeof (struct exec) : 0) #define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr)) #define ADJUST_EXEC_HEADER \ unexec_text_start = N_TXTADDR(ohdr) + A_TEXT_OFFSET(ohdr) +#endif /* not LINUX_QMAGIC */ + #if 0 /* In 19.23 and 19.24, configure sometimes fails to define these. It has to do with the fact that configure uses CFLAGS when linking
