OSDN Git Service

* config/iq2000/iq2000.h (LINK_SPEC, SIZE_TYPE, PTRDIFF_TYPE,
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Dec 2010 17:24:41 +0000 (17:24 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Dec 2010 17:24:41 +0000 (17:24 +0000)
WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
* config.gcc (iq2000*-*-elf*): Don't use svr4.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167656 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config.gcc
gcc/config/iq2000/iq2000.h

index 3fe7bdf..8373827 100644 (file)
@@ -1,5 +1,11 @@
 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.
 
 2010-12-09  Joseph Myers  <joseph@codesourcery.com>
index 731e72e..bd4c272 100644 (file)
@@ -1592,7 +1592,7 @@ ia64-hp-*vms*)
        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
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.  */