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
This commit is contained in:
Joseph Myers 2010-12-09 17:22:38 +00:00 committed by Joseph Myers
parent 28e95e49fb
commit 0ad273895f
3 changed files with 16 additions and 3 deletions

View 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,

View 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

View 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"