diff options
author | Joseph Myers <joseph@codesourcery.com> | 2010-12-15 12:55:45 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2010-12-15 12:55:45 +0000 |
commit | 5519175f4c25f46a987b1e7dd964d153b9a68419 (patch) | |
tree | b891c05f4ac26ef97ca0d9e2f6c0e0f10c8552b3 /gcc | |
parent | 9cce57f741f674473c008e43becc33bba4126fa0 (diff) | |
download | gcc-5519175f4c25f46a987b1e7dd964d153b9a68419.zip gcc-5519175f4c25f46a987b1e7dd964d153b9a68419.tar.gz gcc-5519175f4c25f46a987b1e7dd964d153b9a68419.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config.gcc | 2 | ||||
-rw-r--r-- | gcc/config/stormy16/stormy16.h | 7 |
3 files changed, 13 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6ac4033..68ac27b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 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.gcc (rx-*-elf*): Don't use svr4.h. diff --git a/gcc/config.gcc b/gcc/config.gcc index 94950b8..51d9c26 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -2646,7 +2646,7 @@ vax-*-openbsd*) ;; xstormy16-*-elf) # 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 md_file=stormy16/stormy16.md out_file=stormy16/stormy16.c diff --git a/gcc/config/stormy16/stormy16.h b/gcc/config/stormy16/stormy16.h index 1781bc3..f255ac9 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 |