summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>2002-06-01 00:35:19 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2002-06-01 00:35:19 +0000
commitf924a1423a3dfc0525df89489efaca5db487783f (patch)
tree5f28389fa0f33f03de503e1f8bf2996fe84feda0
parent1790d4cdf4b9bd745d9baccb878714e518236645 (diff)
downloadgcc-f924a1423a3dfc0525df89489efaca5db487783f.tar.gz
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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/pa/pa-linux.h4
-rw-r--r--gcc/config/pa/pa.h1
3 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index da2b59411cc..c9d855ac374 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2002-05-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
+ * pa-linux.h (WCHAR_UNSIGNED): Define to 0.
+ * pa.h (WCHAR_UNSIGNED): Define to 1.
+
+2002-05-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
+
* pa.c (output_millicode_call): Correct "be,l" insn for TARGET_PA_20.
(output_call): Likewise.
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. */