OSDN Git Service

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