83f85e723c26dadd38c1420d0263fb0410b80f46
[external/binutils.git] / libiberty / ChangeLog
1 2009-07-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
2
3         * cp-demangle.c (d_print_comp <DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS>)
4         (d_print_comp <DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS): New.
5         (d_make_comp <DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS>)
6         (d_make_comp <DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS): New.
7         (d_demangle_callback): The variable type is now declared as enum.
8         Replace parser of _GLOBAL_ symbols by a d_make_comp call.
9
10 2009-06-21  Jakub Jelinek  <jakub@redhat.com>
11
12         * hashtab.c (htab_traverse): Don't call htab_expand for
13         nearly empty hashtabs with sizes 7, 13 or 31.
14
15 2009-06-16  Nick Clifton  <nickc@redhat.com>
16
17         PR 10197
18         * testsuite/test-demangle.c: Rename getline to get_line to avoid
19         conflicts with system function of the same name.
20
21 2009-05-30  Eli Zaretskii  <eliz@gnu.org>
22
23         * snprintf.c: Doc fix.
24
25         * vsnprintf.c: Doc fix.
26
27 2009-05-29  Kai Tietz  <kai.tietz@onevision.com>
28
29         * pex-win32.c (pex_win32_fdopenr): Set INHERIT to false.
30
31 2009-05-29  Michael Matz  <matz@suse.de>
32
33         * fibheap.c (fibheap_replace_key_data): Make sure we don't early
34         out when forcing the minimum.
35         (fibheap_delete_node): Assert that we managed to force the minimum.
36
37 2009-05-25  Tristan Gingold  <gingold@adacore.com>
38
39         * config.h-vms: Rewritten.  Define configure macros.
40         Use DEC-C builtin alloca.
41
42         * makefile.vms (OBJS): Update list.
43         (OPT): New variable.
44         (CFLAGS): Update compilation flags.
45         (libiberty.olb): Do not depend on alloca-conf.h anymore.
46
47 2009-05-19  Ian Lance Taylor  <iant@google.com>
48             Ben Elliston  <bje@au.ibm.com>
49
50         * cp-demangle.c (cplus_demangle_fill_ctor): Fix logic bug.
51         (cplus_demangle_fill_dtor): Likewise.
52
53 2009-05-17  Julian Brown  <julian@codesourcery.com>
54
55         * pex-win32.c (pex_win32_exec_child): Fix logic to avoid closing
56         standard handles (stdin, stdout, stderr) in parent.
57
58 2009-04-29  Julian Brown  <julian@codesourcery.com>
59
60         * pex-win32.c (pex_win32_pipe): Add _O_NOINHERIT.    
61         (pex_win32_exec_child): Ensure each process has only one handle open
62         on pipe endpoints. Close standard input after creating child for
63         symmetry with standard output/standard error.
64
65 2009-04-25  Eli Zaretskii  <eliz@gnu.org>
66
67         * Makefile.in (needed-list): Target removed (not used in GCC
68         3.0 and later).  All references deleted.
69         (mostlyclean): Remove references to needed.awk and needed2.awk.
70
71 2009-04-14  Eli Zaretskii  <eliz@gnu.org>
72
73         * configure.ac  (setobjs, msdosdjgpp): Move a-priori setting of
74         existing and required library functions to with_target_subdir
75         section, so that the native build does detect them at configure
76         time.
77         * configure: Regenerated.
78         
79 2009-04-13  Ozkan Sezer  <sezeroz@gmail.com>
80
81         PR target/39397
82         * pex-common.h (struct pex_obj): Store pid values as pid_t,
83         not as long (members *children and (*wait))
84         * pex-common.c (pex_run_in_environment): Likewise.
85         * pex-win32.c (pex_win32_wait): Return pid_t and properly check
86         returned pid value.
87         * pex-djgpp.c (pex_djgpp_wait): Return pid_t.
88         * pex-msdos.c (pex_msdos_wait): Likewise.
89
90 2009-04-07  Arnaud Patard <apatard@mandriva.com>
91
92        * libiberty/configure.ac: Fix Linux/MIPS matching rule.
93        * libiberty/configure: Regenerate.
94
95 2008-03-27  Ian Lance Taylor  <iant@google.com>
96
97         * memmem.c: New file, from gnulib.
98         * configure.ac: Add memmem to list of functions provided if they
99         are not available on the host.
100         * Makefile.in: Rebuild dependencies.
101         (CFILES): Add memmem.c.
102         (CONFIGURED_OFILES): Add memmem.o.
103         * configure, config.in, functions.texi: Rebuild.
104
105 2009-03-23  Jason Merrill  <jason@redhat.com>
106
107         * cp-demangle.c (d_expression): Handle pack expansion.
108         (d_find_pack): Handle DEMANGLE_COMPONENT_FUNCTION_PARAM.
109         (d_print_subexpr): Don't wrap function parms in ().
110         (d_print_comp) [DEMANGLE_COMPONENT_PACK_EXPANSION]: Handle
111         not finding a pack.
112
113 2009-03-17  Jason Merrill  <jason@redhat.com>
114
115         * cp-demangle.c (d_make_function_param): new fn.
116         (cplus_demangle_mangled_name): Work around abi v2 bug.
117         (d_expr_primary): Likewise.
118         (cplus_demangle_operators): Add alignof ops.
119         (d_expression): Handle function parameters and conversions
120         with other than 1 operand.
121         (d_print_comp): Handle function parameters.  Fix bug with
122         function used in type of function.
123         * testsuite/demangle-expected: Upate tests.
124
125 2009-02-21  Mark Mitchell  <mark@codesourcery.com>
126
127         * make-temp-file.c (<windows.h>): Include on Windows.
128         (choose_tmpdir): On Windows, use GetTempPath.
129
130 2009-01-18  Dave Korn  <dave.korn.cygwin@gmail.com>
131
132         * configure.ac (funcs, vars, checkfuncs):  Don't munge on Cygwin,
133         as it no longer shares libiberty object files.
134         * configure:  Regenerated.
135
136 2009-01-07  Jason Merrill  <jason@redhat.com>
137
138         * cp-demangle.c (d_expression): Remove mangling for zero-op casts.
139
140 2009-01-06  Ben Elliston  <bje@au.ibm.com>
141
142         * cp-demangle.c (cplus_demangle_type): Return NULL if the
143         character following a 'D' cannot be recognised.
144
145 2008-12-18  Jason Merrill  <jason@redhat.com>
146
147         PR c++/38561
148         * cp-demangle.c (d_expression, d_print_comp): Revert
149         cast changes.
150
151 2008-12-17  Jason Merrill  <jason@redhat.com>
152
153         * cp-demangle.c (d_expression): Handle rvalue stubs too.
154         [DEMANGLE_COMPONENT_CAST]: Update mangling.
155         (d_print_comp): Avoid extra ", " with empty template argument packs.
156         Remove handling for obsolete T() mangling.
157
158 2008-12-10  Jason Merrill  <jason@redhat.com>
159
160         * cp-demangle.c (cplus_demangle_type): Support fixed-point types.
161         (d_print_comp, d_dump): Likewise.
162
163 2008-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
164
165         * Makefile.in (CPPFLAGS): Define.
166         (FLAGS_TO_PASS, COMPILE.c): Add CPPFLAGS.
167
168 2008-10-15  Paolo Bonzini  <bonzini@gnu.org>
169
170         PR bootstrap/37137
171         * Makefile.in (LIBCFLAGS): Remove.
172         (FLAGS_TO_PASS): Don't mention it.
173         (COMPILE.c, MULTIOSDIR): Replace it with CFLAGS.
174
175 2008-10-08  David Edelsohn  <edelsohn@gnu.org>
176
177         * xstrdup.c: Include <sys/types.h> after "config.h"
178  
179 2008-10-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
180
181         * configure.ac: Call AC_SYS_LARGEFILE.
182         * config.in: Regenerated.
183         * configure: Likewise.
184
185 2008-10-06  Jason Merrill  <jason@redhat.com>
186
187         * cp-demangle.c (struct d_print_info): Add pack_index.
188         (d_dump): Add DEMANGLE_COMPONENT_PACK_EXPANSION.
189         (d_make_comp): Likewise.  DEMANGLE_COMPONENT_ARGLIST and
190         DEMANGLE_COMPONENT_TEMPLATE_ARGLIST can have two null args.
191         (cplus_demangle_builtin_types): Add char16/32_t.
192         (cplus_demangle_type): Recognize them.
193         (d_template_args): Handle empty argument packs.
194         (d_template_arg): Handle argument packs.
195         (d_expression): Handle dependent name.
196         (d_index_template_argument): New fn.
197         (d_lookup_template_argument): New fn.
198         (d_find_pack, d_pack_length): New fn.
199         (d_print_subexpr): Split out...
200         (d_print_comp): ...from here.  Use d_*_template_argument.
201         Handle empty arg lists.  Support pack expansions.
202         * cp-demangle.h (D_BUILTIN_TYPE_COUNT): Increase to 32.
203
204 2008-09-09  Jason Merrill  <jason@redhat.com>
205
206         * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_DECLTYPE.
207         (d_make_comp): Likewise.
208         (cplus_demangle_type): Handle decltype and DFP types.
209         (cplus_demangle_operators): Call operator takes 2 args.
210         (cplus_demangle_builtin_types): Add DFP types.
211         (d_exprlist): New fn.
212         (d_expression): Handle parm placeholders, T() and calls.
213         (d_print_comp): Handle decltype, T() and calls.
214         * testsuite/demangle-expected: Test the above.
215
216 2008-08-07  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
217
218         * pex-win32.c (argv_to_argc): New function.
219         (spawn_script): Duplicate argv before calling win32_spawn.
220
221 2008-07-31  Jakub Jelinek  <jakub@redhat.com>
222
223         * mkstemps.c (mkstemps): Keep looping even for EISDIR.
224
225 2008-07-31  Denys Vlasenko  <dvlasenk@redhat.com>
226
227         * mkstemps.c (mkstemps): If open failed with errno other than
228         EEXIST, return immediately.
229         * make-temp-file.c: Include errno.h.
230         (make_temp_file): If mkstemps failed, print an error message
231         before aborting.
232
233 2008-07-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
234
235         * maint-tool (deps): Output config.h instead of stamp-h.
236         * Makefile.in: Rebuild deps.
237         (maintainer-clean-subdir): Depend on stamp-h rather than config.h.
238         Reverts 2007-07-11 change.
239
240 2008-06-19  Eric Blake  <ebb9@byu.net>
241
242         Adjust strsignal to POSIX 200x prototype.
243         * strsignal.c (strsignal): Remove const.
244
245 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
246
247         * configure: Regenerate.
248
249 2008-06-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
250
251         * libiberty.texi: Expand TABs, drop indentation outside examples.
252         * obstacks.texi: Likewise.
253
254 2008-04-21  Aurelien Jarno  <aurelien@aurel32.net>
255
256         * libiberty/configure.ac: use -fPIC on Linux/MIPS hosts.
257         * libiberty/configure: Regenerate.
258
259 2008-04-18  Kris Van Hees <kris.van.hees@oracle.com>
260
261         * testsuite/demangle-expected: Added tests for char16_t and char32_t.
262
263 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
264
265         PR bootstrap/35457
266         * aclocal.m4: Add override.m4.
267         * configure: Regenerate.
268
269 2008-03-31  Ian Lance Taylor  <iant@google.com>
270
271         * cp-demangle.c (d_substitution): Correct overflow check to avoid
272         -fstrict-overflow optimizations.
273
274 2008-03-27  Paolo Bonzini  <bonzini@gnu.org>
275
276         * configure.ac (frags): Don't set, use frag instead.
277         (PICFLAG): Set here and substitute.
278         * Makefile.in (PICFLAG): Substitute from autoconf.
279         * configure: Regenerate.
280
281 2008-03-24  Ian Lance Taylor  <iant@google.com>
282
283         * sha1.c: New file, from gnulib.
284         * Makefile.in: Rebuild dependencies.
285         (CFILES): Add sha1.c.
286         (REQUIRED_OFILES): Add sha1.o.
287
288 2008-03-24  Doug Evans  <dje@google.com>
289
290         * make-relative-prefix.c (make_relative_prefix_1): Handle NULL
291         return from strdup.
292
293 2008-03-12  Seongbae Park <seongbae.park@gmail.com>
294
295         * cplus-dem.c (malloc, realloc): Use void * instead of char *
296         as return type.
297
298 2008-03-11  Nick Clifton  <nickc@redhat.com>
299
300         * md5.c (md5_process_bytes): Do not assume that memcpy will
301         provide a return value.
302
303 2008-02-19  Ben Elliston  <bje@au.ibm.com>
304
305         PR other/12618
306         * testsuite/Makefile.in (mostlyclean): Remove any core file.
307
308 2008-01-26  David Daney  <ddaney@avtrex.com>
309
310         * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
311         DEMANGLE_COMPONENT_COMPOUND_NAME, and
312         DEMANGLE_COMPONENT_CHARACTER cases.
313         (d_make_comp): Handle DEMANGLE_COMPONENT_COMPOUND_NAME and
314         DEMANGLE_COMPONENT_JAVA_RESOURCE cases.
315         (d_make_character): New function.
316         (d_java_resource): Same.
317         (d_special_name): Handle "Gr" case.
318         (d_print_comp): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
319         DEMANGLE_COMPONENT_COMPOUND_NAME, and
320         DEMANGLE_COMPONENT_CHARACTER cases.
321         * testsuite/demangle-expected: Add test for java resource name
322         mangling.
323
324 2008-01-23  Thiago Jung Bauermann  <bauerman@br.ibm.com>
325
326         * cplus-dem.c (demangle_function_name): Changed to return value
327         indicating if a name was correctly demangled.
328         (iterate_demangle_function): Use demangle_function_name return
329         value.
330
331 2008-01-19  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
332
333         PR other/33768
334         * splay-tree.c (rotate_left): Fix minor typo in comment.
335         (rotate_right): Likewise.
336
337 2007-11-12  Joseph Myers  <joseph@codesourcery.com>
338
339         * floatformat.c (floatformat_ibm_long_double_is_valid): Fix
340         compiler warnings.
341         (floatformat_ibm_long_double): Use
342         floatformat_ibm_long_double_is_valid.
343
344 2007-11-07  Joseph Myers  <joseph@codesourcery.com>
345             Daniel Jacobowitz  <dan@codesourcery.com>
346
347         * floatformat.c (mant_bits_set): New.
348         (floatformat_to_double): Use it.  Note no special handling of
349         split formats.
350         (floatformat_from_double): Note no special handing of split
351         formats.
352         (floatformat_ibm_long_double_is_valid,
353         floatformat_ibm_long_double): New.
354         (floatformat_ieee_single_big, floatformat_ieee_single_little,
355         floatformat_ieee_double_big, floatformat_ieee_double_little,
356         floatformat_ieee_double_littlebyte_bigword, floatformat_vax_f,
357         floatformat_vax_d, floatformat_vax_g, floatformat_i387_ext,
358         floatformat_m68881_ext, floatformat_i960_ext,
359         floatformat_m88110_ext, floatformat_m88110_harris_ext,
360         floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword,
361         floatformat_ia64_spill_big, floatformat_ia64_spill_little,
362         floatformat_ia64_quad_big, floatformat_ia64_quad_little): Update
363         for addition of split_half field.
364
365 2007-09-06  Tom Tromey  <tromey@redhat.com>
366
367         * pexecute.txh (pex_free): Document process killing.
368
369 2007-08-31  Douglas Gregor  <doug.gregor@gmail.com>
370
371         * cp-demangle.c (d_dump): Handle
372         DEMANGLE_COMPONENT_RVALUE_REFERENCE.
373         (d_make_comp): Ditto.
374         (cplus_demangle_type): Ditto.
375         (d_print_comp): Ditto.
376         (d_print_mod): Ditto.
377         (d_print_function_type): Ditto.
378
379 2007-08-24  Kai Tietz  <kai.tietz@onevision.com>
380
381         * pex-common.h: (pex_funcs): Retyped wait and exec_child to pid_t.
382         * pex-djgpp.c: Likewise.
383         * pex-msdos.c: Likewise.
384         * pex-unix.c: Likewise.
385         * pex-win32.c: Likewise.
386
387 2007-08-17  Michael Snyder  <msnyder@access-company.com>
388
389         * make-relative-prefix.c (make_relative_prefix_1): Resource leaks.
390
391 2007-08-03  Michael Snyder  <msnyder@access-company.com>
392
393         * make-relative-prefix.c (make_relative_prefix_1): Fix resource
394         leak.
395
396 2007-07-31  Michael Snyder  <msnyder@access-company.com>
397
398         * cp-demangle.c (d_print_comp): Guard against null.
399
400 2007-07-25  Ben Elliston  <bje@au.ibm.com>
401
402         * Makefile.in (CFILES): Remove ternary.c.
403         (REQUIRED_OFILES): Remove ./ternary.o.
404         (INSTALLED_HEADERS): Remove ternary.h.
405         (ternary.o): Remove.
406         * ternary.c: Remove.
407
408 2007-07-23  DJ Delorie  <dj@redhat.com>
409
410         * argv.c (writeargv): Fix typo in inline documentation.
411         * functions.texi: Regenerate.
412
413 2007-07-17  DJ Delorie  <dj@redhat.com>
414
415         * configure.ac (target_header_dir, msdosdjgpp): Remove duplicate
416         gettimeofday entry.
417         * configure: Likewise.
418
419 2007-07-11  Alexandre Oliva  <aoliva@redhat.com>
420
421         * maint-tool (deps): Output stamp-h instead of config.h.
422         * Makefile.in: Rebuild deps.
423         (maintainer-clean-subdir): Depend on stamp-h rather than config.h.
424
425 2007-07-02  Simon Baldwin <simonb@google.com>
426
427         * argv.c (writeargv): Removed declaration of unused variable.
428
429 2007-06-14  Paolo Bonzini  <bonzini@gnu.org>
430
431         * configure.ac: Use ACX_PROG_CC_ALMOST_PEDANTIC too.
432         * configure: Regenerate.
433
434 2007-06-14  Paolo Bonzini  <bonzini@gnu.org>
435
436         * aclocal.m4: Include config/warnings.m4.
437         * configure.ac: Use ACX_PROG_CC_WARNING_OPTS.
438         * configure: Regenerate.
439
440 2007-06-07  Geoffrey Keating  <geoffk@apple.com>
441
442         * configure.ac: Non-default multilibs can be cross compilations.
443         * configure: Regenerate
444
445 2007-05-07  Nathan Froyd  <froydnj@codesourcery.com>
446
447         * argv.c (writeargv): New function.
448
449 2007-05-05  Geoffrey Keating  <geoffk@apple.com>
450
451         * cp-demangle.c (d_name): Detect local-source-name.
452         (d_prefix): Likewise.
453         (d_unqualified_name): Implement local-source-name.
454
455 2007-05-03  Joel Brobecker  <brobecker@adacore.com>
456
457         * filename_cmp.c: Replace include of ctype.h by include of
458         safe-ctype.h.
459         (filename_cmp): Use TOLOWER instead of tolower for conversions
460         that are locale-independent.
461         * Makefile.in (filename_cmp.o): Add dependency on safe-ctype.h.
462
463 2007-04-11  Thomas Neumann  tneumann@users.sourceforge.net
464
465         * argv.c: Use ANSI C declarations.
466         * make-relative-prefix.c: Likewise.
467
468 2007-04-06  Joel Brobecker  <brobecker@adacore.com>
469
470         * filename_cmp.c (filename_cmp): Improve documentation.
471
472 2007-04-02  Andreas Schwab  <schwab@suse.de>
473
474         * filename_cmp.c: Include "config.h".
475
476 2007-03-29  Joel Brobecker  <brobecker@adacore.com>
477
478         * filename_cmp.c: New file.
479         * Makefile.in (CFILES): Add filename_cmp.c.
480         (REQUIRED_OFILES): Add filename_cmp.o
481         (filename_cmp.o): New rule.
482         * functions.texi: Regenerate.
483
484 2007-03-15  Geoffrey Keating  <geoffk@apple.com>
485
486         * cp-demangle.c (d_encoding): Exit early on error.
487         (d_pointer_to_member_type): Exit early if cplus_demangle_type
488         returns NULL.
489         (cplus_demangle_type): Likewise.
490         * testsuite/demangle-expected: New testcase.
491
492 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
493
494         * Makefile.in: Add install-pdf target as copied from
495         automake v1.10 rules.
496         * testsuite/Makefile.in: Add dummy install-pdf target.
497
498 2007-03-01  Peter Breitenlohner  <peb@mppmu.mpg.de>
499             Eric Botcazou  <ebotcazou@libertysurf.fr>
500
501         PR other/16513
502         * Makefile.in: Install library under $(MULTIOSDIR), not $(MULTISUBDIR).
503         Install headers in multilib independent location.
504
505 2007-02-26  DJ Delorie  <dj@redhat.com>
506
507         * configure.ac: add djgpp-specific results, so we don't have to
508         link during a cross compilation.
509         * configure: Regenerated.
510
511 2007-01-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
512
513         * hex.c: Fix typo.
514         * choose-temp.c: Likewise.
515         * functions.texi: Regenerate.
516
517 2007-01-31  Vladimir Prus  <vladimir@codesourcery.com>
518
519         * pex-common.h (struct pex_obj): New fields
520         stderr_pipe and read_err.
521         * pex-common.c (pex_init_common): Initialize
522         stderr_pipe.
523         (pex_run_in_environment): Add error checking
524         for PEX_STDERR_TO_PIPE.  Create a pipe
525         for stderr if necessary.
526         (pex_read_err): New.
527         (pex_free): Close read_err.
528         * pexecute.txh: Document changes.
529         * functions.texi: Regenerated.
530
531 2007-01-31  Ben Elliston  <bje@au.ibm.com>
532
533         * strsignal.c (psignal): Change type of signo to int.
534         * functions.texi: Regenerate.
535
536 2007-01-29  Simon Baldwin <simonb@google.com>
537
538         * cp-demangle.h (cplus_demangle_operators): External definition
539         suppressed if not building for libstdc++.
540         * cp-demangle.c (__gcclibcxx_demangle_callback): Augmented interface
541         to demangling, provides a malloc-less version of __cxa_demangle.
542         (cplus_demangle_print_callback): Public callback version of
543         cplus_demangle_print.
544         (struct d_growable_string): New growable string structure.
545         (d_growable_string_init): New function, provides support for
546         growable strings separate from print info.
547         (d_growable_string_resize): Likewise.
548         (d_growable_string_append_buffer): Likewise.
549         (d_growable_string_callback_adapter):): Likewise.
550         (d_print_init): New print info initialization function.
551         (d_print_error): Macro replace by inline function.
552         (d_print_saw_error): Likewise.
553         (d_append_char): Likewise.
554         (d_append_buffer): Likewise.
555         (d_append_string): New inline function, replaces the
556         d_append_string_constant macro.
557         (d_flush_buffer): New function, flushes buffer to callback.
558         (d_demangle_callback, is_ctor_or_dtor): Malloc-based fallback
559         for unsupported dynamic arrays replaced by alloca().
560         (d_demangle): Return string length estimating removed.
561         (d_dump): Moved error case handling from call site into function.
562         (d_print_resize): Function removed.
563         (d_print_append_char): Likewise.
564         (d_print_append_buffer): Likewise.
565         (d_print_error): Likewise.
566         (d_print_comp): Added special case handling for Java arrays.
567         (java_demangle_v3): Removed string post-processing for Java arrays,
568         now replaced by special case handling in d_print_comp.
569         (cplus_demangle_v3_callback): Augmented interface to demangling,
570         provides a malloc-less version of cplus_demangle_v3.
571         (java_demangle_v3_callback): Augmented interface to demangling,
572         provides a malloc-less version of java_demangle_v3.
573
574 2007-01-12  Ben Elliston  <bje@au.ibm.com>
575
576         * pex-unix.c (writeerr): Cast write result to void.
577
578         * choose-temp.c (choose_temp_base): Check the result of the call
579         to mktemp rather than testing the length of the modified string.
580
581 2006-12-20  Geoffrey Keating  <geoffk@apple.com>
582
583         * cp-demangle.h: Add comment explaining what to do to avoid
584         overrunning string.
585         (d_check_char): New.
586         (d_next_char): Don't advance past trailing '\0'.
587         * cp-demangle.c (cplus_demangle_mangled_name): Use d_check_char.
588         (d_nested_name): Likewise.
589         (d_special_name): Likewise.
590         (d_call_offset): Likewise.
591         (d_function_type): Likewise.
592         (d_array_type): Likewise.
593         (d_pointer_to_member_type): Likewise.
594         (d_template_param): Likewise.
595         (d_template_args): Likewise.
596         (d_template_arg): Likewise.
597         (d_expr_primary): Likewise.
598         (d_local_name): Likewise.
599         (d_substitution): Likewise.
600         (d_ctor_dtor_name): Use d_advance rather than d_next_char.
601         * testsuite/test-demangle.c: Include sys/mman.h.
602         (MAP_ANONYMOUS): Define.
603         (protect_end): New.
604         (main): Use protect_end.
605         * testsuite/demangle-expected: Add testcases for overrunning
606         the end of the string.
607
608 2006-11-30  Andrew Stubbs  <andrew.stubbs@st.com>
609             J"orn Rennecke <joern.rennecke@st.com>
610
611         PR driver/29931
612         * make-relative-prefix.c (make_relative_prefix_1): New function,
613         broken out of make_relative_prefix.  Make link resolution dependent
614         on new parameter.
615         (make_relative_prefix): Use make_relative_prefix_1.
616         (make_relative_prefix_ignore_links): New function.
617
618 2006-11-08  Vladimir Prus  <vladimir@codesourcery.com>
619
620         * pex-win32.c (no_suffixes): Remove.
621         (std_suffixes): Add "" as first element.
622         (find_executable): Remove detection of already-present
623         extension. Try all suffixes in std_suffixes.
624
625 2006-11-07  Julian Brown  <julian@codesourcery.com>
626
627         * floatformat.c (get_field): Fix segfault with little-endian word
628         order on 64-bit hosts.
629         (put_field): Likewise.
630         (min): Move definition.
631
632 2006-10-26  Danny Smith  <dannysmith@users.sourceforge.net>
633
634         pex-win32.c (argv_to_cmdline): Replace xmalloc with XNEWVEC.
635         (find_executable): Likewise.
636         (win32_spawn): Cast alloca return to (char**).
637         Replace malloc with XNEWVEC.
638         bcopy.c (bcopy): Add explict casts in assignments.
639
640 2006-10-25  Ben Elliston  <bje@au.ibm.com>
641
642         * pexecute.txh: Wrap pexecute's "flag" argument with @var {..}.
643
644 2006-10-10  Brooks Moses  <bmoses@stanford.edu>
645
646         * Makefile.in: Added "pdf", "libiberty.pdf" target support.
647         * testsuite/Makefile.in: Added empty "pdf" target.
648
649 2006-09-22  Ian Lance Taylor  <ian@airs.com>
650
651         PR other/29176
652         * cp-demangle.c (d_substitution): Check for overflow when
653         computing substitution index.
654
655 2006-08-30  Corinna Vinschen  <corinna@vinschen.de>
656
657         * configure.ac: Add case for Mingw as host.
658         * configure: Regenerate.
659
660 2006-08-27  Ian Lance Taylor  <ian@airs.com>
661
662         PR driver/27622
663         * pex-common.h (struct pex_funcs): Add toclose parameter to
664         exec_child field.
665         * pex-common.c (pex_run_in_environment): Pass toclose to
666         exec_child.
667         * pex-djgpp.c (pex_djgpp_exec_child): Add toclose parameter.
668         * pex-unix.c (pex_unix_exec_child): Likewise.
669         * pex-msdos.c (pex_msdos_exec_child): Likewise.
670         * pex-win32.c (pex_win32_exec_child): Likewise.
671
672         PR other/28797
673         * cp-demangle.c (d_pointer_to_member_type): Do add a substitution
674         for a qualified member which is not a function.
675         * testsuite/demangle-expected: Add test case.
676
677 2006-07-27  Jan Hubicka  <jh@suse.cz>
678
679         PR rtl-optimization/28071
680         * hashtab.c (htab_empty): Clear out n_deleted/n_elements;
681         downsize the hashtable.
682
683 2006-07-04  Peter O'Gorman  <peter@pogma.com>
684
685         * Makefile.in: chmod 644 before ranlib during install.
686
687 2006-06-02  Mark Shinwell  <shinwell@codesourcery.com>
688
689         * pex-unix.c (pex_unix_exec_child): Insert cast when assigning
690         to environ.
691
692 2006-06-01  Mark Shinwell  <shinwell@codesourcery.com>
693
694         * pex-common.c: New function pex_run_in_environment.
695         * pex-common.h: Add environment parameter to exec_child.
696         * pex-msdos.c: Add environment parameter to pex_msdos_exec_child.
697         * pex-djgpp.c: Add environment parameter to pex_djgpp_exec_child.
698         (pex_djgpp_exec_child): Pass environment to child process.
699         * pex-unix.c: Add environment parameter to pex_unix_exec_child.
700         (pex_unix_exec_child): Pass environment to child process.
701         * pex-win32.c: Add environment parameter to pex_win32_exec_child.
702         New function env_compare for comparing VAR=VALUE pairs.
703         (win32_spawn): Assemble environment block and pass to CreateProcess.
704         (spawn_script): Pass environment through to win32_spawn.
705         (pex_win32_exec_child): Pass environment through to spawn_script and
706         win32_spawn.
707         * functions.texi: Regenerate.
708         * pexecute.txh: Document pex_run_in_environment.
709
710 2006-05-28  Mark Shinwell  <shinwell@codesourcery.com>
711
712         * mkstemps.c: Open temporary files in binary mode.
713
714 2006-05-12  Anton Blanchard  <anton@samba.org>
715
716         * cplus-dem.c (demangle_fund_type): Ensure buf is large enough to
717         hold "int%u_t".
718
719 2006-04-24  Julian Brown  <julian@codesourcery.com>
720
721         * floatformat.c (floatformat_to_double): Fix (biased) exponent=0 case.
722
723 2006-03-29  Jim Blandy  <jimb@codesourcery.com>
724
725         * pex-common.c (pex_input_file, pex_input_pipe): New functions.
726         (pex_init_common): Initialize obj->input_file.
727         (pex_run): Close any file opened by pex_input_file.
728         * pexecute.txh (pex_input_file, pex_input_pipe): New docs.
729         * pex-common.h (struct pex_obj): New field input_file.
730         (struct pex_funcs): New function ptr fdopenw.
731         * pex-unix.c (pex_unix_fdopenw): New function.
732         (funcs): List it as our fdopenw function.
733         * pex-win32.c (pex_win32_fdopenw): New function.
734         (funcs): List it as our fdopenw function.
735         * pex-djgpp.c (funcs): Leave fdopenw null.
736         * pex-msdos (funcs): Same.
737         * functions.texi: Regenerated.
738
739 2006-04-10  Jim Blandy  <jimb@codesourcery.com>
740
741         * pex-common.c (temp_file): New function, containing guts of
742         pex-style temporary file name generation.
743         (pex_run): Use it.
744
745 2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>
746
747         * Makefile.in: Add install-html, install-html-am, and
748         install-html-recursive targets. Define mkdir_p and
749         NORMAL_INSTALL.
750         * configure.ac: AC_SUBST datarootdir, docdir, htmldir.
751         * configure: Regenerate.
752         * testsuite/Makefile.in: Add install-html and html targets.
753
754 2006-03-31  Mark Mitchell  <mark@codesourcery.com>
755
756         * pex-win32.c (<errno.h>): Include.
757         (fix_argv): Remove.
758         (argv_to_cmdline): New function.
759         (std_suffixes): New variable.
760         (no_suffixes): Likewise.
761         (find_executable): New function.
762         (win32_spawn): Likewise.
763         (spawn_script): Use win32_spawn instead of _spawnv[p].
764         (pex_win32_exec_child): Replace MSVCRT calls with Win32 API calls.
765         (pex_win32_wait): Likewise.
766
767 2006-03-24  Jim Blandy  <jimb@codesourcery.com>
768
769         * pex-common.c (pex_run): Simplify output name handling.
770
771 2006-03-12  Jim Blandy  <jimb@red-bean.com>
772
773         * pex-common.h (struct pex_obj): Doc fixes.
774
775 2006-03-11  Jim Blandy  <jimb@red-bean.com>
776
777         * functions.texi: Regenerate.
778
779 2006-02-21  Ben Elliston  <bje@au.ibm.com>
780
781         * pexecute.c (pwait): Syntax fix for previous change.
782
783 2006-02-17  Uttam Pawar  <uttamp@us.ibm.com>
784
785         * pexecute.c (pwait): Free vector pointer.
786         * partition.c (partition_print): Free class_elements pointer.
787
788 2006-02-11  Roger Sayle  <roger@eyesopen.com>
789             R. Scott Bailey  <scott.bailey@eds.com>
790             Bill Northcott  <w.northcott@unsw.edu.au>
791
792         PR bootstrap/16787
793         * floatformat.c: Include <float.h> where available.
794         (NAN): Use value of DBL_QNAN if defined, and NAN isn't.
795
796 2006-01-29  Gabriel Dos Reis  <gdr@integrable-solutions.net>
797
798         * configure.ac: Add -Wc++-compat to ac_libibety_warn_cflags where
799         supported.
800         * configure: Regenerated.
801
802 2006-01-20  Carlos O'Donell  <carlos@codesourcery.com>
803
804         * testsuite/Makefile.in: Add test-expandargv test.
805         * testsuite/test-expandargv.c: New test.
806         * argv.c (expandargv): Check for errors with ferror,
807         rather than just by looking at return value from fread.
808
809 2005-12-17  Gabriel Dos Reis  <gdr@integrable-solutions.net>
810
811         * floatformat.c (floatformat_i387_ext_is_valid): Use explicit cast
812         to convert from "from".
813         (floatformat_to_double): Likewise.
814         (floatformat_from_double): Use explicit cast to convert from "to".
815
816 2005-12-10  Terry Laurenzo  <tlaurenzo@gmail.com>
817
818         PR java/9861
819         * cp-demangle.c (d_bare_function_type): Recognize new 'J' qualifer
820         and include return type when found.
821         (d_print_comp)[DEMANGLE_COMPONENT_FUNCTION_TYPE]: Add
822         conditional logic to change printing order of return type.when
823         the DMGL_RET_POSTFIX option is present.
824         (java_demangle_v3): Add DMGL_RET_POSTFIX option to d_demangle
825         call.
826         * testsuite/test-demangle.c (main): Recognize option --ret-postfix
827         * testsuite/demangle-expected: Test cases to verify extended encoding.
828         Updated comment to document --ret-postfix option.
829
830 2005-11-06  Richard Guenther  <rguenther@suse.de>
831
832         * splay-tree.c (rotate_left): New function.
833         (rotate_right): Likewise.
834         (splay_tree_splay_helper): Remove.
835         (splay_tree_splay): Re-implement.
836
837 2005-10-31  Mark Kettenis  <kettenis@gnu.org>
838
839         * floatformat.c (floatformat_vax_aingle, floatformat_vax_double):
840         New variables.
841
842 2005-10-07  Mark Mitchell  <mark@codesourcery.com>
843
844         * at-file.texi: Fix typo.
845
846 2005-10-03  Mark Mitchell  <mark@codesourcery.com>
847
848         * at-file.texi: New file.
849
850 2005-09-27  Mark Mitchell  <mark@codesourcery.com>
851
852         * argv.c (expandargv): Do not use xmalloc_failed.
853
854 2005-09-26  Mark Mitchell  <mark@codesourcery.com>
855
856         * argv.c (safe-ctype.h): Include it.
857         (ISBLANK): Remove.
858         (stdio.h): Include.
859         (buildargv): Use ISSPACE instead of ISBLANK.
860         (expandargv): New function.
861         * Makefile.in: Regenerated.
862
863 2005-09-14  Christopher Faylor  <cgf@timesys.com>
864
865         * pex-win32.c: Include "windows.h".
866         (backslashify): New function.
867         (fix_argv): Use backslashify to convert path to windows format.
868         Allocate one more place in new argv for potential executable from '#!'
869         parsing.
870         (tack_on_executable): New function.  Conditional on USE_MINGW_MSYS
871         (openkey): Ditto.
872         (mingw_rootify): Ditto.
873         (msys_rootify): Ditto.
874         (spawn_script): New function.
875         (pex_win32_exec_child): Save translated argv in newargv.  Pass to
876         spawn_script if spawnv* fails.
877         (main): New function.  Conditional on MAIN.  Useful for testing.
878
879 2005-08-17  Mark Kettenis  <kettenis@gnu.org>
880
881         * floatformat.c (floatformat_always_valid): Change type of last
882         argument to `void *'.
883         (floatformat_i387_ext_is_valid): Likewise.
884         (floatformat_to_double): Change type of second argument to `const
885         void *'.
886         (floatformat_from_double): Change type of last argument to `void
887         *'.
888         (floatformat_is_valid): Change type of last argument to `const
889         void *'.
890         (ieee_test): Remove redundant casts.
891
892 2005-08-17  Kelley Cook  <kcook@gcc.gnu.org>
893
894         * strverscmp.c: Update FSF address.
895         * testsuite/Makefile.in: Likewise.
896         * testsuite/test-demangle.c: Likewise.
897         * testsuite/test-pexecute.c: Likewise.
898
899 2005-07-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
900
901         * getopt.c: Include ansidecl.h before system headers.
902
903 2005-07-22  Ben Elliston  <bje@gnu.org>
904
905         * getopt.c: Include "ansidecl.h".
906         (_getopt_initialize): Mark argc and argv parameters as unused.
907
908 2005-07-22  Ben Elliston  <bje@gnu.org>
909
910         * regex.c (regcomp): Change type of `i' from unsigned to int.
911
912 2005-07-22  Ben Elliston  <bje@gnu.org>
913
914         Recover patch lost in the sourceware repository:
915         2005-07-09  Ben Elliston  <bje@au.ibm.com>
916         * memcpy.c: Remove ANSI_PROTOTYPES conditional code.
917         * memmove.c: Likewise.
918         * objalloc.c: Likewise.
919
920 2005-07-22  Ben Elliston  <bje@gnu.org>
921
922         * configure.ac: Check for a getopt(3) declaration.
923         * configure, config.in: Regenerate.
924
925 2005-07-15  Ben Elliston  <bje@au.ibm.com>
926
927         * regex.c (TRANSLATE): Cast rhs of ternary expression to char.
928
929 2005-07-12  Ben Elliston  <bje@au.ibm.com>
930
931         * floatformat.c (floatformat_to_double): Add a comment about a
932         potential source of warnings when compiling this file.
933
934 2005-07-12  Ben Elliston  <bje@au.ibm.com>
935
936         * pexecute.c (pexecute): Cast string litrals to char *.
937         * regex.c (re_comp): Cast a call to gettext() to char *.
938
939 2005-07-07  Kelley Cook  <kcook@gcc.gnu.org>
940
941         * config.table: Delete file.  Move former contents into ...
942         * configure.ac: ... here and escape any brackets for m4.
943         * Makefile.in (config.status): Remove dependency on config.table.
944         * configure: Regenerate.
945
946 2005-07-07  Kelley Cook  <kcook@gcc.gnu.org>
947
948         * config.in: Regenerate for 6/20 change.
949
950 2005-07-03  Steve Ellcey  <sje@cup.hp.com>
951
952         PR other/13906
953         * md5.c (md5_process_bytes): Check alignment.
954
955 2005-07-01  Ian Lance Taylor  <ian@airs.com>
956
957         PR other/22268
958         * cp-demangle.c (d_expr_primary): Don't run off the end of the
959         string while looking for the end of a literal value.
960         * testsuite/demangle-expected: Add test case.
961
962 2005-06-30  Daniel Berlin  <dberlin@dberlin.org>
963
964         * hashtab.c (EMPTY_ENTRY): Moved and renamed.
965         (DELETED_ENTRY): Ditto.
966
967 2005-06-20  Geoffrey Keating  <geoffk@apple.com>
968
969         * strverscmp.c: New.
970         * Makefile.in (CFILES): Add strverscmp.c.
971         (CONFIGURED_OFILES): Add strverscmp.o.
972         (strverscmp.o): New rule.
973         (stamp-functions): Add $(srcdir) to files in source directory.
974         * configure.ac (funcs): Add strverscmp.
975         (AC_CHECK_FUNCS): Add strverscmp.
976         * configure: Regenerate.
977         * functions.texi: Regenerate.
978
979 2005-05-28  Eli Zaretskii  <eliz@gnu.org>
980
981         * configure.ac: Add snprintf and vsnprintf to AC_CHEK_DECLS.
982         * config.in, configure: Regenerate.
983
984 2005-05-25  Richard Henderson  <rth@redhat.com>
985
986         * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_HIDDEN_ALIAS.
987         (d_make_comp, d_print_comp): Likewise.
988         (d_special_name): Generate one.
989         * testsuite/demangle-expected: Add a hidden alias test.
990
991 2005-05-24  Gabriel Dos Reis  <gdr@integrable-solutions.net>
992
993         * configure.ac: Check declarations for calloc(), getenv(),
994         malloc(), realloc() and sbrk().
995         * config.in: Regenerate.
996         * configure: Likewise.
997
998         * alloca.c (C_alloca): Change "new" to "new_storage".  Use XNEWVEC
999         instead of xmalloc.
1000         * choose-temp.c (choose_temp_base): Use XNEWVEC instea od xmalloc.
1001         * concat.c (liiberty_concat_ptr): Surround definition with an
1002         extern "C" block, if __cplusplus.
1003         (concat): Use XNEWVEC instead of xmalloc.
1004         (reconcat): Likewise.
1005         * cp-demangle.c (struct d_print_template): Rename member
1006         "template" to "template_decl".  Adjust use throughout the file.
1007         (d_print_resize): Properly cast return value of realloc().
1008         (cplus_demangle_print): Same for malloc().
1009         (d_demangle): Likewise.
1010         * cp-demint.c (cplus_demangle_fill_builtin_type): Rename parameter
1011         "typename" to "type_name".
1012         * cplus-dem.c (grow_vect): Use XRESIZEVEC instead of xrealloc().
1013         (work_stuff_copy_to_from): Use XNEWVEC insteand of xmalloc().
1014         (demangle_template_value_parm): Likewise.
1015         (demangle_template): Likewise.
1016         (recursively_demangle): Likewise.
1017         (do_hpacc_template_literal): Likewise.
1018         (do_arg): Likewise.
1019         (remember_type): Likewise.
1020         (remember_Ktype): Likewise.
1021         (register_Btype): Likewise.
1022         (string_need): Use XRESIZEVEC instead of xrealloc().
1023         * dyn-string.c (dyn_string_init): Use XNEWVEC.
1024         (dyn_string_new): Use XNEW.
1025         (dyn_string_resize): Use XRESIZEVEC.
1026         * fnmatch.c (fnmatch): Rename local variable "not" to "negate".
1027         * getopt.c (getenv): Declare only if !__cplusplus and !getenv.
1028         Otherwise include <stdlib.h>.
1029         (exchange): Cast return value of malloc().
1030         * hashtab.c (htab_size): Define as both macro and non-inline
1031         function.
1032         (htab_elements): Likewise.
1033         * getpwd.c (getpwd): Use XNEWVEC.
1034         (htab_create_alloc_ex): Use C90 prototype-style.
1035         * lrealpath.c (lrealpath): Appropriately cast return value of
1036         malloc().
1037         * make-relative-prefix.c (save_string): Likewise.
1038         * make-temp-file.c (try_dir): Rename from "try".  Adjust use in
1039         the file.
1040         (choose_tmpdir): Use XNEWVEC.
1041         * mkstemps.c (mkstemps): Rename parameter "template" to "pattern".
1042         * pex-common.c (pex_init_common): Use XNEW.
1043         (pex_add_remove): Use XRESIZEVEC.
1044         (pex_run): Likewise.
1045         (pex_get_status_and_time): Likewise.
1046         * pex-djgpp.c (pex_djgpp_exec_child): Likewise.
1047         * pex-msdos.c (pex_init): Use XNEW.
1048         (pex_msdos_exec_child): Likewise.
1049         (pex_msdos_exec_child): Use XRESIZEVEC.
1050         * pex-unix.c (pex_wait): Use XNEW.
1051         * pex-win32.c (fix_argv): Use XNEWVEC.
1052         * pexecute.c (pwait): Likewise.
1053         * setenv.c (setenv): Properly cast return value of malloc().
1054         * sigsetmask.c (sigsetmask): Rename local variables "old" and
1055         "new" to "old_sig" and "new_sig".
1056         * sort.c (main): Use XNEWVEC.
1057         * spaces.c (spaces): Cast return value of malloc().
1058         * strndup.c (strndup): Likewise.
1059         * ternary.c (ternary_insert): Use XNEW.
1060         * xmalloc.c (malloc, realloc, calloc, sbrk): Surround declaration
1061         with an extern "C" block if __cplusplus.
1062         * xstrdup.c (xstrdup): Cast return value of memcpy().
1063         * xstrerror.c (strerror): Enclose declaration in an extern "C"
1064         block if __cplusplus.
1065         * xstrndup.c (xstrndup): Use XNEW. Cast return value of memcpy().
1066
1067 2005-05-16  Andreas Jaeger  <aj@suse.de>
1068
1069         * getpwd.c: Remove unneeded prototype getcwd and move getwd so
1070         that it's only declared if needed.
1071
1072         * getopt1.c: Change order of includes so that __GNU_LIBRARY__ is
1073         defined.
1074
1075 2005-05-15  Andreas Jaeger  <aj@suse.de>
1076
1077         * functions.texi: Regenerated.
1078
1079 2005-05-15  Eli Zaretskii  <eliz@gnu.org>
1080
1081         * pexecute.txh: Enclose multi-word data types in @deftypefn in
1082         braces.  Minor wording fixes.  Use --- for em-dash.  Use
1083         @enumerate in enumerated lists.
1084
1085         * fopen_unlocked.c: Enclose multi-word data types in @deftypefn in
1086         braces.
1087
1088 2005-05-11  Eli Zaretskii  <eliz@gnu.org>
1089
1090         * pex-djgpp.c: Include string.h, fcntl.h, unistd.h, and
1091         sys/stat.h.
1092         (pex_init): Fix last argument to pex_init_common.
1093         (pex_djgpp_exec_child): Remove leading underscore from _open,
1094         _dup, _dup2, _close, and _spawnv/_spawnvp.  Replace `program',
1095         which is undeclared, with `executable', which was unused.  Remove
1096         unused variable `e'.  Fix casting of last arg to spawnv/spawnvp.
1097         (pex_djgpp_wait): Declare arguments with ATTRIBUTE_UNUSED.
1098
1099 2005-05-11  Paul Brook  <paul@codesourcery.com>
1100
1101         * Makefile.in: Regenerate dependencies.
1102
1103 2005-05-10  Nick Clifton  <nickc@redhat.com>
1104
1105         * Update the address and phone number of the FSF organization in
1106         the GPL notices in the following files:
1107         COPYING.LIB, Makefile.in, _doprnt.c, argv.c, asprintf.c,
1108         choose-temp.c, clock.c, concat.c, copying-lib.texi, cp-demangle.c,
1109         cp-demangle.h, cp-demint.c, cplus-dem.c, dyn-string.c, fdmatch.c,
1110         fibheap.c, floatformat.c, fnmatch.c, fopen_unlocked.c,
1111         gather-docs, getopt.c, getopt1.c, getruntime.c, hashtab.c, hex.c,
1112         lbasename.c, lrealpath.c, maint-tool, make-relative-prefix.c,
1113         make-temp-file.c, md5.c, mempcpy.c, mkstemps.c, objalloc.c,
1114         obstack.c, partition.c, pex-common.c, pex-common.h, pex-djgpp.c,
1115         pex-msdos.c, pex-one.c, pex-unix.c, pex-win32.c, pexecute.c,
1116         physmem.c, putenv.c, regex.c, safe-ctype.c, setenv.c, snprintf.c,
1117         sort.c, spaces.c, splay-tree.c, stpcpy.c, stpncpy.c, strndup.c,
1118         strtod.c, ternary.c, unlink-if-ordinary.c, vasprintf.c,
1119         vsnprintf.c, vsprintf.c, xexit.c, xmalloc.c, xstrndup.c
1120
1121 2005-05-06  Kelley Cook  <kcook@gcc.gnu.org>
1122
1123         * aclocal.m4 (AC_DEFINE_NOAUTOHEADER): Remove.
1124         * configure.ac: Replace any AC_DEFINE_NOAUTOHEADER with AC_DEFINE.
1125         * configure: Regenerate.
1126
1127 2005-05-06  Kelley Cook  <kcook@gcc.gnu.org>
1128
1129         * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
1130         Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
1131         * aclocal.m4: Don't include accross.m4.
1132         * configure, config.in: Regenerate.
1133
1134 2005-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1135
1136         * fopen_unlocked.c (unlock_std_streams): New.
1137
1138         * functions.texi: Regenerate.
1139
1140 2005-04-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1141
1142         * fopen_unlocked.c (unlock_stream): New.
1143         Consolidate unlocking code into a helper function.
1144
1145         * functions.texi: Regenerate.
1146
1147 2005-04-13  Gabriel Dos Reis  <gdr@integrable-solutions.net>
1148
1149         * asprintf.c: Include config.h.
1150         * basename.c: Likewise.
1151         * fdmatch.c: Likewise.
1152         * hex.c: Likewise.
1153         * lbasename.c: Likewise.
1154         * spaces.c: Likewise.
1155         * xatexit.c:Likewise.
1156         * configure.ac:  Do check declarations for basename, ffs, asprintf
1157         and vasprintf for real.
1158         * configure: Regenerate.
1159
1160 2005-04-13  Gabriel Dos Reis  <gdr@integrable-solutions.net>
1161
1162         * argv.c (dupargv): Allocate space of argv[argc], not
1163         sizeof(char *) of that amount.  Cast result to char *.
1164
1165 2005-04-12  Gabriel Dos Reis  <gdr@integrable-solutions.net>
1166
1167         * regex.c (wcs_re_match_2_internal, byte_re_match_2_internal):
1168         Replace not with negate.
1169
1170 2005-04-12  Gabriel Dos Reis  <gdr@integrable-solutions.net>
1171
1172         * configure.ac: Check declarations for basename, ffs, asprintf,
1173         vasprintf.
1174         * configure: Regenerate.
1175         * config.in: Likewise.
1176
1177 2005-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1178
1179         * Makefile.in (CFILES): Add fopen_unlocked.c.
1180         (REQUIRED_OFILES): Add ./fopen_unlocked.o.
1181         Regenerate dependencies.
1182
1183         * configure.ac: Check for stdio_ext.h and __fsetlocking.
1184
1185         * fopen_unlocked.c: New file.
1186
1187         * functions.texi, configure, config.in: Regenerate.
1188
1189 2005-04-04  Ian Lance Taylor  <ian@airs.com>
1190
1191         * testsuite/test-pexecute.c (TEST_PEX_RUN): Move variable
1192         declaration before statement.
1193
1194 2005-04-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1195
1196         * bcmp.c: Fix warnings and implement using memcmp.
1197         * bcopy.c: Fix warnings.
1198         * bzero.c: Fix warnings and implement using memset.
1199
1200         * configure.ac (ac_libiberty_warn_cflags): Add -Wwrite-strings
1201         -Wstrict-prototypes.
1202         * configure, config.in: Regenerate.
1203
1204         * bsearch.c, index.c, rindex.c, strstr.c, strtol.c, waitpid.c: Fix
1205         warnings and reconcile interfaces with relevant standards.
1206
1207 2005-04-02  Ian Lance Taylor  <ian@airs.com>
1208
1209         * cp-demangle.c: Update copyright.
1210
1211 2005-03-31  Joseph S. Myers  <joseph@codesourcery.com>
1212
1213         * gettimeofday.c: Add "Supplemental" to @deftypefn.
1214         * functions.texi: Regenerate.
1215
1216 2005-03-28  Ian Lance Taylor  <ian@airs.com>
1217
1218         * pex-common.c: New file.
1219         * pex-one.c: New file.
1220         * pexecute.c: New file.
1221         * pex-common.h: Include <stdio.h>.
1222         (struct pex_obj): Define.
1223         (struct pex_funcs): Define.
1224         (pex_init_common): Declare.
1225         * pex-unix.c: Rewrite.
1226         * pex-win32.c: Rewrite.
1227         * pex-djgpp.c: Rewrite.
1228         * pex-msdos.c: Rewrite.
1229         * testsuite/text-pexecute.c: New file.
1230         * pexecute.txh: Rewrite.
1231         * configure.ac: Check for wait3 and wait4.  Set CHECK to
1232         really-check rather than check-cplus-dem.
1233         * functions.texi: Rebuild.
1234         * Makefile.in: Rebuild dependencies.
1235         (CFILES): Add pexecute.c, pex-common.c, pex-one.c.
1236         (REQUIRED_OFILES): Add pexecute.o, pex-common.o, pex-one.o.
1237         * testsuite/Makefile.in (really-check): New target.
1238         (check-pexecute, test-pexecute): New targets.
1239         * configure: Rebuild.
1240
1241 2005-03-28  Mark Kettenis  <kettenis@gnu.org>
1242
1243         * unlink-if-ordinary.c: Include <sys/types.h>.
1244
1245 2005-03-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
1246
1247         Convert libiberty to use ISO C prototype style 7/n.
1248         * regex.c (PARAMS): Remove definition.
1249         (PREFIX): Unconditionaly define using ISO C ## operator.
1250         (init_syntax_once, extract_number, extract_number_and_incr,
1251         print_fastmap, print_partial_compiled_pattern,
1252         print_compiled_pattern, print_double_string, printchar,
1253         convert_mbs_to_wcs, re_set_syntax, regex_grow_registers,
1254         regex_compile, store_op1, store_op2, insert_op1, insert_op2,
1255         at_begline_loc_p, at_endline_p, group_in_compile_stack,
1256         insert_space, wcs_compile_range, byte_compile_range,
1257         truncate_wchar, re_compile_fastmap, re_compile_fastmap,
1258         re_set_registers, re_search, re_search_2, re_search_3, re_match,
1259         re_match_2, count_mbs_length, wcs_re_match_2_internal,
1260         byte_re_match_2_internal, group_match_null_string_p,
1261         alt_match_null_string_p, common_op_match_null_string_p,
1262         bcmp_translate, re_compile_pattern, re_comp, re_exec, regcomp,
1263         regexec, regerror, regfree): Use ISO C prototype style.
1264         * partition.c: (elem_compare): Likewise.
1265         * cp-demangle.c (print_usage): Likewise.
1266
1267 2005-03-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
1268
1269         Convert libiberty to use ISO C prototype style 5/n.
1270         * random.c (srandom, initstate, setstate, random): Use ISO C
1271         prototypes.
1272         * putenv.c (putenv): Likewise.
1273         * physmem.c (physmem_available, physmem_total, main): Likewise.
1274         * pex-win32.c (fix_argv, pexecute, pwait): Likewise.
1275         * pex-unix.c (pexecute, pwait): Likewise.
1276         * pex-msdos.c (pexecute, pwait): Likewise.
1277         * pex-djgpp.c (pexecute, pwait): Likewise.
1278         * partition.c (partition_new, partition_delete, partition_union)
1279         (elem_compare, partition_print): Likewise.
1280         * obstack.c (_obstack_begin, _obstack_begin_1, _obstack_newchunk,
1281         _obstack_allocated_p, _obstack_free, obstack_free,
1282         _obstack_memory_used, print_and_abort, obstack_next_free,
1283         obstack_object_size, obstack_base): Likewise.  Remove codes
1284         predicated on !defined(__STDC__).
1285         * objalloc.c (objalloc_create, _objalloc_alloc, objalloc_free,
1286         objalloc_free_block): Use ISO C prototypes.
1287         * mkstemps.c (mkstemps): Likewise.
1288         * memset.c (memset): Likewise.
1289         * mempcpy.c (mempcpy): Likewise.
1290         * rename.c (rename): Likewise.
1291         * rindex.c (rindex): Likewise.
1292         * setenv.c (setenv, unsetenv): Likewise.
1293         * sigsetmask.c (sigsetmask): Likewise.
1294         * snprintf.c (snprintf): Likewise.
1295         * sort.c (sort_pointers, xmalloc): Likewise.
1296         * spaces.c (spaces): Likewise.
1297         * splay-tree.c (splay_tree_delete_helper,
1298         splay_tree_splay_helper, splay_tree_splay,
1299         splay_tree_foreach_helper, splay_tree_xmalloc_allocate,
1300         splay_tree_new, splay_tree_xmalloc_allocate,
1301         splay_tree_new_with_allocator, splay_tree_delete,
1302         splay_tree_insert, splay_tree_remove, splay_tree_lookup,
1303         splay_tree_max, splay_tree_min, splay_tree_predecessor,
1304         splay_tree_successor, splay_tree_foreach,
1305         splay_tree_compare_ints, splay_tree_compare_pointers): Likewise.
1306         * stpcpy.c (stpcpy): Likewise.
1307         * stpncpy.c (stpncpy): Likewise.
1308         * strcasecmp.c (strcasecmp): Likewise.
1309         * strchr.c (strchr): Likewise.
1310         * strdup.c (strdup): Likewise.
1311
1312 2005-03-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
1313
1314         Convert libiberty to use ISO C prototype style 6/n.
1315         * strerror.c (init_error_tables, errno_max, strerror, strerrno,
1316         strtoerrno, main): Use ISO C prototype style.
1317         * strncasecmp.c (strncasecmp): Likewise.
1318         * strncmp.c (strncmp): Likewise.
1319         * strndup.c (strndup): Likewise.
1320         * strrchr.c (strrchr): Likewise.
1321         * strsignal.c (init_signal_tables, signo_max, strsignal,
1322         strsigno, strtosigno, psignal, main): Likewise.
1323         * strstr.c (strstr): Likewise.
1324         * strtod.c (strtod, atof): Likewise.
1325         * strtol.c (strtol): Likewise.
1326         * strtoul.c (strtoul): Likewise.
1327         * ternary.c (ternary_insert, ternary_cleanup, ternary_search,
1328         ternary_recursivesearch): Likewise.
1329         * tmpnam.c (tmpnam): Likewise.
1330         * unlink-if-ordinary.c (unlink_if_ordinary): Likewise.
1331         * vasprintf.c (int_vasprintf, vasprintf, checkit, main): Likewise.
1332         * vfork.c (vfork): Likewise.
1333         * vfprintf.c (vfprintf): Likewise.
1334         * vprintf.c (vprintf): Likewise.
1335         * vsnprintf.c (vsnprintf, checkit, main): Likewise.
1336         * vsprintf.c (vsprintf): Likewise.
1337         * waitpid.c (waitpid): Likewise.
1338         * xatexit.c (xatexit, xatexit_cleanup): Likewise.
1339         * xexit.c (xexit): Likewise.
1340         * xmalloc.c (xmalloc_set_program_name, xmalloc_failed, xmalloc,
1341         xcalloc, xrealloc): Likewise.
1342         * xmemdup.c (xmemdup): Likewise.
1343         * xstrdup.c (xstrdup): Likewise.
1344         * xstrerror.c (xstrerror): Likewise.
1345         * xstrndup.c (xstrndup): Likewise.
1346
1347 2005-03-27  Andreas Jaeger  <aj@suse.de>
1348
1349         * configure.ac (ac_c_preproc_warn_flag): Remove -Wtraditional
1350         flags.
1351         * configure: Regenerated.
1352
1353 2005-03-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
1354
1355         * getopt1.c (getopt_long_only): Fix thinko.
1356
1357 2005-03-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
1358
1359         Convert libiberty to use ISO C prototype style 4/n.
1360         * hashtab.c (higher_prime_index, hash_pointer, eq_pointer,
1361         htab_size, htab_elements, htab_mod_1, htab_mod, htab_mod_m2,
1362         htab_create_alloc, htab_set_functions_ex, htab_create,
1363         htab_try_create, htab_delete, htab_empty,
1364         find_empty_slot_for_expand, htab_expand, htab_find_with_hash,
1365         htab_find, htab_find_slot_with_hash, htab_find_slot,
1366         htab_remove_elt, htab_remove_elt_with_hash, htab_clear_slot,
1367         htab_traverse_noresize, htab_traverse, htab_collisions,
1368         htab_hash_string, iterative_hash): Use ISO C prototype.
1369         * hex.c (hex_init): Likewise.
1370         * index.c (index): Likewise.
1371         * insque.c (insque, remque): Likewise.
1372         * lbasename.c (lbasename): Likewise.
1373         * lrealpath.c (lrealpath): Likewise.
1374         * make-relative-prefix.c (save_string, split_directories,
1375         free_split_directories, make_relative_prefix): Likewise.
1376         * make-temp-file.c (try, choose_tmpdir, make_temp_file): Likewise.
1377         * md5.c (md5_init_ctx, md5_read_ctx, md5_finish_ctx, md5_stream,
1378         md5_buffer, md5_process_bytes, md5_process_block): Likewise.
1379         * memchr.c (memchr): Likewise.
1380         * memcpy.c (memcpy): Likewise.
1381         * memmove.c (memmove): Likewise.
1382         * gettimeofday.c (gettimeofday): Likewise.
1383         * getruntime.c (get_run_time): Likewise.
1384         * getpwd.c (getpwd, getpwd): Likewise.
1385         * getpagesize.c (getpagesize): Likewise.
1386         * getopt1.c (getopt_long, getopt_long_only, main): Likewise.
1387         * getopt.c (my_index, exchange, _getopt_initialize,
1388         _getopt_internal, getopt, main): Likewise.
1389         * getcwd.c (getcwd): Likewise.
1390         * fnmatch.c (fnmatch): Likewise.
1391         * floatformat.c (floatformat_always_valid,
1392         floatformat_i387_ext_is_valid, get_field, floatformat_to_double,
1393         put_field, floatformat_from_double, floatformat_is_valid,
1394         ieee_test, main): Likewise.
1395         * fibheap.c (fibheap_new, fibnode_new, fibheap_compare,
1396         fibheap_comp_data, fibheap_insert, fibheap_min, fibheap_min_key,
1397         fibheap_union, fibheap_extract_min, fibheap_replace_key_data,
1398         fibheap_replace_key, fibheap_replace_data, fibheap_delete_node,
1399         fibheap_delete, fibheap_empty, fibheap_extr_min_node,
1400         fibheap_ins_root, fibheap_rem_root, fibheap_consolidate,
1401         fibheap_link, fibheap_cut, fibheap_cascading_cut,
1402         fibnode_insert_after, fibnode_remove): Likewise.
1403         * ffs.c (ffs): Likewise.
1404         * fdmatch.c (fdmatch): Likewise.
1405         * dyn-string.c (dyn_string_init, dyn_string_new,
1406         dyn_string_delete, dyn_string_release, dyn_string_resize,
1407         dyn_string_clear, dyn_string_copy, dyn_string_copy_cstr,
1408         dyn_string_prepend, dyn_string_prepend_cstr, dyn_string_insert,
1409         dyn_string_insert_cstr, dyn_string_insert_char,
1410         dyn_string_append, dyn_string_append_cstr,
1411         dyn_string_append_char, dyn_string_substring, dyn_string_eq):
1412         Likewise.
1413
1414 2005-03-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
1415
1416         Convert libiberty to use ISO C prototype style 3/n.
1417         * cplus-dem.c (set_cplus_marker_for_demangling, consume_count,
1418         consume_count_with_underscores, code_for_qualifier,
1419         qualifier_string, demangle_qualifier, cplus_demangle_opname,
1420         cplus_mangle_opname, cplus_demangle_set_style,
1421         cplus_demangle_name_to_style, cplus_demangle, grow_vect,
1422         ada_demangle, internal_cplus_demangle, squangle_mop_up,
1423         work_stuff_copy_to_from, delete_non_B_K_work_stuff,
1424         delete_work_stuff, mop_up, demangle_signature,
1425         demangle_method_args, demangle_template_template_parm,
1426         demangle_expression, demangle_integral_value,
1427         demangle_real_value, demangle_template_value_parm,
1428         demangle_template, arm_pt, demangle_arm_hp_template,
1429         demangle_class_name, demangle_class, iterate_demangle_function,
1430         demangle_prefix, gnu_special, recursively_demangle, arm_special,
1431         demangle_qualified, get_count, do_type, demangle_fund_type,
1432         do_hpacc_template_const_value, do_hpacc_template_literal,
1433         snarf_numeric_literal, do_arg, remember_type, remember_Ktype,
1434         register_Btype, remember_Btype, forget_B_and_K_types,
1435         forget_types, demangle_args, demangle_nested_args,
1436         demangle_function_name, string_need, string_delete, string_init,
1437         string_clear, string_empty, string_append, string_appends,
1438         string_appendn, string_prepend, string_prepends, string_prependn,
1439         string_append_template_idx): Use ISO C prootype style.
1440         * cp-demint.c (cplus_demangle_fill_component,
1441         cplus_demangle_fill_builtin_type, cplus_demangle_fill_operator,
1442         cplus_demangle_v3_components): Likewise.
1443
1444 2005-03-26  Gabriel Dos Reis  <gdr@integrable-solutions.net>
1445
1446         Convert libiberty to use ISO C prototype style 2/n.
1447         * cp-demangle.h: Remove uses of PARAMS.
1448         * cp-demangle.c: Likewise.
1449         (d_dump, cplus_demangle_fill_name,
1450         cplus_demangle_fill_extended_operator, cplus_demangle_fill_ctor,
1451         cplus_demangle_fill_dtor, d_make_empty, d_make_comp, d_make_name,
1452         d_make_builtin_type, d_make_operator, d_make_extended_operator,
1453         d_make_ctor, d_make_dtor, d_make_template_param, d_make_sub,
1454         cplus_demangle_mangled_name, has_return_type,
1455         is_ctor_dtor_or_conversion, d_encoding, d_name, d_nested_name,
1456         d_prefix, d_unqualified_name, d_source_name, d_number,
1457         d_identifier, d_operator_name, d_special_name, d_call_offset,
1458         d_ctor_dtor_name, cplus_demangle_type, d_cv_qualifiers,
1459         d_function_type, d_bare_function_type, d_class_enum_type,
1460         d_array_type, d_pointer_to_member_type, d_template_param,
1461         d_template_args, d_template_arg, d_expression, d_expr_primary,
1462         d_local_name, d_discriminator, d_add_substitution,
1463         d_substitution, d_print_resize, d_print_append_char,
1464         d_print_append_buffer, d_print_error, cplus_demangle_print,
1465         d_print_comp, d_print_java_identifier, d_print_mod_list,
1466         d_print_mod, d_print_function_type, d_print_array_type,
1467         d_print_expr_op, d_print_cast, cplus_demangle_init_info,
1468         d_demangle, __cxa_demangle, cplus_demangle_v3, java_demangle_v3,
1469         is_ctor_or_dtor, is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor,
1470         print_usage, main):
1471
1472 2005-03-26  Gabriel Dos Reis  <gdr@integrable-solutions.net>
1473
1474         Convert libiberty to ISO C prototype style 1/n.
1475         * _doprnt.c: Remove conditional #include <varargs.h> on
1476         ANSI_PROTOTYPES as the latter is always assumed.
1477         (_doprnt, checkit, main): Use ISO C prototype.
1478         * alloca.c (find_stack_direction, C_alloca): Use ISO C prototype.
1479         * argv.c: Remove conditional #includes on ANSI_PROTOTYPES.
1480         (dupargv, freeargv, buildargv, main): Use ISO C prototype.
1481         * atexit.c (atexit): Likewise
1482         * asprintf.c: Remove conditional include on ANSI_PROTOTYPES.
1483         (asprintf): Use ISO C prototype.
1484         * basename.c (basename): Likewise
1485         * bcmp.c (bcmp): Likewise.
1486         * bcopy.c (bcopy): Likewise.
1487         * bzero.c (bzero): Likewise.
1488         * bsearch.c (bsearch): Likewise.  Improve const-correctness.
1489         * choose-temp.c (choose_temp_base): Likewise.
1490         * calloc.c: Remove conditional #include on ANSI_PROTOTYPES.
1491         (calloc): Use ISO C prototype.
1492         * clock.c (clock): Likewise.
1493         * concat.c: Remove conditional #include on ANSI_PROTOTYPES.
1494         (vconcat_length, vconcat_copy, concat_length, concat_copy,
1495         concat_copy2, concat, reconcat, main): Use ISO C prototype.
1496         * copysign.c (copysign): Likewise.
1497
1498 2005-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1499
1500         * Makefile.in (CFILES): Add strndup.c and xstrndup.c.
1501         (REQUIRED_OFILES): Add xstrndup.o.
1502         (CONFIGURED_OFILES): Add strndup.o.
1503         Regenerate dependencies.
1504
1505         * configure.ac (funcs, AC_CHECK_FUNCS): Add strndup.
1506
1507         * strndup.c, xstrndup.c: New.
1508
1509         * config.in, configure, functions.texi: Regenerate.
1510
1511 2005-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1512
1513         * xmemdup.c, xstrdup.c: Expose the tail call.
1514
1515 2005-03-09  Mark Mitchell  <mark@codesourcery.com>
1516
1517         * configure.ac (funcs): Add gettimeofday.
1518         * configure: Regenerated.
1519         * gettimeofday.c: New file.
1520         * Makefile.in (CFILES): Add gettimeofday.
1521         (CONFIGURED_OFILES): Add gettimeofday.o.
1522         (./gettimeofday.o): New rule.
1523
1524 2005-03-09  Ian Lance Taylor  <ian@airs.com>
1525
1526         * pex-os2.c: Remove.
1527         * configure.ac: Remove *-*-os2-emx* case when setting pexecute.
1528         * Makefile.in (CFILES): Remove pex-os2.c.
1529         (CONFIGURED_OFILES): Remove pex-os2.o.
1530         (pex-os2.o): Remove target.
1531         * configure: Rebuild.
1532
1533 2005-03-07  Ian Lance Taylor  <ian@airs.com>
1534
1535         * mpw-config.in: Remove.
1536         * mpw-make.sed: Remove.
1537         * mpw.c: Remove.
1538         * Makefile.in (CFILES): Remove pex-mpw.c.
1539         (CONFIGURED_OFILES): Remove pex-mpw.o.
1540         (mpw.o, pex-mpw.o): Remove targets.
1541         * maint-tool (undoc): Remove reference to mpw.c.
1542
1543 2005-03-06  DJ Delorie  <dj@redhat.com>
1544
1545         * configure.ac (target_header_dir): vfork is a stub under djgpp.
1546         * configure: Regenerated.
1547
1548 2005-03-01  Jan Beulich  <jbeulich@novell.com>
1549
1550         * Makefile.in (CFILES): Add unlink-if-ordinary.c
1551         (REQUIRED_OFILES): Add unlink-if-ordinary.o.
1552         Add dependencies and rule for unlink-if-ordinary.o.
1553         * unlink-if-ordinary.c: New.
1554
1555 2005-03-01  Ben Elliston  <bje@au.ibm.com>
1556
1557         * hashtab.c (htab_find_slot_with_hash): Make function
1558         documentation clearer.
1559
1560 2005-02-13  Jason Merrill  <jason@redhat.com>
1561
1562         * cp-demangle.c (__cxa_demangle): Change resolution of ambiguous
1563         arguments.
1564
1565 2005-01-11  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>
1566
1567         * hex.c (hex_value): Group 'unsigned int' together to get correct
1568         markup.
1569         * functions.texi: Regenerated.
1570
1571 2004-12-27  H.J. Lu  <hongjiu.lu@intel.com>
1572
1573         * Makefile.in: Undo to 2004-12-17.
1574         * aclocal.m4: Likewise.
1575         * config.table: Likewise.
1576         * configure.ac: Likewise.
1577         * maint-tool: Likewise.
1578         * configure: Likewise.
1579
1580 2004-12-19  H.J. Lu  <hongjiu.lu@intel.com>
1581
1582         PR bootstrap/19072
1583         * Makefile.in (enable_shared): New substitute.
1584         (LTTARGETLIB): New.
1585         (PREFIXTARGETLIB): New.
1586         (LTTESTLIB): New.
1587         (PREFIXTESTLIB): New.
1588         (CCLD): New.
1589         (LINK): New.
1590         ($(TARGETLIB)): Use $(LINK) to create libraries and create
1591         targets by hand.
1592         ($(TESTLIB)): Likewise.
1593         (mostlyclean): Don't remove .libs. Remove the libtool object
1594         directory.
1595
1596         * config.table (enable_shared): Removed.
1597
1598         * configure.ac (enable_static): Set to yes.
1599         (AC_PROG_LIBTOOL): Removed.
1600         (AM_DISABLE_SHARED): Uncommented.
1601         (AM_PROG_LIBTOOL): Likewise.
1602         (LIBOBJS): Add `./' to avoid VPATH.
1603         (LTLIBOBJS): Likewise.
1604         (enable_shared): Substitute.
1605         * configure: Regenerated.
1606
1607 2004-12-18  H.J. Lu  <hongjiu.lu@intel.com>
1608
1609         * Makefile.in (top_builddir): Set to `.'.
1610         (OUTPUT_OPTION): Removed.
1611         (LIBTOOL): New.
1612         (LTLIBOBJS): New.
1613         (EXTRA_LTOFILES): New.
1614         (FLAGS_TO_PASS): Add EXTRA_LTOFILES.
1615         (all): Remove stamp-picdir.
1616         (LTCOMPILE): New.
1617         (.c.lo): New rule.
1618         (REQUIRED_LTOFILES): New.
1619         (CONFIGURED_LTOFILES): New.
1620         ($(TARGETLIB)): Check .libs for PIC object files. Depend on
1621         $(REQUIRED_LTOFILES) $(EXTRA_LTOFILES) $(LTLIBOBJS).
1622         (stamp-picdir): Completely removed.
1623         (maint-missing): Pass $(REQUIRED_LTOFILES)
1624         $(CONFIGURED_LTOFILES) instead of (REQUIRED_OFILES)
1625         $(CONFIGURED_OFILES)
1626         (maint-buildall): Depend on $(REQUIRED_LTOFILES)
1627         $(CONFIGURED_LTOFILES).
1628         (mostlyclean): Also remove *.lo .libs.
1629         Run "make maint-deps".
1630
1631         * aclocal.m4: Include ../libtool.m4.
1632
1633         * config.table: Don't check --enable-shared.
1634
1635         * configure.ac (AC_PROG_LIBTOOL): Add.
1636         (AC_PROG_CC_C_O): Removed.
1637         (OUTPUT_OPTION): Removed.
1638         (NO_MINUS_C_MINUS_O): Removed.
1639         (ltpexecute): New substitute.
1640         (LIBOBJS): Cleanup.
1641         * configure: Regenerated.
1642
1643         * maint-tool: Updated for .lo/libtool.
1644
1645 2004-12-11  Ben Elliston  <bje@au.ibm.com>
1646
1647         * configure.ac: Invoke AC_CHECK_SIZEOF for sizeof (int).
1648         * configure: Regenerate.
1649         * config.in: Likewise.
1650
1651 2004-12-07  DJ Delorie  <dj@redhat.com>
1652
1653         * splay-tree.c (splay_tree_delete_helper): Redesign the logic so
1654         that recursion (and thus large stack space) is not needed.
1655
1656 2004-11-29  Matt Kraai  <kraai@alumni.cmu.edu>
1657
1658         * pex-unix.c: Fix the spelling of longjmp.
1659
1660 2004-11-23  Ian Lance Taylor  <ian@wasabisystems.com>
1661
1662         PR other/18623
1663         * cp-demangle.c (d_call_offset): Remove useless local variables
1664         offset and virtual_offset.
1665         * cplus-dem.c (ada_demangle): Remove useless local variable
1666         at_start_name.
1667         (demangle_template): Remove useless local variable start.
1668
1669 2004-11-19  Roger Sayle  <roger@eyesopen.com>
1670
1671         * objalloc.c, strsignal.c, xstrerror.c: Include "config.h" before
1672         "ansidecl.h" to avoid redeclaration errors with native compilers.
1673         * regex.c: Protect config.h from multiple inclusion.
1674
1675 2004-11-12  Mike Stump  <mrs@apple.com>
1676
1677         * Makefile.in (libiberty.html): Fix html generation.
1678
1679 2004-09-08  Adam Nemet  <anemet@lnxw.com>
1680
1681         * vasprintf.c: Accept __va_copy in addition to va_copy.
1682
1683 2004-09-03  Paolo Bonzini  <bonzini@gnu.org>
1684
1685         * configure: Regenerate.
1686
1687 2004-09-02  Paolo Bonzini  <bonzini@gnu.org>
1688
1689         * configure.ac: Do not enable multilibs for build-side libiberty.
1690
1691 2004-06-29  Danny Smith  <dannysmith@users.sourceforge.net>
1692
1693         * lrealpath.c (lrealpath): Add _WIN32 support.
1694
1695 2004-06-28  Zack Weinberg  <zack@codesourcery.com>
1696
1697         * cp-demangle.h: Declare cplus_demangle_operators,
1698         cplus_demangle_builtin_types, cplus_demangle_mangled_name, and
1699         cplus_demangle_type as static if IN_GLIBCPP_V3.
1700
1701 2004-06-28  Ian Lance Taylor  <ian@wasabisystems.com>
1702
1703         PR other/16240
1704         * cp-demangle.c (d_expr_primary): Check for a failure return from
1705         cplus_demangle_type.
1706         * testsuite/demangle-expected: Add test case.
1707
1708 2004-05-31  Danny Smith  <dannysmith@users.sourceforge.net>
1709
1710         * pex-win32.c (fix_argv): Expand comment.
1711
1712 2004-05-25  Daniel Jacobowitz  <drow@false.org>
1713
1714         * Makefile.in: Add .NOEXPORT.
1715
1716 2004-04-29  Douglas B Rupp  <rupp@gnat.com>
1717
1718         * mkstemps.c (mkstemps) [VMS]: Remove special open option. Update
1719         copyright.
1720
1721 2004-04-26  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
1722
1723         * configure.ac (UNSIGNED_64BIT_TYPE): Unquote the definition.
1724         * configure: Regenerate.
1725
1726 2004-04-22  Richard Henderson  <rth@redhat.com>
1727
1728         * hashtab.c: Include limits.h, stdint.h, ansidecl.h.
1729         (CHAR_BIT): Provide default.
1730         (struct prime_ent, prime_tab): New.
1731         (higher_prime_index): Rename from higher_prime_number, return index.
1732         (htab_mod_1): New.
1733         (htab_mod, htab_mod_m2): Use it.
1734         (htab_create_alloc, htab_create_alloc_ex): Store prime index.
1735         (htab_expand): Likewise.
1736         * configure.ac: Check for stdint.h.
1737         (UNSIGNED_64BIT_TYPE): New define and checks to fill it in.
1738         * config.in, configure: Rebuild.
1739
1740 2004-04-13  Ian Lance Taylor  <ian@wasabisystems.com>
1741
1742         * strerror.c: Include config.h, and redefine sys_nerr and
1743         sys_errlist, before including ansidecl.h and libiberty.h.
1744
1745 2004-04-13  Jeff Law  <law@redhat.com>
1746
1747         * hashtab.c (htab_remove_elt_with_hash): New function.
1748         (htab_remove_elt): Implement in terms of htab_remove_elt_with_hash.
1749
1750 2004-03-31  Richard Henderson  <rth@redhat.com>
1751
1752         * hashtab.c (htab_size): Move to top of file; mark inline.
1753         (htab_elements): Likewise.
1754         (htab_mod, htab_mod_m2): New.
1755         (htab_delete): Refactor htab->size and htab->entries.
1756         (htab_empty): Likewise.
1757         (find_empty_slot_for_expand): Use htab_size, htab_mod, htab_mod_m2.
1758         (htab_find_with_hash, htab_find_slot_with_hash): Likewise.
1759         (htab_clear_slot): Use htab_size, htab_elements.
1760         (htab_traverse_noresize, htab_traverse): Likewise.
1761
1762 2004-03-17  Ian Lance Taylor  <ian@wasabisystems.com>
1763
1764         * pex-unix.c (pexecute): Use vfork instead of fork, with
1765         appropriate changes to make this safe.
1766         * pex-common.h (STDERR_FILE_NO): Define.
1767
1768         * Makefile.in: Clean up REQUIRED_OFILES and CONFIGURED_OFILES for
1769         an 80 column screen.  Run maint-deps.
1770
1771 2004-03-09  Kelley Cook  <kcook@gcc.gnu.org>
1772
1773         * configure.ac: Bump version to 2.59.  Apply suggested autoupdates.
1774         * acconfig.h: Delete redundant file.
1775         * config.in: Regenerate.
1776         * configure: Regenerate.
1777
1778 2004-03-09  Hans-Peter Nilsson  <hp@axis.com>
1779
1780         * configure: Regenerate for config/accross.m4 correction.
1781
1782 2004-03-07  Andreas Jaeger  <aj@suse.de>
1783
1784         * testsuite/test-demangle.c: Include <string.h> and <stdlib.h> for
1785         prototypes.
1786         (main): Initialize style.
1787
1788 2004-02-24  Ian Lance Taylor  <ian@wasabisystems.com>
1789
1790         * cp-demangle.h (enum d_builtin_type_print): Add D_PRINT_UNSIGNED,
1791         D_PRINT_UNSIGNED_LONG, D_PRINT_LONG_LONG,
1792         D_PRINT_UNSIGNED_LONG_LONG, D_PRINT_FLOAT.
1793         * cp-demangle.c (cplus_demangle_builtin_types): Change char and
1794         short types to D_PRINT_DEFAULT.  Change other integer types to use
1795         new D_PRINT_* values where appropriate.  Change float types to
1796         D_PRINT_FLOAT.
1797         (d_print_comp) [LITERAL, LITERAL_NEG]: Handle new D_PRINT_*
1798         values.
1799         * testsuite/demangle-expected: Adjust two test cases.
1800
1801         * cp-demangle.c (d_print_function_type): Print a space before the
1802         parenthesis around the function type in more cases.
1803         * testsuite/demangle-expected: Adjust one test case.
1804
1805         * cp-demangle.c (d_print_comp) [UNARY]: Don't emit extra
1806         parentheses around a cast.
1807         * testsuite/demangle-expected: Adjust two test cases to match new
1808         output.
1809
1810         * cp-demangle.c (__cxa_demangle): Pass DMGL_PARAMS to d_demangle.
1811
1812         * cp-demangle.c (d_print_comp) [RESTRICT, VOLATILE, CONST]: Don't
1813         push more than one of the same CV-qualifier on the top of the
1814         stack.
1815         (d_print_comp) [ARRAY_TYPE]: If the array itself is CV-qualified,
1816         move the CV-qualifiers to apply to the element type instead.
1817         (d_print_array_type): When checking the modifiers, keep looking
1818         past ones which have been printed already.
1819         * testsuite/demangle-expected: Add three test cases.
1820
1821 2004-02-23  Ian Lance Taylor  <ian@wasabisystems.com>
1822
1823         * cp-demangle.c (__cxa_demangle): Adjust last patch to handle
1824         empty string correctly.
1825
1826         * cp-demangle.c (__cxa_demangle): It is not an error if status is
1827         not NULL.  It is an error if the mangled name is the same as a
1828         built-in type name.
1829         (main): If IN_GLIBCPP_V3 is defined, test __cxa_demangle rather
1830         than cplus_demangle_v3.
1831
1832         * dyn-string.c: Remove test of IN_LIBGCC2 and IN_GLIBCPP_V3 and
1833         the associated #define of RETURN_ON_ALLOCATION_FAILURE.
1834
1835 2004-02-16  Matt Kraai  <kraai@alumni.cmu.edu>
1836
1837         * regex.c: Include <ansidecl.h>.
1838         (regcomp): Cast i to int.
1839         (regerror): Add ATTRIBUTE_UNUSED to parameter preg.
1840
1841 2004-01-25  Ian Lance Taylor  <ian@wasabisystems.com>
1842
1843         * configure.ac: Add m4_pattern_allow(LIBOBJS).
1844         * configure: Regenerate.
1845
1846 2004-01-22  DJ Delorie  <dj@redhat.com>
1847
1848         * Makefile.in: Convert to ./ throughout.  Rebuild dependencies
1849         with explicit build rules.
1850         (VPATH): Remove.
1851         (.c.o): Poison.
1852         * configure.ac (pexecute, LIBOBJS): Add ./ .
1853         * maint-tool: Build dependencies with explicit rules.
1854
1855 2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
1856
1857         * strdup.c (strdup): Constify the argument.
1858
1859 2004-01-14  Loren J. Rittle  <ljrittle@acm.org>
1860
1861         * Makefile.in (distclean): Remove config.cache.
1862
1863 2004-01-13  Daniel Jacobowitz  <drow@mvista.com>
1864
1865         * cp-demangle.c (d_make_comp): DEMANGLE_COMPONENT_CONSTRUCTION_VTABLE
1866         takes two parameters.
1867         * cp-demint.c (cplus_demangle_fill_component): Likewise.
1868
1869 2004-01-12  Ian Lance Taylor  <ian@wasabisystems.com>
1870
1871         * cp-demangle.c: Include "cp-demangle.h".  If IN_GLIBCPP_V3 is
1872         defined, rename some functions which are to become static via
1873         #define.
1874         (CP_STATIC_IF_GLIBCPP_V3): Define.
1875         (struct d_operator_info): Move definition to cp-demangle.h, and
1876         rename to demangle_operator_info.  Change all uses.
1877         (enum d_builtin_type_print): Move definition to cp-demangle.h.
1878         (struct d_builtin_type_info): Move definition to cp-demangle.h,
1879         and rename to demangle_builtin_type_info.  Change all uses.
1880         (enum d_comp_type): Move definition to include/demangle.h, and
1881         rename to demangle_component_type, and change all enums to start
1882         with DEMANGLE_COMPONENT_ instead of D_.  Change all uses.
1883         (struct d_comp): Move definition to include/demangle.h, and rename
1884         to demangle_component.  Change all uses.
1885         (struct d_info): Move definition to cp-demangle.h.
1886         (cplus_demangle_fill_name): New function.
1887         (cplus_demangle_fill_extended_operator): New function.
1888         (cplus_demangle_fill_ctor): New function.
1889         (cplus_demangle_fill_dtor): New function.
1890         (d_make_empty): Remove type parameter.  Change all callers.
1891         (d_make_name): Use cplus_demangle_fill_name.
1892         (d_make_extended_operator): Use
1893         cplus_demangle_fill_extended_operator.
1894         (d_make_ctor): Use cplus_demangle_fill_ctor.
1895         (d_make_dtor): Use cplus_demangle_fill_dtor.
1896         (cplus_demangle_mangled_name): Rename from d_mangled_name.  Make
1897         non-static by default.  Change all callers.
1898         (cplus_demangle_operators): Rename from d_operators.  Change all
1899         uses.  Make non-static by default.  Add sentinel at end of array.
1900         (d_operator_name): Adjust initialization of high for new sentinel
1901         in cplus_demangle_operators.
1902         (cplus_demangle_builtin_types): Rename from d_builtin_types.
1903         Change all uses.  Make non-static by default.  Change initializer
1904         to use D_BUILTIN_TYPE_COUNT instead of magic number 26.
1905         (cplus_demangle_type): Rename from d_type.  Make non-static by
1906         default.  Change all callers.
1907         (cplus_demangle_init_info): Rename from d_init_info.  Make
1908         non-static by default.  Change all callers.
1909         * cp-demangle.h: New file.
1910         * cp-demint.c: New file.
1911         * Makefile.in: Rebuild dependencies.
1912         (CFILES): Add cp-demint.c.
1913         (REQUIRED_OFILES): Add cp-demint.o.
1914
1915 2004-01-09  Kelley Cook  <kcook@gcc.gnu.org>
1916
1917         * configure.in:  Rename file to ...
1918         * configure.ac:  ... this.
1919         * Makefile.in: Update a comment for above change.
1920         * README: Likewise.
1921         * config.in: Regenerate.
1922
1923 2004-01-02  Ian Lance Taylor  <ian@wasabisystems.com>
1924
1925         * cp-demangle.c (d_encoding): When DMGL_PARAMS is not set, strip
1926         CV-qualifiers from D_COMP_LOCAL_NAME right subtree.
1927         * cplus-dem.c (demangle_arm_hp_template): Set DMGL_PARAMS when
1928         demangling template parameters.
1929         * testsuite/test-demangle.c (fail): New static function.
1930         (main): Support new options in input file: --no-params,
1931         --is-v3-ctor, and --is-v3-dtor.
1932         * testsuite/demangle-expected: Add --no-params to most tests, and
1933         add the correct result when parameters are not demangled.  Add
1934         some simple tests for V3 constructor/destructor recognition.
1935
1936 2003-12-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1937
1938         * cp-demangle.c (is_ctor_or_dtor): Fix error in last change.
1939
1940 2003-12-22  Daniel Jacobowitz  <drow@mvista.com>
1941
1942         PR debug/13272
1943         * Makefile.in (lbasename.o): Depend on filenames.h.
1944         * lbasename.c: Include "filenames.h" instead of defining
1945         its macros locally.
1946
1947 2003-12-22  Ian Lance Taylor  <ian@wasabisystems.com>
1948
1949         * cp-demangle.c (CP_DYNAMIC_ARRAYS): Define if compiler supports
1950         dynamic arrays.
1951         (struct d_operator_info): Add len field.
1952         (struct d_builtin_type_info): Add len and java_len fields.
1953         (struct d_standard_sub_info): Add simple_len, full_len, and
1954         set_last_name_len fields.
1955         (struct d_comp): Add len field to s_string.
1956         (struct d_info): Add send, did_subs, and expansion fields.
1957         (d_append_string_constant): Define.
1958         (d_append_string): Remove.  Change all users to use
1959         d_append_string_constant or d_append_buffer instead.
1960         (d_make_sub): Add len parameter.  Change all callers.
1961         (d_name): Increase expansion when substituting std::.
1962         (d_unqualified_name): Increase expansion for an operator.
1963         (d_number): Don't use multiplication for negative numbers.
1964         (d_identifier): Make sure there are enough characters in the
1965         string for the specified length.  Adjust expansion for an
1966         anonymous namespace.
1967         (d_operators): Initialize len field.
1968         (d_special_name, d_ctor_dtor_name): Increase expansion.
1969         (d_builtin_types): Initialize len and java_len fields.
1970         (d_type): Increase expansion for a builtin type.
1971         (d_cv_qualifiers): Increase expansion for each qualifier.
1972         (d_bare_function_type): Decrease expansion when removing single
1973         void parameter.
1974         (d_template_param): Increment did_subs.
1975         (d_expression): Increase expansion for an operator.
1976         (d_expr_primary): Decrease expansion for a type we will print
1977         specially.
1978         (standard_subs): Initialize new fields.
1979         (d_substitution): Increment did_subs when doing a normal
1980         substitution.  Increase expansion for a special substitution.
1981         (d_print): Add estimate parameter.  Change all callers.
1982         (d_print_comp) [D_COMP_NAME]: Handle C++ case inline.
1983         (d_print_comp) [D_COMP_BINARY]: Use length to avoid strcmp call.
1984         (d_print_java_identifier): Rename from d_print_identifier.  Handle
1985         only Java case.  Change caller.
1986         (d_init_info): Change return type to void.  Change all callers.
1987         Initialize send, did_subs, and expansion fields.  Do not
1988         initialize comps and subs fields.
1989         (d_demangle): Ifdef CP_DYNAMIC_ARRAYS, allocate comps and subs
1990         arrays on stack.  Make an estimate of the length of the demangled
1991         name.  Ifdef CP_DEMANGLE_DEBUG, print estimation failures.
1992         (is_ctor_or_dtor): Ifdef CP_DYNAMIC_ARRAYS, allocate comps and
1993         subs arrays on stack.
1994
1995 2003-12-20  Ian Lance Taylor  <ian@wasabisystems.com>
1996
1997         * cp-demangle.c (d_identifier): In Java mode, skip an optional '$'
1998         after the identifier.
1999         * testsuite/demangle-expected: Add test case.
2000
2001 2003-12-19  Ian Lance Taylor  <ian@wasabisystems.com>
2002
2003         Fix for PR c++/13447:
2004         * cp-demangle.c (enum d_comp_type): Add D_COMP_LOCAL_NAME.
2005         (d_dump, d_make_comp): Handle D_COMP_LOCAL_NAME.
2006         (is_ctor_dtor_or_conversion): Handle D_COMP_LOCAL_NAME like
2007         D_COMP_QUAL_NAME.
2008         (is_ctor_or_dtor): Likewise.
2009         (d_local_name): Use D_COMP_LOCAL_NAME rather than
2010         D_COMP_QUAL_NAME.
2011         (d_print_comp) [D_COMP_LOCAL_NAME]: New.
2012         (d_prinT_comp) [D_COMP_TYPED_NAME]: If the left tree is
2013         D_COMP_LOCAL_NAME, pull any qualifiers off its right subtree.
2014         (d_print_mod_list): Handle D_COMP_LOCAL_NAME.
2015         * testsuite/demangle-expected: Add two test cases.
2016
2017         * cp-demangle.c (d_print_function_type): Clear the global modifier
2018         list when printing the modifiers, not just when printing the
2019         function parameters.
2020         * testsuite/demangle-expected: Add two test cases.
2021
2022 2003-12-15  Ian Lance Taylor  <ian@wasabisystems.com>
2023
2024         * cp-demangle.c (d_print_function_type): Print the function
2025         parameters with no modifiers.
2026         * testsuite/demangle-expected: Add test case.
2027
2028         * cp-demangle.c (d_demangle): If DMGL_PARAMS is not set, don't
2029         expect that we've read the entire string.
2030         (is_ctor_or_dtor): Don't expect that we've read the entire
2031         string--reverse patch of 2003-11-29.
2032
2033 2003-12-15  Brendan Kehoe  <brendan@zen.org>
2034
2035         * libiberty/Makefile.in (floatformat.o): Add dependency on
2036         config.h to accompany change of 2003-12-03.
2037
2038 2003-12-15  Ian Lance Taylor  <ian@wasabisystems.com>
2039
2040         Fix handling of constructor/destructor of standard substitution:
2041         * cp-demangle.c (struct d_standard_sub_info): Define.
2042         (d_substitution): Add prefix argument.  Change all callers.
2043         Rework handling of standard substitutions to print full name when
2044         qualifying a constructor/destructor, or when DMGL_VERBOSE is set.
2045         * testsuite/demangle-expected: Add test case.
2046
2047         Fix handling of negative literal constants:
2048         * cp-demangle.c (enum d_comp_type): Add D_COMP_LITERAL_NEG.
2049         (d_dump, d_make_comp): Handle D_COMP_LITERAL_NEG.
2050         (d_expr_primary): Use D_COMP_LITERAL_NEG for a negative number.
2051         (d_print_comp): Handle D_COMP_LITERAL_NEG.
2052         * testsuite/demangle-expected: Add test case.
2053
2054 2003-12-04  Ian Lance Taylor  <ian@wasabisystems.com>
2055
2056         * cp-demangle.c (IS_UPPER, IS_LOWER): Define.
2057         (d_last_char): Define new macro.
2058         (d_make_name): Reject an empty name.
2059         (d_prefix, d_unqualified_name, d_type): Use new IS_* macros.
2060         (d_substitution, d_print_identifier): Likewise.
2061         (d_print_comp) [D_COMP_OPERATOR]: Likewise.
2062         (d_print_comp) [D_COMP_TEMPLATE]: Use new d_last_char macro.
2063         (d_print_mod) Use new d_last_char macro.
2064         (d_print_cast): Use new d_last_char macro.
2065         (is_ctor_or_dtor): Don't leak memory.
2066
2067         Fix handling of member function modifiers:
2068         * cp-demangle.c (enum d_comp_type): Add D_COMP_RESTRICT_THIS,
2069         D_COMP_VOLATILE_THIS, and D_COMP_CONST_THIS.
2070         (d_dump): Dump new d_comp_type values.
2071         (d_make_comp): Accept new d_comp_type values.
2072         (has_return_type): Only accept _THIS variants of qualifiers.
2073         (d_encoding): Without DMGL_PARAMS, only remove _THIS variants of
2074         qualifiers.
2075         (d_cv_qualifiers): Add member_fn parameter.  Change all callers.
2076         (d_print_comp) [D_COMP_TYPED_NAME]: Rather than removing
2077         qualifiers and printing them at the end, add _THIS qualifiers to
2078         the modifier list.
2079         (d_print_comp) [D_COMP_*_THIS]: New cases.
2080         (d_print_comp) [D_COMP_PTRMEM_TYPE]: Remove special handling of
2081         qualifiers.
2082         (d_print_mod_list): Add suffix parameter.  Change all callers.
2083         Keep walking the list even if the current modifier has been
2084         printed.
2085         (d_print_mod): Handle new _THIS qualifiers.
2086         (d_print_function_type): Handle new _THIS qualifiers when deciding
2087         whether to print a parenthesis.  Put a space before the
2088         parenthesis in some cases.  Call d_print_mod_list again at the
2089         end, passing suffix as 1.
2090         (is_ctor_or_dtor): Look for new _THIS qualifiers.
2091         * testsuite/demangle-expected: Add test case.
2092
2093         Fix for PR gcc/13304:
2094         * cp-demangle.c (d_print_comp) [D_COMP_TEMPLATE]: If the character
2095         before the '<' is itself a '<', insert a space.
2096         (d_print_cast): Likewise.
2097         * testsuite/demangle-expected: Add test case.
2098
2099         Fix for PR gcc/13244:
2100         * cp-demangle.c (d_print_comp) [D_COMP_BINARY]: Wrap an expression
2101         which uses the '>' operator in an extra layer of parens.
2102         * testsuite/demangle-expected: Add test case.
2103
2104 2003-12-03  Ian Lance Taylor  <ian@wasabisystems.com>
2105
2106         * floatformat.c: Include "config.h" and <string.h> if available.
2107         (INFINITY, NAN): Define if not defined by <math.h>.
2108         (floatformat_to_double): Handle NaN, infinity, and denormalized
2109         numbers.
2110         (floatformat_from_double): Likewise.
2111         (ieee_test): In debugging code, use little endian rather than big
2112         endian.  Correct tests to handle NaN and to check correct sign of
2113         zero.  Omit m68k extended test.
2114         (main): Add more debugging cases.
2115
2116 2003-11-29  Ian Lance Taylor  <ian@wasabisystems.com>
2117
2118         * cp-demangle.c (d_demangle): Only return success if we consumed
2119         the entire demangled string.
2120         (is_ctor_or_dtor): Likewise.
2121
2122         * testsuite/demangle-expected: Revert one part of 2003-06-26 patch
2123         to restore expected result of EDG test case to original expected
2124         result.
2125
2126 2003-11-26  Ian Lance Taylor  <ian@wasabisystems.com>
2127
2128         * cp-demangle.c (struct d_print_mod): Add templates field.
2129         (d_make_builtin_type): Check for NULL type.
2130         (d_make_extended_operator): Check for NULL name.
2131         (d_make_ctor, d_make_dtor): Likewise.
2132         (d_mangled_name): Add top_level parameter.  Change all callers.
2133         (d_encoding): If DMGL_PARAMS is not set, strip off initial
2134         CV-qualifiers.
2135         (d_type): Check some return values we rely on.
2136         (d_bare_function_type, d_array_type): Likewise.
2137         (d_pointer_to_member_type, d_template_args): Likewise.
2138         (d_add_substitution): Fail if argument is NULL.
2139         (d_print_resize): Check whether buf is NULL.
2140         (d_print_comp): Save current templates list with each modifier.
2141         Don't pass the modifier list down when printing a template.
2142         (d_print_cast): Don't pass the modifier list down when printing a
2143         template.
2144         (d_print_mod_list): Temporarily set templates list while printing
2145         a modifier.
2146         (d_print_mod): Check that buf is not NULL before using it.
2147         (d_print_function_type): Print parens if there is no modifier.
2148         (d_init_info): Permit as many substitutions as there are
2149         characters in the mangled name.
2150         * testsuite/demangle-expected: Add two new test cases.
2151
2152 2003-11-25  Ian Lance Taylor  <ian@wasabisystems.com>
2153
2154         * cp-demangle.c (java_demangle_v3): Pass DMGL_PARAMS to
2155         d_demangle.
2156
2157 2003-11-22  Ian Lance Taylor  <ian@wasabisystems.com>
2158
2159         * cp-demangle.c (d_encoding): Add top_level parameter.  Change all
2160         callers.
2161         (print_usage): Display new -p option.
2162         (long_options): Add --no-params.
2163         (main): Accept and handle -p.
2164
2165 2003-11-21  Ian Lance Taylor  <ian@wasabisystems.com>
2166
2167         * cp-demangle.c (has_return_type): Skip qualifiers when checking
2168         whether we have a template.
2169         * testsuite/demangle-expected: Add four new tests.
2170
2171 2003-11-20  Ian Lance Taylor  <ian@wasabisystems.com>
2172
2173         * testsuite/demangle-expected: Minor changes to match output of
2174         new demangler: adjust whitespace in four tests, and change order
2175         of qualifiers in one test.
2176
2177         * cp-demangle.c: Complete rewrite.
2178
2179 2003-11-19  Mark Mitchell  <mark@codesourcery.com>
2180
2181         * cp-demangle.c (demangle_type): Correct thinko in substitution
2182         processing.
2183
2184 2003-11-18  Ian Lance Taylor  <ian@wasabisystems.com>
2185
2186         * cp-demangle.c (demangle_operator_name): Remove space before
2187         "sizeof".
2188         (demangle_type_ptr): Put qualifiers in the right place.  Handle
2189         qualifiers in pointer to member specially.
2190         (demangle_type): Handle qualifiers for pointer or reference
2191         specially.  Handle function type.
2192         (demangle_local_name): Save and restore caret around demangling of
2193         initial encoding.
2194
2195         * testsuite/test-demangle.c (main): Don't pass DMGL_VERBOSE to
2196         cplus_demangle.
2197
2198         * testsuite/Makefile.in (test-demangle): Depend upon libiberty.a.
2199
2200 2003-10-31  Andreas Jaeger  <aj@suse.de>
2201
2202         * floatformat.c (floatformat_always_valid): Add unused attribute.
2203
2204 2003-10-30  Josef Zlomek  <zlomekj@suse.cz>
2205
2206         Jan Hubicka <jh@suse.cz>
2207         * vasprintf.c (int_vasprintf): Pass va_list by value.
2208         Use va_copy for copying va_list.
2209         (vasprintf): Pass va_list by value.
2210
2211 2003-10-30  Josef Zlomek  <zlomekj@suse.cz>
2212
2213         * hashtab.c (htab_find_slot_with_hash): Decrease n_deleted
2214         instead of increasing n_elements when inserting to deleted slot.
2215
2216 2003-10-20  J. Brobecker  <brobecker@gnat.com>
2217
2218         * cplus-dem.c (demangle_template): Register a new Btype only
2219         when needed.
2220         * testsuite/demangle-expected: Add a new test.
2221
2222 2003-10-16  H.J. Lu  <hongjiu.lu@intel.com>
2223
2224         * testsuite/demangle-expected: Update the expected output of
2225         _GLOBAL__I__Z2fnv.
2226
2227 2003-10-02  Daniel Jacobowitz  <drow@mvista.com>
2228
2229         * strerror.c: Revert last change.  Declare static sys_nerr
2230         and sys_errlist using different names.
2231
2232 2003-10-01  Daniel Jacobowitz  <drow@mvista.com>
2233
2234         * strerror.c: Don't provide or reference sys_errlist if
2235         strerror is available.
2236
2237 2003-10-01  H.J. Lu  <hongjiu.lu@intel.com>
2238
2239         * configure.in: Check if $MAKEINFO is missing.
2240         * configure: Regenerated.
2241
2242 2003-09-24  Daniel Jacobowitz  <drow@mvista.com>
2243
2244         * configure.in: Use AC_PROG_CPP_WERROR.
2245         * configure: Regenerated.
2246
2247 2003-09-22  Andrew Cagney  <cagney@redhat.com>
2248
2249         * floatformat.c (floatformat_i387_ext_is_valid): New function.
2250         (floatformat_always_valid): New function.
2251         (floatformat_i387_ext): Initialize new "is_valid" field to
2252         "floatformat_i387_ext_is_valid".
2253         (floatformat_ieee_single_little): Initialize "is_valid" field to
2254         floatformat_always_valid.
2255         (floatformat_ieee_double_big): Ditto.
2256         (floatformat_ieee_double_little): Ditto.
2257         (floatformat_ieee_double_little): Ditto.
2258         (floatformat_ieee_double_littlebyte_bigword): Ditto.
2259         (floatformat_i960_ext): Ditto.
2260         (floatformat_m88110_ext): Ditto.
2261         (floatformat_m88110_harris_ext): Ditto.
2262         (floatformat_arm_ext_big): Ditto.
2263         (floatformat_arm_ext_littlebyte_bigword): Ditto.
2264         (floatformat_ia64_spill_big): Ditto.
2265         (floatformat_ia64_spill_little): Ditto.
2266         (floatformat_ia64_quad_big): Ditto.
2267         (floatformat_ia64_quad_little): Ditto.
2268         (floatformat_ia64_quad_little): Ditto.
2269         (floatformat_is_valid): Call "is_valid".
2270
2271 2003-09-15  Andrew Cagney  <cagney@redhat.com>
2272
2273         * floatformat.c (get_field): Make "data" constant.
2274         (floatformat_is_valid, floatformat_to_double): Make "from"
2275         constant, fix casts.
2276         (floatformat_from_double): Make "from" constant.
2277
2278 2003-09-15  Daniel Jacobowitz  <drow@mvista.com>
2279
2280         * floatformat.c (floatformat_is_valid): New function.
2281         (get_field, put_field): Correct comments.
2282
2283 2003-09-06  Josef Zlomek  <zlomekj@suse.cz>
2284
2285         * fibheap.c (fibheap_replace_key_data): Change type of OKEY to
2286         FIBHEAPKEY_T.
2287
2288 2003-09-02  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2289
2290         PR bootstrap/12100
2291         * aclocal.m4 (AC_LANG_FUNC_LINK_TRY): Define.
2292         * configure: Rebuilt.
2293
2294 2003-08-27  Daniel Jacobowitz  <drow@mvista.com>
2295
2296         * aclocal.m4: Include acx.m4 and no-executables.m4.
2297         (libiberty_AC_FUNC_STRNCMP): Use AC_LIBOBJ.
2298         (LIB_AC_PROG_CC): Remove.
2299         * configure.in: Update AC_PREREQ to 2.57.  Use GCC_NO_EXECUTABLES.
2300         Use AC_PROG_CC and set ac_libiberty_warn_cflags instead of using
2301         LIB_AC_PROG_CC.  Use AC_LIBOBJ.  Call AC_ISC_POSIX later, only if
2302         performing link tests.
2303         * configure: Regenerated.
2304
2305 2003-08-12  Nathanael Nerode  <neroden@gcc.gnu.org>
2306
2307         * cp-demangle.c: Clarify what package(s) this is part of.
2308
2309 2003-07-05  Danny Smith  <dannysmith@users.sourceforge.net>
2310
2311         * pex-win32.c (pexecute): Mark parameters this_pname and
2312         temp_base as unused. Remove unused variables retries,
2313         sleep_interval. Initialize org_stdin, org_stdout.
2314         (pwait): Mark parameter flags as unused.
2315
2316 2003-07-02  Danny Smith  <dannysmith@users.sourceforge.net>
2317
2318         * pex-win32.c (fix_argv): Ensure that the executable pathname
2319         uses Win32 backslashes.
2320         (pexecute): Cast away constness when assigning *errmsg_arg.
2321
2322 2003-06-26  H.J. Lu <hongjiu.lu@intel.com>
2323
2324         * testsuite/demangle-expected: Add more GNU V3 testcases.
2325
2326 2003-06-22  Zack Weinberg  <zack@codesourcery.com>
2327
2328         * safe-ctype.c: Use HOST_CHARSET_ASCII and HOST_CHARSET_EBCDIC,
2329         not HC_ASCII and HC_EBCDIC.
2330         Add documentation in form expected by gather-docs.
2331         * hex.c: Use HOST_CHARSET, not hand-coded check of character set.
2332         * Makefile.in, functions.texi: Regenerate.
2333
2334 2003-06-21  Zack Weinberg  <zack@codesourcery.com>
2335
2336         * safe-ctype.c: Separate out EOF==-1 check.  Use HOST_CHARSET
2337         for charset determination.
2338
2339 2003-06-19  Dara Hazeghi  <dhazeghi@yahoo.com>
2340
2341         * configure.in: Add check for malloc.h needed by
2342         m68k for function free().
2343         * configure: Regenerated.
2344         * config.in: Add HAVE_MALLOC_H.
2345         * hashtab.c: include malloc.h were available for
2346         free().
2347
2348 2003-06-09  Albert Chin-A-Young  <china@thewrittenword.com>
2349
2350         PR bootstrap/10974
2351         * physmem.c: Update comment.
2352         * configure.in: Modify test for _system_configuration for older
2353         AIX systems.
2354
2355         * config.in, configure: Regenerated.
2356
2357 2003-06-05  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2358
2359         PR other/10810
2360         * test-demangle.c (getline): Fix fence-post error.
2361
2362 2003-06-03  Nick Clifton  <nickc@redhat.com>
2363
2364         * asprintf.c: Change comment to note that -1 is returned upon
2365         error.
2366         * vasprintf.c: Likewise.
2367         (vasprintf): Return -1 upon error.
2368         * functions.texi: Document changes to asprintf and vasprintf.
2369
2370 2003-05-19  Kelley Cook  <kelleycook@wideopenwest.com>
2371
2372         * config.table: Accept i[345867]86 variant.
2373
2374 2003-05-15  Jim Blandy  <jimb@redhat.com>
2375
2376         * hex.c (_hex_value): Make this unsigned.
2377         (hex_value): Update documentation for new return type.  hex_value
2378         now expands to an unsigned int expression, to avoid unexpected
2379         sign extension when we store it in a bfd_vma, which is larger than
2380         int on some platforms.
2381         * functions.texi: Regenerated.
2382
2383 2003-05-07  Josef Zlomek  <zlomekj@suse.cz>
2384
2385         * splay-tree.c (splay_tree_predecessor): Fix comment.
2386         (splay_tree_successor): Fix comment.
2387
2388 2003-05-07  Jason Merrill  <jason@redhat.com>
2389
2390         * hashtab.c (iterative_hash): New fn.
2391         * configure.in: Add AC_C_BIGENDIAN_CROSS.
2392         * aclocal.m4: Include accross.m4.
2393         * configure, config.in: Regenerate.
2394
2395 2003-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2396
2397         * configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
2398         * configure: Regenerate.
2399
2400 2003-05-03  Carlo Wood  <carlo@alinoe.com>
2401
2402         * cp-demangle.c: Fix typo in "char_traints" string-literal.
2403
2404 2003-04-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2405
2406         * vsnprintf.c (vsnprintf): Don't pad string with extra nulls.
2407         (main): Test that we don't write too much data.
2408
2409 2003-04-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2410
2411         * configure.in (funcs, AC_CHECK_FUNCS): Add snprintf and
2412         vsnprintf.
2413         * snprintf.c, vsnprintf.c: New files.
2414         * Makefile.in (CFILES): Add snprintf.c and vsnprintf.c.
2415         (CONFIGURED_OFILES): Add snprintf.o and vsnprintf.o.
2416         Regenerate dependencies.
2417
2418         * functions.texi, configure, config.in: Regenerated.
2419
2420 2003-04-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2421
2422         * mempcpy.c, stpcpy.c, stpncpy.c: New files.
2423         * configure.in (funcs, AC_CHECK_FUNCS): Add mempcpy, stpcpy
2424         and stpncpy.
2425         * Makefile.in (CFILES): Add mempcpy.c, stpcpy.c and stpncpy.c.
2426         (CONFIGURED_OFILES): Add mempcpy.o, stpcpy.o and stpncpy.o.
2427         Regenerate dependencies.
2428
2429         * functions.texi, configure, config.in: Regenerated.
2430
2431 2003-04-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2432
2433         * argv.c: Fix comments.
2434         * calloc.c: Don't unnecessarily include "libiberty.h".
2435         (bzero): Add prototype.
2436         * floatformat.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
2437         * getcwd.c (getcwd): Use standard definition to avoid conflicts
2438         with system headers.
2439         * hashtab.c (htab_traverse): Delete unused variables.
2440         * rename.c: Include "ansidecl.h".
2441         (rename): Use standard definition to avoid conflicts with system
2442         headers.
2443         * strsignal.c: Rely on ANSI_PROTOTYPES.
2444         * strstr.c: Check GNUC >= 2, not GNUC == 2.
2445         * vfprintf.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
2446         * vprintf.c: Include "ansidecl.h" earlier, rely on
2447         ANSI_PROTOTYPES.
2448         * vsprintf.c: Include "ansidecl.h" earlier, rely on
2449         ANSI_PROTOTYPES and possibly include <stdarg.h>.
2450
2451         * Makefile.in: Regenerate dependencies.
2452
2453 2003-04-15  DJ Delorie  <dj@redhat.com>
2454
2455         * maint-tool (deps): Scan for headers in $srcdir also.
2456
2457 2003-04-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2458
2459         PR target/10338
2460         PR bootstrap/10198
2461         PR bootstrap/10140
2462         * getopt.c (exchange, _getopt_initialize): Use mempcpy not
2463         __mempcpy.
2464         * regex.c (regerror): Likewise.
2465
2466 2003-04-14  Roger Sayle  <roger@eyesopen.com>
2467
2468         * argv.c: Use ANSI_PROTOTYPES instead of __STDC__.
2469         * memchr.c: Likewise.
2470         * strcasecmp.c: Likewise.
2471         * strncasecmp.c: Likewise.
2472         * strncmp.c: Likewise.
2473         * xatexit.c: Likewise.
2474         * xmalloc.c: Likewise.
2475
2476         * copysign.c: Use traditional function declaration instead of DEFUN.
2477         * sigsetmask.c: Likewise.
2478
2479         * memcmp.c: Both of the above, ANSI_PROTOTYPES and DEFUN.
2480         * memset.c: Likewise.
2481
2482         * memcpy.c: ANSI_PROTOTYPES, DEFUN and prototype bcopy.
2483         * memmove.c: Likewise.
2484
2485 2003-04-14  Roger Sayle  <roger@eyesopen.com>
2486
2487         * strdup.c (strdup): Tweak implementation to use memcpy.
2488
2489 2003-04-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2490
2491         * configure.in (HAVE_UINTPTR_T): Always define.
2492         * configure: Regenerated.
2493
2494 2003-03-23  Alexandre Oliva  <aoliva@redhat.com>
2495
2496         * Makefile.in (MULTIOSDIR): New macro.  Use $(CC) $(LIBCFLAGS)
2497         instead of $$CC alone.
2498         (install_to_tooldir): Use it.
2499
2500 2003-17-03  Jan Hubicka  <jh@suse.cz>
2501
2502         * hashtab.c (htab_traverse_noresize): Break out from ...
2503         * hashtab.c (htab_traverse): ... here.
2504
2505 2003-12-03  Jan Hubicka  <jh@suse.cz>
2506
2507         * hashtab.c (htab_expand): Fix warning.
2508
2509         * hashtab.c (htab_expand): Compute the size of hashtable based
2510         on the number of elements actually used.
2511         (htab_traverse):  Call htab_expand when table is too empty.
2512
2513 2003-03-11  Carlo Wood  <carlo@gnu.org>
2514
2515         * cplus-dem.c (demangle_integral_value): Correction to reflect
2516         patch of 2002-01-10 in order to also make negative multi-digits
2517         without leading underscore work.
2518
2519 2003-03-03  Mark Mitchell  <mark@codesourcery.com>
2520
2521         * cplus-dem.c: Add license exception to copyright notice.
2522
2523 2003-02-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2524
2525         * physmem.c: Formatting changes from upstream.
2526
2527 2003-02-24  Danny Smith  <dannysmith@users.source.forge.net>
2528
2529         * physmem.c (physmem_total): Add _WIN32 support.
2530         (physmem_available): Likewise.
2531
2532 2003-02-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2533
2534         * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
2535         GSI_PHYSMEM.
2536         (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS.
2537
2538 2003-02-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2539
2540         * configure.in: Check for sys/systemcfg.h and
2541         _system_configuration.
2542         * physmem.c: Add support for AIX.  Tweek formatting as per
2543         upstream coreutils beta.
2544
2545 2003-02-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2546             Richard Earnshaw  <rearnsha@arm.com>
2547             Geoffrey Keating  <geoffk@apple.com>
2548
2549         * configure.in: Check for sys/sysctl.h and sysctl.
2550         * physmem.c: Add support for *bsd and darwin.
2551         * Makefile.in: Generate depedency for physmem.o.
2552
2553 2003-02-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2554
2555         * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on
2556         Tru64 UNIX.
2557         (physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on
2558         Tru64 UNIX.
2559
2560         * configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h,
2561         machine/hal_sysinfo.h, sys/table.h.
2562         (checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table.
2563         * configure, config.in: Regenerate.
2564
2565 2003-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2566
2567         * configure.in: Check for sys/sysmp.h and sysmp.
2568         * physmem.c: Pull upstream copy, add support for irix6.
2569
2570         * config.in, configure: Regenerated.
2571
2572 2003-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2573
2574         * physmem.c (physmem_total, physmem_available): De-ANSI-fy.
2575         * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and
2576         pstat_getdynamic.
2577
2578 2003-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2579
2580         * Makefile.in (CFILES): Add physmem.c.
2581         (REQUIRED_OFILES): Add physmem.o.
2582         * configure.in: Check for sys/pstat.h.
2583         (checkfuncs): Add pstat_getstatic and pstat_getdynamic.
2584         * physmem.c: New file, copied from textutils.
2585
2586         * config.in, configure: Regenerated.
2587
2588 2003-02-20  Daniel Jacobowitz  <drow@mvista.com>
2589
2590         * Makefile.in (CFILES): Add lrealpath.c.
2591         (REQUIRED_OFILES): Add lrealpath.o.
2592         (lrealpath.o): Add rule.
2593         * aclocal.m4 (libiberty_NEED_DECLARATION): Add.
2594         * configure.in: Add realpath and canonicalize_file_name to
2595         checkfuncs and AC_CHECK_FUNCS.  Use libiberty_NEED_DECLARATION
2596         for canonicalize_file_name.
2597         * lrealpath.c: New file.
2598         * make-relative-prefix.c: Update documentation.
2599         (make_relative_prefix): Simplify.  Use lbasename and lrealpath.
2600         * config.in: Regenerated.
2601         * configure: Regenerated.
2602         * functions.texi: Regenerated.
2603
2604 2003-02-20  jmc  <jmc@prioris.mini.pw.edu.pl>
2605
2606         * cplus_dem.c: Fix typo: intializes -> initializes.
2607
2608 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
2609
2610         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
2611         config.status.
2612         * configure: Rebuilt.
2613
2614 2003-02-13  Daniel Jacobowitz  <drow@mvista.com>
2615
2616         Fix PR c++/7612.
2617         * cplus-dem.c (demangle_signature): Call string_delete.
2618         Remove extra string_init.
2619         (demangle_arm_hp_template): Call string_delete instead of
2620         string_clear.  Add missing string_delete call.
2621         (demangle_qualified): Add missing string_delete call.
2622         (do_type): Remove unused variable btype.  Add missing string_delete
2623         call.  Call string_delete instead of string_clear.
2624         (demangle_fund_type): Move variable btype inside of the switch
2625         statement.  Add missing string_delete call.
2626         (do_arg): Call string_delete instead of string_clear.  Remove extra
2627         string_init.
2628         (demangle_nested_args): Free work->previous_argument.
2629
2630 2003-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2631
2632         * acconfig.h: New file.  Add uintptr_t.
2633         * config.in: Regenerated.
2634
2635 2003-02-04  Joseph S. Myers  <jsm@polyomino.org.uk>
2636
2637         * libiberty.texi: Update to GFDL 1.2.
2638
2639 2003-01-30  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
2640
2641         * Makefile.in (libiberty_topdir): New subst.
2642         (mkinstalldirs): Redefine in terms of the above.
2643         * configure.in: AC_SUBST it.
2644         * configure: Regenerate.
2645
2646 2003-01-28  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
2647
2648         * Makefile.in (all-subdir, check-subdir, installcheck-subdir)
2649         (info-subdir, install-info-subdir, clean-info-subdir)
2650         (dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
2651         (clean-subdir, distclean-subdir, maintainer-clean-subdir):
2652         Pass $(FLAGS_TO_PASS).
2653
2654 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
2655
2656         * Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
2657         /`$$CC -print-multi-os-directory`.
2658
2659 2003-01-26  Daniel Jacobowitz  <drow@mvista.com>
2660
2661         * hashtab.c (htab_create_alloc_ex): New function.
2662         (hatab_set_functions_ex): New function.
2663         (htab_delete, htab_expand): Support alternate allocation functions.
2664
2665 2003-01-24  Christopher Faylor  <cgf@redhat.com>
2666
2667         * configure.in: Remove special pex-cygwin consideration.
2668         * configure: Regenerate.
2669         * pex-cygwin.c: Remove.
2670         * Makefile.in: Remove pex-cygwin.[co] lines.
2671
2672 2003-01-24  Zack Weinberg  <zack@codesourcery.com>
2673
2674         * Makefile.in (CFILES): Add pex-*.c.
2675         (REQUIRED_OFILES): Change pexecute.o to @pexecute@
2676         (CONFIGURED_OFILES): Add pex-*.o.
2677         (TEXIFILES): Add pexecute.txh.
2678         (pexecute.o): Delete rule.
2679         (pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o,
2680         pex-unix.o, pex-win32.o): New rules.
2681         * configure.in: Change AC_INIT argument to xmalloc.c.
2682         Compute appropriate pexecute implementation and substitute it
2683         as @pexecute@.
2684
2685         * pexecute.c: Split up into...
2686         * pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c,
2687         pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these
2688         new files.
2689
2690         * functions.texi: Regenerate.
2691         * configure: Regenerate.
2692
2693 2003-01-20  Josef Zlomek  <zlomekj@suse.cz>
2694
2695         * hashtab.c (htab_expand): Fix allocation of new entries.
2696
2697 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
2698
2699         * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
2700
2701         * Makefile.in (install_to_libdir, install_to_tooldir): Add a
2702         mkinstalldirs command.
2703
2704 2002-12-04  Danny Smith  <dannysmith@users.sourceforge.net>
2705
2706         * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
2707         Define for hosts with HOST_EXECUTABLE_SUFFIX.
2708
2709 2002-11-24  Nick Clifton  <nickc@redhat.com>
2710
2711         * make-relative-prefix.c (make_relative_prefix): Ensure return
2712         string is empty before using strcat to construct it.
2713
2714 2002-11-22  Daniel Jacobowitz  <drow@mvista.com>
2715
2716         * Makefile.in: Add make-relative-prefix.c.
2717         * make-relative-prefix.c: New file.
2718         * functions.texi: Rebuilt.
2719
2720 2002-11-16  Jakub Jelinek  <jakub@redhat.com>
2721
2722         * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
2723         used with arguments in traditional C' warnings.
2724
2725 2002-10-16  Jakub Jelinek  <jakub@redhat.com>
2726
2727         * config.table: Use mh-s390pic for s390x too.
2728
2729 2002-10-06  Andreas Jaeger  <aj@suse.de>
2730
2731         * libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded
2732         variable and of strict-aliasing warning.
2733         (grow_vect): Use char as first parameter.
2734
2735 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2736
2737         * Makefile.in (all): Fix multilib parallel build.
2738
2739 2002-09-19  John David Anglin  <dave@hiuly1.hia.nrc.ca>
2740
2741         * cp-demangle.c (demangling_new): Cast 0 to enum.
2742         (demangle_char): Cast return of strdup to char *.
2743         (is_gnu_v3_mangled_ctor): Cast 0 to enum.
2744         (is_gnu_v3_mangled_dtor): Likewise.
2745         * cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
2746         (work_stuff_copy_to_from): Cast return of xmalloc to char **.
2747         * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
2748         * md5.c (md5_process_bytes): Cast results back to const void *.
2749         (md5_process_block): Add cast to const md5_uint32 *.
2750         * regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
2751         * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
2752         unsigned short.
2753         * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
2754         to void *.
2755         * vasprintf.c (int_vasprintf): Cast return of malloc to char *.
2756
2757 2002-09-19  Nick Clifton  <nickc@redhat.com>
2758
2759         * README: Update email addresses for bugs and patches.
2760
2761 2002-09-10  Mike Stump  <mrs@apple.com>
2762
2763         * splay-tree.c (splay_tree_successor): Fix comments.
2764
2765 2002-09-11  Zack Weinberg  <zack@codesourcery.com>
2766
2767         * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
2768         * testsuite/Makefile.in: Adjust for test-demangle.
2769         * testsuite/regress-demangle: Deleted.
2770         * testsuite/test-demangle.c: New file.
2771         * testsuite/demangle-expected: Change \$ to $ throughout, now that
2772         this file is not being read by a shell script.
2773
2774 2002-09-05  Roger Sayle  <roger@eyesopen.com>
2775
2776         * regex.c: Only use "#pragma alloca" on AIX when not using gcc.
2777
2778 2002-08-07  DJ Delorie  <dj@redhat.com>
2779
2780         * regex.c (re_error_msgid): Just use a simple array of strings.
2781         (re_compile_pattern): Compensate.
2782         (re_comp): Likewise.
2783         (re_comp): Likewise.
2784         (regerror): Likewise.
2785
2786 2002-07-29  Neil Booth  <neil@daikokuya.co.uk>
2787
2788         * cplus-dem.c (PREPEND_BLANK): Remove.
2789
2790 2002-07-10  Jason Merrill  <jason@redhat.com>
2791
2792         * cp-demangle.c (demangle_identifier): Support extended Unicode
2793         characters.
2794
2795 2002-07-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2796
2797         * cp-demangle.c (demangle_v3_with_details): Wrap in
2798         !defined IN_GLIBCPP_V3.
2799
2800 2002-07-01  Mark Mitchell  <mark@codesourcery.com>
2801
2802         * cp-demangle.c (demangle_operator_name): Add type_arg parameter.
2803         Set it for the "st" operator.
2804         (demangle_expression): Handle expressions with types as arguments.
2805
2806 2002-06-30  Douglas Rupp  <rupp@gnat.com>
2807
2808         * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
2809         * Makefile.in (OUTPUT_OPTION): Use.
2810
2811 2002-06-22  Peter Breitenlohner <peb@mppmu.mpg.de>
2812
2813         * Makefile.in (install_to_libdir): Add $(DESTDIR).
2814         (install_to_tooldir): Likewise.
2815
2816 2002-06-17  Douglas Rupp  <rupp@gnat.com>
2817
2818         * lbasename.c: Add 2002 to copyright.
2819         (IS_DIR_SEPARATOR): Remove VMS junk.
2820
2821 2002-06-05  Geoffrey Keating  <geoffk@redhat.com>
2822
2823         * hashtab.c (htab_create): New stub function for backward
2824         compatibility.
2825         (htab_try_create): Likewise.
2826
2827 2002-06-03  Geoffrey Keating  <geoffk@redhat.com>
2828
2829         * hashtab.c (htab_create): Delete.
2830         (htab_try_create): Delete.
2831         (htab_create_alloc): New.
2832         (htab_delete): Support user-specified memory allocation.
2833         (htab_expand): Likewise.
2834
2835 2002-05-22  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
2836
2837         * configure.in: Fix typo in the code checking for sys_errlist.
2838         * configure: Regenerated.
2839
2840 2002-05-13  Andreas Schwab  <schwab@suse.de>
2841
2842         * config.table: Use mh-x86pic also for x86-64.
2843
2844 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
2845
2846         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
2847         script entry, and set LD to it when configuring multilibs.
2848         * configure: Rebuilt.
2849
2850 2002-05-07  Mark Mitchell  <mark@codesourcery.com>
2851
2852         * configure.in (AC_TYPE_PID_T): Use it.
2853         * configure: Regenerated.
2854         * getruntime.c: Include <sys/types.h>.
2855         * waitpid.c: Likewise.  Use pid_t, not int, as the type of "pid".
2856
2857 2002-04-09  Richard Henderson  <rth@redhat.com>
2858
2859         * hashtab.c (higher_prime_number): Use 7 as minimum.
2860         (find_empty_slot_for_expand): Don't compute hash2 unless needed.
2861         (htab_find_slot_with_hash): Likewise.
2862
2863 2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
2864
2865         * cp-demangle.c (__cxa_demangle):  Also protect with IN_GLIBCPP_V3.
2866         (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor):  Conditionally
2867         not compile if IN_GLIBCPP_V3 defined.
2868         * dyn-string.c:  Also allow IN_GLIBCPP_V3 to change allocation scheme.
2869
2870 2002-03-30  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
2871
2872         * cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
2873         if it is NULL.
2874
2875 2002-03-27  DJ Delorie  <dj@redhat.com>
2876
2877         * hex.c: Add documentation.
2878         (_hex_value): Provide non-ASCII empty table.
2879         (hex_init): Initialize the non-ASCII table.
2880         * functions.texi: Regenerate.
2881
2882 2002-03-27  Mark Mitchell  <mark@codesourcery.com>
2883
2884         * dyn-string.c: Add libgcc exception to copyright notice.
2885
2886 2002-03-26  H.J. Lu  (hjl@gnu.org)
2887
2888         * config.table: Support --with-build-subdir.
2889         * configure.in: Likewise.
2890         * configure: Rebuild.
2891
2892 2002-03-18  Stuart Griffith  <Stuart_Griffith@credence.com>
2893
2894         * strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
2895         seen.
2896
2897 2002-03-12  Mark Mitchell  <mark@codesourcery.com>
2898
2899         * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
2900         notice.
2901
2902 2002-03-11  Douglas B Rupp  <rupp@gnat.com>
2903
2904         * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
2905
2906 2002-03-06  Jim Blandy  <jimb@redhat.com>
2907
2908         * splay-tree.c (splay_tree_xmalloc_allocate,
2909         splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
2910         prototyped definitions.  Mark `data' arguments as unused.
2911
2912 2002-03-06  Andrew Cagney  <ac131313@redhat.com>
2913
2914         * floatformat.c (floatformat_arm_ext_big): Delete definition.
2915
2916 2002-03-04  Phil Edwards  <pme@gcc.gnu.org>
2917
2918         * configure.in:  Add --enable-install-libiberty option.
2919         * Makefile.in (INSTALLED_HEADERS):  New variable.
2920         (install_to_libdir):  Possibly also copy headers.
2921         * configure:  Regenerated.
2922
2923 2002-03-04  Neil Booth  <neil@daikokuya.demon.co.uk>
2924
2925         * xmalloc.c (xmalloc_fail): Clarify error message further.
2926
2927 2002-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
2928
2929         * xmalloc.c (xmalloc_fail): Clarify error message.
2930
2931 2002-02-22  Jim Blandy  <jimb@redhat.com>
2932
2933         * splay-tree.c (splay_tree_xmalloc_allocate,
2934         splay_tree_xmalloc_deallocate): New functions.
2935         (splay_tree_new): Call splay_tree_new_with_allocator, passing the
2936         above functions and a dummy data pointer.
2937         (splay_tree_new_with_allocator): New function.
2938         (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
2939         splay_tree_remove): Use the splay tree's allocation and
2940         deallocation functions.
2941
2942 2002-02-19  Scott Snyder  <snyder@fnal.gov>
2943
2944         * testsuite/demangle-expected: Add test case for infinite loop in
2945         demangler.
2946         * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
2947         if do_type() doesn't make any progress --- prevents an infinite
2948         loop.
2949
2950 2002-02-18  Carlo Wood  <carlo@gnu.org>
2951
2952         PR c++/5390
2953         * cplus-dem.c (demangle_integral_value): Accept multi-digit
2954         numbers that do not start with an underscore; This is needed
2955         for integer template parameters. This doesn't break anything
2956         because multi-digit numbers are never followed by a digit.
2957         * testsuite/demangle-expected: Corrected all mangled test
2958         cases with multi-digit template parameters: g++ 2.95.x does
2959         not generate underscores around these parameters.
2960
2961 2002-02-05  Jason Merrill  <jason@redhat.com>
2962
2963         * cplus-dem.c (flags): Add DMGL_VERBOSE
2964         (cplus_demangle_v3_p): Remove.
2965         (demangle_it): Add DMGL_TYPES to passed flags.
2966         * cp-demangle.c (cplus_demangle_v3_all): Remove.
2967         (cplus_demangle_v3_type): Remove.
2968         (cplus_demangle_v3): Add options parm.
2969
2970 2002-02-02  H.J. Lu  (hjl@gnu.org)
2971
2972         * cp-demangle.c (cp_demangle_type): Do not protect with
2973         IN_LIBGCC2.
2974         (cplus_demangle_v3_all): New.
2975         (cplus_demangle_v3): Call cplus_demangle_v3_all.
2976         (cplus_demangle_v3_type): Call cplus_demangle_v3_all.
2977
2978         * cplus-dem.c (cplus_demangle_v3_p): New function pointer.
2979         Initialized to cplus_demangle_v3.
2980         (cplus_demangle_with_style): Call cplus_demangle_v3_p instead
2981         of cplus_demangle_v3.
2982         (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
2983         command line symbol.
2984
2985         * testsuite/regress-demangle: Pass the mangled name at the
2986         command line.
2987
2988 2002-02-01  H.J. Lu  <hjl@gnu.org>
2989
2990         * cp-demangle.c (cp_demangle_type): Call demangling_new with
2991         DMGL_GNU_V3.
2992
2993 2002-01-31  Phil Edwards  <pme@gcc.gnu.org>
2994
2995         * cp-demangle.c:  Revert yesterday's change.
2996
2997 2002-01-31  Adam Megacz  <adam@xwt.org>
2998
2999         * gcc/libiberty/configure.in: Treat mingw the same as cywin
3000         wrt HAVE_SYS_ERRLIST.
3001
3002 2002-01-30  Phil Edwards  <pme@gcc.gnu.org>
3003
3004         * cp-demangle.c (cp_demangle_type):  Do not protect with IN_LIBGCC2.
3005         (cplus_demangle_v3):  Mimic __cxa_demangle and fall back on
3006         cp_demangle_type.
3007         * testsuite/demangle-expected:  New gnu-v3 test.
3008
3009 2002-01-22  Momchil Velikov  <velco@fadata.bg>
3010
3011         * configure.in (variable detection): Use arrays of unspecified
3012         size instead of plain integers.
3013
3014 2002-01-18  DJ Delorie  <dj@redhat.com>
3015
3016         * Makefile.in (TESTLIB): New.  This library is for future
3017         testsuites.
3018         (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
3019         break down by letter.
3020         (REQUIRED_OFILES): List long-to-compile files first.
3021         (maint-deps): New, target for updating dependencies.
3022         (dependencies): Update.
3023         * maint-tool: Add dependency-generating option.
3024         * configure.in: Check for _doprnt even if we're not providing it.
3025         * configure: Regenerate.
3026
3027         * _doprnt.c: Modifications to allow compiling on any platform.
3028         * copysign.c: Likewise.
3029         * putenv.c: Likewise.
3030         * setenv.c: Likewise.
3031         * vsprintf.c: Likewise.
3032
3033 2002-01-15  Douglas B Rupp  <rupp@gnat.com>
3034
3035         * mkstemps.c (mkstemps): On VMS, open temp file with option
3036         that causes it to be deleted when closed.
3037
3038 2002-01-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3039
3040         * cp-demangle.c (long_options): Const-ify.
3041         * cplus-dem.c (long_options): Likewise.
3042
3043         * cplus-dem.c (mystrstr): Delete.  All callers changed to use
3044         strstr instead.
3045
3046 2001-12-31  Ira Ruben   <ira@apple.com>
3047
3048         * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
3049         * configure: Regenerated.
3050
3051 2001-12-24  Douglas B. Rupp  <rupp@gnat.com>
3052
3053         * configure.in (uintptr_t): Use AC_CHECK_TYPE.
3054         * configure: Regenerated.
3055
3056 2001-12-12  Craig Rodrigues  <rodrigc@gcc.gnu.org>
3057
3058         PR other/2719
3059         * cplus-dem.c (consume_count): Treat negative count as an error.
3060         * testsuite/demangle-expected: Added testcase.
3061
3062 Tue Dec 11 07:08:57 2001  Douglas B. Rupp  <rupp@gnat.com>
3063
3064         * configure.in: Hardcode that vfork works on VMS host.
3065         * configure: Regenerated.
3066
3067 2001-12-06  Richard Henderson  <rth@redhat.com>
3068
3069         * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
3070         (cplus_demangle): Support no_demangling.
3071
3072 2001-11-27  Zack Weinberg  <zack@codesourcery.com>
3073
3074         * _doprnt.c: Moved here from gcc/doprint.c.  Adjust to build
3075         in libiberty context.  Fix typo in leading comment.
3076         * configure.in: Fix various AC_DEFINEs so autoheader works.
3077         If any of vprintf, vsprintf, vfprintf is missing from libc,
3078         then AC_REPLACE_FUNCS(_doprnt).
3079
3080 2001-11-26  DJ Delorie  <dj@redhat.com>
3081             Daniel Jacobowitz  <drow@mvista.com>
3082
3083         * Makefile.in (stamp-h): Depend on Makefile for proper
3084         serialization.
3085         (*-subdir): Depend on config.h for proper serialization.
3086
3087 2001-11-26  DJ Delorie  <dj@redhat.com>
3088
3089         * configure.in: Check for alloca.h (for regex.c and putenv.c).
3090         * configure: Regenerate.
3091         * config.h: Add HAVE_ALLOCA_H.
3092
3093 2001-11-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3094
3095         * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
3096         defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
3097         is available.
3098
3099 Thu Nov 15 11:06:25 2001  Jeffrey A Law  (law@cygnus.com)
3100
3101         * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
3102         * configure.in (HAVE_UINTPTR_T): Test for system defining
3103         uintptr_t and define HAVE_UINTPTR_T appropriately.
3104         * regex.c (uintptr_t): Do not provide a definition if the
3105         system provided one.
3106
3107         * regex.c (PREFIX): Provide an alternate definition for
3108         non-ANSI/ISO compilers.
3109         (ARG_PREFIX): Likewise.
3110
3111 2001-11-12  Jim Meyering  <meyering@lucent.com>
3112
3113         * obstack.c (_): Honor the setting of ENABLE_NLS.  Otherwise,
3114         this code would end up calling gettext even in packages built
3115         with --disable-nls.
3116         * getopt.c (_): Likewise.
3117         * regex.c (_): Likewise.
3118
3119 2001-11-03  Alan Modra  <amodra@bigpond.net.au>
3120
3121         * configure.in: Cope with missing makeinfo.
3122         * configure: Regenerate.
3123
3124 2001-10-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3125
3126         * hex.c (hex_init): Provide empty stub.
3127
3128         * hex.c (hex_init): Delete.
3129         (_hex_value): Const-ify and initialize at compile-time.
3130
3131 2001-10-19  H.J. Lu <hjl@gnu.org>
3132
3133         * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
3134         necessary.
3135
3136 2001-10-17  DJ Delorie  <dj@redhat.com>
3137
3138         * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
3139         ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
3140         mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
3141         Improve manual formatting.
3142         * functions.texi: Regenerate.
3143
3144 2001-10-15  DJ Delorie  <dj@redhat.com>
3145
3146         * Makefile.in (TEXIFILES): Add fnmatch.txh.
3147         (maint-undoc): New.
3148         maint-tool: Add "undoc" tool.
3149         * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
3150         fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
3151         make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
3152         strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
3153         documentation.
3154         * fnmatch.txh: New.
3155         * functions.texi: Regenerate.
3156
3157 2001-10-10  Joseph S. Myers  <jsm28@cam.ac.uk>
3158
3159         * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
3160         * strtod.c: Use "ISO C" instead of "ANSI C".
3161         * functions.texi: Regenerate.
3162
3163 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
3164
3165         * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
3166         libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
3167         strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
3168         xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting.  Fix
3169         spelling.  Give names to function arguments in documentation.  Use
3170         (void) prototypes in documentation.
3171         * functions.texi: Regenerate.
3172
3173 2001-10-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3174
3175         * argv.c (buildargv, tests, main): Const-ify.
3176         * cp-demangle.c (operator_code): Likewise.
3177         * cplus-dem.c (optable, libiberty_demanglers,
3178         cplus_demangle_set_style, cplus_demangle_name_to_style,
3179         print_demangler_list): Likewise.
3180         * hashtab.c (higher_prime_number): Likewise.
3181         * strcasecmp.c (charmap): Likewise.
3182         * strerror.c (error_info, strerror, main): Likewise.
3183         * strncasecmp.c (charmap): Likewise.
3184         * strsignal.c (signal_info): Likewise.
3185
3186 2001-09-29  DJ Delorie  <dj@redhat.com>
3187
3188         * configure: Regenerate.
3189
3190 2001-09-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3191
3192         * concat.c: Include stdlib.h.
3193
3194 2001-09-27  Eli Zaretskii  <eliz@is.elta.co.il>
3195
3196         * libiberty.texi: (Top level): Add syncodeindex pg.  Add
3197         @dircategory and @direntry directives.  Add @finalout.
3198         (many nodes): Lose the next,prev,up pointers on the @nide line.
3199         (Using, Supplemental Functions, Replacement Functions): Fix
3200         markup.
3201         (Functions): Move around, to allow makeinfo to build the manual
3202         without next,prev,up pointers in thye node lines.
3203         (Licenses): Fix typos.
3204
3205         * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
3206         strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
3207         * functions.texi: Regenerate.
3208
3209         * copying-lib.texi: Lose the next,prev,up pointers on the @node
3210         line.
3211
3212 2001-09-27  DJ Delorie  <dj@redhat.com>
3213
3214         * configure.in: Don't use in-tree texinfo, because libiberty must
3215         be built before it.  Check for makeinfo version 4 or higher.
3216         * functions.texi: Regenerate.
3217
3218 2001-09-20  DJ Delorie  <dj@redhat.com>
3219             Phil Edwards  <pedwards@disaster.jaj.com>
3220
3221         * configure.in (MAKEINFO, PERL): Detect these.
3222         (--enable-maintainer-mode): Add.
3223         * configure: Regenerate.
3224         * Makefile.in (MAKEINFO, PERL): Define.
3225         (libiberty.info, libiberty.dvi, libiberty.html): New.
3226         (CFILES): Add bsearch.c.
3227         (CONFIGURED_OFILES): New, list of objects configure might add.
3228         (maint-missing, maint-buildall): New, for maintainers only.
3229         (clean, mostlyclean): Add info/dvi/html files.
3230         * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
3231         * gather-docs: New, for maintainers.
3232         * maint-tool: New, for maintainers.
3233         * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
3234         bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
3235         getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
3236         memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
3237         sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
3238         strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
3239         tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
3240         xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
3241         documentation.
3242
3243 2001-09-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3244
3245         * concat.c (reconcat): Fix for traditional C.
3246
3247 2001-09-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3248
3249         * concat.c (reconcat): New function.
3250
3251 2001-09-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3252
3253         * concat.c (vconcat_length, vconcat_copy, concat_length,
3254         concat_copy, concat_copy2): New functions.
3255         (concat): Use vconcat_length/vconcat_copy.
3256
3257         * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
3258         Define.
3259
3260 2001-09-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3261
3262         * asprintf.c: Don't define USE_STDARG.  Use VPARAMS, VA_OPEN,
3263         VA_FIXEDARG & VA_CLOSE.
3264
3265         * vasprintf.c: Check HAVE_STRING_H when including string.h.
3266         (checkit): Delete redundant prototype.  Add ATTRIBUTE_PRINTF_1.
3267         Use VA_OPEN, VA_FIXEDARG & VA_CLOSE.  Free allocated string.
3268
3269 2001-08-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3270
3271         * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
3272
3273 2001-08-23  Ulrich Drepper  <drepper@redhat.com>
3274
3275         * regex.c (truncate_wchar): Use wcrtomb not wctomb.
3276
3277 2001-08-23  Ulrich Drepper  <drepper@redhat.com>
3278
3279         * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
3280         instead of mbrtowc.
3281         [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
3282         wcslen, and __wcscoll instead of wcscoll.
3283
3284 2001-08-22  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
3285
3286         * fibheap.c (fibheap_init, fibnode_init): Remove.
3287         (fibheap_new, fibnode_new): Use xcalloc to allocate and
3288         initialize memory.
3289         (fibheap_insert): Remove check for node allocation failure.
3290
3291 2001-08-21  Richard Henderson  <rth@redhat.com>
3292
3293         * Makefile.in (fibheap.o): Depend on config.h.
3294         * fibheap.c: Tidy formatting.  Use config.h.` Rearrange some
3295         functions for inlining.
3296
3297 Tue Aug 21 12:35:04 2001  Christopher Faylor <cgf@cygnus.com>
3298
3299         * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
3300         hosting on cygwin.
3301         * configure: Regenerate.
3302
3303 2001-08-20  Andrew Cagney  <ac131313@redhat.com>
3304
3305         * floatformat.c (floatformat_m88110_ext): Remove #ifdef
3306         HARRIS_FLOAT_FORMAT.
3307         (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
3308         (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
3309         (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
3310         (floatformat_m88110_harris_ext): New float formats.
3311
3312 2001-08-20  Daniel Berlin  <dan@cgsoftware.com>
3313
3314         * fibheap.c: New file. Fibonacci heap.
3315
3316         * Makefile.in (CFILES): Add fibheap.c.
3317         (REQUIRED_OFILES): Add fibheap.o.
3318         (fibheap.o): Add dependencies for fibheap.o.
3319
3320 2001-08-17  Christopher Faylor <cgf@cygnus.com>
3321
3322         * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
3323         * configure: Regenerate.
3324
3325 2001-08-16  Richard Henderson  <rth@redhat.com>
3326
3327         * hashtab.c (htab_hash_string): New.
3328
3329 2001-08-13  Andrew Cagney  <ac131313@redhat.com>
3330
3331         * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
3332         name.
3333
3334 2001-08-12  Isamu Hasegawa  <isamu@yamato.ibm.com>
3335
3336         * regex.c (wcs_regex_compile): Use appropriate string
3337         to compare with collating element.
3338         Fix the padding for the alignment.
3339
3340 2001-08-10  Andrew Cagney  <ac131313@redhat.com>
3341
3342         * lbasename.c (lbasename): Change function definition to return a
3343         const char pointer.
3344
3345 2001-08-07  Jason Merrill  <jason_merrill@redhat.com>
3346
3347         * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
3348         for".
3349
3350 2001-08-03  Richard Henderson  <rth@redhat.com>
3351
3352         * Makefile.in (concat.o): Depend on config.h.
3353
3354 2001-07-30  Andreas Jaeger  <aj@suse.de>
3355
3356         * concat.c: Include "config.h".
3357
3358 2001-07-30  Andreas Jaeger  <aj@suse.de>
3359
3360         * regex.c: Declare wcs functions only if compiling with
3361         MBS_SUPPORT.
3362         Don't use #elif for traditional C.
3363
3364 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
3365
3366         * regex.c: Revamp memory allocation for WCHAR functions to
3367         not use too much stack.
3368
3369 2001-07-30  Andreas Jaeger  <aj@suse.de>
3370
3371         * regex.c: Declare wcs functions only if compiling with
3372         MBS_SUPPORT.
3373         Don't use #elif for traditional C.
3374
3375 2001-07-25  Daniel Jacobowitz  <drow@mvista.com>
3376
3377         * Makefile.in (regex.o): Add dependency on config.h.
3378
3379 2001-07-18  Andreas Schwab  <schwab@suse.de>
3380
3381         * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
3382         underscore character.
3383
3384 2001-07-18  Ulrich Drepper  <drepper@redhat.com>
3385
3386         * regex.c: Limit string length printed in debug messages to 100
3387         chars.
3388
3389 2001-07-18  Andreas Jaeger  <aj@suse.de>
3390
3391         * regex.c: Place under LGPL version 2.1.
3392
3393 2001-07-10  Jeff Johnston  <jjohnstn@redhat.com>
3394
3395         * Makefile.in: Add support for regex code.
3396         * regex.c: New file.
3397
3398 2001-07-05  Mark Klein  <mklein@dis.com>
3399
3400         * Makefile.in: Add ffs.c dependency.
3401         * configure.in: Add ffs.c.
3402         * ffs.c: New file.
3403
3404 2001-06-18  Richard Henderson  <rth@redhat.com>
3405
3406         * concat.c: Include <sys/types.h>.
3407
3408 2001-06-11  Loren J. Rittle  <ljrittle@acm.org>
3409
3410         bootstrap/3106
3411         * strerror.c (sys_nerr): Hide the OS header version.
3412         * strsignal.c (sys_nsig): Likewise.
3413
3414 2001-06-10  Richard Henderson  <rth@redhat.com>
3415
3416         * concat.c: Include string.h.  Fix int vs size_t usage.
3417         Simplify the iteration loops.  Use memcpy.
3418
3419 2001-05-16  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
3420
3421         * partition.c: Fix misspelling of `implementation'.
3422
3423 2001-05-09  Thiemo Seufer  <seufer@csv.ica.uni-stuttgart.de>
3424
3425         * md5.c (md5_init_ctx): Declare constants as unsigned.
3426         (md5_process_block): Likewise.
3427
3428 2001-05-07  Zack Weinberg  <zackw@stanford.edu>
3429
3430         * cp-demangle.c (demangle_v3_with_details,
3431         is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
3432         function definition.
3433         * ternary.c: Use K+R style function definitions.  Use PTR, not
3434         void *.  Make arguments constant where possible.
3435
3436 2001-05-07  Mark Mitchell  <mark@codesourcery.com>
3437
3438         * splay-tree.h (splay_tree_max): New function.
3439         (splay_tree_min): Likewise.
3440
3441 2001-04-15  Daniel Berlin  <dan@cgsoftware.com>
3442
3443         * ternary.c: New file - Ternary search tree implementation.
3444
3445         * Makefile.in: Add ternary.o, and ternary.c dependencies.
3446
3447 2001-04-03  Zack Weinberg  <zackw@stanford.edu>
3448
3449         * make-temp-file.c (try): Inline.
3450
3451 2001-02-28  Richard Henderson  <rth@redhat.com>
3452
3453         * Makefile.in (make-temp-file.o): Depend on config.h.
3454
3455 2001-03-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3456
3457         * memchr.c (memchr): Adjust condition to avoid infinite loop.
3458
3459 2001-03-23  Jakub Jelinek  <jakub@redhat.com>
3460
3461         * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
3462         `_' not followed by a digit is invalid.
3463
3464 2001-03-22  Jim Blandy  <jimb@redhat.com>
3465
3466         * cp-demangle.c (string_list_delete): Use dyn_string_delete
3467         instead of free, to free the contents as well as the string
3468         structure.
3469
3470 2001-03-21  Zack Weinberg  <zackw@stanford.edu>
3471
3472         * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
3473         Don't default P_tmpdir to anything.  Try /var/tmp before
3474         /usr/tmp.
3475
3476 2001-03-20  Zack Weinberg  <zackw@stanford.edu>
3477
3478         * choose-temp.c: Split off make_temp_file, and the code
3479         duplicated between it and choose_temp_base, into...
3480         * make-temp-file.c: ... here; new file.
3481
3482         * Makefile.in (CFILES): Add make-temp-file.c.
3483         (REQUIRED_OFILES): Add make-temp-file.o.
3484
3485 2001-03-20  Jim Blandy  <jimb@redhat.com>
3486
3487         * cp-demangle.c (struct demangling_def): New fields:
3488         is_constructor and is_destructor.
3489         (demangling_new): Initialize them.
3490         (demangle_ctor_dtor_name): Set them, if we detect a constructor
3491         or destructor.
3492         (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
3493         is_gnu_v3_mangled_dtor): New functions.
3494
3495 2001-03-20  Jason Merrill  <jason@redhat.com>
3496
3497         * cplus-dem.c (main): Skip initial $.
3498
3499 2001-03-15  Michael Meissner  <meissner@redhat.com>
3500
3501         * hashtab.c (higher_prime_number): Silence warning that 4294967291
3502         might be a signed integer under pre-ISO C systems.
3503
3504 2001-03-10  Neil Booth  <neil@daikokuya.demon.co.uk>
3505             John David Anglin  <dave@hiauly1.hia.nrc.ca>
3506
3507         * libiberty/lbasename.c: New file.
3508         * libiberty/Makefile.in: Update for lbasename.
3509
3510 2001-03-06  Zack Weinberg  <zackw@stanford.edu>
3511
3512         * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
3513         * configure.in: Replace all alloca logic with a simple use of
3514         the above new macro.
3515         * config.table: Kill *-*-beos* entry.
3516         * config/mh-beos: Delete.
3517         * configure, config.in: Regenerate.
3518
3519         * Makefile.in (ALLOCA, HFILES): Kill.
3520         (REQUIRED_OFILES): Add alloca.o.
3521         (alloca.o): Depend on libiberty.h.
3522         (argv.o): Don't depend on alloca-conf.h.
3523         * alloca-conf.h: Delete.
3524         * alloca.c: Include libiberty.h.  Kill all #ifdef emacs
3525         blocks.  Provide the C alloca unconditionally.  Use PTR where
3526         appropriate.  Make i00afunc static.
3527         * argv.c: Don't include alloca-conf.h.
3528
3529 2001-03-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3530
3531         * cplus-dem.c (main): Cast enum style to int.
3532
3533 2001-02-16  Loren J. Rittle  <ljrittle@acm.org>
3534
3535         * cplus-dem.c (main): Initialize style.
3536
3537 2001-02-02  Phil Edwards  <pme@sources.redhat.com>
3538
3539         * COPYING.LIB:  Update to LGPL 2.1 from the FSF.
3540
3541 2001-01-31  Bryce McKinlay  <bryce@albatross.co.nz>
3542
3543         Add support for Java demangling under the v3 ABI:
3544         * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
3545         (struct demangling_def): Add `style' field.
3546         (demangling_new): New parameter `style'. Set it in demangling_t.
3547         (demangle_prefix): Use NAMESPACE_SEPARATOR.
3548         (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
3549         (cp_demangle): New parameter `style'. Pass it to demangling_new().
3550         (main): Call cp_demangle with extra parameter.
3551         (java_demangle_v3): New function.
3552         (java_builtin_type_names): New. Table of primitive type names used
3553         for Java demangling.
3554         (demangle_builtin_type): Look up in java_builtin_type_names if doing
3555         Java output.
3556         * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
3557         demangling.
3558         (long_options): Remove obsolete `java' option.
3559         (main): Remove explicit handling of `java' option. Instead, pass style
3560         parameter in cplus_demangle flags as gdb does.
3561         * testsuite/demangle.expected: Add some Java test cases.
3562
3563 2000-12-29  DJ Delorie  <dj@redhat.com>
3564
3565         * fnmatch.c: Make the note about the origins of this file more
3566         accurate, at least until we can sync with glibc.
3567         * getopt.c: Ditto.
3568         * getopt1.c: Ditto.
3569         * md5.c: Ditto.
3570         * obstack.c: Ditto.
3571
3572 2000-12-26  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
3573
3574         * bsearch.c: New file.
3575         * configure.in (funcs): Add bsearch.
3576         (AC_CHECK_FUNCS): Likewise.
3577         * configure, config.in: Regenerate.
3578
3579 2000-12-13  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
3580
3581         * safe-ctype.c: #include "ansidecl.h".
3582         * strtod.c: Likewise.
3583
3584 2000-12-13  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
3585
3586         * strtoul.c: Include safe-ctype.h, not ctype.h.
3587
3588 2000-12-07  Zack Weinberg  <zack@wolery.stanford.edu>
3589
3590         * safe-ctype.c: New file.
3591         * Makefile.in (CFILES): Add safe-ctype.c.
3592         (REQUIRED_OFILES): Add safe-ctype.o.
3593
3594         * argv.c: Define ISBLANK and use it, not isspace.
3595         * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
3596         strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h.  Use
3597         uppercase ctype macros.  Don't test ISUPPER(c)/ISLOWER(c)
3598         before calling TOLOWER(c)/TOUPPER(c).
3599
3600 2000-12-07  Mike Stump  <mrs@wrs.com>
3601
3602         * Makefile.in (distclean): When cleaning, remove testsuite.
3603
3604 2000-12-05  Jason Merrill  <jason@redhat.com>
3605
3606         * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
3607         name before allocating the dyn_string.
3608
3609 2000-12-04  Jason Merrill  <jason@redhat.com>
3610
3611         * cp-demangle.c: s/new_abi/v3/.
3612         * cplus-dem.c: Likewise.
3613         (current_demangling_style): Now auto_demangling.
3614         (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
3615         (main): Use standard symbol chars for auto_demangling.
3616
3617 2000-11-26  Mark Mitchell  <mark@codesourcery.com>
3618
3619         * hashtab.c (higher_prime_number): Use a table, rather than a
3620         seive, to find the next prime.
3621
3622 2000-11-22  H.J. Lu  <hjl@gnu.org>
3623
3624         * cplus-dem.c (main): Handle gnat_demangling.
3625
3626 2000-11-22  Zack Weinberg  <zack@wolery.stanford.edu>
3627
3628         * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
3629         (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
3630         * configure.in: Call AC_C_INLINE and AC_C_CONST.  Use three
3631         argument form of AC_DEFINE in dummy definitions block.  Use
3632         AC_DEFINE_NOAUTOHEADER for real definitions of things defined
3633         in dummy block.  Preload cache variables instead of bypassing
3634         tests, where possible.
3635         * acconfig.h: Removed.
3636
3637         * xmalloc.c (xmalloc_failed): New function, does error
3638         reporting on failed allocation.
3639         (xmalloc, xcalloc, xrealloc): Use it.
3640
3641 2000-11-21  Hans-Peter Nilsson  <hp@bitrange.com>
3642
3643         * cplus-dem.c (cplus_demangle): Fix formatting.
3644         (grow_vect): Ditto.
3645         (ada_demangle): Ditto.
3646         (internal_cplus_demangle): Ditto.
3647         (mop_up): Ditto.
3648
3649 2000-11-21  H.J. Lu  <hjl@gnu.org>
3650
3651         * cplus-dem.c (main): Handle java_demangling.
3652
3653 2000-11-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3654
3655         * cplus-dem.c (grow_vect): Prototype.
3656         (ada_demangle): Cast the arg of ctype macros to unsigned char.
3657
3658 2000-11-15  Hans-Peter Nilsson  <hp@bitrange.com>
3659
3660         * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
3661         parameter `option'.
3662
3663 2000-11-15  Kenneth Block  <kenneth.block@compaq.com>
3664
3665         * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
3666         be used in GCC.
3667
3668 2000-11-15  Kenneth Block  <kenneth.block@compaq.com>
3669
3670         * cplus-dem.c: Add gnat demangler.  Add java to demangle style
3671         list.
3672
3673 2000-11-04  Hans-Peter Nilsson  <hp@bitrange.com>
3674
3675         * hashtab.c (htab_expand): Change to return int.  Use calloc or
3676         xcalloc depending on htab->return_allocation_failure.  Return zero
3677         if calloc fails.
3678         (htab_create): Update comment to cover memory allocation.
3679         (htab_try_create): New.
3680         (htab_find_slot_with_hash): Return NULL if htab_expand fails.
3681         Update comment to cover this.
3682
3683 2000-11-03  Hans-Peter Nilsson  <hp@bitrange.com>
3684
3685         * hashtab.c: Change void * to PTR where necessary.
3686         (htab_create, htab_expand): Correct formatting of comment before
3687         function.
3688
3689 2000-10-22  Alex Samuel  <samuel@codesourcery.com>
3690
3691         * cp-demangle.c (string_list_def): Add caret_position and comments.
3692         (result_caret_pos): New macro.
3693         (result_append_string): Rename to...
3694         (result_add_string): ... this, and insert at caret position.
3695         Rename throughout.
3696         (result_append): Rename to...
3697         (result_add): ... this, and insert at caret position.  Rename
3698         throughout.
3699         (result_append_char): Rename to...
3700         (result_add_char): ... this, and insert at caret position.  Rename
3701         throughout.
3702         (result_append_space): Remove.
3703         (string_list_new): Initialize caret position.
3704         (result_add_separated_char): Use caret position.
3705         (result_get_caret): New funtion.
3706         (result_set_caret): Likewise.
3707         (result_shift_caret): Likewise.
3708         (result_previous_char_is_space): Likewise.
3709         (substitution_start): Use caret position.
3710         (substitution_add): Likewise.
3711         (demangling_new): Initialize caret position.
3712         (demangle_encoding): Use caret position.
3713         (demanglin_nested_name): Put CV qualifiers after name.
3714         (demangle_type_ptr): Use switch statement.  Handle pointers to
3715         arrays.  Don't use result_append_space.  Use caret position.
3716         (demangle_type): Emit CV qualifiers after underlying type.  Adjust
3717         call to demangle_array_type.
3718         (demangle_array_type): Add parameter to handle pointers to arrays.
3719
3720 2000-10-01  Mark Mitchell  <mark@codesourcery.com>
3721
3722         * splay-tree.c (splay_tree_insert): Fix formatting.
3723
3724 2000-09-16  Mark Mitchell  <mark@codesourcery.com>
3725
3726         * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
3727
3728 2000-09-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
3729
3730         * splay-tree.c: #include <stdio.h>.
3731
3732 2000-09-14  Hans-Peter Nilsson  <hp@axis.com>
3733
3734         * testsuite/demangle-expected: Add two tests for anonymous
3735         namespaces.
3736         * cplus-dem.c (gnu_special): Handle anonymous namespaces.
3737
3738 2000-09-10  Mark Mitchell  <mark@codesourcery.com>
3739
3740         * splay-tree.c (splay_tree_predecessor): New function.
3741         (splay_tree_successor): Likewise.
3742
3743 2000-09-10  Hans-Peter Nilsson  <hp@axis.com>
3744
3745         * testsuite/demangle-expected: Add four tests for type_info
3746         mangling.
3747         * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
3748         for a non-template non-qualified type_info function or node.
3749
3750 2000-09-08  Alex Samuel  <samuel@codesourcery.com>
3751
3752         * cp-demangle.c: Fix copyright banner.
3753
3754 2000-09-07  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
3755
3756         * md5.c: #include "ansidecl.h".
3757
3758 2000-09-06  Alex Samuel  <samuel@codesourcery.com>
3759
3760         * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
3761         (demangle_type): Handle substitution candidates correctly in the
3762         face of special substitutions.
3763
3764 2000-09-05  Alex Samuel  <samuel@codesourcery.com>
3765
3766         * cp-demangle.c (demangle_encoding): Rename variable.
3767         (demangle_name): Rename parameter.  Handle return type
3768         suppression.
3769         (demangle_nested_name): Rename parameter.
3770         (demangle_prefix): Likewise.  Change return type suppression.
3771         (demangle_unqualified_name): Add parameter.  Flag constructors and
3772         conversion operators.
3773         (demangle_special_name): Fix comment.
3774         (demangle_type): Rename variable.
3775         (demangle_bare_function_type): Check for missing return type and
3776         parameter.
3777         (demangle_class_enum_type): Rename parameter.
3778         (demangle_discriminator): Fix misspelling in comment.
3779
3780 2000-08-31  DJ Delorie  <dj@redhat.com>
3781
3782         * configure.in (Cygwin): special case cygwin only when we're
3783         building cygwin, not when we're hosting cygwin.
3784
3785 2000-09-04  Alex Samuel  <samuel@codesourcery.com>
3786
3787         * cp-demangle.c (demangle_template_arg): Eat an `E' after an
3788         <expression>.
3789
3790 2000-09-04  Alex Samuel  <samuel@codesourcery.com>
3791
3792         * cp-demangle.c (demangle_type_ptr): Increment position past
3793         pointer and reference characters.
3794
3795 2000-09-04  Alex Samuel  <samuel@codesourcery.com>
3796
3797         * cp-demangle.c (demangle_nv_offset): New function.
3798         (demangle_v_offset): Likewise.
3799         (demangle_call_offset): Likewise.
3800         (demangle_special_name): Update thunk demangling to comply with
3801         ABI changes.
3802
3803 2000-09-03  Alex Samuel  <samuel@codesourcery.com>
3804
3805         * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
3806         (substitution_def): Remove template_parm_number.
3807         (NOT_TEMPLATE_PARM): Remove.
3808         (result_insert_string): New macro.
3809         (result_insert): Likewise.
3810         (result_insert_char): Likewise.
3811         (substitution_add): Remove last parameter.  Don't store template
3812         parm number.
3813         (BFT_NO_RETURN_TYPE): Define as NULL.
3814         (demangle_encoding): Adjust call to demangle_bare_function_type.
3815         (demangle_name): Adjust substitution.  Adjust call to
3816         substitution_add.
3817         (demangle_prefix): Adjust call to substitution_add.
3818         (demangle_identifier): Handle anonymous namespaces.
3819         (demangle_operator_name): Change demangling of vendor-extended
3820         operator to match ABI changes.
3821         (demangle_type_ptr): Change parameters.  Make recursive.  Handle
3822         substitutions here.
3823         (demangle_type): Adjust calls to demangle_template_param,
3824         substitution_add, and demangle_type_ptr.  Fix substitution of
3825         templated types.
3826         (demangle_function_type): Change parameter to a pointer.
3827         (demangle_bare_function_type): Likewise.  Adjust insertion point.
3828         (demangle_template_param): Remove last parameter.
3829         (demangle_expr_primary): Remove unused variable.  Adjust call to
3830         demangle_template_param.
3831         (is_mangled_char): Accept `$' and `.'.
3832         * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
3833         * dyn-string.c (dyn_string_insert_char): New function.
3834
3835 2000-08-31  Hans-Peter Nilsson  <hp@axis.com>
3836
3837         * testsuite/demangle-expected: Add nine tests for
3838         underscore-after-number followed by five tests for name-signature
3839         delimiter.
3840
3841 2000-08-28  Richard Henderson  <rth@cygnus.com>
3842
3843         * Makefile.in (md5.o): Depend on config.h.
3844
3845 2000-08-28  Jason Merrill  <jason@redhat.com>
3846
3847         * Makefile.in (REQUIRED_OFILES): Add md5.o.
3848         (CFILES): Add md5.c.
3849         * md5.c: New file.
3850
3851 2000-08-27  Alex Samuel  <samuel@codesourcery.com>
3852
3853         * cp-demangle.c (demangle_name): Initialize template_p in local
3854         name case.  Don't re-add substitutions as candidates.
3855         (demangle_nested_name): Use <unqualified-name>.
3856         (demangle_prefix): Likewise.  Don't add template names as
3857         substitution candidates twice, or re-add a substitution or the
3858         last prefix component.
3859         (demangle_local_name): Adjust output format.
3860
3861 2000-08-25  Alex Samuel  <samuel@codesourcery.com>
3862
3863         * cp-demangle.c (result_add_separated_char): Change parameter to
3864         int.
3865         (substitution_add): Don't check for duplicates.  Check if
3866         previously allocated size is zero.
3867         (demangle_name): Remove duplicate check for std substitution.
3868         Clear template flag appropriately.
3869         (demangle_prefix): Remove argument to demangle_substitution.
3870         Don't check that template flag is already set.
3871         (demangle_operator_name): Add pt operator.
3872         (demangle_type): Don't treat r as built-in type.  Remove argument
3873         to demangle_substitution.  Fix substitution candidate mechanics.
3874         Handle <template-template-parm>s.  Improve comments.
3875         (demangle_template_param): Don't handle template arg lists here.
3876         (demangle_substitution): Remove parameter.
3877         (print_usage): Remove extra fprintf option.
3878
3879 2000-08-24  Greg McGary  <greg@mcgary.org>
3880
3881         * libiberty/random.c (end_ptr): Revert previous change.
3882
3883 2000-08-24  Greg McGary  <greg@mcgary.org>
3884
3885         * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
3886         demangle_expression, demangle_function_name): Use ARRAY_SIZE.
3887         * libiberty/random.c (end_ptr): Likewise.
3888
3889 2000-08-23  Alex Samuel  <samuel@codesourcery.com>
3890
3891         * cp-demangle.c (result_close_template_list): Remove function.
3892         (result_add_separated_char): New function.
3893         (result_open_template_list): New macro.
3894         (result_close_template_list): Likewise.
3895         (demangle_prefix): Don't set template_p if the
3896         prefix ends with a ctor name.
3897         (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
3898         (demangle_type): Check for template args after substitution.
3899         (demangle_template_args): Use result_open_template_list.
3900
3901 2000-08-02  Zack Weinberg  <zack@wolery.cumb.org>
3902
3903         * pexecute.c:  Don't use vfork.  Initialize 'pid' before retry loop.
3904
3905 2000-07-26  Dave Pitts  <dpitts@cozx.com>
3906
3907         * config/mh-openedition.h: Added -DLE370 definition.
3908
3909 2000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
3910
3911         * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
3912         __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
3913         Cast program to 'char *' in errmsg_arg assignment.
3914         (PWAIT_ERROR): Define.
3915         (pwait): Use PWAIT_ERROR.  Adjust DJGPP's status code to conform
3916         to DJGPP's WIF* macros.
3917
3918 2000-07-27  RodneyBrown  <RodneyBrown@pmsc.com>
3919             Jeff Law <law@cygnus.com>
3920
3921         * getcwd.c: Include string.h, stdlib.h for prototypes
3922
3923         * Makefile.in (rename.o, waitpid.o): Depend on config.h
3924         * rename.c: Include config.h, unistd.h
3925         * waitpid.c: Include config.h, sys/wait.h
3926
3927 2000-07-24  Hans-Peter Nilsson  <hp@axis.com>
3928
3929         * cplus-dem.c (work_stuff_copy_to_from): New.
3930         (delete_non_B_K_work_stuff): New.
3931         (delete_work_stuff): New.
3932         (mop_up): Break out work_stuff partly destruction to
3933         delete_non_B_K_work_stuff.
3934         (iterate_demangle_function): New.
3935         (demangle_prefix): Call iterate_demangle_function instead of
3936         demangle_function_name.  Leave handling of name-signature
3937         __-delimiters to iterate_demangle_function.
3938         (demangle_integral_value): Strip an optional
3939         following underscore cautiously.  Handle negative numbers.
3940
3941 2000-07-24  Daniel Berlin <dberlin@redhat.com>
3942
3943         * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
3944         if (AUTO_DEMANGLING || GNU_DEMANGLING)
3945
3946 2000-07-21  Alex Samuel  <samuel@codesourcery.com>
3947
3948         * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
3949         allocating ctor mangling.
3950         (demangle_array_type): Handle empty and non-constant array length.
3951
3952 2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
3953             Jeff Law <law@cygnus.com>
3954
3955         * configure.in (AC_CHECK_HEADERS): Add time.h.
3956         (AC_HEADER_TIME): Add check.
3957         * configure, config.in: Regenerate.
3958         * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
3959
3960         * configure.in (AC_CHECK_HEADERS): Add limits.h.
3961         * configure, config.in: Regenerate.
3962         * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
3963         * strtol.c, strtoul.c: #include "config.h". Portably #include
3964         <limits.h> and/or <sys/param.h>.
3965         * Makefile.in (strtol.o, strtoul.o): Update dependencies.
3966
3967         * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
3968         * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
3969         * configure, config.in: Regenerate.
3970         * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
3971
3972         * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
3973
3974 2000-07-21  Mike Stump  <mrs@wrs.com>
3975
3976         * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
3977         * (vasprintf.o): Add dependency for config.h in vasprintf.c.
3978
3979 2000-07-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3980
3981         * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
3982
3983         * setenv.c (setenv): Initialize variable `ep'.
3984
3985         * sigsetmask.c (abort): Prototype.
3986
3987         * vasprintf.c: Include config.h.  Check ANSI_PROTOTYPES, not
3988         __STDC__ for stdarg.h include.
3989         (int_vasprintf): Prototype.
3990         (checkit): Prototype.  Use VPARAMS/ANSI_PROTOTYPES/VA_START in
3991         definition.  Cast `global_total_width' in comparison.
3992         (main): Prototype.  Return a value.
3993
3994         * vfork.c (fork): Prototype.
3995
3996         * xexit.c: Include config.h.
3997
3998 2000-07-20  Joseph S. Myers  <jsm28@cam.ac.uk>
3999
4000         * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
4001         and print it with %u.
4002
4003 2000-07-17  Hans-Peter Nilsson  <hp@axis.com>
4004
4005         * testsuite/regress-demangle (failed test): Show result and
4006         expected output.
4007
4008 2000-07-07  Andrew Haley  <aph@cygnus.com>
4009
4010         * cplus-dem.c (main): fflush() after emitting last char before
4011         waiting for input.
4012
4013 2000-06-28  Alex Samuel  <samuel@codesourcery.com>
4014
4015         * cp-demangle.c (demangle_encoding): Accept no substitutions.
4016         (demangle_name): Handle <substitution> followed by
4017         <unqualified-template-name>.
4018         (demangle_type): Follow special substitutions with
4019         <class-enum-type>
4020         (demangle_subtitution): Set template_p for special substitutions.
4021         (main): Fix typos.
4022
4023 2000-06-27  Alex Samuel  <samuel@codesourcery.com>
4024
4025         * cp-demangle.c (demangle_special_name): Swap base and derived
4026         class when demangling construction vtables.
4027
4028 2000-06-21  Alex Samuel  <samuel@codesourcery.com>
4029
4030         * cp-demangle.c: Don't include ctype.h.
4031         (IS_DIGIT): New macro.
4032         (IS_ALPHA): Likewise.  Use IS_DIGIT and IS_ALPHA throughout
4033         instead of isdigit and isalpanum.
4034         (demangling_def): Make name and next const pointers.
4035         (STATUS_ALLOCATION_FAILED): New status code.
4036         (dyn_string_append_space): Handle failure in
4037         dyn_string_append_char.
4038         (int_to_dyn_string): Likewise.  Change return value to status_t.
4039         (string_list_new): Handle failure of dyn_string_init.
4040         (result_close_template_list): Change return type to status_t.
4041         Handle failure in dyn_string_append.
4042         (result_push): Change return value to status_t.  Handle failure in
4043         string_list_new.  Handle failure of result_push throughout.
4044         (substitution_add): Change return value to status_t.  Handle
4045         dyn_string failures.  Handle failure of substitution_add
4046         throughout.
4047         (template_arg_list_new): Return NULL on allocation failure.
4048         (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
4049         Handle error result throughout.
4050         (result_append): Likewise.
4051         (result_append_char): Likewise.
4052         (result_append_space): Likewise.
4053         (demangling_new): Make argument a const pointer.  Handle
4054         allocation failures.
4055         (demangle_template_args): Handle failure in template_arg_list_new
4056         and result_close_template_list.
4057         (demangle_discriminator): Return if int_to_dyn_string fails.
4058         (cp_demangle): Likewise.
4059         (cp_demangle_type): New function.
4060         (cplus_demangle_new_abi): Don't call dyn_string_delete.  Abort on
4061         memory allocation failure.
4062         (main): Likewise.
4063         * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
4064         IN_LIBGCC2.
4065         (dyn_string_init): Change return value to int.  Handle
4066         RETURN_ON_ALLOCATION_FAILURE case.
4067         (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
4068         (dyn_string_release): Delete the dyn_string.
4069         (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
4070         (dyn_string_copy): Change return type to int.
4071         (dyn_string_copy_cstr): Likewise.
4072         (dyn_string_prepend): Likewise.
4073         (dyn_string_prepend_cstr): Likewise.
4074         (dyn_string_insert): Likewise.
4075         (dyn_string_insert_cstr): Likewise.
4076         (dyn_string_append): Likewise.
4077         (dyn_string_append_cstr): Likewise.
4078         (dyn_string_append_char): Likewise.
4079         (dyn_string_substring): Likewise.
4080
4081 2000-06-09  Zack Weinberg  <zack@wolery.cumb.org>
4082
4083         * cp-demangle.c (demangle_operator_name): Add spaces before
4084         names beginning with a letter: delete, delete[], new, new[],
4085         sizeof.
4086         (demangle_special_name): Handle TF <type> and TJ <type>.
4087
4088 Thu Jun  8 18:52:24 2000  Philippe De Muyter  <phdm@macqel.be>
4089
4090         * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
4091
4092 Thu Jun  8 09:25:54 2000  Philippe De Muyter  <phdm@macqel.be>
4093
4094         * cp-demangle.c (stdio.h): File included unconditionaly.
4095         (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
4096         * dyn-string.c (stdio.h): File included.
4097         * partition.c (partition_print): No `&' needed to take the address of
4098         a function.
4099
4100 2000-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4101
4102         * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
4103
4104         * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
4105
4106         * cp-demangle.c (demangle_char): Change parameter from char to int.
4107         (demangle_expression, demangle_expr_primary): Remove extra
4108         semi-colon in prototype.
4109
4110         * dyn-string.c (dyn_string_append_char): Change parameter from
4111         char to int.
4112
4113         * memcmp.c (memcmp): Constify.
4114
4115         * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
4116         __extension__.
4117
4118         * partition.c (elem_compare): Prototype.  Don't cast away
4119         const-ness.
4120
4121         * setenv.c (setenv): Use braces to avoid ambiguous `else'.
4122
4123 2000-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4124
4125         * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
4126
4127         * cp-demangle.c: Include demangle.h.
4128         (template_arg_list_new): DeANSIfy.
4129         (cp_demangle): Make static and add prototype.
4130         (operator_code, operators): Constify.
4131         (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
4132
4133 2000-06-05  Alex Samuel  <samuel@codesourcery.com>
4134
4135         * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
4136         unsigned char.
4137         (demangle_unqualified_name): Likewise.
4138         (demangle_number_literally): Likewise.
4139         (demangle_type): Likewise.
4140         (demangle_substitution): Likewise.
4141         (is_mangled_char): Likewise, for isalnum.
4142
4143 2000-06-04  Alex Samuel  <samuel@codesourcery.com>
4144
4145         * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
4146         (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
4147         (cp-demangle.o): New dependency.
4148         (dyn-string.o): Likewise.
4149
4150         * dyn-string.c: Move here from gcc/dyn-string.c.  Add new functions.
4151
4152         * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
4153         demangler.
4154         (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
4155         demangling mode.
4156         (gnu_new_abi_symbol_characters): New function.
4157         (main): Use gnu_new_abi_symbol_characters.  * cp-demangle.c: New
4158         file.
4159         * cp-demangle.c: New file.
4160
4161 Tue May 30 16:45:25 2000  Andrew Cagney  <cagney@b1.cygnus.com>
4162
4163         * floatformat.c: Add name to each floatformat field.
4164
4165 Tue May 30 15:07:52 2000  Jeffrey A Law  (law@cygnus.com)
4166
4167         * Makefile.in (objalloc.o): Depend on config.h
4168
4169 2000-05-29  Zack Weinberg  <zack@wolery.cumb.org>
4170
4171         * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
4172         if HAVE_STRING_H.
4173         * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
4174         * objalloc.c: Include config.h.  Include stdlib.h and don't
4175         declare malloc or free if HAVE_STDLIB_H.
4176         * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
4177         else declare malloc without prototype.  Include string.h if
4178         HAVE_STRING_H, else declare memset without prototype.  Don't
4179         include stddef.h.
4180
4181 2000-05-23  Mike Stump  <mrs@wrs.com>
4182
4183         * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
4184         -j3.
4185
4186 2000-05-18  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
4187
4188         * xmalloc.c: Include config.h for HAVE_SBRK definition.
4189
4190 2000-05-16  Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
4191
4192         * hashtab.c (hash_pointer): Delete low-order bits which are
4193         probably zero, also eliminate a warning on alpha.
4194
4195 2000-05-15  David Edelsohn  <edelsohn@gnu.org>
4196
4197         * Makefile.in: Change "pic" to depend on $(PICFLAG), not
4198         on $(enable_shared).
4199
4200 2000-05-10  Jakub Jelinek  <jakub@redhat.com>
4201
4202         * config.table: Use mh-sparcpic for sparc*-*-*.
4203
4204 2000-05-08  Nick Clifton  <nickc@cygnus.com>
4205
4206         * Makefile.in (CFILES): Add strncmp.c.
4207         (NEEDED): Add strncmp.
4208
4209 2000-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4210
4211         * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
4212         Cast the arguments to `islower' to `unsigned char'.
4213         (print_demangler_list): Prototype.
4214
4215 Thu May  4 17:14:41 2000  Philippe De Muyter  <phdm@macqel.be>
4216
4217         * sort.c (UCHAR_MAX): Provide fallback definition.
4218
4219 2000-04-29  Alexandre Oliva  <aoliva@cygnus.com>
4220
4221         * Makefile.in (maintainer-clean-subdir): Fix handling of empty
4222         SUBDIRS.
4223
4224 2000-04-28  Kenneth Block  <block@zk3.dec.com>
4225             Jason Merrill  <jason@casey.cygnus.com>
4226
4227         * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
4228         (cplus_demangle_set_style): New function for setting style.
4229         (cplus_demangle_name_to_style): New function to translate name.
4230
4231 2000-04-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4232
4233         * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
4234
4235         * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
4236         (libiberty_AC_FUNC_STRNCMP): Invoke.
4237
4238         * strncmp.c: New file.
4239
4240 Thu Apr 27 16:58:43 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4241
4242         * hashtab.c (htab_expand): Add prototype.
4243         (find_empty_slot_for_expand): Likewise.
4244
4245 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4246
4247         * hashtab.c (hash_pointer, eq_pointer): Make definition static to
4248         match prototype.
4249         (htab_expand): Cast the return value of xcalloc.
4250
4251 2000-04-24  Mark Mitchell  <mark@codesourcery.com>
4252
4253         * hashtab.c (hash_pointer): New function.
4254         (eq_pointer): Likewise.
4255         (htab_hash_pointer): New variable.
4256         (htab_eq_pointer): Likewise.
4257
4258 2000-04-23  Mark Mitchell  <mark@codesourcery.com>
4259
4260         * sort.c (sort_pointers): Fix endianness bugs.
4261
4262         * sort.c: New file.
4263         * Makefile.in (CFILES): Add sort.c
4264         (REQUIRED_OFILES): Add sort.o.
4265         (sort.o): New target.
4266
4267 2000-04-21  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
4268
4269         * Makefile.in (*-subdir): Revamp slightly to avoid losing on
4270         4.3BSD systems.
4271
4272 Tue Apr 18 16:23:31 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4273
4274         * hashtab.c: Various minor cleanups.
4275         (htab_find_slot_with_hash): INSERT is now enum insert_option.
4276         (htab_find_slot): Likewise.
4277
4278 2000-04-16  Dave Pitts  <dpitts@cozx.com>
4279
4280         * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
4281
4282 2000-04-05  Richard Henderson  <rth@cygnus.com>
4283
4284         * splay-tree.c (splay_tree_remove): New.
4285
4286 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
4287
4288         * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
4289         codes.
4290         (htab_find_with_hash): Likewise.
4291         (htab_find_slot_with_hash): Likewise.
4292
4293 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
4294
4295         * hashtab.c (htab_find_with_hash): Avoid calculating hash2
4296         unless it will be used.  Rearrange loop for better
4297         optimization.
4298         (higher_prime_number): Add static prototype.
4299
4300 Thu Mar 16 01:33:58 2000  Jeffrey A Law  (law@cygnus.com)
4301
4302         * Makefile.in (partition.o): Depend on config.h
4303
4304 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
4305
4306         * hashtab.c (find_empty_slot_for_expand): New function.
4307         (htab_expand): Use it instead of htab_find_slot.
4308         (htab_find_with_hash): Renamed from htab_find; now accepts extra
4309         argument HASH.
4310         (htab_find_slot_with_hash): Likewise for htab_find_slot.
4311         (htab_find): New wrapper function.
4312         (htab_find_slot): Likewise.
4313         (htab_traverse): Pass slot, not entry, to called function.
4314
4315 2000-03-09  Alex Samuel  <samuel@codesourcery.com>
4316
4317         * Makefile.in (CFILES): Add partition.c.
4318         (REQUIRED_OFILES): Add partition.o.
4319         (partition.o): New rule.
4320         * partition.c: New file.
4321
4322 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
4323
4324         * hashtab.c (htab_create): Set del_f.
4325         (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
4326         Use it.
4327
4328 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
4329
4330         * hashtab.c: Remove debugging variables (all_searches,
4331         all_collisions, all_expansions). Delete
4332         all_hash_table_collisions.
4333         (create_hash_table, delete_hash_table, empty_hash_table,
4334         find_hash_table_entry, remove_element_from_hash_table_entry,
4335         clear_hash_table_slot, traverse_hash_table, hash_table_size,
4336         hash_table_elements_number, hash_table_collisions): Rename to:
4337         htab_create, htab_delete, htab_empty, htab_find_slot,
4338         htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
4339         htab_elements, htab_collisions.
4340         (htab_find): New function, handles common case where you don't
4341         plan to add or delete an entry.
4342         (htab_expand): Don't create a whole new table, just a new
4343         entry vector.
4344         (htab_find_slot): Simplify logic.
4345
4346 1999-08-03  Ian Lance Taylor  <ian@zembu.com>
4347
4348         * floatformat.c: Add casts to avoid signed/unsigned warnings.
4349         * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
4350
4351         * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
4352         $(TARGETLIB)n so it works on MSDOS.
4353         (install_to_tooldir): Likewise.
4354
4355 1999-07-21  Ian Lance Taylor  <ian@zembu.com>
4356
4357         From Mark Elbrecht:
4358         * makefile.dos: Remove; obsolete.
4359         * configure.bat: Remove; obsolete.
4360
4361 1999-07-11  Ian Lance Taylor  <ian@zembu.com>
4362
4363         * splay-tree.c (splay_tree_insert): Add initialization to avoid
4364         warning.
4365
4366 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
4367
4368         * pexecute.c: Conditionally include string.h.
4369         (fix_argv): Handle embedded whitespace in args for Mingw32.
4370
4371 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4372
4373         * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
4374         we're using gcc.
4375
4376         * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
4377
4378 1999-12-27  Geoff Keating  <geoffk@cygnus.com>
4379
4380         * vasprintf.c (int_vasprintf): Don't re-read the format character
4381         as this mishandles strings like '%%s'.
4382
4383 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
4384
4385         * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
4386         rather than struct splay_tree_node.
4387         (splay_tree_insert): Use struct splay_tree_s rather than struct
4388         splay_tree.
4389
4390 Sun Nov 28 00:59:39 1999  Philippe De Muyter  <phdm@macqel.be>
4391
4392         * hashtab.c (sys/types.h): File included.
4393
4394 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
4395
4396         * strtoul.c, strtol.c, random.c: Remove advertising clause from
4397         BSD license, pursuant with
4398
4399           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
4400
4401 Wed Nov 10 09:42:39 1999  Jeffrey A Law  (law@cygnus.com)
4402
4403         * hashtab.c: Include stdio.h.
4404
4405 Mon Nov  8 09:23:41 1999  Jeffrey A Law  (law@cygnus.com)
4406
4407         * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
4408
4409 Tue Nov  2 03:23:13 1999  Philippe De Muyter  <phdm@macqel.be>
4410
4411         * xstrdup (sys/types.h): Include this file.
4412
4413 1999-10-28  Nathan Sidwell  <nathan@acm.org>
4414
4415         * Makefile.in (SUBDIRS): New macro.
4416         (mostlyclean, clean, distclean, maintainer-clean): Adjust to
4417         avoid multiple subdirectory cleaning.
4418         (*-subdir): Use SUBDIRS.
4419
4420 1999-10-25  Jim Kingdon  <http://developer.redhat.com/>
4421
4422         * cplus-dem.c: Move declarations of standard_symbol_characters and
4423         hp_symbol_characters inside #ifdef MAIN to avoid compiler
4424         warnings.
4425
4426 1999-10-23 08:51 -0700  Zack Weinberg  <zack@bitmover.com>
4427
4428         * hashtab.c (find_hash_table_entry): When returning a
4429         DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
4430         (clear_hash_table_slot): New function which deletes an entry
4431         by its position in the table, not its value.
4432         (traverse_hash_table): New function which calls a hook
4433         function for every live entry in the table.
4434
4435 1999-10-19  Mark Mitchell  <mark@codesourcery.com>
4436
4437         * cplus-dem.c (INTBUF_SIZE): New macro.
4438         (string_append_template_idx): New function.
4439         (demangle_expression): Likewise.
4440         (demangle_integral_value): Use it.
4441         (demangle_real_value): New function, split out from ...
4442         (demangle_template_value_parm): ... here.  Use
4443         string_append_template_idx.  Use demangle_real_value.
4444         (demangle_template): Use string_append_template_idx.
4445         (demangle_qualified): Use consume_count_with_underscores.
4446         (get_count): Tweak formatting.
4447         (do_type): Use string_append_template_idx.
4448
4449 1999-10-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4450
4451         * calloc.c: Add a public domain notice.
4452
4453 Mon Oct 18 02:30:47 1999  Philippe De Muyter  <phdm@macqel.be>
4454
4455         * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
4456
4457 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
4458
4459         * Makefile.in (CFILES): Add hashtab.c
4460         (REQUIRED_OFILES): Add hashtab.o
4461         (hashtab.o): Add dependencies.
4462         * hashtab.c: New file
4463
4464 Wed Oct 13 01:16:47 1999  Mumit Khan  <khan@xraylith.wisc.edu>
4465
4466         * basename.c (DIR_SEPARATOR): New macro.
4467         (DIR_SEPARATOR_2): Likewise.
4468         (HAVE_DOS_BASED_FILESYSTEM): Likewise.
4469         (IS_DIR_SEPARATOR): Likewise.
4470         (main): Handle MSDOS style pathname.
4471
4472 1999-10-11  Mark Mitchell  <mark@codesourcery.com>
4473
4474         * cplus-dem.c (do_type): Handle pointer to member types whose
4475         enclosing classes have namespace scope.
4476
4477 Sun Oct 10 01:23:50 1999  Marc Espie <espie@cvs.openbsd.org>
4478
4479         * config.table:  Provide a backup shell for executing move-if-change.
4480
4481 1999-10-02  Mark Mitchell  <mark@codesourcery.com>
4482
4483         * xmalloc.c (xmalloc): Fix spelling error.
4484         (xcalloc, xrealloc): Likewise.
4485
4486 1999-10-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4487
4488         * cplus-dem.c (fancy_abort, demangle_integral_value,
4489         demangle_arm_hp_template, recursively_demangle,
4490         standard_symbol_characters, hp_symbol_characters, main): Add prototype.
4491         (program_name, program_version, fatal): Constify a char*.
4492         (usage, fatal): Mark with ATTRIBUTE_NORETURN.
4493         (main): Call return, not exit.
4494
4495 1999-09-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4496
4497         * choose-temp.c: Remove obsolete comment about gcc.
4498         (make_temp_file): Constify a char*.
4499
4500 Wed Sep  8 20:03:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4501
4502         * xmemdup.c: Include sys/types.h.
4503
4504 1999-09-07  Jeff Garzik  <jgarzik@pobox.com>
4505
4506         * xmemdup.c: New xmemdup function.
4507         * Makefile.in, makefile.vms, vmsbuild.com:  Use xmemdup.[co].
4508
4509 Tue Sep  7 23:32:18 1999  Linas Vepstas  <linas@linas.org>
4510
4511         * config.table: Add openedition target.
4512         * config/mh-openedition: New file.
4513
4514 Thu Sep  2 01:36:12 1999  Marc Espie <espie@cvs.openbsd.org>
4515
4516         * pexecute.c (pexecute):  Fill in temp_base when needed.
4517
4518 1999-08-31  Richard Henderson  <rth@cygnus.com>
4519
4520         * getpwd.c: Check HAVE_GETCWD before defining it away.
4521
4522 1999-08-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4523
4524         * Makefile.in (CFILES): Add calloc.c and getpwd.c.
4525         (REQUIRED_OFILES): Add getpwd.o.
4526         (getpwd.o): Add target.
4527
4528         * configure.in (AC_PREREQ): Bump to 2.13.
4529         (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
4530
4531         * getpwd.c: New file, moved here from gcc.
4532
4533 1999-08-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4534
4535         * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
4536         comparing against a signed quantity.
4537         (arm_special): Likewise.
4538         (demangle_fund_type): Likewise.
4539         (do_hpacc_template_const_value): Mark parameter `work' with
4540         ATTRIBUTE_UNUSED.
4541         (main): Constify variable `valid_symbols'.
4542
4543 Tue Aug 24 02:50:45 1999  Philippe De Muyter  <phdm@macqel.be>
4544
4545         * strtoul.c (strtoul): Add parentheses around && within ||.
4546
4547 Fri Aug  6 23:32:29 1999  Daniel Jacobowitz <drow@drow.them.org>
4548
4549         * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
4550         libdir, libsubdir and tooldir.
4551
4552 1999-08-01  Mark Mitchell  <mark@codesourcery.com>
4553
4554         * splay-tree.c (splay_tree_insert): Return the new node.
4555
4556 1999-07-14  Richard Henderson  <rth@cygnus.com>
4557
4558         * argv.c: Include stdlib.h and string.h instead of
4559         prototyping directly.
4560         * choose-temp.c: Conditionally include string.h.
4561
4562 1999-07-12  Jason Merrill  <jason@yorick.cygnus.com>
4563
4564         * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
4565
4566 1999-07-11  Ian Lance Taylor  <ian@zembu.com>
4567
4568         * splay-tree.c (splay_tree_insert): Add initialization to avoid
4569         warning.
4570
4571 1999-07-07  Jason Merrill  <jason@yorick.cygnus.com>
4572
4573         * Makefile.in (needed-list): Only include stuff we actually need
4574         for libstdc++.
4575
4576 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4577
4578         * configure.in (checkfuncs): Add gettimeofday.
4579         * config.in, configure: Regenerated.
4580
4581 Mon Jun 21 05:56:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
4582
4583         * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
4584         the test fails.
4585         * configure: Regenerate.
4586
4587 1999-06-10  Mike Stump  <mrs@wrs.com>
4588
4589         * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
4590         parallel builds.
4591
4592 1999-05-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4593
4594         * putenv.c: Include ansidecl.h to define `const'.
4595         * setenv.c: Likewise.
4596
4597 Wed May 26 03:58:20 1999  "Melissa O'Neill" <oneill@cs.sfu.ca>
4598
4599         * Makefile.in (CFILES): Add putenv.c and setenv.c.
4600         * configure.in (funcs): Add putenv and setenv.
4601         (AC_CHECK_FUNCS): Check for putenv and setenv.
4602         * configure: Rebuilt.
4603         * putenv.c setenv.c: New files.
4604
4605         * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
4606         bytes of space using malloc.
4607
4608 Mon May 17 01:42:34 1999  Stu Grossman  <grossman@babylon-5.cygnus.com>
4609
4610         * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
4611         the *mangled pointer beyond the end of the string.  Clean up code to
4612         match prevailing coding style.
4613
4614 1999-05-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4615
4616         * tmpnam.c (L_tmpnam): Fix typo.
4617
4618 Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
4619
4620         * cplus-dem.c (standard_symbol_characters): Renamed from
4621         standard_symbol_alphabet.  No longer modify TABLE.
4622         (hp_symbol_characters): Renamed from hp_symbol_alphabet.  No longer
4623         modify TABLE.
4624         (main): Corresponding changes.  Use strchr to determine if a
4625         character is valid.
4626
4627 1999-05-11  Jim Blandy  <jimb@zwingli.cygnus.com>
4628
4629         * cplus-dem.c (main): Use table lookup to distinguish identifier
4630         characters from non-identifier characters.
4631         (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
4632
4633 Thu May  6 20:34:42 1999  Fred Fish  <fnf@be.com>
4634
4635         * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
4636         * getruntime.c: Only attempt to include sys/resource.h and
4637         use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
4638         are defined.
4639
4640 Mon Apr 26 01:36:06 1999  Donn Terry (donn@interix.com)
4641
4642         * configure.in (alloca detection): Handle alloca directly for interix.
4643         * configure: Rebuilt.
4644
4645 Sun Apr 25 01:18:21 1999  Mumit Khan  <khan@xraylith.wisc.edu>
4646
4647         * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
4648
4649 1999-04-20  Jim Blandy  <jimb@zwingli.cygnus.com>
4650
4651         Fix from Dale Hawkins:
4652         * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
4653         reallocated properly if we use it again.
4654
4655         * cplus-dem.c (demangle_fund_type): Check for buffer overrun.  Be
4656         stricter about syntax.  Always null-terminate string.
4657
4658 Thu Apr 15 23:00:55 1999  Mumit Khan  <khan@xraylith.wisc.edu>
4659
4660         * configure.in (checkfuncs): Check for sbrk.
4661         * config.in: Rebuilt.
4662         * configure: Likewise.
4663         * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
4664
4665 1999-04-12  Jim Blandy  <jimb@zwingli.cygnus.com>
4666
4667         Fix from Marcus Daniels:
4668         * cplus-dem.c (demangle_fund_type): Don't run off the end of the
4669         identifier looking for another underscore.
4670
4671 Sun Apr 11 23:20:59 1999  Mumit Khan  <khan@xraylith.wisc.edu>
4672
4673         * pexecute.c: Change all references to __UWIN__ to _UWIN.
4674         * xmalloc.c: Likewise.
4675         (xcalloc): UWIN has sbrk.
4676         (xrealloc): Fix guard macro.
4677
4678 1999-04-11  Richard Henderson  <rth@cygnus.com>
4679
4680         * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
4681         or <alloca.h>.
4682         * clock.c (GNU_HZ): New definition.
4683         (clock): Use it.
4684         * getruntime.c: Likewise.
4685
4686         * config.table: Use mh-beos.
4687         * config/mh-beos: New file.
4688
4689 1999-04-11  Mark Mitchell  <mark@codesourcery.com>
4690
4691         * cplus-dem.c (demangle_template_value_parm): Handle
4692         pointers-to-members.
4693         (do_type): Handle template parameters as qualifiers.
4694
4695 1999-04-01  Jim Blandy  <jimb@zwingli.cygnus.com>
4696
4697         * cplus-dem.c: Attempt to handle overflows in counts with some
4698         semblance of grace.
4699         (consume_count): Detect overflows.  Return -1 to indicate errors,
4700         instead of zero.
4701         (demangle_template_value_parm, demangle_template): Handle change
4702         to consume_count's return convention.
4703
4704 1999-04-05  Tom Tromey  <tromey@cygnus.com>
4705
4706         * testsuite/regress-demangle: New file.
4707         * testsuite/demangle-expected: New file.
4708
4709         * Makefile.in (all, check, installcheck, info, install-info,
4710         clean-info, dvi, install, etags, tags, mostlyclean, clean,
4711         distclean, maintainer-clean, realclean): Depend on corresponding
4712         `-subdir' target.
4713         (all-subdir check-subdir installcheck-subdir info-subdir
4714         install-info-subdir clean-info-subdir dvi-subdir
4715         install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
4716         distclean-subdir maintainer-clean-subdir): New target.
4717         * testsuite/Makefile.in: New file.
4718         * configure: Rebuilt.
4719         * configure.in: Create testsuite/Makefile.
4720
4721 1999-04-02  Mark Mitchell  <mark@codesourcery.com>
4722
4723         * splay-tree.h (splay_tree_compare_pointers): Define.
4724
4725 1999-03-30  Mark Mitchell  <mark@codesourcery.com>
4726
4727         * splay-tree.c (splay_tree_compare_ints): Define.
4728
4729 1999-03-30  Tom Tromey  <tromey@cygnus.com>
4730
4731         * cplus-dem.c (consume_count): If `count' wraps, return 0 and
4732         don't advance input pointer.
4733         (demangle_class_name): If consume_count didn't find a count, do
4734         nothing.  Don't bother with `strlen' sanity check; consume_count
4735         does it for us.
4736
4737 1999-03-16  Stan Shebs  <shebs@andros.cygnus.com>
4738
4739         From Art Haas  <ahaas@neosoft.com>:
4740         * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
4741         when doing arm or hp style.
4742         (demangle_nested_args): Decr forgetting_types field when done.
4743
4744 Thu Mar 11 01:22:58 1999  Mumit Khan  <khan@xraylith.wisc.edu>
4745
4746         * pexecute.c (__CYGWIN32__): Rename to
4747         (__CYGWIN__): this.
4748         * xmalloc.c: Likewise.
4749
4750         Changes to support i386-pc-uwin.
4751         * configure.in (*-*-uwin*): Workaround for vfork bug.
4752         * configure: Regenerate.
4753         * pexecute.c (pexecute): Be like standard Unix.
4754         (pwait): Likewise.
4755         * xmalloc.c (first_break): Define.
4756         (xmalloc_set_program_name): Use.
4757         (xmalloc): Use.
4758
4759 Thu Mar 11 01:07:55 1999  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4760
4761         * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
4762
4763 Sun Feb 28 22:30:44 1999  Geoffrey Noer  <noer@cygnus.com>
4764
4765         * config.table: Check cygwin*, not cygwin32*.
4766
4767 Tue Feb  9 16:39:01 1999  Dave Brolley  <brolley@cygnus.com>
4768
4769         * Makefile.in: Change mkstemp -> mkstemps.
4770
4771 Tue Feb  9 01:12:27 1999  Marc Espie <Marc.Espie@liafa.jussieu.fr>
4772
4773         * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
4774         * configure.in (funcs): Check for and conditionally add mkstemps to
4775         the list of functions libiberty will provide.
4776         * configure: Rebuilt.
4777
4778 Wed Feb  3 00:01:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
4779
4780         * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
4781         platforms that don't have HZ.
4782         * getruntime.c (HZ): Likewise.
4783
4784 Sat Jan 30 13:28:04 1999  Richard Henderson  <rth@cygnus.com>
4785
4786         * Makefile.in (xstrdup.o): Depend on config.h.
4787
4788 Wed Jan 13 07:26:44 1999  H.J. Lu  (hjl@gnu.org)
4789
4790         * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
4791         freeing it.
4792
4793 Wed Jan 13 14:16:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4794
4795         * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
4796
4797 Tue Jan  5 15:58:29 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
4798
4799         * Makefile.in (CFILES): fix typo, splay-tree.c instead of
4800         splay-tree.o.
4801
4802 1999-01-04  Jason Molenda  (jsm@bugshack.cygnus.com)
4803
4804         * configure.in: Require autoconf 2.12.1 or higher.
4805
4806 1998-12-30  Michael Meissner  <meissner@cygnus.com>
4807
4808         * random.c (NULL): Don't redefine NULL if it is already defined.
4809
4810 Tue Dec 22 09:43:35 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4811
4812         * argv.c (buildargv): Cast the result of alloca in assignment.
4813
4814         * choose-temp.c: Include stdlib.h.
4815
4816         * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
4817         (snarf_numeric_literal): Constify first parameter.
4818         (code_for_qualifier): Avoid a gcc extension, make the parameter an
4819         int, not a char.
4820         (demangle_qualifier): Likewise.
4821         (demangle_signature): Cast the argument of a ctype function to
4822         unsigned char.
4823         (arm_pt): Add parens around assignment used as truth value.
4824         (demangle_arm_hp_template): Constify variable `args'.
4825         (do_hpacc_template_const_value): Cast the argument of a ctype
4826         function to unsigned char.
4827         (do_hpacc_template_literal): Remove unused variable `i'.
4828         (snarf_numeric_literal): Constify parameter `args'.
4829         Cast the argument of a ctype function to unsigned char.
4830
4831         * floatformat.c (floatformat_to_double): Add explicit braces to
4832         avoid ambiguous `else'.
4833
4834         * fnmatch.c (fnmatch): Change type of variables `c', `c1',
4835         `cstart' and `cend' to unsigned char.  Cast the argument of macro
4836         `FOLD', which uses ctype functions, to unsigned char.
4837
4838         * objalloc.c (free): Add prototype.
4839
4840 Sun Dec 20 16:03:46 1998  Hans-Peter Nilsson  <hp@axis.se>
4841
4842         * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
4843
4844 Fri Dec 18 17:50:18 1998  David Taylor  <taylor@texas.cygnus.com>
4845
4846         * cplus-dem.c (demangle_arm_pt): remove declaration -- function
4847         doesn't exist.
4848         (do_hpacc_template_literal): remove unused variable `i'.
4849
4850 Fri Dec 18 16:11:43 EST 1998  Andrew MacLeod  <amacleod@cygnus.com>
4851
4852         * cplus-dem.c (demangle_fund_type): Process CV and u codes before
4853         bumping the pointer we read from. Also prepend these codes,
4854         as we do in other places.
4855
4856 1998-12-18  Nick Clifton  <nickc@cygnus.com>
4857
4858         * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
4859         'const char *' in order to match its usage when calling siblings.
4860         (snarf_numeric_literal): Make first arg 'const char **' in order
4861         to match usage.
4862
4863 Mon Dec 14 09:55:50 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4864
4865         * choose-temp.c: Don't check IN_GCC anymore.
4866
4867         * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
4868         * memchr.c (memchr): Likewise.
4869         * memcpy.c (memcpy): Likewise.
4870         * memmove.c (memmove): Likewise.
4871
4872         * mkstemp.c: Don't check IN_GCC anymore.
4873         * pexecute.c: Likewise.
4874         * splay-tree.c: Likewise.
4875
4876         * strchr.c (strchr): Use `const', not `CONST'.
4877         * strrchr.c (strrchr): Likewise.
4878         * strtol.c (strtol): Likewise.
4879         * strtoul.c (strtoul): Likewise.
4880
4881 Fri Dec  4 13:51:04 1998  David Taylor   <taylor@texas.cygnus.com>
4882                           Elena Zannoni  <ezannoni@cygnus.com>
4883                           Stan Shebs     <shebs@cygnus.com>
4884                           Edith Epstein  <eepstein@cygnus.com>
4885                           Andres MacLeod <amacleod@cygnus.com>
4886                           Satish Pai     <pai@apollo.hp.com>
4887
4888         * HP aCC demangling support.
4889         * cplus-dem.c
4890         (main): Remove default to HP style demangling, set to EDG
4891         demangling correctly when -edg specified; set the demangling style
4892         when user specifies 'edg'. Set strip_underscore to
4893         prepends_underscore, if not HPUXHPPA.  Set
4894         current_demangling_style to hp_demangling if HPUXHPPA.  Set
4895         current demangling style correctly if the switch is hp.  Read
4896         label correctly also in the HP style case.
4897         (work_stuff): add temp_start field; add field for volatile member
4898         function.
4899         (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
4900         style for this case is the same as ARM.
4901         (demangle_args): handle EDG_DEMANGLING style; support HP style.
4902         (demangle_arm_hp_template): new function. (It was
4903         demangle_arm_pt.); check and set value of temp_start field in
4904         multiple places. Also, when ceching for end of template args,
4905         check to see if at end of static member of template class.
4906         (demangle_class): new local variable : save_class_name_end Don't
4907         include template args in string defining class.
4908         (demangle_class_name): use demangel_arm_hp_template.
4909         (demangle_function_name): handle case where demangling style is
4910         HP_DEMANGLING and currently point at an 'X' in the mangled name.
4911         Handle EDG_DEMANGLING style.  Handle constructor and destructor
4912         ops for HP style.
4913         (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
4914         styles.  global destructor and constructor for HP style are same
4915         as for ARM style. Same for local variables.
4916         (demangle_qualified): handle EDG_DEMANGLING style.
4917         (demangle_signature): add case for volatile member function.  For
4918         cases '1' - '9' : initialize the temp_start field to -1 and handle
4919         the EDG_DEMANGLING style.  for case 'F' : handle EDG_DEMANGLING
4920         and AUTO_DEMANGLING styles.  If expecting a function and managed
4921         to demangle the funct args, then handle the LUCID_DEMANGLING,
4922         ARM_DEMANGLING, and EDG_DEMANGLING styles.  Add case for local
4923         class name after "Lnnn_ in HP style case. HP style too needs to
4924         forget types.  _nnn is OK for HP style, so don't report failure.
4925         (do_hpacc_template_const_value): new function. Handle template's
4926         value param for HP/aCC.
4927         (do_hpacc_template_literal): new function.  Handle a template's
4928         literal parameter for HP aCC.
4929         (recursively_demangle): new function
4930         (snarf_numeric_literal): new function.
4931         (usage): add 'edg' to the list of demangling styles; add hp switch
4932         to message.
4933
4934 Sat Nov 28 17:25:22 1998  Christopher Faylor <cgf@cygnus.com>
4935
4936         * pexecute.c: Remove obsolete ifdefed cygwin code.
4937
4938 Fri Nov 27 13:26:06 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4939
4940         * choose-temp.c: Always include libiberty.h.  Avoid redundancies.
4941         * cplus-dem.c: Likewise.  Conform to libiberty.h.
4942         * pexecute.c: Likewise.
4943         * splay-tree.c: Likewise.
4944
4945 1998-11-25  Mike Stump  <mrs@wrs.com>
4946
4947         * Makefile.in (splay-tree.o): Add config.h dependency.
4948
4949 Mon Nov 23 16:59:49 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4950
4951         *  configure.in: Use AC_PREREQ(2.12.1).
4952
4953 1998-11-16  Benjamin Kosnik  <bkoz@haight.constant.com>
4954
4955         * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
4956
4957 Thu Nov 19 22:15:50 1998  Jeffrey A Law  (law@cygnus.com)
4958
4959         * mpw.c (mpw_access): Add missing parens.
4960
4961 Thu Nov 19 12:59:21 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4962
4963         * configure.in: Call AC_HEADER_SYS_WAIT.
4964
4965         * pexecute.c: Include sys/wait.h when !IN_GCC.
4966
4967 Thu Nov 19 14:38:20 1998  Geoffrey Noer  <noer@cygnus.com>
4968
4969         * pexecute.c: revert back to checking old Cygwin
4970         preprocessor symbol until some time has passed.
4971
4972 Wed Nov 18 08:52:26 1998  Christopher Faylor <cgf@cygnus.com>
4973
4974         * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
4975         since it will now support similar constructs.
4976
4977 Fri Nov 13 19:18:05 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4978
4979         * configure.in: Check for calloc.
4980
4981         * calloc.c: New file.
4982
4983         * xmalloc.c (xcalloc): New function.
4984
4985 Fri Nov 13 08:51:46 EST 1998  Andrew MacLeod  <amacleod@cygnus.com>
4986
4987         *cplus-dem.c (demangle_prefix): Use the last "__"
4988         in the mangled name when looking for the signature. This allows
4989         template names to begin with "__".
4990
4991 1998-11-08  Mark Mitchell  <mark@markmitchell.com>
4992
4993         * cplus-dem.c (type_kind_t): Add tk_reference.
4994         (demangle_template_value_parm): Handle it.
4995         (do_type): Use it for references, instead of tk_pointer.
4996
4997         * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
4998         not internal_cplus_demangle.
4999
5000 Sat Nov  7 16:02:10 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5001
5002         * choose-temp.c: Don't include gansidecl.h.
5003         * mkstemp.c: Likewise.
5004         * pexecute.c: Likewise.
5005
5006 Mon Nov  2 15:05:33 1998  Geoffrey Noer  <noer@cygnus.com>
5007
5008         * configure.in: detect cygwin* instead of cygwin32*
5009         * configure: regenerate
5010
5011 Mon Nov  2 10:22:01 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5012
5013         * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
5014         whether to include config.h.  Possibly include unistd.h in the
5015         !IN_GCC case.  Define VFORK_STRING as a printable function call
5016         for error messages (either "vfork" or "fork".)  If HAVE_VFORK_H is
5017         defined, include vfork.h.  If VMS is defined, define vfork()
5018         appropriately.  Remove vfork check on USG, we're using autoconf.
5019         (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
5020         locally what string to use.
5021
5022 1998-10-26  Mark Mitchell  <mark@markmitchell.com>
5023
5024         * splay-tree.c: Tweak include directives to make sure declarations of
5025         xmalloc and free are available.
5026
5027 1998-10-25  Mark Mitchell  <mark@markmitchell.com>
5028
5029         * cplus-dem.c (gnu_special): Fix handling of virtual tables in
5030         anonymous namespaces.
5031
5032 1998-10-23  Mark Mitchell  <mark@markmitchell.com>
5033
5034         * cplus-dem.c (work_stuff): Replace const_type and volatile_type
5035         with type_quals.
5036         (TYPE_UNQUALIFIED): New macro.
5037         (TYPE_QUAL_CONST): Likewise.
5038         (TYPE_QUAL_VOLATILE): Likewise.
5039         (TYPE_QUAL_RESTRICT): Likewise.
5040         (code_for_qualifier): New function.
5041         (qualifier_string): Likewise.
5042         (demangle_qualifier): Likewise.
5043         (internal_cplus_demangle): Use them.
5044         (demangle_signature): Likewise.
5045         (demangle_template_value_parm): Likewise.
5046         (do_type): Likewise.
5047         (demangle_fund_type)): Likewise.
5048
5049 Thu Oct 22 19:58:43 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5050
5051         * splay-tree.c (splay_tree_foreach_helper): Make definition static
5052         to match prototype.
5053
5054 1998-10-21  Mark Mitchell  <mark@markmitchell.com>
5055
5056         * splay-tree.c: New file.
5057         * Makefile.in (CFILES): Add it.
5058         (REQUIRED_OFILES): Likewise.
5059         (splay-tree.o): Add dependencies.
5060
5061 Tue Oct 20 12:29:02 1998  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5062
5063         * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
5064         range of 'K' index.
5065
5066 Thu Oct 15 18:51:12 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5067
5068         * choose-temp.c: Prototype mkstemps() when IN_GCC.
5069
5070         * cplus-dem.c (consume_count): Cast argument of ctype macro to
5071         `unsigned char'.
5072         (cplus_demangle_opname): Cast the result of `strlen' to (int) when
5073         comparing against one.
5074         (cplus_mangle_opname): Likewise.
5075         (demangle_integral_value): Cast argument of ctype macro to
5076         `unsigned char'.
5077         (demangle_template_value_parm): Likewise.
5078         (demangle_template): Initialize variable `bindex'.  Cast the
5079         result of `strlen' to (int) when comparing against one.  Remove
5080         unused variable `start_of_value_parm'.
5081         (demangle_class_name): Cast the result of `strlen' to (int) when
5082         comparing against one.
5083         (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
5084         (gnu_special): Likewise.  Cast the result of `strlen' to (int)
5085         when comparing against one.
5086         (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
5087         (get_count): Likewise.
5088         (do_type): Likewise.  Cast the result of `strlen' to (int) when
5089         comparing against one.
5090         (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
5091         (demangle_function_name): Cast the result of `strlen' to (int)
5092         when comparing against one.
5093
5094         * mkstemp.c (mkstemps): Cast variable `len' to (int) when
5095         comparing against one.
5096
5097 Tue Oct 13 23:51:51 1998  Jeffrey A Law  (law@cygnus.com)
5098
5099         * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
5100         * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
5101         * config.in, configure: Rebuilt.
5102
5103         * getopt.c: Check HAVE_STRINGS_H before including strings.h.
5104         * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
5105         * config.in, configure: Rebuilt.
5106
5107 Mon Oct 12 19:15:59 1998  Geoffrey Noer  <noer@cygnus.com>
5108
5109         * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
5110
5111 Sun Oct 11 17:36:06 1998  Michael Tiemann  <tiemann@holodeck.cygnus.com>
5112
5113         * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
5114
5115 Thu Oct  8 23:42:08 1998  Jeffrey A Law  (law@cygnus.com)
5116
5117         * Merge egcs & devo libiberty.
5118
5119 1998-09-08  Martin von Löwis  <loewis@informatik.hu-berlin.de>
5120
5121         * cplus-dem.c (demangle_arm_pt): Demangle anonymous namespaces.
5122
5123 Mon Sep  7 23:29:01 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5124
5125         * mkstemp.c: Include config.h even when not IN_GCC.  Wrap header
5126         inclusions inside HAVE_*_H macros.  Include ansidecl.h when not
5127         IN_GCC.
5128
5129         * vasprintf.c: Include stdarg.h/varargs.h first.
5130
5131         * vprintf.c: Likewise.
5132
5133 Sat Sep  5 03:24:49 1998  Jeffrey A Law  (law@cygnus.com)
5134
5135         * pexecute.c: Updates from gcc.  Copy in gcc has been removed.  This
5136         is the canonical copy.  Define ISSPACE if !IN_GCC.
5137         * alloca.c, vfprintf.c, choose-temp.c, mkstemp.c, getopt.c: Similarly.
5138         * getopt1.c, obstack.c: Similarly.
5139         * Makefile.in: Build mkstemp.o
5140
5141 Tue Sep  1 23:12:47 1998  Christopher Faylor <cgf@cygnus.com>
5142
5143         * configure.in: Include asprintf in list of functions known not
5144         to be in newlib.
5145         * configure: Rebuild.
5146
5147 Wed Aug 19 14:05:01 1998  Mumit Khan  <khan@xraylith.wisc.edu>
5148
5149         * cplus-dem.c (work_stuff): Add dllimported.
5150         (demangled_prefix): Mark symbols imported from PE DLL.
5151         (internal_cplus_demangled): Handle.
5152
5153 1998-08-17  Jason Merrill  <jason@yorick.cygnus.com>
5154
5155         * cplus-dem.c (do_type): Fix simple array handling.  If we fail,
5156         stay failed.
5157
5158 Mon Aug 17 10:40:34 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5159
5160         * cplus-dem.c: Include config.h if it exists.  Also, only
5161         prototype malloc/realloc if we can't get stdlib.h.
5162
5163 Sat Aug 15 16:15:01 1998  Ian Lance Taylor  <ian@cygnus.com>
5164
5165         * configure.in: Switch back to checking --with-target-subdir when
5166         deciding whether to check for newlib, undoing part of July 15
5167         change.
5168         * configure: Rebuild.
5169
5170 Thu Aug 13 16:47:38 1998  Mark Mitchell  <mark@markmitchell.com>
5171
5172         * cplus-dem.c (type_kind_t): New type.
5173         (demangle_template_value_parm): Add type_kind_t parameter.  Rely
5174         on this paramter, rather than demangling the type again.
5175         (demangle_integral_value): Pass tk_integral.
5176         (demangle_template_: Pass the value returned from do_type.
5177         (do_type): Return a type_kind_t.  Pass tk_integral to
5178         demangle_template_value_parm for array bounds.
5179         (demangle_fund_type): Likewise.
5180
5181         Also incorporate from GCC version:
5182
5183         Tue Jul 21 13:28:19 1998  Jason Merrill  <jason@yorick.cygnus.com>
5184
5185         * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
5186
5187 Thu Aug 13 16:47:38 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5188
5189         * cplus-dem.c (demangle_nested_args): Make function definition
5190         static to match the prototype.
5191
5192 Tue Jul 28 11:33:09 1998  Mark Mitchell  <mark@markmitchell.com>
5193
5194         * cplus-dem.c (type_kind_t): New type.
5195         (demangle_template_value_parm): Add type_kind_t parameter.  Rely
5196         on this paramter, rather than demangling the type again.
5197         (demangle_integral_value): Pass tk_integral.
5198         (demangle_template_: Pass the value returned from do_type.
5199         (do_type): Return a type_kind_t.  Pass tk_integral to
5200         demangle_template_value_parm for array bounds.
5201         (demangle_fund_type): Likewise.
5202
5203         Also incorporate from GCC version:
5204
5205         Tue Jul 21 13:28:19 1998  Jason Merrill  <jason@yorick.cygnus.com>
5206
5207         * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
5208
5209 Mon Jul 27 12:16:08 1998  Ian Lance Taylor  <ian@cygnus.com>
5210
5211         * Makefile.in (ALLOCA): New variable.
5212         ($(TARGETLIB)): Add $(ALLOCA) to library.
5213         (needed-list): Add $(ALLOCA).
5214         ($(ALLOCA)): Depend upon stamp-picdir.
5215
5216 Sun Jul 19 08:23:17 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5217
5218         * cplus-dem.c (demangle_nested_args): Make function definition
5219         static to match the prototype.
5220
5221 Wed Jul 15 00:12:58 1998  Ian Lance Taylor  <ian@cygnus.com>
5222
5223         * configure.in: Check --with-cross-host rather than
5224         --with-target-subdir when deciding whether build uses a cross
5225         compiler, and when deciding where to install the library.
5226         * configure: Rebuild.
5227
5228 Sun Jul 12 01:27:05 1998  Jason Merrill  <jason@yorick.cygnus.com>
5229
5230         * cplus-dem.c (demangle_nested_args): Return a value.
5231
5232 Sat Jul 11 16:19:48 1998  Mark Mitchell  <mark@markmitchell.com>
5233
5234         * cplus-dem.c (string): Move definition before work_stuff.
5235         (work_stuff): Add volatile_type, forgetting_types,
5236         previous_argument, and nrepeats fields.
5237         (SCOPE_STRING): New macro.
5238         (demangle_template): Add `remember' parameter.  Add comment.
5239         Register the `B' code type here, if remembering.  Tidy.  Fix crash
5240         on NULL tmpl_argvec.  Be consistent with use of tname/trawname.
5241         (demangle_nested_args): New function.
5242         (internal_cplus_demangle): Handle volatile-qualified member
5243         functions.
5244         (mop_up): Delete the previous_argument string if present.
5245         (demangle_signature): Tidy.  Handle volatile-qualified member
5246         functions.  Handle back-references using the `B' code.  Use extra
5247         parameter to demangle_template and SCOPE_STRING where appropriate.
5248         (demangle_template_value_parm): Fix thinko; 'B' is not an integral
5249         code.
5250         (demangle_class): Use SCOPE_STRING.
5251         (gnu_special): Pass additional argument to demangle_template.
5252         Use SCOPE_STRING.
5253         (demangle_qualified): Save qualified types for later
5254         back-references.  Handle constructors and destructors for template
5255         types correctly.
5256         (do_type): Tidy.  Use SCOPE_STRING.  Pass extra argument to
5257         demangle_template.  Use demangled_nested_args.  Don't remember
5258         qualified types here; that's now done in demangle_qualified.
5259         Similarly for templates.
5260         (do_arg): Improve commment.  Handle 'n' repeat code.
5261         (remember_type): Check forgetting_types.
5262         (demangle_args): Deal with 'n' repeat codes.  Tidy.
5263
5264 Thu Jul  2 16:26:24 1998  Ian Lance Taylor  <ian@cygnus.com>
5265
5266         * config.table: Only use mh-fbsd21 on *-*-freebsd2.2.[012], not on
5267         *-*-freebsd2.2.*.  From Dmitrij Tejblum <tejblum@arc.hq.cti.ru>.
5268
5269 Mon Jun 15 16:29:01 1998  Ian Lance Taylor  <ian@cygnus.com>
5270
5271         * configure.in (setobjs): Correct quoting error in cygwin32 case.
5272         From Chris Faylor <cgf@cygnus.com>.
5273
5274 Mon Jun  1 13:47:55 1998  Jason Molenda  (crash@bugshack.cygnus.com)
5275
5276         * obstack.c: Update to latest FSF version.
5277
5278 Mon Jun  1 14:17:36 1998  Mike Stump  <mrs@wrs.com>
5279
5280         * Makefile.in: Add a dependency on stamp-picdir for the
5281         objects, so that we can do a parallel build.
5282
5283 Sat May 30 22:17:13 1998  Mumit Khan  <khan@xraylith.wisc.edu>
5284
5285         * configure.in (checkfuncs): Add missing "'".
5286
5287 Fri May 29 12:40:41 1998  Jason Molenda  (crash@bugshack.cygnus.com)
5288
5289         * obstack.c (_obstack_memory_used):  Elide this function if we're
5290         on a system with GNU libc.
5291
5292 Tue May 26 18:28:43 1998  Ian Lance Taylor  <ian@cygnus.com>
5293
5294         * Makefile.in (distclean): Remove config.log.
5295
5296 Tue May 26 15:01:52 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5297
5298         * Makefile.in (distclean): Don't remove alloca-conf.h.
5299
5300 Fri May 22 01:38:07 1998  Hans-Peter Nilsson  <hp@axis.se>
5301
5302         * cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.
5303
5304 1998-05-21  Mark Mitchell  <mmitchell@usa.net>
5305
5306         * cplus-dem.c (do_type): Handle volatile qualification.
5307
5308 1998-05-21  Manfred Hollstein  <manfred@s-direktnet.de>
5309
5310         * configure.in: Check for unistd.h as well.
5311         * configure: Rebuild.
5312         * config.in: Rebuild.
5313         * getpagesize.c (GNU_OUR_PAGESIZE): Use sysconf only if _SC_PAGESIZE
5314         is defined in unistd.h. Reformat conditional block for easier reading.
5315
5316         * config.table (shared): Default to no if ${enable_shared}
5317         is unset or empty; this logic is used by the toplevel
5318         configure scripts, too.
5319
5320 Sat May 16 14:01:26 1998  Jeffrey A Law  (law@cygnus.com)
5321
5322         * config.table: Add line to set enable_shared in the Makefile
5323         as needed.
5324
5325 Wed May 13 14:24:38 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5326
5327         * cplus-dem.c (squangle_mop_up): Change return type to void.
5328         (internal_cplus_demangle): Remove unused parameter `options'.
5329         All callers changed.
5330         (cplus_demangle_opname): Remove function wide variable `int i' and
5331         replace with `size_t i' at each location where it is used.
5332         (cplus_mangle_opname): change type of `i' from int to size_t.
5333
5334 Wed May 13 13:39:38 1998  Ian Lance Taylor  <ian@cygnus.com>
5335
5336         * alloca-conf.h: Include config.h.  Check HAVE_ALLOCA_H rather
5337         than sparc or sun.
5338         * Makefile.in (argv.o): Depend upon config.h and alloca-conf.h.
5339
5340 Fri May  8 00:23:51 1998  Ian Lance Taylor  <ian@cygnus.com>
5341
5342         * configure.in: Set libiberty_topdir correctly when srcdir is
5343         "." and with_target_subdir is not set.
5344         * configure: Rebuild.
5345
5346 Thu May  7 13:01:44 1998  Ian Lance Taylor  <ian@cygnus.com>
5347
5348         * configure.in: Add *-*-mingw32* case.
5349         * configure: Rebuild.
5350
5351 Wed May  6 11:33:51 1998  Ian Lance Taylor  <ian@cygnus.com>
5352
5353         * config.table: Never use a PIC file for *-*-cygwin32*.
5354
5355         * Makefile.in (config.status): Depend upon config.table.
5356
5357         * configure.in: On a cygwin32 host, always compile random, and
5358         don't test for sys_siglist, strsignal, or psignal.
5359         * configure: Rebuild.
5360
5361         * clock.c: Check HAVE_SYS_PARAM_H rather than NO_SYS_PARAM_H.
5362         * getcwd.c: Likewise.
5363         * getpagesize.c: Likewise.
5364         * getruntime.c: Likewise.
5365
5366 Tue May  5 18:08:32 1998  Ian Lance Taylor  <ian@cygnus.com>
5367
5368         Use autoconf tests rather than the old dummy.c test:
5369         * configure.in: Add AC_ARG_WITH calls for --with-target-subdir and
5370         --with-newlib.  Add AC_CONFIG_HEADER.  Use AC_REPLACE_FUNCS for
5371         most functions.  Add special cases to handle newlib and VxWorks.
5372         Remove target_makefile_frag.  Create stamp-h in AC_OUTPUT if
5373         CONFIG_HEADERS is set.  Only call config-ml.in in AC_OUTPUT if
5374         CONFIG_FILES is set; set ac_file before calling it.
5375         * config.table (arm-*-riscix*, *-*-cygwin32): Remove.
5376         (*-*-hpux*, *-*-hiux*, *-*-irix4*, *-*-solaris2*): Remove.
5377         (*-*-sysv4*, *-*-go32, *-*-vxworks5*, *-*-vxworks): Remove
5378         (i[3456]-*-mingw32*): Remove.
5379         * Makefile.in (ERRORS_CC, CONFIG_H, NEEDED_LIST): Remove.
5380         (LIBOBJS): New variable.
5381         (HOST_OFILES, DO_ALSO, STAGESTUFF): Remove.
5382         (all): Depend upon needed-list.  Don't check RULE1.
5383         (@target_makefile_frag@): Remove.
5384         (COMPILE.c): Include @DEFS@.
5385         (HFILES): Add alloca-conf.h.
5386         (REQUIRED_OFILES): Remove basename.o.
5387         ($(TARGETLIB)): New target.
5388         (stamp-needed, lneeded-list, needed.awk, stamp-config): Remove.
5389         (lconfig.h, needed2.awk, dummy.o, errors): Remove.
5390         (needed-list, config.h): Rewrite.
5391         (RULE1, $(RULE1), RULE2, $(RULE2)): Remove.
5392         (.always.): Remove.
5393         (Makefile): Set CONFIG_FILES and CONFIG_HEADERS.
5394         (stamp-h): New target.
5395         (atexit.o, clock.o, getcwd.o, getpagesize.o): New targets.
5396         (basename.o): Don't depend upon config.h.
5397         (getruntime.o): Depend upon config.h.
5398         * atexit.c: Include config.h.  Check HAVE_ON_EXIT rather than
5399         NEED_on_exit.
5400         * basename.c: Don't include config.h.  Don't check NEED_basename.
5401         * clock.c: Include config.h.
5402         * getcwd.c: Likewise.
5403         * getpagesize.c: Likewise.
5404         * getruntime.c: Likewise.  Fix checks which set HAVE_GETRUSAGE and
5405         HAVE_TIMES.
5406         * strerror.c: Change uses of NEED_sys_errlist to
5407         HAVE_SYS_ERRLIST.  Likewise for NEED_strerror and HAVE_STRERROR.
5408         * strsignal.c: Likewise for NEED_sys_siglist and HAVE_SYS_SIGLIST,
5409         and for NEED_strsignal and HAVE_STRSIGNAL and for NEED_psignal and
5410         HAVE_PSIGNAL.
5411         * acconfig.h: New file.
5412         * dummy.c: Remove.
5413         * functions.def: Remove.
5414         * config/mh-cxux7 (HDEFINES): Remove -DHAVE_SYSCONF.
5415         * config/mh-windows (HDEFINES): Remove.
5416         * config/mh-cygwin32: Remove.
5417         * config/mh-go32: Remove.
5418         * config/mh-irix4: Remove.
5419         * config/mh-riscix: Remove.
5420         * config/mh-sysv4: Remove.
5421         * config/mt-mingw32: Remove.
5422         * config/mt-vxworks5: Remove.
5423         * config.in: New file, generated using autoheader.
5424         * configure: Rebuild.
5425
5426 Mon May  4 13:00:28 1998  Ian Lance Taylor  <ian@cygnus.com>
5427
5428         * configure.in: Rewrite to use autoconf.
5429         * configure: Generate using autoconf.
5430         * config/mh-a68bsd: Remove.
5431         * config/mh-apollo68: Remove.
5432         * config/mh-hpbsd: Remove.
5433         * config/mh-ncr3000: Remove.
5434         * config/mh-sysv: Remove.
5435         * config/mh-aix (RANLIB, INSTALL): Don't define.
5436         * config/mh-cxux7 (RANLIB, INSTALL): Don't define.
5437         * config/mh-irix4 (CC, RANLIB, INSTALL): Don't define.
5438         * config/mh-sysv4 (RANLIB, INSTALL): Don't define.
5439         * config.table: Change config_shell to CONFIG_SHELL, and use
5440         libiberty_topdir to find move-if-change.
5441         (m68k-apollo-bsd*, m68k-apollo-sysv*): Remove.
5442         (i[3456]86-ncr-sysv4*, *-*-dgux*, hppa*-hp-bsd*): Remove.
5443         (*-*-irix*, *-*-m88kbcs*, *-*-sysv*): Remove.
5444         * Makefile.in (srcdir): Set to @srcdir@.
5445         (VPATH): Likewise.
5446         (prefix, exec_prefix, bindir, libdir): Set to autoconf variables.
5447         (SHELL, INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Likewise.
5448         (CC, CFLAGS, RANLIB)): Likewise.
5449         (datadir, man*dir, infodir, includedir, MAKEINFO): Remove.
5450         (target_makefile_frag, host_makefile_frag): Add substitutions.
5451         (INSTALL_DEST): Set to @INSTALL_DEST@.
5452         (Makefile): Depend upon config.status.  Don't depend upon
5453         $(host_makefile_frag) or $(target_makefile_frag).
5454         (config.status): New target.
5455
5456 Sun May  3 17:58:49 1998  Ian Lance Taylor  <ian@cygnus.com>
5457
5458         * config/mt-sunos4: Remove.  Should be handled by --with-headers
5459         and --with-libraries options at top level.
5460         * config.table: Never use mt-sunos4.
5461
5462         * alloca-conf.h: New file, combining alloca-norm.h and
5463         alloca-botch.h.
5464         * alloca-norm.h: Remove.
5465         * alloca-botch.h: Remove.
5466         * configure.in: Set shell variables files and links to empty.
5467         * config.table: Don't set shell variable files.
5468         * configure.bat: Don't create alloca-conf.h.
5469         * makefile.vms: Likewise.
5470         * mpw-config.in: Likewise.
5471         * vmsbuild.com: Likewise.
5472
5473 Fri May  1 11:41:42 1998  Ian Lance Taylor  <ian@cygnus.com>
5474
5475         * Makefile.in ($(HOST_OFILES) $(REQUIRED_OFILES)): Remove old
5476         target depending upon config.h.
5477         (alloca.o): Add target depending upon config.h
5478         (basename.o, choose-temp.o, fnmatch.o): Likewise.
5479         (getopt.o, getopt1.o, pexecute.o, strerror.o): Likewise.
5480         (strsignal.o, xstrerror.o): Likewise.
5481
5482 Fri May  1 04:26:25 1998  Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5483
5484         * cplus-dem.c (cplus_demangle_opname):  Initialize work.
5485
5486 Mon Apr 27 15:53:30 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
5487
5488         * cplus-dem.c (demangle_qualified): Replace missing else.
5489
5490 Sun Apr 26 15:38:50 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5491
5492         * cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
5493         length in the name of a virtual table.
5494
5495 Wed Apr 22 10:53:49 EDT 1998 Andrew MacLeod  <amacleod@cygnus.com>
5496
5497         * cplus-dem.c (struct work stuff): Add field for B and K mangle codes.
5498         (cplus_demangle_opname): Call mop_up_squangle.
5499         (cplus_demangle): Initialize squangle info, then call
5500         internal_cplus_demangle. (Most code moved there as well)
5501         (internal_cplus_demangle): New function, performs most of what use
5502         to be done in cplus_demangle, but is only called with this file.
5503         (squangle_mop_up): New function to clean up B and K code data.
5504         (mop_up): set pointers to NULL after freeing.
5505         (demangle_signature, demangle_template, demangle_class): Add
5506         switch elements to handle K and B codes.
5507         (demangle_prefix, gnu_special, demangle_qualified): Add
5508         code to handle K and B codes.
5509         (do_type, demangle_fund_type): Handle B and K codes.
5510         (remember_Ktype): New function to store K info.
5511         (register_Btype, remember_Btype): New functions for B codes.
5512         (forget_B_and_K_types): New function to destroy B and K info.
5513
5514 Fri Apr 10 01:49:10 1998  Jeffrey A Law  (law@cygnus.com)
5515
5516         * COPYING.LIB, choose-temp.c, cplus-dem.c: Sync with egcs & gcc.
5517
5518 Thu Mar  5 09:23:28 1998  Manfred Hollstein  <manfred@s-direktnet.de>
5519
5520         * config.table: Make locating frag files failsafe even for the
5521         special case if configuring and building in srcdir.
5522
5523 Mon Feb 23 14:33:15 1998  Ian Lance Taylor  <ian@cygnus.com>
5524
5525         * choose-temp.c: Fix handling of sys/file.h to work in libiberty.
5526
5527 Sun Feb 22 18:03:23 1998  Jeffrey A Law  (law@cygnus.com)
5528
5529         * choose-temp.c: Sync with copy in gcc.
5530
5531 Thu Feb 12 16:29:49 1998  Ian Lance Taylor  <ian@cygnus.com>
5532
5533         * getopt.c: Update to latest FSF version.
5534         * getopt1.c: Likewise.
5535
5536 Tue Feb 10 16:58:33 1998  Stan Shebs  <shebs@andros.cygnus.com>
5537
5538         * cplus-dem.c (gnu_special): Don't get confused by .<digits>
5539         strings that are not actually lengths.
5540
5541 Fri Feb  6 01:35:17 1998  Manfred Hollstein  <manfred@s-direktnet.de>
5542
5543         * Makefile.in (FLAGS_TO_PASS): Don't pass PICFLAG.
5544         (.c.o): Check value of enable_shared, not PICFLAG.
5545         (stamp-picdir): Dito.
5546
5547 Thu Feb  5 18:48:56 1998  Geoffrey Noer  <noer@cygnus.com>
5548
5549         * config/mh-cygwin32: remove vasprintf.o from EXTRA_OFILES
5550         since it gets built automatically
5551
5552 Sun Feb  1 02:52:32 1998  Mike Stump  <mrs@wrs.com>
5553
5554         * config.table (vxworks configs): Default to VxWorks 5.x, as that is
5555         the currently shipping OS.
5556
5557 Tue Jan 27 16:08:20 1998  Pat Rankin  <rankin@eql.caltech.edu>
5558
5559         * vmsbuild.com [REQUIRE_OFILES]: Synchronized with Makefile.in:
5560         Add fnmatch.o and objalloc.o; remove vasprintf.o.
5561         [config.h]: Define NEED_strsignal.
5562
5563 Mon Jan 19 12:20:01 1998  Ian Lance Taylor  <ian@cygnus.com>
5564
5565         * functions.def: Correct argument types for strerror and
5566         strsignal.  Reported by Alex Gutman <agutman@emc.com>.
5567
5568 Sun Jan 18 15:57:28 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>
5569
5570         * vasprintf.c (int_vasprintf): Increase buffer size for float/double
5571         values.
5572
5573 Sat Jan 17 22:28:38 1998  Mumit Khan  <khan@xraylith.wisc.edu>
5574                           J.J. VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
5575
5576         Add mingw32 support.
5577         * pexecute.c (pexecute): New function for mingw32. Supports pipes.
5578         (pwait): New function for mingw32.
5579
5580         * config.table (i[3456]86-*-mingw32*): Support for i386-mingw32.
5581         * config/mt-mingw32: New file.
5582         * xmalloc.c (first_break): Not used for mingw32.
5583         (xmalloc_set_program_name): Don't use sbrk on mingw32.
5584         (xmalloc): Likewise.
5585         (xrealloc): Likewise.
5586
5587 Sat Jan 17 22:28:05 1998  Jeffrey A Law  (law@cygnus.com)
5588
5589         * choose-temp.c: Sync with gcc version.
5590
5591 Tue Jan 13 18:34:39 1998  Jim Wilson  <wilson@cygnus.com>
5592
5593         * Makefile.in (install_to_libdir, install_to_tooldir): Add MULTISUBDIR
5594         to all filenames in libdir and tooldir.
5595         (distclean): Do MULTICLEAN before deleting Makefile.
5596         (stamp-needed, stamp-config): Add MULTISRCTOP to
5597         pathname for move-if-change.
5598
5599 Thu Dec  4 17:25:19 1997  Jeffrey A Law  (law@cygnus.com)
5600
5601         * strsignal.c (sys_nsig): Try NSIG and _NSIG.
5602
5603 Wed Nov 19 13:37:06 1997  Michael Meissner  <meissner@cygnus.com>
5604
5605         * alloca-norm.h (alloca, GCC case): Don't redefine alloca if it
5606         was already defined previously.
5607
5608 Mon Nov 10 12:48:03 1997  Philippe De Muyter  <phdm@macqel.be>
5609
5610         * Makefile.in (INSTALL): Use ../install-sh, not install.
5611
5612 Tue Oct 28 23:41:15 1997  Judy Goldberg  <jodyg@idt.net>
5613
5614         * Makefile.in (CFILES): Add pexecute.c.
5615
5616 Wed Oct 15 19:13:48 1997  Ian Lance Taylor  <ian@cygnus.com>
5617
5618         * asprintf.c: Consistently use either stdarg or varargs.
5619
5620 Tue Oct 14 12:01:00 1997  Mark Mitchell  <mmitchell@usa.net>
5621
5622         * cplus-dem.c (demangle_signature): Don't look for return types on
5623         constructors.  Handle member template constructors.
5624
5625 Fri Oct  3 17:53:30 1997  Ian Lance Taylor  <ian@cygnus.com>
5626
5627         * README: Fix configuration instructions.
5628
5629 Mon Sep 29 12:28:41 1997  Ian Lance Taylor  <ian@cygnus.com>
5630
5631         * pexecute.c: Update to current version from /gd/gnu/lib:
5632
5633         Mon Sep 29 12:27:59 1997  Ian Lance Taylor  <ian@cygnus.com>
5634
5635         * pexecute.c: Use spawn if __CYGWIN32__.
5636
5637         1997-08-08  Paul Eggert  <eggert@twinsun.com>
5638
5639         * pexecute.c: Include "config.h" first, as per autoconf manual.
5640
5641         Fri Jun 27 15:20:29 1997  Scott Christley <scottc@net-community.com>
5642
5643         * pexecute.c (fix_argv): New function.
5644         (pexecute): Win32 but not Cygwin32 needs its arguments fixed.
5645         Add underscore to cwait function call.
5646
5647 Sun Sep 28 12:00:52 1997  Mark Mitchell  <mmitchell@usa.net>
5648
5649         * cplus-dem.c (demangle_template): Add new parameter.  Handle new
5650         template-function mangling.
5651         (consume_count_with_underscores): New function.
5652         (demangle_signature): Handle new name-mangling scheme.
5653
5654 Wed Sep 24 00:31:59 1997  Felix Lee  <flee@yin.cygnus.com>
5655
5656         * asprintf.c: stdarg.h when ALMOST_STDC
5657         * config/mh-windows (EXTRA_OFILES): add asprintf.o and
5658         strncasecmp.o.
5659
5660 Thu Aug 28 14:27:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
5661
5662         * vasprintf.c (vasprintf): Allow for _BSD_VA_LIST_.
5663
5664         * config.table: Add case for FreeBSD 2.1 and 2.2, needs mh-fbsd21.
5665
5666         * config/mh-fbsd21 (EXTRA_OFILES): Force vasprintf.o
5667
5668 Wed Sep 10 12:43:10 1997  Jason Merrill  <jason@yorick.cygnus.com>
5669
5670         * cplus-dem.c (demangle_fund_type): Change "complex" to "__complex".
5671
5672 Fri Sep  5 16:34:42 1997  Andrew Cagney  <cagney@b1.cygnus.com>
5673
5674         * asprintf.c (asprintf): New file.
5675         * Makefile.in (CFILES): Add asprintf.c
5676         * functions.def: Ditto.
5677
5678 Thu Aug 28 18:53:34 1997  Andrew Cagney  <cagney@b1.cygnus.com>
5679
5680         * argv.c (dupargv): New function, duplicate an argument vector.
5681
5682 Tue Aug 19 20:28:45 1997  Geoffrey Noer  <noer@cygnus.com>
5683
5684         * config/mh-cygwin32: also build random.o
5685
5686 Tue Aug 19 17:10:56 1997  Jason Merrill  <jason@yorick.cygnus.com>
5687
5688         * cplus-dem.c: Add 'extern' to prepends_underscore.
5689
5690 Wed Jul 30 11:42:19 1997  Per Bothner  <bothner@cygnus.com>
5691
5692         * cplus-dem.c: Various changes to produce Java output when passed
5693         DMGL_JAVA.  Thus "::" becomes "." and "JArray<Foo>" becomes "Foo[]".
5694         (main): Support --java and -j flags to set DMGL_JAVA.
5695
5696 Tue Jul 22 19:05:23 1997  Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
5697
5698         * config/mh-go32 (CC, AR, RANLIB): Don't define.
5699
5700 Tue Jul 22 17:49:54 1997  Ian Lance Taylor  <ian@cygnus.com>
5701
5702         * Makefile.in (REQUIRED_OFILES): Add pexecute.o.
5703         (pexecute.o): New target.
5704
5705         * Makefile.in (stamp-needed): New target, replacing needed-list.
5706         (needed-list): Just depend upon stamp-needed.
5707         (stamp-config): New target, replacing config.h.
5708         (config.h): Just depend upon stamp-config.
5709         (mostlyclean): Remove stamp-*.
5710
5711 Thu Jun 12 11:00:18 1997  Angela Marie Thomas (angela@cygnus.com)
5712
5713         * Makefile.in (FLAGS_TO_PASS): pass INSTALL, INSTALL_PROGRAM and
5714         INSTALL_DATA for multilibbed installs
5715
5716 Tue Jun  3 13:21:05 1997  Doug Evans  <dje@canuck.cygnus.com>
5717
5718         Tue Dec 10 09:44:57 1996  Paul Eggert  <eggert@twinsun.com>
5719
5720         * choose-temp.c (choose_temp_base): Don't dump core if TMPDIR is empty.
5721
5722         * choose-temp.c (try): Insist that temp dir be searchable.
5723
5724         Wed Oct 23 17:36:39 1996  Doug Rupp  (rupp@gnat.com)
5725
5726         * choose-temp.c (choose_temp_base): On VMS, use proper syntax
5727         for current directory.
5728
5729         Sat Feb 15 19:03:48 1997  Geoffrey Noer  (noer@cygnus.com)
5730
5731         * pexecute.c: Remove special cases for cygwin32.
5732         (pwait): Remove local definition of `pid'.
5733
5734         Tue Nov 12 18:26:15 1996  Doug Rupp  (rupp@gnat.com)
5735
5736         * pexecute.c (vfork): Supply new definition for VMS.
5737         (pwait): Use waitpid instead of wait for VMS.
5738
5739 Tue May 20 14:02:20 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
5740
5741         * cplus-dem.c (do_type): Handle `J'.
5742         (demangle_fund_type): Print "complex" for it.
5743
5744 Wed Apr 30 12:15:45 1997  Jason Merrill  <jason@yorick.cygnus.com>
5745
5746         * configure.in: Don't turn on multilib here.
5747
5748 Mon Apr 28 19:04:31 1997  Michael Snyder  <msnyder@cleaver.cygnus.com>
5749
5750         * obstack.c: move _obstack_memory_used outside of ifdef.  Cannot be
5751         elided; needed by gdb and not present in libc.
5752
5753 Thu Apr 24 19:33:47 1997  Ian Lance Taylor  <ian@cygnus.com>
5754
5755         * Makefile.in (clean): Remove tmpmulti.out.
5756
5757 Tue Apr 22 10:25:15 1997  Fred Fish  <fnf@cygnus.com>
5758
5759         * floatformat.c (floatformat_ieee_double_littlebyte_bigword):
5760         Add new floatformat, mainly for ARM doubles.
5761
5762 Mon Apr 14 12:11:16 1997  Ian Lance Taylor  <ian@cygnus.com>
5763
5764         * config.table: Use ${config_shell} with ${moveifchange}.  From
5765         Thomas Graichen <graichen@rzpd.de>.
5766
5767 Fri Apr  4 03:09:24 1997  Ulrich Drepper  <drepper@cygnus.com>
5768
5769         * configure.in: Enable multilibing by default.
5770         Update multilib template to read config-ml.in.
5771
5772 Tue Apr  1 16:26:39 1997  Klaus Kaempf  <kkaempf@progis.de>
5773
5774         * makefile.vms: Add objalloc.
5775
5776 Mon Mar 31 23:57:51 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
5777
5778         * cplus-dem.c (demangle_it): Add prototype declaration.
5779         (usage, fatal): Likewise.
5780
5781         * xexit.c (_xexit_cleanup): Add prototype.
5782
5783         * strerror.c (init_error_tables): Declare.
5784
5785 Fri Mar 28 11:43:20 1997  H.J. Lu  <hjl@lucon.org>
5786
5787         * functions.def: Add DEF of vasprintf, and DEFFUNC of strsignal.
5788         * strsignal.c: Only define strsignal if NEED_strsignal.
5789         * Makefile.in (REQUIRED_OFILES): Remove vasprintf.o.
5790         * configure.in: Add NEED_strsignal to xconfig.h.  Add vasprintf.o
5791         to xneeded-list.
5792         * config/mh-cygwin32 (HDEFINES): Add -DNEED_strsignal.
5793         (EXTRA_OFILES): Define to vasprintf.o.
5794         * config/mh-windows (HDEFINES): Add -DNEED_strsignal.
5795         (EXTRA_OFILES): Add vasprintf.o.
5796         * config/mt-vxworks5 (vxconfig.h): Define NEED_strsignal.
5797         (vxneeded-list): Add vasprintf.o.
5798
5799 Thu Mar 20 17:02:09 1997  Ian Lance Taylor  <ian@cygnus.com>
5800
5801         * objalloc.c: Include <stdio.h>.
5802
5803 Mon Mar 17 19:23:11 1997  Ian Lance Taylor  <ian@cygnus.com>
5804
5805         * objalloc.c: New file.
5806         * Makefile.in (CFILES): Add objalloc.c
5807         (REQUIRED_OFILES): Add objalloc.o.
5808         (objalloc.o): New target.
5809
5810 Sat Mar 15 18:49:41 1997  Ian Lance Taylor  <ian@cygnus.com>
5811
5812         * obstack.c: Update to current FSF version.
5813
5814 Fri Mar 14 14:18:47 1997  Ian Lance Taylor  <ian@cygnus.com>
5815
5816         * cplus-dem.c: Add prototypes for all static functions.
5817         (mystrstr): Make static.  Make arguments and result const.
5818         (cplus_match): Remove; not used.
5819
5820 Tue Mar 11 14:20:31 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
5821
5822         * cplus-dem.c (gnu_special): Call demangled_fund_type for other
5823         __t* symbols.
5824
5825 Tue Mar 11 15:41:21 1997  H.J. Lu  <hjl@lucon.org>
5826
5827         * spaces.c: Declare malloc and free properly.
5828         * strsignal.c (init_signal_tables): Add prototype.
5829         * xatexit.c (_xexit_cleanup): Add parameter declarations.
5830
5831 Wed Feb 19 15:43:24 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
5832
5833         * Makefile.in (lneeded-list): If alloca.o is needed, xexit.o is
5834         also required because of xmalloc.o.
5835
5836 Fri Feb 14 13:43:38 1997  Ian Lance Taylor  <ian@cygnus.com>
5837
5838         * strsignal.c: Unconditionally redefine sys_siglist around the
5839         inclusion of the system header files.
5840
5841 Thu Feb 13 22:01:04 1997  Klaus Kaempf  <kkaempf@progis.de>
5842
5843         * makefile.vms: Remove 8 bit characters.  Update to latest
5844         gcc release.
5845
5846 Tue Feb  4 11:52:19 1997  Ian Lance Taylor  <ian@cygnus.com>
5847
5848         * strsignal.c: Use NEED_sys_siglist instead of
5849         LOSING_SYS_SIGLIST.
5850         * config.table: Don't use mh-lynxos.
5851         * config/mh-lynxos: Remove.
5852
5853 Thu Jan 16 14:51:03 1997  Bob Manson  <manson@charmed.cygnus.com>
5854
5855         * cplus-dem.c: Fix indenting; make identical to the copy
5856         in GCC.
5857         (do_type, case 'M'): Check for a template as well as a class.
5858
5859 Thu Dec 19 13:51:33 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>
5860
5861         * config/mt-vxworks5 (vxneeded-list): Remove sigsetmask.o, since
5862         vxworks 5.[0-3] all have sigsetmask in them; the one provided by
5863         libiberty is incorrect, as well.
5864
5865 Mon Dec  2 15:03:42 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5866
5867         * alloca.c (alloca): When compiled with an ANSI/ISO compiler,
5868         alloca takes a size_t argument, not just unsigned.
5869
5870 Mon Nov 18 15:42:08 1996  Jason Merrill  <jason@yorick.cygnus.com>
5871
5872         * cplus-dem.c: Note that this file also lives in GCC.
5873
5874 Mon Nov 18 15:19:00 1996  Dawn Perchik  <dawn@critters.cygnus.com>
5875
5876         * alloca.c: Remove include of libiberty.h for hpux.
5877         * argv.c:  Replace defs from libiberty.h.
5878         * spaces.c: Put back externs from removed from libiberty.h.
5879         * vasprintf.c: Remove include of libiberty.h for hpux.
5880
5881 Mon Nov 18 14:08:00 1996  Dawn Perchik  <dawn@critters.cygnus.com>
5882
5883         * cplus-dem.c: Checking in again; last checkin filed due to sticky tag.
5884
5885 Wed Nov 13 08:22:00 1996  Dawn Perchik  <dawn@critters.cygnus.com>
5886
5887         * cplus-dem.c: Revert last two commits due to conflicts with
5888         hpux system headers.
5889
5890 Wed Nov 13 08:22:00 1996  Dawn Perchik  <dawn@critters.cygnus.com>
5891
5892         * alloca.c, argv.c, spaces.c, strcasecmp.c, vasprintf.c, vprintf.c:
5893         Revert last commit due to conflicts with hpux system headers.
5894
5895 Wed Nov 13 10:36:50 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5896
5897         * cplus-dem.c (x{m,re}alloc): Make declarations compatibile with
5898         libiberty.h when compiled with a standard compiler.
5899
5900 Tue Nov 12 16:31:00 1996  Dawn Perchik  <dawn@critters.cygnus.com>
5901
5902         * alloca.c: Include libiberty.h for definition of xmalloc.
5903         Don't redefine NULL.
5904         * argv.c: Move prototypes to libiberty.h.
5905         * cplus-dem.c: Include libiberty.h for definition of xmalloc.
5906         Don't redefine NULL.
5907         Use casts to eliminate compiler warnings.
5908         * spaces.c: Remove prototypes for malloc and free which are
5909         already in libibrty.h.
5910         * strcasecmp.c: Use casts to eliminate compiler warnings.
5911         * vasprintf.c: Include libiberty.h for definition of malloc.
5912         Don't redefine NULL.
5913         * vprintf.c: Include stdarg.h if __STDC__.
5914
5915 Fri Oct 11 15:42:12 1996  Stu Grossman  (grossman@critters.cygnus.com)
5916
5917         * config/mh-windows:  Add strcasecmp.o to EXTRA_OFILES.
5918
5919 Fri Oct 11 11:16:31 1996  Stan Shebs  <shebs@andros.cygnus.com>
5920
5921         * mpw.c (mpwify_filename): Rewrite to simplify, and to handle
5922         upward components correctly.
5923
5924 Tue Oct  8 08:55:34 1996  Stu Grossman  (grossman@critters.cygnus.com)
5925
5926         * config.table, config/mh-windows:  Add support for building under
5927         MSVC (the Microsoft build environment).
5928
5929 Mon Oct  7 10:50:27 1996  Ian Lance Taylor  <ian@cygnus.com>
5930
5931         * fnmatch.c: Undef const if not __STDC__.
5932
5933 Thu Oct  3 13:46:39 1996  Ian Lance Taylor  <ian@cygnus.com>
5934
5935         * fnmatch.c: New file.
5936         * Makefile.in (CFILES): Add fnmatch.c.
5937         (REQUIRED_OFILES): Add fnmatch.o.
5938         (fnmatch.o): New target.
5939
5940 Wed Sep 18 14:49:13 1996  Jason Merrill  <jason@yorick.cygnus.com>
5941
5942         * cplus-dem.c (demangle_template): Fix handling of address args.
5943         (gnu_special): Handle type_info stuff.
5944
5945 Fri Sep 13 17:52:55 1996  Stan Shebs  <shebs@andros.cygnus.com>
5946
5947         * mpw.c (DebugPI): Make settable from the env var DEBUG_PATHNAMES.
5948         (mpwify_filename): Handle "::/" case.
5949
5950 Thu Sep 12 13:30:40 1996  Geoffrey Noer  <noer@cygnus.com>
5951
5952         * config/mh-cygwin32: new file (need -DNEED_basename and
5953                 -DNEED_sys_siglist for native NT rebuilding)
5954         * config.table (*-*-cygwin32): new entry
5955         * choose-temp.c: bring in sync with gcc (revert Aug 17 change)
5956
5957 Thu Aug 29 16:48:45 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5958
5959         * config.table (i[345]86-*-*): Recognize i686 for pentium pro.
5960
5961 Tue Aug 27 13:47:58 1996  Stan Shebs  <shebs@andros.cygnus.com>
5962
5963         * pexecute.c (pexecute) [MPW]: Remove old bogus code that
5964         messed with arguments that included a '/', add escape chars
5965         to double quotes, remove const decl from arg that Mac
5966         compilers don't seem to like.
5967
5968 Sat Aug 17 04:44:27 1996  Geoffrey Noer  <noer@cygnus.com>
5969
5970         * pexecute.c: Update test for win32 (&& ! cygwin32).
5971         * choose-temp.c: fix WIN32 preprocessor defines
5972
5973 Thu Aug 15 12:26:48 1996  Stan Shebs  <shebs@andros.cygnus.com>
5974
5975         * mpw-make.sed: Add @DASH_C_FLAG@ and @SEGMENT_FLAG({Default})@
5976         to editing of default makefile rule.
5977
5978 Sun Aug 11 21:03:27 1996  Stu Grossman  (grossman@critters.cygnus.com)
5979
5980         * alloca-norm.h:  Include <malloc.h> if _WIN32.
5981         * argv.c:  Include non-prototyped decls for malloc and string
5982         functions if ! _WIN32 or if __GNUC__.
5983
5984 Thu Aug  8 12:42:40 1996  Klaus Kaempf  <kkaempf@progis.de>
5985
5986         * config.h-vms: New file.
5987         * makefile.vms: Use it.
5988
5989 Wed Aug  7 17:16:12 1996  Stu Grossman  (grossman@critters.cygnus.com)
5990
5991         * getopt.c (_getopt_internal):  If argc is 0, just return (before
5992         we reference *argv and segfault).
5993
5994 Mon Aug  5 01:29:08 1996  Jason Merrill  <jason@yorick.cygnus.com>
5995
5996         * Makefile.in (distclean): Add multilib.out.
5997
5998 Thu Jul 18 17:40:55 1996  Ian Lance Taylor  <ian@cygnus.com>
5999
6000         * alloca-norm.h: Change #ifdef sparc to #if defined (sparc) &&
6001         defined (sun).  From Andrew Gierth <ANDREWG@microlise.co.uk>.
6002
6003 Mon Jul  1 13:40:44 1996  Ken Raeburn  <raeburn@cygnus.com>
6004
6005         Tue May 28 15:29:03 1996  Pat Rankin  <rankin@eql.caltech.edu>
6006
6007         * vmsbuild.com (REQUIRD_OFILES): Add choose-temp.o and xstrdup.o.
6008
6009         Thu Jan 25 18:20:04 1996  Pat Rankin  <rankin@eql.caltech.edu>
6010
6011         * vmsbuild.com: Changes to handle DEFFUNC(on_exit).
6012         (do_ofiles): Allow nonexistent source file in pass 3.
6013         (chk_deffunc): New routine.
6014
6015 Tue Jun 25 19:24:43 1996  Doug Evans  <dje@canuck.cygnus.com>
6016
6017         * pexecute.c (PEXECUTE_VERBOSE): Define.
6018         (MPW pexecute): Check flags & PEXECUTE_VERBOSE instead of verbose_flag.
6019
6020 Tue Jun 25 23:11:48 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
6021
6022         * Makefile.in (docdir): Removed.
6023
6024 Tue Jun 25 23:01:07 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
6025
6026         * Makefile.in (oldincludedir): Removed.
6027
6028 Tue Jun 25 22:50:07 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
6029
6030         * Makefile.in (datadir): Set to $(prefix)/share.
6031
6032 Thu Jun 20 21:17:52 1996  Ian Lance Taylor  <ian@cygnus.com>
6033
6034         * cplus-dem.c (demangle_arm_pt): Reindent.  Avoid endless loop by
6035         checking for errors from do_type.
6036
6037 Tue Jun 18 14:36:19 1996  Klaus Kaempf  <kkaempf@progis.de>
6038
6039         * makefile.vms: New file.
6040         * xmalloc.c: If VMS, include <stdlib.h> and <unixlib.h> rather
6041         than declaring malloc, realloc, and sbrk.
6042
6043 Mon Jun 10 13:17:17 1996  Doug Evans  <dje@canuck.cygnus.com>
6044
6045         * pexecute.c: New file.
6046
6047 Wed Jun  5 16:57:45 1996  Richard Henderson  <rth@tamu.edu>
6048
6049         * xmalloc.c: Declare sbrk.
6050
6051 Sat May  4 05:08:45 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
6052
6053         * alloca-norm.h:  Add SPARCworks cc compatible __builtin_alloca
6054         declaration.
6055
6056 Mon Apr 22 18:41:49 1996  Ian Lance Taylor  <ian@cygnus.com>
6057
6058         * xstrerror.c: Include <stdio.h>.
6059
6060 Sun Apr 21 11:55:12 1996  Doug Evans  <dje@canuck.cygnus.com>
6061
6062         * Makefile.in (CFILES): Add atexit.c.
6063
6064 Sun Apr 21 09:50:09 1996  Stephen L Moshier  (moshier@world.std.com)
6065
6066         * choose-temp.c: Include sys/types.h before sys/file.h for sco3.2v5.
6067
6068 Wed Apr 17 11:17:55 1996  Doug Evans  <dje@canuck.cygnus.com>
6069
6070         * choose-temp.c: Don't #include sys/file.h ifdef NO_SYS_FILE_H.
6071         #include <stdio.h>
6072         * config/mt-vxworks5 (HDEFINES): Define NO_SYS_FILE_H.
6073
6074 Tue Apr 16 11:27:16 1996  Jeffrey A Law  (law@cygnus.com)
6075
6076         * Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o.
6077         Reverts Feb 8, 1995 change.
6078
6079 Mon Apr 15 12:53:26 1996  Doug Evans  <dje@canuck.cygnus.com>
6080
6081         * choose-temp.c: New file.
6082         * Makefile.in (CFILES): Add choose-temp.c.
6083         (REQUIRED_OFILES): Add choose-temp.o.
6084
6085 Sat Apr 13 14:19:30 1996  Stu Grossman  (grossman@critters.cygnus.com)
6086
6087         * floatformat.c (floatformat_to_double):  Don't bias exponent when
6088         handling zero's, denorms or NaNs.
6089
6090 Thu Apr 11 13:36:56 1996  Stu Grossman  (grossman@critters.cygnus.com)
6091
6092         * floatformat.c (floatformat_to_double):  Fix bugs with handling
6093         numbers with fractions < 32 bits.
6094
6095 Mon Apr  8 14:48:34 1996  Ian Lance Taylor  <ian@cygnus.com>
6096
6097         * config.table: Permit --enable-shared to specify a list of
6098         directories.
6099
6100 Tue Mar 19 22:02:07 1996  Jason Merrill  <jason@yorick.cygnus.com>
6101
6102         * cplus-dem.c (demangle_template): Fix for non-mangled pointer
6103         arguments.
6104
6105 Fri Mar  8 17:24:18 1996  Ian Lance Taylor  <ian@cygnus.com>
6106
6107         * configure.in: If srcdir is `.' and with_target_subdir is not
6108         `.', then set MULTISRCTOP before calling config-ml.in.
6109
6110 Thu Mar  7 13:37:10 1996  Stan Shebs  <shebs@andros.cygnus.com>
6111
6112         * mpw.c (mpw_open): Add debugging output option.
6113
6114 Wed Mar  6 17:36:03 1996  Jason Merrill  <jason@yorick.cygnus.com>
6115
6116         * cplus-dem.c (demangle_template): Fix for address-of-extern arguments.
6117
6118 Tue Feb 27 12:00:50 1996  Raymond Jou  <rjou@mexican.cygnus.com>
6119
6120         * mpw.c (mpwify_filename): Change 6 to 5 in
6121         strncmp (unixname, "/tmp/", 5).
6122
6123 Tue Feb 20 10:55:53 1996  Ian Lance Taylor  <ian@cygnus.com>
6124
6125         * cplus-dem.c (demangle_template): Initialize is_bool.  Correctly
6126         handle 0 as a pointer value parameter.
6127
6128 Mon Feb  5 16:41:44 1996  Ian Lance Taylor  <ian@cygnus.com>
6129
6130         * Makefile.in (all): Depend upon required-list.
6131         (required-list): New target.
6132         (clean): Remove required-list.
6133
6134 Wed Jan 31 10:19:41 1996  Steve Chamberlain  <sac@slash.cygnus.com>
6135
6136         * win32.c: Deleted.
6137         * config.table (i386-*-win32): Deleted.
6138         * config/mh-i386win32: Deleted.
6139
6140 Thu Jan 18 11:34:17 1996  Ian Lance Taylor  <ian@cygnus.com>
6141
6142         * cplus-dem.c (cplus_demangle_opname): Change opname parameter to
6143         const char *.
6144         (cplus_mangle_opname): Change return type and opname parameter to
6145         const char *.  Don't cast return value.
6146
6147 Tue Jan 16 12:13:11 1996  Stan Shebs  <shebs@andros.cygnus.com>
6148
6149         * mpw.c: Include Timer.h, in order to get m68k Microseconds trap
6150         definition.
6151
6152 Wed Jan  3 13:15:04 1996  Fred Fish  <fnf@cygnus.com>
6153
6154         * obstack.c: Update copyright to 1996.
6155         (_obstack_memory_used): Define new function.  Called via
6156         obstack_memory_used macro.
6157
6158 Thu Dec 28 11:39:40 1995  Ian Lance Taylor  <ian@cygnus.com>
6159
6160         * xstrdup.c: New file.
6161         * Makefile.in (CFILES): Add xstrdup.c.
6162         (REQUIRED_OFILES): Add xstrdup.o.
6163         (xstrdup.o): New target.
6164
6165 Mon Dec 11 18:18:52 1995  Mike Stump  <mrs@cygnus.com>
6166
6167         * atexit.c: New stub to provide atexit on systems that have
6168         on_exit, like SunOS 4.1.x systems.
6169         * functions.def (on_exit, atexit): Ditto.
6170
6171 Mon Dec 11 15:42:14 1995  Stan Shebs  <shebs@andros.cygnus.com>
6172
6173         * mpw.c (mpw_abort): Remove decl.
6174         (mpw_access): Move debugging printf.
6175
6176 Sat Dec  2 01:25:23 1995  Ian Lance Taylor  <ian@cygnus.com>
6177
6178         * config.table: Consistently use ${host} rather than ${xhost} or
6179         ${target}.
6180         * configure.in: Don't bother to set ${xhost} before calling
6181         config.table.
6182
6183 Tue Nov 28 14:16:57 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
6184
6185         * Makefile.in (.c.o): Use test instead of the left bracket, to
6186         avoid problems with some versions of make.
6187
6188 Tue Nov 28 11:45:17 1995  Stan Shebs  <shebs@andros.cygnus.com>
6189
6190         * mpw-make.sed: Fix INCDIR edit to work with Nov 14 change.
6191
6192 Tue Nov 21 11:26:34 1995  Fred Fish  <fnf@rtl.cygnus.com>
6193
6194         * config/mh-hpux: Remove.  It was only used to define EXTRA_OFILES,
6195         which was set to just alloca.o, which is now automatically marked
6196         as needed by the autoconfiguration process.
6197
6198 Tue Nov 21 14:15:06 1995  Ian Lance Taylor  <ian@cygnus.com>
6199
6200         * config.table: Check ${with_cross_host} rather than comparing
6201         ${host} and ${target}.
6202
6203 Thu Nov 16 14:34:42 1995  Ian Lance Taylor  <ian@cygnus.com>
6204
6205         * configure.in: If with_target_subdir is empty, set xhost to
6206         ${host} rather than ${target} before calling config.table.
6207
6208 Tue Nov 14 01:38:30 1995  Doug Evans  <dje@canuck.cygnus.com>
6209
6210         * Makefile.in (MULTITOP): Deleted.
6211         (MULTISRCTOP, MULTIBUILDTOP): New.
6212         (FLAGS_TO_PASS): Delete INCDIR.
6213         (INCDIR): Add $(MULTISRCTOP).
6214         (install_to_libdir): Add $(MULTISUBDIR).  Call $(MULTIDO).
6215         * configure.in: Delete call to cfg-ml-com.in.  Call config-ml.in
6216         instead of cfg-ml-pos.in.
6217         (cross-compile check): Change to test for with_target_subdir.
6218         (EXTRA_LINKS): Delete.
6219
6220 Sun Nov 12 12:13:04 1995  Stan Shebs  <shebs@andros.cygnus.com>
6221
6222         * mpw-make.sed: Add getpagesize.c.o to needed-list.
6223         * mpw.c [USE_MW_HEADERS]: Conditionalize compiling of
6224         functions that are supplied by Metrowerks libraries.
6225         (fstat): Clean up descriptor->pointer conversion code.
6226         (InstallConsole, etc): Empty definitions, for when linking
6227         with SIOUX.
6228
6229 Sun Nov  5 19:25:27 1995  Per Bothner  <bothner@kalessin.cygnus.com>
6230
6231         * Makefile.in (FLAGS_TO_PASS):  Also pass PICFLAGS.
6232         (.c.o):  Stylistic change.
6233
6234 Thu Nov  2 12:06:29 1995  Ian Lance Taylor  <ian@cygnus.com>
6235
6236         * strtol.c, strtoul.c: Don't include <stdlib.h>.  From
6237         phdm@info.ucl.ac.be (Philippe De Muyter).
6238
6239 Wed Nov  1 11:59:36 1995  Ian Lance Taylor  <ian@cygnus.com>
6240
6241         * configure.in: Correct sed call.
6242
6243 Mon Oct 30 13:03:45 1995  Per Bothner  <bothner@kalessin.cygnus.com>
6244
6245         * configure.in:  Clean up / simplify for native.
6246
6247         * configure.in:  Merge in stuff from ../xiberty/configure.in.
6248         * Makefile.in (CC):  Add definition (so it can be overrridden
6249         by ../configure).
6250
6251 Tue Oct 24 17:57:27 1995  Stan Shebs  <shebs@andros.cygnus.com>
6252
6253         * mpw-make.sed: Leave strerror.c.o in standard list of functions.
6254         * mpw.c (R_OK, ENOENT, EACCESS, ENOSYS): Remove.
6255         (link): Remove useless definition with error return.
6256         (last_microseconds, warn_if_spin_delay, record_for_spin_delay):
6257         Use UnsignedWide type for microsecond counts.
6258
6259 Thu Oct 19 10:52:07 1995  Michael Meissner  <meissner@wogglebug.tiac.net>
6260
6261         * memcmp.c (memcmp): Argument types are const void *, not void
6262         *const.
6263
6264         * strncasecmp.c (strncasecmp): Include ansidecl.h/stdarg.h, not
6265         sys/types.h.
6266         * strcasecmp.c (strcasecmp): Ditto.
6267
6268 Tue Oct 10 11:03:24 1995  Fred Fish  <fnf@cygnus.com>
6269
6270         * Makefile.in (BISON):  Remove macro.
6271
6272 Tue Sep 26 15:06:46 1995  Stan Shebs  <shebs@andros.cygnus.com>
6273
6274         * Makefile.in (HFILES): Add default empty definition.
6275         * mpw-config.in (config.h): Only update if changed.
6276         * mpw-make.in: Remove.
6277         * mpw-make.sed: New file, edits Makefile.in into MPW makefile.
6278         * mpw.c: Remove semi-clone of strerror code.
6279         (sys_nerr, sys_errlist): Define here.
6280         (Microseconds): Only define as A-line trap if m68k Mac.
6281
6282 Wed Sep 20 12:53:32 1995  Ian Lance Taylor  <ian@cygnus.com>
6283
6284         * Makefile.in (maintainer-clean): New synonym for distclean.
6285
6286 Mon Aug 28 19:47:52 1995  Per Bothner  <bothner@kalessin.cygnus.com>
6287
6288         * config.table:  For host, generalize rs6000-ibm-aix*
6289         to *-ibm-aix* so we also include powerpc.
6290
6291 Tue Aug 22 03:18:05 1995  Ken Raeburn  <raeburn@kr-laptop.cygnus.com>
6292
6293         Fri Jun 16 18:35:40 1995  Pat Rankin  (rankin@eql.caltech.edu)
6294
6295         * xstrerror.c: New file.
6296         * Makefile.in, vmsbuild.com: Compile it.
6297
6298 Mon Jul 31 12:16:32 1995  steve chamberlain  <sac@slash.cygnus.com>
6299
6300         * config.table (i386-*-win32): New.
6301
6302 Fri Jul 21 11:35:52 1995  Doug Evans  <dje@canuck.cygnus.com>
6303
6304         * Makefile.in (MULTITOP): New variable.
6305         (MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): Likewise.
6306         (all): Add multilib support.
6307         (install_to_tooldir, *clean): Likewise.
6308
6309 Mon Jul 10 11:47:27 1995  Ken Raeburn  <raeburn@cygnus.com>
6310
6311         * makefile.dos (OBJS): Add hex.o.  From DJ Delorie.
6312
6313 Fri Jun 30 17:28:59 1995  Pat Rankin  (rankin@eql.caltech.edu)
6314
6315         * vmsbuild.com:  create "new-lib.olb", build libiberty under that
6316         name, and then make it become "liberty.olb" when done, so that an
6317         incomplete build attempt never leaves behind something which looks
6318         like a complete library.
6319
6320 Thu Jun 29 00:22:02 1995  Steve Chamberlain  <sac@slash.cygnus.com>
6321
6322         * config/mh-i386pe: New file for PE hosts.
6323         * config.table: Understand PE hosts.
6324
6325 Wed Jun 28 19:13:23 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
6326
6327         * cplus-dem.c: Update from gcc.
6328
6329         * argv.c, dummy.c: If __STDC__, #include "alloca-conf.h" after
6330         <stddef.h>.
6331         * alloca-norm.h: If __STDC__, declare alloca with its parameter.
6332
6333 Thu Jun 22 18:57:47 1995  Stan Shebs  <shebs@andros.cygnus.com>
6334
6335         * mpw-make.in (ALL_CFLAGS): Define NEED_basename.
6336         * mpw.c: Only test DebugPI once whenever printing debug info.
6337         (mpwify_filename): If filename is /tmp/foo, change it into :_foo,
6338         also fix to not write on input filename buffer.
6339         (mpw_access): Use stat() instead of open(), works for directories
6340         as well as files.
6341
6342 Mon Jun 19 00:33:22 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
6343
6344         * Makefile.in: Massage broken shells that require 'else true'.
6345
6346 Sat Jun 17 23:21:58 1995  Fred Fish  <fnf@cygnus.com>
6347
6348         * alloca-norm.h: Declare alloca as type "PTR" to match functions.def.
6349         Declare __builtin_alloca in the sparc case, as argv.c did.
6350         * argv.c: Replace inline version of alloca-norm.h at start of file with
6351         a #include of alloca-conf.h.  Precede it with an include of ansidecl.h
6352         because alloca-norm.h needs to declare alloca as "PTR".
6353
6354 Mon Jun 12 14:24:26 1995  Steve Chamberlain  <sac@slash.cygnus.com>
6355
6356         * win32.c: New file.
6357
6358 Fri Jun  9 15:16:14 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
6359
6360         * dummy.c: #include "alloca-conf.h".
6361
6362 Wed Jun  7 11:46:23 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
6363
6364         * Makefile.in (mostlyclean): Remove stamp-picdir.
6365         (clean): Don't.
6366
6367 Mon Jun  5 18:46:06 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
6368
6369         * config.table (frags): Use toplevel pic frags.
6370
6371         * Makefile.in (PICFLAG): New macro.
6372         (all): Depend on stamp-picdir.
6373         (needed-list): Ditto.
6374         (.c.o): Also build pic object.
6375         (stamp-picdir): New rule.
6376         (mostlyclean): Remove pic.
6377         (clean): Remove stamp-picdir.
6378
6379 Fri Mar 24 16:55:48 1995  Pat Rankin  (rankin@eql.caltech.edu)
6380
6381         * vmsbuild.com (config.h): Add `#define NEED_basename'.
6382
6383 Tue May 23 10:12:46 1995  Per Bothner  <bothner@kalessin.cygnus.com>
6384
6385         * clock.c, getopt.c, strtod.c, vsprintf.c:  Change from using LGPL
6386         to libio-style copyright.
6387         * getpagesize.c:  Remove FSF copyright.
6388
6389 Sat May 20 12:30:23 1995  Ken Raeburn  <raeburn@kr-laptop.cygnus.com>
6390
6391         Added improved VMS support from Pat Rankin:
6392
6393         Fri Mar 17 18:40:36 1995  Pat Rankin  (rankin@eql.caltech.edu)
6394
6395         * vmsbuild.com:  new file.
6396
6397         * getpagesize.c (getpagesize):  implement for VMS;
6398         * strerror.c (strerror, strerrno, strtoerrno):  add rudimentary
6399         support for EVMSERR.
6400
6401 Thu May 18 17:01:42 1995  Ken Raeburn  <raeburn@kr-laptop.cygnus.com>
6402
6403         Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
6404
6405         * floatformat.c (floatformat_arm_ext): Define.
6406
6407 Tue May 16 13:30:59 1995  Per Bothner  <bothner@kalessin.cygnus.com>
6408
6409         * basename.c, bcmp.c, getcwd.c, insque.c, rename.c, sigsetmask.c,
6410         strerror.c, strsignal.c:  Remove FSF copyright.
6411         * sigsetmask.c: #include <sys/types.h> - seems to be needed by ISC.
6412
6413 Mon May 15 19:53:17 1995  Per Bothner  <bothner@kalessin.cygnus.com>
6414
6415         * bcopy.c, bzero.c, memcmp.c, memcpy.c, memset.c, strchr.c,
6416         strrchr.c, strstr.c, vfork.c:  Remove FSF Copyright, because this
6417         might contaminate libstdc++ with the LGPL.  (OK'd by RMS 11 Oct 94.)
6418         * strchr.c, strrchr.c:  Add cast to suppress const warning.
6419
6420 Thu May  4 14:36:42 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
6421
6422         * cplus-dem.c: Use const instead of CONST.  Don't include
6423         ansidecl.h directly.
6424
6425 Wed Apr 19 01:30:27 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
6426
6427         * cplus-dem.c: Don't include libiberty.h.  Do declare xmalloc and
6428         xrealloc.
6429         (-DMAIN): Don't rely on an externally-defined version number;
6430         instead, require the version number to be defined as a
6431         preprocessor macro.  Handle the RS/6000 leading dot.  Define
6432         xmalloc, xrealloc and fatal.  Don't strip a leading underscore
6433         if we couldn't demangle the word.
6434
6435 Tue Apr  4 13:03:51 1995  Stan Shebs  <shebs@andros.cygnus.com>
6436
6437         (Old mpw.c change descriptions retained for informational value.)
6438         * mpw.c (warning_threshold): Default to .4 sec.
6439         (overflow_count, current_progress): New globals.
6440         (warn_if_spin_delay): Include current progress type,
6441         such as program name, in message.
6442         (mpw_start_progress): Set current_progress variable from arg.
6443         (mpw_end_progress): Report spin delays by power-of-two-size
6444         buckets instead of constant-size buckets.
6445
6446         * mpw.c: Clean up formatting, types, returns, etc.
6447         (ENOSYS): Define.
6448         (mpw_fread, mpw_fwrite): Define.
6449         (sleep): Define correctly.
6450
6451         * mpw.c: New code to implement cursor spinning support.
6452         (umask): New function.
6453         (mpw_fopen, mpw_fseek, stat, fstat): Call PROGRESS.
6454
6455         * mpw.c (mpw_basename, mpw_mixed_basename): New functions, find
6456         basenames for MPW and MPW/Unix filenames.
6457         (mpw_special_init): New function, calls Macsbug if desired.
6458
6459         * mpw.c: Add GPL notice.
6460         (mpwify_filename): Add more transformations.
6461         (mpw_fopen): Call mpwify_filename on file names.
6462         (rename): Remove.
6463         (chdir, getcwd): Add simple definitions.
6464
6465         * mpw.c: Random cleanups, remove unused code bits.
6466         Added copy of strerror.c for gcc's use.
6467         (stat, fstat, _stat): New versions based on Guido van Rossum code.
6468
6469         * mpw.c (mpw_fseek): Make it work correctly when doing SEEK_CUR.
6470
6471         * mpw.c (stat): Remove hack definition, get from sys/stat.h.
6472         (fork, vfork, etc): Print error messages if called.
6473         (getrusage, sbrk, environ, isatty, link, utime, mkdir, rmdir,
6474         rename, chown): Define.
6475
6476         * mpw-config.in: New file, MPW version of configure.in.
6477         * mpw-make.in: New file, MPW version of Makefile.in.
6478         * mpw.c: New file, MPW compatibility routines.
6479
6480 Fri Mar 24 14:10:30 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
6481
6482         * basename.c: Include config.h before checking for NEED_basename.
6483
6484 Thu Mar 23 19:09:54 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
6485
6486         * functions.def: Add DEFFUNC for basename.
6487
6488         * basename.c: Only define basename if NEED_basename.
6489
6490 Thu Mar 16 13:36:05 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
6491
6492         * config.table: Fix --enable-shared logic for native builds.
6493
6494 Mon Mar 13 11:05:11 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
6495
6496         * cplus-dem.c (demangle_template): Demangle bool literals properly.
6497
6498 Mon Mar  6 23:57:28 1995  Stu Grossman  (grossman@cygnus.com)
6499
6500         * strtol.c strtoul.c:  Replace these with less buggy versions from
6501         NetBSD.  (strtoul in particular couldn't handle base 16.)
6502
6503 Wed Mar  1 15:59:01 1995  Ian Lance Taylor  <ian@cygnus.com>
6504
6505         * config/mt-vxworks5 (HDEFINES): Define NO_SYS_PARAM_H.
6506
6507         * clock.c: If NO_SYS_PARAM_H is defined, don't include
6508         <sys/param.h>.
6509         * getcwd.c, getpagesize.c, getruntime.c: Likewise.
6510
6511 Fri Feb 17 15:40:55 1995  Ian Lance Taylor  <ian@cygnus.com>
6512
6513         * getruntime.c (get_run_time): Don't assume that CLOCKS_PER_SEC is
6514         a number; ANSI appears to permit any expression, including a
6515         function call.
6516
6517         * config.table (*-*-vxworks5*): Use mt-vxworks5 when configuring
6518         xiberty.
6519         * config/mt-vxworks5: New file.
6520
6521 Thu Feb  9 14:19:45 1995  Ian Lance Taylor  <ian@cygnus.com>
6522
6523         * basename.c (basename): Change argument to be const.
6524
6525 Wed Feb  8 18:06:52 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
6526
6527         * Makefile.in (lneeded-list): Don't worry about xmalloc.
6528
6529 Sun Jan 15 00:40:36 1995  Jeff Law  (law@snake.cs.utah.edu)
6530
6531         * Makefile.in (distclean): Delete xhost-mkfrag.
6532
6533 Thu Jan 12 16:54:18 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
6534
6535         * Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o.
6536
6537 Wed Jan 11 22:39:56 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
6538
6539         * hex.c: New file.
6540         * Makefile.in (REQUIRED_OFILES, CFILES): List it.
6541         (hex.o): Add dependencies.
6542
6543         * cplus-dem.c (demangle_prefix): For GNU style constructor and
6544         destructor names, try demangling the remainder of the string.
6545
6546 Wed Dec 28 00:49:15 1994  Ian Lance Taylor  <ian@tweedledumb.cygnus.com>
6547
6548         * vasprintf.c (int_vasprintf): New static function.
6549         (vasprintf): Use int_vasprintf.  Removes assumption that va_list
6550         is assignment compatible.
6551
6552 Sat Nov  5 19:29:12 1994  Jason Merrill  (jason@phydeaux.cygnus.com)
6553
6554         * Makefile.in (LIBCFLAGS): New variable.
6555         (FLAGS_TO_PASS): Pass it.
6556         (.c.o): Use it.
6557
6558 Thu Nov  3 19:09:47 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
6559
6560         * getopt.c, getopt1.c: Do compile these functions under Linux,
6561         since many native versions are based on glibc but are buggy.
6562
6563 Mon Oct 24 15:16:46 1994  Per Bothner  <bothner@kalessin.cygnus.com>
6564
6565         * vasprintf.c:  Make 'format' arg be const, to avoid a mismatch
6566         with prototype in GNU libc.  Support stdarg.h as well as varargs.h.
6567
6568 Tue Oct 11 17:48:27 1994  Jason Merrill  (jason@phydeaux.cygnus.com)
6569
6570         * Makefile.in (REQUIRED_OFILES): Add vasprintf.o.
6571         * functions.def: Remove vasprintf.
6572
6573 Wed Sep 14 17:04:55 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
6574
6575         * xmalloc.c (first_break): New static variable.
6576         (xmalloc_set_program_name): Record sbrk (0) in first_break.
6577         (xmalloc): If memory allocation fails, try to report how much
6578         memory was allocated by the program up to this point.
6579         (xrealloc): Likewise.
6580
6581 Sun Sep 04 17:58:10 1994  Richard Earnshaw (rwe@pegasus.esprit.ec.org)
6582
6583         * Makefile.in (ERRORS_CC): New variable, defaulted to $(CC).  Use it
6584         when linking dummy.
6585         * config.table: Add host RISCiX Makefile frag.
6586         * config/mh-riscix: New file.
6587
6588 Thu Aug 25 17:29:44 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
6589
6590         * Makefile.in (FLAGS_TO_PASS): Define.
6591         ($(RULE1)): Use $(FLAGS_TO_PASS).
6592
6593 Wed Aug 24 17:08:47 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
6594
6595         * vasprintf.c: Include <string.h>.
6596         (vasprintf): Add casts to void for va_arg to avoid gcc warnings.
6597         * xatexit.c: Declare malloc.
6598
6599 Fri Aug 19 15:29:12 1994  Kung Hsu  (kung@mexican.cygnus.com)
6600
6601         * cplus-dem.c (demangle_args): Fix a bug in previous patch (the
6602         one below).
6603
6604 Thu Aug 18 14:37:14 1994  Kung Hsu  (kung@mexican.cygnus.com)
6605
6606         * cplus-dem.c (demangle args): Handle ARM repeat encoding where
6607         the type index is greater than 9.
6608
6609 Wed Aug 17 16:13:49 1994  Kung Hsu  (kung@mexican.cygnus.com)
6610
6611         * cplus-dem.c (demangle_qualified): accept optional '_' between
6612         qualified name. This is baecause the template name may end with
6613         numeric and can mixed up with the length of next qualified name.
6614
6615 Wed Aug  3 05:52:14 1994  D. V. Henkel-Wallace  (gumby@cygnus.com)
6616
6617         * config/mt-sunos4: Use our standard location for cross-includes
6618         and cross-libs when the target is also a "host" environment (ie no
6619         newlib; includes and such don't belong to us).  This is specific
6620         to the Cygnus Support environment.
6621
6622 Tue Aug  2 15:25:12 1994  Kung Hsu  (kung@mexican.cygnus.com)
6623
6624         * cplus-dem.c (demangle_template): demangle as xxx<'Q'> not
6625         xxx<ch=81>.
6626
6627 Mon Aug  1 17:02:48 1994  Kung Hsu  (kung@mexican.cygnus.com)
6628
6629         * cplus-dem.c (main): flush stdout to make pipe work.
6630
6631 Sat Jul 16 12:56:32 1994  Stan Shebs  (shebs@andros.cygnus.com)
6632
6633         * config.table (*-*-cxux7*):  Recognize.
6634         * floatformat.c (floatformat_m88110_ext) [HARRIS_FLOAT_FORMAT]:
6635         Harris-specific float format.
6636         * config/mh-cxux7: New file.
6637
6638 Wed Jun 29 00:26:17 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
6639
6640         * cplus-dem.c (demangle_template):  Make sure that the result of
6641         consume_count doesn't index beyond the end of the string.
6642
6643 Mon Jun 20 23:54:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
6644
6645         * cplus-dem.c (gnu_special):  Handle vtable mangling of gcc-2.4.5 and
6646         earlier. Improve test for new vtable mangling. Change output back
6647         to `virtual table'.
6648
6649 Mon Jun 20 11:37:30 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
6650
6651         * obstack.c: Always compile this code, even if using the GNU
6652         library.  Avoids problems with relatively recent binary
6653         incompatibility.
6654
6655 Thu Jun 16 17:54:01 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6656
6657         * cplus-dem.c: Include libiberty.h.
6658         (xmalloc, xrealloc, free): Don't declare.
6659         (strstr): Don't declare parameters.
6660         (xmalloc, xrealloc): Don't define.
6661         (long_options): Add no-strip-underscores.
6662         (main): Call xmalloc_set_program_name.  Pass n in short options to
6663         getopt_long.  Handle option 'n' to not strip underscores.
6664         (usage): Mention -n and --no-strip-underscores.
6665
6666 Sun Jun 12 01:37:09 1994  Jason Merrill  (jason@deneb.cygnus.com)
6667
6668         * cplus-dem.c (demangle_template): Separate consecutive >'s with a
6669         space.
6670         (gnu_special): Demangle template and qualified names in a vtable name.
6671
6672 Fri May 27 12:27:52 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
6673
6674         From gas-2.3 and binutils-2.4 net releases:
6675
6676         Wed May 11 22:32:00 1994  DJ Delorie (dj@ctron.com)
6677
6678         * makefile.dos: [new] Makefile for dos/go32
6679         * configure.bat: update for latest files
6680         * msdos.c: remove some functions now in libc.a
6681
6682 Fri May 20 18:53:32 1994  Per Bothner  (bothner@kalessin.cygnus.com)
6683
6684         * cplus-dem.c (gnu_special):  Recognize thunks, as well as
6685         the new naming style for vtables (when -fvtable-thunks).
6686
6687 Wed May 18 13:34:06 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6688
6689         * Makefile.in (XTRAFLAGS): Don't define.
6690         (.c.o, dummy.o): Don't use XTRAFLAGS.
6691         ($(RULE1)): Don't pass XTRAFLAGS down in recursive call.
6692
6693 Fri May 13 16:02:12 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
6694
6695         * vasprintf.c: New file.
6696         * Makefile.in, functions.def: Add it.
6697
6698 Fri May 13 16:20:28 1994  Jason Merrill  (jason@deneb.cygnus.com)
6699
6700         * cplus-dem.c (demangle_fund_type): Grok bool.
6701
6702 Fri May  6 14:44:21 1994  Steve Chamberlain  (sac@cygnus.com)
6703
6704         * config.table: Add go32
6705         * config/mh-go32: New template.
6706
6707 Fri May  6 11:01:59 1994  D. V. Henkel-Wallace  (gumby@rtl.cygnus.com)
6708
6709         * config.table, config/mt-sunos4: config for when sun4 is cross target.
6710
6711 Mon Apr 11 00:54:33 1994  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
6712
6713         * getopt.c [not __GNU_LIBRARY__] [__GCC__] [not __STDC__]:
6714         Declare strlen to return int.  Don't include stddef.h.
6715
6716 Fri Apr  1 00:38:17 1994  Jim Wilson  (wilson@mole.gnu.ai.mit.edu)
6717
6718         * getopt.c: Delete use of IN_GCC to control whether
6719         stddef.h or gstddef.h is included.
6720
6721 Thu Apr 14 14:00:56 1994  Kung Hsu  (kung@mexican.cygnus.com)
6722
6723         * cplus-dem.c (demangle_signature): Fix a bug in template function
6724         type numbering.
6725
6726 Wed Apr 13 17:23:03 1994  Kung Hsu  (kung@mexican.cygnus.com)
6727
6728         * cplus-dem.c (demangle_signature): Fix template function with arm
6729         style argument type number, Tn.
6730
6731 Wed Apr 13 17:11:15 1994  Jason Merrill  (jason@deneb.cygnus.com)
6732
6733         * cplus-dem.c (optable): Add new[] and delete[].
6734
6735 Fri Apr  8 11:21:42 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
6736
6737         * argv.c (buildargv): Don't produce empty argument just because
6738         there is trailing whitespace.
6739
6740 Wed Apr  6 11:42:14 1994  Kung Hsu  (kung@mexican.cygnus.com)
6741
6742         * cplus-dem.c (demangle_template): fix 'Q' qualified name bug.
6743         Handle 'p' same as 'P'.
6744         * cplus-dem.c (do_type): Handle 'p' same as 'P'.
6745
6746 Sat Mar 26 12:00:13 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
6747
6748         * floatformat.c (get_field, put_field):  Fix off by one error in
6749         little endian case.
6750
6751 Thu Mar 24 10:40:19 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
6752
6753         * floatformat.c (floatformat_from_double): Pass unsigned char *,
6754         not char *, to put_field.
6755
6756 Fri Mar 18 12:34:33 1994  Per Bothner  (bothner@kalessin.cygnus.com)
6757
6758         * memmove.c:  Re-wrote;  placed in public domain.
6759
6760 Wed Mar 16 10:33:07 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
6761
6762         * cplus-dem.c (demangle_prefix): If ARM demangling, don't treat
6763         __Q* as a constructor.
6764
6765 Mon Mar 14 12:26:02 1994  Ian Lance Taylor  (ian@cygnus.com)
6766
6767         * ieee-float.c: Removed; no longer used.
6768         * Makefile.in: Changed accordingly.
6769
6770 Mon Mar  7 12:28:17 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6771
6772         * floatformat.c (get_field): Removed unused local variable i.
6773         (put_field): Removed unused local variable i.
6774
6775 Sun Feb 27 21:50:11 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
6776
6777         * floatformat.c: New file, intended to replace ieee-float.c.
6778         * Makefile.in: Change accordingly.
6779
6780 Thu Feb 24 11:51:12 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
6781
6782         * getopt.c: Remove #ifdef GETOPT_COMPAT and #if 0 code.
6783          (_getopt_initialize): New function, broken out of _getopt_internal.
6784          (_getopt_internal):
6785          If long_only and the ARGV-element has the form "-f", where f is
6786          a valid short option, don't consider it an abbreviated form of
6787          a long option that starts with f.  Otherwise there would be no
6788          way to give the -f short option.
6789
6790 Thu Feb 10 14:44:16 1994  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
6791
6792         * getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]:
6793         Test just __STDC__, not emacs.
6794
6795 Wed Feb  9 00:14:00 1994  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
6796
6797         * getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]
6798         [emacs] [not __STDC__]: Don't include stddef.h.  Don't declare strlen.
6799
6800 Fri Dec 24 19:43:00 1993  Noah Friedman  (friedman@nutrimat.gnu.ai.mit.edu)
6801
6802         * getopt.c (_NO_PROTO): Define before config.h is included.
6803
6804 Mon Sep 20 15:59:03 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
6805
6806         * getopt.c, getopt1.c [emacs || CONFIG_BROKETS]: Include
6807         <config.h> only under these, else "config.h".
6808
6809 Thu Aug 12 18:16:49 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
6810
6811         * getopt.c, getopt1.c [HAVE_CONFIG_H]: Include
6812         <config.h> instead of "config.h".
6813
6814 Sun Feb 20 17:17:01 1994  Ian Lance Taylor  (ian@lisa.cygnus.com)
6815
6816         * concat.c: Check ANSI_PROTOTYPES rather than __STDC__ to decide
6817         whether to use prototypes or not.
6818         * strerror.c (const): Never undefine; let ansidecl.h handle it.
6819         * strsignal.c (const): Likewise.
6820
6821 Thu Feb 17 13:27:35 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6822
6823         * xatexit.c (_xexit_cleanup): Declare as extern; don't initialize.
6824         Merging common and initialized variables need not be supported by
6825         ANSI C compilers.
6826         (xatexit): Initialize _xexit_cleanup if not already set.
6827         * xexit.c: Comment fix.
6828
6829 Wed Feb 16 01:15:36 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6830
6831         * xmalloc.c: Don't declare xexit; it's declared in libiberty.h.
6832         (xrealloc): If oldmem is NULL, allocate with malloc, rather than
6833         assuming that realloc works correctly.
6834
6835 Tue Feb 15 09:26:16 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
6836
6837         * concat.c, ieee-float.c:  Replace inclusion of <string.h>
6838         with explicit function declarations, as recommended by Ian Taylor.
6839
6840 Sat Feb 12 10:31:11 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
6841
6842         * xmalloc.c (xmalloc, xrealloc): Use PTR and size_t throughout.
6843         (malloc, realloc): Declare.
6844
6845 Thu Feb 10 17:08:19 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6846
6847         * argv.c, basename.c: Include ansidecl.h and libiberty.h.
6848         * concat.c, fdmatch.c, getruntime.c, spaces.c: Likewise.
6849         * strerror.c, strsignal.c, xatexit.c, xexit.c: Likewise.
6850         * xmalloc.c: Likewise.
6851         * concat.c: Don't declare xmalloc.  If __STDC__, use <stdarg.h>
6852         macros, not <varargs.h> macros.
6853         * spaces.c (spaces): Make return type const.  Don't crash if
6854         malloc returns NULL.
6855         * strerror.c (struct error_info): Make name and msg fields const.
6856         (error_names): Make const.
6857         (strerrno): Make const.
6858         (strtoerrno): Make argument const.
6859         * strsignal.c (struct signal_info): Make name and msg fields
6860         const.
6861         (signal_names, sys_siglist): Make const.
6862         (strsignal, strsigno): Make const.
6863         (strtosigno): Make argument const.
6864         * xatexit.c: Declare parameter types.
6865         * xmalloc.c (name): Make const.
6866         (xmalloc_set_program_name): Make argument const.
6867         * Makefile.in (INCDIR): Define.
6868         (.c.o): Use $(INCDIR).
6869         (dummy.o): Likewise.
6870         (argv.o, basename.o): New targets; depend on libiberty.h.
6871         (concat.o, fdmatch.o, getruntime.o, spaces.o): Likewise.
6872         (strerror.o, strsignal.o, xatexit.o, xexit.o): Likewise.
6873         (xmalloc.o): Likewise.
6874         (cplus-dem.o): New target; depend on demangle.h.
6875         (getopt.o, getopt1.o): New targets; depend on getopt.h.
6876         (ieee-float.o): New target; depend on ieee-float.h.
6877         (obstack.o): New target; depend on obstack.h.
6878
6879 Tue Feb  8 05:29:08 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
6880
6881         Handle obstack_chunk_alloc returning NULL.  This allows
6882         obstacks to be used by libraries, without forcing them
6883         to call exit or longjmp.
6884         * obstack.c (_obstack_begin, _obstack_begin_1, _obstack_newchunk):
6885         If CALL_CHUNKFUN returns NULL, set alloc_failed, else clear it.
6886         (_obstack_begin, _obstack_begin_1): Return 1 if successful, 0 if not.
6887
6888 Tue Feb  8 00:32:28 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
6889
6890         * concat.c, ieee-float.c:  Include <string.h>.
6891
6892 Sun Feb  6 21:28:46 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
6893
6894         * xmalloc.c (xmalloc_set_program_name): New function.
6895         (xmalloc, xrealloc): Include the name in the error message, if set.
6896
6897         * Replace atexit.c with xatexit.c.
6898         * Makefile.in (CFILES), functions.def: Change references.
6899
6900 Sat Feb  5 14:02:32 1994  Stan Shebs  (shebs@andros.cygnus.com)
6901
6902         * getruntime.c (get_run_time): Use getrusage or times if
6903         HAVE_GETRUSAGE or HAVE_TIMES are defined.
6904
6905 Fri Feb  4 15:49:38 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
6906
6907         * atexit.c: New file.
6908         * Makefile.in (CFILES), functions.def: Add it.
6909         * xexit.c: New file.
6910         * Makefile.in (CFILES, REQUIRED_OFILES): Add it.
6911         * xmalloc.c (xmalloc, xrealloc): Call xexit instead of exit.
6912         Change request for 0 bytes into request for 1 byte.
6913
6914 Wed Feb  2 11:36:49 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6915
6916         * xmalloc.c (xmalloc, xrealloc): Print size using %lu, and cast to
6917         unsigned long, to avoid warnings.
6918
6919 Fri Jan 28 17:49:06 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
6920
6921         * dummy.c: Don't include time.h ever; always define clock_t as
6922         "unsigned long".  Until gcc/fixincludes ensures that clock_t
6923         exists, __STDC__ isn't a sufficient test.  And if clock() doesn't
6924         exist, clock_t probably doesn't either.
6925
6926 Mon Jan 24 11:52:31 1994  Stan Shebs  (shebs@andros.cygnus.com)
6927
6928         * clock.c, getruntime.c: New files.
6929         * Makefile.in: Add to file lists.
6930         * functions.def (clock): Add to list.
6931         * dummy.c (time.h): Add if __STDC__.
6932         (clock_t): #define as "unsigned long" if not __STDC__.
6933
6934 Tue Jan 11 11:27:44 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6935
6936         * strtod.c: Declare atof.  From edler@jan.ultra.nyu.edu (Jan
6937         Edler).
6938
6939 Tue Dec 28 14:17:30 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6940
6941         * Makefile.in (errors): Use CFLAGS as well as LDFLAGS when
6942         linking.
6943
6944 Fri Dec 17 12:26:07 1993  Kung Hsu  (kung@cirdan.cygnus.com)
6945
6946         * cplus-dem.c (demangle_arm_pt): New function.  Common code
6947         for ARM template demangling.
6948         * cplus-dem.c (demangle_class_name): Use demangle_arm_pt.
6949         * cplus-dem.c (demangle_prefix): Likewise.
6950
6951 Tue Nov 30 15:47:48 1993  Jason Merrill  (jason@deneb.cygnus.com)
6952
6953         * cplus-dem.c (cplus_demangle_opname): Add CONST to please gcc.
6954
6955 Sat Nov 27 11:05:50 1993  Fred Fish  (fnf@cygnus.com)
6956
6957         Merge changes from tom@basil.icce.rug.nl (Tom R.Hageman)
6958         * strerror.c, strsignal.c:  As a small space optimization, don't
6959         include messages when they aren't actually used.
6960
6961         Merge changes from takefive.co.at!joe (Josef Leherbauer)
6962         * cplus-dem.c (demangle_prefix, demangle_function_name,
6963         cplus_demangle_opname):  Fixes for systems where cplus_marker
6964         is something other than '$'.
6965
6966 Fri Nov 26 13:51:11 1993  Per Bothner  (bothner@kalessin.cygnus.com)
6967
6968         * waitpid.c:  Simple-minded approcimation to waitpid
6969         using vanilla wait.
6970         * functions.def, Makefile.in:  Update accordingly,
6971
6972 Thu Nov 18 18:01:15 1993  Kung Hsu  (kung@cirdan.cygnus.com)
6973
6974         * cplus-dem.c(demangle_template): fix bug template instantiation
6975         with value of user defined type.
6976
6977 Wed Nov 17 18:30:21 1993  Kung Hsu  (kung@cirdan.cygnus.com)
6978
6979         * cplus-dem.c(cplus_demangle_opname): add the subject new function
6980         to support unified search of operator in class.
6981
6982 Wed Nov 10 09:47:22 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
6983
6984         gcc -Wall lint:
6985         * strtoul.c (strtoul): use "(digit = *s) != '\0'" not just
6986         "digit = *s" as condition in while loop.
6987
6988 Tue Nov  9 15:52:22 1993  Mark Eichin  (eichin@cygnus.com)
6989
6990         * Makefile.in: pass SHELL to recursive make
6991
6992 Thu Nov  4 12:09:26 1993  Per Bothner  (bothner@kalessin.cygnus.com)
6993
6994         * vfprintf.c, vprintf.c, vsprintf.c:  Make format arg
6995         be (const char*), for ANSI (and gcc w/fixproto) consistency.
6996
6997 Thu Nov  4 08:29:04 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
6998
6999         * config.table: Make *-*-hiux* use mh-hpux.
7000
7001 Fri Oct 22 07:53:15 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
7002
7003         * config.table: Add * to end of all OS names.
7004
7005 Tue Oct 19 17:12:01 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
7006
7007         * Makefile.in (lneeded-list): ensure that object file names are
7008           not duplicated, as multiple instances of the same object file in
7009           a library causes problems on some machines
7010
7011 Mon Oct 18 21:59:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
7012
7013         * strcasecmp.c, strncasecmp.c: Change u_char to unsigned char.
7014
7015 Fri Oct 15 22:17:11 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
7016
7017         * strncasecmp.c: new file, implements strncasecmp
7018         * strcasecmp.c: new file, implement strcasecmp
7019
7020         * Makefile.in (CFILES): list these two new source files
7021
7022         * functions.def: add strcasecmp and strncasecmp entries
7023
7024 Fri Oct 15 14:53:05 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
7025
7026         * strtoul.c (strtoul), strtol.c (strtol): Handle overflow
7027         according to ANSI C.
7028
7029 Thu Oct 14 16:34:19 1993  Kung Hsu  (kung@cirdan.cygnus.com)
7030
7031         * cplus-dem.c: add support of ARM global constructor/destructor,
7032         and 'G' for passing record or union in parameter.
7033
7034 Wed Oct 13 13:36:19 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
7035
7036         * Makefile.in: Fix comment to clarify that stuff in REQUIRED_OFILES
7037         should not be in functions.def.
7038
7039 Wed Oct 13 13:13:38 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
7040
7041         * functions.def: Removed xmalloc.  Stuff in REQUIRED_OFILES should
7042         not be in functions.def.
7043
7044 Mon Oct  4 18:26:39 1993  Kung Hsu  (kung@cirdan.cygnus.com)
7045
7046         * cplus-dem.c: change globl constructor/destructor to proper name
7047
7048 Tue Sep 28 18:11:07 1993  Kung Hsu  (kung@cirdan.cygnus.com)
7049
7050         * cplus-dem.c: fix bug in constructor/destructor
7051
7052 Tue Sep 28 16:20:49 1993  Kung Hsu  (kung@cirdan.cygnus.com)
7053
7054         * cplus-dem.c: support both old and new _vt$... vtbl mangled names
7055
7056 Fri Sep 24 19:07:16 1993  Jason Merrill  (jason@deneb.cygnus.com)
7057
7058         * cplus-dem.c: Fix demangle_template prototype
7059
7060 Fri Sep 24 17:32:55 1993  Kung Hsu  (kung@cirdan.cygnus.com)
7061
7062         * cplus-dem.c: fix template demangling
7063         * cplus-dem.c: fix const type demangling
7064         * cplus-dem.c: fix constructor/destructor, virtual table,
7065         qualifier, global constructor/destructor demangling
7066
7067 Wed Sep  1 23:13:11 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
7068
7069         * strsignal.c, strerror.c: Use fully-bracketed initializer to
7070         keep gcc -Wall happy.
7071
7072 Fri Aug 27 10:30:09 1993  Jason Merrill  (jason@deneb.cygnus.com)
7073
7074         * cplus-dem.c (do_type): Add CONSTS to make gcc happy with last
7075         patch.
7076
7077 Fri Aug 27 11:24:54 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
7078
7079         Patch from Paul Flinders:
7080         * cplus-dem.c (do_type): Deal with arrays.
7081
7082 Tue Aug 24 14:23:50 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
7083
7084         * cplus-dem.c (demangle_qualified: Deal with GNU format for more
7085         than 9 classes.
7086
7087 Wed Aug 18 19:50:29 1993  Jason Merrill  (jason@deneb.cygnus.com)
7088
7089         * Makefile.in (dummy.o): Redirect to /dev/null to avoid "variable
7090         not initialized" warnings under HP/UX
7091
7092 Sun Aug 15 20:42:40 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
7093
7094         * strerror.c: Move include of stdio.h after sys_errlist #define.
7095         Also remove NULL definition (stdio.h always defines NULL, so it
7096         never did anything but clutter up the code).
7097
7098 Sat Aug 14 14:21:49 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
7099
7100         * Makefile.in, functions.def: handle xmalloc.c
7101
7102         * xmalloc.c: provide xmalloc and xrealloc functions
7103
7104 Thu Aug 12 17:38:57 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
7105
7106         * cplus-dem.c: Fix a comment.
7107
7108 Sat Aug  7 13:56:35 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
7109
7110         * getopt1.c: Declare const the way getopt.c does.
7111
7112 Fri Aug  6 17:03:13 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
7113
7114         * obstack.c, alloca.c: Update from FSF.
7115         * getopt.c, getopt1.c: Update to current FSF version, which
7116         doesn't use alloca.
7117
7118 Tue Jul 27 14:03:57 1993  Brendan Kehoe  (brendan@lisa.cygnus.com)
7119
7120         * Makefile.in (demangle): Add the target with a message saying
7121         where demangle went.
7122
7123 Mon Jul 26 15:49:54 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
7124
7125         * Makefile.in: Remove obsolete `demangle' target.
7126
7127 Thu Jul 22 08:31:01 1993  Fred Fish  (fnf@deneb.cygnus.com)
7128
7129         * cplus-dem.c (arm_special):  Apply patch from arg@lucid.com to
7130         avoid infinite loop on vtbl symbols with disambiguating "junk"
7131         tacked on the end.
7132
7133 Mon Jul 19 14:10:37 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
7134
7135         * strsignal.c: work around some systems losing definitions of
7136         sys_siglist
7137
7138         * config/mh-lynxos: this system has a losing definition of
7139         sys_siglist
7140
7141         * config.table: use mh-lynxos for *-*-lynxos
7142
7143 Mon Jul 19 17:08:52 1993  Ken Raeburn  (raeburn@rtl.cygnus.com)
7144
7145         * config.table: Add support for HPPA BSD hosts.
7146
7147         * config/mh-hpbsd: New file.
7148
7149 Mon Jul 12 18:00:40 1993  K. Richard Pixley  (rich@cygnus.com)
7150
7151         * Makefile.in (TAGS): make work when srcdir != objdir.
7152
7153 Sun Jun 27 15:35:31 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
7154
7155         * cplus-dem.c (main): Add long options, including --help and
7156         --version.
7157         (usage): New function from code in main.
7158
7159 Tue Jun 22 11:37:38 1993  Per Bothner  (bothner@deneb.cygnus.com)
7160
7161         * config.table:  New shell scipt, sourced by both ./configure,in
7162         and ../xiberty/configure.in, to avoid maintainance lossages.
7163         * configure.in and ../xiberty/configure.in:  Use config.table.
7164
7165         * configure.in: Don't use mh-aix for AIX 3.2, only for 3.1.
7166         * configure.in: Map *-*-irix* (except irix4) to mh-sysv.
7167         * ../xiberty/configure.in:  Update from ./configure.in.
7168
7169 Tue Jun 15 17:05:31 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
7170
7171         * Makefile.in: remove parentdir support
7172
7173 Wed May 26 12:59:09 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
7174
7175         * cplus-dem.c (xrealloc):  Match definition with prototype.
7176
7177 Tue May 25 14:27:51 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
7178
7179         * cplus-dem.c (demangle_prefix):  Demangle cfront
7180         local variables as an extension to ARM demangling.
7181
7182 Fri May 21 09:53:57 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
7183
7184         * ieee-float.c: Don't require pointers to double to be aligned.
7185
7186 Tue May 18 17:12:10 1993  Fred Fish  (fnf@cygnus.com)
7187
7188         (merge changes from dlong@cse.ucsc.edu)
7189         * cplus-dem.c (consume_count):  Simplify.
7190         * cplus-dem.c (arm_pt, demangle_class_name):  New functions.
7191         * cplus-dem.c (various):  Calls to arm_pt, demangle_class_name.
7192
7193         * cplus-dem.c (xmalloc, xrealloc, strstr):  Make extern decls into
7194         full prototypes.
7195         * cplus-dem.c (free):  Add prototype.
7196         * cplus-dem.c (optable):  Fully bracketize initializer.
7197
7198 Fri May 14 17:13:05 1993  Per Bothner  (bothner@cygnus.com)
7199
7200         * cplus-dem.c:  Whether initial underscores are stripped
7201         depends on the external variable prepends_underscore
7202         (which is generated by the binutils Makefile).
7203
7204 Fri May 14 07:32:20 1993  Ken Raeburn  (raeburn@deneb.cygnus.com)
7205
7206         * cplus-dem.c (mop_up, arm_special): Remove some unused variables.
7207
7208 Tue May  4 20:31:59 1993  Fred Fish  (fnf@cygnus.com)
7209
7210         * cplus-dem.c (consume_count):  Return zero if arg does not
7211         start with digit, and don't consume any input.
7212
7213 Tue May  4 08:10:28 1993  Jim Kingdon  (kingdon@cygnus.com)
7214
7215         * Makefile.in (demangle): Use ${srcdir} not $^.
7216
7217         * strtod.c: New file, needed at least for BSD 4.3.
7218
7219 Sun May  2 11:30:42 1993  Fred Fish  (fnf@cygnus.com)
7220
7221         * strsignal.c (sys_siglist):  For ANSI compilations, type is
7222         "const char *const".  Also remove conditionalization on __STDC__
7223         since const is defined away for non-ANSI.
7224
7225 Wed Apr 28 19:29:55 1993  Ken Raeburn  (raeburn@deneb.cygnus.com)
7226
7227         * configure.in: Recognize *-*-hpux.
7228         * config/mh-hpux: New file.
7229
7230 Tue Apr 27 15:22:19 1993  Per Bothner  (bothner@cygnus.com)
7231
7232         * tmpnam.c:  Added ANSI tmpnam() function.
7233         * functions.def, Makefile.in:  Update accordingly.
7234
7235 Tue Apr 27 13:38:38 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
7236
7237         * cplus-dem.c (demangle_function_name): Get the demangling of
7238         stop__1A right.
7239
7240 Fri Apr 16 23:48:24 1993  Jim Kingdon  (kingdon at calvin)
7241
7242         * cplus-dem.c: Declare strstr return type.
7243
7244 Fri Mar 26 12:01:26 1993  Jim Kingdon  (kingdon@cygnus.com)
7245
7246         * strsignal.c: Add some AIX signals.
7247
7248 Thu Mar 25 15:17:23 1993  Ian Lance Taylor  (ian@cygnus.com)
7249
7250         * Makefile.in (MAKEOVERRIDES): Define to be empty.
7251
7252 Wed Mar 24 01:59:25 1993  david d `zoo' zuhn  (zoo at poseidon.cygnus.com)
7253
7254         * Makefile.in: add installcheck & dvi targets
7255
7256 Thu Mar 18 14:05:44 1993  Per Bothner  (bothner@rtl.cygnus.com)
7257
7258         * ieee-float.c:  New file, moved from ../gdb (since it is
7259         needed by ../opcode/m68k-dis.c).
7260
7261 Tue Mar  2 17:47:31 1993  Fred Fish  (fnf@cygnus.com)
7262
7263         * cplus-dem.c:  Replace all references to cfront with ARM.
7264
7265 Fri Feb 26 00:17:07 1993  Per Bothner  (bothner@rtl.cygnus.com)
7266
7267         * cplus-dem.c:  Fix main program (when compiled with -DMAIN)
7268         to be more useful as a filter.
7269
7270 Sat Feb 20 21:41:39 1993  Brendan Kehoe  (brendan@lisa.cygnus.com)
7271
7272         * Makefile.in (install_to_libdir, install_to_tooldir): Go into the
7273         destination directory before running $(RANLIB), in case that
7274         program tries to create a file in the current directory as part of
7275         its work.
7276
7277 Thu Feb 18 23:00:19 1993  John Gilmore  (gnu@cygnus.com)
7278
7279         * strsignal.c (sys_siglist):  Remove yet another *%^&%&$# "const"
7280         because BSD 4.4 lacks one.  Isn't this fun?
7281
7282 Thu Feb 18 11:24:25 1993  Fred Fish  (fnf@cygnus.com)
7283
7284         * cplus-dem.c (demangle_signature):  Set func_done after
7285         demangling a template.
7286         * cplus-dem.c (demangle_template):  Fix several small bugs
7287         in demangling GNU style templates.
7288         * cplus-dem.c (demangle_prefix):  Fix for templates in GNU
7289         style constructors.
7290         * cplus-dem.c (gnu_special):  Fix for templates in GNU style
7291         static data members.
7292
7293 Tue Feb 16 17:28:35 1993  Fred Fish  (fnf@cygnus.com)
7294
7295         * cplus-dem.c (demangle_signature):  Modify to include type
7296         modifiers like static and const in remembered types.
7297
7298 Thu Feb 11 22:20:47 1993  Fred Fish  (fnf@cygnus.com)
7299
7300         * cplus-dem.c (demangled_qualified):  Add new parameter that tells
7301         whether to prepend or append the qualifiers.
7302         * cplus-dem.c (string_prepends):  Used now, remove #if 0.
7303         * cplus-dem.c (demangle_signature):  Call demangle_qualified
7304         with prepending.
7305         * cplus-dem.c (gnu_special):  Recognize static data members that
7306         use qualified names.
7307         * cplus-dem.c (demangle_qualified):  Accumulate qualifiers in a
7308         temporary buffer and the prepend or append them to the result,
7309         as specified by the new "append" flag.
7310         * cplus-dem.c (do_type):  Call demangled_qualified with
7311         appending.
7312
7313 Mon Dec 28 10:47:19 1992  Ken Raeburn  (raeburn@cygnus.com)
7314
7315         * strsignal.c (signal_table): Now const.
7316         (init_signal_tables): Variable eip now points to const.
7317
7318         * strerror.c (error_table): Now const.
7319         (init_error_tables): Variable eip now points to const.
7320
7321 Tue Dec 15 15:36:50 1992  Per Bothner  (bothner@cygnus.com)
7322
7323         * memchr.c (memchr):  New (ANSI standard) function.
7324         * Makefile.in, functions.def:  Added memchr.
7325         * Makefile.in (AR_FLAGS): Use rc instad of non-standard cq.
7326
7327 Wed Dec  2 22:49:10 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
7328
7329         * getopt.c: remove use of USG around <alloca.h>, which never meant
7330         anything anyway
7331
7332         * config/mh-{aix,apollo68,ncr3000,sysv,sysv4}: removed definitions
7333         of USG and USGr4
7334
7335 Thu Nov 19 03:09:33 1992  Brendan Kehoe  (brendan@lisa.cygnus.com)
7336
7337         * cplus-dem.c (demangle_fund_type): Recognize `w', a wide character;
7338         it's now a type according to the ANSI X3J16 working paper; output
7339         "wchar_t" for it.
7340         (demangle_template): Accept `w' as an integral type.
7341         (xmalloc, xrealloc): Use `char *', not `PTR'.  Cast calls to their
7342         counterparts malloc and realloc to `char *'.
7343         (main): Exit with a 0 status.
7344         * Makefile.in (demangle): Don't expect the user to define
7345         DEMANGLE, instead force to be cplus-dem.c.  Look in $(srcdir)/../include
7346         for demangle.h.  Pass it any HDEFINES or XTRAFLAGS.
7347
7348 Wed Nov 18 18:56:20 1992  John Gilmore  (gnu@cygnus.com)
7349
7350         * Makefile.in (AR_FLAGS):  Avoid verbosity.
7351         * config/mh-sysv4:  Remove AR_FLAGS override, use INSTALL=cp,
7352         replace USGr4 with HAVE_SYSCONF.
7353         * config/mh-solaris:  Remove; mh-sysv4 works now.
7354         * getpagesize.c:  Replace USGr4 with HAVE_SYSCONF.
7355         * configure.in:  Simplify host matching table, remove separate
7356         solaris config file.
7357
7358 Sun Nov 15 09:35:16 1992  Fred Fish  (fnf@cygnus.com)
7359
7360         * configure.in (i[34]86-*-solaris2*):  Add, use mh-sysv4.
7361
7362 Tue Nov  3 21:27:03 1992  Brendan Kehoe  (brendan@cygnus.com)
7363
7364         * cplus-dem.c (xmalloc, xrealloc): Add decls.
7365         (remember_type): Don't cast xmalloc.
7366         (string_need): Likewise; don't cast xrealloc either.
7367
7368 Fri Oct 23 08:52:01 1992  Ian Lance Taylor  (ian@cygnus.com)
7369
7370         * Makefile.in, functions.defs, rename.c: added simple
7371         implementation of rename, since some binutils programs use it.
7372
7373 Thu Oct 15 15:18:22 1992  Per Bothner  (bothner@cygnus.com)
7374
7375         * strsignal.c:  Add appropriate 'const' to sys_siglist
7376         extern declaration (if __STDC__).  (Needed for Linux.)
7377         * strsignal.c (strsignal): Add cast to remove const-ness.
7378
7379 Fri Oct  9 03:22:55 1992  John Gilmore  (gnu@cygnus.com)
7380
7381         * Makefile.in (needed.awk, needed2.awk):  Remove erroneous \'s
7382         before "'s, diagnosed by BSD 4.4 awk.
7383
7384 Thu Oct  8 15:25:12 1992  Ian Lance Taylor  (ian@cygnus.com)
7385
7386         * Makefile.in: create config.h and needed-list through $(CONFIG_H)
7387         and $(NEEDED_LIST), to give some hooks for xiberty.
7388
7389 Thu Oct  1 23:31:42 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
7390
7391         * configure.in: use cpu-vendor-triple instead of nested cases
7392
7393 Wed Sep 30 11:26:59 1992  Per Bothner  (bothner@rtl.cygnus.com)
7394
7395         * Makefile.in, argv.c, basename.c, bcmp.c, bcopy.c, bzero.c,
7396         concat.c, cplus-dem.c, fdmatch.c, getcwd.c, getopt.c, getopt1.c,
7397         getpagesize.c, insque.c, memcmp.c, memcpy.c, memmove.c, memset.c,
7398         obstack.c, sigsetmask.c, spaces.c, strchr.c, strerror.c,
7399         strrchr.c, strsignal.c, strstr.c, vfork.c, vsprintf.c:
7400         Convert from using GPL to LGPL.
7401
7402 Sat Sep 26 04:01:30 1992  John Gilmore  (gnu@cygnus.com)
7403
7404         * Makefile.in (errors):  Leave dummy.o and dummy around so that
7405         we can see how the needed list was generated (it's sometimes wrong).
7406         (mostlyclean):  Remove them.
7407
7408 Mon Sep 21 14:50:42 1992  Ian Lance Taylor  (ian@cygnus.com)
7409
7410         * getcwd.c: supply a default if MAXPATHLEN is not defined.
7411
7412         * config/mh-irix4: set EXTRA_OFILES to alloca.o, from WRS.
7413
7414 Wed Sep  9 12:41:48 1992  Ian Lance Taylor  (ian@cygnus.com)
7415
7416         * Makefile.in: Use XTRAFLAGS when compiling, so that xiberty works
7417         when cross-compiling.
7418
7419 Thu Sep  3 13:29:39 1992  K. Richard Pixley  (rich@sendai.cygnus.com)
7420
7421         * cplus-dem.c: (demangle_prefix): reduction in strength of strstr
7422           as a time optimization.
7423
7424         * cplus-dem.c (cplus_demangle): remove strpbrk test.  Appears to
7425           be more expensive than simply demangling.
7426
7427         * cplus-dem.c (cplus_match): new function.
7428
7429 Tue Sep  1 15:24:04 1992  Per Bothner  (bothner@rtl.cygnus.com)
7430
7431         * cplus-dem.c:  #include <stdio.h>, to define NULL.
7432         Define current_demangling_style.
7433
7434 Sun Aug 30 17:58:19 1992  Per Bothner  (bothner@rtl.cygnus.com)
7435
7436         * cplus-dem.c:  New file, moved from ../gdb.
7437         * cplus-dem.c (set_cplus_marker_for_demangling):  New exported
7438         function, to avoid compiling in target-dependency for CPLUS_MARKER.
7439         * cplus-dem.c (cplus_demangle):  Allow demangling style option
7440         to be passed as a parameter, but using the global variable
7441         current_demangling_style as a default.
7442         * Makefile.in:  Update for cplus-dem.c
7443
7444 Sat Aug 29 10:44:09 1992  Fred Fish  (fnf@cygnus.com)
7445
7446         * obstack.c:  Merge in comment changes from FSF version.  Now
7447         matches the FSF version exactly.
7448
7449 Fri Aug 28 18:39:08 1992  John Gilmore  (gnu@cygnus.com)
7450
7451         * obstack.c (CALL_FREEFUN):  Can't use ?: with void values (at
7452         least on losing DECstations!); use if-then-else instead.
7453
7454 Wed Aug 19 14:40:34 1992  Ian Lance Taylor  (ian@cygnus.com)
7455
7456         * Makefile.in: always create installation directories.
7457
7458 Mon Aug 10 17:33:40 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
7459
7460         * Makefile.in: clean up definition of CFILES, more comments
7461
7462 Sat Aug  8 23:10:59 1992  Fred Fish  (fnf@cygnus.com)
7463
7464         * getopt.c (my_index):  Make first arg const to match strchr,
7465         which it sometimes is remapped to.
7466
7467 Sat Aug  1 13:48:50 1992  Fred Fish  (fnf@cygnus.com)
7468
7469         * obstack.c (DEFAULT_ALIGNMENT):  Update to match FSF version.
7470         * obstack.c (_obstack_begin):  Initialize use_extra_arg.
7471         * obstack.c (_obstack_begin_1):  New, from FSF version.
7472
7473 Mon Jul 20 21:07:58 1992  Fred Fish  (fnf@cygnus.com)
7474
7475         * obstack.c (CALL_CHECKFUN, CALL_FREEFUN):  Use use_extra_arg and
7476         extra_arg.
7477         * obstack.c (_obstack_begin):  Remove area_id and flags arguments
7478         (previously added for mmalloc support, interface has changed).
7479         Also convert flags usage to use use_extra_arg and maybe_empty_object.
7480
7481 Fri Jul 10 00:41:53 1992  Fred Fish  (fnf@cygnus.com)
7482
7483         * argv.c:  Move expandargv inline and eliminate static variables.
7484         Rewrite to always allocate in powers of two.  Fix to return an
7485         argv with a single null string arg if passed a null string.
7486
7487 Fri Jul  3 20:27:29 1992  Fred Fish  (fnf@cygnus.com)
7488
7489         * random.c, sigsetmask.c, strerror.c, strsignal.c:  Remove
7490         "(void)" casts from function calls where the return value is
7491         ignored, in accordance with GNU coding standards.
7492
7493 Mon Jun 29 10:54:19 1992  Fred Fish  (fnf at cygnus.com)
7494
7495         * bcopy.c, strerror.c, strsignal.c:  Lint.
7496
7497 Thu Jun 25 09:18:41 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
7498
7499         * getopt.c: merge changes from make.
7500
7501 Thu Jun 25 04:43:22 1992  John Gilmore  (gnu at cygnus.com)
7502
7503         * alloca.c:  Incorporate fixes from gdb/alloca.c.
7504         FIXME:  Eventually move gdb's alloca configuration files here,
7505         and remove gdb/alloca.c and its Makefile.in support.
7506
7507 Tue Jun 23 21:56:30 1992  Fred Fish  (fnf@cygnus.com)
7508
7509         * dummy.c:  Define NOTHING to /*nothing*/, change return type
7510         of main to int and return zero.
7511         * functions.def:  Supply NOTHING as the fourth arg to macros
7512         that don't have an explicit arg, to satisfy picky preprocessors.
7513
7514 Wed Jun 17 18:13:58 1992  Per Bothner  (bothner@rtl.cygnus.com)
7515
7516         * Makefile.in:  Clean up *clean rules, as per standards.texi.
7517
7518 Tue Jun 16 16:11:59 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
7519
7520         * getopt.c, getopt1.c: merged largely gratuitous, mostly
7521           whitespace diffs from other prep distributions.
7522
7523 Mon Jun 15 12:25:46 1992  Fred Fish  (fnf@cygnus.com)
7524
7525         * config/mh-ncr3000 (INSTALL):  Don't use /usr/ucb/install,
7526         it is broken on ncr 3000's.
7527
7528 Mon Jun 15 01:03:26 1992  John Gilmore  (gnu at cygnus.com)
7529
7530         * sigsetmask.c:  Rewrite.  Old one was very confused about its
7531         arguments and result.  New one can't do much, but at least knows
7532         what it can't do, and it's good enough for GDB's use.
7533
7534 Sun Jun 14 15:17:40 1992  Stu Grossman  (grossman at cygnus.com)
7535
7536         * functions.def:  Use proper prototype for strtoul.
7537
7538 Fri Jun 12 19:22:40 1992  John Gilmore  (gnu at cygnus.com)
7539
7540         * Makefile.in:  Add random.c.
7541         * config/mh-*:  Use "true" rather than "echo >/dev/null" for ranlib.
7542         * configure.in:  update solaris2 config.
7543
7544 Wed Jun 10 16:31:29 1992  Fred Fish  (fnf@cygnus.com)
7545
7546         * random.c:  Add for random() and srandom().
7547         * functions.def:  Add random
7548
7549 Tue Jun  9 17:27:18 1992  Fred Fish  (fnf@cygnus.com)
7550
7551         * config/{mh-ncr3000, mh-sysv4}:  Add definition for INSTALL
7552         using /usr/ucb/install.
7553
7554 Mon Jun  1 13:20:17 1992  Per Bothner  (bothner@rtl.cygnus.com)
7555
7556         * strerror.c:  Kludge to guard against a conflict with
7557         possible declaration of sys_errlist in errno.h.
7558
7559 Sun May 31 15:07:47 1992  Mark Eichin  (eichin at cygnus.com)
7560
7561         * configure.in, config/mh-solaris: add solaris2 config support.
7562
7563 Fri May 29 17:23:23 1992  Per Bothner  (bothner@rtl.cygnus.com)
7564
7565         * sigsetmask.c:  #ifdef out sigsetmask if SIG_SETMASK
7566         is not defined (should be defined in signal.h, says Posix.).
7567
7568 Mon May 18 17:35:04 1992  K. Richard Pixley  (rich@cygnus.com)
7569
7570         * getopt.c: merged changes from make-3.62.11.
7571
7572 Fri May  8 14:53:07 1992  K. Richard Pixley  (rich@cygnus.com)
7573
7574         * getopt.c: merged changes from bison-1.18.
7575
7576 Tue May  5 11:51:40 1992  Per Bothner  (bothner@rtl.cygnus.com)
7577
7578         * Makefile.in:  Don't have $(EXTRA_OFILES) depend on config.h,
7579         since that introduces a circular dependency.
7580         ($(EXTRA_OFILES) are used to build config.h.)
7581
7582         * strtoul.c:  Fixes to handle non-decimal bases better.
7583
7584 Wed Apr 22 09:27:51 1992  Fred Fish  (fnf@cygnus.com)
7585
7586         * config/mh-ncr3000:  Replace MINUS_G with CFLAGS.
7587         * Makefile.dos:  Finish MINUS_G eradication.
7588         * Makefile.in (CFILES):  Add strsignal.c.
7589         * Makefile.in (REQUIRED_OFILES):  Add strerror.o strsignal.o
7590         * Makefile.in (needed-list):  Split creation of errors file to
7591         separate make target.
7592         * Makefile.in (config.h, needed2.awk, errors):  New targets.
7593         * Makefile.in (clean):  Split to multiple lines, add needed2.awk
7594         and config.h.
7595         * dummy.c (DEFFUNC, DEFVAR):  Add defines and undefs.
7596         * functions.def (strerror):  Remove from optional list.
7597         * functions.def (sys_nerr, sys_errlist, sys_siglist):  DEFVAR's
7598         * functions.def (strerror, psignal):  DEFFUNC's
7599         * strerror.c:  Rewrite from scratch to use sys_errlist only if
7600         available, add errno_max(), add strerrno(), add strtoerrno(),
7601         add test driver.
7602         * strsignal.c:  New file, signal equivalent to strerror.c.
7603         Uses sys_siglist if available, defines signo_max(), strsignal(),
7604         strsigno(), strtosigno(), psignal(), and test driver.
7605
7606 Mon Apr 20 20:49:32 1992  K. Richard Pixley  (rich@cygnus.com)
7607
7608         * Makefile.in: do not print recursion line.
7609
7610         * Makefile.in: allow CFLAGS to be passed in from command line.
7611           Removed MINUS_G.  Default CFLAGS to -g.
7612
7613 Mon Apr 20 12:57:46 1992  Per Bothner  (bothner@rtl.cygnus.com)
7614
7615         * config/mh-aix:  New.  EXTRA_OFILES lists copysign.o,
7616         so libg++ users don't have to be inconvenienced by a
7617         libc.a bug (libc.a needs copysign, but doesn't define it!).
7618         * configure.in:  Use config/mh-aix.
7619         * strtoul.c:  Handle '-' as required by ANSI.
7620         Clean up radix handling.
7621         * strstr.c:  Fix buggy algorithm.
7622         * Makefile.in:  Change so that ${EXTRA_OFILES} is
7623         appended to needed-list (which is used by libg++).
7624
7625 Fri Apr 10 22:51:41 1992  Fred Fish  (fnf@cygnus.com)
7626
7627         * configure.in:  Recognize new ncr3000 config.
7628         * config/mh-ncr3000:  New config file.
7629
7630 Wed Apr  1 23:31:43 1992  John Gilmore  (gnu at cygnus.com)
7631
7632         * argv.c, dummy.c:  Lint.
7633
7634 Tue Mar 31 18:46:44 1992  Fred Fish  (fnf@cygnus.com)
7635
7636         * config/mh-sysv4:  New config file.
7637         * configure.in (host_makefile_frag):  Set to config/mh-sysv4 for
7638         host_os == sysv4.
7639         * getpagesize.c:  For SVR4, use sysconf(_SC_PAGESIZE) to get
7640         pagesize.
7641
7642 Sun Mar 29 12:26:42 1992  John Gilmore  (gnu at cygnus.com)
7643
7644         * getopt.c:  Lint.
7645
7646 Fri Mar 27 08:32:55 1992  Fred Fish  (fnf@cygnus.com)
7647
7648         * functions.def (alloca):  Fix return type and args to avoid
7649         type clash with gcc's builtin alloca.
7650
7651 Tue Mar 24 23:33:42 1992  K. Richard Pixley  (rich@cygnus.com)
7652
7653         * configure.in, config/mh-irix4: irix4 support.
7654
7655         * Makefile.in, functions.def, alloca.c: added alloca.
7656
7657 Tue Mar 24 17:34:46 1992  Stu Grossman  (grossman at cygnus.com)
7658
7659         * obstack.c (CALL_FREEFUN):  Make it compile on DECstations.
7660
7661 Thu Mar 19 13:57:42 1992  Fred Fish  (fnf@cygnus.com)
7662
7663         * argv.c:  Fix various external function definitions to be
7664         correct in an ANSI compilation environment.
7665
7666 Sat Mar 14 17:28:17 1992  Fred Fish  (fnf@cygnus.com)
7667
7668         * obstack.c:  Changes to support calling mmalloc functions,
7669         which take an additional argument over malloc functions.
7670
7671 Fri Mar  6 22:01:10 1992  K. Richard Pixley  (rich@cygnus.com)
7672
7673         * added check target.
7674
7675 Thu Feb 27 22:19:39 1992  Per Bothner  (bothner@cygnus.com)
7676
7677         * argv.c:  #include alloca-conf.h (needed by AIX).
7678
7679 Wed Feb 26 18:04:40 1992  K. Richard Pixley  (rich@cygnus.com)
7680
7681         * Makefile.in, configure.in: removed traces of namesubdir,
7682           -subdirs, $(subdir), $(unsubdir), some rcs triggers.  Forced
7683           copyrights to '92, changed some from Cygnus to FSF.
7684
7685 Sat Feb 22 01:09:21 1992  Stu Grossman  (grossman at cygnus.com)
7686
7687         * argv.c:  Check in Fred's version which fixes problems with
7688         alloca().
7689
7690 Fri Feb  7 21:46:08 1992  Stu Grossman  (grossman at cygnus.com)
7691
7692         * makefile.dos:  Remove NUL to keep patch from failing.
7693
7694 Thu Jan 30 22:48:41 1992  Stu Grossman  (grossman at cygnus.com)
7695
7696         * getopt.c (_getopt_internal):  Fix usage of enum has_arg.
7697
7698 Mon Jan 20 18:53:23 1992  Stu Grossman  (grossman at cygnus.com)
7699
7700         * getopt.c, getopt1.c, ../include/getopt.h:  Get latest versions.
7701
7702 Sat Jan 18 16:53:01 1992  Fred Fish  (fnf at cygnus.com)
7703
7704         * argv.c:  New file to build and destroy standard argument
7705         vectors from a command string.
7706
7707         * Makefile.in:  Add argv.c and argv.o to appropriate macros.
7708
7709 Fri Dec 20 12:12:57 1991  Fred Fish  (fnf at cygnus.com)
7710
7711         * configure.in:  Change svr4 references to sysv4.
7712
7713         * rindex.c:  Declare return type of externally used function
7714         strrchr().
7715
7716 Thu Dec 19 18:35:03 1991  John Gilmore  (gnu at cygnus.com)
7717
7718         * Makefile.in:  Remove "***" in normal output, since Make produces
7719         this on errors, and it's convenient to search for.
7720
7721 Tue Dec 17 23:21:30 1991  Per Bothner  (bothner at cygnus.com)
7722
7723         * memcmp.c, memcpy.c, memmove.c, memset.c, strchr.c, strrchr.c:
7724         New ANSI functions.  The old non-ANSI functions (such as bcopy)
7725         should be avoided.
7726         * bcopy.c:  Fix to correctly handle overlapping regions.
7727         * index.c, rindex.c:  Re-write in terms of strchr() and strrchr().
7728         * functions.def:  Add the new functions.
7729         * functions.def:  Add 4th parameter to DEF macro,
7730         an ansidecl.h-style prototype.
7731         * dummy.c:  Use expanded DEF macro to create a dummy function
7732         call, with correct parameter types.  (This avoids some
7733         complaints from gcc about predefined builtins.)
7734
7735         Move the functionality of config/mh-default into Makefile.in.
7736         This avoid duplication, and simplifies things slightly.
7737         * Makefile.in:  Tweak so we don't need config/mh-default.
7738         * README:  Update.
7739         * configure.in:  No longer need config/mh-default.
7740         * config/mh-default:  Deleted.
7741         * config/mh-sysv:  Remove lines copied from old mh-default.
7742
7743 Tue Dec 17 05:46:46 1991  John Gilmore  (gnu at cygnus.com)
7744
7745         * fdmatch.c (fdmatch):  Don't compare st_rdev, which is for
7746         'mknod' device numbers.
7747
7748 Mon Dec 16 12:25:34 1991  Fred Fish  (fnf at cygnus.com)
7749
7750         * fdmatch.c, Makefile.in:  Add new function that takes two
7751         open file descriptors and returns nonzero if they refer to
7752         the same file, zero otherwise.  (used in gdb)
7753
7754 Wed Dec 11 17:40:39 1991  Steve Chamberlain  (sac at rtl.cygnus.com)
7755         From DJ:
7756         * msdos.c: stub functions for dos.
7757         * makefile.dos, configdj.bat: new.
7758         * getopt.c: Don't include alloca-conf.h in a GO32 world.
7759
7760
7761 Tue Dec 10 04:14:49 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
7762
7763         * Makefile.in: infodir belongs in datadir.
7764
7765 Fri Dec  6 23:26:45 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
7766
7767         * Makefile.in: remove spaces following hyphens because bsd make
7768           can't cope.  added standards.text support.  install using
7769           INSTALL_DATA.
7770
7771         * configure.in: remove commontargets as it is no longer a
7772           recognized hook.
7773
7774 Thu Dec  5 22:46:46 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
7775
7776         * Makefile.in: idestdir and ddestdir go away.  Added copyrights
7777           and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
7778           and mandir now keyed off datadir by default.
7779
7780 Fri Nov 22 19:15:29 1991  John Gilmore  (gnu at cygnus.com)
7781
7782         * Makefile.in:  find-needed.awk does not fit in 14 chars.
7783
7784         * Makefile.in:  Suppress error checking when compiling the test
7785         program, because Ultrix make/sh aborts there due to a bug.
7786
7787 Fri Nov 22 12:23:17 1991  Per Bothner  (bothner at cygnus.com)
7788
7789         * Makefile.in:  Re-did how EXTRA_OFILES is used to be more useful.
7790         * README:  Explained how the auto-configuration works,
7791         and how to add new files and/or configurations.
7792
7793 Fri Nov 22 09:45:23 1991  John Gilmore  (gnu at cygnus.com)
7794
7795         * strtoul.c:  Avoid defining ULONG_MAX if already defined;
7796         cast a const char * to char * for pedants.
7797
7798         * getopt.c:  Only define "const" after local include files get to,
7799         and only if they haven't defined it.
7800
7801 Thu Nov 21 16:58:53 1991  John Gilmore  (gnu at cygnus.com)
7802
7803         * getcwd.c (remove getwd.c): GNU code should call getcwd().  We
7804         emulate it with getwd() if available.  This avoids callers having
7805         to find a MAXPATHLEN or PATH_MAX value from somewhere.
7806         * Makefile.in, functions.def:  getwd->getcwd.
7807         * configure.in:  Use generic case for every system.
7808         * config/mh-{delta88,mach,rs6000,svr4}:  Remove.
7809         * config/mh-sysv:  Use default handling, just add -DUSG.
7810
7811 Thu Nov 14 10:58:05 1991  Per Bothner  (bothner at cygnus.com)
7812
7813         * Makefile.in, config/mh-default: Re-do make magic
7814         so that for the default ("automatic") mode we only
7815         compile the files we actually need.  Do this using
7816         a recursive make:  The top-level generates the list
7817         of needed files (loosely, the ones missing in libc),
7818         and then passes that list to the recursive make.
7819         * config/mh-mach:  Remove obsolete STRERROR-{C,O} macros.
7820
7821 Tue Nov 12 19:10:57 1991  John Gilmore  (gnu at cygnus.com)
7822
7823         RS/6000 host support (grumble).
7824
7825         * configure.in:  Build alloca-conf.h file from alloca-norm.h
7826         (everything else) or alloca-botch.h (rs/6000).
7827         * Makefile.in:  Include . on the include path.
7828         * getopt.c:  Use alloca-conf.h.
7829         * alloca-norm.h:  How to declare alloca on reasonable machines.
7830         * alloca-botch.h: How to declare alloca on braindead machines.
7831
7832 Tue Nov 12 09:21:48 1991  Fred Fish  (fnf at cygnus.com)
7833
7834         * concat.c :  New file, like concat() in gdb but can take a
7835         variable number of arguments rather than fixed at 3 args.  For
7836         now, client applications must supply an xmalloc(), which is a
7837         front end function to malloc() that deals with out-of-memory
7838         conditions.
7839
7840         * Makefile.in:  Add concat.c and concat.o to appropriate macros.
7841
7842 Sat Nov  9 13:29:59 1991  Fred Fish  (fnf at cygnus.com)
7843
7844         * config/mh-svr4:  Add sigsetmask to list of required functions.
7845
7846 Sun Nov  3 11:57:56 1991  Per Bothner  (bothner at cygnus.com)
7847
7848         * vsprintf.c:  New file.
7849         * functions.def, Makefile.in:  Add vsprintf.
7850
7851 Sun Oct 27 16:31:22 1991  John Gilmore  (gnu at cygnus.com)
7852
7853         * configure.in, config/mh-rs6000:  Add rs/6000 host support.
7854         * Makefile.in:  Compile with debug info.
7855
7856 Fri Oct 25 17:01:12 1991  Per Bothner  (bothner at cygnus.com)
7857
7858         * Makefile.in, configure.in, and new files: dummy.c, functions.def,
7859         config/mf-default:  Added a default configuration mode,
7860         which includes into libiberty.a functions that are "missing" in libc.
7861         * strdup.c, vprintf.c, vfprintf.c: New files.
7862
7863 Thu Oct 24 02:29:26 1991  Fred Fish  (fnf at cygnus.com)
7864
7865         * config/hmake-svr4: New file.
7866
7867         * config/hmake-sysv: Add HOST_CFILES and HOST_OFILES.
7868
7869         * basename.c, bcmp.c, bcopy.c, bzero.c, getpagesize.c getwd.c,
7870         index.c, insque.c, rindex.c, spaces.c, strstr.c, vfork.c: New
7871         files containing either portable C versions or emulations using
7872         native library calls.
7873
7874         * strerror.c:  Add copyright, internal documentation, etc.
7875
7876         * strtol.c:  Replace hardwired hex constants with some more
7877         portable macros.  Remove illegal (according to gcc) cast.
7878
7879         * strtoul.c: Replace hardwired hex constant with more portable
7880         macro.
7881
7882         * Makefile.in: Move TARGETLIB and CFLAGS where makefile fragments
7883         can override them.  Add new source and object file names to CFILES
7884         and OFILES respectively.
7885
7886         * configure.in: Add support for SVR4 makefile fragments.
7887
7888 Tue Oct 22 19:00:23 1991  Steve Chamberlain  (steve at cygnus.com)
7889
7890         * Makefile.in: Move RANLIB, AR and AR_FLAGS to where they can be
7891         over-ridden by config/hmake-*
7892         * configure.in: added m88kcvs to sysv list
7893
7894 Fri Oct  4 01:29:08 1991  John Gilmore  (gnu at cygnus.com)
7895
7896         * Makefile.in:  Most hosts need strerror, but one or two don't,
7897         and they override these definitions in the host-dependent makefile
7898         fragment.
7899         * config/hmake-mach:  The odd man out on strerror -- it's supplied.
7900         * strerror.c:  New file.
7901
7902         * strtol.c, strtoul.c:  Add strtol to libiberty, since Mach lacks
7903         it and bfd uses it.
7904         * configure.in, Makefile.in, config/hmake-mach:  Only configure
7905         strtol & strotoul in on Mach.
7906
7907 Tue Sep  3 06:36:23 1991  John Gilmore  (gnu at cygint.cygnus.com)
7908
7909         * obstack.c:  Merge with latest FSF version.
7910
7911 \f
7912 Local Variables:
7913 version-control: never
7914 End: