Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 8632:a049d06857ec | 8633:ef773dd417ea |
|---|---|
| 238 #define C_SWITCH_SYSTEM -D_BSD_SOURCE | 238 #define C_SWITCH_SYSTEM -D_BSD_SOURCE |
| 239 #endif | 239 #endif |
| 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) |
| 255 | |
| 256 #endif /* not LINUX_QMAGIC */ | |
| 247 | 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 |
| 251 while Makefile.in.in (erroneously) fails to do so when linking temacs. */ | 261 while Makefile.in.in (erroneously) fails to do so when linking temacs. */ |
