OSDN Git Service

* config/vax/linux.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Dec 2010 01:03:33 +0000 (01:03 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Dec 2010 01:03:33 +0000 (01:03 +0000)
* config.gcc (vax-*-linux*): Don't use svr4.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167675 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config.gcc
gcc/config/vax/linux.h

index d9d2724..196fcbd 100644 (file)
@@ -1,3 +1,8 @@
+2010-12-09  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/vax/linux.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
+       * config.gcc (vax-*-linux*): Don't use svr4.h.
+
 2010-12-09  Nathan Froyd  <froydnj@codesourcery.com>
 
        * c-typeck.c (build_indirect_ref): Call invalid_indirection_error.
index a5e4829..dba1d96 100644 (file)
@@ -2633,7 +2633,7 @@ v850-*-*)
        use_gcc_stdint=wrap
        ;;
 vax-*-linux*)
-       tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h vax/elf.h vax/linux.h"
+       tm_file="${tm_file} dbxelf.h elfos.h linux.h vax/elf.h vax/linux.h"
        tmake_file="${tmake_file} vax/t-linux"
        ;;
 vax-*-netbsdelf*)
index 97e036b..93ce7bb 100644 (file)
@@ -46,3 +46,9 @@ along with GCC; see the file COPYING3.  If not see
       %{rdynamic:-export-dynamic} \
       -dynamic-linker /lib/ld.so.1} \
     %{static:-static}}"
+
+#undef  WCHAR_TYPE
+#define WCHAR_TYPE "long int"
+
+#undef  WCHAR_TYPE_SIZE
+#define WCHAR_TYPE_SIZE BITS_PER_WORD