Commit 5519175f by Joseph Myers Committed by Joseph Myers

stormy16.h (LINK_SPEC, WCHAR_TYPE): Define.

	* config/stormy16/stormy16.h (LINK_SPEC, WCHAR_TYPE): Define.
	* config.gcc (xstormy16-*-elf): Don't use svr4.h.

From-SVN: r167852
parent 9cce57f7
2010-12-15 Joseph Myers <joseph@codesourcery.com> 2010-12-15 Joseph Myers <joseph@codesourcery.com>
* config/stormy16/stormy16.h (LINK_SPEC, WCHAR_TYPE): Define.
* config.gcc (xstormy16-*-elf): Don't use svr4.h.
2010-12-15 Joseph Myers <joseph@codesourcery.com>
* config/rx/rx.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define. * config/rx/rx.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
* config.gcc (rx-*-elf*): Don't use svr4.h. * config.gcc (rx-*-elf*): Don't use svr4.h.
...@@ -2646,7 +2646,7 @@ vax-*-openbsd*) ...@@ -2646,7 +2646,7 @@ vax-*-openbsd*)
;; ;;
xstormy16-*-elf) xstormy16-*-elf)
# For historical reasons, the target files omit the 'x'. # For historical reasons, the target files omit the 'x'.
tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h stormy16/stormy16.h" tm_file="dbxelf.h elfos.h newlib-stdint.h stormy16/stormy16.h"
tm_p_file=stormy16/stormy16-protos.h tm_p_file=stormy16/stormy16-protos.h
md_file=stormy16/stormy16.md md_file=stormy16/stormy16.md
out_file=stormy16/stormy16.c out_file=stormy16/stormy16.c
......
...@@ -25,6 +25,10 @@ ...@@ -25,6 +25,10 @@
#undef ASM_SPEC #undef ASM_SPEC
#define ASM_SPEC "" #define ASM_SPEC ""
#undef LINK_SPEC
#define LINK_SPEC "%{h*} %{v:-V} \
%{static:-Bstatic} %{shared:-shared} %{symbolic:-Bsymbolic}"
/* For xstormy16: /* For xstormy16:
- If -msim is specified, everything is built and linked as for the sim. - 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 - If -T is specified, that linker script is used, and it should provide
...@@ -116,6 +120,9 @@ ...@@ -116,6 +120,9 @@
#define PTRDIFF_TYPE "int" #define PTRDIFF_TYPE "int"
#undef WCHAR_TYPE
#define WCHAR_TYPE "long int"
#undef WCHAR_TYPE_SIZE #undef WCHAR_TYPE_SIZE
#define WCHAR_TYPE_SIZE 32 #define WCHAR_TYPE_SIZE 32
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment