summaryrefslogtreecommitdiff
path: root/gcc/config/stormy16
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-15 12:55:45 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-15 12:55:45 +0000
commit2487a40979b88c23eb984da36faf782e10fe4bf8 (patch)
treeb891c05f4ac26ef97ca0d9e2f6c0e0f10c8552b3 /gcc/config/stormy16
parentf796cdd941a24b5d345b17819196cddae914c4ea (diff)
downloadgcc-2487a40979b88c23eb984da36faf782e10fe4bf8.tar.gz
* config/stormy16/stormy16.h (LINK_SPEC, WCHAR_TYPE): Define.
* config.gcc (xstormy16-*-elf): Don't use svr4.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167852 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/stormy16')
-rw-r--r--gcc/config/stormy16/stormy16.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/config/stormy16/stormy16.h b/gcc/config/stormy16/stormy16.h
index 1781bc3adea..f255ac9e413 100644
--- a/gcc/config/stormy16/stormy16.h
+++ b/gcc/config/stormy16/stormy16.h
@@ -25,6 +25,10 @@
#undef ASM_SPEC
#define ASM_SPEC ""
+#undef LINK_SPEC
+#define LINK_SPEC "%{h*} %{v:-V} \
+ %{static:-Bstatic} %{shared:-shared} %{symbolic:-Bsymbolic}"
+
/* For xstormy16:
- If -msim is specified, everything is built and linked as for the sim.
- If -T is specified, that linker script is used, and it should provide
@@ -116,6 +120,9 @@
#define PTRDIFF_TYPE "int"
+#undef WCHAR_TYPE
+#define WCHAR_TYPE "long int"
+
#undef WCHAR_TYPE_SIZE
#define WCHAR_TYPE_SIZE 32