Commit 9cce57f7 by Joseph Myers Committed by Joseph Myers

rx.h (WCHAR_TYPE, [...]): Define.

	* config/rx/rx.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
	* config.gcc (rx-*-elf*): Don't use svr4.h.

From-SVN: r167851
parent dd8587d6
2010-12-15 Joseph Myers <joseph@codesourcery.com>
* config/rx/rx.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
* config.gcc (rx-*-elf*): Don't use svr4.h.
2010-12-14 Sebastian Pop <sebastian.pop@amd.com>
PR tree-optimization/46845
......@@ -2230,7 +2230,7 @@ rs6000-ibm-aix[6789].* | powerpc-ibm-aix[6789].*)
extra_headers=altivec.h
;;
rx-*-elf*)
tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h ${tm_file} ../../libgcc/config/rx/rx-abi.h"
tm_file="dbxelf.h elfos.h newlib-stdint.h ${tm_file} ../../libgcc/config/rx/rx-abi.h"
tmake_file="${tmake_file} rx/t-rx"
;;
s390-*-linux*)
......
......@@ -137,6 +137,10 @@ extern enum rx_cpu_types rx_cpu_type;
#define SIZE_TYPE "long unsigned int"
#undef PTRDIFF_TYPE
#define PTRDIFF_TYPE "long int"
#undef WCHAR_TYPE
#define WCHAR_TYPE "long int"
#undef WCHAR_TYPE_SIZE
#define WCHAR_TYPE_SIZE BITS_PER_WORD
#define POINTERS_EXTEND_UNSIGNED 1
#define FUNCTION_MODE QImode
#define CASE_VECTOR_MODE Pmode
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment