diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2006-01-13 17:51:19 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2006-01-13 17:51:19 +0000 |
commit | 925593532192600b56dd2ae974635aaf735d3f1c (patch) | |
tree | ef74f2516f5dfe401e2b241ac083cd271c349fd5 /gnu/usr.bin/gcc | |
parent | 03c6e34031dca0e5942b1c2a8afadd4b0326194e (diff) |
Adapt to the machine/_types.h changes; size_t and ptrdiff_t are now
defined in terms of long, not int on all architectures.
Diffstat (limited to 'gnu/usr.bin/gcc')
-rw-r--r-- | gnu/usr.bin/gcc/gcc/config/alpha/openbsd.h | 2 | ||||
-rw-r--r-- | gnu/usr.bin/gcc/gcc/config/arm/openbsd.h | 6 | ||||
-rw-r--r-- | gnu/usr.bin/gcc/gcc/config/i386/openbsd.h | 6 | ||||
-rw-r--r-- | gnu/usr.bin/gcc/gcc/config/i386/openbsd64.h | 2 | ||||
-rw-r--r-- | gnu/usr.bin/gcc/gcc/config/i386/openbsdelf.h | 6 | ||||
-rw-r--r-- | gnu/usr.bin/gcc/gcc/config/m68k/openbsd.h | 6 | ||||
-rw-r--r-- | gnu/usr.bin/gcc/gcc/config/m88k/openbsd.h | 6 | ||||
-rw-r--r-- | gnu/usr.bin/gcc/gcc/config/pa/openbsd.h | 6 | ||||
-rw-r--r-- | gnu/usr.bin/gcc/gcc/config/rs6000/openbsd.h | 8 | ||||
-rw-r--r-- | gnu/usr.bin/gcc/gcc/config/sparc/openbsd.h | 6 | ||||
-rw-r--r-- | gnu/usr.bin/gcc/gcc/config/vax/openbsd.h | 6 |
11 files changed, 33 insertions, 27 deletions
diff --git a/gnu/usr.bin/gcc/gcc/config/alpha/openbsd.h b/gnu/usr.bin/gcc/gcc/config/alpha/openbsd.h index e001abecdb2..7f4a3e6b1ee 100644 --- a/gnu/usr.bin/gcc/gcc/config/alpha/openbsd.h +++ b/gnu/usr.bin/gcc/gcc/config/alpha/openbsd.h @@ -50,7 +50,7 @@ Boston, MA 02111-1307, USA. */ /* Layout of source language data types. */ -/* This must agree with <machine/ansi.h> */ +/* This must agree with <machine/_types.h> */ #undef SIZE_TYPE #define SIZE_TYPE "long unsigned int" diff --git a/gnu/usr.bin/gcc/gcc/config/arm/openbsd.h b/gnu/usr.bin/gcc/gcc/config/arm/openbsd.h index adabc9189ff..4517cd44304 100644 --- a/gnu/usr.bin/gcc/gcc/config/arm/openbsd.h +++ b/gnu/usr.bin/gcc/gcc/config/arm/openbsd.h @@ -119,13 +119,13 @@ Boston, MA 02111-1307, USA. */ "-X %{mbig-endian:-EB} %{mlittle-endian:-EL} \ %(openbsd_link_spec)" -/* Make GCC agree with <machine/ansi.h>. */ +/* Make GCC agree with <machine/_types.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" diff --git a/gnu/usr.bin/gcc/gcc/config/i386/openbsd.h b/gnu/usr.bin/gcc/gcc/config/i386/openbsd.h index f2f0f424f95..f4ad2aebc12 100644 --- a/gnu/usr.bin/gcc/gcc/config/i386/openbsd.h +++ b/gnu/usr.bin/gcc/gcc/config/i386/openbsd.h @@ -35,12 +35,12 @@ Boston, MA 02111-1307, USA. */ /* Layout of source language data types. */ -/* This must agree with <machine/ansi.h> */ +/* This must agree with <machine/_types.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" diff --git a/gnu/usr.bin/gcc/gcc/config/i386/openbsd64.h b/gnu/usr.bin/gcc/gcc/config/i386/openbsd64.h index 97214c3c399..abd62084f45 100644 --- a/gnu/usr.bin/gcc/gcc/config/i386/openbsd64.h +++ b/gnu/usr.bin/gcc/gcc/config/i386/openbsd64.h @@ -51,7 +51,7 @@ Boston, MA 02111-1307, USA. */ /* Layout of source language data types. */ -/* This must agree with <machine/ansi.h> */ +/* This must agree with <machine/_types.h> */ #undef SIZE_TYPE #define SIZE_TYPE "long unsigned int" diff --git a/gnu/usr.bin/gcc/gcc/config/i386/openbsdelf.h b/gnu/usr.bin/gcc/gcc/config/i386/openbsdelf.h index 751b5b85d87..d66baa58dcc 100644 --- a/gnu/usr.bin/gcc/gcc/config/i386/openbsdelf.h +++ b/gnu/usr.bin/gcc/gcc/config/i386/openbsdelf.h @@ -54,12 +54,12 @@ Boston, MA 02111-1307, USA. */ /* Layout of source language data types. */ -/* This must agree with <machine/ansi.h> */ +/* This must agree with <machine/_types.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" diff --git a/gnu/usr.bin/gcc/gcc/config/m68k/openbsd.h b/gnu/usr.bin/gcc/gcc/config/m68k/openbsd.h index 0a5038c4dc7..aabdce46e55 100644 --- a/gnu/usr.bin/gcc/gcc/config/m68k/openbsd.h +++ b/gnu/usr.bin/gcc/gcc/config/m68k/openbsd.h @@ -42,12 +42,12 @@ Boston, MA 02111-1307, USA. */ /* Layout of source language data types. */ -/* This must agree with <machine/ansi.h> */ +/* This must agree with <machine/_types.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" diff --git a/gnu/usr.bin/gcc/gcc/config/m88k/openbsd.h b/gnu/usr.bin/gcc/gcc/config/m88k/openbsd.h index 56891e8f083..d688e2c8dac 100644 --- a/gnu/usr.bin/gcc/gcc/config/m88k/openbsd.h +++ b/gnu/usr.bin/gcc/gcc/config/m88k/openbsd.h @@ -39,12 +39,12 @@ Boston, MA 02111-1307, USA. */ /* Layout of source language data types. */ -/* This must agree with <machine/ansi.h> */ +/* This must agree with <machine/_types.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" diff --git a/gnu/usr.bin/gcc/gcc/config/pa/openbsd.h b/gnu/usr.bin/gcc/gcc/config/pa/openbsd.h index 6c26e8872d1..5741fb91ec8 100644 --- a/gnu/usr.bin/gcc/gcc/config/pa/openbsd.h +++ b/gnu/usr.bin/gcc/gcc/config/pa/openbsd.h @@ -59,12 +59,12 @@ Boston, MA 02111-1307, USA. */ /* Layout of source language data types. */ -/* This must agree with <machine/ansi.h> */ +/* This must agree with <machine/_types.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" diff --git a/gnu/usr.bin/gcc/gcc/config/rs6000/openbsd.h b/gnu/usr.bin/gcc/gcc/config/rs6000/openbsd.h index a82d47885fa..17cb85e46bd 100644 --- a/gnu/usr.bin/gcc/gcc/config/rs6000/openbsd.h +++ b/gnu/usr.bin/gcc/gcc/config/rs6000/openbsd.h @@ -114,7 +114,13 @@ Boston, MA 02111-1307, USA. */ /* Some code gets optimized incorrectly by move_movables() in loop.c */ #define BROKEN_MOVE_MOVABLES_P -/* some stuff that must agree with ansi.h */ +/* This must agree with <machine/_types.h> */ +#undef SIZE_TYPE +#define SIZE_TYPE "long unsigned int" + +#undef PTRDIFF_TYPE +#define PTRDIFF_TYPE "long int" + #undef WCHAR_TYPE #define WCHAR_TYPE "int" diff --git a/gnu/usr.bin/gcc/gcc/config/sparc/openbsd.h b/gnu/usr.bin/gcc/gcc/config/sparc/openbsd.h index 8a83087d8a1..e5ed7fcee43 100644 --- a/gnu/usr.bin/gcc/gcc/config/sparc/openbsd.h +++ b/gnu/usr.bin/gcc/gcc/config/sparc/openbsd.h @@ -33,12 +33,12 @@ Boston, MA 02111-1307, USA. */ /* Layout of source language data types */ -/* This must agree with <machine/ansi.h> */ +/* This must agree with <machine/_types.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" diff --git a/gnu/usr.bin/gcc/gcc/config/vax/openbsd.h b/gnu/usr.bin/gcc/gcc/config/vax/openbsd.h index bc3af245d86..4ec250b1c05 100644 --- a/gnu/usr.bin/gcc/gcc/config/vax/openbsd.h +++ b/gnu/usr.bin/gcc/gcc/config/vax/openbsd.h @@ -32,12 +32,12 @@ Boston, MA 02111-1307, USA. */ /* Layout of source language data types. */ -/* This must agree with <machine/ansi.h> */ +/* This must agree with <machine/_types.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" |