(latexenc-find-file-coding-system): Don't inherit the EOL part of the
[emacs.git] / src / m / ia64.h
blob947bb9d4562a3e0f614f6bac649528daf41f1603
1 /* machine description file for the IA-64 architecture.
2 Copyright (C) 2000, 2002, 2003 Free Software Foundation, Inc.
3 Contributed by David Mosberger <davidm@hpl.hp.com>
5 This file is part of GNU Emacs.
7 GNU Emacs is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
10 any later version.
12 GNU Emacs is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with GNU Emacs; see the file COPYING. If not, write to
19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA. */
22 #define BITS_PER_LONG 64
23 #define BITS_PER_EMACS_INT 64
25 /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word
26 is the most significant byte. */
28 #undef WORDS_BIG_ENDIAN
30 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a
31 group of arguments and treat it as an array of the arguments. */
33 #define NO_ARG_ARRAY
35 /* Define WORD_MACHINE if addresses and such have
36 to be corrected before they can be used as byte counts. */
38 /* #define WORD_MACHINE */
40 /* Now define a symbol for the cpu type, if your compiler
41 does not define it automatically:
42 Ones defined so far include vax, m68000, ns16000, pyramid,
43 orion, tahoe, APOLLO and many others */
45 /* __ia64__ defined automatically */
48 /* Use type EMACS_INT rather than a union, to represent Lisp_Object */
49 /* This is desirable for most machines. */
51 #define NO_UNION_TYPE
53 /* Define the type to use. */
54 #define EMACS_INT long
55 #define EMACS_UINT unsigned long
56 #define SPECIAL_EMACS_INT
58 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
59 the 24-bit bit field into an int. In other words, if bit fields
60 are always unsigned.
62 If you use NO_UNION_TYPE, this flag does not matter. */
64 #define EXPLICIT_SIGN_EXTEND
66 /* Data type of load average, as read out of kmem. */
68 #define LOAD_AVE_TYPE long
70 /* Convert that into an integer that is 100 for a load average of 1.0 */
72 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
74 /* Define CANNOT_DUMP on machines where unexec does not work.
75 Then the function dump-emacs will not be defined
76 and temacs will do (load "loadup") automatically unless told otherwise. */
77 #if 0
78 #define CANNOT_DUMP
79 #endif
81 /* Define VIRT_ADDR_VARIES if the virtual addresses of
82 pure and impure space as loaded can vary, and even their
83 relative order cannot be relied on.
85 Otherwise Emacs assumes that text space precedes data space,
86 numerically. */
88 /* #define VIRT_ADDR_VARIES */
90 /* Define the following if GNU malloc and the relocating allocator do
91 not work together with X. */
93 /* #define SYSTEM_MALLOC */
95 /* Define NO_REMAP if memory segmentation makes it not work well
96 to change the boundary between the text section and data section
97 when Emacs is dumped. If you define this, the preloaded Lisp
98 code will not be sharable; but that's better than failing completely. */
100 /* #define NO_REMAP */
102 /* Some really obscure 4.2-based systems (like Sequent DYNIX) do not
103 support asynchronous I/O (using SIGIO) on sockets, even though it
104 works fine on tty's. If you have one of these systems, define the
105 following, and then use it in config.h (or elsewhere) to decide
106 when (not) to use SIGIO.
108 You'd think this would go in an operating-system description file,
109 but since it only occurs on some, but not all, BSD systems, the
110 reasonable place to select for it is in the machine description
111 file. */
113 /* #define NO_SOCK_SIGIO */
115 #ifdef __ELF__
116 #undef UNEXEC
117 #define UNEXEC unexelf.o
118 #endif
120 #define PNTR_COMPARISON_TYPE unsigned long
122 #ifndef NOT_C_CODE
124 #ifdef REL_ALLOC
125 #ifndef _MALLOC_INTERNAL
126 /* "char *" because ralloc.c defines it that way. gmalloc.c thinks it
127 is allowed to prototype these as "void *" so we don't prototype in
128 that case. You're right: it stinks! */
129 extern char *r_alloc (), *r_re_alloc ();
130 extern void r_alloc_free ();
131 #endif /* not _MALLOC_INTERNAL */
132 #endif /* REL_ALLOC */
134 #endif /* not NOT_C_CODE */
136 #define HAVE_TEXT_START
138 /* arch-tag: 9b8e9fb2-2e49-4c22-b68f-11a488e77c66
139 (do not change this comment) */