merge with include from egcs 2000-02-22
This commit is contained in:
		| @@ -32,9 +32,14 @@ Tue Feb  8 17:01:13 2000  Andrew Cagney  <cagney@b1.cygnus.com> | |||||||
|  |  | ||||||
| 	* dis-asm.h: Add prototype for disassembler_usage(). | 	* dis-asm.h: Add prototype for disassembler_usage(). | ||||||
| 	Add prototype for arm_disassembler_options(). | 	Add prototype for arm_disassembler_options(). | ||||||
| 	Remvoe prototype for arm_toggle_regnames(). | 	Remove prototype for arm_toggle_regnames(). | ||||||
| 	Add prototype for parse_arm_disassembler_option(). | 	Add prototype for parse_arm_disassembler_option(). | ||||||
|  |  | ||||||
|  | Sat Jan  1 19:06:52 2000  Hans-Peter Nilsson  <hp@bitrange.com> | ||||||
|  |  | ||||||
|  | 	* symcat.h (STRINGX) [!__STDC__ || ALMOST_STDC]: Change "?" to "s" | ||||||
|  | 	to stringify argument s. | ||||||
|  |  | ||||||
| Wed Dec 15 11:22:56 1999  Jeffrey A Law  (law@cygnus.com) | Wed Dec 15 11:22:56 1999  Jeffrey A Law  (law@cygnus.com) | ||||||
|  |  | ||||||
| 	* hp-symtab.h (HP_LANGUAGE_FORTRAN): New enumeration constant. | 	* hp-symtab.h (HP_LANGUAGE_FORTRAN): New enumeration constant. | ||||||
| @@ -44,6 +49,32 @@ Wed Dec 15 11:22:56 1999  Jeffrey A Law  (law@cygnus.com) | |||||||
|  |  | ||||||
| 	* dis-asm.h: Enclose in extern "C" ifdef __cplusplus. | 	* dis-asm.h: Enclose in extern "C" ifdef __cplusplus. | ||||||
|  |  | ||||||
|  | 1999-12-05  Mark Mitchell  <mark@codesourcery.com> | ||||||
|  |  | ||||||
|  | 	* splay-tree.h (struct splay_tree_node): Rename to ... | ||||||
|  | 	(struct splay_tree_node_s): ... this. | ||||||
|  | 	(struct splay_tree): Rename to ... | ||||||
|  | 	(struct splay_tree_s): ... this. | ||||||
|  |  | ||||||
|  | 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu> | ||||||
|  |  | ||||||
|  | 	* ansidecl.h (ATTRIBUTE_MALLOC): New macro. | ||||||
|  |  | ||||||
|  | 	* libiberty.h (buildargv, dupargv, concat, choose_temp_base, | ||||||
|  | 	make_temp_file, xmalloc, xcalloc, xstrdup, xmemdup): Add | ||||||
|  | 	ATTRIBUTE_MALLOC. | ||||||
|  | 	(xatexit): Remove __GNUC__ check, add ATTRIBUTE_NORETURN. | ||||||
|  |  | ||||||
|  | 1999-11-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu> | ||||||
|  |  | ||||||
|  | 	* libiberty.h: Include stdarg.h when ANSI_PROTOTYPES is defined. | ||||||
|  | 	(asprintf, vasprintf): Provide declarations. | ||||||
|  |  | ||||||
|  | Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be> | ||||||
|  |                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu> | ||||||
|  |  | ||||||
|  | 	* ansidecl.h: Define and test `GCC_VERSION', not `HAVE_GCC_VERSION'. | ||||||
|  |  | ||||||
| 1999-11-04      Jimmy Guo       <guo@cup.hp.com> | 1999-11-04      Jimmy Guo       <guo@cup.hp.com> | ||||||
|  |  | ||||||
| 	* hp-symtab.h (dntt_type_fparam): Add doc_ranges, misc_kind | 	* hp-symtab.h (dntt_type_fparam): Add doc_ranges, misc_kind | ||||||
| @@ -54,14 +85,60 @@ Sun Oct 24 19:11:32 1999  Andrew Cagney  <cagney@b1.cygnus.com> | |||||||
|  |  | ||||||
| 	* sim-d10v.h (SIM_D10V_TS2_DMAP_REGNUM): Define. | 	* sim-d10v.h (SIM_D10V_TS2_DMAP_REGNUM): Define. | ||||||
|  |  | ||||||
|  | 1999-10-23 08:51 -0700  Zack Weinberg  <zack@bitmover.com> | ||||||
|  |  | ||||||
|  | 	* hashtab.h: Give hash_table_t a struct tag.  Add prototypes | ||||||
|  | 	for clear_hash_table_slot and traverse_hash_table.  Correct | ||||||
|  | 	prototype of all_hash_table_collisions. | ||||||
|  |  | ||||||
| Sat Oct 23 19:00:13 1999  Andrew Cagney  <cagney@b1.cygnus.com> | Sat Oct 23 19:00:13 1999  Andrew Cagney  <cagney@b1.cygnus.com> | ||||||
|  |  | ||||||
| 	* sim-d10v.h: New file. | 	* sim-d10v.h: New file. | ||||||
|  |  | ||||||
|  | Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com> | ||||||
|  |  | ||||||
|  | 	* hashtab.h: New file. | ||||||
|  |  | ||||||
|  | 1999-10-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu> | ||||||
|  |  | ||||||
|  | 	* ansidecl.h (HAVE_GCC_VERSION): New macro.  Use it instead of | ||||||
|  | 	explicitly testing __GNUC__ and __GNUC_MINOR__. | ||||||
|  | 	 | ||||||
|  | 	(ATTRIBUTE_PRINTF): Use `__format__', not `format'. | ||||||
|  |  | ||||||
|  | 1999-09-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu> | ||||||
|  |  | ||||||
|  | 	* libiberty.h (make_temp_file):  Add a prototype. | ||||||
|  |  | ||||||
|  | Tue Sep 14 00:35:02 1999  Marc Espie <espie@cvs.openbsd.org> | ||||||
|  |  | ||||||
|  | 	* libiberty.h (basename):  OpenBSD has a correct prototype. | ||||||
|  | 	(xrealloc):  Remove outdated comment. | ||||||
|  |  | ||||||
|  | 1999-09-07  Jeff Garzik  <jgarzik@pobox.com> | ||||||
|  |  | ||||||
|  | 	* libiberty.h (xmemdup): Add prototype for new function. | ||||||
|  |  | ||||||
| 1999-09-04  Steve Chamberlain  <sac@pobox.com> | 1999-09-04  Steve Chamberlain  <sac@pobox.com> | ||||||
|  |  | ||||||
| 	* dis-asm.h (print_insn_pj): Declare. | 	* dis-asm.h (print_insn_pj): Declare. | ||||||
|  |  | ||||||
|  | 1999-09-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu> | ||||||
|  |  | ||||||
|  | 	* obstack.h (obstack_grow, obstack_grow0): Move (char*) casts | ||||||
|  | 	in calls to `_obstack_memcpy' from here ... | ||||||
|  |  | ||||||
|  | 	(_obstack_memcpy): ... to here, except in the __STDC__ case which | ||||||
|  | 	doesn't need it. | ||||||
|  |  | ||||||
|  | 1999-08-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu> | ||||||
|  |  | ||||||
|  | 	* libiberty.h (getpwd): Prototype. | ||||||
|  |  | ||||||
|  | 1999-08-01  Mark Mitchell  <mark@codesourcery.com> | ||||||
|  |  | ||||||
|  | 	* splay-tree.h (splay_tree_insert): Return the new node. | ||||||
|  |  | ||||||
| 1999-07-11  Ian Lance Taylor  <ian@zembu.com> | 1999-07-11  Ian Lance Taylor  <ian@zembu.com> | ||||||
|  |  | ||||||
| 	* ansidecl.h: Copy attribute support macros from egcs. | 	* ansidecl.h: Copy attribute support macros from egcs. | ||||||
|   | |||||||
| @@ -160,20 +160,48 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */ | |||||||
|  |  | ||||||
| #endif	/* ANSI C.  */ | #endif	/* ANSI C.  */ | ||||||
|  |  | ||||||
|  | /* Using MACRO(x,y) in cpp #if conditionals does not work with some | ||||||
|  |    older preprocessors.  Thus we can't define something like this: | ||||||
|  |  | ||||||
|  | #define HAVE_GCC_VERSION(MAJOR, MINOR) \ | ||||||
|  |   (__GNUC__ > (MAJOR) || (__GNUC__ == (MAJOR) && __GNUC_MINOR__ >= (MINOR))) | ||||||
|  |  | ||||||
|  | and then test "#if HAVE_GCC_VERSION(2,7)". | ||||||
|  |  | ||||||
|  | So instead we use the macro below and test it against specific values.  */ | ||||||
|  |  | ||||||
|  | /* This macro simplifies testing whether we are using gcc, and if it | ||||||
|  |    is of a particular minimum version. (Both major & minor numbers are | ||||||
|  |    significant.)  This macro will evaluate to 0 if we are not using | ||||||
|  |    gcc at all.  */ | ||||||
|  | #ifndef GCC_VERSION | ||||||
|  | #define GCC_VERSION (__GNUC__ * 1000 + __GNUC_MINOR__) | ||||||
|  | #endif /* GCC_VERSION */ | ||||||
|  |  | ||||||
| /* Define macros for some gcc attributes.  This permits us to use the | /* Define macros for some gcc attributes.  This permits us to use the | ||||||
|    macros freely, and know that they will come into play for the |    macros freely, and know that they will come into play for the | ||||||
|    version of gcc in which they are supported.  */ |    version of gcc in which they are supported.  */ | ||||||
|  |  | ||||||
| #if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7) | #if (GCC_VERSION < 2007) | ||||||
| # define __attribute__(x) | # define __attribute__(x) | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
| #ifndef ATTRIBUTE_UNUSED_LABEL | /* Attribute __malloc__ on functions was valid as of gcc 2.96. */ | ||||||
| # if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 93) | #ifndef ATTRIBUTE_MALLOC | ||||||
| #  define ATTRIBUTE_UNUSED_LABEL | # if (GCC_VERSION >= 2096) | ||||||
|  | #  define ATTRIBUTE_MALLOC __attribute__ ((__malloc__)) | ||||||
| # else | # else | ||||||
|  | #  define ATTRIBUTE_MALLOC | ||||||
|  | # endif /* GNUC >= 2.96 */ | ||||||
|  | #endif /* ATTRIBUTE_MALLOC */ | ||||||
|  |  | ||||||
|  | /* Attributes on labels were valid as of gcc 2.93. */ | ||||||
|  | #ifndef ATTRIBUTE_UNUSED_LABEL | ||||||
|  | # if (GCC_VERSION >= 2093) | ||||||
| #  define ATTRIBUTE_UNUSED_LABEL ATTRIBUTE_UNUSED | #  define ATTRIBUTE_UNUSED_LABEL ATTRIBUTE_UNUSED | ||||||
| # endif /* GNUC < 2.93 */ | # else | ||||||
|  | #  define ATTRIBUTE_UNUSED_LABEL | ||||||
|  | # endif /* GNUC >= 2.93 */ | ||||||
| #endif /* ATTRIBUTE_UNUSED_LABEL */ | #endif /* ATTRIBUTE_UNUSED_LABEL */ | ||||||
|  |  | ||||||
| #ifndef ATTRIBUTE_UNUSED | #ifndef ATTRIBUTE_UNUSED | ||||||
| @@ -185,7 +213,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */ | |||||||
| #endif /* ATTRIBUTE_NORETURN */ | #endif /* ATTRIBUTE_NORETURN */ | ||||||
|  |  | ||||||
| #ifndef ATTRIBUTE_PRINTF | #ifndef ATTRIBUTE_PRINTF | ||||||
| #define ATTRIBUTE_PRINTF(m, n) __attribute__ ((format (__printf__, m, n))) | #define ATTRIBUTE_PRINTF(m, n) __attribute__ ((__format__ (__printf__, m, n))) | ||||||
| #define ATTRIBUTE_PRINTF_1 ATTRIBUTE_PRINTF(1, 2) | #define ATTRIBUTE_PRINTF_1 ATTRIBUTE_PRINTF(1, 2) | ||||||
| #define ATTRIBUTE_PRINTF_2 ATTRIBUTE_PRINTF(2, 3) | #define ATTRIBUTE_PRINTF_2 ATTRIBUTE_PRINTF(2, 3) | ||||||
| #define ATTRIBUTE_PRINTF_3 ATTRIBUTE_PRINTF(3, 4) | #define ATTRIBUTE_PRINTF_3 ATTRIBUTE_PRINTF(3, 4) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user