summaryrefslogtreecommitdiff
path: root/gcc/config/fr30
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-09 17:19:22 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-09 17:19:22 +0000
commitecf20f5373823c45de83ad2a75e80345245f3a7f (patch)
tree091885bbce583dede91851cf7363f0e257bafc4a /gcc/config/fr30
parentf511a20bf9ab00efcd7b9433a9d83098a07a7fe2 (diff)
downloadgcc-ecf20f5373823c45de83ad2a75e80345245f3a7f.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167651 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/fr30')
-rw-r--r--gcc/config/fr30/fr30.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/gcc/config/fr30/fr30.h b/gcc/config/fr30/fr30.h
index 681f99ba41e..1e9c33e5ce6 100644
--- a/gcc/config/fr30/fr30.h
+++ b/gcc/config/fr30/fr30.h
@@ -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}"
+
/*}}}*/
/*{{{ 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
+
/*}}}*/
/*{{{ REGISTER BASICS. */