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/mips | |
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/mips')
-rw-r--r-- | gcc/config/mips/openbsd.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/config/mips/openbsd.h b/gcc/config/mips/openbsd.h index d561c65..2cf7fbc 100644 --- a/gcc/config/mips/openbsd.h +++ b/gcc/config/mips/openbsd.h @@ -57,10 +57,10 @@ along with GCC; see the file COPYING3. If not see /* This must agree with <machine/ansi.h>. */ #undef SIZE_TYPE -#define SIZE_TYPE "unsigned int" +#define SIZE_TYPE "long unsigned int" #undef PTRDIFF_TYPE -#define PTRDIFF_TYPE "int" +#define PTRDIFF_TYPE "long int" #undef WCHAR_TYPE #define WCHAR_TYPE "int" @@ -68,6 +68,9 @@ along with GCC; see the file COPYING3. If not see #undef WCHAR_TYPE_SIZE #define WCHAR_TYPE_SIZE 32 +#undef WINT_TYPE +#define WINT_TYPE "int" + /* Controlling the compilation driver. */ /* LINK_SPEC appropriate for OpenBSD: support for GCC options |