* 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
+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>
* config.gcc (ia64*-*-linux*, ia64*-*-hpux*): Don't use svr4.h.
extra_options="${extra_options} vms/vms.opt"
;;
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
out_file=iq2000/iq2000.c
md_file=iq2000/iq2000.md
#undef STARTFILE_SPEC
#undef ENDFILE_SPEC
+#undef LINK_SPEC
+#define LINK_SPEC "%{h*} %{v:-V} \
+ %{static:-Bstatic} %{shared:-shared} %{symbolic:-Bsymbolic}"
+
\f
/* Run-time target specifications. */
#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
+
\f
/* Register Basics. */