diff options
author | Peter Wemm <peter@FreeBSD.org> | 1996-09-18 05:35:50 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1996-09-18 05:35:50 +0000 |
commit | a4cd5630b060871c42e59f7b95cf1e823c417db6 (patch) | |
tree | 5b7ea73fc49c8998d9dc87d3eeff5b96439e6856 /contrib/gcc/config/i386/xm-sco.h |
Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the
non-i386, non-unix, and generatable files have been trimmed, but can easily
be added in later if needed.
gcc-2.7.2.1 will follow shortly, it's a very small delta to this and it's
handy to have both available for reference for such little cost.
The freebsd-specific changes will then be committed, and once the dust has
settled, the bmakefiles will be committed to use this code.
Notes
Notes:
svn path=/vendor/gcc/dist/; revision=18334
Diffstat (limited to 'contrib/gcc/config/i386/xm-sco.h')
-rw-r--r-- | contrib/gcc/config/i386/xm-sco.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/gcc/config/i386/xm-sco.h b/contrib/gcc/config/i386/xm-sco.h new file mode 100644 index 000000000000..01a63d90e004 --- /dev/null +++ b/contrib/gcc/config/i386/xm-sco.h @@ -0,0 +1,22 @@ +/* Configuration for GCC for Intel i386 running SCO. */ + +#include "i386/xm-sysv3.h" + +/* On SCO 3.2.1, ldexp rejects values outside [0.5, 1). */ + +#define BROKEN_LDEXP + +/* Big buffers improve performance. */ + +#define IO_BUFFER_SIZE (0x8000 - 1024) + +/* SCO has a very small ARG_MAX. */ +#define SMALL_ARG_MAX + +#ifndef __GNUC__ +/* The SCO compiler gets it wrong, and treats enumerated bitfields + as signed quantities, making it impossible to use an 8-bit enum + for compiling GNU C++. */ +#define ONLY_INT_FIELDS 1 +#define CODE_FIELD_BUG 1 +#endif |