aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/v850
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2010-12-13 11:28:19 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2010-12-13 11:28:19 +0000
commitfcbf5a00f891042fffff3bfbfb2e5275bf4b74f5 (patch)
treee091ee2e1ddcac9347de4f92a1256189855992d3 /gcc/config/v850
parent0a3c149d3d7a6710f75d9ebb93e8a68bc1dddd2b (diff)
downloadgcc-fcbf5a00f891042fffff3bfbfb2e5275bf4b74f5.zip
gcc-fcbf5a00f891042fffff3bfbfb2e5275bf4b74f5.tar.gz
gcc-fcbf5a00f891042fffff3bfbfb2e5275bf4b74f5.tar.bz2
v850.h (SIZE_TYPE, [...]): Define.
* config/v850/v850.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Define. * config.gcc (v850e1-*-*, v850e-*-*, v850-*-*): Don't use svr4.h. From-SVN: r167746
Diffstat (limited to 'gcc/config/v850')
-rw-r--r--gcc/config/v850/v850.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/config/v850/v850.h b/gcc/config/v850/v850.h
index c9bd7b2..c34ee88 100644
--- a/gcc/config/v850/v850.h
+++ b/gcc/config/v850/v850.h
@@ -198,6 +198,18 @@ extern struct small_memory_info small_memory[(int)SMALL_MEMORY_max];
On the NEC V850, loads do sign extension, so make this default. */
#define DEFAULT_SIGNED_CHAR 1
+
+#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
/* Standard register usage. */