1 |
/* Machine description file for Acorn RISCiX machines. |
/* Machine description file for Acorn RISCiX machines. |
2 |
Copyright (C) 1994 Free Software Foundation, Inc. |
Copyright (C) 1994, 2002 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Emacs. |
This file is part of GNU Emacs. |
5 |
|
|
119 |
|
|
120 |
#define ADJUST_EXEC_HEADER {hdr.a_magic &= ~MF_SQUEEZED;} |
#define ADJUST_EXEC_HEADER {hdr.a_magic &= ~MF_SQUEEZED;} |
121 |
|
|
|
/* Define C_ALLOCA if this machine does not support a true alloca |
|
|
and the one written in C should be used instead. |
|
|
Define HAVE_ALLOCA to say that the system provides a properly |
|
|
working alloca function and it should be used. |
|
|
Define neither one if an assembler-language alloca |
|
|
in the file alloca.s should be used. */ |
|
|
|
|
122 |
#ifdef __GNUC__ |
#ifdef __GNUC__ |
123 |
|
|
|
/* Use builtin alloca. Also be sure that no other ones are tried out. */ |
|
|
#define alloca __builtin_alloca |
|
|
#define HAVE_ALLOCA |
|
|
|
|
124 |
/* Keep gcc/RISCiX happy - it uses __gccmain where other versions of |
/* Keep gcc/RISCiX happy - it uses __gccmain where other versions of |
125 |
gcc use __main, because of a library routine name clash. */ |
gcc use __main, because of a library routine name clash. */ |
126 |
#define __main __gccmain |
#define __main __gccmain |
127 |
|
|
|
#else |
|
|
#define C_ALLOCA |
|
|
#undef HAVE_ALLOCA |
|
128 |
#endif /* __GNUC__ */ |
#endif /* __GNUC__ */ |
129 |
|
|
130 |
/* Define NO_REMAP if memory segmentation makes it not work well |
/* Define NO_REMAP if memory segmentation makes it not work well |
170 |
/* Use <dirent.h>. */ |
/* Use <dirent.h>. */ |
171 |
#define SYSV_SYSTEM_DIR |
#define SYSV_SYSTEM_DIR |
172 |
|
|
|
/* For the portable alloca */ |
|
|
#define STACK_DIRECTION -1 |
|
|
|
|
173 |
#ifdef NO_REMAP |
#ifdef NO_REMAP |
174 |
/* CRT0_O is defined in s/riscix1-1.h or s/riscix1-2.h, as appropriate. */ |
/* CRT0_O is defined in s/riscix1-1.h or s/riscix1-2.h, as appropriate. */ |
175 |
#define START_FILES pre-crt0.o CRT0_O |
#define START_FILES pre-crt0.o CRT0_O |