]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
pa-linux.h (WCHAR_UNSIGNED): Define to 0.
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>
Sat, 1 Jun 2002 00:35:19 +0000 (00:35 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sat, 1 Jun 2002 00:35:19 +0000 (00:35 +0000)
* pa-linux.h (WCHAR_UNSIGNED): Define to 0.
* pa.h (WCHAR_UNSIGNED): Define to 1.

From-SVN: r54126

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

index da2b59411cc6e5ccec5188ac4cc4cc0b9f33b02d..c9d855ac374267206f93fed56fe5da627924042c 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 4f77780d7a4dccb04302254ece30703f5770fc4d..81e807cf888c59e7dafd27e55c4d110107ffeb08 100644 (file)
@@ -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
index a8b7ee4f26025c7dd2788ce1fd6b6c6d817528b3..93a63f8eca90863133b353df536f982d423644bd 100644 (file)
@@ -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.  */