Commit e195f6e0 by Joseph Myers Committed by Joseph Myers

mep.h (SIZE_TYPE, [...]): Define.

	* config/mep/mep.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
	WCHAR_TYPE_SIZE): Define.
	* config.gcc (mep-*-*): Don't use svr4.h.

From-SVN: r167659
parent ed38428f
2010-12-09 Joseph Myers <joseph@codesourcery.com>
* config/mep/mep.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
WCHAR_TYPE_SIZE): Define.
* config.gcc (mep-*-*): Don't use svr4.h.
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,
......@@ -1762,7 +1762,7 @@ mcore-*-pe*)
use_gcc_stdint=wrap
;;
mep-*-*)
tm_file="dbxelf.h elfos.h svr4.h ${tm_file}"
tm_file="dbxelf.h elfos.h ${tm_file}"
tmake_file=mep/t-mep
extra_parts="crtbegin.o crtend.o"
c_target_objs="mep-pragma.o"
......
......@@ -202,6 +202,18 @@ crtbegin.o%s"
#define DOUBLE_TYPE_SIZE 64
#define LONG_DOUBLE_TYPE_SIZE 64
#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
/* Register numbers:
0..15 core registers
......
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