OSDN Git Service

* config/iq2000/iq2000.h (LINK_SPEC, SIZE_TYPE, PTRDIFF_TYPE,
[pf3gnuchains/gcc-fork.git] / gcc / config / iq2000 / iq2000.h
index 68b700d..971a776 100644 (file)
 #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.  */