pa32-linux.h (WCHAR_TYPE, [...]): Define.
authorJoseph Myers <joseph@codesourcery.com>
Thu, 9 Dec 2010 17:22:38 +0000 (17:22 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Thu, 9 Dec 2010 17:22:38 +0000 (17:22 +0000)
* 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

gcc/ChangeLog
gcc/config.gcc
gcc/config/pa/pa32-linux.h

index ee384793dd46ba238675e80e5bbeb4d9aa5f80ed..79d1d8840a92a807473e2e5d68bdbe0ad5424b16 100644 (file)
@@ -1,3 +1,9 @@
+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,
index 1371c43b10f49a87d8973b949034d4789658b4ac..50713a96bf5a1b04119d18172f507420eb492a72 100644 (file)
@@ -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
index 1ccb66c8ca163f100ad48cf192010dfb602c6efb..8d80a210003e27ba76208182d7fc35f2874ed7b1 100644 (file)
@@ -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"