OSDN Git Service

include:
[pf3gnuchains/gcc-fork.git] / libiberty / ChangeLog
1 2003-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2
3         * Makefile.in (CFILES): Add physmem.c.
4         (REQUIRED_OFILES): Add physmem.o.
5         * configure.in: Check for sys/pstat.h.
6         (checkfuncs): Add pstat_getstatic and pstat_getdynamic.
7         * physmem.c: New file, copied from textutils.
8
9         * config.in, configure: Regenerated.
10
11 2003-02-20  Daniel Jacobowitz  <drow@mvista.com>
12
13         * Makefile.in (CFILES): Add lrealpath.c.
14         (REQUIRED_OFILES): Add lrealpath.o.
15         (lrealpath.o): Add rule.
16         * aclocal.m4 (libiberty_NEED_DECLARATION): Add.
17         * configure.in: Add realpath and canonicalize_file_name to
18         checkfuncs and AC_CHECK_FUNCS.  Use libiberty_NEED_DECLARATION
19         for canonicalize_file_name.
20         * lrealpath.c: New file.
21         * make-relative-prefix.c: Update documentation.
22         (make_relative_prefix): Simplify.  Use lbasename and lrealpath.
23         * config.in: Regenerated.
24         * configure: Regenerated.
25         * functions.texi: Regenerated.
26
27 2003-02-20  jmc  <jmc@prioris.mini.pw.edu.pl>
28
29         * cplus_dem.c: Fix typo: intializes -> initializes.
30
31 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
32
33         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
34         config.status.
35         * configure: Rebuilt.
36
37 2003-02-13  Daniel Jacobowitz  <drow@mvista.com>
38
39         Fix PR c++/7612.
40         * cplus-dem.c (demangle_signature): Call string_delete.
41         Remove extra string_init.
42         (demangle_arm_hp_template): Call string_delete instead of
43         string_clear.  Add missing string_delete call.
44         (demangle_qualified): Add missing string_delete call.
45         (do_type): Remove unused variable btype.  Add missing string_delete
46         call.  Call string_delete instead of string_clear.
47         (demangle_fund_type): Move variable btype inside of the switch
48         statement.  Add missing string_delete call.
49         (do_arg): Call string_delete instead of string_clear.  Remove extra
50         string_init.
51         (demangle_nested_args): Free work->previous_argument.
52
53 2003-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
54
55         * acconfig.h: New file.  Add uintptr_t.
56         * config.in: Regenerated.
57
58 2003-02-04  Joseph S. Myers  <jsm@polyomino.org.uk>
59
60         * libiberty.texi: Update to GFDL 1.2.
61
62 2003-01-30  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
63
64         * Makefile.in (libiberty_topdir): New subst.
65         (mkinstalldirs): Redefine in terms of the above.
66         * configure.in: AC_SUBST it.
67         * configure: Regenerate.
68
69 2003-01-28  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
70
71         * Makefile.in (all-subdir, check-subdir, installcheck-subdir)
72         (info-subdir, install-info-subdir, clean-info-subdir)
73         (dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
74         (clean-subdir, distclean-subdir, maintainer-clean-subdir):
75         Pass $(FLAGS_TO_PASS).
76
77 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
78
79         * Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
80         /`$$CC -print-multi-os-directory`.
81
82 2003-01-26  Daniel Jacobowitz  <drow@mvista.com>
83
84         * hashtab.c (htab_create_alloc_ex): New function.
85         (hatab_set_functions_ex): New function.
86         (htab_delete, htab_expand): Support alternate allocation functions.
87
88 2003-01-24  Christopher Faylor  <cgf@redhat.com>
89
90         * configure.in: Remove special pex-cygwin consideration.
91         * configure: Regenerate.
92         * pex-cygwin.c: Remove.
93         * Makefile.in: Remove pex-cygwin.[co] lines.
94
95 2003-01-24  Zack Weinberg  <zack@codesourcery.com>
96
97         * Makefile.in (CFILES): Add pex-*.c.
98         (REQUIRED_OFILES): Change pexecute.o to @pexecute@
99         (CONFIGURED_OFILES): Add pex-*.o.
100         (TEXIFILES): Add pexecute.txh.
101         (pexecute.o): Delete rule.
102         (pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o,
103         pex-unix.o, pex-win32.o): New rules.
104         * configure.in: Change AC_INIT argument to xmalloc.c.
105         Compute appropriate pexecute implementation and substitute it
106         as @pexecute@.
107
108         * pexecute.c: Split up into...
109         * pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c,
110         pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these
111         new files.
112
113         * functions.texi: Regenerate.
114         * configure: Regenerate.
115
116 2003-01-20  Josef Zlomek  <zlomekj@suse.cz>
117
118         * hashtab.c (htab_expand): Fix allocation of new entries.
119
120 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
121
122         * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
123
124         * Makefile.in (install_to_libdir, install_to_tooldir): Add a
125         mkinstalldirs command.
126
127 2002-12-04  Danny Smith  <dannysmith@users.sourceforge.net>
128
129         * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
130         Define for hosts with HOST_EXECUTABLE_SUFFIX.
131
132 2002-11-24  Nick Clifton  <nickc@redhat.com>
133
134         * make-relative-prefix.c (make_relative_prefix): Ensure return
135         string is empty before using strcat to construct it.
136
137 2002-11-22  Daniel Jacobowitz  <drow@mvista.com>
138
139         * Makefile.in: Add make-relative-prefix.c.
140         * make-relative-prefix.c: New file.
141         * functions.texi: Rebuilt.
142
143 2002-11-16  Jakub Jelinek  <jakub@redhat.com>
144
145         * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
146         used with arguments in traditional C' warnings.
147
148 2002-10-16  Jakub Jelinek  <jakub@redhat.com>
149
150         * config.table: Use mh-s390pic for s390x too.
151
152 2002-10-06  Andreas Jaeger  <aj@suse.de>
153
154         * libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded
155         variable and of strict-aliasing warning.
156         (grow_vect): Use char as first parameter.
157
158 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
159
160         * Makefile.in (all): Fix multilib parallel build.
161
162 2002-09-19  John David Anglin  <dave@hiuly1.hia.nrc.ca>
163
164         * cp-demangle.c (demangling_new): Cast 0 to enum.
165         (demangle_char): Cast return of strdup to char *.
166         (is_gnu_v3_mangled_ctor): Cast 0 to enum.
167         (is_gnu_v3_mangled_dtor): Likewise.
168         * cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
169         (work_stuff_copy_to_from): Cast return of xmalloc to char **.
170         * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
171         * md5.c (md5_process_bytes): Cast results back to const void *.
172         (md5_process_block): Add cast to const md5_uint32 *.
173         * regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
174         * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
175         unsigned short.
176         * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
177         to void *.
178         * vasprintf.c (int_vasprintf): Cast return of malloc to char *.
179
180 2002-09-19  Nick Clifton  <nickc@redhat.com>
181
182         * README: Update email addresses for bugs and patches.
183
184 2002-09-10  Mike Stump  <mrs@apple.com>
185
186         * splay-tree.c (splay_tree_successor): Fix comments.
187
188 2002-09-11  Zack Weinberg  <zack@codesourcery.com>
189
190         * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
191         * testsuite/Makefile.in: Adjust for test-demangle.
192         * testsuite/regress-demangle: Deleted.
193         * testsuite/test-demangle.c: New file.
194         * testsuite/demangle-expected: Change \$ to $ throughout, now that
195         this file is not being read by a shell script.
196
197 2002-09-05  Roger Sayle  <roger@eyesopen.com>
198
199         * regex.c: Only use "#pragma alloca" on AIX when not using gcc.
200
201 2002-08-07  DJ Delorie  <dj@redhat.com>
202
203         * regex.c (re_error_msgid): Just use a simple array of strings.
204         (re_compile_pattern): Compensate.
205         (re_comp): Likewise.
206         (re_comp): Likewise.
207         (regerror): Likewise.
208
209 2002-07-29  Neil Booth  <neil@daikokuya.co.uk>
210
211         * cplus-dem.c (PREPEND_BLANK): Remove.
212
213 2002-07-10  Jason Merrill  <jason@redhat.com>
214
215         * cp-demangle.c (demangle_identifier): Support extended Unicode
216         characters.
217
218 2002-07-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
219
220         * cp-demangle.c (demangle_v3_with_details): Wrap in
221         !defined IN_GLIBCPP_V3.
222
223 2002-07-01  Mark Mitchell  <mark@codesourcery.com>
224
225         * cp-demangle.c (demangle_operator_name): Add type_arg parameter.
226         Set it for the "st" operator.
227         (demangle_expression): Handle expressions with types as arguments.
228
229 2002-06-30  Douglas Rupp  <rupp@gnat.com>
230
231         * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
232         * Makefile.in (OUTPUT_OPTION): Use.
233
234 2002-06-22  Peter Breitenlohner <peb@mppmu.mpg.de>
235
236         * Makefile.in (install_to_libdir): Add $(DESTDIR).
237         (install_to_tooldir): Likewise.
238
239 2002-06-17  Douglas Rupp  <rupp@gnat.com>
240
241         * lbasename.c: Add 2002 to copyright.
242         (IS_DIR_SEPARATOR): Remove VMS junk.
243
244 2002-06-05  Geoffrey Keating  <geoffk@redhat.com>
245
246         * hashtab.c (htab_create): New stub function for backward
247         compatibility.
248         (htab_try_create): Likewise.
249
250 2002-06-03  Geoffrey Keating  <geoffk@redhat.com>
251
252         * hashtab.c (htab_create): Delete.
253         (htab_try_create): Delete.
254         (htab_create_alloc): New.
255         (htab_delete): Support user-specified memory allocation.
256         (htab_expand): Likewise.
257
258 2002-05-22  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
259
260         * configure.in: Fix typo in the code checking for sys_errlist.
261         * configure: Regenerated.
262
263 2002-05-13  Andreas Schwab  <schwab@suse.de>
264
265         * config.table: Use mh-x86pic also for x86-64.
266
267 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
268
269         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
270         script entry, and set LD to it when configuring multilibs.
271         * configure: Rebuilt.
272
273 2002-05-07  Mark Mitchell  <mark@codesourcery.com>
274
275         * configure.in (AC_TYPE_PID_T): Use it.
276         * configure: Regenerated.
277         * getruntime.c: Include <sys/types.h>.
278         * waitpid.c: Likewise.  Use pid_t, not int, as the type of "pid".
279
280 2002-04-09  Richard Henderson  <rth@redhat.com>
281
282         * hashtab.c (higher_prime_number): Use 7 as minimum.
283         (find_empty_slot_for_expand): Don't compute hash2 unless needed.
284         (htab_find_slot_with_hash): Likewise.
285
286 2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
287
288         * cp-demangle.c (__cxa_demangle):  Also protect with IN_GLIBCPP_V3.
289         (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor):  Conditionally
290         not compile if IN_GLIBCPP_V3 defined.
291         * dyn-string.c:  Also allow IN_GLIBCPP_V3 to change allocation scheme.
292
293 2002-03-30  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
294
295         * cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
296         if it is NULL.
297
298 2002-03-27  DJ Delorie  <dj@redhat.com>
299
300         * hex.c: Add documentation.
301         (_hex_value): Provide non-ASCII empty table.
302         (hex_init): Initialize the non-ASCII table.
303         * functions.texi: Regenerate.
304
305 2002-03-27  Mark Mitchell  <mark@codesourcery.com>
306
307         * dyn-string.c: Add libgcc exception to copyright notice.
308
309 2002-03-26  H.J. Lu  (hjl@gnu.org)
310
311         * config.table: Support --with-build-subdir.
312         * configure.in: Likewise.
313         * configure: Rebuild.
314
315 2002-03-18  Stuart Griffith  <Stuart_Griffith@credence.com>
316
317         * strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
318         seen.
319
320 2002-03-12  Mark Mitchell  <mark@codesourcery.com>
321
322         * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
323         notice.
324
325 2002-03-11  Douglas B Rupp  <rupp@gnat.com>
326
327         * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
328
329 2002-03-06  Jim Blandy  <jimb@redhat.com>
330
331         * splay-tree.c (splay_tree_xmalloc_allocate,
332         splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
333         prototyped definitions.  Mark `data' arguments as unused.
334
335 2002-03-06  Andrew Cagney  <ac131313@redhat.com>
336
337         * floatformat.c (floatformat_arm_ext_big): Delete definition.
338
339 2002-03-04  Phil Edwards  <pme@gcc.gnu.org>
340
341         * configure.in:  Add --enable-install-libiberty option.
342         * Makefile.in (INSTALLED_HEADERS):  New variable.
343         (install_to_libdir):  Possibly also copy headers.
344         * configure:  Regenerated.
345
346 2002-03-04  Neil Booth  <neil@daikokuya.demon.co.uk>
347
348         * xmalloc.c (xmalloc_fail): Clarify error message further.
349
350 2002-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
351
352         * xmalloc.c (xmalloc_fail): Clarify error message.
353
354 2002-02-22  Jim Blandy  <jimb@redhat.com>
355
356         * splay-tree.c (splay_tree_xmalloc_allocate,
357         splay_tree_xmalloc_deallocate): New functions.
358         (splay_tree_new): Call splay_tree_new_with_allocator, passing the
359         above functions and a dummy data pointer.
360         (splay_tree_new_with_allocator): New function.
361         (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
362         splay_tree_remove): Use the splay tree's allocation and
363         deallocation functions.
364
365 2002-02-19  Scott Snyder  <snyder@fnal.gov>
366
367         * testsuite/demangle-expected: Add test case for infinite loop in
368         demangler.
369         * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
370         if do_type() doesn't make any progress --- prevents an infinite
371         loop.
372
373 2002-02-18  Carlo Wood  <carlo@gnu.org>
374
375         PR c++/5390
376         * cplus-dem.c (demangle_integral_value): Accept multi-digit
377         numbers that do not start with an underscore; This is needed
378         for integer template parameters. This doesn't break anything
379         because multi-digit numbers are never followed by a digit.
380         * testsuite/demangle-expected: Corrected all mangled test
381         cases with multi-digit template parameters: g++ 2.95.x does
382         not generate underscores around these parameters.
383
384 2002-02-05  Jason Merrill  <jason@redhat.com>
385
386         * cplus-dem.c (flags): Add DMGL_VERBOSE
387         (cplus_demangle_v3_p): Remove.
388         (demangle_it): Add DMGL_TYPES to passed flags.
389         * cp-demangle.c (cplus_demangle_v3_all): Remove.
390         (cplus_demangle_v3_type): Remove.
391         (cplus_demangle_v3): Add options parm.
392
393 2002-02-02  H.J. Lu  (hjl@gnu.org)
394
395         * cp-demangle.c (cp_demangle_type): Do not protect with
396         IN_LIBGCC2.
397         (cplus_demangle_v3_all): New.
398         (cplus_demangle_v3): Call cplus_demangle_v3_all.
399         (cplus_demangle_v3_type): Call cplus_demangle_v3_all.
400
401         * cplus-dem.c (cplus_demangle_v3_p): New function pointer.
402         Initialized to cplus_demangle_v3.
403         (cplus_demangle_with_style): Call cplus_demangle_v3_p instead
404         of cplus_demangle_v3.
405         (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
406         command line symbol.
407
408         * testsuite/regress-demangle: Pass the mangled name at the
409         command line.
410
411 2002-02-01  H.J. Lu  <hjl@gnu.org>
412
413         * cp-demangle.c (cp_demangle_type): Call demangling_new with
414         DMGL_GNU_V3.
415
416 2002-01-31  Phil Edwards  <pme@gcc.gnu.org>
417
418         * cp-demangle.c:  Revert yesterday's change.
419
420 2002-01-31  Adam Megacz  <adam@xwt.org>
421
422         * gcc/libiberty/configure.in: Treat mingw the same as cywin
423         wrt HAVE_SYS_ERRLIST.
424
425 2002-01-30  Phil Edwards  <pme@gcc.gnu.org>
426
427         * cp-demangle.c (cp_demangle_type):  Do not protect with IN_LIBGCC2.
428         (cplus_demangle_v3):  Mimic __cxa_demangle and fall back on
429         cp_demangle_type.
430         * testsuite/demangle-expected:  New gnu-v3 test.
431
432 2002-01-22  Momchil Velikov  <velco@fadata.bg>
433
434         * configure.in (variable detection): Use arrays of unspecified
435         size instead of plain integers.
436
437 2002-01-18  DJ Delorie  <dj@redhat.com>
438
439         * Makefile.in (TESTLIB): New.  This library is for future
440         testsuites.
441         (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
442         break down by letter.
443         (REQUIRED_OFILES): List long-to-compile files first.
444         (maint-deps): New, target for updating dependencies.
445         (dependencies): Update.
446         * maint-tool: Add dependency-generating option.
447         * configure.in: Check for _doprnt even if we're not providing it.
448         * configure: Regenerate.
449
450         * _doprnt.c: Modifications to allow compiling on any platform.
451         * copysign.c: Likewise.
452         * putenv.c: Likewise.
453         * setenv.c: Likewise.
454         * vsprintf.c: Likewise.
455
456 2002-01-15  Douglas B Rupp  <rupp@gnat.com>
457
458         * mkstemps.c (mkstemps): On VMS, open temp file with option
459         that causes it to be deleted when closed.
460
461 2002-01-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
462
463         * cp-demangle.c (long_options): Const-ify.
464         * cplus-dem.c (long_options): Likewise.
465
466         * cplus-dem.c (mystrstr): Delete.  All callers changed to use
467         strstr instead.
468
469 2001-12-31  Ira Ruben   <ira@apple.com>
470
471         * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
472         * configure: Regenerated.
473
474 2001-12-24  Douglas B. Rupp  <rupp@gnat.com>
475
476         * configure.in (uintptr_t): Use AC_CHECK_TYPE.
477         * configure: Regenerated.
478
479 2001-12-12  Craig Rodrigues  <rodrigc@gcc.gnu.org>
480
481         PR other/2719
482         * cplus-dem.c (consume_count): Treat negative count as an error.
483         * testsuite/demangle-expected: Added testcase.
484
485 Tue Dec 11 07:08:57 2001  Douglas B. Rupp  <rupp@gnat.com>
486
487         * configure.in: Hardcode that vfork works on VMS host.
488         * configure: Regenerated.
489
490 2001-12-06  Richard Henderson  <rth@redhat.com>
491
492         * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
493         (cplus_demangle): Support no_demangling.
494
495 2001-11-27  Zack Weinberg  <zack@codesourcery.com>
496
497         * _doprnt.c: Moved here from gcc/doprint.c.  Adjust to build
498         in libiberty context.  Fix typo in leading comment.
499         * configure.in: Fix various AC_DEFINEs so autoheader works.
500         If any of vprintf, vsprintf, vfprintf is missing from libc,
501         then AC_REPLACE_FUNCS(_doprnt).
502
503 2001-11-26  DJ Delorie  <dj@redhat.com>
504             Daniel Jacobowitz  <drow@mvista.com>
505
506         * Makefile.in (stamp-h): Depend on Makefile for proper
507         serialization.
508         (*-subdir): Depend on config.h for proper serialization.
509
510 2001-11-26  DJ Delorie  <dj@redhat.com>
511
512         * configure.in: Check for alloca.h (for regex.c and putenv.c).
513         * configure: Regenerate.
514         * config.h: Add HAVE_ALLOCA_H.
515
516 2001-11-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
517
518         * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
519         defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
520         is available.
521
522 Thu Nov 15 11:06:25 2001  Jeffrey A Law  (law@cygnus.com)
523
524         * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
525         * configure.in (HAVE_UINTPTR_T): Test for system defining
526         uintptr_t and define HAVE_UINTPTR_T appropriately.
527         * regex.c (uintptr_t): Do not provide a definition if the
528         system provided one.
529
530         * regex.c (PREFIX): Provide an alternate definition for
531         non-ANSI/ISO compilers.
532         (ARG_PREFIX): Likewise.
533
534 2001-11-12  Jim Meyering  <meyering@lucent.com>
535
536         * obstack.c (_): Honor the setting of ENABLE_NLS.  Otherwise,
537         this code would end up calling gettext even in packages built
538         with --disable-nls.
539         * getopt.c (_): Likewise.
540         * regex.c (_): Likewise.
541
542 2001-11-03  Alan Modra  <amodra@bigpond.net.au>
543
544         * configure.in: Cope with missing makeinfo.
545         * configure: Regenerate.
546
547 2001-10-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
548
549         * hex.c (hex_init): Provide empty stub.
550
551         * hex.c (hex_init): Delete.
552         (_hex_value): Const-ify and initialize at compile-time.
553
554 2001-10-19  H.J. Lu <hjl@gnu.org>
555
556         * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
557         necessary.
558
559 2001-10-17  DJ Delorie  <dj@redhat.com>
560
561         * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
562         ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
563         mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
564         Improve manual formatting.
565         * functions.texi: Regenerate.
566
567 2001-10-15  DJ Delorie  <dj@redhat.com>
568
569         * Makefile.in (TEXIFILES): Add fnmatch.txh.
570         (maint-undoc): New.
571         maint-tool: Add "undoc" tool.
572         * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
573         fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
574         make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
575         strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
576         documentation.
577         * fnmatch.txh: New.
578         * functions.texi: Regenerate.
579
580 2001-10-10  Joseph S. Myers  <jsm28@cam.ac.uk>
581
582         * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
583         * strtod.c: Use "ISO C" instead of "ANSI C".
584         * functions.texi: Regenerate.
585
586 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
587
588         * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
589         libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
590         strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
591         xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting.  Fix
592         spelling.  Give names to function arguments in documentation.  Use
593         (void) prototypes in documentation.
594         * functions.texi: Regenerate.
595
596 2001-10-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
597
598         * argv.c (buildargv, tests, main): Const-ify.
599         * cp-demangle.c (operator_code): Likewise.
600         * cplus-dem.c (optable, libiberty_demanglers,
601         cplus_demangle_set_style, cplus_demangle_name_to_style,
602         print_demangler_list): Likewise.
603         * hashtab.c (higher_prime_number): Likewise.
604         * strcasecmp.c (charmap): Likewise.
605         * strerror.c (error_info, strerror, main): Likewise.
606         * strncasecmp.c (charmap): Likewise.
607         * strsignal.c (signal_info): Likewise.
608
609 2001-09-29  DJ Delorie  <dj@redhat.com>
610
611         * configure: Regenerate.
612
613 2001-09-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
614
615         * concat.c: Include stdlib.h.
616
617 2001-09-27  Eli Zaretskii  <eliz@is.elta.co.il>
618
619         * libiberty.texi: (Top level): Add syncodeindex pg.  Add
620         @dircategory and @direntry directives.  Add @finalout.
621         (many nodes): Lose the next,prev,up pointers on the @nide line.
622         (Using, Supplemental Functions, Replacement Functions): Fix
623         markup.
624         (Functions): Move around, to allow makeinfo to build the manual
625         without next,prev,up pointers in thye node lines.
626         (Licenses): Fix typos.
627
628         * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
629         strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
630         * functions.texi: Regenerate.
631
632         * copying-lib.texi: Lose the next,prev,up pointers on the @node
633         line.
634
635 2001-09-27  DJ Delorie  <dj@redhat.com>
636
637         * configure.in: Don't use in-tree texinfo, because libiberty must
638         be built before it.  Check for makeinfo version 4 or higher.
639         * functions.texi: Regenerate.
640
641 2001-09-20  DJ Delorie  <dj@redhat.com>
642             Phil Edwards  <pedwards@disaster.jaj.com>
643
644         * configure.in (MAKEINFO, PERL): Detect these.
645         (--enable-maintainer-mode): Add.
646         * configure: Regenerate.
647         * Makefile.in (MAKEINFO, PERL): Define.
648         (libiberty.info, libiberty.dvi, libiberty.html): New.
649         (CFILES): Add bsearch.c.
650         (CONFIGURED_OFILES): New, list of objects configure might add.
651         (maint-missing, maint-buildall): New, for maintainers only.
652         (clean, mostlyclean): Add info/dvi/html files.
653         * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
654         * gather-docs: New, for maintainers.
655         * maint-tool: New, for maintainers.
656         * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
657         bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
658         getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
659         memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
660         sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
661         strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
662         tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
663         xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
664         documentation.
665
666 2001-09-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
667
668         * concat.c (reconcat): Fix for traditional C.
669
670 2001-09-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
671
672         * concat.c (reconcat): New function.
673
674 2001-09-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
675
676         * concat.c (vconcat_length, vconcat_copy, concat_length,
677         concat_copy, concat_copy2): New functions.
678         (concat): Use vconcat_length/vconcat_copy.
679
680         * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
681         Define.
682
683 2001-09-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
684
685         * asprintf.c: Don't define USE_STDARG.  Use VPARAMS, VA_OPEN,
686         VA_FIXEDARG & VA_CLOSE.
687
688         * vasprintf.c: Check HAVE_STRING_H when including string.h.
689         (checkit): Delete redundant prototype.  Add ATTRIBUTE_PRINTF_1.
690         Use VA_OPEN, VA_FIXEDARG & VA_CLOSE.  Free allocated string.
691
692 2001-08-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
693
694         * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
695
696 2001-08-23  Ulrich Drepper  <drepper@redhat.com>
697
698         * regex.c (truncate_wchar): Use wcrtomb not wctomb.
699
700 2001-08-23  Ulrich Drepper  <drepper@redhat.com>
701
702         * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
703         instead of mbrtowc.
704         [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
705         wcslen, and __wcscoll instead of wcscoll.
706
707 2001-08-22  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
708
709         * fibheap.c (fibheap_init, fibnode_init): Remove.
710         (fibheap_new, fibnode_new): Use xcalloc to allocate and
711         initialize memory.
712         (fibheap_insert): Remove check for node allocation failure.
713
714 2001-08-21  Richard Henderson  <rth@redhat.com>
715
716         * Makefile.in (fibheap.o): Depend on config.h.
717         * fibheap.c: Tidy formatting.  Use config.h.` Rearrange some
718         functions for inlining.
719
720 Tue Aug 21 12:35:04 2001  Christopher Faylor <cgf@cygnus.com>
721
722         * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
723         hosting on cygwin.
724         * configure: Regenerate.
725
726 2001-08-20  Andrew Cagney  <ac131313@redhat.com>
727
728         * floatformat.c (floatformat_m88110_ext): Remove #ifdef
729         HARRIS_FLOAT_FORMAT.
730         (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
731         (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
732         (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
733         (floatformat_m88110_harris_ext): New float formats.
734
735 2001-08-20  Daniel Berlin  <dan@cgsoftware.com>
736
737         * fibheap.c: New file. Fibonacci heap.
738
739         * Makefile.in (CFILES): Add fibheap.c.
740         (REQUIRED_OFILES): Add fibheap.o.
741         (fibheap.o): Add dependencies for fibheap.o.
742
743 2001-08-17  Christopher Faylor <cgf@cygnus.com>
744
745         * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
746         * configure: Regenerate.
747
748 2001-08-16  Richard Henderson  <rth@redhat.com>
749
750         * hashtab.c (htab_hash_string): New.
751
752 2001-08-13  Andrew Cagney  <ac131313@redhat.com>
753
754         * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
755         name.
756
757 2001-08-12  Isamu Hasegawa  <isamu@yamato.ibm.com>
758
759         * regex.c (wcs_regex_compile): Use appropriate string
760         to compare with collating element.
761         Fix the padding for the alignment.
762
763 2001-08-10  Andrew Cagney  <ac131313@redhat.com>
764
765         * lbasename.c (lbasename): Change function definition to return a
766         const char pointer.
767
768 2001-08-07  Jason Merrill  <jason_merrill@redhat.com>
769
770         * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
771         for".
772
773 2001-08-03  Richard Henderson  <rth@redhat.com>
774
775         * Makefile.in (concat.o): Depend on config.h.
776
777 2001-07-30  Andreas Jaeger  <aj@suse.de>
778
779         * concat.c: Include "config.h".
780
781 2001-07-30  Andreas Jaeger  <aj@suse.de>
782
783         * regex.c: Declare wcs functions only if compiling with
784         MBS_SUPPORT.
785         Don't use #elif for traditional C.
786
787 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
788
789         * regex.c: Revamp memory allocation for WCHAR functions to
790         not use too much stack.
791
792 2001-07-30  Andreas Jaeger  <aj@suse.de>
793
794         * regex.c: Declare wcs functions only if compiling with
795         MBS_SUPPORT.
796         Don't use #elif for traditional C.
797
798 2001-07-25  Daniel Jacobowitz  <drow@mvista.com>
799
800         * Makefile.in (regex.o): Add dependency on config.h.
801
802 2001-07-18  Andreas Schwab  <schwab@suse.de>
803
804         * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
805         underscore character.
806
807 2001-07-18  Ulrich Drepper  <drepper@redhat.com>
808
809         * regex.c: Limit string length printed in debug messages to 100
810         chars.
811
812 2001-07-18  Andreas Jaeger  <aj@suse.de>
813
814         * regex.c: Place under LGPL version 2.1.
815
816 2001-07-10  Jeff Johnston  <jjohnstn@redhat.com>
817
818         * Makefile.in: Add support for regex code.
819         * regex.c: New file.
820
821 2001-07-05  Mark Klein  <mklein@dis.com>
822
823         * Makefile.in: Add ffs.c dependency.
824         * configure.in: Add ffs.c.
825         * ffs.c: New file.
826
827 2001-06-18  Richard Henderson  <rth@redhat.com>
828
829         * concat.c: Include <sys/types.h>.
830
831 2001-06-11  Loren J. Rittle  <ljrittle@acm.org>
832
833         bootstrap/3106
834         * strerror.c (sys_nerr): Hide the OS header version.
835         * strsignal.c (sys_nsig): Likewise.
836
837 2001-06-10  Richard Henderson  <rth@redhat.com>
838
839         * concat.c: Include string.h.  Fix int vs size_t usage.
840         Simplify the iteration loops.  Use memcpy.
841
842 2001-05-16  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
843
844         * partition.c: Fix misspelling of `implementation'.
845
846 2001-05-09  Thiemo Seufer  <seufer@csv.ica.uni-stuttgart.de>
847
848         * md5.c (md5_init_ctx): Declare constants as unsigned.
849         (md5_process_block): Likewise.
850
851 2001-05-07  Zack Weinberg  <zackw@stanford.edu>
852
853         * cp-demangle.c (demangle_v3_with_details,
854         is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
855         function definition.
856         * ternary.c: Use K+R style function definitions.  Use PTR, not
857         void *.  Make arguments constant where possible.
858
859 2001-05-07  Mark Mitchell  <mark@codesourcery.com>
860
861         * splay-tree.h (splay_tree_max): New function.
862         (splay_tree_min): Likewise.
863
864 2001-04-15  Daniel Berlin  <dan@cgsoftware.com>
865
866         * ternary.c: New file - Ternary search tree implementation.
867
868         * Makefile.in: Add ternary.o, and ternary.c dependencies.
869
870 2001-04-03  Zack Weinberg  <zackw@stanford.edu>
871
872         * make-temp-file.c (try): Inline.
873
874 2001-02-28  Richard Henderson  <rth@redhat.com>
875
876         * Makefile.in (make-temp-file.o): Depend on config.h.
877
878 2001-03-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
879
880         * memchr.c (memchr): Adjust condition to avoid infinite loop.
881
882 2001-03-23  Jakub Jelinek  <jakub@redhat.com>
883
884         * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
885         `_' not followed by a digit is invalid.
886
887 2001-03-22  Jim Blandy  <jimb@redhat.com>
888
889         * cp-demangle.c (string_list_delete): Use dyn_string_delete
890         instead of free, to free the contents as well as the string
891         structure.
892
893 2001-03-21  Zack Weinberg  <zackw@stanford.edu>
894
895         * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
896         Don't default P_tmpdir to anything.  Try /var/tmp before
897         /usr/tmp.
898
899 2001-03-20  Zack Weinberg  <zackw@stanford.edu>
900
901         * choose-temp.c: Split off make_temp_file, and the code
902         duplicated between it and choose_temp_base, into...
903         * make-temp-file.c: ... here; new file.
904
905         * Makefile.in (CFILES): Add make-temp-file.c.
906         (REQUIRED_OFILES): Add make-temp-file.o.
907
908 2001-03-20  Jim Blandy  <jimb@redhat.com>
909
910         * cp-demangle.c (struct demangling_def): New fields:
911         is_constructor and is_destructor.
912         (demangling_new): Initialize them.
913         (demangle_ctor_dtor_name): Set them, if we detect a constructor
914         or destructor.
915         (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
916         is_gnu_v3_mangled_dtor): New functions.
917
918 2001-03-20  Jason Merrill  <jason@redhat.com>
919
920         * cplus-dem.c (main): Skip initial $.
921
922 2001-03-15  Michael Meissner  <meissner@redhat.com>
923
924         * hashtab.c (higher_prime_number): Silence warning that 4294967291
925         might be a signed integer under pre-ISO C systems.
926
927 2001-03-10  Neil Booth  <neil@daikokuya.demon.co.uk>
928             John David Anglin  <dave@hiauly1.hia.nrc.ca>
929
930         * libiberty/lbasename.c: New file.
931         * libiberty/Makefile.in: Update for lbasename.
932
933 2001-03-06  Zack Weinberg  <zackw@stanford.edu>
934
935         * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
936         * configure.in: Replace all alloca logic with a simple use of
937         the above new macro.
938         * config.table: Kill *-*-beos* entry.
939         * config/mh-beos: Delete.
940         * configure, config.in: Regenerate.
941
942         * Makefile.in (ALLOCA, HFILES): Kill.
943         (REQUIRED_OFILES): Add alloca.o.
944         (alloca.o): Depend on libiberty.h.
945         (argv.o): Don't depend on alloca-conf.h.
946         * alloca-conf.h: Delete.
947         * alloca.c: Include libiberty.h.  Kill all #ifdef emacs
948         blocks.  Provide the C alloca unconditionally.  Use PTR where
949         appropriate.  Make i00afunc static.
950         * argv.c: Don't include alloca-conf.h.
951
952 2001-03-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
953
954         * cplus-dem.c (main): Cast enum style to int.
955
956 2001-02-16  Loren J. Rittle  <ljrittle@acm.org>
957
958         * cplus-dem.c (main): Initialize style.
959
960 2001-02-02  Phil Edwards  <pme@sources.redhat.com>
961
962         * COPYING.LIB:  Update to LGPL 2.1 from the FSF.
963
964 2001-01-31  Bryce McKinlay  <bryce@albatross.co.nz>
965
966         Add support for Java demangling under the v3 ABI:
967         * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
968         (struct demangling_def): Add `style' field.
969         (demangling_new): New parameter `style'. Set it in demangling_t.
970         (demangle_prefix): Use NAMESPACE_SEPARATOR.
971         (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
972         (cp_demangle): New parameter `style'. Pass it to demangling_new().
973         (main): Call cp_demangle with extra parameter.
974         (java_demangle_v3): New function.
975         (java_builtin_type_names): New. Table of primitive type names used
976         for Java demangling.
977         (demangle_builtin_type): Look up in java_builtin_type_names if doing
978         Java output.
979         * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
980         demangling.
981         (long_options): Remove obsolete `java' option.
982         (main): Remove explicit handling of `java' option. Instead, pass style
983         parameter in cplus_demangle flags as gdb does.
984         * testsuite/demangle.expected: Add some Java test cases.
985
986 2000-12-29  DJ Delorie  <dj@redhat.com>
987
988         * fnmatch.c: Make the note about the origins of this file more
989         accurate, at least until we can sync with glibc.
990         * getopt.c: Ditto.
991         * getopt1.c: Ditto.
992         * md5.c: Ditto.
993         * obstack.c: Ditto.
994
995 2000-12-26  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
996
997         * bsearch.c: New file.
998         * configure.in (funcs): Add bsearch.
999         (AC_CHECK_FUNCS): Likewise.
1000         * configure, config.in: Regenerate.
1001
1002 2000-12-13  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1003
1004         * safe-ctype.c: #include "ansidecl.h".
1005         * strtod.c: Likewise.
1006
1007 2000-12-13  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1008
1009         * strtoul.c: Include safe-ctype.h, not ctype.h.
1010
1011 2000-12-07  Zack Weinberg  <zack@wolery.stanford.edu>
1012
1013         * safe-ctype.c: New file.
1014         * Makefile.in (CFILES): Add safe-ctype.c.
1015         (REQUIRED_OFILES): Add safe-ctype.o.
1016
1017         * argv.c: Define ISBLANK and use it, not isspace.
1018         * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
1019         strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h.  Use
1020         uppercase ctype macros.  Don't test ISUPPER(c)/ISLOWER(c)
1021         before calling TOLOWER(c)/TOUPPER(c).
1022
1023 2000-12-07  Mike Stump  <mrs@wrs.com>
1024
1025         * Makefile.in (distclean): When cleaning, remove testsuite.
1026
1027 2000-12-05  Jason Merrill  <jason@redhat.com>
1028
1029         * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
1030         name before allocating the dyn_string.
1031
1032 2000-12-04  Jason Merrill  <jason@redhat.com>
1033
1034         * cp-demangle.c: s/new_abi/v3/.
1035         * cplus-dem.c: Likewise.
1036         (current_demangling_style): Now auto_demangling.
1037         (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
1038         (main): Use standard symbol chars for auto_demangling.
1039
1040 2000-11-26  Mark Mitchell  <mark@codesourcery.com>
1041
1042         * hashtab.c (higher_prime_number): Use a table, rather than a
1043         seive, to find the next prime.
1044
1045 2000-11-22  H.J. Lu  <hjl@gnu.org>
1046
1047         * cplus-dem.c (main): Handle gnat_demangling.
1048
1049 2000-11-22  Zack Weinberg  <zack@wolery.stanford.edu>
1050
1051         * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
1052         (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
1053         * configure.in: Call AC_C_INLINE and AC_C_CONST.  Use three
1054         argument form of AC_DEFINE in dummy definitions block.  Use
1055         AC_DEFINE_NOAUTOHEADER for real definitions of things defined
1056         in dummy block.  Preload cache variables instead of bypassing
1057         tests, where possible.
1058         * acconfig.h: Removed.
1059
1060         * xmalloc.c (xmalloc_failed): New function, does error
1061         reporting on failed allocation.
1062         (xmalloc, xcalloc, xrealloc): Use it.
1063
1064 2000-11-21  Hans-Peter Nilsson  <hp@bitrange.com>
1065
1066         * cplus-dem.c (cplus_demangle): Fix formatting.
1067         (grow_vect): Ditto.
1068         (ada_demangle): Ditto.
1069         (internal_cplus_demangle): Ditto.
1070         (mop_up): Ditto.
1071
1072 2000-11-21  H.J. Lu  <hjl@gnu.org>
1073
1074         * cplus-dem.c (main): Handle java_demangling.
1075
1076 2000-11-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1077
1078         * cplus-dem.c (grow_vect): Prototype.
1079         (ada_demangle): Cast the arg of ctype macros to unsigned char.
1080
1081 2000-11-15  Hans-Peter Nilsson  <hp@bitrange.com>
1082
1083         * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
1084         parameter `option'.
1085
1086 2000-11-15  Kenneth Block  <kenneth.block@compaq.com>
1087
1088         * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
1089         be used in GCC.
1090
1091 2000-11-15  Kenneth Block  <kenneth.block@compaq.com>
1092
1093         * cplus-dem.c: Add gnat demangler.  Add java to demangle style
1094         list.
1095
1096 2000-11-04  Hans-Peter Nilsson  <hp@bitrange.com>
1097
1098         * hashtab.c (htab_expand): Change to return int.  Use calloc or
1099         xcalloc depending on htab->return_allocation_failure.  Return zero
1100         if calloc fails.
1101         (htab_create): Update comment to cover memory allocation.
1102         (htab_try_create): New.
1103         (htab_find_slot_with_hash): Return NULL if htab_expand fails.
1104         Update comment to cover this.
1105
1106 2000-11-03  Hans-Peter Nilsson  <hp@bitrange.com>
1107
1108         * hashtab.c: Change void * to PTR where necessary.
1109         (htab_create, htab_expand): Correct formatting of comment before
1110         function.
1111
1112 2000-10-22  Alex Samuel  <samuel@codesourcery.com>
1113
1114         * cp-demangle.c (string_list_def): Add caret_position and comments.
1115         (result_caret_pos): New macro.
1116         (result_append_string): Rename to...
1117         (result_add_string): ... this, and insert at caret position.
1118         Rename throughout.
1119         (result_append): Rename to...
1120         (result_add): ... this, and insert at caret position.  Rename
1121         throughout.
1122         (result_append_char): Rename to...
1123         (result_add_char): ... this, and insert at caret position.  Rename
1124         throughout.
1125         (result_append_space): Remove.
1126         (string_list_new): Initialize caret position.
1127         (result_add_separated_char): Use caret position.
1128         (result_get_caret): New funtion.
1129         (result_set_caret): Likewise.
1130         (result_shift_caret): Likewise.
1131         (result_previous_char_is_space): Likewise.
1132         (substitution_start): Use caret position.
1133         (substitution_add): Likewise.
1134         (demangling_new): Initialize caret position.
1135         (demangle_encoding): Use caret position.
1136         (demanglin_nested_name): Put CV qualifiers after name.
1137         (demangle_type_ptr): Use switch statement.  Handle pointers to
1138         arrays.  Don't use result_append_space.  Use caret position.
1139         (demangle_type): Emit CV qualifiers after underlying type.  Adjust
1140         call to demangle_array_type.
1141         (demangle_array_type): Add parameter to handle pointers to arrays.
1142
1143 2000-10-01  Mark Mitchell  <mark@codesourcery.com>
1144
1145         * splay-tree.c (splay_tree_insert): Fix formatting.
1146
1147 2000-09-16  Mark Mitchell  <mark@codesourcery.com>
1148
1149         * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
1150
1151 2000-09-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1152
1153         * splay-tree.c: #include <stdio.h>.
1154
1155 2000-09-14  Hans-Peter Nilsson  <hp@axis.com>
1156
1157         * testsuite/demangle-expected: Add two tests for anonymous
1158         namespaces.
1159         * cplus-dem.c (gnu_special): Handle anonymous namespaces.
1160
1161 2000-09-10  Mark Mitchell  <mark@codesourcery.com>
1162
1163         * splay-tree.c (splay_tree_predecessor): New function.
1164         (splay_tree_successor): Likewise.
1165
1166 2000-09-10  Hans-Peter Nilsson  <hp@axis.com>
1167
1168         * testsuite/demangle-expected: Add four tests for type_info
1169         mangling.
1170         * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
1171         for a non-template non-qualified type_info function or node.
1172
1173 2000-09-08  Alex Samuel  <samuel@codesourcery.com>
1174
1175         * cp-demangle.c: Fix copyright banner.
1176
1177 2000-09-07  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1178
1179         * md5.c: #include "ansidecl.h".
1180
1181 2000-09-06  Alex Samuel  <samuel@codesourcery.com>
1182
1183         * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
1184         (demangle_type): Handle substitution candidates correctly in the
1185         face of special substitutions.
1186
1187 2000-09-05  Alex Samuel  <samuel@codesourcery.com>
1188
1189         * cp-demangle.c (demangle_encoding): Rename variable.
1190         (demangle_name): Rename parameter.  Handle return type
1191         suppression.
1192         (demangle_nested_name): Rename parameter.
1193         (demangle_prefix): Likewise.  Change return type suppression.
1194         (demangle_unqualified_name): Add parameter.  Flag constructors and
1195         conversion operators.
1196         (demangle_special_name): Fix comment.
1197         (demangle_type): Rename variable.
1198         (demangle_bare_function_type): Check for missing return type and
1199         parameter.
1200         (demangle_class_enum_type): Rename parameter.
1201         (demangle_discriminator): Fix misspelling in comment.
1202
1203 2000-08-31  DJ Delorie  <dj@redhat.com>
1204
1205         * configure.in (Cygwin): special case cygwin only when we're
1206         building cygwin, not when we're hosting cygwin.
1207
1208 2000-09-04  Alex Samuel  <samuel@codesourcery.com>
1209
1210         * cp-demangle.c (demangle_template_arg): Eat an `E' after an
1211         <expression>.
1212
1213 2000-09-04  Alex Samuel  <samuel@codesourcery.com>
1214
1215         * cp-demangle.c (demangle_type_ptr): Increment position past
1216         pointer and reference characters.
1217
1218 2000-09-04  Alex Samuel  <samuel@codesourcery.com>
1219
1220         * cp-demangle.c (demangle_nv_offset): New function.
1221         (demangle_v_offset): Likewise.
1222         (demangle_call_offset): Likewise.
1223         (demangle_special_name): Update thunk demangling to comply with
1224         ABI changes.
1225
1226 2000-09-03  Alex Samuel  <samuel@codesourcery.com>
1227
1228         * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
1229         (substitution_def): Remove template_parm_number.
1230         (NOT_TEMPLATE_PARM): Remove.
1231         (result_insert_string): New macro.
1232         (result_insert): Likewise.
1233         (result_insert_char): Likewise.
1234         (substitution_add): Remove last parameter.  Don't store template
1235         parm number.
1236         (BFT_NO_RETURN_TYPE): Define as NULL.
1237         (demangle_encoding): Adjust call to demangle_bare_function_type.
1238         (demangle_name): Adjust substitution.  Adjust call to
1239         substitution_add.
1240         (demangle_prefix): Adjust call to substitution_add.
1241         (demangle_identifier): Handle anonymous namespaces.
1242         (demangle_operator_name): Change demangling of vendor-extended
1243         operator to match ABI changes.
1244         (demangle_type_ptr): Change parameters.  Make recursive.  Handle
1245         substitutions here.
1246         (demangle_type): Adjust calls to demangle_template_param,
1247         substitution_add, and demangle_type_ptr.  Fix substitution of
1248         templated types.
1249         (demangle_function_type): Change parameter to a pointer.
1250         (demangle_bare_function_type): Likewise.  Adjust insertion point.
1251         (demangle_template_param): Remove last parameter.
1252         (demangle_expr_primary): Remove unused variable.  Adjust call to
1253         demangle_template_param.
1254         (is_mangled_char): Accept `$' and `.'.
1255         * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
1256         * dyn-string.c (dyn_string_insert_char): New function.
1257
1258 2000-08-31  Hans-Peter Nilsson  <hp@axis.com>
1259
1260         * testsuite/demangle-expected: Add nine tests for
1261         underscore-after-number followed by five tests for name-signature
1262         delimiter.
1263
1264 2000-08-28  Richard Henderson  <rth@cygnus.com>
1265
1266         * Makefile.in (md5.o): Depend on config.h.
1267
1268 2000-08-28  Jason Merrill  <jason@redhat.com>
1269
1270         * Makefile.in (REQUIRED_OFILES): Add md5.o.
1271         (CFILES): Add md5.c.
1272         * md5.c: New file.
1273
1274 2000-08-27  Alex Samuel  <samuel@codesourcery.com>
1275
1276         * cp-demangle.c (demangle_name): Initialize template_p in local
1277         name case.  Don't re-add substitutions as candidates.
1278         (demangle_nested_name): Use <unqualified-name>.
1279         (demangle_prefix): Likewise.  Don't add template names as
1280         substitution candidates twice, or re-add a substitution or the
1281         last prefix component.
1282         (demangle_local_name): Adjust output format.
1283
1284 2000-08-25  Alex Samuel  <samuel@codesourcery.com>
1285
1286         * cp-demangle.c (result_add_separated_char): Change parameter to
1287         int.
1288         (substitution_add): Don't check for duplicates.  Check if
1289         previously allocated size is zero.
1290         (demangle_name): Remove duplicate check for std substitution.
1291         Clear template flag appropriately.
1292         (demangle_prefix): Remove argument to demangle_substitution.
1293         Don't check that template flag is already set.
1294         (demangle_operator_name): Add pt operator.
1295         (demangle_type): Don't treat r as built-in type.  Remove argument
1296         to demangle_substitution.  Fix substitution candidate mechanics.
1297         Handle <template-template-parm>s.  Improve comments.
1298         (demangle_template_param): Don't handle template arg lists here.
1299         (demangle_substitution): Remove parameter.
1300         (print_usage): Remove extra fprintf option.
1301
1302 2000-08-24  Greg McGary  <greg@mcgary.org>
1303
1304         * libiberty/random.c (end_ptr): Revert previous change.
1305
1306 2000-08-24  Greg McGary  <greg@mcgary.org>
1307
1308         * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
1309         demangle_expression, demangle_function_name): Use ARRAY_SIZE.
1310         * libiberty/random.c (end_ptr): Likewise.
1311
1312 2000-08-23  Alex Samuel  <samuel@codesourcery.com>
1313
1314         * cp-demangle.c (result_close_template_list): Remove function.
1315         (result_add_separated_char): New function.
1316         (result_open_template_list): New macro.
1317         (result_close_template_list): Likewise.
1318         (demangle_prefix): Don't set template_p if the
1319         prefix ends with a ctor name.
1320         (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
1321         (demangle_type): Check for template args after substitution.
1322         (demangle_template_args): Use result_open_template_list.
1323
1324 2000-08-02  Zack Weinberg  <zack@wolery.cumb.org>
1325
1326         * pexecute.c:  Don't use vfork.  Initialize 'pid' before retry loop.
1327
1328 2000-07-26  Dave Pitts  <dpitts@cozx.com>
1329
1330         * config/mh-openedition.h: Added -DLE370 definition.
1331
1332 2000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
1333
1334         * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
1335         __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
1336         Cast program to 'char *' in errmsg_arg assignment.
1337         (PWAIT_ERROR): Define.
1338         (pwait): Use PWAIT_ERROR.  Adjust DJGPP's status code to conform
1339         to DJGPP's WIF* macros.
1340
1341 2000-07-27  RodneyBrown  <RodneyBrown@pmsc.com>
1342             Jeff Law <law@cygnus.com>
1343
1344         * getcwd.c: Include string.h, stdlib.h for prototypes
1345
1346         * Makefile.in (rename.o, waitpid.o): Depend on config.h
1347         * rename.c: Include config.h, unistd.h
1348         * waitpid.c: Include config.h, sys/wait.h
1349
1350 2000-07-24  Hans-Peter Nilsson  <hp@axis.com>
1351
1352         * cplus-dem.c (work_stuff_copy_to_from): New.
1353         (delete_non_B_K_work_stuff): New.
1354         (delete_work_stuff): New.
1355         (mop_up): Break out work_stuff partly destruction to
1356         delete_non_B_K_work_stuff.
1357         (iterate_demangle_function): New.
1358         (demangle_prefix): Call iterate_demangle_function instead of
1359         demangle_function_name.  Leave handling of name-signature
1360         __-delimiters to iterate_demangle_function.
1361         (demangle_integral_value): Strip an optional
1362         following underscore cautiously.  Handle negative numbers.
1363
1364 2000-07-24  Daniel Berlin <dberlin@redhat.com>
1365
1366         * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
1367         if (AUTO_DEMANGLING || GNU_DEMANGLING)
1368
1369 2000-07-21  Alex Samuel  <samuel@codesourcery.com>
1370
1371         * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
1372         allocating ctor mangling.
1373         (demangle_array_type): Handle empty and non-constant array length.
1374
1375 2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1376             Jeff Law <law@cygnus.com>
1377
1378         * configure.in (AC_CHECK_HEADERS): Add time.h.
1379         (AC_HEADER_TIME): Add check.
1380         * configure, config.in: Regenerate.
1381         * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
1382
1383         * configure.in (AC_CHECK_HEADERS): Add limits.h.
1384         * configure, config.in: Regenerate.
1385         * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
1386         * strtol.c, strtoul.c: #include "config.h". Portably #include
1387         <limits.h> and/or <sys/param.h>.
1388         * Makefile.in (strtol.o, strtoul.o): Update dependencies.
1389
1390         * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
1391         * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
1392         * configure, config.in: Regenerate.
1393         * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
1394
1395         * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
1396
1397 2000-07-21  Mike Stump  <mrs@wrs.com>
1398
1399         * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
1400         * (vasprintf.o): Add dependency for config.h in vasprintf.c.
1401
1402 2000-07-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1403
1404         * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
1405
1406         * setenv.c (setenv): Initialize variable `ep'.
1407
1408         * sigsetmask.c (abort): Prototype.
1409
1410         * vasprintf.c: Include config.h.  Check ANSI_PROTOTYPES, not
1411         __STDC__ for stdarg.h include.
1412         (int_vasprintf): Prototype.
1413         (checkit): Prototype.  Use VPARAMS/ANSI_PROTOTYPES/VA_START in
1414         definition.  Cast `global_total_width' in comparison.
1415         (main): Prototype.  Return a value.
1416
1417         * vfork.c (fork): Prototype.
1418
1419         * xexit.c: Include config.h.
1420
1421 2000-07-20  Joseph S. Myers  <jsm28@cam.ac.uk>
1422
1423         * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
1424         and print it with %u.
1425
1426 2000-07-17  Hans-Peter Nilsson  <hp@axis.com>
1427
1428         * testsuite/regress-demangle (failed test): Show result and
1429         expected output.
1430
1431 2000-07-07  Andrew Haley  <aph@cygnus.com>
1432
1433         * cplus-dem.c (main): fflush() after emitting last char before
1434         waiting for input.
1435
1436 2000-06-28  Alex Samuel  <samuel@codesourcery.com>
1437
1438         * cp-demangle.c (demangle_encoding): Accept no substitutions.
1439         (demangle_name): Handle <substitution> followed by
1440         <unqualified-template-name>.
1441         (demangle_type): Follow special substitutions with
1442         <class-enum-type>
1443         (demangle_subtitution): Set template_p for special substitutions.
1444         (main): Fix typos.
1445
1446 2000-06-27  Alex Samuel  <samuel@codesourcery.com>
1447
1448         * cp-demangle.c (demangle_special_name): Swap base and derived
1449         class when demangling construction vtables.
1450
1451 2000-06-21  Alex Samuel  <samuel@codesourcery.com>
1452
1453         * cp-demangle.c: Don't include ctype.h.
1454         (IS_DIGIT): New macro.
1455         (IS_ALPHA): Likewise.  Use IS_DIGIT and IS_ALPHA throughout
1456         instead of isdigit and isalpanum.
1457         (demangling_def): Make name and next const pointers.
1458         (STATUS_ALLOCATION_FAILED): New status code.
1459         (dyn_string_append_space): Handle failure in
1460         dyn_string_append_char.
1461         (int_to_dyn_string): Likewise.  Change return value to status_t.
1462         (string_list_new): Handle failure of dyn_string_init.
1463         (result_close_template_list): Change return type to status_t.
1464         Handle failure in dyn_string_append.
1465         (result_push): Change return value to status_t.  Handle failure in
1466         string_list_new.  Handle failure of result_push throughout.
1467         (substitution_add): Change return value to status_t.  Handle
1468         dyn_string failures.  Handle failure of substitution_add
1469         throughout.
1470         (template_arg_list_new): Return NULL on allocation failure.
1471         (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
1472         Handle error result throughout.
1473         (result_append): Likewise.
1474         (result_append_char): Likewise.
1475         (result_append_space): Likewise.
1476         (demangling_new): Make argument a const pointer.  Handle
1477         allocation failures.
1478         (demangle_template_args): Handle failure in template_arg_list_new
1479         and result_close_template_list.
1480         (demangle_discriminator): Return if int_to_dyn_string fails.
1481         (cp_demangle): Likewise.
1482         (cp_demangle_type): New function.
1483         (cplus_demangle_new_abi): Don't call dyn_string_delete.  Abort on
1484         memory allocation failure.
1485         (main): Likewise.
1486         * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
1487         IN_LIBGCC2.
1488         (dyn_string_init): Change return value to int.  Handle
1489         RETURN_ON_ALLOCATION_FAILURE case.
1490         (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
1491         (dyn_string_release): Delete the dyn_string.
1492         (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
1493         (dyn_string_copy): Change return type to int.
1494         (dyn_string_copy_cstr): Likewise.
1495         (dyn_string_prepend): Likewise.
1496         (dyn_string_prepend_cstr): Likewise.
1497         (dyn_string_insert): Likewise.
1498         (dyn_string_insert_cstr): Likewise.
1499         (dyn_string_append): Likewise.
1500         (dyn_string_append_cstr): Likewise.
1501         (dyn_string_append_char): Likewise.
1502         (dyn_string_substring): Likewise.
1503
1504 2000-06-09  Zack Weinberg  <zack@wolery.cumb.org>
1505
1506         * cp-demangle.c (demangle_operator_name): Add spaces before
1507         names beginning with a letter: delete, delete[], new, new[],
1508         sizeof.
1509         (demangle_special_name): Handle TF <type> and TJ <type>.
1510
1511 Thu Jun  8 18:52:24 2000  Philippe De Muyter  <phdm@macqel.be>
1512
1513         * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
1514
1515 Thu Jun  8 09:25:54 2000  Philippe De Muyter  <phdm@macqel.be>
1516
1517         * cp-demangle.c (stdio.h): File included unconditionaly.
1518         (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
1519         * dyn-string.c (stdio.h): File included.
1520         * partition.c (partition_print): No `&' needed to take the address of
1521         a function.
1522
1523 2000-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1524
1525         * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
1526
1527         * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
1528
1529         * cp-demangle.c (demangle_char): Change parameter from char to int.
1530         (demangle_expression, demangle_expr_primary): Remove extra
1531         semi-colon in prototype.
1532
1533         * dyn-string.c (dyn_string_append_char): Change parameter from
1534         char to int.
1535
1536         * memcmp.c (memcmp): Constify.
1537
1538         * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
1539         __extension__.
1540
1541         * partition.c (elem_compare): Prototype.  Don't cast away
1542         const-ness.
1543
1544         * setenv.c (setenv): Use braces to avoid ambiguous `else'.
1545
1546 2000-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1547
1548         * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
1549
1550         * cp-demangle.c: Include demangle.h.
1551         (template_arg_list_new): DeANSIfy.
1552         (cp_demangle): Make static and add prototype.
1553         (operator_code, operators): Constify.
1554         (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
1555
1556 2000-06-05  Alex Samuel  <samuel@codesourcery.com>
1557
1558         * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
1559         unsigned char.
1560         (demangle_unqualified_name): Likewise.
1561         (demangle_number_literally): Likewise.
1562         (demangle_type): Likewise.
1563         (demangle_substitution): Likewise.
1564         (is_mangled_char): Likewise, for isalnum.
1565
1566 2000-06-04  Alex Samuel  <samuel@codesourcery.com>
1567
1568         * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
1569         (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
1570         (cp-demangle.o): New dependency.
1571         (dyn-string.o): Likewise.
1572
1573         * dyn-string.c: Move here from gcc/dyn-string.c.  Add new functions.
1574
1575         * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
1576         demangler.
1577         (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
1578         demangling mode.
1579         (gnu_new_abi_symbol_characters): New function.
1580         (main): Use gnu_new_abi_symbol_characters.  * cp-demangle.c: New
1581         file.
1582         * cp-demangle.c: New file.
1583
1584 Tue May 30 16:45:25 2000  Andrew Cagney  <cagney@b1.cygnus.com>
1585
1586         * floatformat.c: Add name to each floatformat field.
1587
1588 Tue May 30 15:07:52 2000  Jeffrey A Law  (law@cygnus.com)
1589
1590         * Makefile.in (objalloc.o): Depend on config.h
1591
1592 2000-05-29  Zack Weinberg  <zack@wolery.cumb.org>
1593
1594         * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
1595         if HAVE_STRING_H.
1596         * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
1597         * objalloc.c: Include config.h.  Include stdlib.h and don't
1598         declare malloc or free if HAVE_STDLIB_H.
1599         * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
1600         else declare malloc without prototype.  Include string.h if
1601         HAVE_STRING_H, else declare memset without prototype.  Don't
1602         include stddef.h.
1603
1604 2000-05-23  Mike Stump  <mrs@wrs.com>
1605
1606         * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
1607         -j3.
1608
1609 2000-05-18  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
1610
1611         * xmalloc.c: Include config.h for HAVE_SBRK definition.
1612
1613 2000-05-16  Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
1614
1615         * hashtab.c (hash_pointer): Delete low-order bits which are
1616         probably zero, also eliminate a warning on alpha.
1617
1618 2000-05-15  David Edelsohn  <edelsohn@gnu.org>
1619
1620         * Makefile.in: Change "pic" to depend on $(PICFLAG), not
1621         on $(enable_shared).
1622
1623 2000-05-10  Jakub Jelinek  <jakub@redhat.com>
1624
1625         * config.table: Use mh-sparcpic for sparc*-*-*.
1626
1627 2000-05-08  Nick Clifton  <nickc@cygnus.com>
1628
1629         * Makefile.in (CFILES): Add strncmp.c.
1630         (NEEDED): Add strncmp.
1631
1632 2000-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1633
1634         * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
1635         Cast the arguments to `islower' to `unsigned char'.
1636         (print_demangler_list): Prototype.
1637
1638 Thu May  4 17:14:41 2000  Philippe De Muyter  <phdm@macqel.be>
1639
1640         * sort.c (UCHAR_MAX): Provide fallback definition.
1641
1642 2000-04-29  Alexandre Oliva  <aoliva@cygnus.com>
1643
1644         * Makefile.in (maintainer-clean-subdir): Fix handling of empty
1645         SUBDIRS.
1646
1647 2000-04-28  Kenneth Block  <block@zk3.dec.com>
1648             Jason Merrill  <jason@casey.cygnus.com>
1649
1650         * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
1651         (cplus_demangle_set_style): New function for setting style.
1652         (cplus_demangle_name_to_style): New function to translate name.
1653
1654 2000-04-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1655
1656         * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
1657
1658         * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
1659         (libiberty_AC_FUNC_STRNCMP): Invoke.
1660
1661         * strncmp.c: New file.
1662
1663 Thu Apr 27 16:58:43 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1664
1665         * hashtab.c (htab_expand): Add prototype.
1666         (find_empty_slot_for_expand): Likewise.
1667
1668 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1669
1670         * hashtab.c (hash_pointer, eq_pointer): Make definition static to
1671         match prototype.
1672         (htab_expand): Cast the return value of xcalloc.
1673
1674 2000-04-24  Mark Mitchell  <mark@codesourcery.com>
1675
1676         * hashtab.c (hash_pointer): New function.
1677         (eq_pointer): Likewise.
1678         (htab_hash_pointer): New variable.
1679         (htab_eq_pointer): Likewise.
1680
1681 2000-04-23  Mark Mitchell  <mark@codesourcery.com>
1682
1683         * sort.c (sort_pointers): Fix endianness bugs.
1684
1685         * sort.c: New file.
1686         * Makefile.in (CFILES): Add sort.c
1687         (REQUIRED_OFILES): Add sort.o.
1688         (sort.o): New target.
1689
1690 2000-04-21  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1691
1692         * Makefile.in (*-subdir): Revamp slightly to avoid losing on
1693         4.3BSD systems.
1694
1695 Tue Apr 18 16:23:31 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1696
1697         * hashtab.c: Various minor cleanups.
1698         (htab_find_slot_with_hash): INSERT is now enum insert_option.
1699         (htab_find_slot): Likewise.
1700
1701 2000-04-16  Dave Pitts  <dpitts@cozx.com>
1702
1703         * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
1704
1705 2000-04-05  Richard Henderson  <rth@cygnus.com>
1706
1707         * splay-tree.c (splay_tree_remove): New.
1708
1709 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
1710
1711         * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
1712         codes.
1713         (htab_find_with_hash): Likewise.
1714         (htab_find_slot_with_hash): Likewise.
1715
1716 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
1717
1718         * hashtab.c (htab_find_with_hash): Avoid calculating hash2
1719         unless it will be used.  Rearrange loop for better
1720         optimization.
1721         (higher_prime_number): Add static prototype.
1722
1723 Thu Mar 16 01:33:58 2000  Jeffrey A Law  (law@cygnus.com)
1724
1725         * Makefile.in (partition.o): Depend on config.h
1726
1727 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
1728
1729         * hashtab.c (find_empty_slot_for_expand): New function.
1730         (htab_expand): Use it instead of htab_find_slot.
1731         (htab_find_with_hash): Renamed from htab_find; now accepts extra
1732         argument HASH.
1733         (htab_find_slot_with_hash): Likewise for htab_find_slot.
1734         (htab_find): New wrapper function.
1735         (htab_find_slot): Likewise.
1736         (htab_traverse): Pass slot, not entry, to called function.
1737
1738 2000-03-09  Alex Samuel  <samuel@codesourcery.com>
1739
1740         * Makefile.in (CFILES): Add partition.c.
1741         (REQUIRED_OFILES): Add partition.o.
1742         (partition.o): New rule.
1743         * partition.c: New file.
1744
1745 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
1746
1747         * hashtab.c (htab_create): Set del_f.
1748         (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
1749         Use it.
1750
1751 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
1752
1753         * hashtab.c: Remove debugging variables (all_searches,
1754         all_collisions, all_expansions). Delete
1755         all_hash_table_collisions.
1756         (create_hash_table, delete_hash_table, empty_hash_table,
1757         find_hash_table_entry, remove_element_from_hash_table_entry,
1758         clear_hash_table_slot, traverse_hash_table, hash_table_size,
1759         hash_table_elements_number, hash_table_collisions): Rename to:
1760         htab_create, htab_delete, htab_empty, htab_find_slot,
1761         htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
1762         htab_elements, htab_collisions.
1763         (htab_find): New function, handles common case where you don't
1764         plan to add or delete an entry.
1765         (htab_expand): Don't create a whole new table, just a new
1766         entry vector.
1767         (htab_find_slot): Simplify logic.
1768
1769 1999-08-03  Ian Lance Taylor  <ian@zembu.com>
1770
1771         * floatformat.c: Add casts to avoid signed/unsigned warnings.
1772         * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
1773
1774         * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
1775         $(TARGETLIB)n so it works on MSDOS.
1776         (install_to_tooldir): Likewise.
1777
1778 1999-07-21  Ian Lance Taylor  <ian@zembu.com>
1779
1780         From Mark Elbrecht:
1781         * makefile.dos: Remove; obsolete.
1782         * configure.bat: Remove; obsolete.
1783
1784 1999-07-11  Ian Lance Taylor  <ian@zembu.com>
1785
1786         * splay-tree.c (splay_tree_insert): Add initialization to avoid
1787         warning.
1788
1789 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
1790
1791         * pexecute.c: Conditionally include string.h.
1792         (fix_argv): Handle embedded whitespace in args for Mingw32.
1793
1794 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1795
1796         * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
1797         we're using gcc.
1798
1799         * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
1800
1801 1999-12-27  Geoff Keating  <geoffk@cygnus.com>
1802
1803         * vasprintf.c (int_vasprintf): Don't re-read the format character
1804         as this mishandles strings like '%%s'.
1805
1806 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
1807
1808         * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
1809         rather than struct splay_tree_node.
1810         (splay_tree_insert): Use struct splay_tree_s rather than struct
1811         splay_tree.
1812
1813 Sun Nov 28 00:59:39 1999  Philippe De Muyter  <phdm@macqel.be>
1814
1815         * hashtab.c (sys/types.h): File included.
1816
1817 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
1818
1819         * strtoul.c, strtol.c, random.c: Remove advertising clause from
1820         BSD license, pursuant with
1821
1822           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
1823
1824 Wed Nov 10 09:42:39 1999  Jeffrey A Law  (law@cygnus.com)
1825
1826         * hashtab.c: Include stdio.h.
1827
1828 Mon Nov  8 09:23:41 1999  Jeffrey A Law  (law@cygnus.com)
1829
1830         * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
1831
1832 Tue Nov  2 03:23:13 1999  Philippe De Muyter  <phdm@macqel.be>
1833
1834         * xstrdup (sys/types.h): Include this file.
1835
1836 1999-10-28  Nathan Sidwell  <nathan@acm.org>
1837
1838         * Makefile.in (SUBDIRS): New macro.
1839         (mostlyclean, clean, distclean, maintainer-clean): Adjust to
1840         avoid multiple subdirectory cleaning.
1841         (*-subdir): Use SUBDIRS.
1842
1843 1999-10-25  Jim Kingdon  <http://developer.redhat.com/>
1844
1845         * cplus-dem.c: Move declarations of standard_symbol_characters and
1846         hp_symbol_characters inside #ifdef MAIN to avoid compiler
1847         warnings.
1848
1849 1999-10-23 08:51 -0700  Zack Weinberg  <zack@bitmover.com>
1850
1851         * hashtab.c (find_hash_table_entry): When returning a
1852         DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
1853         (clear_hash_table_slot): New function which deletes an entry
1854         by its position in the table, not its value.
1855         (traverse_hash_table): New function which calls a hook
1856         function for every live entry in the table.
1857
1858 1999-10-19  Mark Mitchell  <mark@codesourcery.com>
1859
1860         * cplus-dem.c (INTBUF_SIZE): New macro.
1861         (string_append_template_idx): New function.
1862         (demangle_expression): Likewise.
1863         (demangle_integral_value): Use it.
1864         (demangle_real_value): New function, split out from ...
1865         (demangle_template_value_parm): ... here.  Use
1866         string_append_template_idx.  Use demangle_real_value.
1867         (demangle_template): Use string_append_template_idx.
1868         (demangle_qualified): Use consume_count_with_underscores.
1869         (get_count): Tweak formatting.
1870         (do_type): Use string_append_template_idx.
1871
1872 1999-10-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1873
1874         * calloc.c: Add a public domain notice.
1875
1876 Mon Oct 18 02:30:47 1999  Philippe De Muyter  <phdm@macqel.be>
1877
1878         * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
1879
1880 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
1881
1882         * Makefile.in (CFILES): Add hashtab.c
1883         (REQUIRED_OFILES): Add hashtab.o
1884         (hashtab.o): Add dependencies.
1885         * hashtab.c: New file
1886
1887 Wed Oct 13 01:16:47 1999  Mumit Khan  <khan@xraylith.wisc.edu>
1888
1889         * basename.c (DIR_SEPARATOR): New macro.
1890         (DIR_SEPARATOR_2): Likewise.
1891         (HAVE_DOS_BASED_FILESYSTEM): Likewise.
1892         (IS_DIR_SEPARATOR): Likewise.
1893         (main): Handle MSDOS style pathname.
1894
1895 1999-10-11  Mark Mitchell  <mark@codesourcery.com>
1896
1897         * cplus-dem.c (do_type): Handle pointer to member types whose
1898         enclosing classes have namespace scope.
1899
1900 Sun Oct 10 01:23:50 1999  Marc Espie <espie@cvs.openbsd.org>
1901
1902         * config.table:  Provide a backup shell for executing move-if-change.
1903
1904 1999-10-02  Mark Mitchell  <mark@codesourcery.com>
1905
1906         * xmalloc.c (xmalloc): Fix spelling error.
1907         (xcalloc, xrealloc): Likewise.
1908
1909 1999-10-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1910
1911         * cplus-dem.c (fancy_abort, demangle_integral_value,
1912         demangle_arm_hp_template, recursively_demangle,
1913         standard_symbol_characters, hp_symbol_characters, main): Add prototype.
1914         (program_name, program_version, fatal): Constify a char*.
1915         (usage, fatal): Mark with ATTRIBUTE_NORETURN.
1916         (main): Call return, not exit.
1917
1918 1999-09-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1919
1920         * choose-temp.c: Remove obsolete comment about gcc.
1921         (make_temp_file): Constify a char*.
1922
1923 Wed Sep  8 20:03:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1924
1925         * xmemdup.c: Include sys/types.h.
1926
1927 1999-09-07  Jeff Garzik  <jgarzik@pobox.com>
1928
1929         * xmemdup.c: New xmemdup function.
1930         * Makefile.in, makefile.vms, vmsbuild.com:  Use xmemdup.[co].
1931
1932 Tue Sep  7 23:32:18 1999  Linas Vepstas  <linas@linas.org>
1933
1934         * config.table: Add openedition target.
1935         * config/mh-openedition: New file.
1936
1937 Thu Sep  2 01:36:12 1999  Marc Espie <espie@cvs.openbsd.org>
1938
1939         * pexecute.c (pexecute):  Fill in temp_base when needed.
1940
1941 1999-08-31  Richard Henderson  <rth@cygnus.com>
1942
1943         * getpwd.c: Check HAVE_GETCWD before defining it away.
1944
1945 1999-08-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1946
1947         * Makefile.in (CFILES): Add calloc.c and getpwd.c.
1948         (REQUIRED_OFILES): Add getpwd.o.
1949         (getpwd.o): Add target.
1950
1951         * configure.in (AC_PREREQ): Bump to 2.13.
1952         (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
1953
1954         * getpwd.c: New file, moved here from gcc.
1955
1956 1999-08-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1957
1958         * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
1959         comparing against a signed quantity.
1960         (arm_special): Likewise.
1961         (demangle_fund_type): Likewise.
1962         (do_hpacc_template_const_value): Mark parameter `work' with
1963         ATTRIBUTE_UNUSED.
1964         (main): Constify variable `valid_symbols'.
1965
1966 Tue Aug 24 02:50:45 1999  Philippe De Muyter  <phdm@macqel.be>
1967
1968         * strtoul.c (strtoul): Add parentheses around && within ||.
1969
1970 Fri Aug  6 23:32:29 1999  Daniel Jacobowitz <drow@drow.them.org>
1971
1972         * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
1973         libdir, libsubdir and tooldir.
1974
1975 1999-08-01  Mark Mitchell  <mark@codesourcery.com>
1976
1977         * splay-tree.c (splay_tree_insert): Return the new node.
1978
1979 1999-07-14  Richard Henderson  <rth@cygnus.com>
1980
1981         * argv.c: Include stdlib.h and string.h instead of
1982         prototyping directly.
1983         * choose-temp.c: Conditionally include string.h.
1984
1985 1999-07-12  Jason Merrill  <jason@yorick.cygnus.com>
1986
1987         * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
1988
1989 1999-07-11  Ian Lance Taylor  <ian@zembu.com>
1990
1991         * splay-tree.c (splay_tree_insert): Add initialization to avoid
1992         warning.
1993
1994 1999-07-07  Jason Merrill  <jason@yorick.cygnus.com>
1995
1996         * Makefile.in (needed-list): Only include stuff we actually need
1997         for libstdc++.
1998
1999 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2000
2001         * configure.in (checkfuncs): Add gettimeofday.
2002         * config.in, configure: Regenerated.
2003
2004 Mon Jun 21 05:56:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2005
2006         * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
2007         the test fails.
2008         * configure: Regenerate.
2009
2010 1999-06-10  Mike Stump  <mrs@wrs.com>
2011
2012         * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
2013         parallel builds.
2014
2015 1999-05-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2016
2017         * putenv.c: Include ansidecl.h to define `const'.
2018         * setenv.c: Likewise.
2019
2020 Wed May 26 03:58:20 1999  "Melissa O'Neill" <oneill@cs.sfu.ca>
2021
2022         * Makefile.in (CFILES): Add putenv.c and setenv.c.
2023         * configure.in (funcs): Add putenv and setenv.
2024         (AC_CHECK_FUNCS): Check for putenv and setenv.
2025         * configure: Rebuilt.
2026         * putenv.c setenv.c: New files.
2027
2028         * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
2029         bytes of space using malloc.
2030
2031 Mon May 17 01:42:34 1999  Stu Grossman  <grossman@babylon-5.cygnus.com>
2032
2033         * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
2034         the *mangled pointer beyond the end of the string.  Clean up code to
2035         match prevailing coding style.
2036
2037 1999-05-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2038
2039         * tmpnam.c (L_tmpnam): Fix typo.
2040
2041 Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
2042
2043         * cplus-dem.c (standard_symbol_characters): Renamed from
2044         standard_symbol_alphabet.  No longer modify TABLE.
2045         (hp_symbol_characters): Renamed from hp_symbol_alphabet.  No longer
2046         modify TABLE.
2047         (main): Corresponding changes.  Use strchr to determine if a
2048         character is valid.
2049
2050 1999-05-11  Jim Blandy  <jimb@zwingli.cygnus.com>
2051
2052         * cplus-dem.c (main): Use table lookup to distinguish identifier
2053         characters from non-identifier characters.
2054         (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
2055
2056 Thu May  6 20:34:42 1999  Fred Fish  <fnf@be.com>
2057
2058         * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
2059         * getruntime.c: Only attempt to include sys/resource.h and
2060         use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
2061         are defined.
2062
2063 Mon Apr 26 01:36:06 1999  Donn Terry (donn@interix.com)
2064
2065         * configure.in (alloca detection): Handle alloca directly for interix.
2066         * configure: Rebuilt.
2067
2068 Sun Apr 25 01:18:21 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2069
2070         * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
2071
2072 1999-04-20  Jim Blandy  <jimb@zwingli.cygnus.com>
2073
2074         Fix from Dale Hawkins:
2075         * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
2076         reallocated properly if we use it again.
2077
2078         * cplus-dem.c (demangle_fund_type): Check for buffer overrun.  Be
2079         stricter about syntax.  Always null-terminate string.
2080
2081 Thu Apr 15 23:00:55 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2082
2083         * configure.in (checkfuncs): Check for sbrk.
2084         * config.in: Rebuilt.
2085         * configure: Likewise.
2086         * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
2087
2088 1999-04-12  Jim Blandy  <jimb@zwingli.cygnus.com>
2089
2090         Fix from Marcus Daniels:
2091         * cplus-dem.c (demangle_fund_type): Don't run off the end of the
2092         identifier looking for another underscore.
2093
2094 Sun Apr 11 23:20:59 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2095
2096         * pexecute.c: Change all references to __UWIN__ to _UWIN.
2097         * xmalloc.c: Likewise.
2098         (xcalloc): UWIN has sbrk.
2099         (xrealloc): Fix guard macro.
2100
2101 1999-04-11  Richard Henderson  <rth@cygnus.com>
2102
2103         * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
2104         or <alloca.h>.
2105         * clock.c (GNU_HZ): New definition.
2106         (clock): Use it.
2107         * getruntime.c: Likewise.
2108
2109         * config.table: Use mh-beos.
2110         * config/mh-beos: New file.
2111
2112 1999-04-11  Mark Mitchell  <mark@codesourcery.com>
2113
2114         * cplus-dem.c (demangle_template_value_parm): Handle
2115         pointers-to-members.
2116         (do_type): Handle template parameters as qualifiers.
2117
2118 1999-04-01  Jim Blandy  <jimb@zwingli.cygnus.com>
2119
2120         * cplus-dem.c: Attempt to handle overflows in counts with some
2121         semblance of grace.
2122         (consume_count): Detect overflows.  Return -1 to indicate errors,
2123         instead of zero.
2124         (demangle_template_value_parm, demangle_template): Handle change
2125         to consume_count's return convention.
2126
2127 1999-04-05  Tom Tromey  <tromey@cygnus.com>
2128
2129         * testsuite/regress-demangle: New file.
2130         * testsuite/demangle-expected: New file.
2131
2132         * Makefile.in (all, check, installcheck, info, install-info,
2133         clean-info, dvi, install, etags, tags, mostlyclean, clean,
2134         distclean, maintainer-clean, realclean): Depend on corresponding
2135         `-subdir' target.
2136         (all-subdir check-subdir installcheck-subdir info-subdir
2137         install-info-subdir clean-info-subdir dvi-subdir
2138         install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
2139         distclean-subdir maintainer-clean-subdir): New target.
2140         * testsuite/Makefile.in: New file.
2141         * configure: Rebuilt.
2142         * configure.in: Create testsuite/Makefile.
2143
2144 1999-04-02  Mark Mitchell  <mark@codesourcery.com>
2145
2146         * splay-tree.h (splay_tree_compare_pointers): Define.
2147
2148 1999-03-30  Mark Mitchell  <mark@codesourcery.com>
2149
2150         * splay-tree.c (splay_tree_compare_ints): Define.
2151
2152 1999-03-30  Tom Tromey  <tromey@cygnus.com>
2153
2154         * cplus-dem.c (consume_count): If `count' wraps, return 0 and
2155         don't advance input pointer.
2156         (demangle_class_name): If consume_count didn't find a count, do
2157         nothing.  Don't bother with `strlen' sanity check; consume_count
2158         does it for us.
2159
2160 1999-03-16  Stan Shebs  <shebs@andros.cygnus.com>
2161
2162         From Art Haas  <ahaas@neosoft.com>:
2163         * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
2164         when doing arm or hp style.
2165         (demangle_nested_args): Decr forgetting_types field when done.
2166
2167 Thu Mar 11 01:22:58 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2168
2169         * pexecute.c (__CYGWIN32__): Rename to
2170         (__CYGWIN__): this.
2171         * xmalloc.c: Likewise.
2172
2173         Changes to support i386-pc-uwin.
2174         * configure.in (*-*-uwin*): Workaround for vfork bug.
2175         * configure: Regenerate.
2176         * pexecute.c (pexecute): Be like standard Unix.
2177         (pwait): Likewise.
2178         * xmalloc.c (first_break): Define.
2179         (xmalloc_set_program_name): Use.
2180         (xmalloc): Use.
2181
2182 Thu Mar 11 01:07:55 1999  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2183
2184         * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
2185
2186 Sun Feb 28 22:30:44 1999  Geoffrey Noer  <noer@cygnus.com>
2187
2188         * config.table: Check cygwin*, not cygwin32*.
2189
2190 Tue Feb  9 16:39:01 1999  Dave Brolley  <brolley@cygnus.com>
2191
2192         * Makefile.in: Change mkstemp -> mkstemps.
2193
2194 Tue Feb  9 01:12:27 1999  Marc Espie <Marc.Espie@liafa.jussieu.fr>
2195
2196         * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
2197         * configure.in (funcs): Check for and conditionally add mkstemps to
2198         the list of functions libiberty will provide.
2199         * configure: Rebuilt.
2200
2201 Wed Feb  3 00:01:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2202
2203         * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
2204         platforms that don't have HZ.
2205         * getruntime.c (HZ): Likewise.
2206
2207 Sat Jan 30 13:28:04 1999  Richard Henderson  <rth@cygnus.com>
2208
2209         * Makefile.in (xstrdup.o): Depend on config.h.
2210
2211 Wed Jan 13 07:26:44 1999  H.J. Lu  (hjl@gnu.org)
2212
2213         * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
2214         freeing it.
2215
2216 Wed Jan 13 14:16:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2217
2218         * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
2219
2220 Tue Jan  5 15:58:29 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
2221
2222         * Makefile.in (CFILES): fix typo, splay-tree.c instead of
2223         splay-tree.o.
2224
2225 1999-01-04  Jason Molenda  (jsm@bugshack.cygnus.com)
2226
2227         * configure.in: Require autoconf 2.12.1 or higher.
2228
2229 1998-12-30  Michael Meissner  <meissner@cygnus.com>
2230
2231         * random.c (NULL): Don't redefine NULL if it is already defined.
2232
2233 Tue Dec 22 09:43:35 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2234
2235         * argv.c (buildargv): Cast the result of alloca in assignment.
2236
2237         * choose-temp.c: Include stdlib.h.
2238
2239         * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
2240         (snarf_numeric_literal): Constify first parameter.
2241         (code_for_qualifier): Avoid a gcc extension, make the parameter an
2242         int, not a char.
2243         (demangle_qualifier): Likewise.
2244         (demangle_signature): Cast the argument of a ctype function to
2245         unsigned char.
2246         (arm_pt): Add parens around assignment used as truth value.
2247         (demangle_arm_hp_template): Constify variable `args'.
2248         (do_hpacc_template_const_value): Cast the argument of a ctype
2249         function to unsigned char.
2250         (do_hpacc_template_literal): Remove unused variable `i'.
2251         (snarf_numeric_literal): Constify parameter `args'.
2252         Cast the argument of a ctype function to unsigned char.
2253
2254         * floatformat.c (floatformat_to_double): Add explicit braces to
2255         avoid ambiguous `else'.
2256
2257         * fnmatch.c (fnmatch): Change type of variables `c', `c1',
2258         `cstart' and `cend' to unsigned char.  Cast the argument of macro
2259         `FOLD', which uses ctype functions, to unsigned char.
2260
2261         * objalloc.c (free): Add prototype.
2262
2263 Sun Dec 20 16:03:46 1998  Hans-Peter Nilsson  <hp@axis.se>
2264
2265         * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
2266
2267 Fri Dec 18 17:50:18 1998  David Taylor  <taylor@texas.cygnus.com>
2268
2269         * cplus-dem.c (demangle_arm_pt): remove declaration -- function
2270         doesn't exist.
2271         (do_hpacc_template_literal): remove unused variable `i'.
2272
2273 Fri Dec 18 16:11:43 EST 1998  Andrew MacLeod  <amacleod@cygnus.com>
2274
2275         * cplus-dem.c (demangle_fund_type): Process CV and u codes before
2276         bumping the pointer we read from. Also prepend these codes,
2277         as we do in other places.
2278
2279 1998-12-18  Nick Clifton  <nickc@cygnus.com>
2280
2281         * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
2282         'const char *' in order to match its usage when calling siblings.
2283         (snarf_numeric_literal): Make first arg 'const char **' in order
2284         to match usage.
2285
2286 Mon Dec 14 09:55:50 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2287
2288         * choose-temp.c: Don't check IN_GCC anymore.
2289
2290         * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
2291         * memchr.c (memchr): Likewise.
2292         * memcpy.c (memcpy): Likewise.
2293         * memmove.c (memmove): Likewise.
2294
2295         * mkstemp.c: Don't check IN_GCC anymore.
2296         * pexecute.c: Likewise.
2297         * splay-tree.c: Likewise.
2298
2299         * strchr.c (strchr): Use `const', not `CONST'.
2300         * strrchr.c (strrchr): Likewise.
2301         * strtol.c (strtol): Likewise.
2302         * strtoul.c (strtoul): Likewise.
2303
2304 Fri Dec  4 13:51:04 1998  David Taylor   <taylor@texas.cygnus.com>
2305                           Elena Zannoni  <ezannoni@cygnus.com>
2306                           Stan Shebs     <shebs@cygnus.com>
2307                           Edith Epstein  <eepstein@cygnus.com>
2308                           Andres MacLeod <amacleod@cygnus.com>
2309                           Satish Pai     <pai@apollo.hp.com>
2310
2311         * HP aCC demangling support.
2312         * cplus-dem.c
2313         (main): Remove default to HP style demangling, set to EDG
2314         demangling correctly when -edg specified; set the demangling style
2315         when user specifies 'edg'. Set strip_underscore to
2316         prepends_underscore, if not HPUXHPPA.  Set
2317         current_demangling_style to hp_demangling if HPUXHPPA.  Set
2318         current demangling style correctly if the switch is hp.  Read
2319         label correctly also in the HP style case.
2320         (work_stuff): add temp_start field; add field for volatile member
2321         function.
2322         (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
2323         style for this case is the same as ARM.
2324         (demangle_args): handle EDG_DEMANGLING style; support HP style.
2325         (demangle_arm_hp_template): new function. (It was
2326         demangle_arm_pt.); check and set value of temp_start field in
2327         multiple places. Also, when ceching for end of template args,
2328         check to see if at end of static member of template class.
2329         (demangle_class): new local variable : save_class_name_end Don't
2330         include template args in string defining class.
2331         (demangle_class_name): use demangel_arm_hp_template.
2332         (demangle_function_name): handle case where demangling style is
2333         HP_DEMANGLING and currently point at an 'X' in the mangled name.
2334         Handle EDG_DEMANGLING style.  Handle constructor and destructor
2335         ops for HP style.
2336         (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
2337         styles.  global destructor and constructor for HP style are same
2338         as for ARM style. Same for local variables.
2339         (demangle_qualified): handle EDG_DEMANGLING style.
2340         (demangle_signature): add case for volatile member function.  For
2341         cases '1' - '9' : initialize the temp_start field to -1 and handle
2342         the EDG_DEMANGLING style.  for case 'F' : handle EDG_DEMANGLING
2343         and AUTO_DEMANGLING styles.  If expecting a function and managed
2344         to demangle the funct args, then handle the LUCID_DEMANGLING,
2345         ARM_DEMANGLING, and EDG_DEMANGLING styles.  Add case for local
2346         class name after "Lnnn_ in HP style case. HP style too needs to
2347         forget types.  _nnn is OK for HP style, so don't report failure.
2348         (do_hpacc_template_const_value): new function. Handle template's
2349         value param for HP/aCC.
2350         (do_hpacc_template_literal): new function.  Handle a template's
2351         literal parameter for HP aCC.
2352         (recursively_demangle): new function
2353         (snarf_numeric_literal): new function.
2354         (usage): add 'edg' to the list of demangling styles; add hp switch
2355         to message.
2356
2357 Sat Nov 28 17:25:22 1998  Christopher Faylor <cgf@cygnus.com>
2358
2359         * pexecute.c: Remove obsolete ifdefed cygwin code.
2360
2361 Fri Nov 27 13:26:06 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2362
2363         * choose-temp.c: Always include libiberty.h.  Avoid redundancies.
2364         * cplus-dem.c: Likewise.  Conform to libiberty.h.
2365         * pexecute.c: Likewise.
2366         * splay-tree.c: Likewise.
2367
2368 1998-11-25  Mike Stump  <mrs@wrs.com>
2369
2370         * Makefile.in (splay-tree.o): Add config.h dependency.
2371
2372 Mon Nov 23 16:59:49 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2373
2374         *  configure.in: Use AC_PREREQ(2.12.1).
2375
2376 1998-11-16  Benjamin Kosnik  <bkoz@haight.constant.com>
2377
2378         * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
2379
2380 Thu Nov 19 22:15:50 1998  Jeffrey A Law  (law@cygnus.com)
2381
2382         * mpw.c (mpw_access): Add missing parens.
2383
2384 Thu Nov 19 12:59:21 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2385
2386         * configure.in: Call AC_HEADER_SYS_WAIT.
2387
2388         * pexecute.c: Include sys/wait.h when !IN_GCC.
2389
2390 Thu Nov 19 14:38:20 1998  Geoffrey Noer  <noer@cygnus.com>
2391
2392         * pexecute.c: revert back to checking old Cygwin
2393         preprocessor symbol until some time has passed.
2394
2395 Wed Nov 18 08:52:26 1998  Christopher Faylor <cgf@cygnus.com>
2396
2397         * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
2398         since it will now support similar constructs.
2399
2400 Fri Nov 13 19:18:05 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2401
2402         * configure.in: Check for calloc.
2403
2404         * calloc.c: New file.
2405
2406         * xmalloc.c (xcalloc): New function.
2407
2408 Fri Nov 13 08:51:46 EST 1998  Andrew MacLeod  <amacleod@cygnus.com>
2409
2410         *cplus-dem.c (demangle_prefix): Use the last "__"
2411         in the mangled name when looking for the signature. This allows
2412         template names to begin with "__".
2413
2414 1998-11-08  Mark Mitchell  <mark@markmitchell.com>
2415
2416         * cplus-dem.c (type_kind_t): Add tk_reference.
2417         (demangle_template_value_parm): Handle it.
2418         (do_type): Use it for references, instead of tk_pointer.
2419
2420         * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
2421         not internal_cplus_demangle.
2422
2423 Sat Nov  7 16:02:10 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2424
2425         * choose-temp.c: Don't include gansidecl.h.
2426         * mkstemp.c: Likewise.
2427         * pexecute.c: Likewise.
2428
2429 Mon Nov  2 15:05:33 1998  Geoffrey Noer  <noer@cygnus.com>
2430
2431         * configure.in: detect cygwin* instead of cygwin32*
2432         * configure: regenerate
2433
2434 Mon Nov  2 10:22:01 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2435
2436         * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
2437         whether to include config.h.  Possibly include unistd.h in the
2438         !IN_GCC case.  Define VFORK_STRING as a printable function call
2439         for error messages (either "vfork" or "fork".)  If HAVE_VFORK_H is
2440         defined, include vfork.h.  If VMS is defined, define vfork()
2441         appropriately.  Remove vfork check on USG, we're using autoconf.
2442         (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
2443         locally what string to use.
2444
2445 1998-10-26  Mark Mitchell  <mark@markmitchell.com>
2446
2447         * splay-tree.c: Tweak include directives to make sure declarations of
2448         xmalloc and free are available.
2449
2450 1998-10-25  Mark Mitchell  <mark@markmitchell.com>
2451
2452         * cplus-dem.c (gnu_special): Fix handling of virtual tables in
2453         anonymous namespaces.
2454
2455 1998-10-23  Mark Mitchell  <mark@markmitchell.com>
2456
2457         * cplus-dem.c (work_stuff): Replace const_type and volatile_type
2458         with type_quals.
2459         (TYPE_UNQUALIFIED): New macro.
2460         (TYPE_QUAL_CONST): Likewise.
2461         (TYPE_QUAL_VOLATILE): Likewise.
2462         (TYPE_QUAL_RESTRICT): Likewise.
2463         (code_for_qualifier): New function.
2464         (qualifier_string): Likewise.
2465         (demangle_qualifier): Likewise.
2466         (internal_cplus_demangle): Use them.
2467         (demangle_signature): Likewise.
2468         (demangle_template_value_parm): Likewise.
2469         (do_type): Likewise.
2470         (demangle_fund_type)): Likewise.
2471
2472 Thu Oct 22 19:58:43 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2473
2474         * splay-tree.c (splay_tree_foreach_helper): Make definition static
2475         to match prototype.
2476
2477 1998-10-21  Mark Mitchell  <mark@markmitchell.com>
2478
2479         * splay-tree.c: New file.
2480         * Makefile.in (CFILES): Add it.
2481         (REQUIRED_OFILES): Likewise.
2482         (splay-tree.o): Add dependencies.
2483
2484 Tue Oct 20 12:29:02 1998  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2485
2486         * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
2487         range of 'K' index.
2488
2489 Thu Oct 15 18:51:12 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2490
2491         * choose-temp.c: Prototype mkstemps() when IN_GCC.
2492
2493         * cplus-dem.c (consume_count): Cast argument of ctype macro to
2494         `unsigned char'.
2495         (cplus_demangle_opname): Cast the result of `strlen' to (int) when
2496         comparing against one.
2497         (cplus_mangle_opname): Likewise.
2498         (demangle_integral_value): Cast argument of ctype macro to
2499         `unsigned char'.
2500         (demangle_template_value_parm): Likewise.
2501         (demangle_template): Initialize variable `bindex'.  Cast the
2502         result of `strlen' to (int) when comparing against one.  Remove
2503         unused variable `start_of_value_parm'.
2504         (demangle_class_name): Cast the result of `strlen' to (int) when
2505         comparing against one.
2506         (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
2507         (gnu_special): Likewise.  Cast the result of `strlen' to (int)
2508         when comparing against one.
2509         (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
2510         (get_count): Likewise.
2511         (do_type): Likewise.  Cast the result of `strlen' to (int) when
2512         comparing against one.
2513         (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
2514         (demangle_function_name): Cast the result of `strlen' to (int)
2515         when comparing against one.
2516
2517         * mkstemp.c (mkstemps): Cast variable `len' to (int) when
2518         comparing against one.
2519
2520 Tue Oct 13 23:51:51 1998  Jeffrey A Law  (law@cygnus.com)
2521
2522         * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
2523         * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
2524         * config.in, configure: Rebuilt.
2525
2526         * getopt.c: Check HAVE_STRINGS_H before including strings.h.
2527         * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
2528         * config.in, configure: Rebuilt.
2529
2530 Mon Oct 12 19:15:59 1998  Geoffrey Noer  <noer@cygnus.com>
2531
2532         * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
2533
2534 Sun Oct 11 17:36:06 1998  Michael Tiemann  <tiemann@holodeck.cygnus.com>
2535
2536         * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
2537
2538 Thu Oct  8 23:42:08 1998  Jeffrey A Law  (law@cygnus.com)
2539
2540         * Merge egcs & devo libiberty.
2541
2542 1998-09-08  Martin von Löwis  <loewis@informatik.hu-berlin.de>
2543
2544         * cplus-dem.c (demangle_arm_pt): Demangle anonymous namespaces.
2545
2546 Mon Sep  7 23:29:01 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2547
2548         * mkstemp.c: Include config.h even when not IN_GCC.  Wrap header
2549         inclusions inside HAVE_*_H macros.  Include ansidecl.h when not
2550         IN_GCC.
2551
2552         * vasprintf.c: Include stdarg.h/varargs.h first.
2553
2554         * vprintf.c: Likewise.
2555
2556 Sat Sep  5 03:24:49 1998  Jeffrey A Law  (law@cygnus.com)
2557
2558         * pexecute.c: Updates from gcc.  Copy in gcc has been removed.  This
2559         is the canonical copy.  Define ISSPACE if !IN_GCC.
2560         * alloca.c, vfprintf.c, choose-temp.c, mkstemp.c, getopt.c: Similarly.
2561         * getopt1.c, obstack.c: Similarly.
2562         * Makefile.in: Build mkstemp.o
2563
2564 Tue Sep  1 23:12:47 1998  Christopher Faylor <cgf@cygnus.com>
2565
2566         * configure.in: Include asprintf in list of functions known not
2567         to be in newlib.
2568         * configure: Rebuild.
2569
2570 Wed Aug 19 14:05:01 1998  Mumit Khan  <khan@xraylith.wisc.edu>
2571
2572         * cplus-dem.c (work_stuff): Add dllimported.
2573         (demangled_prefix): Mark symbols imported from PE DLL.
2574         (internal_cplus_demangled): Handle.
2575
2576 1998-08-17  Jason Merrill  <jason@yorick.cygnus.com>
2577
2578         * cplus-dem.c (do_type): Fix simple array handling.  If we fail,
2579         stay failed.
2580
2581 Mon Aug 17 10:40:34 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2582
2583         * cplus-dem.c: Include config.h if it exists.  Also, only
2584         prototype malloc/realloc if we can't get stdlib.h.
2585
2586 Sat Aug 15 16:15:01 1998  Ian Lance Taylor  <ian@cygnus.com>
2587
2588         * configure.in: Switch back to checking --with-target-subdir when
2589         deciding whether to check for newlib, undoing part of July 15
2590         change.
2591         * configure: Rebuild.
2592
2593 Thu Aug 13 16:47:38 1998  Mark Mitchell  <mark@markmitchell.com>
2594
2595         * cplus-dem.c (type_kind_t): New type.
2596         (demangle_template_value_parm): Add type_kind_t parameter.  Rely
2597         on this paramter, rather than demangling the type again.
2598         (demangle_integral_value): Pass tk_integral.
2599         (demangle_template_: Pass the value returned from do_type.
2600         (do_type): Return a type_kind_t.  Pass tk_integral to
2601         demangle_template_value_parm for array bounds.
2602         (demangle_fund_type): Likewise.
2603
2604         Also incorporate from GCC version:
2605
2606         Tue Jul 21 13:28:19 1998  Jason Merrill  <jason@yorick.cygnus.com>
2607
2608         * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
2609
2610 Thu Aug 13 16:47:38 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2611
2612         * cplus-dem.c (demangle_nested_args): Make function definition
2613         static to match the prototype.
2614
2615 Tue Jul 28 11:33:09 1998  Mark Mitchell  <mark@markmitchell.com>
2616
2617         * cplus-dem.c (type_kind_t): New type.
2618         (demangle_template_value_parm): Add type_kind_t parameter.  Rely
2619         on this paramter, rather than demangling the type again.
2620         (demangle_integral_value): Pass tk_integral.
2621         (demangle_template_: Pass the value returned from do_type.
2622         (do_type): Return a type_kind_t.  Pass tk_integral to
2623         demangle_template_value_parm for array bounds.
2624         (demangle_fund_type): Likewise.
2625
2626         Also incorporate from GCC version:
2627
2628         Tue Jul 21 13:28:19 1998  Jason Merrill  <jason@yorick.cygnus.com>
2629
2630         * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
2631
2632 Mon Jul 27 12:16:08 1998  Ian Lance Taylor  <ian@cygnus.com>
2633
2634         * Makefile.in (ALLOCA): New variable.
2635         ($(TARGETLIB)): Add $(ALLOCA) to library.
2636         (needed-list): Add $(ALLOCA).
2637         ($(ALLOCA)): Depend upon stamp-picdir.
2638
2639 Sun Jul 19 08:23:17 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2640
2641         * cplus-dem.c (demangle_nested_args): Make function definition
2642         static to match the prototype.
2643
2644 Wed Jul 15 00:12:58 1998  Ian Lance Taylor  <ian@cygnus.com>
2645
2646         * configure.in: Check --with-cross-host rather than
2647         --with-target-subdir when deciding whether build uses a cross
2648         compiler, and when deciding where to install the library.
2649         * configure: Rebuild.
2650
2651 Sun Jul 12 01:27:05 1998  Jason Merrill  <jason@yorick.cygnus.com>
2652
2653         * cplus-dem.c (demangle_nested_args): Return a value.
2654
2655 Sat Jul 11 16:19:48 1998  Mark Mitchell  <mark@markmitchell.com>
2656
2657         * cplus-dem.c (string): Move definition before work_stuff.
2658         (work_stuff): Add volatile_type, forgetting_types,
2659         previous_argument, and nrepeats fields.
2660         (SCOPE_STRING): New macro.
2661         (demangle_template): Add `remember' parameter.  Add comment.
2662         Register the `B' code type here, if remembering.  Tidy.  Fix crash
2663         on NULL tmpl_argvec.  Be consistent with use of tname/trawname.
2664         (demangle_nested_args): New function.
2665         (internal_cplus_demangle): Handle volatile-qualified member
2666         functions.
2667         (mop_up): Delete the previous_argument string if present.
2668         (demangle_signature): Tidy.  Handle volatile-qualified member
2669         functions.  Handle back-references using the `B' code.  Use extra
2670         parameter to demangle_template and SCOPE_STRING where appropriate.
2671         (demangle_template_value_parm): Fix thinko; 'B' is not an integral
2672         code.
2673         (demangle_class): Use SCOPE_STRING.
2674         (gnu_special): Pass additional argument to demangle_template.
2675         Use SCOPE_STRING.
2676         (demangle_qualified): Save qualified types for later
2677         back-references.  Handle constructors and destructors for template
2678         types correctly.
2679         (do_type): Tidy.  Use SCOPE_STRING.  Pass extra argument to
2680         demangle_template.  Use demangled_nested_args.  Don't remember
2681         qualified types here; that's now done in demangle_qualified.
2682         Similarly for templates.
2683         (do_arg): Improve commment.  Handle 'n' repeat code.
2684         (remember_type): Check forgetting_types.
2685         (demangle_args): Deal with 'n' repeat codes.  Tidy.
2686
2687 Thu Jul  2 16:26:24 1998  Ian Lance Taylor  <ian@cygnus.com>
2688
2689         * config.table: Only use mh-fbsd21 on *-*-freebsd2.2.[012], not on
2690         *-*-freebsd2.2.*.  From Dmitrij Tejblum <tejblum@arc.hq.cti.ru>.
2691
2692 Mon Jun 15 16:29:01 1998  Ian Lance Taylor  <ian@cygnus.com>
2693
2694         * configure.in (setobjs): Correct quoting error in cygwin32 case.
2695         From Chris Faylor <cgf@cygnus.com>.
2696
2697 Mon Jun  1 13:47:55 1998  Jason Molenda  (crash@bugshack.cygnus.com)
2698
2699         * obstack.c: Update to latest FSF version.
2700
2701 Mon Jun  1 14:17:36 1998  Mike Stump  <mrs@wrs.com>
2702
2703         * Makefile.in: Add a dependency on stamp-picdir for the
2704         objects, so that we can do a parallel build.
2705
2706 Sat May 30 22:17:13 1998  Mumit Khan  <khan@xraylith.wisc.edu>
2707
2708         * configure.in (checkfuncs): Add missing "'".
2709
2710 Fri May 29 12:40:41 1998  Jason Molenda  (crash@bugshack.cygnus.com)
2711
2712         * obstack.c (_obstack_memory_used):  Elide this function if we're
2713         on a system with GNU libc.
2714
2715 Tue May 26 18:28:43 1998  Ian Lance Taylor  <ian@cygnus.com>
2716
2717         * Makefile.in (distclean): Remove config.log.
2718
2719 Tue May 26 15:01:52 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2720
2721         * Makefile.in (distclean): Don't remove alloca-conf.h.
2722
2723 Fri May 22 01:38:07 1998  Hans-Peter Nilsson  <hp@axis.se>
2724
2725         * cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.
2726
2727 1998-05-21  Mark Mitchell  <mmitchell@usa.net>
2728
2729         * cplus-dem.c (do_type): Handle volatile qualification.
2730
2731 1998-05-21  Manfred Hollstein  <manfred@s-direktnet.de>
2732
2733         * configure.in: Check for unistd.h as well.
2734         * configure: Rebuild.
2735         * config.in: Rebuild.
2736         * getpagesize.c (GNU_OUR_PAGESIZE): Use sysconf only if _SC_PAGESIZE
2737         is defined in unistd.h. Reformat conditional block for easier reading.
2738
2739         * config.table (shared): Default to no if ${enable_shared}
2740         is unset or empty; this logic is used by the toplevel
2741         configure scripts, too.
2742
2743 Sat May 16 14:01:26 1998  Jeffrey A Law  (law@cygnus.com)
2744
2745         * config.table: Add line to set enable_shared in the Makefile
2746         as needed.
2747
2748 Wed May 13 14:24:38 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2749
2750         * cplus-dem.c (squangle_mop_up): Change return type to void.
2751         (internal_cplus_demangle): Remove unused parameter `options'.
2752         All callers changed.
2753         (cplus_demangle_opname): Remove function wide variable `int i' and
2754         replace with `size_t i' at each location where it is used.
2755         (cplus_mangle_opname): change type of `i' from int to size_t.
2756
2757 Wed May 13 13:39:38 1998  Ian Lance Taylor  <ian@cygnus.com>
2758
2759         * alloca-conf.h: Include config.h.  Check HAVE_ALLOCA_H rather
2760         than sparc or sun.
2761         * Makefile.in (argv.o): Depend upon config.h and alloca-conf.h.
2762
2763 Fri May  8 00:23:51 1998  Ian Lance Taylor  <ian@cygnus.com>
2764
2765         * configure.in: Set libiberty_topdir correctly when srcdir is
2766         "." and with_target_subdir is not set.
2767         * configure: Rebuild.
2768
2769 Thu May  7 13:01:44 1998  Ian Lance Taylor  <ian@cygnus.com>
2770
2771         * configure.in: Add *-*-mingw32* case.
2772         * configure: Rebuild.
2773
2774 Wed May  6 11:33:51 1998  Ian Lance Taylor  <ian@cygnus.com>
2775
2776         * config.table: Never use a PIC file for *-*-cygwin32*.
2777
2778         * Makefile.in (config.status): Depend upon config.table.
2779
2780         * configure.in: On a cygwin32 host, always compile random, and
2781         don't test for sys_siglist, strsignal, or psignal.
2782         * configure: Rebuild.
2783
2784         * clock.c: Check HAVE_SYS_PARAM_H rather than NO_SYS_PARAM_H.
2785         * getcwd.c: Likewise.
2786         * getpagesize.c: Likewise.
2787         * getruntime.c: Likewise.
2788
2789 Tue May  5 18:08:32 1998  Ian Lance Taylor  <ian@cygnus.com>
2790
2791         Use autoconf tests rather than the old dummy.c test:
2792         * configure.in: Add AC_ARG_WITH calls for --with-target-subdir and
2793         --with-newlib.  Add AC_CONFIG_HEADER.  Use AC_REPLACE_FUNCS for
2794         most functions.  Add special cases to handle newlib and VxWorks.
2795         Remove target_makefile_frag.  Create stamp-h in AC_OUTPUT if
2796         CONFIG_HEADERS is set.  Only call config-ml.in in AC_OUTPUT if
2797         CONFIG_FILES is set; set ac_file before calling it.
2798         * config.table (arm-*-riscix*, *-*-cygwin32): Remove.
2799         (*-*-hpux*, *-*-hiux*, *-*-irix4*, *-*-solaris2*): Remove.
2800         (*-*-sysv4*, *-*-go32, *-*-vxworks5*, *-*-vxworks): Remove
2801         (i[3456]-*-mingw32*): Remove.
2802         * Makefile.in (ERRORS_CC, CONFIG_H, NEEDED_LIST): Remove.
2803         (LIBOBJS): New variable.
2804         (HOST_OFILES, DO_ALSO, STAGESTUFF): Remove.
2805         (all): Depend upon needed-list.  Don't check RULE1.
2806         (@target_makefile_frag@): Remove.
2807         (COMPILE.c): Include @DEFS@.
2808         (HFILES): Add alloca-conf.h.
2809         (REQUIRED_OFILES): Remove basename.o.
2810         ($(TARGETLIB)): New target.
2811         (stamp-needed, lneeded-list, needed.awk, stamp-config): Remove.
2812         (lconfig.h, needed2.awk, dummy.o, errors): Remove.
2813         (needed-list, config.h): Rewrite.
2814         (RULE1, $(RULE1), RULE2, $(RULE2)): Remove.
2815         (.always.): Remove.
2816         (Makefile): Set CONFIG_FILES and CONFIG_HEADERS.
2817         (stamp-h): New target.
2818         (atexit.o, clock.o, getcwd.o, getpagesize.o): New targets.
2819         (basename.o): Don't depend upon config.h.
2820         (getruntime.o): Depend upon config.h.
2821         * atexit.c: Include config.h.  Check HAVE_ON_EXIT rather than
2822         NEED_on_exit.
2823         * basename.c: Don't include config.h.  Don't check NEED_basename.
2824         * clock.c: Include config.h.
2825         * getcwd.c: Likewise.
2826         * getpagesize.c: Likewise.
2827         * getruntime.c: Likewise.  Fix checks which set HAVE_GETRUSAGE and
2828         HAVE_TIMES.
2829         * strerror.c: Change uses of NEED_sys_errlist to
2830         HAVE_SYS_ERRLIST.  Likewise for NEED_strerror and HAVE_STRERROR.
2831         * strsignal.c: Likewise for NEED_sys_siglist and HAVE_SYS_SIGLIST,
2832         and for NEED_strsignal and HAVE_STRSIGNAL and for NEED_psignal and
2833         HAVE_PSIGNAL.
2834         * acconfig.h: New file.
2835         * dummy.c: Remove.
2836         * functions.def: Remove.
2837         * config/mh-cxux7 (HDEFINES): Remove -DHAVE_SYSCONF.
2838         * config/mh-windows (HDEFINES): Remove.
2839         * config/mh-cygwin32: Remove.
2840         * config/mh-go32: Remove.
2841         * config/mh-irix4: Remove.
2842         * config/mh-riscix: Remove.
2843         * config/mh-sysv4: Remove.
2844         * config/mt-mingw32: Remove.
2845         * config/mt-vxworks5: Remove.
2846         * config.in: New file, generated using autoheader.
2847         * configure: Rebuild.
2848
2849 Mon May  4 13:00:28 1998  Ian Lance Taylor  <ian@cygnus.com>
2850
2851         * configure.in: Rewrite to use autoconf.
2852         * configure: Generate using autoconf.
2853         * config/mh-a68bsd: Remove.
2854         * config/mh-apollo68: Remove.
2855         * config/mh-hpbsd: Remove.
2856         * config/mh-ncr3000: Remove.
2857         * config/mh-sysv: Remove.
2858         * config/mh-aix (RANLIB, INSTALL): Don't define.
2859         * config/mh-cxux7 (RANLIB, INSTALL): Don't define.
2860         * config/mh-irix4 (CC, RANLIB, INSTALL): Don't define.
2861         * config/mh-sysv4 (RANLIB, INSTALL): Don't define.
2862         * config.table: Change config_shell to CONFIG_SHELL, and use
2863         libiberty_topdir to find move-if-change.
2864         (m68k-apollo-bsd*, m68k-apollo-sysv*): Remove.
2865         (i[3456]86-ncr-sysv4*, *-*-dgux*, hppa*-hp-bsd*): Remove.
2866         (*-*-irix*, *-*-m88kbcs*, *-*-sysv*): Remove.
2867         * Makefile.in (srcdir): Set to @srcdir@.
2868         (VPATH): Likewise.
2869         (prefix, exec_prefix, bindir, libdir): Set to autoconf variables.
2870         (SHELL, INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Likewise.
2871         (CC, CFLAGS, RANLIB)): Likewise.
2872         (datadir, man*dir, infodir, includedir, MAKEINFO): Remove.
2873         (target_makefile_frag, host_makefile_frag): Add substitutions.
2874         (INSTALL_DEST): Set to @INSTALL_DEST@.
2875         (Makefile): Depend upon config.status.  Don't depend upon
2876         $(host_makefile_frag) or $(target_makefile_frag).
2877         (config.status): New target.
2878
2879 Sun May  3 17:58:49 1998  Ian Lance Taylor  <ian@cygnus.com>
2880
2881         * config/mt-sunos4: Remove.  Should be handled by --with-headers
2882         and --with-libraries options at top level.
2883         * config.table: Never use mt-sunos4.
2884
2885         * alloca-conf.h: New file, combining alloca-norm.h and
2886         alloca-botch.h.
2887         * alloca-norm.h: Remove.
2888         * alloca-botch.h: Remove.
2889         * configure.in: Set shell variables files and links to empty.
2890         * config.table: Don't set shell variable files.
2891         * configure.bat: Don't create alloca-conf.h.
2892         * makefile.vms: Likewise.
2893         * mpw-config.in: Likewise.
2894         * vmsbuild.com: Likewise.
2895
2896 Fri May  1 11:41:42 1998  Ian Lance Taylor  <ian@cygnus.com>
2897
2898         * Makefile.in ($(HOST_OFILES) $(REQUIRED_OFILES)): Remove old
2899         target depending upon config.h.
2900         (alloca.o): Add target depending upon config.h
2901         (basename.o, choose-temp.o, fnmatch.o): Likewise.
2902         (getopt.o, getopt1.o, pexecute.o, strerror.o): Likewise.
2903         (strsignal.o, xstrerror.o): Likewise.
2904
2905 Fri May  1 04:26:25 1998  Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2906
2907         * cplus-dem.c (cplus_demangle_opname):  Initialize work.
2908
2909 Mon Apr 27 15:53:30 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
2910
2911         * cplus-dem.c (demangle_qualified): Replace missing else.
2912
2913 Sun Apr 26 15:38:50 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2914
2915         * cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
2916         length in the name of a virtual table.
2917
2918 Wed Apr 22 10:53:49 EDT 1998 Andrew MacLeod  <amacleod@cygnus.com>
2919
2920         * cplus-dem.c (struct work stuff): Add field for B and K mangle codes.
2921         (cplus_demangle_opname): Call mop_up_squangle.
2922         (cplus_demangle): Initialize squangle info, then call
2923         internal_cplus_demangle. (Most code moved there as well)
2924         (internal_cplus_demangle): New function, performs most of what use
2925         to be done in cplus_demangle, but is only called with this file.
2926         (squangle_mop_up): New function to clean up B and K code data.
2927         (mop_up): set pointers to NULL after freeing.
2928         (demangle_signature, demangle_template, demangle_class): Add
2929         switch elements to handle K and B codes.
2930         (demangle_prefix, gnu_special, demangle_qualified): Add
2931         code to handle K and B codes.
2932         (do_type, demangle_fund_type): Handle B and K codes.
2933         (remember_Ktype): New function to store K info.
2934         (register_Btype, remember_Btype): New functions for B codes.
2935         (forget_B_and_K_types): New function to destroy B and K info.
2936
2937 Fri Apr 10 01:49:10 1998  Jeffrey A Law  (law@cygnus.com)
2938
2939         * COPYING.LIB, choose-temp.c, cplus-dem.c: Sync with egcs & gcc.
2940
2941 Thu Mar  5 09:23:28 1998  Manfred Hollstein  <manfred@s-direktnet.de>
2942
2943         * config.table: Make locating frag files failsafe even for the
2944         special case if configuring and building in srcdir.
2945
2946 Mon Feb 23 14:33:15 1998  Ian Lance Taylor  <ian@cygnus.com>
2947
2948         * choose-temp.c: Fix handling of sys/file.h to work in libiberty.
2949
2950 Sun Feb 22 18:03:23 1998  Jeffrey A Law  (law@cygnus.com)
2951
2952         * choose-temp.c: Sync with copy in gcc.
2953
2954 Thu Feb 12 16:29:49 1998  Ian Lance Taylor  <ian@cygnus.com>
2955
2956         * getopt.c: Update to latest FSF version.
2957         * getopt1.c: Likewise.
2958
2959 Tue Feb 10 16:58:33 1998  Stan Shebs  <shebs@andros.cygnus.com>
2960
2961         * cplus-dem.c (gnu_special): Don't get confused by .<digits>
2962         strings that are not actually lengths.
2963
2964 Fri Feb  6 01:35:17 1998  Manfred Hollstein  <manfred@s-direktnet.de>
2965
2966         * Makefile.in (FLAGS_TO_PASS): Don't pass PICFLAG.
2967         (.c.o): Check value of enable_shared, not PICFLAG.
2968         (stamp-picdir): Dito.
2969
2970 Thu Feb  5 18:48:56 1998  Geoffrey Noer  <noer@cygnus.com>
2971
2972         * config/mh-cygwin32: remove vasprintf.o from EXTRA_OFILES
2973         since it gets built automatically
2974
2975 Sun Feb  1 02:52:32 1998  Mike Stump  <mrs@wrs.com>
2976
2977         * config.table (vxworks configs): Default to VxWorks 5.x, as that is
2978         the currently shipping OS.
2979
2980 Tue Jan 27 16:08:20 1998  Pat Rankin  <rankin@eql.caltech.edu>
2981
2982         * vmsbuild.com [REQUIRE_OFILES]: Synchronized with Makefile.in:
2983         Add fnmatch.o and objalloc.o; remove vasprintf.o.
2984         [config.h]: Define NEED_strsignal.
2985
2986 Mon Jan 19 12:20:01 1998  Ian Lance Taylor  <ian@cygnus.com>
2987
2988         * functions.def: Correct argument types for strerror and
2989         strsignal.  Reported by Alex Gutman <agutman@emc.com>.
2990
2991 Sun Jan 18 15:57:28 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>
2992
2993         * vasprintf.c (int_vasprintf): Increase buffer size for float/double
2994         values.
2995
2996 Sat Jan 17 22:28:38 1998  Mumit Khan  <khan@xraylith.wisc.edu>
2997                           J.J. VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
2998
2999         Add mingw32 support.
3000         * pexecute.c (pexecute): New function for mingw32. Supports pipes.
3001         (pwait): New function for mingw32.
3002
3003         * config.table (i[3456]86-*-mingw32*): Support for i386-mingw32.
3004         * config/mt-mingw32: New file.
3005         * xmalloc.c (first_break): Not used for mingw32.
3006         (xmalloc_set_program_name): Don't use sbrk on mingw32.
3007         (xmalloc): Likewise.
3008         (xrealloc): Likewise.
3009
3010 Sat Jan 17 22:28:05 1998  Jeffrey A Law  (law@cygnus.com)
3011
3012         * choose-temp.c: Sync with gcc version.
3013
3014 Tue Jan 13 18:34:39 1998  Jim Wilson  <wilson@cygnus.com>
3015
3016         * Makefile.in (install_to_libdir, install_to_tooldir): Add MULTISUBDIR
3017         to all filenames in libdir and tooldir.
3018         (distclean): Do MULTICLEAN before deleting Makefile.
3019         (stamp-needed, stamp-config): Add MULTISRCTOP to
3020         pathname for move-if-change.
3021
3022 Thu Dec  4 17:25:19 1997  Jeffrey A Law  (law@cygnus.com)
3023
3024         * strsignal.c (sys_nsig): Try NSIG and _NSIG.
3025
3026 Wed Nov 19 13:37:06 1997  Michael Meissner  <meissner@cygnus.com>
3027
3028         * alloca-norm.h (alloca, GCC case): Don't redefine alloca if it
3029         was already defined previously.
3030
3031 Mon Nov 10 12:48:03 1997  Philippe De Muyter  <phdm@macqel.be>
3032
3033         * Makefile.in (INSTALL): Use ../install-sh, not install.
3034
3035 Tue Oct 28 23:41:15 1997  Judy Goldberg  <jodyg@idt.net>
3036
3037         * Makefile.in (CFILES): Add pexecute.c.
3038
3039 Wed Oct 15 19:13:48 1997  Ian Lance Taylor  <ian@cygnus.com>
3040
3041         * asprintf.c: Consistently use either stdarg or varargs.
3042
3043 Tue Oct 14 12:01:00 1997  Mark Mitchell  <mmitchell@usa.net>
3044
3045         * cplus-dem.c (demangle_signature): Don't look for return types on
3046         constructors.  Handle member template constructors.
3047
3048 Fri Oct  3 17:53:30 1997  Ian Lance Taylor  <ian@cygnus.com>
3049
3050         * README: Fix configuration instructions.
3051
3052 Mon Sep 29 12:28:41 1997  Ian Lance Taylor  <ian@cygnus.com>
3053
3054         * pexecute.c: Update to current version from /gd/gnu/lib:
3055
3056         Mon Sep 29 12:27:59 1997  Ian Lance Taylor  <ian@cygnus.com>
3057
3058         * pexecute.c: Use spawn if __CYGWIN32__.
3059
3060         1997-08-08  Paul Eggert  <eggert@twinsun.com>
3061
3062         * pexecute.c: Include "config.h" first, as per autoconf manual.
3063
3064         Fri Jun 27 15:20:29 1997  Scott Christley <scottc@net-community.com>
3065
3066         * pexecute.c (fix_argv): New function.
3067         (pexecute): Win32 but not Cygwin32 needs its arguments fixed.
3068         Add underscore to cwait function call.
3069
3070 Sun Sep 28 12:00:52 1997  Mark Mitchell  <mmitchell@usa.net>
3071
3072         * cplus-dem.c (demangle_template): Add new parameter.  Handle new
3073         template-function mangling.
3074         (consume_count_with_underscores): New function.
3075         (demangle_signature): Handle new name-mangling scheme.
3076
3077 Wed Sep 24 00:31:59 1997  Felix Lee  <flee@yin.cygnus.com>
3078
3079         * asprintf.c: stdarg.h when ALMOST_STDC
3080         * config/mh-windows (EXTRA_OFILES): add asprintf.o and
3081         strncasecmp.o.
3082
3083 Thu Aug 28 14:27:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
3084
3085         * vasprintf.c (vasprintf): Allow for _BSD_VA_LIST_.
3086
3087         * config.table: Add case for FreeBSD 2.1 and 2.2, needs mh-fbsd21.
3088
3089         * config/mh-fbsd21 (EXTRA_OFILES): Force vasprintf.o
3090
3091 Wed Sep 10 12:43:10 1997  Jason Merrill  <jason@yorick.cygnus.com>
3092
3093         * cplus-dem.c (demangle_fund_type): Change "complex" to "__complex".
3094
3095 Fri Sep  5 16:34:42 1997  Andrew Cagney  <cagney@b1.cygnus.com>
3096
3097         * asprintf.c (asprintf): New file.
3098         * Makefile.in (CFILES): Add asprintf.c
3099         * functions.def: Ditto.
3100
3101 Thu Aug 28 18:53:34 1997  Andrew Cagney  <cagney@b1.cygnus.com>
3102
3103         * argv.c (dupargv): New function, duplicate an argument vector.
3104
3105 Tue Aug 19 20:28:45 1997  Geoffrey Noer  <noer@cygnus.com>
3106
3107         * config/mh-cygwin32: also build random.o
3108
3109 Tue Aug 19 17:10:56 1997  Jason Merrill  <jason@yorick.cygnus.com>
3110
3111         * cplus-dem.c: Add 'extern' to prepends_underscore.
3112
3113 Wed Jul 30 11:42:19 1997  Per Bothner  <bothner@cygnus.com>
3114
3115         * cplus-dem.c: Various changes to produce Java output when passed
3116         DMGL_JAVA.  Thus "::" becomes "." and "JArray<Foo>" becomes "Foo[]".
3117         (main): Support --java and -j flags to set DMGL_JAVA.
3118
3119 Tue Jul 22 19:05:23 1997  Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
3120
3121         * config/mh-go32 (CC, AR, RANLIB): Don't define.
3122
3123 Tue Jul 22 17:49:54 1997  Ian Lance Taylor  <ian@cygnus.com>
3124
3125         * Makefile.in (REQUIRED_OFILES): Add pexecute.o.
3126         (pexecute.o): New target.
3127
3128         * Makefile.in (stamp-needed): New target, replacing needed-list.
3129         (needed-list): Just depend upon stamp-needed.
3130         (stamp-config): New target, replacing config.h.
3131         (config.h): Just depend upon stamp-config.
3132         (mostlyclean): Remove stamp-*.
3133
3134 Thu Jun 12 11:00:18 1997  Angela Marie Thomas (angela@cygnus.com)
3135
3136         * Makefile.in (FLAGS_TO_PASS): pass INSTALL, INSTALL_PROGRAM and
3137         INSTALL_DATA for multilibbed installs
3138
3139 Tue Jun  3 13:21:05 1997  Doug Evans  <dje@canuck.cygnus.com>
3140
3141         Tue Dec 10 09:44:57 1996  Paul Eggert  <eggert@twinsun.com>
3142
3143         * choose-temp.c (choose_temp_base): Don't dump core if TMPDIR is empty.
3144
3145         * choose-temp.c (try): Insist that temp dir be searchable.
3146
3147         Wed Oct 23 17:36:39 1996  Doug Rupp  (rupp@gnat.com)
3148
3149         * choose-temp.c (choose_temp_base): On VMS, use proper syntax
3150         for current directory.
3151
3152         Sat Feb 15 19:03:48 1997  Geoffrey Noer  (noer@cygnus.com)
3153
3154         * pexecute.c: Remove special cases for cygwin32.
3155         (pwait): Remove local definition of `pid'.
3156
3157         Tue Nov 12 18:26:15 1996  Doug Rupp  (rupp@gnat.com)
3158
3159         * pexecute.c (vfork): Supply new definition for VMS.
3160         (pwait): Use waitpid instead of wait for VMS.
3161
3162 Tue May 20 14:02:20 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
3163
3164         * cplus-dem.c (do_type): Handle `J'.
3165         (demangle_fund_type): Print "complex" for it.
3166
3167 Wed Apr 30 12:15:45 1997  Jason Merrill  <jason@yorick.cygnus.com>
3168
3169         * configure.in: Don't turn on multilib here.
3170
3171 Mon Apr 28 19:04:31 1997  Michael Snyder  <msnyder@cleaver.cygnus.com>
3172
3173         * obstack.c: move _obstack_memory_used outside of ifdef.  Cannot be
3174         elided; needed by gdb and not present in libc.
3175
3176 Thu Apr 24 19:33:47 1997  Ian Lance Taylor  <ian@cygnus.com>
3177
3178         * Makefile.in (clean): Remove tmpmulti.out.
3179
3180 Tue Apr 22 10:25:15 1997  Fred Fish  <fnf@cygnus.com>
3181
3182         * floatformat.c (floatformat_ieee_double_littlebyte_bigword):
3183         Add new floatformat, mainly for ARM doubles.
3184
3185 Mon Apr 14 12:11:16 1997  Ian Lance Taylor  <ian@cygnus.com>
3186
3187         * config.table: Use ${config_shell} with ${moveifchange}.  From
3188         Thomas Graichen <graichen@rzpd.de>.
3189
3190 Fri Apr  4 03:09:24 1997  Ulrich Drepper  <drepper@cygnus.com>
3191
3192         * configure.in: Enable multilibing by default.
3193         Update multilib template to read config-ml.in.
3194
3195 Tue Apr  1 16:26:39 1997  Klaus Kaempf  <kkaempf@progis.de>
3196
3197         * makefile.vms: Add objalloc.
3198
3199 Mon Mar 31 23:57:51 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
3200
3201         * cplus-dem.c (demangle_it): Add prototype declaration.
3202         (usage, fatal): Likewise.
3203
3204         * xexit.c (_xexit_cleanup): Add prototype.
3205
3206         * strerror.c (init_error_tables): Declare.
3207
3208 Fri Mar 28 11:43:20 1997  H.J. Lu  <hjl@lucon.org>
3209
3210         * functions.def: Add DEF of vasprintf, and DEFFUNC of strsignal.
3211         * strsignal.c: Only define strsignal if NEED_strsignal.
3212         * Makefile.in (REQUIRED_OFILES): Remove vasprintf.o.
3213         * configure.in: Add NEED_strsignal to xconfig.h.  Add vasprintf.o
3214         to xneeded-list.
3215         * config/mh-cygwin32 (HDEFINES): Add -DNEED_strsignal.
3216         (EXTRA_OFILES): Define to vasprintf.o.
3217         * config/mh-windows (HDEFINES): Add -DNEED_strsignal.
3218         (EXTRA_OFILES): Add vasprintf.o.
3219         * config/mt-vxworks5 (vxconfig.h): Define NEED_strsignal.
3220         (vxneeded-list): Add vasprintf.o.
3221
3222 Thu Mar 20 17:02:09 1997  Ian Lance Taylor  <ian@cygnus.com>
3223
3224         * objalloc.c: Include <stdio.h>.
3225
3226 Mon Mar 17 19:23:11 1997  Ian Lance Taylor  <ian@cygnus.com>
3227
3228         * objalloc.c: New file.
3229         * Makefile.in (CFILES): Add objalloc.c
3230         (REQUIRED_OFILES): Add objalloc.o.
3231         (objalloc.o): New target.
3232
3233 Sat Mar 15 18:49:41 1997  Ian Lance Taylor  <ian@cygnus.com>
3234
3235         * obstack.c: Update to current FSF version.
3236
3237 Fri Mar 14 14:18:47 1997  Ian Lance Taylor  <ian@cygnus.com>
3238
3239         * cplus-dem.c: Add prototypes for all static functions.
3240         (mystrstr): Make static.  Make arguments and result const.
3241         (cplus_match): Remove; not used.
3242
3243 Tue Mar 11 14:20:31 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
3244
3245         * cplus-dem.c (gnu_special): Call demangled_fund_type for other
3246         __t* symbols.
3247
3248 Tue Mar 11 15:41:21 1997  H.J. Lu  <hjl@lucon.org>
3249
3250         * spaces.c: Declare malloc and free properly.
3251         * strsignal.c (init_signal_tables): Add prototype.
3252         * xatexit.c (_xexit_cleanup): Add parameter declarations.
3253
3254 Wed Feb 19 15:43:24 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
3255
3256         * Makefile.in (lneeded-list): If alloca.o is needed, xexit.o is
3257         also required because of xmalloc.o.
3258
3259 Fri Feb 14 13:43:38 1997  Ian Lance Taylor  <ian@cygnus.com>
3260
3261         * strsignal.c: Unconditionally redefine sys_siglist around the
3262         inclusion of the system header files.
3263
3264 Thu Feb 13 22:01:04 1997  Klaus Kaempf  <kkaempf@progis.de>
3265
3266         * makefile.vms: Remove 8 bit characters.  Update to latest
3267         gcc release.
3268
3269 Tue Feb  4 11:52:19 1997  Ian Lance Taylor  <ian@cygnus.com>
3270
3271         * strsignal.c: Use NEED_sys_siglist instead of
3272         LOSING_SYS_SIGLIST.
3273         * config.table: Don't use mh-lynxos.
3274         * config/mh-lynxos: Remove.
3275
3276 Thu Jan 16 14:51:03 1997  Bob Manson  <manson@charmed.cygnus.com>
3277
3278         * cplus-dem.c: Fix indenting; make identical to the copy
3279         in GCC.
3280         (do_type, case 'M'): Check for a template as well as a class.
3281
3282 Thu Dec 19 13:51:33 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>
3283
3284         * config/mt-vxworks5 (vxneeded-list): Remove sigsetmask.o, since
3285         vxworks 5.[0-3] all have sigsetmask in them; the one provided by
3286         libiberty is incorrect, as well.
3287
3288 Mon Dec  2 15:03:42 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
3289
3290         * alloca.c (alloca): When compiled with an ANSI/ISO compiler,
3291         alloca takes a size_t argument, not just unsigned.
3292
3293 Mon Nov 18 15:42:08 1996  Jason Merrill  <jason@yorick.cygnus.com>
3294
3295         * cplus-dem.c: Note that this file also lives in GCC.
3296
3297 Mon Nov 18 15:19:00 1996  Dawn Perchik  <dawn@critters.cygnus.com>
3298
3299         * alloca.c: Remove include of libiberty.h for hpux.
3300         * argv.c:  Replace defs from libiberty.h.
3301         * spaces.c: Put back externs from removed from libiberty.h.
3302         * vasprintf.c: Remove include of libiberty.h for hpux.
3303
3304 Mon Nov 18 14:08:00 1996  Dawn Perchik  <dawn@critters.cygnus.com>
3305
3306         * cplus-dem.c: Checking in again; last checkin filed due to sticky tag.
3307
3308 Wed Nov 13 08:22:00 1996  Dawn Perchik  <dawn@critters.cygnus.com>
3309
3310         * cplus-dem.c: Revert last two commits due to conflicts with
3311         hpux system headers.
3312
3313 Wed Nov 13 08:22:00 1996  Dawn Perchik  <dawn@critters.cygnus.com>
3314
3315         * alloca.c, argv.c, spaces.c, strcasecmp.c, vasprintf.c, vprintf.c:
3316         Revert last commit due to conflicts with hpux system headers.
3317
3318 Wed Nov 13 10:36:50 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
3319
3320         * cplus-dem.c (x{m,re}alloc): Make declarations compatibile with
3321         libiberty.h when compiled with a standard compiler.
3322
3323 Tue Nov 12 16:31:00 1996  Dawn Perchik  <dawn@critters.cygnus.com>
3324
3325         * alloca.c: Include libiberty.h for definition of xmalloc.
3326         Don't redefine NULL.
3327         * argv.c: Move prototypes to libiberty.h.
3328         * cplus-dem.c: Include libiberty.h for definition of xmalloc.
3329         Don't redefine NULL.
3330         Use casts to eliminate compiler warnings.
3331         * spaces.c: Remove prototypes for malloc and free which are
3332         already in libibrty.h.
3333         * strcasecmp.c: Use casts to eliminate compiler warnings.
3334         * vasprintf.c: Include libiberty.h for definition of malloc.
3335         Don't redefine NULL.
3336         * vprintf.c: Include stdarg.h if __STDC__.
3337
3338 Fri Oct 11 15:42:12 1996  Stu Grossman  (grossman@critters.cygnus.com)
3339
3340         * config/mh-windows:  Add strcasecmp.o to EXTRA_OFILES.
3341
3342 Fri Oct 11 11:16:31 1996  Stan Shebs  <shebs@andros.cygnus.com>
3343
3344         * mpw.c (mpwify_filename): Rewrite to simplify, and to handle
3345         upward components correctly.
3346
3347 Tue Oct  8 08:55:34 1996  Stu Grossman  (grossman@critters.cygnus.com)
3348
3349         * config.table, config/mh-windows:  Add support for building under
3350         MSVC (the Microsoft build environment).
3351
3352 Mon Oct  7 10:50:27 1996  Ian Lance Taylor  <ian@cygnus.com>
3353
3354         * fnmatch.c: Undef const if not __STDC__.
3355
3356 Thu Oct  3 13:46:39 1996  Ian Lance Taylor  <ian@cygnus.com>
3357
3358         * fnmatch.c: New file.
3359         * Makefile.in (CFILES): Add fnmatch.c.
3360         (REQUIRED_OFILES): Add fnmatch.o.
3361         (fnmatch.o): New target.
3362
3363 Wed Sep 18 14:49:13 1996  Jason Merrill  <jason@yorick.cygnus.com>
3364
3365         * cplus-dem.c (demangle_template): Fix handling of address args.
3366         (gnu_special): Handle type_info stuff.
3367
3368 Fri Sep 13 17:52:55 1996  Stan Shebs  <shebs@andros.cygnus.com>
3369
3370         * mpw.c (DebugPI): Make settable from the env var DEBUG_PATHNAMES.
3371         (mpwify_filename): Handle "::/" case.
3372
3373 Thu Sep 12 13:30:40 1996  Geoffrey Noer  <noer@cygnus.com>
3374
3375         * config/mh-cygwin32: new file (need -DNEED_basename and
3376                 -DNEED_sys_siglist for native NT rebuilding)
3377         * config.table (*-*-cygwin32): new entry
3378         * choose-temp.c: bring in sync with gcc (revert Aug 17 change)
3379
3380 Thu Aug 29 16:48:45 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
3381
3382         * config.table (i[345]86-*-*): Recognize i686 for pentium pro.
3383
3384 Tue Aug 27 13:47:58 1996  Stan Shebs  <shebs@andros.cygnus.com>
3385
3386         * pexecute.c (pexecute) [MPW]: Remove old bogus code that
3387         messed with arguments that included a '/', add escape chars
3388         to double quotes, remove const decl from arg that Mac
3389         compilers don't seem to like.
3390
3391 Sat Aug 17 04:44:27 1996  Geoffrey Noer  <noer@cygnus.com>
3392
3393         * pexecute.c: Update test for win32 (&& ! cygwin32).
3394         * choose-temp.c: fix WIN32 preprocessor defines
3395
3396 Thu Aug 15 12:26:48 1996  Stan Shebs  <shebs@andros.cygnus.com>
3397
3398         * mpw-make.sed: Add @DASH_C_FLAG@ and @SEGMENT_FLAG({Default})@
3399         to editing of default makefile rule.
3400
3401 Sun Aug 11 21:03:27 1996  Stu Grossman  (grossman@critters.cygnus.com)
3402
3403         * alloca-norm.h:  Include <malloc.h> if _WIN32.
3404         * argv.c:  Include non-prototyped decls for malloc and string
3405         functions if ! _WIN32 or if __GNUC__.
3406
3407 Thu Aug  8 12:42:40 1996  Klaus Kaempf  <kkaempf@progis.de>
3408
3409         * config.h-vms: New file.
3410         * makefile.vms: Use it.
3411
3412 Wed Aug  7 17:16:12 1996  Stu Grossman  (grossman@critters.cygnus.com)
3413
3414         * getopt.c (_getopt_internal):  If argc is 0, just return (before
3415         we reference *argv and segfault).
3416
3417 Mon Aug  5 01:29:08 1996  Jason Merrill  <jason@yorick.cygnus.com>
3418
3419         * Makefile.in (distclean): Add multilib.out.
3420
3421 Thu Jul 18 17:40:55 1996  Ian Lance Taylor  <ian@cygnus.com>
3422
3423         * alloca-norm.h: Change #ifdef sparc to #if defined (sparc) &&
3424         defined (sun).  From Andrew Gierth <ANDREWG@microlise.co.uk>.
3425
3426 Mon Jul  1 13:40:44 1996  Ken Raeburn  <raeburn@cygnus.com>
3427
3428         Tue May 28 15:29:03 1996  Pat Rankin  <rankin@eql.caltech.edu>
3429
3430         * vmsbuild.com (REQUIRD_OFILES): Add choose-temp.o and xstrdup.o.
3431
3432         Thu Jan 25 18:20:04 1996  Pat Rankin  <rankin@eql.caltech.edu>
3433
3434         * vmsbuild.com: Changes to handle DEFFUNC(on_exit).
3435         (do_ofiles): Allow nonexistent source file in pass 3.
3436         (chk_deffunc): New routine.
3437
3438 Tue Jun 25 19:24:43 1996  Doug Evans  <dje@canuck.cygnus.com>
3439
3440         * pexecute.c (PEXECUTE_VERBOSE): Define.
3441         (MPW pexecute): Check flags & PEXECUTE_VERBOSE instead of verbose_flag.
3442
3443 Tue Jun 25 23:11:48 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
3444
3445         * Makefile.in (docdir): Removed.
3446
3447 Tue Jun 25 23:01:07 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
3448
3449         * Makefile.in (oldincludedir): Removed.
3450
3451 Tue Jun 25 22:50:07 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
3452
3453         * Makefile.in (datadir): Set to $(prefix)/share.
3454
3455 Thu Jun 20 21:17:52 1996  Ian Lance Taylor  <ian@cygnus.com>
3456
3457         * cplus-dem.c (demangle_arm_pt): Reindent.  Avoid endless loop by
3458         checking for errors from do_type.
3459