From 5da8118f47003400ecf5d3cecb383359e5a5642b Mon Sep 17 00:00:00 2001 From: cvs2svn <> Date: Sun, 22 Jun 2003 16:35:52 +0000 Subject: This commit was manufactured by cvs2svn to create branch 'gdb_6_0-branch'. Sprout from jimb-ppc64-linux-20030613-branch 2003-06-13 13:07:52 UTC cvs2svn 'This commit was manufactured by cvs2svn to create branch 'jimb-' Cherrypick from master 2003-06-22 16:35:51 UTC DJ Delorie 'merge from gcc': ChangeLog Makefile.in Makefile.tpl config.guess config.sub configure configure.in include/ChangeLog include/ansidecl.h include/opcode/ChangeLog include/safe-ctype.h --- include/ChangeLog | 15 +++++++++++++++ include/ansidecl.h | 11 ----------- include/opcode/ChangeLog | 2 +- include/safe-ctype.h | 18 +++++++++++++++++- 4 files changed, 33 insertions(+), 13 deletions(-) (limited to 'include') diff --git a/include/ChangeLog b/include/ChangeLog index 18d0b3509..5e9ac7a10 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,18 @@ +2003-06-22 Zack Weinberg + + * safe-ctype.h (HC_UNKNOWN, HC_ASCII, HC_EBCDIC): Rename to + HOST_CHARSET_UNKNOWN, HOST_CHARSET_ASCII, HOST_CHARSET_EBCDIC + respectively. + +2003-06-21 Zack Weinberg + + * safe-ctype.h (HC_UNKNOWN, HC_ASCII, HC_EBCDIC, HOST_CHARSET): + New #defines. + +2003-06-17 Kaveh R. Ghazi + + * ansidecl.h: Delete HAVE_LONG_DOUBLE GCC bootstrap support. + 2003-05-23 Jakub Jelinek * bfdlink.h (struct bfd_link_info): Add execstack and noexecstack. diff --git a/include/ansidecl.h b/include/ansidecl.h index f8f2d737b..d2c87768c 100644 --- a/include/ansidecl.h +++ b/include/ansidecl.h @@ -312,15 +312,4 @@ So instead we use the macro below and test it against specific values. */ #define __extension__ #endif -/* Bootstrap support: Adjust certain macros defined by Autoconf, - which are only valid for the stage1 compiler. If we detect - a modern version of GCC, we are probably in stage2 or beyond, - so unconditionally reset the values. Note that const, inline, - etc. have been dealt with above. */ -#if (GCC_VERSION >= 2007) -# ifndef HAVE_LONG_DOUBLE -# define HAVE_LONG_DOUBLE 1 -# endif -#endif /* GCC >= 2.7 */ - #endif /* ansidecl.h */ diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index 94c303144..9785f4ec4 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -10,7 +10,7 @@ 2003-06-03 Michael Snyder - * h8sx.h (enum h8_model): Add AV_H8S to distinguish from H8H. + * h8300.h (enum h8_model): Add AV_H8S to distinguish from H8H. (ldc): Split ccr ops from exr ops (which are only available on H8S or H8SX). (stc): Ditto. diff --git a/include/safe-ctype.h b/include/safe-ctype.h index b2ad8490b..69a3f74cc 100644 --- a/include/safe-ctype.h +++ b/include/safe-ctype.h @@ -37,7 +37,24 @@ Boston, MA 02111-1307, USA. */ #ifdef isalpha #error "safe-ctype.h and ctype.h may not be used simultaneously" +#endif + +/* Determine host character set. */ +#define HOST_CHARSET_UNKNOWN 0 +#define HOST_CHARSET_ASCII 1 +#define HOST_CHARSET_EBCDIC 2 + +#if '\n' == 0x0A && ' ' == 0x20 && '0' == 0x30 \ + && 'A' == 0x41 && 'a' == 0x61 && '!' == 0x21 +# define HOST_CHARSET HOST_CHARSET_ASCII #else +# if '\n' == 0x15 && ' ' == 0x40 && '0' == 0xF0 \ + && 'A' == 0xC1 && 'a' == 0x81 && '!' == 0x5A +# define HOST_CHARSET HOST_CHARSET_EBCDIC +# else +# define HOST_CHARSET HOST_CHARSET_UNKNOWN +# endif +#endif /* Categories. */ @@ -99,5 +116,4 @@ extern const unsigned char _sch_tolower[256]; #define TOUPPER(c) _sch_toupper[(c) & 0xff] #define TOLOWER(c) _sch_tolower[(c) & 0xff] -#endif /* no ctype.h */ #endif /* SAFE_CTYPE_H */ -- cgit v1.2.3