OSDN Git Service

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

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

gcc/ChangeLog
gcc/config.gcc
gcc/config/fr30/fr30.h

index 6f6c7f3..3c1f249 100644 (file)
@@ -1,5 +1,11 @@
 2010-12-09  Joseph Myers  <joseph@codesourcery.com>
 
+       * config/fr30/fr30.h (LIB_SPEC, LINK_SPEC, SIZE_TYPE,
+       PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
+       * config.gcc (fr30-*-elf): Don't use svr4.h.
+
+2010-12-09  Joseph Myers  <joseph@codesourcery.com>
+
        * config/cris/linux.h (SIZE_TYPE, PTRDIFF_TYPE): Define.
        * config.gcc (crisv32-*-linux* | cris-*-linux*): Don't use svr4.h.
 
index 24f1b81..12afb36 100644 (file)
@@ -961,7 +961,7 @@ crx-*-elf)
        use_collect2=no
        ;;
 fr30-*-elf)
-       tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h ${tm_file}"
+       tm_file="dbxelf.h elfos.h newlib-stdint.h ${tm_file}"
        tmake_file=fr30/t-fr30
        extra_parts="crti.o crtn.o crtbegin.o crtend.o"
        ;;
index 681f99b..1e9c33e 100644 (file)
@@ -51,6 +51,13 @@ along with GCC; see the file COPYING3.  If not see
 #undef  ENDFILE_SPEC
 #define ENDFILE_SPEC  "%{!mno-lsim:-lsim} crtend.o%s crtn.o%s"
 
+#undef  LIB_SPEC
+#define LIB_SPEC "-lc"
+
+#undef  LINK_SPEC
+#define LINK_SPEC "%{h*} %{v:-V} \
+                  %{static:-Bstatic} %{shared:-shared} %{symbolic:-Bsymbolic}"
+
 /*}}}*/ \f
 /*{{{  Storage Layout.  */ 
 
@@ -106,6 +113,18 @@ along with GCC; see the file COPYING3.  If not see
 
 #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.  */