diff options
author | Joseph Myers <joseph@codesourcery.com> | 2010-12-09 17:22:38 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2010-12-09 17:22:38 +0000 |
commit | 0ad273895f8ee40418cb575a8c76974b5ee6ab8f (patch) | |
tree | 913873982d10ddf3da35771651f556bcc4324b96 | |
parent | 28e95e49fb4835d839b4f52dca47c54392f6b1e6 (diff) | |
download | gcc-0ad273895f8ee40418cb575a8c76974b5ee6ab8f.zip gcc-0ad273895f8ee40418cb575a8c76974b5ee6ab8f.tar.gz gcc-0ad273895f8ee40418cb575a8c76974b5ee6ab8f.tar.bz2 |
pa32-linux.h (WCHAR_TYPE, [...]): Define.
* config/pa/pa32-linux.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
* config.gcc (hppa*64*-*-linux*, hppa*-*-linux*): Don't use
svr4.h.
From-SVN: r167654
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config.gcc | 4 | ||||
-rw-r--r-- | gcc/config/pa/pa32-linux.h | 9 |
3 files changed, 16 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ee38479..79d1d88 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 2010-12-09 Joseph Myers <joseph@codesourcery.com> + * config/pa/pa32-linux.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define. + * config.gcc (hppa*64*-*-linux*, hppa*-*-linux*): Don't use + svr4.h. + +2010-12-09 Joseph Myers <joseph@codesourcery.com> + * config/moxie/moxie.h (LINK_SPEC, SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Define. * config/moxie/rtems.h (LINK_SPEC, SIZE_TYPE, PTRDIFF_TYPE, diff --git a/gcc/config.gcc b/gcc/config.gcc index 1371c43..50713a9 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -1006,7 +1006,7 @@ h8300-*-elf*) ;; hppa*64*-*-linux*) target_cpu_default="MASK_PA_11|MASK_PA_20" - tm_file="pa/pa64-start.h ${tm_file} dbxelf.h elfos.h svr4.h linux.h \ + tm_file="pa/pa64-start.h ${tm_file} dbxelf.h elfos.h linux.h \ glibc-stdint.h pa/pa-linux.h pa/pa64-regs.h pa/pa-64.h \ pa/pa64-linux.h" tmake_file="${tmake_file} pa/t-linux64" @@ -1015,7 +1015,7 @@ hppa*64*-*-linux*) ;; hppa*-*-linux*) target_cpu_default="MASK_PA_11|MASK_NO_SPACE_REGS" - tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h glibc-stdint.h pa/pa-linux.h \ + tm_file="${tm_file} dbxelf.h elfos.h linux.h glibc-stdint.h pa/pa-linux.h \ pa/pa32-regs.h pa/pa32-linux.h" tmake_file="${tmake_file} pa/t-linux t-slibgcc-libgcc" # Set the libgcc version number diff --git a/gcc/config/pa/pa32-linux.h b/gcc/config/pa/pa32-linux.h index 1ccb66c..8d80a21 100644 --- a/gcc/config/pa/pa32-linux.h +++ b/gcc/config/pa/pa32-linux.h @@ -1,5 +1,6 @@ /* Definitions for PA_RISC with ELF-32 format - Copyright (C) 2000, 2002, 2004, 2006, 2007 Free Software Foundation, Inc. + Copyright (C) 2000, 2002, 2004, 2006, 2007, 2010 + Free Software Foundation, Inc. This file is part of GCC. @@ -57,4 +58,10 @@ call_ ## FUNC (void) \ } #endif +#undef WCHAR_TYPE +#define WCHAR_TYPE "long int" + +#undef WCHAR_TYPE_SIZE +#define WCHAR_TYPE_SIZE BITS_PER_WORD + #define MD_UNWIND_SUPPORT "config/pa/linux-unwind.h" |