diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 15 | ||||
-rw-r--r-- | include/ansidecl.h | 11 | ||||
-rw-r--r-- | include/opcode/ChangeLog | 2 | ||||
-rw-r--r-- | include/safe-ctype.h | 18 |
4 files changed, 33 insertions, 13 deletions
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 <zack@codesourcery.com> + + * 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 <zack@codesourcery.com> + + * safe-ctype.h (HC_UNKNOWN, HC_ASCII, HC_EBCDIC, HOST_CHARSET): + New #defines. + +2003-06-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * ansidecl.h: Delete HAVE_LONG_DOUBLE GCC bootstrap support. + 2003-05-23 Jakub Jelinek <jakub@redhat.com> * 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 <msnyder@redhat.com> - * 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 */ |