From f924a1423a3dfc0525df89489efaca5db487783f Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Sat, 1 Jun 2002 00:35:19 +0000 Subject: pa-linux.h (WCHAR_UNSIGNED): Define to 0. * pa-linux.h (WCHAR_UNSIGNED): Define to 0. * pa.h (WCHAR_UNSIGNED): Define to 1. From-SVN: r54126 --- gcc/ChangeLog | 5 +++++ gcc/config/pa/pa-linux.h | 4 ++++ gcc/config/pa/pa.h | 1 + 3 files changed, 10 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index da2b59411cc..c9d855ac374 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-05-31 John David Anglin + + * pa-linux.h (WCHAR_UNSIGNED): Define to 0. + * pa.h (WCHAR_UNSIGNED): Define to 1. + 2002-05-31 John David Anglin * pa.c (output_millicode_call): Correct "be,l" insn for TARGET_PA_20. diff --git a/gcc/config/pa/pa-linux.h b/gcc/config/pa/pa-linux.h index 4f77780d7a4..81e807cf888 100644 --- a/gcc/config/pa/pa-linux.h +++ b/gcc/config/pa/pa-linux.h @@ -18,6 +18,10 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* Wide characters are signed. */ +#undef WCHAR_UNSIGNED +#define WCHAR_UNSIGNED 0 + /* Use DWARF2 debugging info and unwind. */ #undef PREFERRED_DEBUGGING_TYPE #define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index a8b7ee4f260..93a63f8eca9 100644 --- a/gcc/config/pa/pa.h +++ b/gcc/config/pa/pa.h @@ -348,6 +348,7 @@ extern int target_flags; #define SIZE_TYPE "unsigned int" #define PTRDIFF_TYPE "int" #define WCHAR_TYPE "unsigned int" +#define WCHAR_UNSIGNED 1 #define WCHAR_TYPE_SIZE 32 /* Show we can debug even without a frame pointer. */ -- cgit v1.2.1