iq2000.h (LINK_SPEC, [...]): Define.

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

From-SVN: r167656
This commit is contained in:
Joseph Myers 2010-12-09 17:24:41 +00:00 committed by Joseph Myers
parent 2337b6b7c1
commit 248a9e94da
3 changed files with 23 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2010-12-09 Joseph Myers <joseph@codesourcery.com>
* config/iq2000/iq2000.h (LINK_SPEC, SIZE_TYPE, PTRDIFF_TYPE,
WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
* config.gcc (iq2000*-*-elf*): Don't use svr4.h.
2010-12-09 Joseph Myers <joseph@codesourcery.com> 2010-12-09 Joseph Myers <joseph@codesourcery.com>
* config.gcc (ia64*-*-linux*, ia64*-*-hpux*): Don't use svr4.h. * config.gcc (ia64*-*-linux*, ia64*-*-hpux*): Don't use svr4.h.

View File

@ -1592,7 +1592,7 @@ ia64-hp-*vms*)
extra_options="${extra_options} vms/vms.opt" extra_options="${extra_options} vms/vms.opt"
;; ;;
iq2000*-*-elf*) iq2000*-*-elf*)
tm_file="svr4.h elfos.h newlib-stdint.h iq2000/iq2000.h" tm_file="elfos.h newlib-stdint.h iq2000/iq2000.h"
tmake_file=iq2000/t-iq2000 tmake_file=iq2000/t-iq2000
out_file=iq2000/iq2000.c out_file=iq2000/iq2000.c
md_file=iq2000/iq2000.md md_file=iq2000/iq2000.md

View File

@ -28,6 +28,10 @@
#undef STARTFILE_SPEC #undef STARTFILE_SPEC
#undef ENDFILE_SPEC #undef ENDFILE_SPEC
#undef LINK_SPEC
#define LINK_SPEC "%{h*} %{v:-V} \
%{static:-Bstatic} %{shared:-shared} %{symbolic:-Bsymbolic}"
/* Run-time target specifications. */ /* Run-time target specifications. */
@ -133,6 +137,18 @@
#define LONG_DOUBLE_TYPE_SIZE 64 #define LONG_DOUBLE_TYPE_SIZE 64
#define DEFAULT_SIGNED_CHAR 1 #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 Basics. */ /* Register Basics. */