Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog31
-rw-r--r--include/dis-asm.h2
-rw-r--r--include/elf/ChangeLog4
-rw-r--r--include/elf/mips.h2
-rw-r--r--include/safe-ctype.h39
5 files changed, 4 insertions, 74 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index bf5901f9e..17cdcd617 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,34 +1,3 @@
-2008-07-12 Jie Zhang <jie.zhang@analog.com>
-
- Revert
- 2008-07-12 Jie Zhang <jie.zhang@analog.com>
- * bfdlink.h (struct bfd_link_info): Add sep_code member
- variable.
- * elf/bfin.h (EF_BFIN_CODE_IN_L1): Define.
- (EF_BFIN_DATA_IN_L1): Define.
-
-2008-07-12 Jie Zhang <jie.zhang@analog.com>
-
- * bfdlink.h (struct bfd_link_info): Add sep_code member
- variable.
- * elf/bfin.h (EF_BFIN_CODE_IN_L1): Define.
- (EF_BFIN_DATA_IN_L1): Define.
-
-2008-07-07 Stan Shebs <stan@codesourcery.com>
-
- * dis-asm.h (struct disassemble_info): Add endian_code field.
-
-2008-07-07 Joel Brobecker <brobecker@adacore.com>
-
- * safe-ctype.h: Add #include of ctype.h before redefining
- the ctype.h macros.
-
-2008-07-04 Joel Brobecker <brobecker@adacore.com>
-
- * safe-ctype.h: Remove #error when detecting that ctype.h has been
- included. Redefine the various macros provided by ctype.h as
- undefined variables.
-
2008-06-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* libiberty.h (XALLOCA, XDUP, XALLOCAVEC, XDUPVEC, XALLOCAVAR,
diff --git a/include/dis-asm.h b/include/dis-asm.h
index db74d85ac..999d6eaf2 100644
--- a/include/dis-asm.h
+++ b/include/dis-asm.h
@@ -76,8 +76,6 @@ typedef struct disassemble_info
unsigned long mach;
/* Endianness (for bi-endian cpus). Mono-endian cpus can ignore this. */
enum bfd_endian endian;
- /* Endianness of code, for mixed-endian situations such as ARM BE8. */
- enum bfd_endian endian_code;
/* An arch/mach-specific bitmask of selected instruction subsets, mainly
for processors with run-time-switchable instruction sets. The default,
zero, means that there is no constraint. CGEN-based opcodes ports
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 9f6198255..9fc0fd836 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,7 +1,3 @@
-2008-07-10 Richard Sandiford <rdsandiford@googlemail.com>
-
- * mips.h (ELF_ST_IS_MIPS16, ELF_ST_SET_MIPS16): New macros.
-
2008-06-18 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
* common.h (EM_CR16): Correct value.
diff --git a/include/elf/mips.h b/include/elf/mips.h
index 474f54ff4..55ecfb3c0 100644
--- a/include/elf/mips.h
+++ b/include/elf/mips.h
@@ -725,8 +725,6 @@ extern void bfd_mips_elf32_swap_reginfo_out
/* This value is used for a mips16 .text symbol. */
#define STO_MIPS16 0xf0
-#define ELF_ST_IS_MIPS16(OTHER) (((OTHER) & 0xf0) == STO_MIPS16)
-#define ELF_ST_SET_MIPS16(OTHER) (((OTHER) & ~0xf0) | STO_MIPS16)
/* This bit is used on Irix to indicate a symbol whose definition
is optional - if, at final link time, it cannot be found, no
diff --git a/include/safe-ctype.h b/include/safe-ctype.h
index 0266bf1aa..e59b357cc 100644
--- a/include/safe-ctype.h
+++ b/include/safe-ctype.h
@@ -35,6 +35,10 @@ Boston, MA 02110-1301, USA. */
#ifndef SAFE_CTYPE_H
#define SAFE_CTYPE_H
+#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
@@ -112,39 +116,4 @@ extern const unsigned char _sch_tolower[256];
#define TOUPPER(c) _sch_toupper[(c) & 0xff]
#define TOLOWER(c) _sch_tolower[(c) & 0xff]
-/* Prevent the users of safe-ctype.h from accidently using the routines
- from ctype.h. Initially, the approach was to produce an error when
- detecting that ctype.h has been included. But this was causing
- trouble as ctype.h might get indirectly included as a result of
- including another system header (for instance gnulib's stdint.h).
- So we include ctype.h here and then immediately redefine its macros. */
-
-#include <ctype.h>
-#undef isalpha
-#define isalpha(c) do_not_use_isalpha_with_safe_ctype
-#undef isalnum
-#define isalnum(c) do_not_use_isalnum_with_safe_ctype
-#undef iscntrl
-#define iscntrl(c) do_not_use_iscntrl_with_safe_ctype
-#undef isdigit
-#define isdigit(c) do_not_use_isdigit_with_safe_ctype
-#undef isgraph
-#define isgraph(c) do_not_use_isgraph_with_safe_ctype
-#undef islower
-#define islower(c) do_not_use_islower_with_safe_ctype
-#undef isprint
-#define isprint(c) do_not_use_isprint_with_safe_ctype
-#undef ispunct
-#define ispunct(c) do_not_use_ispunct_with_safe_ctype
-#undef isspace
-#define isspace(c) do_not_use_isspace_with_safe_ctype
-#undef isupper
-#define isupper(c) do_not_use_isupper_with_safe_ctype
-#undef isxdigit
-#define isxdigit(c) do_not_use_isxdigit_with_safe_ctype
-#undef toupper
-#define toupper(c) do_not_use_toupper_with_safe_ctype
-#undef tolower
-#define tolower(c) do_not_use_tolower_with_safe_ctype
-
#endif /* SAFE_CTYPE_H */