diff options
author | Joseph Myers <joseph@codesourcery.com> | 2010-12-09 17:20:25 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2010-12-09 17:20:25 +0000 |
commit | a3724010252cc46308cb813953c5e4c52d11fa45 (patch) | |
tree | f142ad20017353d6e0dca7d94bce0933b1aa3acc | |
parent | 35766c1db3ada3ff5c6db27b745f3434496c2d8b (diff) | |
download | gcc-a3724010252cc46308cb813953c5e4c52d11fa45.zip gcc-a3724010252cc46308cb813953c5e4c52d11fa45.tar.gz gcc-a3724010252cc46308cb813953c5e4c52d11fa45.tar.bz2 |
frv.h (SIZE_TYPE, [...]): Define.
* config/frv/frv.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
WCHAR_TYPE_SIZE): Define.
* config.gcc (frv-*-elf, frv-*-*linux*): Don't use svr4.h.
From-SVN: r167652
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config.gcc | 4 | ||||
-rw-r--r-- | gcc/config/frv/frv.h | 12 |
3 files changed, 20 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3c1f249..108ef62 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 2010-12-09 Joseph Myers <joseph@codesourcery.com> + * config/frv/frv.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, + WCHAR_TYPE_SIZE): Define. + * config.gcc (frv-*-elf, frv-*-*linux*): Don't use svr4.h. + +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. diff --git a/gcc/config.gcc b/gcc/config.gcc index 12afb36..5495015 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -966,12 +966,12 @@ fr30-*-elf) extra_parts="crti.o crtn.o crtbegin.o crtend.o" ;; frv-*-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}" tm_file="${tm_file} ../../libgcc/config/frv/frv-abi.h" tmake_file=frv/t-frv ;; frv-*-*linux*) - tm_file="dbxelf.h elfos.h svr4.h ${tm_file} \ + tm_file="dbxelf.h elfos.h ${tm_file} \ linux.h glibc-stdint.h frv/linux.h" tm_file="${tm_file} ../../libgcc/config/frv/frv-abi.h" tmake_file="${tmake_file} frv/t-frv frv/t-linux" diff --git a/gcc/config/frv/frv.h b/gcc/config/frv/frv.h index 1b97ae7..15467f2b 100644 --- a/gcc/config/frv/frv.h +++ b/gcc/config/frv/frv.h @@ -508,6 +508,18 @@ default with the options `-fsigned-char' and `-funsigned-char'. */ #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 + /* General purpose registers. */ #define GPR_FIRST 0 /* First gpr */ |