From aa58f943d88dfcb1d0d7609b62079269e318cf1d Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Sun, 27 Sep 2009 13:20:23 +0000 Subject: 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 --- gcc/config/openbsd-stdint.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 gcc/config/openbsd-stdint.h (limited to 'gcc/config/openbsd-stdint.h') 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" -- cgit v1.1