diff options
author | Jonathan Gray <jsg@openbsd.org> | 2009-09-27 13:20:23 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@gcc.gnu.org> | 2009-09-27 13:20:23 +0000 |
commit | aa58f943d88dfcb1d0d7609b62079269e318cf1d (patch) | |
tree | f0527ec4e131c2d0cf30d66b4903df0b659e292a /gcc/config/openbsd-stdint.h | |
parent | ffaf6f258a248a8c90267455c0e681ac1fb5345c (diff) | |
download | gcc-aa58f943d88dfcb1d0d7609b62079269e318cf1d.zip gcc-aa58f943d88dfcb1d0d7609b62079269e318cf1d.tar.gz gcc-aa58f943d88dfcb1d0d7609b62079269e318cf1d.tar.bz2 |
config.gcc: Update OpenBSD targets.
* config.gcc: Update OpenBSD targets.
* config/openbsd-stdint.h: New file.
* config/openbsd-libpthread.h: New file.
* config/openbsd.h: Update and break out LIB_SPEC definition.
* config/alpha/openbsd.h: Overhaul to reflect ELF migration.
* config/i386/openbsdelf.h: Correct types.
* config/m68k/openbsd.h: Likewise.
* config/mips/openbsd.h: Likewise.
* config/vax/openbsd.h: Likewise.
From-SVN: r152218
Diffstat (limited to 'gcc/config/openbsd-stdint.h')
-rw-r--r-- | gcc/config/openbsd-stdint.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gcc/config/openbsd-stdint.h b/gcc/config/openbsd-stdint.h new file mode 100644 index 0000000..de36455 --- /dev/null +++ b/gcc/config/openbsd-stdint.h @@ -0,0 +1,31 @@ +#define SIG_ATOMIC_TYPE "int" + +#define INT8_TYPE "signed char" +#define INT16_TYPE "short int" +#define INT32_TYPE "int" +#define INT64_TYPE "long long int" +#define UINT8_TYPE "unsigned char" +#define UINT16_TYPE "unsigned short int" +#define UINT32_TYPE "unsigned int" +#define UINT64_TYPE "unsigned long long int" + +#define INT_LEAST8_TYPE "signed char" +#define INT_LEAST16_TYPE "short int" +#define INT_LEAST32_TYPE "int" +#define INT_LEAST64_TYPE "long long int" +#define UINT_LEAST8_TYPE "unsigned char" +#define UINT_LEAST16_TYPE "unsigned short int" +#define UINT_LEAST32_TYPE "unsigned int" +#define UINT_LEAST64_TYPE "unsigned long long int" + +#define INT_FAST8_TYPE "int" +#define INT_FAST16_TYPE "int" +#define INT_FAST32_TYPE "int" +#define INT_FAST64_TYPE "long long int" +#define UINT_FAST8_TYPE "unsigned int" +#define UINT_FAST16_TYPE "unsigned int" +#define UINT_FAST32_TYPE "unsigned int" +#define UINT_FAST64_TYPE "unsigned long long int" + +#define INTPTR_TYPE "long int" +#define UINTPTR_TYPE "unsigned long int" |