PR bootstrap/11932, PR bootstrap/11933
[binutils.git] / include / ChangeLog
blobff08e82d9ab08d7db407435362d71c322f3af2b2
1 2003-12-19  Andreas Tobler  <a.tobler@schweiz.ch>
3         * include/fibheap.h (fibnode): Use __extension__ for
4         bit-fields mark and degree if __GNUC__.
6 2003-12-18  Kazu Hirata  <kazu@cs.umass.edu>
8         * include/fibheap.h (fibnode): Use unsigned long int for
9         bit-fields if __GNUC__ is defined.
11 2003-10-22  Joseph S. Myers  <jsm@polyomino.org.uk>
13         * obstack.h: Merge the following change from gnulib:
14         2003-10-21  Paul Eggert  <eggert@twinsun.com>
15         * obstack.h (obstack_1grow_fast): Properly parenthesize arg.
16         (obstack_ptr_grow_fast, obstack_int_grow_fast):
17         Don't use lvalue casts, as GCC plans to remove support for them
18         in GCC 3.5.  Reported by Joseph S. Myers.  This bug
19         was also present in the non-GCC version, indicating that this
20         code had always been buggy and had never been widely used.
21         (obstack_1grow, obstack_ptr_grow, obstack_int_grow, obstack_blank):
22         Use the fast variant of each macro, rather than copying the
23         definiens of the fast variant; that way, we'll be more likely to
24         catch future bugs in the fast variants.
26 2003-09-22  Andrew Cagney  <cagney@redhat.com>
28         * floatformat.h (struct floatformat): Add field "is_valid".
30 2003-09-15  Andrew Cagney  <cagney@redhat.com>
32         * floatformat.h (floatformat_to_double): Make input buffer constant.
33         (floatformat_from_double, floatformat_is_valid): Ditto.
35 2003-09-15  Andrew Cagney  <cagney@redhat.com>
37         * floatformat.h (struct floatformat): Make "exp_bias" signed.
39 2003-09-15  Daniel Jacobowitz  <drow@mvista.com>
41         * floatformat.h (floatformat_is_valid): Add prototype.
43 2003-07-09  Bob Wilson  <bob.wilson@acm.org>
45         * xtensa-config.h: Undef all macros before defining them.
47 2003-07-06  H.J. Lu <hongjiu.lu@intel.com>
49         * demangle.h: Support C++.
51 2003-07-01  Zack Weinberg  <zack@codesourcery.com>
53         * filenames.h: New file imported from binutils.
55 2003-06-30  Bob Wilson  <bob.wilson@acm.org>
57         * xtensa-config.h: New file imported from binutils.
59 2003-06-22  Zack Weinberg  <zack@codesourcery.com>
61         * safe-ctype.h (HC_UNKNOWN, HC_ASCII, HC_EBCDIC): Rename to
62         HOST_CHARSET_UNKNOWN, HOST_CHARSET_ASCII, HOST_CHARSET_EBCDIC
63         respectively.
65 2003-06-21  Zack Weinberg  <zack@codesourcery.com>
67         * safe-ctype.h (HC_UNKNOWN, HC_ASCII, HC_EBCDIC, HOST_CHARSET):
68         New #defines.
70 2003-06-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
72         * ansidecl.h: Delete HAVE_LONG_DOUBLE GCC bootstrap support.
74 2003-05-15  Jim Blandy  <jimb@redhat.com>
76         * libiberty.h (hex_value): Make the value an unsigned int, to
77         avoid unexpected sign-extension when cast to unsigned types larger
78         than int --- like bfd_vma, on some platforms.
79         (_hex_value): Update declaration.
81 2003-05-07  Jason Merrill  <jason@redhat.com>
83         * hashtab.h (iterative_hash): Prototype.
84         (iterative_hash_object): New macro.
86 2003-03-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
88         * ansidecl.h (ATTRIBUTE_NONNULL, ATTRIBUTE_NULL_PRINTF,
89         ATTRIBUTE_NULL_PRINTF_1, ATTRIBUTE_NULL_PRINTF_2,
90         ATTRIBUTE_NULL_PRINTF_3, ATTRIBUTE_NULL_PRINTF_4,
91         ATTRIBUTE_NULL_PRINTF_5): New.
92         (ATTRIBUTE_PRINTF): Add ATTRIBUTE_NONNULL.
94 2003-03-17  Jan Hubicka  <jh@suse.cz>
96         * hashtab.h (htab_traverse_noresize): Declare.
98 2003-02-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
100         * libiberty.h: Document return value of physmem routines.
102 2003-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
104         * libiberty.h (physmem_total, physmem_available): Prototype.
106 2003-02-20  Daniel Jacobowitz  <drow@mvista.com>
108         * libiberty.h (lrealpath): Add declaration.
110 2003-01-26  Daniel Jacobowitz  <drow@mvista.com>
112         * hashtab.h (htab_alloc_with_arg, htab_free_with_arg): Add new types.
113         (struct htab): Add alloc_arg, alloc_with_arg_f, free_with_arg_f.
114         (htab_create_alloc_ex): New prototype.
115         (htab_set_functions_ex): New prototype.
117 2002-07-17  Geoffrey Keating  <geoffk@redhat.com>
119         * splay-tree.h (GTY): Define if undefined.
120         (splay_tree_allocate_fn): Return PTR for compatibility, not void *.
121         (struct splay_tree_node_s): Support gengtype.
122         (struct splay_tree_s): Likewise.  Make allocate_data a PTR,
123         not a void *.
125 2002-11-23  Simon Burge  <simonb@wasabisystems.com>
127         * libiberty.h (basename): Add NetBSD to the list.
129 2002-11-22  Daniel Jacobowitz  <drow@mvista.com>
131         * libiberty.h (make_relative_prefix): Add prototype.
133 2002-10-26  Roger Sayle  <roger@eyesopen.com>
135         * partition.h:  Close the extern "C" scope when compiling with C++.
137 2002-10-26  Roger Sayle  <roger@eyesopen.com>
138             DJ Delorie <dj@redhat.com>
140         PR bootstrap/8351
141         * getopt.h: Avoid prototyping getopt with no arguments in C++.
143 2002-10-24  Nathan Tallent  <eraxxon@alumni.rice.edu>
145         * ansidecl.h (__STDC__): Add (__alpha && __cplusplus) to the
146         list of platform compilers that may look, smell and act
147         like __STDC__ but that may not define it.
149 2002-10-11  David O'Brien  <obrien@FreeBSD.org>
151         * getopt.h: getopt is in unistd.h (based on SUSv2).
153 2002-09-19  Alexandre Oliva  <aoliva@redhat.com>
155         * libiberty.h (asprintf, vasprintf): Don't declare them if the
156         corresponding HAVE_DECL_ macro is 1.
158 2002-06-25  Alan Modra  <amodra@bigpond.net.au>
160         * demangle.h: #include "ansidecl.h" rather than #include <ansidecl.h>.
161         * fibheap.h: Likewise.
162         * hashtab.h: Likewise.
163         * partition.h: Likewise.
164         * sort.h: Likewise.
165         * splay-tree.h: Likewise.
167 2002-06-24  Alan Modra  <amodra@bigpond.net.au>
169         * libiberty.h (basename): Don't declare if HAVE_DECL_BASENAME.
170         * getopt.h (getopt): Don't declare if HAVE_DECL_GETOPT.
172 2002-06-06  DJ Delorie  <dj@redhat.com>
174         * hashtab.h (htab): Rearrange new members for backward
175         compatibility.
176         (htab_create): Don't use a macro that requires other headers.
178 2002-06-05  Geoffrey Keating  <geoffk@redhat.com>
180         * hashtab.h (htab_create): Restore prototype for backward
181         compatibility.
182         (htab_try_create): Likewise.
184 2002-05-22  Geoffrey Keating  <geoffk@redhat.com>
186         * hashtab.h (struct htab): Update for change to length specifier.
188 2002-05-10  Geoffrey Keating  <geoffk@redhat.com>
190         * hashtab.h (GTY): Define if undefined.
191         (htab_alloc): New typedef.
192         (htab_free): New typedef.
193         (struct htab): Support gengtype; allow user-specified memory
194         allocation.
195         (htab_create_alloc): New.
196         (htab_create): Replace with #define.
197         (htab_try_create): Delete.
199 2002-04-16  David S. Miller  <davem@redhat.com>
201         * xregex2.h (__restrict_arr): Define to __restrict on GCC
202         3.1 and later.  Do not redefine.
204 2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
206         * dyn-string.h:  Also allow IN_GLIBCPP_V3 to redefine names.
208 2002-03-06  Andrew Cagney  <ac131313@redhat.com>
210         * floatformat.h (floatformat_arm_ext): Delete declaration.
212 2002-02-22  Jim Blandy  <jimb@redhat.com>
214         Allow the user to specify functions for allocating memory for
215         splay tree roots and nodes.
216         * splay-tree.h (splay_tree_allocate_fn, splay_tree_deallocate_fn):
217         New types.
218         (splay_tree): New fields: `allocate', `deallocate', and
219         `allocate_data'.
220         (splay_tree_new_with_allocator): New function declaration.
222 2002-02-05  Jason Merrill  <jason@redhat.com>
224         * demangle.h (cplus_demangle_v3): Add "options" parm.
225         (cplus_demangle_v3_type): Remove prototype.
226         (DMGL_VERBOSE): New macro.
227         (DMGL_TYPES): New macro.
229 2002-02-02  H.J. Lu  (hjl@gnu.org)
231         * demangle.h (cplus_demangle_v3_type): New prototype.
233 2002-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
235         * libiberty.h (C_alloca): Add ATTRIBUTE_MALLOC.
237 2001-12-06  Richard Henderson  <rth@redhat.com>
239         * demangle.h (no_demangling): New.
240         (NO_DEMANGLING_STYLE_STRING): New.
242 2001-10-24  Neil Booth  <neil@daikokuya.demon.co.uk>
244         * safe-ctype.h (_sch_isbasic, IS_ISOBASIC): New.
246 2001-10-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
248         * libiberty.h (hex_init): Revert delete.
250         * libiberty.h (_hex_value): Const-ify.
251         (hex_init): Delete.
253 2001-10-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
255         * demangle.h (demangler_engine): Const-ify.
256         * libiberty.h (buildargv): Likewise.
258 2001-09-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
260         * libiberty.h (reconcat): New function.
262 2001-09-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
264         * libiberty.h (concat, concat_length, concat_copy, concat_copy2,
265         ACONCAT): Improve comments.
267 2001-09-18  Alan Modra  <amodra@bigpond.net.au>
269         * objalloc.h (OBJALLOC_ALIGN): Define using offsetof.
271 2001-09-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
273         * libiberty.h (concat_length, concat_copy, concat_copy2,
274         libiberty_concat_ptr, ACONCAT): New.
276         * libiberty.h (ASTRDUP): New macro.
277         libiberty_optr, libiberty_nptr, libiberty_len): Declare.
279 2001-08-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
281         * ansidecl.h: Update comments reflecting previous change.
283 2001-08-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
285         * ansidecl.h (VA_OPEN, VA_CLOSE): Allow multiple uses.
287 2001-08-23  Lars Brinkhoff  <lars@nocrew.org>
289         * dyn-string.h, fibheap.h, partition.h, sort.h, splay-tree.h:
290         replace "GNU CC" with "GCC".
292 2001-08-21  Richard Henderson  <rth@redhat.com>
294         * fibheap.h: Tidy formatting.
295         (fibnode_t): Limit degree to 31 bits to avoid warning.
297 2001-08-20  Andrew Cagney  <ac131313@redhat.com>
299         * floatformat.h (floatformat_arm_ext): Document as deprecated.
300         (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
301         (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
302         (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
303         (floatformat_m88110_harris_ext): Declare.
305 2001-08-20  Daniel Berlin  <dan@cgsoftware.com>
307         * fibheap.h: New file. Fibonacci heap.
309 2001-08-18  Zack Weinberg  <zackw@panix.com>
311         * ansidecl.h: Reorganize for readability, remove documentation
312         of obsolete macros, document PARAMS and VPARAMS.  Add new
313         macros VA_OPEN, VA_CLOSE, and VA_FIXEDARG for nicer variadic
314         function implementation.
316 2001-08-16  Richard Henderson  <rth@redhat.com>
318         * hashtab.h (htab_hash_string): Declare.
320 2001-08-10  Andrew Cagney  <ac131313@redhat.com>
322         * libiberty.h (lbasename): Change function declaration to return a
323         const char pointer.
325 2001-08-02  Mark Kettenis  <kettenis@gnu.org>
327         * xregex.h (_REGEX_RE_COMP): Define.
328         (re_comp): Define to xre_comp.
329         (re_exec): Define to xre_exec.
331 2001-07-18  Andreas Jaeger  <aj@suse.de>
333         * xregex2.h: Place under LGPL version 2.1.
335 2001-07-10  Jeff Johnston  <jjohnstn@redhat.com>
337         * xregex.h: New file to support libiberty regex.
338         * xregex2.h: Ditto.
340 2001-05-16  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
342         * partition.h: Fix misspelling of `implementation'.
344 2001-05-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
346         * ansidecl.h (NULL_PTR): Delete.
348 2001-05-07  Zack Weinberg  <zackw@stanford.edu>
350         * demangle.h: Use PARAMS for all prototypes.
351         * ternary.h: Use PARAMS for all prototypes.  Use PTR, not void *.
352         Make arguments constant where possible.
354 2001-05-07  Mark Mitchell  <mark@codesourcery.com>
356         * splay-tree.h (splay_tree_max): New function.
357         (splay_tree_min): Likewise.
359 2001-04-15  Daniel Berlin  <dan@cgsoftware.com>
361         * ternary.h: New file - Ternary search tree header.
363 2001-04-03  Zack Weinberg  <zackw@stanford.edu>
365         * ansidecl.h: All logic from gcc/gansidecl.h moved here.
367 2001-03-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
369         * libiberty.h (alloca): Handle setting C_ALLOCA.
371 2001-03-20  Jim Blandy  <jimb@redhat.com>
373         * demangle.h (enum gnu_v3_constructor_kinds,
374         is_gnu_v3_mangled_ctor, enum gnu_v3_destructor_kinds,
375         is_gnu_v3_mangled_dtor): New declarations.
377 2001-03-14  Nick Clifton  <nickc@redhat.com>
379         * ansidecl.h: Fix copyright dates.
380         * demangle.h: Fix copyright dates.
381         * floatformat.h: Fix copyright dates.
382         * fnmatch.h: Fix copyright dates.
383         * getopt.h: Fix copyright dates.
384         * libiberty.h: Add FSF copyright notice.
385         * md5.h: Fix copyright dates.
386         * obstack.h: Fix copyright dates.
387         * splay-tree.h: Fix copyright dates.
389 2001-03-10  Neil Booth  <neil@daikokuya.demon.co.uk>
390             John David Anglin  <dave@hiauly1.hia.nrc.ca>
392         * libiberty.h: Add lbasename.
394 2001-03-06  Zack Weinberg  <zackw@stanford.edu>
396         * libiberty.h: Prototype C_alloca; define alloca to either
397         __builtin_alloca or C_alloca as appropriate.
399 2001-03-01  John David Anglin  <dave@hiauly1.hia.nrc.ca>
401         * safe-ctype.h (_sch_test): Cast enum bit to unsigned short int for pcc
402         compatibility.
404 2000-12-18  Joseph S. Myers  <jsm28@cam.ac.uk>
406         * COPYING: Update to current
407         ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references
408         to 19yy as example year in copyright notice).
410 2000-12-16  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
412         * safe-ctype.h: Make code work on all targets and not just on
413         targets where a char is 8 bits.
415 2000-12-07  Zack Weinberg  <zack@wolery.stanford.edu>
417         * safe-ctype.h: New file.
419 2000-12-06  Rodney Brown  <RodneyBrown@mynd.com>
421         * getopt.h obstack.h: Standarize copyright statement.
423 2000-12-04  Richard Henderson  <rth@redhat.com>
425         * demangle.h: Change "new_abi" to "v3" everywhere.
427 2000-11-22  Zack Weinberg  <zack@wolery.stanford.edu>
429         * libiberty.h: Move #includes to top.  Prototype xmalloc_failed.
431 2000-11-15  Kenneth Block  <kenneth.block@compaq.com>
433         * demangle.h: Add gnat and java demangle styles.
435 2000-11-04  Hans-Peter Nilsson  <hp@bitrange.com>
437         * hashtab.h (struct htab): Add member return_allocation_failure.
438         (htab_try_create): New prototype.  Mention which functions may
439         return NULL when this is used.
441 2000-11-03  Hans-Peter Nilsson  <hp@bitrange.com>
443         * hashtab.h: Change void * to PTR where necessary.
445 2000-09-10  Mark Mitchell  <mark@codesourcery.com>
447         * splay-tree.h (splay_tree_predecessor): Declare.
449 2000-09-05  John David Anglin <dave@hiauly1.hia.nrc.ca>
451         * md5.h (md5_uint32): Choose via INT_MAX instead of UINT_MAX.
453 2000-09-04  Alex Samuel  <samuel@codesourcery.com>
455         * dyn-string.h: Adjust formatting.
456         (dyn_string_insert_char): New macro.  New declaration.
458 2000-08-28  Jason Merrill  <jason@redhat.com>
460         * md5.h: New file.
462 2000-08-24  Greg McGary  <greg@mcgary.org>
464         * libiberty.h (ARRAY_SIZE): New macro.
466 2000-06-21  Alex Samuel  <samuel@codesourcery.com>
468         * dyn-string.h (dyn_string_init, dyn_string_new,
469         dyn_string_delete, dyn_string_release, dyn_string_resize,
470         dyn_string_clear, dyn_string_copy, dyn_string_copy_cstr,
471         dyn_string_prepend, dyn_string_prepend_cstr, dyn_string_insert,
472         dyn_string_insert_cstr, dyn_string_append, dyn_string_append_cstr,
473         dyn_string_append_char, dyn_string_substring_dyn_string_eq):
474         Define as same name with __cxa_ prepended, if IN_LIBGCC2.
475         (dyn_string_init, dyn_string_copy, dyn_string_copy_cstr,
476         dyn_string_prepend, dyn_string_prepend_cstr, dyn_string_insert,
477         dyn_string_insert_cstr, dyn_string_append, dyn_string_append_cstr,
478         dyn_string_append_char, dyn_string_substring): Change return type
479         to int.
481 2000-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
483         * demangle.h (demangling_styles): Remove trailing comma in enum.
485         * dyn-string.h (dyn_string_append_char): Change parameter from
486         char to int.
488 2000-06-04  Alex Samuel  <samuel@codesourcery.com>
490         * dyn-string.h: Move here from gcc/dyn-string.h.  Add new functions.
492         * demangle.h (DMGL_GNU_NEW_ABI): New macro.
493         (DMGL_STYLE_MASK): Or in DMGL_GNU_NEW_ABI.
494         (current_demangling_style): Add gnu_new_abi_demangling.
495         (GNU_NEW_ABI_DEMANGLING_STYLE_STRING): New macro.
496         (GNU_NEW_ABI_DEMANGLING): Likewise.
497         (cplus_demangle_new_abi): New declaration.
499 Tue May 30 16:53:34 2000  Andrew Cagney  <cagney@b1.cygnus.com>
501         * floatformat.h (struct floatformat): Add field name.
503 2000-05-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
505         * getopt.h (getopt): Also check HAVE_DECL_* when prototyping.
507         * libiberty.h (basename): Likewise.
509 2000-05-06  Zack Weinberg  <zack@wolery.cumb.org>
511         * ansidecl.h: #define __extension__ to nothing if
512         GCC_VERSION < 2008.
514 2000-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
516         * demangle.h (demangler_engine): Constify.
518 Thu May  4 17:15:26 2000  Philippe De Muyter  <phdm@macqel.be>
520         * sort.h (sys/types.h): File included unconditionnaly.
521         (stddef.h): File include only #ifdef __STDC__.
523 2000-05-03  Zack Weinberg  <zack@wolery.cumb.org>
525         * symcat.h: Remove #endif label.
527 2000-04-28  Kenneth Block  <block@zk3.dec.com>
528             Jason Merrill  <jason@casey.cygnus.com>
530         * demangle.h (libiberty_demanglers): new table for different styles.
531         (cplus_demangle_set_style): New function for setting style.
532         (cplus_demangle_name_to_style): New function to translate name.
534 2000-04-24  Mark Mitchell  <mark@codesourcery.com>
536         * hashtab.h (hash_pointer): Declare.
537         (eq_pointer): Likewise.
539 2000-04-23  Mark Mitchell  <mark@codesourcery.com>
541         * sort.h: New file.
543 Tue Apr 18 16:22:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
545         * hashtab.h (enum insert_option): New type.
546         (htab_find_slot, htab_find_slot_with_hash): Use it.
548 2000-04-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
550         * symcat.h: Honor autoconf macro HAVE_STRINGIZE.  Add
551         comments/caveats with regard to traditional C behavior.
553 2000-04-05  Richard Henderson  <rth@cygnus.com>
555         * splay-tree.h (splay_tree_remove): Declare.
557 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
559         * hashtab.h (hashval_t): New type.
560         (htab_find_with_hash): Use it as an argument.
561         (htab_find_slot_with_hash): Likewise.
563 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
565         * hashtab.h (htab_trav): Modify type so that first arg is of type
566         void **.
567         (htab_find_with_hash, htab_find_slot_with_hash): Declare new
568         functions.
570 2000-03-09  Alex Samuel  <samuel@codesourcery.com>
572         * partition.h: New file.
574 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
576         * hashtab.h (struct htab): Add del_f.
577         (htab_del): New type.
578         (htab_create): Add fourth argument.
580 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
582         * hashtab.h (hash_table_t): Rename to htab_t.
583         (struct hash_table): Rename to struct htab.  Shorten element
584         names.  Reorder elements by size.
585         (htab_hash, htab_eq, htab_trav): New typedefs for the callback
586         function pointers.
587         (hash_table_entry_t): Discard; just use void * for element
588         type.
590 Sat Jan  1 19:06:52 2000  Hans-Peter Nilsson  <hp@bitrange.com>
592         * symcat.h (STRINGX) [!__STDC__ || ALMOST_STDC]: Change "?" to "s"
593         to stringify argument s.
596 For older changes see ChangeLog-9103
598 Local Variables:
599 mode: change-log
600 left-margin: 8
601 fill-column: 74
602 version-control: never
603 End: