diff options
author | gerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-09-27 13:20:23 +0000 |
---|---|---|
committer | gerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-09-27 13:20:23 +0000 |
commit | 8e6600a15374f9446d5026e8ef6b68e0d753fb6c (patch) | |
tree | f0527ec4e131c2d0cf30d66b4903df0b659e292a /gcc/config/openbsd-stdint.h | |
parent | d5518ed987a5cdbf23d5c3d9294319f532f6678a (diff) | |
download | gcc-8e6600a15374f9446d5026e8ef6b68e0d753fb6c.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152218 138bc75d-0d04-0410-961f-82ee72b054a4
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 00000000000..de36455393c --- /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" |