summaryrefslogtreecommitdiff
path: root/gcc/config/frv/frv.h
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-09 17:20:25 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-09 17:20:25 +0000
commitb1319ddf165cf6aff740b51005baf13a2cef5821 (patch)
treef142ad20017353d6e0dca7d94bce0933b1aa3acc /gcc/config/frv/frv.h
parentecf20f5373823c45de83ad2a75e80345245f3a7f (diff)
downloadgcc-b1319ddf165cf6aff740b51005baf13a2cef5821.tar.gz
* config/frv/frv.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
WCHAR_TYPE_SIZE): Define. * config.gcc (frv-*-elf, frv-*-*linux*): Don't use svr4.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167652 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/frv/frv.h')
-rw-r--r--gcc/config/frv/frv.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/config/frv/frv.h b/gcc/config/frv/frv.h
index 1b97ae72477..15467f2b864 100644
--- a/gcc/config/frv/frv.h
+++ b/gcc/config/frv/frv.h
@@ -508,6 +508,18 @@
default with the options `-fsigned-char' and `-funsigned-char'. */
#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
+
/* General purpose registers. */
#define GPR_FIRST 0 /* First gpr */