Changeset 1725

Show
Ignore:
Timestamp:
02/17/98 01:45:22 (11 years ago)
Author:
himi
Message:

FSF GNU Emacs 20.3 98/8/21 Release.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/GNU/src/m/alpha.h

    r1715 r1725  
    11/* machine description file For the alpha chip. 
    2    Copyright (C) 1994, 1997, 1999 Free Software Foundation, Inc. 
     2   Copyright (C) 1994, 1997 Free Software Foundation, Inc. 
    33 
    44This file is part of GNU Emacs. 
     
    3232#define BITS_PER_LONG 64 
    3333#define BITS_PER_EMACS_INT 64 
    34 #ifndef _LP64 
    35 #define _LP64                   /* This doesn't appear to be necessary 
    36                                    on OSF 4/5  -- fx.  */ 
    37 #endif 
    3834 
    3935/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word 
     
    4642 
    4743#define NO_ARG_ARRAY 
     44 
     45/* Define WORD_MACHINE if addresses and such have 
     46 * to be corrected before they can be used as byte counts.  */ 
     47 
     48/* #define WORD_MACHINE */ 
    4849 
    4950/* Now define a symbol for the cpu type, if your compiler 
     
    8081 
    8182#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) 
     83 
     84/* Define CANNOT_DUMP on machines where unexec does not work. 
     85   Then the function dump-emacs will not be defined 
     86   and temacs will do (load "loadup") automatically unless told otherwise.  */ 
     87 
     88/* #define CANNOT_DUMP */ 
     89 
     90/* Define VIRT_ADDR_VARIES if the virtual addresses of 
     91   pure and impure space as loaded can vary, and even their 
     92   relative order cannot be relied on. 
     93 
     94   Otherwise Emacs assumes that text space precedes data space, 
     95   numerically.  */ 
     96 
     97/* #define VIRT_ADDR_VARIES */ 
    8298 
    8399/* Define C_ALLOCA if this machine does not support a true alloca 
     
    102118 
    103119/* #define SYSTEM_MALLOC */ 
     120 
     121/* Define NO_REMAP if memory segmentation makes it not work well 
     122   to change the boundary between the text section and data section 
     123   when Emacs is dumped.  If you define this, the preloaded Lisp 
     124   code will not be sharable; but that's better than failing completely.  */ 
     125 
     126#define NO_REMAP 
     127 
     128/* Some really obscure 4.2-based systems (like Sequent DYNIX) 
     129 * do not support asynchronous I/O (using SIGIO) on sockets, 
     130 * even though it works fine on tty's.  If you have one of 
     131 * these systems, define the following, and then use it in 
     132 * config.h (or elsewhere) to decide when (not) to use SIGIO. 
     133 * 
     134 * You'd think this would go in an operating-system description file, 
     135 * but since it only occurs on some, but not all, BSD systems, the 
     136 * reasonable place to select for it is in the machine description 
     137 * file. 
     138 */ 
     139 
     140/* #define NO_SOCK_SIGIO */ 
     141 
    104142 
    105143#ifdef __ELF__ 
     
    116154#endif 
    117155 
    118 #if defined(__OpenBSD__) 
     156#if defined(__NetBSD__) || defined(__OpenBSD__) 
    119157#define ORDINARY_LINK 
    120158#endif 
     
    197235#define XPNTR(a) XUINT (a) 
    198236 
     237/* Declare malloc and realloc in a way that is clean. 
     238   But not in makefiles!  */ 
     239 
    199240#ifndef NOT_C_CODE 
    200241/* We need these because pointers are larger than the default ints.  */ 
    201242#if !defined(__NetBSD__) && !defined(__OpenBSD__) 
    202243#include <alloca.h> 
    203 #endif 
     244#else 
     245#include <stdlib.h> 
     246#endif 
     247 
     248/* Hack alert!  For reasons unknown to mankind the string.h file insists 
     249   on defining bcopy etc. as taking char pointers as arguments.  With 
     250   Emacs this produces an endless amount of warning which are harmless, 
     251   but tends to flood the real errors.  This hack works around this problem 
     252   by not prototyping.  */ 
     253#define bcopy string_h_bcopy 
     254#define bzero string_h_bzero 
     255#define bcmp  string_h_bcmp 
     256#include <string.h> 
     257#undef bcopy 
     258#undef bzero 
     259#undef bcmp 
     260 
     261/* We need to prototype these for the lib-src programs even if we don't 
     262   use the system malloc for the Emacs proper.  */ 
     263#ifdef _MALLOC_INTERNAL 
     264/* These declarations are designed to match the ones in gmalloc.c.  */ 
     265#if defined (__STDC__) && __STDC__ 
     266extern void *malloc (), *realloc (), *calloc (); 
     267#else 
     268extern char *malloc (), *realloc (), *calloc (); 
     269#endif 
     270#else /* not _MALLOC_INTERNAL */ 
     271extern void *malloc (), *realloc (), *calloc (); 
     272#endif /* not _MALLOC_INTERNAL */ 
     273 
     274 
     275extern long *xmalloc (), *xrealloc (); 
     276 
     277#ifdef REL_ALLOC 
     278#ifndef _MALLOC_INTERNAL 
     279/* "char *" because ralloc.c defines it that way.  gmalloc.c thinks it 
     280   is allowed to prototype these as "void *" so we don't prototype in 
     281   that case.  You're right: it stinks!  */ 
     282extern char *r_alloc (), *r_re_alloc (); 
     283extern void r_alloc_free (); 
     284#endif /* not _MALLOC_INTERNAL */ 
     285#endif /* REL_ALLOC */ 
    204286 
    205287#endif /* not NOT_C_CODE */ 
     
    218300        fd = -1;                                        \ 
    219301      sigsetmask (mask);                                \ 
    220       emacs_close (dummy);                            \ 
     302      close (dummy);                                  \ 
    221303    }                                                   \ 
    222304  while (0)