diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-15 12:54:46 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-15 12:54:46 +0000 |
commit | f796cdd941a24b5d345b17819196cddae914c4ea (patch) | |
tree | 17e9d6d0ae656ac8b57dc95195311646c154719e | |
parent | 1934055be6f2fb4018b479616a0c5300d9d90120 (diff) | |
download | gcc-f796cdd941a24b5d345b17819196cddae914c4ea.tar.gz |
* config/rx/rx.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
* config.gcc (rx-*-elf*): Don't use svr4.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167851 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config.gcc | 2 | ||||
-rw-r--r-- | gcc/config/rx/rx.h | 4 |
3 files changed, 10 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 549b2901a7b..6ac40331075 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +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. + 2010-12-14 Sebastian Pop <sebastian.pop@amd.com> PR tree-optimization/46845 diff --git a/gcc/config.gcc b/gcc/config.gcc index 93ad309cf56..94950b8e824 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -2230,7 +2230,7 @@ rs6000-ibm-aix[6789].* | powerpc-ibm-aix[6789].*) extra_headers=altivec.h ;; rx-*-elf*) - tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h ${tm_file} ../../libgcc/config/rx/rx-abi.h" + tm_file="dbxelf.h elfos.h newlib-stdint.h ${tm_file} ../../libgcc/config/rx/rx-abi.h" tmake_file="${tmake_file} rx/t-rx" ;; s390-*-linux*) diff --git a/gcc/config/rx/rx.h b/gcc/config/rx/rx.h index 8f8b29b7012..35b5d58c4a4 100644 --- a/gcc/config/rx/rx.h +++ b/gcc/config/rx/rx.h @@ -137,6 +137,10 @@ extern enum rx_cpu_types rx_cpu_type; #define SIZE_TYPE "long unsigned int" #undef PTRDIFF_TYPE #define PTRDIFF_TYPE "long int" +#undef WCHAR_TYPE +#define WCHAR_TYPE "long int" +#undef WCHAR_TYPE_SIZE +#define WCHAR_TYPE_SIZE BITS_PER_WORD #define POINTERS_EXTEND_UNSIGNED 1 #define FUNCTION_MODE QImode #define CASE_VECTOR_MODE Pmode |