WCHAR_TYPE_SIZE): Define.
* config/svr3.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
WCHAR_TYPE_SIZE): Don't define.
* config.gcc (mcore-*-elf): Don't use svr4.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167658
138bc75d-0d04-0410-961f-
82ee72b054a4
2010-12-09 Joseph Myers <joseph@codesourcery.com>
+ * config/mcore/mcore.h (PTRDIFF_TYPE, WCHAR_TYPE,
+ WCHAR_TYPE_SIZE): Define.
+ * config/svr3.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
+ WCHAR_TYPE_SIZE): Don't define.
+ * config.gcc (mcore-*-elf): Don't use svr4.h.
+
+2010-12-09 Joseph Myers <joseph@codesourcery.com>
+
* config.gcc (m32r-*-elf*, m32rle-*-elf*, m32r-*-rtems*,
m32r-*-linux*, m32rle-*-linux*): Don't use svr4.h.
extra_parts="crtbegin.o crtend.o"
;;
mcore-*-elf)
- tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h ${tm_file} mcore/mcore-elf.h"
+ tm_file="dbxelf.h elfos.h newlib-stdint.h ${tm_file} mcore/mcore-elf.h"
tmake_file=mcore/t-mcore
inhibit_libc=true
;;
/* 'char' is signed by default. */
#define DEFAULT_SIGNED_CHAR 0
-/* The type of size_t unsigned int. */
+#undef SIZE_TYPE
#define SIZE_TYPE "unsigned int"
+#undef PTRDIFF_TYPE
+#define PTRDIFF_TYPE "int"
+
+#undef WCHAR_TYPE
+#define WCHAR_TYPE "long int"
+
+#undef WCHAR_TYPE_SIZE
+#define WCHAR_TYPE_SIZE BITS_PER_WORD
+
/* Max number of bytes we can move from memory to memory
in one reasonably fast instruction. */
#define MOVE_MAX 4
/* Operating system specific defines to be used when targeting GCC for
generic System V Release 3 system.
- Copyright (C) 1991, 1996, 2000, 2002, 2004, 2007 Free Software Foundation, Inc.
+ Copyright (C) 1991, 1996, 2000, 2002, 2004, 2007, 2010
+ Free Software Foundation, Inc.
Contributed by Ron Guilmette (rfg@monkeys.com).
This file is part of GCC.
#undef DBX_DEBUGGING_INFO
-/* Define the actual types of some ANSI-mandated types. These
- definitions should work for most SVR3 systems. */
-
-#undef SIZE_TYPE
-#define SIZE_TYPE "unsigned int"
-
-#undef PTRDIFF_TYPE
-#define PTRDIFF_TYPE "int"
-
-#undef WCHAR_TYPE
-#define WCHAR_TYPE "long int"
-
-#undef WCHAR_TYPE_SIZE
-#define WCHAR_TYPE_SIZE BITS_PER_WORD
-
/* The prefix to add to user-visible assembler symbols.
For System V Release 3 the convention is to prepend a leading