OSDN Git Service

913bf54a3e3d06a7954504d619e0ba539269f1e8
[pf3gnuchains/gcc-fork.git] / libiberty / ChangeLog
1 2003-06-22  Zack Weinberg  <zack@codesourcery.com>
2
3         * safe-ctype.c: Use HOST_CHARSET_ASCII and HOST_CHARSET_EBCDIC,
4         not HC_ASCII and HC_EBCDIC.
5         Add documentation in form expected by gather-docs.
6         * hex.c: Use HOST_CHARSET, not hand-coded check of character set.
7         * Makefile.in, functions.texi: Regenerate.
8
9 2003-06-21  Zack Weinberg  <zack@codesourcery.com>
10
11         * safe-ctype.c: Separate out EOF==-1 check.  Use HOST_CHARSET
12         for charset determination.
13
14 2003-06-19  Dara Hazeghi  <dhazeghi@yahoo.com>
15
16         * configure.in: Add check for malloc.h needed by
17         m68k for function free().
18         * configure: Regenerated.
19         * config.in: Add HAVE_MALLOC_H.
20         * hashtab.c: include malloc.h were available for
21         free().
22
23 2003-06-09  Albert Chin-A-Young  <china@thewrittenword.com>
24
25         PR bootstrap/10974
26         * physmem.c: Update comment.
27         * configure.in: Modify test for _system_configuration for older
28         AIX systems.
29
30         * config.in, configure: Regenerated.
31
32 2003-06-05  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
33
34         PR other/10810
35         * test-demangle.c (getline): Fix fence-post error.
36
37 2003-06-03  Nick Clifton  <nickc@redhat.com>
38
39         * asprintf.c: Change comment to note that -1 is returned upon
40         error.
41         * vasprintf.c: Likewise.
42         (vasprintf): Return -1 upon error.
43         * functions.texi: Document changes to asprintf and vasprintf.
44
45 2003-05-19  Kelley Cook  <kelleycook@wideopenwest.com>
46
47         * config.table: Accept i[345867]86 variant.
48
49 2003-05-15  Jim Blandy  <jimb@redhat.com>
50
51         * hex.c (_hex_value): Make this unsigned.
52         (hex_value): Update documentation for new return type.  hex_value
53         now expands to an unsigned int expression, to avoid unexpected
54         sign extension when we store it in a bfd_vma, which is larger than
55         int on some platforms.
56         * functions.texi: Regenerated.
57
58 2003-05-07  Josef Zlomek  <zlomekj@suse.cz>
59
60         * splay-tree.c (splay_tree_predecessor): Fix comment.
61         (splay_tree_successor): Fix comment.
62
63 2003-05-07  Jason Merrill  <jason@redhat.com>
64
65         * hashtab.c (iterative_hash): New fn.
66         * configure.in: Add AC_C_BIGENDIAN_CROSS.
67         * aclocal.m4: Include accross.m4.
68         * configure, config.in: Regenerate.
69
70 2003-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
71
72         * configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
73         * configure: Regenerate.
74
75 2003-05-03  Carlo Wood  <carlo@alinoe.com>
76
77         * cp-demangle.c: Fix typo in "char_traints" string-literal.
78
79 2003-04-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
80
81         * vsnprintf.c (vsnprintf): Don't pad string with extra nulls.
82         (main): Test that we don't write too much data.
83
84 2003-04-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
85
86         * configure.in (funcs, AC_CHECK_FUNCS): Add snprintf and
87         vsnprintf.
88         * snprintf.c, vsnprintf.c: New files.
89         * Makefile.in (CFILES): Add snprintf.c and vsnprintf.c.
90         (CONFIGURED_OFILES): Add snprintf.o and vsnprintf.o.
91         Regenerate dependencies.
92
93         * functions.texi, configure, config.in: Regenerated.
94
95 2003-04-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
96
97         * mempcpy.c, stpcpy.c, stpncpy.c: New files.
98         * configure.in (funcs, AC_CHECK_FUNCS): Add mempcpy, stpcpy
99         and stpncpy.
100         * Makefile.in (CFILES): Add mempcpy.c, stpcpy.c and stpncpy.c.
101         (CONFIGURED_OFILES): Add mempcpy.o, stpcpy.o and stpncpy.o.
102         Regenerate dependencies.
103
104         * functions.texi, configure, config.in: Regenerated.
105
106 2003-04-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
107
108         * argv.c: Fix comments.
109         * calloc.c: Don't unnecessarily include "libiberty.h".
110         (bzero): Add prototype.
111         * floatformat.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
112         * getcwd.c (getcwd): Use standard definition to avoid conflicts
113         with system headers.
114         * hashtab.c (htab_traverse): Delete unused variables.
115         * rename.c: Include "ansidecl.h".
116         (rename): Use standard definition to avoid conflicts with system
117         headers.
118         * strsignal.c: Rely on ANSI_PROTOTYPES.
119         * strstr.c: Check GNUC >= 2, not GNUC == 2.
120         * vfprintf.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
121         * vprintf.c: Include "ansidecl.h" earlier, rely on
122         ANSI_PROTOTYPES.
123         * vsprintf.c: Include "ansidecl.h" earlier, rely on
124         ANSI_PROTOTYPES and possibly include <stdarg.h>.
125
126         * Makefile.in: Regenerate dependencies.
127
128 2003-04-15  DJ Delorie  <dj@redhat.com>
129
130         * maint-tool (deps): Scan for headers in $srcdir also.
131
132 2003-04-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
133
134         PR target/10338
135         PR bootstrap/10198
136         PR bootstrap/10140
137         * getopt.c (exchange, _getopt_initialize): Use mempcpy not
138         __mempcpy.
139         * regex.c (regerror): Likewise.
140
141 2003-04-14  Roger Sayle  <roger@eyesopen.com>
142
143         * argv.c: Use ANSI_PROTOTYPES instead of __STDC__.
144         * memchr.c: Likewise.
145         * strcasecmp.c: Likewise.
146         * strncasecmp.c: Likewise.
147         * strncmp.c: Likewise.
148         * xatexit.c: Likewise.
149         * xmalloc.c: Likewise.
150
151         * copysign.c: Use traditional function declaration instead of DEFUN.
152         * sigsetmask.c: Likewise.
153
154         * memcmp.c: Both of the above, ANSI_PROTOTYPES and DEFUN.
155         * memset.c: Likewise.
156
157         * memcpy.c: ANSI_PROTOTYPES, DEFUN and prototype bcopy.
158         * memmove.c: Likewise.
159
160 2003-04-14  Roger Sayle  <roger@eyesopen.com>
161
162         * strdup.c (strdup): Tweak implementation to use memcpy.
163
164 2003-04-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
165
166         * configure.in (HAVE_UINTPTR_T): Always define.
167         * configure: Regenerated.
168
169 2003-03-23  Alexandre Oliva  <aoliva@redhat.com>
170
171         * Makefile.in (MULTIOSDIR): New macro.  Use $(CC) $(LIBCFLAGS)
172         instead of $$CC alone.
173         (install_to_tooldir): Use it.
174
175 2003-17-03  Jan Hubicka  <jh@suse.cz>
176
177         * hashtab.c (htab_traverse_noresize): Break out from ...
178         * hashtab.c (htab_traverse): ... here.
179
180 2003-12-03  Jan Hubicka  <jh@suse.cz>
181
182         * hashtab.c (htab_expand): Fix warning.
183
184         * hashtab.c (htab_expand): Compute the size of hashtable based
185         on the number of elements actually used.
186         (htab_traverse):  Call htab_expand when table is too empty.
187
188 2003-03-11  Carlo Wood  <carlo@gnu.org>
189
190         * cplus-dem.c (demangle_integral_value): Correction to reflect
191         patch of 2002-01-10 in order to also make negative multi-digits
192         without leading underscore work.
193
194 2003-03-03  Mark Mitchell  <mark@codesourcery.com>
195
196         * cplus-dem.c: Add license exception to copyright notice.
197
198 2003-02-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
199
200         * physmem.c: Formatting changes from upstream.
201
202 2003-02-24  Danny Smith  <dannysmith@users.source.forge.net>
203
204         * physmem.c (physmem_total): Add _WIN32 support.
205         (physmem_available): Likewise.
206
207 2003-02-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
208
209         * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
210         GSI_PHYSMEM.
211         (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS.
212
213 2003-02-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
214
215         * configure.in: Check for sys/systemcfg.h and
216         _system_configuration.
217         * physmem.c: Add support for AIX.  Tweek formatting as per
218         upstream coreutils beta.
219
220 2003-02-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
221             Richard Earnshaw  <rearnsha@arm.com>
222             Geoffrey Keating  <geoffk@apple.com>
223
224         * configure.in: Check for sys/sysctl.h and sysctl.
225         * physmem.c: Add support for *bsd and darwin.
226         * Makefile.in: Generate depedency for physmem.o.
227
228 2003-02-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
229
230         * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on
231         Tru64 UNIX.
232         (physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on
233         Tru64 UNIX.
234
235         * configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h,
236         machine/hal_sysinfo.h, sys/table.h.
237         (checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table.
238         * configure, config.in: Regenerate.
239
240 2003-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
241
242         * configure.in: Check for sys/sysmp.h and sysmp.
243         * physmem.c: Pull upstream copy, add support for irix6.
244
245         * config.in, configure: Regenerated.
246
247 2003-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
248
249         * physmem.c (physmem_total, physmem_available): De-ANSI-fy.
250         * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and
251         pstat_getdynamic.
252
253 2003-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
254
255         * Makefile.in (CFILES): Add physmem.c.
256         (REQUIRED_OFILES): Add physmem.o.
257         * configure.in: Check for sys/pstat.h.
258         (checkfuncs): Add pstat_getstatic and pstat_getdynamic.
259         * physmem.c: New file, copied from textutils.
260
261         * config.in, configure: Regenerated.
262
263 2003-02-20  Daniel Jacobowitz  <drow@mvista.com>
264
265         * Makefile.in (CFILES): Add lrealpath.c.
266         (REQUIRED_OFILES): Add lrealpath.o.
267         (lrealpath.o): Add rule.
268         * aclocal.m4 (libiberty_NEED_DECLARATION): Add.
269         * configure.in: Add realpath and canonicalize_file_name to
270         checkfuncs and AC_CHECK_FUNCS.  Use libiberty_NEED_DECLARATION
271         for canonicalize_file_name.
272         * lrealpath.c: New file.
273         * make-relative-prefix.c: Update documentation.
274         (make_relative_prefix): Simplify.  Use lbasename and lrealpath.
275         * config.in: Regenerated.
276         * configure: Regenerated.
277         * functions.texi: Regenerated.
278
279 2003-02-20  jmc  <jmc@prioris.mini.pw.edu.pl>
280
281         * cplus_dem.c: Fix typo: intializes -> initializes.
282
283 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
284
285         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
286         config.status.
287         * configure: Rebuilt.
288
289 2003-02-13  Daniel Jacobowitz  <drow@mvista.com>
290
291         Fix PR c++/7612.
292         * cplus-dem.c (demangle_signature): Call string_delete.
293         Remove extra string_init.
294         (demangle_arm_hp_template): Call string_delete instead of
295         string_clear.  Add missing string_delete call.
296         (demangle_qualified): Add missing string_delete call.
297         (do_type): Remove unused variable btype.  Add missing string_delete
298         call.  Call string_delete instead of string_clear.
299         (demangle_fund_type): Move variable btype inside of the switch
300         statement.  Add missing string_delete call.
301         (do_arg): Call string_delete instead of string_clear.  Remove extra
302         string_init.
303         (demangle_nested_args): Free work->previous_argument.
304
305 2003-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
306
307         * acconfig.h: New file.  Add uintptr_t.
308         * config.in: Regenerated.
309
310 2003-02-04  Joseph S. Myers  <jsm@polyomino.org.uk>
311
312         * libiberty.texi: Update to GFDL 1.2.
313
314 2003-01-30  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
315
316         * Makefile.in (libiberty_topdir): New subst.
317         (mkinstalldirs): Redefine in terms of the above.
318         * configure.in: AC_SUBST it.
319         * configure: Regenerate.
320
321 2003-01-28  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
322
323         * Makefile.in (all-subdir, check-subdir, installcheck-subdir)
324         (info-subdir, install-info-subdir, clean-info-subdir)
325         (dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
326         (clean-subdir, distclean-subdir, maintainer-clean-subdir):
327         Pass $(FLAGS_TO_PASS).
328
329 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
330
331         * Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
332         /`$$CC -print-multi-os-directory`.
333
334 2003-01-26  Daniel Jacobowitz  <drow@mvista.com>
335
336         * hashtab.c (htab_create_alloc_ex): New function.
337         (hatab_set_functions_ex): New function.
338         (htab_delete, htab_expand): Support alternate allocation functions.
339
340 2003-01-24  Christopher Faylor  <cgf@redhat.com>
341
342         * configure.in: Remove special pex-cygwin consideration.
343         * configure: Regenerate.
344         * pex-cygwin.c: Remove.
345         * Makefile.in: Remove pex-cygwin.[co] lines.
346
347 2003-01-24  Zack Weinberg  <zack@codesourcery.com>
348
349         * Makefile.in (CFILES): Add pex-*.c.
350         (REQUIRED_OFILES): Change pexecute.o to @pexecute@
351         (CONFIGURED_OFILES): Add pex-*.o.
352         (TEXIFILES): Add pexecute.txh.
353         (pexecute.o): Delete rule.
354         (pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o,
355         pex-unix.o, pex-win32.o): New rules.
356         * configure.in: Change AC_INIT argument to xmalloc.c.
357         Compute appropriate pexecute implementation and substitute it
358         as @pexecute@.
359
360         * pexecute.c: Split up into...
361         * pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c,
362         pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these
363         new files.
364
365         * functions.texi: Regenerate.
366         * configure: Regenerate.
367
368 2003-01-20  Josef Zlomek  <zlomekj@suse.cz>
369
370         * hashtab.c (htab_expand): Fix allocation of new entries.
371
372 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
373
374         * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
375
376         * Makefile.in (install_to_libdir, install_to_tooldir): Add a
377         mkinstalldirs command.
378
379 2002-12-04  Danny Smith  <dannysmith@users.sourceforge.net>
380
381         * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
382         Define for hosts with HOST_EXECUTABLE_SUFFIX.
383
384 2002-11-24  Nick Clifton  <nickc@redhat.com>
385
386         * make-relative-prefix.c (make_relative_prefix): Ensure return
387         string is empty before using strcat to construct it.
388
389 2002-11-22  Daniel Jacobowitz  <drow@mvista.com>
390
391         * Makefile.in: Add make-relative-prefix.c.
392         * make-relative-prefix.c: New file.
393         * functions.texi: Rebuilt.
394
395 2002-11-16  Jakub Jelinek  <jakub@redhat.com>
396
397         * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
398         used with arguments in traditional C' warnings.
399
400 2002-10-16  Jakub Jelinek  <jakub@redhat.com>
401
402         * config.table: Use mh-s390pic for s390x too.
403
404 2002-10-06  Andreas Jaeger  <aj@suse.de>
405
406         * libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded
407         variable and of strict-aliasing warning.
408         (grow_vect): Use char as first parameter.
409
410 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
411
412         * Makefile.in (all): Fix multilib parallel build.
413
414 2002-09-19  John David Anglin  <dave@hiuly1.hia.nrc.ca>
415
416         * cp-demangle.c (demangling_new): Cast 0 to enum.
417         (demangle_char): Cast return of strdup to char *.
418         (is_gnu_v3_mangled_ctor): Cast 0 to enum.
419         (is_gnu_v3_mangled_dtor): Likewise.
420         * cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
421         (work_stuff_copy_to_from): Cast return of xmalloc to char **.
422         * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
423         * md5.c (md5_process_bytes): Cast results back to const void *.
424         (md5_process_block): Add cast to const md5_uint32 *.
425         * regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
426         * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
427         unsigned short.
428         * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
429         to void *.
430         * vasprintf.c (int_vasprintf): Cast return of malloc to char *.
431
432 2002-09-19  Nick Clifton  <nickc@redhat.com>
433
434         * README: Update email addresses for bugs and patches.
435
436 2002-09-10  Mike Stump  <mrs@apple.com>
437
438         * splay-tree.c (splay_tree_successor): Fix comments.
439
440 2002-09-11  Zack Weinberg  <zack@codesourcery.com>
441
442         * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
443         * testsuite/Makefile.in: Adjust for test-demangle.
444         * testsuite/regress-demangle: Deleted.
445         * testsuite/test-demangle.c: New file.
446         * testsuite/demangle-expected: Change \$ to $ throughout, now that
447         this file is not being read by a shell script.
448
449 2002-09-05  Roger Sayle  <roger@eyesopen.com>
450
451         * regex.c: Only use "#pragma alloca" on AIX when not using gcc.
452
453 2002-08-07  DJ Delorie  <dj@redhat.com>
454
455         * regex.c (re_error_msgid): Just use a simple array of strings.
456         (re_compile_pattern): Compensate.
457         (re_comp): Likewise.
458         (re_comp): Likewise.
459         (regerror): Likewise.
460
461 2002-07-29  Neil Booth  <neil@daikokuya.co.uk>
462
463         * cplus-dem.c (PREPEND_BLANK): Remove.
464
465 2002-07-10  Jason Merrill  <jason@redhat.com>
466
467         * cp-demangle.c (demangle_identifier): Support extended Unicode
468         characters.
469
470 2002-07-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
471
472         * cp-demangle.c (demangle_v3_with_details): Wrap in
473         !defined IN_GLIBCPP_V3.
474
475 2002-07-01  Mark Mitchell  <mark@codesourcery.com>
476
477         * cp-demangle.c (demangle_operator_name): Add type_arg parameter.
478         Set it for the "st" operator.
479         (demangle_expression): Handle expressions with types as arguments.
480
481 2002-06-30  Douglas Rupp  <rupp@gnat.com>
482
483         * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
484         * Makefile.in (OUTPUT_OPTION): Use.
485
486 2002-06-22  Peter Breitenlohner <peb@mppmu.mpg.de>
487
488         * Makefile.in (install_to_libdir): Add $(DESTDIR).
489         (install_to_tooldir): Likewise.
490
491 2002-06-17  Douglas Rupp  <rupp@gnat.com>
492
493         * lbasename.c: Add 2002 to copyright.
494         (IS_DIR_SEPARATOR): Remove VMS junk.
495
496 2002-06-05  Geoffrey Keating  <geoffk@redhat.com>
497
498         * hashtab.c (htab_create): New stub function for backward
499         compatibility.
500         (htab_try_create): Likewise.
501
502 2002-06-03  Geoffrey Keating  <geoffk@redhat.com>
503
504         * hashtab.c (htab_create): Delete.
505         (htab_try_create): Delete.
506         (htab_create_alloc): New.
507         (htab_delete): Support user-specified memory allocation.
508         (htab_expand): Likewise.
509
510 2002-05-22  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
511
512         * configure.in: Fix typo in the code checking for sys_errlist.
513         * configure: Regenerated.
514
515 2002-05-13  Andreas Schwab  <schwab@suse.de>
516
517         * config.table: Use mh-x86pic also for x86-64.
518
519 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
520
521         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
522         script entry, and set LD to it when configuring multilibs.
523         * configure: Rebuilt.
524
525 2002-05-07  Mark Mitchell  <mark@codesourcery.com>
526
527         * configure.in (AC_TYPE_PID_T): Use it.
528         * configure: Regenerated.
529         * getruntime.c: Include <sys/types.h>.
530         * waitpid.c: Likewise.  Use pid_t, not int, as the type of "pid".
531
532 2002-04-09  Richard Henderson  <rth@redhat.com>
533
534         * hashtab.c (higher_prime_number): Use 7 as minimum.
535         (find_empty_slot_for_expand): Don't compute hash2 unless needed.
536         (htab_find_slot_with_hash): Likewise.
537
538 2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
539
540         * cp-demangle.c (__cxa_demangle):  Also protect with IN_GLIBCPP_V3.
541         (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor):  Conditionally
542         not compile if IN_GLIBCPP_V3 defined.
543         * dyn-string.c:  Also allow IN_GLIBCPP_V3 to change allocation scheme.
544
545 2002-03-30  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
546
547         * cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
548         if it is NULL.
549
550 2002-03-27  DJ Delorie  <dj@redhat.com>
551
552         * hex.c: Add documentation.
553         (_hex_value): Provide non-ASCII empty table.
554         (hex_init): Initialize the non-ASCII table.
555         * functions.texi: Regenerate.
556
557 2002-03-27  Mark Mitchell  <mark@codesourcery.com>
558
559         * dyn-string.c: Add libgcc exception to copyright notice.
560
561 2002-03-26  H.J. Lu  (hjl@gnu.org)
562
563         * config.table: Support --with-build-subdir.
564         * configure.in: Likewise.
565         * configure: Rebuild.
566
567 2002-03-18  Stuart Griffith  <Stuart_Griffith@credence.com>
568
569         * strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
570         seen.
571
572 2002-03-12  Mark Mitchell  <mark@codesourcery.com>
573
574         * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
575         notice.
576
577 2002-03-11  Douglas B Rupp  <rupp@gnat.com>
578
579         * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
580
581 2002-03-06  Jim Blandy  <jimb@redhat.com>
582
583         * splay-tree.c (splay_tree_xmalloc_allocate,
584         splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
585         prototyped definitions.  Mark `data' arguments as unused.
586
587 2002-03-06  Andrew Cagney  <ac131313@redhat.com>
588
589         * floatformat.c (floatformat_arm_ext_big): Delete definition.
590
591 2002-03-04  Phil Edwards  <pme@gcc.gnu.org>
592
593         * configure.in:  Add --enable-install-libiberty option.
594         * Makefile.in (INSTALLED_HEADERS):  New variable.
595         (install_to_libdir):  Possibly also copy headers.
596         * configure:  Regenerated.
597
598 2002-03-04  Neil Booth  <neil@daikokuya.demon.co.uk>
599
600         * xmalloc.c (xmalloc_fail): Clarify error message further.
601
602 2002-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
603
604         * xmalloc.c (xmalloc_fail): Clarify error message.
605
606 2002-02-22  Jim Blandy  <jimb@redhat.com>
607
608         * splay-tree.c (splay_tree_xmalloc_allocate,
609         splay_tree_xmalloc_deallocate): New functions.
610         (splay_tree_new): Call splay_tree_new_with_allocator, passing the
611         above functions and a dummy data pointer.
612         (splay_tree_new_with_allocator): New function.
613         (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
614         splay_tree_remove): Use the splay tree's allocation and
615         deallocation functions.
616
617 2002-02-19  Scott Snyder  <snyder@fnal.gov>
618
619         * testsuite/demangle-expected: Add test case for infinite loop in
620         demangler.
621         * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
622         if do_type() doesn't make any progress --- prevents an infinite
623         loop.
624
625 2002-02-18  Carlo Wood  <carlo@gnu.org>
626
627         PR c++/5390
628         * cplus-dem.c (demangle_integral_value): Accept multi-digit
629         numbers that do not start with an underscore; This is needed
630         for integer template parameters. This doesn't break anything
631         because multi-digit numbers are never followed by a digit.
632         * testsuite/demangle-expected: Corrected all mangled test
633         cases with multi-digit template parameters: g++ 2.95.x does
634         not generate underscores around these parameters.
635
636 2002-02-05  Jason Merrill  <jason@redhat.com>
637
638         * cplus-dem.c (flags): Add DMGL_VERBOSE
639         (cplus_demangle_v3_p): Remove.
640         (demangle_it): Add DMGL_TYPES to passed flags.
641         * cp-demangle.c (cplus_demangle_v3_all): Remove.
642         (cplus_demangle_v3_type): Remove.
643         (cplus_demangle_v3): Add options parm.
644
645 2002-02-02  H.J. Lu  (hjl@gnu.org)
646
647         * cp-demangle.c (cp_demangle_type): Do not protect with
648         IN_LIBGCC2.
649         (cplus_demangle_v3_all): New.
650         (cplus_demangle_v3): Call cplus_demangle_v3_all.
651         (cplus_demangle_v3_type): Call cplus_demangle_v3_all.
652
653         * cplus-dem.c (cplus_demangle_v3_p): New function pointer.
654         Initialized to cplus_demangle_v3.
655         (cplus_demangle_with_style): Call cplus_demangle_v3_p instead
656         of cplus_demangle_v3.
657         (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
658         command line symbol.
659
660         * testsuite/regress-demangle: Pass the mangled name at the
661         command line.
662
663 2002-02-01  H.J. Lu  <hjl@gnu.org>
664
665         * cp-demangle.c (cp_demangle_type): Call demangling_new with
666         DMGL_GNU_V3.
667
668 2002-01-31  Phil Edwards  <pme@gcc.gnu.org>
669
670         * cp-demangle.c:  Revert yesterday's change.
671
672 2002-01-31  Adam Megacz  <adam@xwt.org>
673
674         * gcc/libiberty/configure.in: Treat mingw the same as cywin
675         wrt HAVE_SYS_ERRLIST.
676
677 2002-01-30  Phil Edwards  <pme@gcc.gnu.org>
678
679         * cp-demangle.c (cp_demangle_type):  Do not protect with IN_LIBGCC2.
680         (cplus_demangle_v3):  Mimic __cxa_demangle and fall back on
681         cp_demangle_type.
682         * testsuite/demangle-expected:  New gnu-v3 test.
683
684 2002-01-22  Momchil Velikov  <velco@fadata.bg>
685
686         * configure.in (variable detection): Use arrays of unspecified
687         size instead of plain integers.
688
689 2002-01-18  DJ Delorie  <dj@redhat.com>
690
691         * Makefile.in (TESTLIB): New.  This library is for future
692         testsuites.
693         (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
694         break down by letter.
695         (REQUIRED_OFILES): List long-to-compile files first.
696         (maint-deps): New, target for updating dependencies.
697         (dependencies): Update.
698         * maint-tool: Add dependency-generating option.
699         * configure.in: Check for _doprnt even if we're not providing it.
700         * configure: Regenerate.
701
702         * _doprnt.c: Modifications to allow compiling on any platform.
703         * copysign.c: Likewise.
704         * putenv.c: Likewise.
705         * setenv.c: Likewise.
706         * vsprintf.c: Likewise.
707
708 2002-01-15  Douglas B Rupp  <rupp@gnat.com>
709
710         * mkstemps.c (mkstemps): On VMS, open temp file with option
711         that causes it to be deleted when closed.
712
713 2002-01-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
714
715         * cp-demangle.c (long_options): Const-ify.
716         * cplus-dem.c (long_options): Likewise.
717
718         * cplus-dem.c (mystrstr): Delete.  All callers changed to use
719         strstr instead.
720
721 2001-12-31  Ira Ruben   <ira@apple.com>
722
723         * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
724         * configure: Regenerated.
725
726 2001-12-24  Douglas B. Rupp  <rupp@gnat.com>
727
728         * configure.in (uintptr_t): Use AC_CHECK_TYPE.
729         * configure: Regenerated.
730
731 2001-12-12  Craig Rodrigues  <rodrigc@gcc.gnu.org>
732
733         PR other/2719
734         * cplus-dem.c (consume_count): Treat negative count as an error.
735         * testsuite/demangle-expected: Added testcase.
736
737 Tue Dec 11 07:08:57 2001  Douglas B. Rupp  <rupp@gnat.com>
738
739         * configure.in: Hardcode that vfork works on VMS host.
740         * configure: Regenerated.
741
742 2001-12-06  Richard Henderson  <rth@redhat.com>
743
744         * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
745         (cplus_demangle): Support no_demangling.
746
747 2001-11-27  Zack Weinberg  <zack@codesourcery.com>
748
749         * _doprnt.c: Moved here from gcc/doprint.c.  Adjust to build
750         in libiberty context.  Fix typo in leading comment.
751         * configure.in: Fix various AC_DEFINEs so autoheader works.
752         If any of vprintf, vsprintf, vfprintf is missing from libc,
753         then AC_REPLACE_FUNCS(_doprnt).
754
755 2001-11-26  DJ Delorie  <dj@redhat.com>
756             Daniel Jacobowitz  <drow@mvista.com>
757
758         * Makefile.in (stamp-h): Depend on Makefile for proper
759         serialization.
760         (*-subdir): Depend on config.h for proper serialization.
761
762 2001-11-26  DJ Delorie  <dj@redhat.com>
763
764         * configure.in: Check for alloca.h (for regex.c and putenv.c).
765         * configure: Regenerate.
766         * config.h: Add HAVE_ALLOCA_H.
767
768 2001-11-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
769
770         * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
771         defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
772         is available.
773
774 Thu Nov 15 11:06:25 2001  Jeffrey A Law  (law@cygnus.com)
775
776         * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
777         * configure.in (HAVE_UINTPTR_T): Test for system defining
778         uintptr_t and define HAVE_UINTPTR_T appropriately.
779         * regex.c (uintptr_t): Do not provide a definition if the
780         system provided one.
781
782         * regex.c (PREFIX): Provide an alternate definition for
783         non-ANSI/ISO compilers.
784         (ARG_PREFIX): Likewise.
785
786 2001-11-12  Jim Meyering  <meyering@lucent.com>
787
788         * obstack.c (_): Honor the setting of ENABLE_NLS.  Otherwise,
789         this code would end up calling gettext even in packages built
790         with --disable-nls.
791         * getopt.c (_): Likewise.
792         * regex.c (_): Likewise.
793
794 2001-11-03  Alan Modra  <amodra@bigpond.net.au>
795
796         * configure.in: Cope with missing makeinfo.
797         * configure: Regenerate.
798
799 2001-10-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
800
801         * hex.c (hex_init): Provide empty stub.
802
803         * hex.c (hex_init): Delete.
804         (_hex_value): Const-ify and initialize at compile-time.
805
806 2001-10-19  H.J. Lu <hjl@gnu.org>
807
808         * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
809         necessary.
810
811 2001-10-17  DJ Delorie  <dj@redhat.com>
812
813         * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
814         ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
815         mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
816         Improve manual formatting.
817         * functions.texi: Regenerate.
818
819 2001-10-15  DJ Delorie  <dj@redhat.com>
820
821         * Makefile.in (TEXIFILES): Add fnmatch.txh.
822         (maint-undoc): New.
823         maint-tool: Add "undoc" tool.
824         * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
825         fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
826         make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
827         strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
828         documentation.
829         * fnmatch.txh: New.
830         * functions.texi: Regenerate.
831
832 2001-10-10  Joseph S. Myers  <jsm28@cam.ac.uk>
833
834         * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
835         * strtod.c: Use "ISO C" instead of "ANSI C".
836         * functions.texi: Regenerate.
837
838 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
839
840         * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
841         libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
842         strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
843         xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting.  Fix
844         spelling.  Give names to function arguments in documentation.  Use
845         (void) prototypes in documentation.
846         * functions.texi: Regenerate.
847
848 2001-10-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
849
850         * argv.c (buildargv, tests, main): Const-ify.
851         * cp-demangle.c (operator_code): Likewise.
852         * cplus-dem.c (optable, libiberty_demanglers,
853         cplus_demangle_set_style, cplus_demangle_name_to_style,
854         print_demangler_list): Likewise.
855         * hashtab.c (higher_prime_number): Likewise.
856         * strcasecmp.c (charmap): Likewise.
857         * strerror.c (error_info, strerror, main): Likewise.
858         * strncasecmp.c (charmap): Likewise.
859         * strsignal.c (signal_info): Likewise.
860
861 2001-09-29  DJ Delorie  <dj@redhat.com>
862
863         * configure: Regenerate.
864
865 2001-09-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
866
867         * concat.c: Include stdlib.h.
868
869 2001-09-27  Eli Zaretskii  <eliz@is.elta.co.il>
870
871         * libiberty.texi: (Top level): Add syncodeindex pg.  Add
872         @dircategory and @direntry directives.  Add @finalout.
873         (many nodes): Lose the next,prev,up pointers on the @nide line.
874         (Using, Supplemental Functions, Replacement Functions): Fix
875         markup.
876         (Functions): Move around, to allow makeinfo to build the manual
877         without next,prev,up pointers in thye node lines.
878         (Licenses): Fix typos.
879
880         * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
881         strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
882         * functions.texi: Regenerate.
883
884         * copying-lib.texi: Lose the next,prev,up pointers on the @node
885         line.
886
887 2001-09-27  DJ Delorie  <dj@redhat.com>
888
889         * configure.in: Don't use in-tree texinfo, because libiberty must
890         be built before it.  Check for makeinfo version 4 or higher.
891         * functions.texi: Regenerate.
892
893 2001-09-20  DJ Delorie  <dj@redhat.com>
894             Phil Edwards  <pedwards@disaster.jaj.com>
895
896         * configure.in (MAKEINFO, PERL): Detect these.
897         (--enable-maintainer-mode): Add.
898         * configure: Regenerate.
899         * Makefile.in (MAKEINFO, PERL): Define.
900         (libiberty.info, libiberty.dvi, libiberty.html): New.
901         (CFILES): Add bsearch.c.
902         (CONFIGURED_OFILES): New, list of objects configure might add.
903         (maint-missing, maint-buildall): New, for maintainers only.
904         (clean, mostlyclean): Add info/dvi/html files.
905         * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
906         * gather-docs: New, for maintainers.
907         * maint-tool: New, for maintainers.
908         * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
909         bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
910         getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
911         memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
912         sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
913         strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
914         tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
915         xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
916         documentation.
917
918 2001-09-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
919
920         * concat.c (reconcat): Fix for traditional C.
921
922 2001-09-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
923
924         * concat.c (reconcat): New function.
925
926 2001-09-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
927
928         * concat.c (vconcat_length, vconcat_copy, concat_length,
929         concat_copy, concat_copy2): New functions.
930         (concat): Use vconcat_length/vconcat_copy.
931
932         * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
933         Define.
934
935 2001-09-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
936
937         * asprintf.c: Don't define USE_STDARG.  Use VPARAMS, VA_OPEN,
938         VA_FIXEDARG & VA_CLOSE.
939
940         * vasprintf.c: Check HAVE_STRING_H when including string.h.
941         (checkit): Delete redundant prototype.  Add ATTRIBUTE_PRINTF_1.
942         Use VA_OPEN, VA_FIXEDARG & VA_CLOSE.  Free allocated string.
943
944 2001-08-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
945
946         * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
947
948 2001-08-23  Ulrich Drepper  <drepper@redhat.com>
949
950         * regex.c (truncate_wchar): Use wcrtomb not wctomb.
951
952 2001-08-23  Ulrich Drepper  <drepper@redhat.com>
953
954         * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
955         instead of mbrtowc.
956         [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
957         wcslen, and __wcscoll instead of wcscoll.
958
959 2001-08-22  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
960
961         * fibheap.c (fibheap_init, fibnode_init): Remove.
962         (fibheap_new, fibnode_new): Use xcalloc to allocate and
963         initialize memory.
964         (fibheap_insert): Remove check for node allocation failure.
965
966 2001-08-21  Richard Henderson  <rth@redhat.com>
967
968         * Makefile.in (fibheap.o): Depend on config.h.
969         * fibheap.c: Tidy formatting.  Use config.h.` Rearrange some
970         functions for inlining.
971
972 Tue Aug 21 12:35:04 2001  Christopher Faylor <cgf@cygnus.com>
973
974         * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
975         hosting on cygwin.
976         * configure: Regenerate.
977
978 2001-08-20  Andrew Cagney  <ac131313@redhat.com>
979
980         * floatformat.c (floatformat_m88110_ext): Remove #ifdef
981         HARRIS_FLOAT_FORMAT.
982         (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
983         (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
984         (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
985         (floatformat_m88110_harris_ext): New float formats.
986
987 2001-08-20  Daniel Berlin  <dan@cgsoftware.com>
988
989         * fibheap.c: New file. Fibonacci heap.
990
991         * Makefile.in (CFILES): Add fibheap.c.
992         (REQUIRED_OFILES): Add fibheap.o.
993         (fibheap.o): Add dependencies for fibheap.o.
994
995 2001-08-17  Christopher Faylor <cgf@cygnus.com>
996
997         * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
998         * configure: Regenerate.
999
1000 2001-08-16  Richard Henderson  <rth@redhat.com>
1001
1002         * hashtab.c (htab_hash_string): New.
1003
1004 2001-08-13  Andrew Cagney  <ac131313@redhat.com>
1005
1006         * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
1007         name.
1008
1009 2001-08-12  Isamu Hasegawa  <isamu@yamato.ibm.com>
1010
1011         * regex.c (wcs_regex_compile): Use appropriate string
1012         to compare with collating element.
1013         Fix the padding for the alignment.
1014
1015 2001-08-10  Andrew Cagney  <ac131313@redhat.com>
1016
1017         * lbasename.c (lbasename): Change function definition to return a
1018         const char pointer.
1019
1020 2001-08-07  Jason Merrill  <jason_merrill@redhat.com>
1021
1022         * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
1023         for".
1024
1025 2001-08-03  Richard Henderson  <rth@redhat.com>
1026
1027         * Makefile.in (concat.o): Depend on config.h.
1028
1029 2001-07-30  Andreas Jaeger  <aj@suse.de>
1030
1031         * concat.c: Include "config.h".
1032
1033 2001-07-30  Andreas Jaeger  <aj@suse.de>
1034
1035         * regex.c: Declare wcs functions only if compiling with
1036         MBS_SUPPORT.
1037         Don't use #elif for traditional C.
1038
1039 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
1040
1041         * regex.c: Revamp memory allocation for WCHAR functions to
1042         not use too much stack.
1043
1044 2001-07-30  Andreas Jaeger  <aj@suse.de>
1045
1046         * regex.c: Declare wcs functions only if compiling with
1047         MBS_SUPPORT.
1048         Don't use #elif for traditional C.
1049
1050 2001-07-25  Daniel Jacobowitz  <drow@mvista.com>
1051
1052         * Makefile.in (regex.o): Add dependency on config.h.
1053
1054 2001-07-18  Andreas Schwab  <schwab@suse.de>
1055
1056         * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
1057         underscore character.
1058
1059 2001-07-18  Ulrich Drepper  <drepper@redhat.com>
1060
1061         * regex.c: Limit string length printed in debug messages to 100
1062         chars.
1063
1064 2001-07-18  Andreas Jaeger  <aj@suse.de>
1065
1066         * regex.c: Place under LGPL version 2.1.
1067
1068 2001-07-10  Jeff Johnston  <jjohnstn@redhat.com>
1069
1070         * Makefile.in: Add support for regex code.
1071         * regex.c: New file.
1072
1073 2001-07-05  Mark Klein  <mklein@dis.com>
1074
1075         * Makefile.in: Add ffs.c dependency.
1076         * configure.in: Add ffs.c.
1077         * ffs.c: New file.
1078
1079 2001-06-18  Richard Henderson  <rth@redhat.com>
1080
1081         * concat.c: Include <sys/types.h>.
1082
1083 2001-06-11  Loren J. Rittle  <ljrittle@acm.org>
1084
1085         bootstrap/3106
1086         * strerror.c (sys_nerr): Hide the OS header version.
1087         * strsignal.c (sys_nsig): Likewise.
1088
1089 2001-06-10  Richard Henderson  <rth@redhat.com>
1090
1091         * concat.c: Include string.h.  Fix int vs size_t usage.
1092         Simplify the iteration loops.  Use memcpy.
1093
1094 2001-05-16  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
1095
1096         * partition.c: Fix misspelling of `implementation'.
1097
1098 2001-05-09  Thiemo Seufer  <seufer@csv.ica.uni-stuttgart.de>
1099
1100         * md5.c (md5_init_ctx): Declare constants as unsigned.
1101         (md5_process_block): Likewise.
1102
1103 2001-05-07  Zack Weinberg  <zackw@stanford.edu>
1104
1105         * cp-demangle.c (demangle_v3_with_details,
1106         is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
1107         function definition.
1108         * ternary.c: Use K+R style function definitions.  Use PTR, not
1109         void *.  Make arguments constant where possible.
1110
1111 2001-05-07  Mark Mitchell  <mark@codesourcery.com>
1112
1113         * splay-tree.h (splay_tree_max): New function.
1114         (splay_tree_min): Likewise.
1115
1116 2001-04-15  Daniel Berlin  <dan@cgsoftware.com>
1117
1118         * ternary.c: New file - Ternary search tree implementation.
1119
1120         * Makefile.in: Add ternary.o, and ternary.c dependencies.
1121
1122 2001-04-03  Zack Weinberg  <zackw@stanford.edu>
1123
1124         * make-temp-file.c (try): Inline.
1125
1126 2001-02-28  Richard Henderson  <rth@redhat.com>
1127
1128         * Makefile.in (make-temp-file.o): Depend on config.h.
1129
1130 2001-03-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1131
1132         * memchr.c (memchr): Adjust condition to avoid infinite loop.
1133
1134 2001-03-23  Jakub Jelinek  <jakub@redhat.com>
1135
1136         * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
1137         `_' not followed by a digit is invalid.
1138
1139 2001-03-22  Jim Blandy  <jimb@redhat.com>
1140
1141         * cp-demangle.c (string_list_delete): Use dyn_string_delete
1142         instead of free, to free the contents as well as the string
1143         structure.
1144
1145 2001-03-21  Zack Weinberg  <zackw@stanford.edu>
1146
1147         * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
1148         Don't default P_tmpdir to anything.  Try /var/tmp before
1149         /usr/tmp.
1150
1151 2001-03-20  Zack Weinberg  <zackw@stanford.edu>
1152
1153         * choose-temp.c: Split off make_temp_file, and the code
1154         duplicated between it and choose_temp_base, into...
1155         * make-temp-file.c: ... here; new file.
1156
1157         * Makefile.in (CFILES): Add make-temp-file.c.
1158         (REQUIRED_OFILES): Add make-temp-file.o.
1159
1160 2001-03-20  Jim Blandy  <jimb@redhat.com>
1161
1162         * cp-demangle.c (struct demangling_def): New fields:
1163         is_constructor and is_destructor.
1164         (demangling_new): Initialize them.
1165         (demangle_ctor_dtor_name): Set them, if we detect a constructor
1166         or destructor.
1167         (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
1168         is_gnu_v3_mangled_dtor): New functions.
1169
1170 2001-03-20  Jason Merrill  <jason@redhat.com>
1171
1172         * cplus-dem.c (main): Skip initial $.
1173
1174 2001-03-15  Michael Meissner  <meissner@redhat.com>
1175
1176         * hashtab.c (higher_prime_number): Silence warning that 4294967291
1177         might be a signed integer under pre-ISO C systems.
1178
1179 2001-03-10  Neil Booth  <neil@daikokuya.demon.co.uk>
1180             John David Anglin  <dave@hiauly1.hia.nrc.ca>
1181
1182         * libiberty/lbasename.c: New file.
1183         * libiberty/Makefile.in: Update for lbasename.
1184
1185 2001-03-06  Zack Weinberg  <zackw@stanford.edu>
1186
1187         * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
1188         * configure.in: Replace all alloca logic with a simple use of
1189         the above new macro.
1190         * config.table: Kill *-*-beos* entry.
1191         * config/mh-beos: Delete.
1192         * configure, config.in: Regenerate.
1193
1194         * Makefile.in (ALLOCA, HFILES): Kill.
1195         (REQUIRED_OFILES): Add alloca.o.
1196         (alloca.o): Depend on libiberty.h.
1197         (argv.o): Don't depend on alloca-conf.h.
1198         * alloca-conf.h: Delete.
1199         * alloca.c: Include libiberty.h.  Kill all #ifdef emacs
1200         blocks.  Provide the C alloca unconditionally.  Use PTR where
1201         appropriate.  Make i00afunc static.
1202         * argv.c: Don't include alloca-conf.h.
1203
1204 2001-03-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1205
1206         * cplus-dem.c (main): Cast enum style to int.
1207
1208 2001-02-16  Loren J. Rittle  <ljrittle@acm.org>
1209
1210         * cplus-dem.c (main): Initialize style.
1211
1212 2001-02-02  Phil Edwards  <pme@sources.redhat.com>
1213
1214         * COPYING.LIB:  Update to LGPL 2.1 from the FSF.
1215
1216 2001-01-31  Bryce McKinlay  <bryce@albatross.co.nz>
1217
1218         Add support for Java demangling under the v3 ABI:
1219         * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
1220         (struct demangling_def): Add `style' field.
1221         (demangling_new): New parameter `style'. Set it in demangling_t.
1222         (demangle_prefix): Use NAMESPACE_SEPARATOR.
1223         (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
1224         (cp_demangle): New parameter `style'. Pass it to demangling_new().
1225         (main): Call cp_demangle with extra parameter.
1226         (java_demangle_v3): New function.
1227         (java_builtin_type_names): New. Table of primitive type names used
1228         for Java demangling.
1229         (demangle_builtin_type): Look up in java_builtin_type_names if doing
1230         Java output.
1231         * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
1232         demangling.
1233         (long_options): Remove obsolete `java' option.
1234         (main): Remove explicit handling of `java' option. Instead, pass style
1235         parameter in cplus_demangle flags as gdb does.
1236         * testsuite/demangle.expected: Add some Java test cases.
1237
1238 2000-12-29  DJ Delorie  <dj@redhat.com>
1239
1240         * fnmatch.c: Make the note about the origins of this file more
1241         accurate, at least until we can sync with glibc.
1242         * getopt.c: Ditto.
1243         * getopt1.c: Ditto.
1244         * md5.c: Ditto.
1245         * obstack.c: Ditto.
1246
1247 2000-12-26  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1248
1249         * bsearch.c: New file.
1250         * configure.in (funcs): Add bsearch.
1251         (AC_CHECK_FUNCS): Likewise.
1252         * configure, config.in: Regenerate.
1253
1254 2000-12-13  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1255
1256         * safe-ctype.c: #include "ansidecl.h".
1257         * strtod.c: Likewise.
1258
1259 2000-12-13  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1260
1261         * strtoul.c: Include safe-ctype.h, not ctype.h.
1262
1263 2000-12-07  Zack Weinberg  <zack@wolery.stanford.edu>
1264
1265         * safe-ctype.c: New file.
1266         * Makefile.in (CFILES): Add safe-ctype.c.
1267         (REQUIRED_OFILES): Add safe-ctype.o.
1268
1269         * argv.c: Define ISBLANK and use it, not isspace.
1270         * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
1271         strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h.  Use
1272         uppercase ctype macros.  Don't test ISUPPER(c)/ISLOWER(c)
1273         before calling TOLOWER(c)/TOUPPER(c).
1274
1275 2000-12-07  Mike Stump  <mrs@wrs.com>
1276
1277         * Makefile.in (distclean): When cleaning, remove testsuite.
1278
1279 2000-12-05  Jason Merrill  <jason@redhat.com>
1280
1281         * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
1282         name before allocating the dyn_string.
1283
1284 2000-12-04  Jason Merrill  <jason@redhat.com>
1285
1286         * cp-demangle.c: s/new_abi/v3/.
1287         * cplus-dem.c: Likewise.
1288         (current_demangling_style): Now auto_demangling.
1289         (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
1290         (main): Use standard symbol chars for auto_demangling.
1291
1292 2000-11-26  Mark Mitchell  <mark@codesourcery.com>
1293
1294         * hashtab.c (higher_prime_number): Use a table, rather than a
1295         seive, to find the next prime.
1296
1297 2000-11-22  H.J. Lu  <hjl@gnu.org>
1298
1299         * cplus-dem.c (main): Handle gnat_demangling.
1300
1301 2000-11-22  Zack Weinberg  <zack@wolery.stanford.edu>
1302
1303         * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
1304         (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
1305         * configure.in: Call AC_C_INLINE and AC_C_CONST.  Use three
1306         argument form of AC_DEFINE in dummy definitions block.  Use
1307         AC_DEFINE_NOAUTOHEADER for real definitions of things defined
1308         in dummy block.  Preload cache variables instead of bypassing
1309         tests, where possible.
1310         * acconfig.h: Removed.
1311
1312         * xmalloc.c (xmalloc_failed): New function, does error
1313         reporting on failed allocation.
1314         (xmalloc, xcalloc, xrealloc): Use it.
1315
1316 2000-11-21  Hans-Peter Nilsson  <hp@bitrange.com>
1317
1318         * cplus-dem.c (cplus_demangle): Fix formatting.
1319         (grow_vect): Ditto.
1320         (ada_demangle): Ditto.
1321         (internal_cplus_demangle): Ditto.
1322         (mop_up): Ditto.
1323
1324 2000-11-21  H.J. Lu  <hjl@gnu.org>
1325
1326         * cplus-dem.c (main): Handle java_demangling.
1327
1328 2000-11-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1329
1330         * cplus-dem.c (grow_vect): Prototype.
1331         (ada_demangle): Cast the arg of ctype macros to unsigned char.
1332
1333 2000-11-15  Hans-Peter Nilsson  <hp@bitrange.com>
1334
1335         * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
1336         parameter `option'.
1337
1338 2000-11-15  Kenneth Block  <kenneth.block@compaq.com>
1339
1340         * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
1341         be used in GCC.
1342
1343 2000-11-15  Kenneth Block  <kenneth.block@compaq.com>
1344
1345         * cplus-dem.c: Add gnat demangler.  Add java to demangle style
1346         list.
1347
1348 2000-11-04  Hans-Peter Nilsson  <hp@bitrange.com>
1349
1350         * hashtab.c (htab_expand): Change to return int.  Use calloc or
1351         xcalloc depending on htab->return_allocation_failure.  Return zero
1352         if calloc fails.
1353         (htab_create): Update comment to cover memory allocation.
1354         (htab_try_create): New.
1355         (htab_find_slot_with_hash): Return NULL if htab_expand fails.
1356         Update comment to cover this.
1357
1358 2000-11-03  Hans-Peter Nilsson  <hp@bitrange.com>
1359
1360         * hashtab.c: Change void * to PTR where necessary.
1361         (htab_create, htab_expand): Correct formatting of comment before
1362         function.
1363
1364 2000-10-22  Alex Samuel  <samuel@codesourcery.com>
1365
1366         * cp-demangle.c (string_list_def): Add caret_position and comments.
1367         (result_caret_pos): New macro.
1368         (result_append_string): Rename to...
1369         (result_add_string): ... this, and insert at caret position.
1370         Rename throughout.
1371         (result_append): Rename to...
1372         (result_add): ... this, and insert at caret position.  Rename
1373         throughout.
1374         (result_append_char): Rename to...
1375         (result_add_char): ... this, and insert at caret position.  Rename
1376         throughout.
1377         (result_append_space): Remove.
1378         (string_list_new): Initialize caret position.
1379         (result_add_separated_char): Use caret position.
1380         (result_get_caret): New funtion.
1381         (result_set_caret): Likewise.
1382         (result_shift_caret): Likewise.
1383         (result_previous_char_is_space): Likewise.
1384         (substitution_start): Use caret position.
1385         (substitution_add): Likewise.
1386         (demangling_new): Initialize caret position.
1387         (demangle_encoding): Use caret position.
1388         (demanglin_nested_name): Put CV qualifiers after name.
1389         (demangle_type_ptr): Use switch statement.  Handle pointers to
1390         arrays.  Don't use result_append_space.  Use caret position.
1391         (demangle_type): Emit CV qualifiers after underlying type.  Adjust
1392         call to demangle_array_type.
1393         (demangle_array_type): Add parameter to handle pointers to arrays.
1394
1395 2000-10-01  Mark Mitchell  <mark@codesourcery.com>
1396
1397         * splay-tree.c (splay_tree_insert): Fix formatting.
1398
1399 2000-09-16  Mark Mitchell  <mark@codesourcery.com>
1400
1401         * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
1402
1403 2000-09-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1404
1405         * splay-tree.c: #include <stdio.h>.
1406
1407 2000-09-14  Hans-Peter Nilsson  <hp@axis.com>
1408
1409         * testsuite/demangle-expected: Add two tests for anonymous
1410         namespaces.
1411         * cplus-dem.c (gnu_special): Handle anonymous namespaces.
1412
1413 2000-09-10  Mark Mitchell  <mark@codesourcery.com>
1414
1415         * splay-tree.c (splay_tree_predecessor): New function.
1416         (splay_tree_successor): Likewise.
1417
1418 2000-09-10  Hans-Peter Nilsson  <hp@axis.com>
1419
1420         * testsuite/demangle-expected: Add four tests for type_info
1421         mangling.
1422         * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
1423         for a non-template non-qualified type_info function or node.
1424
1425 2000-09-08  Alex Samuel  <samuel@codesourcery.com>
1426
1427         * cp-demangle.c: Fix copyright banner.
1428
1429 2000-09-07  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1430
1431         * md5.c: #include "ansidecl.h".
1432
1433 2000-09-06  Alex Samuel  <samuel@codesourcery.com>
1434
1435         * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
1436         (demangle_type): Handle substitution candidates correctly in the
1437         face of special substitutions.
1438
1439 2000-09-05  Alex Samuel  <samuel@codesourcery.com>
1440
1441         * cp-demangle.c (demangle_encoding): Rename variable.
1442         (demangle_name): Rename parameter.  Handle return type
1443         suppression.
1444         (demangle_nested_name): Rename parameter.
1445         (demangle_prefix): Likewise.  Change return type suppression.
1446         (demangle_unqualified_name): Add parameter.  Flag constructors and
1447         conversion operators.
1448         (demangle_special_name): Fix comment.
1449         (demangle_type): Rename variable.
1450         (demangle_bare_function_type): Check for missing return type and
1451         parameter.
1452         (demangle_class_enum_type): Rename parameter.
1453         (demangle_discriminator): Fix misspelling in comment.
1454
1455 2000-08-31  DJ Delorie  <dj@redhat.com>
1456
1457         * configure.in (Cygwin): special case cygwin only when we're
1458         building cygwin, not when we're hosting cygwin.
1459
1460 2000-09-04  Alex Samuel  <samuel@codesourcery.com>
1461
1462         * cp-demangle.c (demangle_template_arg): Eat an `E' after an
1463         <expression>.
1464
1465 2000-09-04  Alex Samuel  <samuel@codesourcery.com>
1466
1467         * cp-demangle.c (demangle_type_ptr): Increment position past
1468         pointer and reference characters.
1469
1470 2000-09-04  Alex Samuel  <samuel@codesourcery.com>
1471
1472         * cp-demangle.c (demangle_nv_offset): New function.
1473         (demangle_v_offset): Likewise.
1474         (demangle_call_offset): Likewise.
1475         (demangle_special_name): Update thunk demangling to comply with
1476         ABI changes.
1477
1478 2000-09-03  Alex Samuel  <samuel@codesourcery.com>
1479
1480         * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
1481         (substitution_def): Remove template_parm_number.
1482         (NOT_TEMPLATE_PARM): Remove.
1483         (result_insert_string): New macro.
1484         (result_insert): Likewise.
1485         (result_insert_char): Likewise.
1486         (substitution_add): Remove last parameter.  Don't store template
1487         parm number.
1488         (BFT_NO_RETURN_TYPE): Define as NULL.
1489         (demangle_encoding): Adjust call to demangle_bare_function_type.
1490         (demangle_name): Adjust substitution.  Adjust call to
1491         substitution_add.
1492         (demangle_prefix): Adjust call to substitution_add.
1493         (demangle_identifier): Handle anonymous namespaces.
1494         (demangle_operator_name): Change demangling of vendor-extended
1495         operator to match ABI changes.
1496         (demangle_type_ptr): Change parameters.  Make recursive.  Handle
1497         substitutions here.
1498         (demangle_type): Adjust calls to demangle_template_param,
1499         substitution_add, and demangle_type_ptr.  Fix substitution of
1500         templated types.
1501         (demangle_function_type): Change parameter to a pointer.
1502         (demangle_bare_function_type): Likewise.  Adjust insertion point.
1503         (demangle_template_param): Remove last parameter.
1504         (demangle_expr_primary): Remove unused variable.  Adjust call to
1505         demangle_template_param.
1506         (is_mangled_char): Accept `$' and `.'.
1507         * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
1508         * dyn-string.c (dyn_string_insert_char): New function.
1509
1510 2000-08-31  Hans-Peter Nilsson  <hp@axis.com>
1511
1512         * testsuite/demangle-expected: Add nine tests for
1513         underscore-after-number followed by five tests for name-signature
1514         delimiter.
1515
1516 2000-08-28  Richard Henderson  <rth@cygnus.com>
1517
1518         * Makefile.in (md5.o): Depend on config.h.
1519
1520 2000-08-28  Jason Merrill  <jason@redhat.com>
1521
1522         * Makefile.in (REQUIRED_OFILES): Add md5.o.
1523         (CFILES): Add md5.c.
1524         * md5.c: New file.
1525
1526 2000-08-27  Alex Samuel  <samuel@codesourcery.com>
1527
1528         * cp-demangle.c (demangle_name): Initialize template_p in local
1529         name case.  Don't re-add substitutions as candidates.
1530         (demangle_nested_name): Use <unqualified-name>.
1531         (demangle_prefix): Likewise.  Don't add template names as
1532         substitution candidates twice, or re-add a substitution or the
1533         last prefix component.
1534         (demangle_local_name): Adjust output format.
1535
1536 2000-08-25  Alex Samuel  <samuel@codesourcery.com>
1537
1538         * cp-demangle.c (result_add_separated_char): Change parameter to
1539         int.
1540         (substitution_add): Don't check for duplicates.  Check if
1541         previously allocated size is zero.
1542         (demangle_name): Remove duplicate check for std substitution.
1543         Clear template flag appropriately.
1544         (demangle_prefix): Remove argument to demangle_substitution.
1545         Don't check that template flag is already set.
1546         (demangle_operator_name): Add pt operator.
1547         (demangle_type): Don't treat r as built-in type.  Remove argument
1548         to demangle_substitution.  Fix substitution candidate mechanics.
1549         Handle <template-template-parm>s.  Improve comments.
1550         (demangle_template_param): Don't handle template arg lists here.
1551         (demangle_substitution): Remove parameter.
1552         (print_usage): Remove extra fprintf option.
1553
1554 2000-08-24  Greg McGary  <greg@mcgary.org>
1555
1556         * libiberty/random.c (end_ptr): Revert previous change.
1557
1558 2000-08-24  Greg McGary  <greg@mcgary.org>
1559
1560         * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
1561         demangle_expression, demangle_function_name): Use ARRAY_SIZE.
1562         * libiberty/random.c (end_ptr): Likewise.
1563
1564 2000-08-23  Alex Samuel  <samuel@codesourcery.com>
1565
1566         * cp-demangle.c (result_close_template_list): Remove function.
1567         (result_add_separated_char): New function.
1568         (result_open_template_list): New macro.
1569         (result_close_template_list): Likewise.
1570         (demangle_prefix): Don't set template_p if the
1571         prefix ends with a ctor name.
1572         (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
1573         (demangle_type): Check for template args after substitution.
1574         (demangle_template_args): Use result_open_template_list.
1575
1576 2000-08-02  Zack Weinberg  <zack@wolery.cumb.org>
1577
1578         * pexecute.c:  Don't use vfork.  Initialize 'pid' before retry loop.
1579
1580 2000-07-26  Dave Pitts  <dpitts@cozx.com>
1581
1582         * config/mh-openedition.h: Added -DLE370 definition.
1583
1584 2000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
1585
1586         * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
1587         __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
1588         Cast program to 'char *' in errmsg_arg assignment.
1589         (PWAIT_ERROR): Define.
1590         (pwait): Use PWAIT_ERROR.  Adjust DJGPP's status code to conform
1591         to DJGPP's WIF* macros.
1592
1593 2000-07-27  RodneyBrown  <RodneyBrown@pmsc.com>
1594             Jeff Law <law@cygnus.com>
1595
1596         * getcwd.c: Include string.h, stdlib.h for prototypes
1597
1598         * Makefile.in (rename.o, waitpid.o): Depend on config.h
1599         * rename.c: Include config.h, unistd.h
1600         * waitpid.c: Include config.h, sys/wait.h
1601
1602 2000-07-24  Hans-Peter Nilsson  <hp@axis.com>
1603
1604         * cplus-dem.c (work_stuff_copy_to_from): New.
1605         (delete_non_B_K_work_stuff): New.
1606         (delete_work_stuff): New.
1607         (mop_up): Break out work_stuff partly destruction to
1608         delete_non_B_K_work_stuff.
1609         (iterate_demangle_function): New.
1610         (demangle_prefix): Call iterate_demangle_function instead of
1611         demangle_function_name.  Leave handling of name-signature
1612         __-delimiters to iterate_demangle_function.
1613         (demangle_integral_value): Strip an optional
1614         following underscore cautiously.  Handle negative numbers.
1615
1616 2000-07-24  Daniel Berlin <dberlin@redhat.com>
1617
1618         * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
1619         if (AUTO_DEMANGLING || GNU_DEMANGLING)
1620
1621 2000-07-21  Alex Samuel  <samuel@codesourcery.com>
1622
1623         * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
1624         allocating ctor mangling.
1625         (demangle_array_type): Handle empty and non-constant array length.
1626
1627 2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1628             Jeff Law <law@cygnus.com>
1629
1630         * configure.in (AC_CHECK_HEADERS): Add time.h.
1631         (AC_HEADER_TIME): Add check.
1632         * configure, config.in: Regenerate.
1633         * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
1634
1635         * configure.in (AC_CHECK_HEADERS): Add limits.h.
1636         * configure, config.in: Regenerate.
1637         * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
1638         * strtol.c, strtoul.c: #include "config.h". Portably #include
1639         <limits.h> and/or <sys/param.h>.
1640         * Makefile.in (strtol.o, strtoul.o): Update dependencies.
1641
1642         * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
1643         * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
1644         * configure, config.in: Regenerate.
1645         * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
1646
1647         * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
1648
1649 2000-07-21  Mike Stump  <mrs@wrs.com>
1650
1651         * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
1652         * (vasprintf.o): Add dependency for config.h in vasprintf.c.
1653
1654 2000-07-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1655
1656         * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
1657
1658         * setenv.c (setenv): Initialize variable `ep'.
1659
1660         * sigsetmask.c (abort): Prototype.
1661
1662         * vasprintf.c: Include config.h.  Check ANSI_PROTOTYPES, not
1663         __STDC__ for stdarg.h include.
1664         (int_vasprintf): Prototype.
1665         (checkit): Prototype.  Use VPARAMS/ANSI_PROTOTYPES/VA_START in
1666         definition.  Cast `global_total_width' in comparison.
1667         (main): Prototype.  Return a value.
1668
1669         * vfork.c (fork): Prototype.
1670
1671         * xexit.c: Include config.h.
1672
1673 2000-07-20  Joseph S. Myers  <jsm28@cam.ac.uk>
1674
1675         * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
1676         and print it with %u.
1677
1678 2000-07-17  Hans-Peter Nilsson  <hp@axis.com>
1679
1680         * testsuite/regress-demangle (failed test): Show result and
1681         expected output.
1682
1683 2000-07-07  Andrew Haley  <aph@cygnus.com>
1684
1685         * cplus-dem.c (main): fflush() after emitting last char before
1686         waiting for input.
1687
1688 2000-06-28  Alex Samuel  <samuel@codesourcery.com>
1689
1690         * cp-demangle.c (demangle_encoding): Accept no substitutions.
1691         (demangle_name): Handle <substitution> followed by
1692         <unqualified-template-name>.
1693         (demangle_type): Follow special substitutions with
1694         <class-enum-type>
1695         (demangle_subtitution): Set template_p for special substitutions.
1696         (main): Fix typos.
1697
1698 2000-06-27  Alex Samuel  <samuel@codesourcery.com>
1699
1700         * cp-demangle.c (demangle_special_name): Swap base and derived
1701         class when demangling construction vtables.
1702
1703 2000-06-21  Alex Samuel  <samuel@codesourcery.com>
1704
1705         * cp-demangle.c: Don't include ctype.h.
1706         (IS_DIGIT): New macro.
1707         (IS_ALPHA): Likewise.  Use IS_DIGIT and IS_ALPHA throughout
1708         instead of isdigit and isalpanum.
1709         (demangling_def): Make name and next const pointers.
1710         (STATUS_ALLOCATION_FAILED): New status code.
1711         (dyn_string_append_space): Handle failure in
1712         dyn_string_append_char.
1713         (int_to_dyn_string): Likewise.  Change return value to status_t.
1714         (string_list_new): Handle failure of dyn_string_init.
1715         (result_close_template_list): Change return type to status_t.
1716         Handle failure in dyn_string_append.
1717         (result_push): Change return value to status_t.  Handle failure in
1718         string_list_new.  Handle failure of result_push throughout.
1719         (substitution_add): Change return value to status_t.  Handle
1720         dyn_string failures.  Handle failure of substitution_add
1721         throughout.
1722         (template_arg_list_new): Return NULL on allocation failure.
1723         (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
1724         Handle error result throughout.
1725         (result_append): Likewise.
1726         (result_append_char): Likewise.
1727         (result_append_space): Likewise.
1728         (demangling_new): Make argument a const pointer.  Handle
1729         allocation failures.
1730         (demangle_template_args): Handle failure in template_arg_list_new
1731         and result_close_template_list.
1732         (demangle_discriminator): Return if int_to_dyn_string fails.
1733         (cp_demangle): Likewise.
1734         (cp_demangle_type): New function.
1735         (cplus_demangle_new_abi): Don't call dyn_string_delete.  Abort on
1736         memory allocation failure.
1737         (main): Likewise.
1738         * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
1739         IN_LIBGCC2.
1740         (dyn_string_init): Change return value to int.  Handle
1741         RETURN_ON_ALLOCATION_FAILURE case.
1742         (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
1743         (dyn_string_release): Delete the dyn_string.
1744         (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
1745         (dyn_string_copy): Change return type to int.
1746         (dyn_string_copy_cstr): Likewise.
1747         (dyn_string_prepend): Likewise.
1748         (dyn_string_prepend_cstr): Likewise.
1749         (dyn_string_insert): Likewise.
1750         (dyn_string_insert_cstr): Likewise.
1751         (dyn_string_append): Likewise.
1752         (dyn_string_append_cstr): Likewise.
1753         (dyn_string_append_char): Likewise.
1754         (dyn_string_substring): Likewise.
1755
1756 2000-06-09  Zack Weinberg  <zack@wolery.cumb.org>
1757
1758         * cp-demangle.c (demangle_operator_name): Add spaces before
1759         names beginning with a letter: delete, delete[], new, new[],
1760         sizeof.
1761         (demangle_special_name): Handle TF <type> and TJ <type>.
1762
1763 Thu Jun  8 18:52:24 2000  Philippe De Muyter  <phdm@macqel.be>
1764
1765         * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
1766
1767 Thu Jun  8 09:25:54 2000  Philippe De Muyter  <phdm@macqel.be>
1768
1769         * cp-demangle.c (stdio.h): File included unconditionaly.
1770         (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
1771         * dyn-string.c (stdio.h): File included.
1772         * partition.c (partition_print): No `&' needed to take the address of
1773         a function.
1774
1775 2000-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1776
1777         * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
1778
1779         * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
1780
1781         * cp-demangle.c (demangle_char): Change parameter from char to int.
1782         (demangle_expression, demangle_expr_primary): Remove extra
1783         semi-colon in prototype.
1784
1785         * dyn-string.c (dyn_string_append_char): Change parameter from
1786         char to int.
1787
1788         * memcmp.c (memcmp): Constify.
1789
1790         * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
1791         __extension__.
1792
1793         * partition.c (elem_compare): Prototype.  Don't cast away
1794         const-ness.
1795
1796         * setenv.c (setenv): Use braces to avoid ambiguous `else'.
1797
1798 2000-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1799
1800         * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
1801
1802         * cp-demangle.c: Include demangle.h.
1803         (template_arg_list_new): DeANSIfy.
1804         (cp_demangle): Make static and add prototype.
1805         (operator_code, operators): Constify.
1806         (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
1807
1808 2000-06-05  Alex Samuel  <samuel@codesourcery.com>
1809
1810         * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
1811         unsigned char.
1812         (demangle_unqualified_name): Likewise.
1813         (demangle_number_literally): Likewise.
1814         (demangle_type): Likewise.
1815         (demangle_substitution): Likewise.
1816         (is_mangled_char): Likewise, for isalnum.
1817
1818 2000-06-04  Alex Samuel  <samuel@codesourcery.com>
1819
1820         * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
1821         (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
1822         (cp-demangle.o): New dependency.
1823         (dyn-string.o): Likewise.
1824
1825         * dyn-string.c: Move here from gcc/dyn-string.c.  Add new functions.
1826
1827         * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
1828         demangler.
1829         (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
1830         demangling mode.
1831         (gnu_new_abi_symbol_characters): New function.
1832         (main): Use gnu_new_abi_symbol_characters.  * cp-demangle.c: New
1833         file.
1834         * cp-demangle.c: New file.
1835
1836 Tue May 30 16:45:25 2000  Andrew Cagney  <cagney@b1.cygnus.com>
1837
1838         * floatformat.c: Add name to each floatformat field.
1839
1840 Tue May 30 15:07:52 2000  Jeffrey A Law  (law@cygnus.com)
1841
1842         * Makefile.in (objalloc.o): Depend on config.h
1843
1844 2000-05-29  Zack Weinberg  <zack@wolery.cumb.org>
1845
1846         * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
1847         if HAVE_STRING_H.
1848         * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
1849         * objalloc.c: Include config.h.  Include stdlib.h and don't
1850         declare malloc or free if HAVE_STDLIB_H.
1851         * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
1852         else declare malloc without prototype.  Include string.h if
1853         HAVE_STRING_H, else declare memset without prototype.  Don't
1854         include stddef.h.
1855
1856 2000-05-23  Mike Stump  <mrs@wrs.com>
1857
1858         * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
1859         -j3.
1860
1861 2000-05-18  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
1862
1863         * xmalloc.c: Include config.h for HAVE_SBRK definition.
1864
1865 2000-05-16  Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
1866
1867         * hashtab.c (hash_pointer): Delete low-order bits which are
1868         probably zero, also eliminate a warning on alpha.
1869
1870 2000-05-15  David Edelsohn  <edelsohn@gnu.org>
1871
1872         * Makefile.in: Change "pic" to depend on $(PICFLAG), not
1873         on $(enable_shared).
1874
1875 2000-05-10  Jakub Jelinek  <jakub@redhat.com>
1876
1877         * config.table: Use mh-sparcpic for sparc*-*-*.
1878
1879 2000-05-08  Nick Clifton  <nickc@cygnus.com>
1880
1881         * Makefile.in (CFILES): Add strncmp.c.
1882         (NEEDED): Add strncmp.
1883
1884 2000-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1885
1886         * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
1887         Cast the arguments to `islower' to `unsigned char'.
1888         (print_demangler_list): Prototype.
1889
1890 Thu May  4 17:14:41 2000  Philippe De Muyter  <phdm@macqel.be>
1891
1892         * sort.c (UCHAR_MAX): Provide fallback definition.
1893
1894 2000-04-29  Alexandre Oliva  <aoliva@cygnus.com>
1895
1896         * Makefile.in (maintainer-clean-subdir): Fix handling of empty
1897         SUBDIRS.
1898
1899 2000-04-28  Kenneth Block  <block@zk3.dec.com>
1900             Jason Merrill  <jason@casey.cygnus.com>
1901
1902         * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
1903         (cplus_demangle_set_style): New function for setting style.
1904         (cplus_demangle_name_to_style): New function to translate name.
1905
1906 2000-04-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1907
1908         * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
1909
1910         * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
1911         (libiberty_AC_FUNC_STRNCMP): Invoke.
1912
1913         * strncmp.c: New file.
1914
1915 Thu Apr 27 16:58:43 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1916
1917         * hashtab.c (htab_expand): Add prototype.
1918         (find_empty_slot_for_expand): Likewise.
1919
1920 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1921
1922         * hashtab.c (hash_pointer, eq_pointer): Make definition static to
1923         match prototype.
1924         (htab_expand): Cast the return value of xcalloc.
1925
1926 2000-04-24  Mark Mitchell  <mark@codesourcery.com>
1927
1928         * hashtab.c (hash_pointer): New function.
1929         (eq_pointer): Likewise.
1930         (htab_hash_pointer): New variable.
1931         (htab_eq_pointer): Likewise.
1932
1933 2000-04-23  Mark Mitchell  <mark@codesourcery.com>
1934
1935         * sort.c (sort_pointers): Fix endianness bugs.
1936
1937         * sort.c: New file.
1938         * Makefile.in (CFILES): Add sort.c
1939         (REQUIRED_OFILES): Add sort.o.
1940         (sort.o): New target.
1941
1942 2000-04-21  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1943
1944         * Makefile.in (*-subdir): Revamp slightly to avoid losing on
1945         4.3BSD systems.
1946
1947 Tue Apr 18 16:23:31 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1948
1949         * hashtab.c: Various minor cleanups.
1950         (htab_find_slot_with_hash): INSERT is now enum insert_option.
1951         (htab_find_slot): Likewise.
1952
1953 2000-04-16  Dave Pitts  <dpitts@cozx.com>
1954
1955         * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
1956
1957 2000-04-05  Richard Henderson  <rth@cygnus.com>
1958
1959         * splay-tree.c (splay_tree_remove): New.
1960
1961 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
1962
1963         * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
1964         codes.
1965         (htab_find_with_hash): Likewise.
1966         (htab_find_slot_with_hash): Likewise.
1967
1968 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
1969
1970         * hashtab.c (htab_find_with_hash): Avoid calculating hash2
1971         unless it will be used.  Rearrange loop for better
1972         optimization.
1973         (higher_prime_number): Add static prototype.
1974
1975 Thu Mar 16 01:33:58 2000  Jeffrey A Law  (law@cygnus.com)
1976
1977         * Makefile.in (partition.o): Depend on config.h
1978
1979 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
1980
1981         * hashtab.c (find_empty_slot_for_expand): New function.
1982         (htab_expand): Use it instead of htab_find_slot.
1983         (htab_find_with_hash): Renamed from htab_find; now accepts extra
1984         argument HASH.
1985         (htab_find_slot_with_hash): Likewise for htab_find_slot.
1986         (htab_find): New wrapper function.
1987         (htab_find_slot): Likewise.
1988         (htab_traverse): Pass slot, not entry, to called function.
1989
1990 2000-03-09  Alex Samuel  <samuel@codesourcery.com>
1991
1992         * Makefile.in (CFILES): Add partition.c.
1993         (REQUIRED_OFILES): Add partition.o.
1994         (partition.o): New rule.
1995         * partition.c: New file.
1996
1997 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
1998
1999         * hashtab.c (htab_create): Set del_f.
2000         (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
2001         Use it.
2002
2003 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
2004
2005         * hashtab.c: Remove debugging variables (all_searches,
2006         all_collisions, all_expansions). Delete
2007         all_hash_table_collisions.
2008         (create_hash_table, delete_hash_table, empty_hash_table,
2009         find_hash_table_entry, remove_element_from_hash_table_entry,
2010         clear_hash_table_slot, traverse_hash_table, hash_table_size,
2011         hash_table_elements_number, hash_table_collisions): Rename to:
2012         htab_create, htab_delete, htab_empty, htab_find_slot,
2013         htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
2014         htab_elements, htab_collisions.
2015         (htab_find): New function, handles common case where you don't
2016         plan to add or delete an entry.
2017         (htab_expand): Don't create a whole new table, just a new
2018         entry vector.
2019         (htab_find_slot): Simplify logic.
2020
2021 1999-08-03  Ian Lance Taylor  <ian@zembu.com>
2022
2023         * floatformat.c: Add casts to avoid signed/unsigned warnings.
2024         * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
2025
2026         * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
2027         $(TARGETLIB)n so it works on MSDOS.
2028         (install_to_tooldir): Likewise.
2029
2030 1999-07-21  Ian Lance Taylor  <ian@zembu.com>
2031
2032         From Mark Elbrecht:
2033         * makefile.dos: Remove; obsolete.
2034         * configure.bat: Remove; obsolete.
2035
2036 1999-07-11  Ian Lance Taylor  <ian@zembu.com>
2037
2038         * splay-tree.c (splay_tree_insert): Add initialization to avoid
2039         warning.
2040
2041 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
2042
2043         * pexecute.c: Conditionally include string.h.
2044         (fix_argv): Handle embedded whitespace in args for Mingw32.
2045
2046 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2047
2048         * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
2049         we're using gcc.
2050
2051         * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
2052
2053 1999-12-27  Geoff Keating  <geoffk@cygnus.com>
2054
2055         * vasprintf.c (int_vasprintf): Don't re-read the format character
2056         as this mishandles strings like '%%s'.
2057
2058 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
2059
2060         * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
2061         rather than struct splay_tree_node.
2062         (splay_tree_insert): Use struct splay_tree_s rather than struct
2063         splay_tree.
2064
2065 Sun Nov 28 00:59:39 1999  Philippe De Muyter  <phdm@macqel.be>
2066
2067         * hashtab.c (sys/types.h): File included.
2068
2069 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
2070
2071         * strtoul.c, strtol.c, random.c: Remove advertising clause from
2072         BSD license, pursuant with
2073
2074           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
2075
2076 Wed Nov 10 09:42:39 1999  Jeffrey A Law  (law@cygnus.com)
2077
2078         * hashtab.c: Include stdio.h.
2079
2080 Mon Nov  8 09:23:41 1999  Jeffrey A Law  (law@cygnus.com)
2081
2082         * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
2083
2084 Tue Nov  2 03:23:13 1999  Philippe De Muyter  <phdm@macqel.be>
2085
2086         * xstrdup (sys/types.h): Include this file.
2087
2088 1999-10-28  Nathan Sidwell  <nathan@acm.org>
2089
2090         * Makefile.in (SUBDIRS): New macro.
2091         (mostlyclean, clean, distclean, maintainer-clean): Adjust to
2092         avoid multiple subdirectory cleaning.
2093         (*-subdir): Use SUBDIRS.
2094
2095 1999-10-25  Jim Kingdon  <http://developer.redhat.com/>
2096
2097         * cplus-dem.c: Move declarations of standard_symbol_characters and
2098         hp_symbol_characters inside #ifdef MAIN to avoid compiler
2099         warnings.
2100
2101 1999-10-23 08:51 -0700  Zack Weinberg  <zack@bitmover.com>
2102
2103         * hashtab.c (find_hash_table_entry): When returning a
2104         DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
2105         (clear_hash_table_slot): New function which deletes an entry
2106         by its position in the table, not its value.
2107         (traverse_hash_table): New function which calls a hook
2108         function for every live entry in the table.
2109
2110 1999-10-19  Mark Mitchell  <mark@codesourcery.com>
2111
2112         * cplus-dem.c (INTBUF_SIZE): New macro.
2113         (string_append_template_idx): New function.
2114         (demangle_expression): Likewise.
2115         (demangle_integral_value): Use it.
2116         (demangle_real_value): New function, split out from ...
2117         (demangle_template_value_parm): ... here.  Use
2118         string_append_template_idx.  Use demangle_real_value.
2119         (demangle_template): Use string_append_template_idx.
2120         (demangle_qualified): Use consume_count_with_underscores.
2121         (get_count): Tweak formatting.
2122         (do_type): Use string_append_template_idx.
2123
2124 1999-10-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2125
2126         * calloc.c: Add a public domain notice.
2127
2128 Mon Oct 18 02:30:47 1999  Philippe De Muyter  <phdm@macqel.be>
2129
2130         * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
2131
2132 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
2133
2134         * Makefile.in (CFILES): Add hashtab.c
2135         (REQUIRED_OFILES): Add hashtab.o
2136         (hashtab.o): Add dependencies.
2137         * hashtab.c: New file
2138
2139 Wed Oct 13 01:16:47 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2140
2141         * basename.c (DIR_SEPARATOR): New macro.
2142         (DIR_SEPARATOR_2): Likewise.
2143         (HAVE_DOS_BASED_FILESYSTEM): Likewise.
2144         (IS_DIR_SEPARATOR): Likewise.
2145         (main): Handle MSDOS style pathname.
2146
2147 1999-10-11  Mark Mitchell  <mark@codesourcery.com>
2148
2149         * cplus-dem.c (do_type): Handle pointer to member types whose
2150         enclosing classes have namespace scope.
2151
2152 Sun Oct 10 01:23:50 1999  Marc Espie <espie@cvs.openbsd.org>
2153
2154         * config.table:  Provide a backup shell for executing move-if-change.
2155
2156 1999-10-02  Mark Mitchell  <mark@codesourcery.com>
2157
2158         * xmalloc.c (xmalloc): Fix spelling error.
2159         (xcalloc, xrealloc): Likewise.
2160
2161 1999-10-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2162
2163         * cplus-dem.c (fancy_abort, demangle_integral_value,
2164         demangle_arm_hp_template, recursively_demangle,
2165         standard_symbol_characters, hp_symbol_characters, main): Add prototype.
2166         (program_name, program_version, fatal): Constify a char*.
2167         (usage, fatal): Mark with ATTRIBUTE_NORETURN.
2168         (main): Call return, not exit.
2169
2170 1999-09-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2171
2172         * choose-temp.c: Remove obsolete comment about gcc.
2173         (make_temp_file): Constify a char*.
2174
2175 Wed Sep  8 20:03:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2176
2177         * xmemdup.c: Include sys/types.h.
2178
2179 1999-09-07  Jeff Garzik  <jgarzik@pobox.com>
2180
2181         * xmemdup.c: New xmemdup function.
2182         * Makefile.in, makefile.vms, vmsbuild.com:  Use xmemdup.[co].
2183
2184 Tue Sep  7 23:32:18 1999  Linas Vepstas  <linas@linas.org>
2185
2186         * config.table: Add openedition target.
2187         * config/mh-openedition: New file.
2188
2189 Thu Sep  2 01:36:12 1999  Marc Espie <espie@cvs.openbsd.org>
2190
2191         * pexecute.c (pexecute):  Fill in temp_base when needed.
2192
2193 1999-08-31  Richard Henderson  <rth@cygnus.com>
2194
2195         * getpwd.c: Check HAVE_GETCWD before defining it away.
2196
2197 1999-08-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2198
2199         * Makefile.in (CFILES): Add calloc.c and getpwd.c.
2200         (REQUIRED_OFILES): Add getpwd.o.
2201         (getpwd.o): Add target.
2202
2203         * configure.in (AC_PREREQ): Bump to 2.13.
2204         (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
2205
2206         * getpwd.c: New file, moved here from gcc.
2207
2208 1999-08-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2209
2210         * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
2211         comparing against a signed quantity.
2212         (arm_special): Likewise.
2213         (demangle_fund_type): Likewise.
2214         (do_hpacc_template_const_value): Mark parameter `work' with
2215         ATTRIBUTE_UNUSED.
2216         (main): Constify variable `valid_symbols'.
2217
2218 Tue Aug 24 02:50:45 1999  Philippe De Muyter  <phdm@macqel.be>
2219
2220         * strtoul.c (strtoul): Add parentheses around && within ||.
2221
2222 Fri Aug  6 23:32:29 1999  Daniel Jacobowitz <drow@drow.them.org>
2223
2224         * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
2225         libdir, libsubdir and tooldir.
2226
2227 1999-08-01  Mark Mitchell  <mark@codesourcery.com>
2228
2229         * splay-tree.c (splay_tree_insert): Return the new node.
2230
2231 1999-07-14  Richard Henderson  <rth@cygnus.com>
2232
2233         * argv.c: Include stdlib.h and string.h instead of
2234         prototyping directly.
2235         * choose-temp.c: Conditionally include string.h.
2236
2237 1999-07-12  Jason Merrill  <jason@yorick.cygnus.com>
2238
2239         * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
2240
2241 1999-07-11  Ian Lance Taylor  <ian@zembu.com>
2242
2243         * splay-tree.c (splay_tree_insert): Add initialization to avoid
2244         warning.
2245
2246 1999-07-07  Jason Merrill  <jason@yorick.cygnus.com>
2247
2248         * Makefile.in (needed-list): Only include stuff we actually need
2249         for libstdc++.
2250
2251 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2252
2253         * configure.in (checkfuncs): Add gettimeofday.
2254         * config.in, configure: Regenerated.
2255
2256 Mon Jun 21 05:56:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2257
2258         * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
2259         the test fails.
2260         * configure: Regenerate.
2261
2262 1999-06-10  Mike Stump  <mrs@wrs.com>
2263
2264         * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
2265         parallel builds.
2266
2267 1999-05-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2268
2269         * putenv.c: Include ansidecl.h to define `const'.
2270         * setenv.c: Likewise.
2271
2272 Wed May 26 03:58:20 1999  "Melissa O'Neill" <oneill@cs.sfu.ca>
2273
2274         * Makefile.in (CFILES): Add putenv.c and setenv.c.
2275         * configure.in (funcs): Add putenv and setenv.
2276         (AC_CHECK_FUNCS): Check for putenv and setenv.
2277         * configure: Rebuilt.
2278         * putenv.c setenv.c: New files.
2279
2280         * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
2281         bytes of space using malloc.
2282
2283 Mon May 17 01:42:34 1999  Stu Grossman  <grossman@babylon-5.cygnus.com>
2284
2285         * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
2286         the *mangled pointer beyond the end of the string.  Clean up code to
2287         match prevailing coding style.
2288
2289 1999-05-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2290
2291         * tmpnam.c (L_tmpnam): Fix typo.
2292
2293 Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
2294
2295         * cplus-dem.c (standard_symbol_characters): Renamed from
2296         standard_symbol_alphabet.  No longer modify TABLE.
2297         (hp_symbol_characters): Renamed from hp_symbol_alphabet.  No longer
2298         modify TABLE.
2299         (main): Corresponding changes.  Use strchr to determine if a
2300         character is valid.
2301
2302 1999-05-11  Jim Blandy  <jimb@zwingli.cygnus.com>
2303
2304         * cplus-dem.c (main): Use table lookup to distinguish identifier
2305         characters from non-identifier characters.
2306         (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
2307
2308 Thu May  6 20:34:42 1999  Fred Fish  <fnf@be.com>
2309
2310         * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
2311         * getruntime.c: Only attempt to include sys/resource.h and
2312         use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
2313         are defined.
2314
2315 Mon Apr 26 01:36:06 1999  Donn Terry (donn@interix.com)
2316
2317         * configure.in (alloca detection): Handle alloca directly for interix.
2318         * configure: Rebuilt.
2319
2320 Sun Apr 25 01:18:21 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2321
2322         * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
2323
2324 1999-04-20  Jim Blandy  <jimb@zwingli.cygnus.com>
2325
2326         Fix from Dale Hawkins:
2327         * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
2328         reallocated properly if we use it again.
2329
2330         * cplus-dem.c (demangle_fund_type): Check for buffer overrun.  Be
2331         stricter about syntax.  Always null-terminate string.
2332
2333 Thu Apr 15 23:00:55 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2334
2335         * configure.in (checkfuncs): Check for sbrk.
2336         * config.in: Rebuilt.
2337         * configure: Likewise.
2338         * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
2339
2340 1999-04-12  Jim Blandy  <jimb@zwingli.cygnus.com>
2341
2342         Fix from Marcus Daniels:
2343         * cplus-dem.c (demangle_fund_type): Don't run off the end of the
2344         identifier looking for another underscore.
2345
2346 Sun Apr 11 23:20:59 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2347
2348         * pexecute.c: Change all references to __UWIN__ to _UWIN.
2349         * xmalloc.c: Likewise.
2350         (xcalloc): UWIN has sbrk.
2351         (xrealloc): Fix guard macro.
2352
2353 1999-04-11  Richard Henderson  <rth@cygnus.com>
2354
2355         * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
2356         or <alloca.h>.
2357         * clock.c (GNU_HZ): New definition.
2358         (clock): Use it.
2359         * getruntime.c: Likewise.
2360
2361         * config.table: Use mh-beos.
2362         * config/mh-beos: New file.
2363
2364 1999-04-11  Mark Mitchell  <mark@codesourcery.com>
2365
2366         * cplus-dem.c (demangle_template_value_parm): Handle
2367         pointers-to-members.
2368         (do_type): Handle template parameters as qualifiers.
2369
2370 1999-04-01  Jim Blandy  <jimb@zwingli.cygnus.com>
2371
2372         * cplus-dem.c: Attempt to handle overflows in counts with some
2373         semblance of grace.
2374         (consume_count): Detect overflows.  Return -1 to indicate errors,
2375         instead of zero.
2376         (demangle_template_value_parm, demangle_template): Handle change
2377         to consume_count's return convention.
2378
2379 1999-04-05  Tom Tromey  <tromey@cygnus.com>
2380
2381         * testsuite/regress-demangle: New file.
2382         * testsuite/demangle-expected: New file.
2383
2384         * Makefile.in (all, check, installcheck, info, install-info,
2385         clean-info, dvi, install, etags, tags, mostlyclean, clean,
2386         distclean, maintainer-clean, realclean): Depend on corresponding
2387         `-subdir' target.
2388         (all-subdir check-subdir installcheck-subdir info-subdir
2389         install-info-subdir clean-info-subdir dvi-subdir
2390         install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
2391         distclean-subdir maintainer-clean-subdir): New target.
2392         * testsuite/Makefile.in: New file.
2393         * configure: Rebuilt.
2394         * configure.in: Create testsuite/Makefile.
2395
2396 1999-04-02  Mark Mitchell  <mark@codesourcery.com>
2397
2398         * splay-tree.h (splay_tree_compare_pointers): Define.
2399
2400 1999-03-30  Mark Mitchell  <mark@codesourcery.com>
2401
2402         * splay-tree.c (splay_tree_compare_ints): Define.
2403
2404 1999-03-30  Tom Tromey  <tromey@cygnus.com>
2405
2406         * cplus-dem.c (consume_count): If `count' wraps, return 0 and
2407         don't advance input pointer.
2408         (demangle_class_name): If consume_count didn't find a count, do
2409         nothing.  Don't bother with `strlen' sanity check; consume_count
2410         does it for us.
2411
2412 1999-03-16  Stan Shebs  <shebs@andros.cygnus.com>
2413
2414         From Art Haas  <ahaas@neosoft.com>:
2415         * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
2416         when doing arm or hp style.
2417         (demangle_nested_args): Decr forgetting_types field when done.
2418
2419 Thu Mar 11 01:22:58 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2420
2421         * pexecute.c (__CYGWIN32__): Rename to
2422         (__CYGWIN__): this.
2423         * xmalloc.c: Likewise.
2424
2425         Changes to support i386-pc-uwin.
2426         * configure.in (*-*-uwin*): Workaround for vfork bug.
2427         * configure: Regenerate.
2428         * pexecute.c (pexecute): Be like standard Unix.
2429         (pwait): Likewise.
2430         * xmalloc.c (first_break): Define.
2431         (xmalloc_set_program_name): Use.
2432         (xmalloc): Use.
2433
2434 Thu Mar 11 01:07:55 1999  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2435
2436         * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
2437
2438 Sun Feb 28 22:30:44 1999  Geoffrey Noer  <noer@cygnus.com>
2439
2440         * config.table: Check cygwin*, not cygwin32*.
2441
2442 Tue Feb  9 16:39:01 1999  Dave Brolley  <brolley@cygnus.com>
2443
2444         * Makefile.in: Change mkstemp -> mkstemps.
2445
2446 Tue Feb  9 01:12:27 1999  Marc Espie <Marc.Espie@liafa.jussieu.fr>
2447
2448         * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
2449         * configure.in (funcs): Check for and conditionally add mkstemps to
2450         the list of functions libiberty will provide.
2451         * configure: Rebuilt.
2452
2453 Wed Feb  3 00:01:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2454
2455         * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
2456         platforms that don't have HZ.
2457         * getruntime.c (HZ): Likewise.
2458
2459 Sat Jan 30 13:28:04 1999  Richard Henderson  <rth@cygnus.com>
2460
2461         * Makefile.in (xstrdup.o): Depend on config.h.
2462
2463 Wed Jan 13 07:26:44 1999  H.J. Lu  (hjl@gnu.org)
2464
2465         * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
2466         freeing it.
2467
2468 Wed Jan 13 14:16:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2469
2470         * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
2471
2472 Tue Jan  5 15:58:29 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
2473
2474         * Makefile.in (CFILES): fix typo, splay-tree.c instead of
2475         splay-tree.o.
2476
2477 1999-01-04  Jason Molenda  (jsm@bugshack.cygnus.com)
2478
2479         * configure.in: Require autoconf 2.12.1 or higher.
2480
2481 1998-12-30  Michael Meissner  <meissner@cygnus.com>
2482
2483         * random.c (NULL): Don't redefine NULL if it is already defined.
2484
2485 Tue Dec 22 09:43:35 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2486
2487         * argv.c (buildargv): Cast the result of alloca in assignment.
2488
2489         * choose-temp.c: Include stdlib.h.
2490
2491         * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
2492         (snarf_numeric_literal): Constify first parameter.
2493         (code_for_qualifier): Avoid a gcc extension, make the parameter an
2494         int, not a char.
2495         (demangle_qualifier): Likewise.
2496         (demangle_signature): Cast the argument of a ctype function to
2497         unsigned char.
2498         (arm_pt): Add parens around assignment used as truth value.
2499         (demangle_arm_hp_template): Constify variable `args'.
2500         (do_hpacc_template_const_value): Cast the argument of a ctype
2501         function to unsigned char.
2502         (do_hpacc_template_literal): Remove unused variable `i'.
2503         (snarf_numeric_literal): Constify parameter `args'.
2504         Cast the argument of a ctype function to unsigned char.
2505
2506         * floatformat.c (floatformat_to_double): Add explicit braces to
2507         avoid ambiguous `else'.
2508
2509         * fnmatch.c (fnmatch): Change type of variables `c', `c1',
2510         `cstart' and `cend' to unsigned char.  Cast the argument of macro
2511         `FOLD', which uses ctype functions, to unsigned char.
2512
2513         * objalloc.c (free): Add prototype.
2514
2515 Sun Dec 20 16:03:46 1998  Hans-Peter Nilsson  <hp@axis.se>
2516
2517         * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
2518
2519 Fri Dec 18 17:50:18 1998  David Taylor  <taylor@texas.cygnus.com>
2520
2521         * cplus-dem.c (demangle_arm_pt): remove declaration -- function
2522         doesn't exist.
2523         (do_hpacc_template_literal): remove unused variable `i'.
2524
2525 Fri Dec 18 16:11:43 EST 1998  Andrew MacLeod  <amacleod@cygnus.com>
2526
2527         * cplus-dem.c (demangle_fund_type): Process CV and u codes before
2528         bumping the pointer we read from. Also prepend these codes,
2529         as we do in other places.
2530
2531 1998-12-18  Nick Clifton  <nickc@cygnus.com>
2532
2533         * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
2534         'const char *' in order to match its usage when calling siblings.
2535         (snarf_numeric_literal): Make first arg 'const char **' in order
2536         to match usage.
2537
2538 Mon Dec 14 09:55:50 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2539
2540         * choose-temp.c: Don't check IN_GCC anymore.
2541
2542         * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
2543         * memchr.c (memchr): Likewise.
2544         * memcpy.c (memcpy): Likewise.
2545         * memmove.c (memmove): Likewise.
2546
2547         * mkstemp.c: Don't check IN_GCC anymore.
2548         * pexecute.c: Likewise.
2549         * splay-tree.c: Likewise.
2550
2551         * strchr.c (strchr): Use `const', not `CONST'.
2552         * strrchr.c (strrchr): Likewise.
2553         * strtol.c (strtol): Likewise.
2554         * strtoul.c (strtoul): Likewise.
2555
2556 Fri Dec  4 13:51:04 1998  David Taylor   <taylor@texas.cygnus.com>
2557                           Elena Zannoni  <ezannoni@cygnus.com>
2558                           Stan Shebs     <shebs@cygnus.com>
2559                           Edith Epstein  <eepstein@cygnus.com>
2560                           Andres MacLeod <amacleod@cygnus.com>
2561                           Satish Pai     <pai@apollo.hp.com>
2562
2563         * HP aCC demangling support.
2564         * cplus-dem.c
2565         (main): Remove default to HP style demangling, set to EDG
2566         demangling correctly when -edg specified; set the demangling style
2567         when user specifies 'edg'. Set strip_underscore to
2568         prepends_underscore, if not HPUXHPPA.  Set
2569         current_demangling_style to hp_demangling if HPUXHPPA.  Set
2570         current demangling style correctly if the switch is hp.  Read
2571         label correctly also in the HP style case.
2572         (work_stuff): add temp_start field; add field for volatile member
2573         function.
2574         (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
2575         style for this case is the same as ARM.
2576         (demangle_args): handle EDG_DEMANGLING style; support HP style.
2577         (demangle_arm_hp_template): new function. (It was
2578         demangle_arm_pt.); check and set value of temp_start field in
2579         multiple places. Also, when ceching for end of template args,
2580         check to see if at end of static member of template class.
2581         (demangle_class): new local variable : save_class_name_end Don't
2582         include template args in string defining class.
2583         (demangle_class_name): use demangel_arm_hp_template.
2584         (demangle_function_name): handle case where demangling style is
2585         HP_DEMANGLING and currently point at an 'X' in the mangled name.
2586         Handle EDG_DEMANGLING style.  Handle constructor and destructor
2587         ops for HP style.
2588         (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
2589         styles.  global destructor and constructor for HP style are same
2590         as for ARM style. Same for local variables.
2591         (demangle_qualified): handle EDG_DEMANGLING style.
2592         (demangle_signature): add case for volatile member function.  For
2593         cases '1' - '9' : initialize the temp_start field to -1 and handle
2594         the EDG_DEMANGLING style.  for case 'F' : handle EDG_DEMANGLING
2595         and AUTO_DEMANGLING styles.  If expecting a function and managed
2596         to demangle the funct args, then handle the LUCID_DEMANGLING,
2597         ARM_DEMANGLING, and EDG_DEMANGLING styles.  Add case for local
2598         class name after "Lnnn_ in HP style case. HP style too needs to
2599         forget types.  _nnn is OK for HP style, so don't report failure.
2600         (do_hpacc_template_const_value): new function. Handle template's
2601         value param for HP/aCC.
2602         (do_hpacc_template_literal): new function.  Handle a template's
2603         literal parameter for HP aCC.
2604         (recursively_demangle): new function
2605         (snarf_numeric_literal): new function.
2606         (usage): add 'edg' to the list of demangling styles; add hp switch
2607         to message.
2608
2609 Sat Nov 28 17:25:22 1998  Christopher Faylor <cgf@cygnus.com>
2610
2611         * pexecute.c: Remove obsolete ifdefed cygwin code.
2612
2613 Fri Nov 27 13:26:06 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2614
2615         * choose-temp.c: Always include libiberty.h.  Avoid redundancies.
2616         * cplus-dem.c: Likewise.  Conform to libiberty.h.
2617         * pexecute.c: Likewise.
2618         * splay-tree.c: Likewise.
2619
2620 1998-11-25  Mike Stump  <mrs@wrs.com>
2621
2622         * Makefile.in (splay-tree.o): Add config.h dependency.
2623
2624 Mon Nov 23 16:59:49 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2625
2626         *  configure.in: Use AC_PREREQ(2.12.1).
2627
2628 1998-11-16  Benjamin Kosnik  <bkoz@haight.constant.com>
2629
2630         * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
2631
2632 Thu Nov 19 22:15:50 1998  Jeffrey A Law  (law@cygnus.com)
2633
2634         * mpw.c (mpw_access): Add missing parens.
2635
2636 Thu Nov 19 12:59:21 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2637
2638         * configure.in: Call AC_HEADER_SYS_WAIT.
2639
2640         * pexecute.c: Include sys/wait.h when !IN_GCC.
2641
2642 Thu Nov 19 14:38:20 1998  Geoffrey Noer  <noer@cygnus.com>
2643
2644         * pexecute.c: revert back to checking old Cygwin
2645         preprocessor symbol until some time has passed.
2646
2647 Wed Nov 18 08:52:26 1998  Christopher Faylor <cgf@cygnus.com>
2648
2649         * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
2650         since it will now support similar constructs.
2651
2652 Fri Nov 13 19:18:05 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2653
2654         * configure.in: Check for calloc.
2655
2656         * calloc.c: New file.
2657
2658         * xmalloc.c (xcalloc): New function.
2659
2660 Fri Nov 13 08:51:46 EST 1998  Andrew MacLeod  <amacleod@cygnus.com>
2661
2662         *cplus-dem.c (demangle_prefix): Use the last "__"
2663         in the mangled name when looking for the signature. This allows
2664         template names to begin with "__".
2665
2666 1998-11-08  Mark Mitchell  <mark@markmitchell.com>
2667
2668         * cplus-dem.c (type_kind_t): Add tk_reference.
2669         (demangle_template_value_parm): Handle it.
2670         (do_type): Use it for references, instead of tk_pointer.
2671
2672         * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
2673         not internal_cplus_demangle.
2674
2675 Sat Nov  7 16:02:10 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2676
2677         * choose-temp.c: Don't include gansidecl.h.
2678         * mkstemp.c: Likewise.
2679         * pexecute.c: Likewise.
2680
2681 Mon Nov  2 15:05:33 1998  Geoffrey Noer  <noer@cygnus.com>
2682
2683         * configure.in: detect cygwin* instead of cygwin32*
2684         * configure: regenerate
2685
2686 Mon Nov  2 10:22:01 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2687
2688         * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
2689         whether to include config.h.  Possibly include unistd.h in the
2690         !IN_GCC case.  Define VFORK_STRING as a printable function call
2691         for error messages (either "vfork" or "fork".)  If HAVE_VFORK_H is
2692         defined, include vfork.h.  If VMS is defined, define vfork()
2693         appropriately.  Remove vfork check on USG, we're using autoconf.
2694         (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
2695         locally what string to use.
2696
2697 1998-10-26  Mark Mitchell  <mark@markmitchell.com>
2698
2699         * splay-tree.c: Tweak include directives to make sure declarations of
2700         xmalloc and free are available.
2701
2702 1998-10-25  Mark Mitchell  <mark@markmitchell.com>
2703
2704         * cplus-dem.c (gnu_special): Fix handling of virtual tables in
2705         anonymous namespaces.
2706
2707 1998-10-23  Mark Mitchell  <mark@markmitchell.com>
2708
2709         * cplus-dem.c (work_stuff): Replace const_type and volatile_type
2710         with type_quals.
2711         (TYPE_UNQUALIFIED): New macro.
2712         (TYPE_QUAL_CONST): Likewise.
2713         (TYPE_QUAL_VOLATILE): Likewise.
2714         (TYPE_QUAL_RESTRICT): Likewise.
2715         (code_for_qualifier): New function.
2716         (qualifier_string): Likewise.
2717         (demangle_qualifier): Likewise.
2718         (internal_cplus_demangle): Use them.
2719         (demangle_signature): Likewise.
2720         (demangle_template_value_parm): Likewise.
2721         (do_type): Likewise.
2722         (demangle_fund_type)): Likewise.
2723
2724 Thu Oct 22 19:58:43 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2725
2726         * splay-tree.c (splay_tree_foreach_helper): Make definition static
2727         to match prototype.
2728
2729 1998-10-21  Mark Mitchell  <mark@markmitchell.com>
2730
2731         * splay-tree.c: New file.
2732         * Makefile.in (CFILES): Add it.
2733         (REQUIRED_OFILES): Likewise.
2734         (splay-tree.o): Add dependencies.
2735
2736 Tue Oct 20 12:29:02 1998  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2737
2738         * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
2739         range of 'K' index.
2740
2741 Thu Oct 15 18:51:12 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2742
2743         * choose-temp.c: Prototype mkstemps() when IN_GCC.
2744
2745         * cplus-dem.c (consume_count): Cast argument of ctype macro to
2746         `unsigned char'.
2747         (cplus_demangle_opname): Cast the result of `strlen' to (int) when
2748         comparing against one.
2749         (cplus_mangle_opname): Likewise.
2750         (demangle_integral_value): Cast argument of ctype macro to
2751         `unsigned char'.
2752         (demangle_template_value_parm): Likewise.
2753         (demangle_template): Initialize variable `bindex'.  Cast the
2754         result of `strlen' to (int) when comparing against one.  Remove
2755         unused variable `start_of_value_parm'.
2756         (demangle_class_name): Cast the result of `strlen' to (int) when
2757         comparing against one.
2758         (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
2759         (gnu_special): Likewise.  Cast the result of `strlen' to (int)
2760         when comparing against one.
2761         (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
2762         (get_count): Likewise.
2763         (do_type): Likewise.  Cast the result of `strlen' to (int) when
2764         comparing against one.
2765         (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
2766         (demangle_function_name): Cast the result of `strlen' to (int)
2767         when comparing against one.
2768
2769         * mkstemp.c (mkstemps): Cast variable `len' to (int) when
2770         comparing against one.
2771
2772 Tue Oct 13 23:51:51 1998  Jeffrey A Law  (law@cygnus.com)
2773
2774         * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
2775         * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
2776         * config.in, configure: Rebuilt.
2777
2778         * getopt.c: Check HAVE_STRINGS_H before including strings.h.
2779         * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
2780         * config.in, configure: Rebuilt.
2781
2782 Mon Oct 12 19:15:59 1998  Geoffrey Noer  <noer@cygnus.com>
2783
2784         * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
2785
2786 Sun Oct 11 17:36:06 1998  Michael Tiemann  <tiemann@holodeck.cygnus.com>
2787
2788         * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
2789
2790 Thu Oct  8 23:42:08 1998  Jeffrey A Law  (law@cygnus.com)
2791
2792         * Merge egcs & devo libiberty.
2793
2794 1998-09-08  Martin von Löwis  <loewis@informatik.hu-berlin.de>
2795
2796         * cplus-dem.c (demangle_arm_pt): Demangle anonymous namespaces.
2797
2798 Mon Sep  7 23:29:01 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2799
2800         * mkstemp.c: Include config.h even when not IN_GCC.  Wrap header
2801         inclusions inside HAVE_*_H macros.  Include ansidecl.h when not
2802         IN_GCC.
2803
2804         * vasprintf.c: Include stdarg.h/varargs.h first.
2805
2806         * vprintf.c: Likewise.
2807
2808 Sat Sep  5 03:24:49 1998  Jeffrey A Law  (law@cygnus.com)
2809
2810         * pexecute.c: Updates from gcc.  Copy in gcc has been removed.  This
2811         is the canonical copy.  Define ISSPACE if !IN_GCC.
2812         * alloca.c, vfprintf.c, choose-temp.c, mkstemp.c, getopt.c: Similarly.
2813         * getopt1.c, obstack.c: Similarly.
2814         * Makefile.in: Build mkstemp.o
2815
2816 Tue Sep  1 23:12:47 1998  Christopher Faylor <cgf@cygnus.com>
2817
2818         * configure.in: Include asprintf in list of functions known not
2819         to be in newlib.
2820         * configure: Rebuild.
2821
2822 Wed Aug 19 14:05:01 1998  Mumit Khan  <khan@xraylith.wisc.edu>
2823
2824         * cplus-dem.c (work_stuff): Add dllimported.
2825         (demangled_prefix): Mark symbols imported from PE DLL.
2826         (internal_cplus_demangled): Handle.
2827
2828 1998-08-17  Jason Merrill  <jason@yorick.cygnus.com>
2829
2830         * cplus-dem.c (do_type): Fix simple array handling.  If we fail,
2831         stay failed.
2832
2833 Mon Aug 17 10:40:34 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2834
2835         * cplus-dem.c: Include config.h if it exists.  Also, only
2836         prototype malloc/realloc if we can't get stdlib.h.
2837
2838 Sat Aug 15 16:15:01 1998  Ian Lance Taylor  <ian@cygnus.com>
2839
2840         * configure.in: Switch back to checking --with-target-subdir when
2841         deciding whether to check for newlib, undoing part of July 15
2842         change.
2843         * configure: Rebuild.
2844
2845 Thu Aug 13 16:47:38 1998  Mark Mitchell  <mark@markmitchell.com>
2846
2847         * cplus-dem.c (type_kind_t): New type.
2848         (demangle_template_value_parm): Add type_kind_t parameter.  Rely
2849         on this paramter, rather than demangling the type again.
2850         (demangle_integral_value): Pass tk_integral.
2851         (demangle_template_: Pass the value returned from do_type.
2852         (do_type): Return a type_kind_t.  Pass tk_integral to
2853         demangle_template_value_parm for array bounds.
2854         (demangle_fund_type): Likewise.
2855
2856         Also incorporate from GCC version:
2857
2858         Tue Jul 21 13:28:19 1998  Jason Merrill  <jason@yorick.cygnus.com>
2859
2860         * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
2861
2862 Thu Aug 13 16:47:38 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2863
2864         * cplus-dem.c (demangle_nested_args): Make function definition
2865         static to match the prototype.
2866
2867 Tue Jul 28 11:33:09 1998  Mark Mitchell  <mark@markmitchell.com>
2868
2869         * cplus-dem.c (type_kind_t): New type.
2870         (demangle_template_value_parm): Add type_kind_t parameter.  Rely
2871         on this paramter, rather than demangling the type again.
2872         (demangle_integral_value): Pass tk_integral.
2873         (demangle_template_: Pass the value returned from do_type.
2874         (do_type): Return a type_kind_t.  Pass tk_integral to
2875         demangle_template_value_parm for array bounds.
2876         (demangle_fund_type): Likewise.
2877
2878         Also incorporate from GCC version:
2879
2880         Tue Jul 21 13:28:19 1998  Jason Merrill  <jason@yorick.cygnus.com>
2881
2882         * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
2883
2884 Mon Jul 27 12:16:08 1998  Ian Lance Taylor  <ian@cygnus.com>
2885
2886         * Makefile.in (ALLOCA): New variable.
2887         ($(TARGETLIB)): Add $(ALLOCA) to library.
2888         (needed-list): Add $(ALLOCA).
2889         ($(ALLOCA)): Depend upon stamp-picdir.
2890
2891 Sun Jul 19 08:23:17 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2892
2893         * cplus-dem.c (demangle_nested_args): Make function definition
2894         static to match the prototype.
2895
2896 Wed Jul 15 00:12:58 1998  Ian Lance Taylor  <ian@cygnus.com>
2897
2898         * configure.in: Check --with-cross-host rather than
2899         --with-target-subdir when deciding whether build uses a cross
2900         compiler, and when deciding where to install the library.
2901         * configure: Rebuild.
2902
2903 Sun Jul 12 01:27:05 1998  Jason Merrill  <jason@yorick.cygnus.com>
2904
2905         * cplus-dem.c (demangle_nested_args): Return a value.
2906
2907 Sat Jul 11 16:19:48 1998  Mark Mitchell  <mark@markmitchell.com>
2908
2909         * cplus-dem.c (string): Move definition before work_stuff.
2910         (work_stuff): Add volatile_type, forgetting_types,
2911         previous_argument, and nrepeats fields.
2912         (SCOPE_STRING): New macro.
2913         (demangle_template): Add `remember' parameter.  Add comment.
2914         Register the `B' code type here, if remembering.  Tidy.  Fix crash
2915         on NULL tmpl_argvec.  Be consistent with use of tname/trawname.
2916         (demangle_nested_args): New function.
2917         (internal_cplus_demangle): Handle volatile-qualified member
2918         functions.
2919         (mop_up): Delete the previous_argument string if present.
2920         (demangle_signature): Tidy.  Handle volatile-qualified member
2921         functions.  Handle back-references using the `B' code.  Use extra
2922         parameter to demangle_template and SCOPE_STRING where appropriate.
2923         (demangle_template_value_parm): Fix thinko; 'B' is not an integral
2924         code.
2925         (demangle_class): Use SCOPE_STRING.
2926         (gnu_special): Pass additional argument to demangle_template.
2927         Use SCOPE_STRING.
2928         (demangle_qualified): Save qualified types for later
2929         back-references.  Handle constructors and destructors for template
2930         types correctly.
2931         (do_type): Tidy.  Use SCOPE_STRING.  Pass extra argument to
2932         demangle_template.  Use demangled_nested_args.  Don't remember
2933         qualified types here; that's now done in demangle_qualified.
2934         Similarly for templates.
2935         (do_arg): Improve commment.  Handle 'n' repeat code.
2936         (remember_type): Check forgetting_types.
2937         (demangle_args): Deal with 'n' repeat codes.  Tidy.
2938
2939 Thu Jul  2 16:26:24 1998  Ian Lance Taylor  <ian@cygnus.com>
2940
2941         * config.table: Only use mh-fbsd21 on *-*-freebsd2.2.[012], not on
2942         *-*-freebsd2.2.*.  From Dmitrij Tejblum <tejblum@arc.hq.cti.ru>.
2943
2944 Mon Jun 15 16:29:01 1998  Ian Lance Taylor  <ian@cygnus.com>
2945
2946         * configure.in (setobjs): Correct quoting error in cygwin32 case.
2947         From Chris Faylor <cgf@cygnus.com>.
2948
2949 Mon Jun  1 13:47:55 1998  Jason Molenda  (crash@bugshack.cygnus.com)
2950
2951         * obstack.c: Update to latest FSF version.
2952
2953 Mon Jun  1 14:17:36 1998  Mike Stump  <mrs@wrs.com>
2954
2955         * Makefile.in: Add a dependency on stamp-picdir for the
2956         objects, so that we can do a parallel build.
2957
2958 Sat May 30 22:17:13 1998  Mumit Khan  <khan@xraylith.wisc.edu>
2959
2960         * configure.in (checkfuncs): Add missing "'".
2961
2962 Fri May 29 12:40:41 1998  Jason Molenda  (crash@bugshack.cygnus.com)
2963
2964         * obstack.c (_obstack_memory_used):  Elide this function if we're
2965         on a system with GNU libc.
2966
2967 Tue May 26 18:28:43 1998  Ian Lance Taylor  <ian@cygnus.com>
2968
2969         * Makefile.in (distclean): Remove config.log.
2970
2971 Tue May 26 15:01:52 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2972
2973         * Makefile.in (distclean): Don't remove alloca-conf.h.
2974
2975 Fri May 22 01:38:07 1998  Hans-Peter Nilsson  <hp@axis.se>
2976
2977         * cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.
2978
2979 1998-05-21  Mark Mitchell  <mmitchell@usa.net>
2980
2981         * cplus-dem.c (do_type): Handle volatile qualification.
2982
2983 1998-05-21  Manfred Hollstein  <manfred@s-direktnet.de>
2984
2985         * configure.in: Check for unistd.h as well.
2986         * configure: Rebuild.
2987         * config.in: Rebuild.
2988         * getpagesize.c (GNU_OUR_PAGESIZE): Use sysconf only if _SC_PAGESIZE
2989         is defined in unistd.h. Reformat conditional block for easier reading.
2990
2991         * config.table (shared): Default to no if ${enable_shared}
2992         is unset or empty; this logic is used by the toplevel
2993         configure scripts, too.
2994
2995 Sat May 16 14:01:26 1998  Jeffrey A Law  (law@cygnus.com)
2996
2997         * config.table: Add line to set enable_shared in the Makefile
2998         as needed.
2999
3000 Wed May 13 14:24:38 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3001
3002         * cplus-dem.c (squangle_mop_up): Change return type to void.
3003         (internal_cplus_demangle): Remove unused parameter `options'.
3004         All callers changed.
3005         (cplus_demangle_opname): Remove function wide variable `int i' and
3006         replace with `size_t i' at each location where it is used.
3007         (cplus_mangle_opname): change type of `i' from int to size_t.
3008
3009 Wed May 13 13:39:38 1998  Ian Lance Taylor  <ian@cygnus.com>
3010
3011         * alloca-conf.h: Include config.h.  Check HAVE_ALLOCA_H rather
3012         than sparc or sun.
3013         * Makefile.in (argv.o): Depend upon config.h and alloca-conf.h.
3014
3015 Fri May  8 00:23:51 1998  Ian Lance Taylor  <ian@cygnus.com>
3016
3017         * configure.in: Set libiberty_topdir correctly when srcdir is
3018         "." and with_target_subdir is not set.
3019         * configure: Rebuild.
3020
3021 Thu May  7 13:01:44 1998  Ian Lance Taylor  <ian@cygnus.com>
3022
3023         * configure.in: Add *-*-mingw32* case.
3024         * configure: Rebuild.
3025
3026 Wed May  6 11:33:51 1998  Ian Lance Taylor  <ian@cygnus.com>
3027
3028         * config.table: Never use a PIC file for *-*-cygwin32*.
3029
3030         * Makefile.in (config.status): Depend upon config.table.
3031
3032         * configure.in: On a cygwin32 host, always compile random, and
3033         don't test for sys_siglist, strsignal, or psignal.
3034         * configure: Rebuild.
3035
3036         * clock.c: Check HAVE_SYS_PARAM_H rather than NO_SYS_PARAM_H.
3037         * getcwd.c: Likewise.
3038         * getpagesize.c: Likewise.
3039         * getruntime.c: Likewise.
3040
3041 Tue May  5 18:08:32 1998  Ian Lance Taylor  <ian@cygnus.com>
3042
3043         Use autoconf tests rather than the old dummy.c test:
3044         * configure.in: Add AC_ARG_WITH calls for --with-target-subdir and
3045         --with-newlib.  Add AC_CONFIG_HEADER.  Use AC_REPLACE_FUNCS for
3046         most functions.  Add special cases to handle newlib and VxWorks.
3047         Remove target_makefile_frag.  Create stamp-h in AC_OUTPUT if
3048         CONFIG_HEADERS is set.  Only call config-ml.in in AC_OUTPUT if
3049         CONFIG_FILES is set; set ac_file before calling it.
3050         * config.table (arm-*-riscix*, *-*-cygwin32): Remove.
3051         (*-*-hpux*, *-*-hiux*, *-*-irix4*, *-*-solaris2*): Remove.
3052         (*-*-sysv4*, *-*-go32, *-*-vxworks5*, *-*-vxworks): Remove
3053         (i[3456]-*-mingw32*): Remove.
3054         * Makefile.in (ERRORS_CC, CONFIG_H, NEEDED_LIST): Remove.
3055         (LIBOBJS): New variable.
3056         (HOST_OFILES, DO_ALSO, STAGESTUFF): Remove.
3057         (all): Depend upon needed-list.  Don't check RULE1.
3058         (@target_makefile_frag@): Remove.
3059         (COMPILE.c): Include @DEFS@.
3060         (HFILES): Add alloca-conf.h.
3061         (REQUIRED_OFILES): Remove basename.o.
3062         ($(TARGETLIB)): New target.
3063         (stamp-needed, lneeded-list, needed.awk, stamp-config): Remove.
3064         (lconfig.h, needed2.awk, dummy.o, errors): Remove.
3065         (needed-list, config.h): Rewrite.
3066         (RULE1, $(RULE1), RULE2, $(RULE2)): Remove.
3067         (.always.): Remove.
3068         (Makefile): Set CONFIG_FILES and CONFIG_HEADERS.
3069         (stamp-h): New target.
3070         (atexit.o, clock.o, getcwd.o, getpagesize.o): New targets.
3071         (basename.o): Don't depend upon config.h.
3072         (getruntime.o): Depend upon config.h.
3073         * atexit.c: Include config.h.  Check HAVE_ON_EXIT rather than
3074         NEED_on_exit.
3075         * basename.c: Don't include config.h.  Don't check NEED_basename.
3076         * clock.c: Include config.h.
3077         * getcwd.c: Likewise.
3078         * getpagesize.c: Likewise.
3079         * getruntime.c: Likewise.  Fix checks which set HAVE_GETRUSAGE and
3080         HAVE_TIMES.
3081         * strerror.c: Change uses of NEED_sys_errlist to
3082         HAVE_SYS_ERRLIST.  Likewise for NEED_strerror and HAVE_STRERROR.
3083         * strsignal.c: Likewise for NEED_sys_siglist and HAVE_SYS_SIGLIST,
3084         and for NEED_strsignal and HAVE_STRSIGNAL and for NEED_psignal and
3085         HAVE_PSIGNAL.
3086         * acconfig.h: New file.
3087         * dummy.c: Remove.
3088         * functions.def: Remove.
3089         * config/mh-cxux7 (HDEFINES): Remove -DHAVE_SYSCONF.
3090         * config/mh-windows (HDEFINES): Remove.
3091         * config/mh-cygwin32: Remove.
3092         * config/mh-go32: Remove.
3093         * config/mh-irix4: Remove.
3094         * config/mh-riscix: Remove.
3095         * config/mh-sysv4: Remove.
3096         * config/mt-mingw32: Remove.
3097         * config/mt-vxworks5: Remove.
3098         * config.in: New file, generated using autoheader.
3099         * configure: Rebuild.
3100
3101 Mon May  4 13:00:28 1998  Ian Lance Taylor  <ian@cygnus.com>
3102
3103         * configure.in: Rewrite to use autoconf.
3104         * configure: Generate using autoconf.
3105         * config/mh-a68bsd: Remove.
3106         * config/mh-apollo68: Remove.
3107         * config/mh-hpbsd: Remove.
3108         * config/mh-ncr3000: Remove.
3109         * config/mh-sysv: Remove.
3110         * config/mh-aix (RANLIB, INSTALL): Don't define.
3111         * config/mh-cxux7 (RANLIB, INSTALL): Don't define.
3112         * config/mh-irix4 (CC, RANLIB, INSTALL): Don't define.
3113         * config/mh-sysv4 (RANLIB, INSTALL): Don't define.
3114         * config.table: Change config_shell to CONFIG_SHELL, and use
3115         libiberty_topdir to find move-if-change.
3116         (m68k-apollo-bsd*, m68k-apollo-sysv*): Remove.
3117         (i[3456]86-ncr-sysv4*, *-*-dgux*, hppa*-hp-bsd*): Remove.
3118         (*-*-irix*, *-*-m88kbcs*, *-*-sysv*): Remove.
3119         * Makefile.in (srcdir): Set to @srcdir@.
3120         (VPATH): Likewise.
3121         (prefix, exec_prefix, bindir, libdir): Set to autoconf variables.
3122         (SHELL, INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Likewise.
3123         (CC, CFLAGS, RANLIB)): Likewise.
3124         (datadir, man*dir, infodir, includedir, MAKEINFO): Remove.
3125         (target_makefile_frag, host_makefile_frag): Add substitutions.
3126         (INSTALL_DEST): Set to @INSTALL_DEST@.
3127         (Makefile): Depend upon config.status.  Don't depend upon
3128         $(host_makefile_frag) or $(target_makefile_frag).
3129         (config.status): New target.
3130
3131 Sun May  3 17:58:49 1998  Ian Lance Taylor  <ian@cygnus.com>
3132
3133         * config/mt-sunos4: Remove.  Should be handled by --with-headers
3134         and --with-libraries options at top level.
3135         * config.table: Never use mt-sunos4.
3136
3137         * alloca-conf.h: New file, combining alloca-norm.h and
3138         alloca-botch.h.
3139         * alloca-norm.h: Remove.
3140         * alloca-botch.h: Remove.
3141         * configure.in: Set shell variables files and links to empty.
3142         * config.table: Don't set shell variable files.
3143         * configure.bat: Don't create alloca-conf.h.
3144         * makefile.vms: Likewise.
3145         * mpw-config.in: Likewise.
3146         * vmsbuild.com: Likewise.
3147
3148 Fri May  1 11:41:42 1998  Ian Lance Taylor  <ian@cygnus.com>
3149
3150         * Makefile.in ($(HOST_OFILES) $(REQUIRED_OFILES)): Remove old
3151         target depending upon config.h.
3152         (alloca.o): Add target depending upon config.h
3153         (basename.o, choose-temp.o, fnmatch.o): Likewise.
3154         (getopt.o, getopt1.o, pexecute.o, strerror.o): Likewise.
3155         (strsignal.o, xstrerror.o): Likewise.
3156
3157 Fri May  1 04:26:25 1998  Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3158
3159         * cplus-dem.c (cplus_demangle_opname):  Initialize work.
3160
3161 Mon Apr 27 15:53:30 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
3162
3163         * cplus-dem.c (demangle_qualified): Replace missing else.
3164
3165 Sun Apr 26 15:38:50 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3166
3167         * cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
3168         length in the name of a virtual table.
3169
3170 Wed Apr 22 10:53:49 EDT 1998 Andrew MacLeod  <amacleod@cygnus.com>
3171
3172         * cplus-dem.c (struct work stuff): Add field for B and K mangle codes.
3173         (cplus_demangle_opname): Call mop_up_squangle.
3174         (cplus_demangle): Initialize squangle info, then call
3175         internal_cplus_demangle. (Most code moved there as well)
3176         (internal_cplus_demangle): New function, performs most of what use
3177         to be done in cplus_demangle, but is only called with this file.
3178         (squangle_mop_up): New function to clean up B and K code data.
3179         (mop_up): set pointers to NULL after freeing.
3180         (demangle_signature, demangle_template, demangle_class): Add
3181         switch elements to handle K and B codes.
3182         (demangle_prefix, gnu_special, demangle_qualified): Add
3183         code to handle K and B codes.
3184         (do_type, demangle_fund_type): Handle B and K codes.
3185         (remember_Ktype): New function to store K info.
3186         (register_Btype, remember_Btype): New functions for B codes.
3187         (forget_B_and_K_types): New function to destroy B and K info.
3188
3189 Fri Apr 10 01:49:10 1998  Jeffrey A Law  (law@cygnus.com)
3190
3191         * COPYING.LIB, choose-temp.c, cplus-dem.c: Sync with egcs & gcc.
3192
3193 Thu Mar  5 09:23:28 1998  Manfred Hollstein  <manfred@s-direktnet.de>
3194
3195         * config.table: Make locating frag files failsafe even for the
3196         special case if configuring and building in srcdir.
3197
3198 Mon Feb 23 14:33:15 1998  Ian Lance Taylor  <ian@cygnus.com>
3199
3200         * choose-temp.c: Fix handling of sys/file.h to work in libiberty.
3201
3202 Sun Feb 22 18:03:23 1998  Jeffrey A Law  (law@cygnus.com)
3203
3204         * choose-temp.c: Sync with copy in gcc.
3205
3206 Thu Feb 12 16:29:49 1998  Ian Lance Taylor  <ian@cygnus.com>
3207
3208         * getopt.c: Update to latest FSF version.
3209         * getopt1.c: Likewise.
3210
3211 Tue Feb 10 16:58:33 1998  Stan Shebs  <shebs@andros.cygnus.com>
3212
3213         * cplus-dem.c (gnu_special): Don't get confused by .<digits>
3214         strings that are not actually lengths.
3215
3216 Fri Feb  6 01:35:17 1998  Manfred Hollstein  <manfred@s-direktnet.de>
3217
3218         * Makefile.in (FLAGS_TO_PASS): Don't pass PICFLAG.
3219         (.c.o): Check value of enable_shared, not PICFLAG.
3220         (stamp-picdir): Dito.
3221
3222 Thu Feb  5 18:48:56 1998  Geoffrey Noer  <noer@cygnus.com>
3223
3224         * config/mh-cygwin32: remove vasprintf.o from EXTRA_OFILES
3225         since it gets built automatically
3226
3227 Sun Feb  1 02:52:32 1998  Mike Stump  <mrs@wrs.com>
3228
3229         * config.table (vxworks configs): Default to VxWorks 5.x, as that is
3230         the currently shipping OS.
3231
3232 Tue Jan 27 16:08:20 1998  Pat Rankin  <rankin@eql.caltech.edu>
3233
3234         * vmsbuild.com [REQUIRE_OFILES]: Synchronized with Makefile.in:
3235         Add fnmatch.o and objalloc.o; remove vasprintf.o.
3236         [config.h]: Define NEED_strsignal.
3237
3238 Mon Jan 19 12:20:01 1998  Ian Lance Taylor  <ian@cygnus.com>
3239
3240         * functions.def: Correct argument types for strerror and
3241         strsignal.  Reported by Alex Gutman <agutman@emc.com>.
3242
3243 Sun Jan 18 15:57:28 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>
3244
3245         * vasprintf.c (int_vasprintf): Increase buffer size for float/double
3246         values.
3247
3248 Sat Jan 17 22:28:38 1998  Mumit Khan  <khan@xraylith.wisc.edu>
3249                           J.J. VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
3250
3251         Add mingw32 support.
3252         * pexecute.c (pexecute): New function for mingw32. Supports pipes.
3253         (pwait): New function for mingw32.
3254
3255         * config.table (i[3456]86-*-mingw32*): Support for i386-mingw32.
3256         * config/mt-mingw32: New file.
3257         * xmalloc.c (first_break): Not used for mingw32.
3258         (xmalloc_set_program_name): Don't use sbrk on mingw32.
3259         (xmalloc): Likewise.
3260         (xrealloc): Likewise.
3261
3262 Sat Jan 17 22:28:05 1998  Jeffrey A Law  (law@cygnus.com)
3263
3264         * choose-temp.c: Sync with gcc version.
3265
3266 Tue Jan 13 18:34:39 1998  Jim Wilson  <wilson@cygnus.com>
3267
3268         * Makefile.in (install_to_libdir, install_to_tooldir): Add MULTISUBDIR
3269         to all filenames in libdir and tooldir.
3270         (distclean): Do MULTICLEAN before deleting Makefile.
3271         (stamp-needed, stamp-config): Add MULTISRCTOP to
3272         pathname for move-if-change.
3273
3274 Thu Dec  4 17:25:19 1997  Jeffrey A Law  (law@cygnus.com)
3275
3276         * strsignal.c (sys_nsig): Try NSIG and _NSIG.
3277
3278 Wed Nov 19 13:37:06 1997  Michael Meissner  <meissner@cygnus.com>
3279
3280         * alloca-norm.h (alloca, GCC case): Don't redefine alloca if it
3281         was already defined previously.
3282
3283 Mon Nov 10 12:48:03 1997  Philippe De Muyter  <phdm@macqel.be>
3284
3285         * Makefile.in (INSTALL): Use ../install-sh, not install.
3286
3287 Tue Oct 28 23:41:15 1997  Judy Goldberg  <jodyg@idt.net>
3288
3289         * Makefile.in (CFILES): Add pexecute.c.
3290
3291 Wed Oct 15 19:13:48 1997  Ian Lance Taylor  <ian@cygnus.com>
3292
3293         * asprintf.c: Consistently use either stdarg or varargs.
3294
3295 Tue Oct 14 12:01:00 1997  Mark Mitchell  <mmitchell@usa.net>
3296
3297         * cplus-dem.c (demangle_signature): Don't look for return types on
3298         constructors.  Handle member template constructors.
3299
3300 Fri Oct  3 17:53:30 1997  Ian Lance Taylor  <ian@cygnus.com>
3301
3302         * README: Fix configuration instructions.
3303
3304 Mon Sep 29 12:28:41 1997  Ian Lance Taylor  <ian@cygnus.com>
3305
3306         * pexecute.c: Update to current version from /gd/gnu/lib:
3307
3308         Mon Sep 29 12:27:59 1997  Ian Lance Taylor  <ian@cygnus.com>
3309
3310         * pexecute.c: Use spawn if __CYGWIN32__.
3311
3312         1997-08-08  Paul Eggert  <eggert@twinsun.com>
3313
3314         * pexecute.c: Include "config.h" first, as per autoconf manual.
3315
3316         Fri Jun 27 15:20:29 1997  Scott Christley <scottc@net-community.com>
3317
3318         * pexecute.c (fix_argv): New function.
3319         (pexecute): Win32 but not Cygwin32 needs its arguments fixed.
3320         Add underscore to cwait function call.
3321
3322 Sun Sep 28 12:00:52 1997  Mark Mitchell  <mmitchell@usa.net>
3323
3324         * cplus-dem.c (demangle_template): Add new parameter.  Handle new
3325         template-function mangling.
3326         (consume_count_with_underscores): New function.
3327         (demangle_signature): Handle new name-mangling scheme.
3328
3329 Wed Sep 24 00:31:59 1997  Felix Lee  <flee@yin.cygnus.com>
3330
3331         * asprintf.c: stdarg.h when ALMOST_STDC
3332         * config/mh-windows (EXTRA_OFILES): add asprintf.o and
3333         strncasecmp.o.
3334
3335 Thu Aug 28 14:27:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
3336
3337         * vasprintf.c (vasprintf): Allow for _BSD_VA_LIST_.
3338
3339         * config.table: Add case for FreeBSD 2.1 and 2.2, needs mh-fbsd21.
3340
3341         * config/mh-fbsd21 (EXTRA_OFILES): Force vasprintf.o
3342
3343 Wed Sep 10 12:43:10 1997  Jason Merrill  <jason@yorick.cygnus.com>
3344
3345         * cplus-dem.c (demangle_fund_type): Change "complex" to "__complex".
3346
3347 Fri Sep  5 16:34:42 1997  Andrew Cagney  <cagney@b1.cygnus.com>
3348
3349         * asprintf.c (asprintf): New file.
3350         * Makefile.in (CFILES): Add asprintf.c
3351         * functions.def: Ditto.
3352
3353 Thu Aug 28 18:53:34 1997  Andrew Cagney  <cagney@b1.cygnus.com>
3354
3355         * argv.c (dupargv): New function, duplicate an argument vector.
3356
3357 Tue Aug 19 20:28:45 1997  Geoffrey Noer  <noer@cygnus.com>
3358
3359         * config/mh-cygwin32: also build random.o
3360
3361 Tue Aug 19 17:10:56 1997  Jason Merrill  <jason@yorick.cygnus.com>
3362
3363         * cplus-dem.c: Add 'extern' to prepends_underscore.
3364
3365 Wed Jul 30 11:42:19 1997  Per Bothner  <bothner@cygnus.com>
3366
3367         * cplus-dem.c: Various changes to produce Java output when passed
3368         DMGL_JAVA.  Thus "::" becomes "." and "JArray<Foo>" becomes "Foo[]".
3369         (main): Support --java and -j flags to set DMGL_JAVA.
3370
3371 Tue Jul 22 19:05:23 1997  Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
3372
3373         * config/mh-go32 (CC, AR, RANLIB): Don't define.
3374
3375 Tue Jul 22 17:49:54 1997  Ian Lance Taylor  <ian@cygnus.com>
3376
3377         * Makefile.in (REQUIRED_OFILES): Add pexecute.o.
3378         (pexecute.o): New target.
3379
3380         * Makefile.in (stamp-needed): New target, replacing needed-list.
3381         (needed-list): Just depend upon stamp-needed.
3382         (stamp-config): New target, replacing config.h.
3383         (config.h): Just depend upon stamp-config.
3384         (mostlyclean): Remove stamp-*.
3385
3386 Thu Jun 12 11:00:18 1997  Angela Marie Thomas (angela@cygnus.com)
3387
3388         * Makefile.in (FLAGS_TO_PASS): pass INSTALL, INSTALL_PROGRAM and
3389         INSTALL_DATA for multilibbed installs
3390
3391 Tue Jun  3 13:21:05 1997  Doug Evans  <dje@canuck.cygnus.com>
3392
3393         Tue Dec 10 09:44:57 1996  Paul Eggert  <eggert@twinsun.com>
3394
3395         * choose-temp.c (choose_temp_base): Don't dump core if TMPDIR is empty.
3396
3397         * choose-temp.c (try): Insist that temp dir be searchable.
3398
3399         Wed Oct 23 17:36:39 1996  Doug Rupp  (rupp@gnat.com)
3400
3401         * choose-temp.c (choose_temp_base): On VMS, use proper syntax
3402         for current directory.
3403
3404         Sat Feb 15 19:03:48 1997  Geoffrey Noer  (noer@cygnus.com)
3405
3406         * pexecute.c: Remove special cases for cygwin32.
3407         (pwait): Remove local definition of `pid'.
3408
3409         Tue Nov 12 18:26:15 1996  Doug Rupp  (rupp@gnat.com)
3410
3411         * pexecute.c (vfork): Supply new definition for VMS.
3412         (pwait): Use waitpid instead of wait for VMS.
3413
3414 Tue May 20 14:02:20 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
3415
3416         * cplus-dem.c (do_type): Handle `J'.
3417         (demangle_fund_type): Print "complex" for it.
3418
3419 Wed Apr 30 12:15:45 1997  Jason Merrill  <jason@yorick.cygnus.com>
3420
3421         * configure.in: Don't turn on multilib here.
3422
3423 Mon Apr 28 19:04:31 1997  Michael Snyder  <msnyder@cleaver.cygnus.com>
3424
3425         * obstack.c: move _obstack_memory_used outside of ifdef.  Cannot be
3426         elided; needed by gdb and not present in libc.
3427
3428 Thu Apr 24 19:33:47 1997  Ian Lance Taylor  <ian@cygnus.com>
3429
3430         * Makefile.in (clean): Remove tmpmulti.out.
3431
3432 Tue Apr 22 10:25:15 1997  Fred Fish  <fnf@cygnus.com>
3433
3434         * floatformat.c (floatformat_ieee_double_littlebyte_bigword):
3435         Add new floatformat, mainly for ARM doubles.
3436
3437 Mon Apr 14 12:11:16 1997  Ian Lance Taylor  <ian@cygnus.com>
3438
3439         * config.table: Use ${config_shell} with ${moveifchange}.  From
3440         Thomas Graichen <graichen@rzpd.de>.
3441
3442 Fri Apr  4 03:09:24 1997  Ulrich Drepper  <drepper@cygnus.com>
3443
3444         * configure.in: Enable multilibing by default.
3445         Update multilib template to read config-ml.in.
3446
3447 Tue Apr  1 16:26:39 1997  Klaus Kaempf  <kkaempf@progis.de>
3448
3449         * makefile.vms: Add objalloc.
3450
3451 Mon Mar 31 23:57:51 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
3452
3453         * cplus-dem.c (demangle_it): Add prototype declaration.
3454         (usage, fatal): Likewise.
3455
3456         * xexit.c (_xexit_cleanup): Add prototype.
3457
3458         * strerror.c (init_error_tables): Declare.
3459
3460 Fri Mar 28 11:43:20 1997  H.J. Lu  <hjl@lucon.org>
3461
3462         * functions.def: Add DEF of vasprintf, and DEFFUNC of strsignal.
3463         * strsignal.c: Only define strsignal if NEED_strsignal.
3464         * Makefile.in (REQUIRED_OFILES): Remove vasprintf.o.
3465         * configure.in: Add NEED_strsignal to xconfig.h.  Add vasprintf.o
3466         to xneeded-list.
3467         * config/mh-cygwin32 (HDEFINES): Add -DNEED_strsignal.
3468         (EXTRA_OFILES): Define to vasprintf.o.
3469         * config/mh-windows (HDEFINES): Add -DNEED_strsignal.
3470         (EXTRA_OFILES): Add vasprintf.o.
3471         * config/mt-vxworks5 (vxconfig.h): Define NEED_strsignal.
3472         (vxneeded-list): Add vasprintf.o.
3473
3474 Thu Mar 20 17:02:09 1997  Ian Lance Taylor  <ian@cygnus.com>
3475
3476         * objalloc.c: Include <stdio.h>.
3477
3478 Mon Mar 17 19:23:11 1997  Ian Lance Taylor  <ian@cygnus.com>
3479
3480         * objalloc.c: New file.
3481         * Makefile.in (CFILES): Add objalloc.c
3482         (REQUIRED_OFILES): Add objalloc.o.
3483         (objalloc.o): New target.
3484
3485 Sat Mar 15 18:49:41 1997  Ian Lance Taylor  <ian@cygnus.com>
3486
3487         * obstack.c: Update to current FSF version.
3488
3489 Fri Mar 14 14:18:47 1997  Ian Lance Taylor  <ian@cygnus.com>
3490
3491         * cplus-dem.c: Add prototypes for all static functions.
3492         (mystrstr): Make static.  Make arguments and result const.
3493         (cplus_match): Remove; not used.
3494
3495 Tue Mar 11 14:20:31 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
3496
3497         * cplus-dem.c (gnu_special): Call demangled_fund_type for other
3498         __t* symbols.
3499
3500 Tue Mar 11 15:41:21 1997  H.J. Lu  <hjl@lucon.org>
3501
3502         * spaces.c: Declare malloc and free properly.
3503         * strsignal.c (init_signal_tables): Add prototype.
3504         * xatexit.c (_xexit_cleanup): Add parameter declarations.
3505
3506 Wed Feb 19 15:43:24 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
3507
3508         * Makefile.in (lneeded-list): If alloca.o is needed, xexit.o is
3509         also required because of xmalloc.o.
3510
3511 Fri Feb 14 13:43:38 1997  Ian Lance Taylor  <ian@cygnus.com>
3512
3513         * strsignal.c: Unconditionally redefine sys_siglist around the
3514         inclusion of the system header files.
3515
3516 Thu Feb 13 22:01:04 1997  Klaus Kaempf  <kkaempf@progis.de>
3517
3518         * makefile.vms: Remove 8 bit characters.  Update to latest
3519         gcc release.
3520
3521 Tue Feb  4 11:52:19 1997  Ian Lance Taylor  <ian@cygnus.com>
3522
3523         * strsignal.c: Use NEED_sys_siglist instead of
3524         LOSING_SYS_SIGLIST.
3525         * config.table: Don't use mh-lynxos.
3526         * config/mh-lynxos: Remove.
3527
3528 Thu Jan 16 14:51:03 1997  Bob Manson  <manson@charmed.cygnus.com>
3529
3530         * cplus-dem.c: Fix indenting; make identical to the copy
3531         in GCC.
3532         (do_type, case 'M'): Check for a template as well as a class.
3533
3534 Thu Dec 19 13:51:33 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>
3535
3536         * config/mt-vxworks5 (vxneeded-list): Remove sigsetmask.o, since
3537         vxworks 5.[0-3] all have sigsetmask in them; the one provided by
3538         libiberty is incorrect, as well.
3539
3540 Mon Dec  2 15:03:42 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
3541
3542         * alloca.c (alloca): When compiled with an ANSI/ISO compiler,
3543         alloca takes a size_t argument, not just unsigned.
3544
3545 Mon Nov 18 15:42:08 1996  Jason Merrill  <jason@yorick.cygnus.com>
3546
3547         * cplus-dem.c: Note that this file also lives in GCC.
3548
3549 Mon Nov 18 15:19:00 1996  Dawn Perchik  <dawn@critters.cygnus.com>
3550
3551         * alloca.c: Remove include of libiberty.h for hpux.
3552         * argv.c:  Replace defs from libiberty.h.
3553         * spaces.c: Put back externs from removed from libiberty.h.
3554         * vasprintf.c: Remove include of libiberty.h for hpux.
3555
3556 Mon Nov 18 14:08:00 1996  Dawn Perchik  <dawn@critters.cygnus.com>
3557
3558         * cplus-dem.c: Checking in again; last checkin filed due to sticky tag.
3559
3560 Wed Nov 13 08:22:00 1996  Dawn Perchik  <dawn@critters.cygnus.com>
3561
3562         * cplus-dem.c: Revert last two commits due to conflicts with
3563         hpux system headers.
3564
3565 Wed Nov 13 08:22:00 1996  Dawn Perchik  <dawn@critters.cygnus.com>
3566
3567         * alloca.c, argv.c, spaces.c, strcasecmp.c, vasprintf.c, vprintf.c:
3568         Revert last commit due to conflicts with hpux system headers.
3569
3570 Wed Nov 13 10:36:50 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
3571
3572         * cplus-dem.c (x{m,re}alloc): Make declarations compatibile with
3573         libiberty.h when compiled with a standard compiler.
3574
3575 Tue Nov 12 16:31:00 1996  Dawn Perchik  <dawn@critters.cygnus.com>
3576
3577         * alloca.c: Include libiberty.h for definition of xmalloc.
3578         Don't redefine NULL.
3579         * argv.c: Move prototypes to libiberty.h.
3580         * cplus-dem.c: Include libiberty.h for definition of xmalloc.
3581         Don't redefine NULL.
3582         Use casts to eliminate compiler warnings.
3583         * spaces.c: Remove prototypes for malloc and free which are
3584         already in libibrty.h.
3585         * strcasecmp.c: Use casts to eliminate compiler warnings.
3586         * vasprintf.c: Include libiberty.h for definition of malloc.
3587         Don't redefine NULL.
3588         * vprintf.c: Include stdarg.h if __STDC__.
3589
3590 Fri Oct 11 15:42:12 1996  Stu Grossman  (grossman@critters.cygnus.com)
3591
3592         * config/mh-windows:  Add strcasecmp.o to EXTRA_OFILES.
3593
3594 Fri Oct 11 11:16:31 1996  Stan Shebs  <shebs@andros.cygnus.com>
3595
3596         * mpw.c (mpwify_filename): Rewrite to simplify, and to handle
3597         upward components correctly.
3598
3599 Tue Oct  8 08:55:34 1996  Stu Grossman  (grossman@critters.cygnus.com)
3600
3601         * config.table, config/mh-windows:  Add support for building under
3602         MSVC (the Microsoft build environment).
3603
3604 Mon Oct  7 10:50:27 1996  Ian Lance Taylor  <ian@cygnus.com>
3605
3606         * fnmatch.c: Undef const if not __STDC__.
3607
3608 Thu Oct  3 13:46:39 1996  Ian Lance Taylor  <ian@cygnus.com>
3609
3610         * fnmatch.c: New file.
3611         * Makefile.in (CFILES): Add fnmatch.c.
3612         (REQUIRED_OFILES): Add fnmatch.o.
3613         (fnmatch.o): New target.
3614
3615 Wed Sep 18 14:49:13 1996  Jason Merrill  <jason@yorick.cygnus.com>
3616
3617         * cplus-dem.c (demangle_template): Fix handling of address args.
3618         (gnu_special): Handle type_info stuff.
3619
3620 Fri Sep 13 17:52:55 1996  Stan Shebs  <shebs@andros.cygnus.com>
3621
3622         * mpw.c (DebugPI): Make settable from the env var DEBUG_PATHNAMES.
3623         (mpwify_filename): Handle "::/" case.
3624
3625 Thu Sep 12 13:30:40 1996  Geoffrey Noer  <noer@cygnus.com>
3626
3627         * config/mh-cygwin32: new file (need -DNEED_basename and
3628                 -DNEED_sys_siglist for native NT rebuilding)
3629         * config.table (*-*-cygwin32): new entry
3630         * choose-temp.c: bring in sync with gcc (revert Aug 17 change)
3631
3632 Thu Aug 29 16:48:45 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
3633
3634         * config.table (i[345]86-*-*): Recognize i686 for pentium pro.
3635
3636 Tue Aug 27 13:47:58 1996  Stan Shebs  <shebs@andros.cygnus.com>
3637
3638         * pexecute.c (pexecute) [MPW]: Remove old bogus code that
3639         messed with arguments that included a '/', add escape chars
3640         to double quotes, remove const decl from arg that Mac
3641         compilers don't seem to like.
3642
3643 Sat Aug 17 04:44:27 1996  Geoffrey Noer  <noer@cygnus.com>
3644
3645         * pexecute.c: Update test for win32 (&& ! cygwin32).
3646         * choose-temp.c: fix WIN32 preprocessor defines
3647
3648 Thu Aug 15 12:26:48 1996  Stan Shebs  <shebs@andros.cygnus.com>
3649
3650         * mpw-make.sed: Add @DASH_C_FLAG@ and @SEGMENT_FLAG({Default})@
3651         to editing of default makefile rule.
3652
3653 Sun Aug 11 21:03:27 1996  Stu Grossman  (grossman@critters.cygnus.com)
3654
3655         * alloca-norm.h:  Include <malloc.h> if _WIN32.
3656         * argv.c:  Include non-prototyped decls for malloc and string
3657         functions if ! _WIN32 or if __GNUC__.
3658
3659 Thu Aug  8 12:42:40 1996  Klaus Kaempf  <kkaempf@progis.de>
3660
3661         * config.h-vms: New file.
3662         * makefile.vms: Use it.
3663
3664 Wed Aug  7 17:16:12 1996  Stu Grossman  (grossman@critters.cygnus.com)
3665
3666         * getopt.c (_getopt_internal):  If argc is 0, just return (before
3667         we reference *argv and segfault).
3668
3669 Mon Aug  5 01:29:08 1996  Jason Merrill  <jason@yorick.cygnus.com>
3670
3671         * Makefile.in (distclean): Add multilib.out.
3672
3673 Thu Jul 18 17:40:55 1996  Ian Lance Taylor  <ian@cygnus.com>
3674
3675         * alloca-norm.h: Change #ifdef sparc to #if defined (sparc) &&
3676         defined (sun).  From Andrew Gierth <ANDREWG@microlise.co.uk>.
3677
3678 Mon Jul  1 13:40:44 1996  Ken Raeburn  <raeburn@cygnus.com>
3679
3680         Tue May 28 15:29:03 1996  Pat Rankin  <rankin@eql.caltech.edu>
3681
3682         * vmsbuild.com (REQUIRD_OFILES): Add choose-temp.o and xstrdup.o.
3683
3684         Thu Jan 25 18:20:04 1996  Pat Rankin  <rankin@eql.caltech.edu>
3685
3686         * vmsbuild.com: Changes to handle DEFFUNC(on_exit).
3687         (do_ofiles): Allow nonexistent source file in pass 3.
3688         (chk_deffunc): New routine.
3689
3690 Tue Jun 25 19:24:43 1996  Doug Evans  <dje@canuck.cygnus.com>
3691
3692         * pexecute.c (PEXECUTE_VERBOSE): Define.
3693         (MPW pexecute): Check flags & PEXECUTE_VERBOSE instead of verbose_flag.
3694
3695 Tue Jun 25 23:11:48 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
3696
3697         * Makefile.in (docdir): Removed.
3698
3699 Tue Jun 25 23:01:07 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
3700
3701         * Makefile.in (oldincludedir): Removed.
3702
3703 Tue Jun 25 22:50:07 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
3704
3705         * Makefile.in (datadir): Set to $(prefix)/share.
3706
3707 Thu Jun 20 21:17:52 1996  Ian Lance Taylor  <ian@cygnus.com>
3708
3709         * cplus-dem.c (demangle_arm_pt): Reindent.  Avoid endless loop by
3710         checking for errors from do_type.
3711
3712 Tue Jun 18 14:36:19 1996  Klaus Kaempf  <kkaempf@progis.de>
3713
3714         * makefile.vms: New file.
3715         * xmalloc.c: If VMS, include <stdlib.h> and <unixlib.h> rather
3716         than declaring malloc, realloc, and sbrk.
3717
3718 Mon Jun 10 13:17:17 1996  Doug Evans  <dje@canuck.cygnus.com>
3719
3720         * pexecute.c: New file.
3721
3722 Wed Jun  5 16:57:45 1996  Richard Henderson  <rth@tamu.edu>
3723
3724         * xmalloc.c: Declare sbrk.
3725
3726 Sat May  4 05:08:45 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
3727
3728         * alloca-norm.h:  Add SPARCworks cc compatible __builtin_alloca
3729         declaration.
3730
3731 Mon Apr 22 18:41:49 1996  Ian Lance Taylor  <ian@cygnus.com>
3732
3733         * xstrerror.c: Include <stdio.h>.
3734
3735 Sun Apr 21 11:55:12 1996  Doug Evans  <dje@canuck.cygnus.com>
3736
3737         * Makefile.in (CFILES): Add atexit.c.
3738
3739 Sun Apr 21 09:50:09 1996  Stephen L Moshier  (moshier@world.std.com)
3740
3741         * choose-temp.c: Include sys/types.h before sys/file.h for sco3.2v5.
3742
3743 Wed Apr 17 11:17:55 1996  Doug Evans  <dje@canuck.cygnus.com>
3744
3745         * choose-temp.c: Don't #include sys/file.h ifdef NO_SYS_FILE_H.
3746         #include <stdio.h>
3747         * config/mt-vxworks5 (HDEFINES): Define NO_SYS_FILE_H.
3748
3749 Tue Apr 16 11:27:16 1996  Jeffrey A Law  (law@cygnus.com)
3750
3751         * Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o.
3752         Reverts Feb 8, 1995 change.
3753
3754 Mon Apr 15 12:53:26 1996  Doug Evans  <dje@canuck.cygnus.com>
3755
3756         * choose-temp.c: New file.
3757         * Makefile.in (CFILES): Add choose-temp.c.
3758         (REQUIRED_OFILES): Add choose-temp.o.
3759
3760 Sat Apr 13 14:19:30 1996  Stu Grossman  (grossman@critters.cygnus.com)
3761
3762         * floatformat.c (floatformat_to_double):  Don't bias exponent when
3763         handling zero's, denorms or NaNs.
3764
3765 Thu Apr 11 13:36:56 1996  Stu Grossman  (grossman@critters.cygnus.com)
3766
3767         * floatformat.c (floatformat_to_double):  Fix bugs with handling
3768         numbers with fractions < 32 bits.
3769
3770 Mon Apr  8 14:48:34 1996  Ian Lance Taylor  <ian@cygnus.com>
3771
3772         * config.table: Permit --enable-shared to specify a list of
3773         directories.
3774
3775 Tue Mar 19 22:02:07 1996  Jason Merrill  <jason@yorick.cygnus.com>
3776
3777         * cplus-dem.c (demangle_template): Fix for non-mangled pointer
3778         arguments.
3779
3780 Fri Mar  8 17:24:18 1996  Ian Lance Taylor  <ian@cygnus.com>
3781
3782         * configure.in: If srcdir is `.' and with_target_subdir is not
3783         `.', then set MULTISRCTOP before calling config-ml.in.
3784
3785 Thu Mar  7 13:37:10 1996  Stan Shebs  <shebs@andros.cygnus.com>
3786
3787         * mpw.c (mpw_open): Add debugging output option.
3788
3789 Wed Mar  6 17:36:03 1996  Jason Merrill  <jason@yorick.cygnus.com>
3790
3791         * cplus-dem.c (demangle_template): Fix for address-of-extern arguments.
3792
3793 Tue Feb 27 12:00:50 1996  Raymond Jou  <rjou@mexican.cygnus.com>
3794
3795         * mpw.c (mpwify_filename): Change 6 to 5 in
3796         strncmp (unixname, "/tmp/", 5).
3797
3798 Tue Feb 20 10:55:53 1996  Ian Lance Taylor  <ian@cygnus.com>
3799
3800         * cplus-dem.c (demangle_template): Initialize is_bool.  Correctly
3801         handle 0 as a pointer value parameter.
3802
3803 Mon Feb  5 16:41:44 1996  Ian Lance Taylor  <ian@cygnus.com>
3804
3805         * Makefile.in (all): Depend upon required-list.
3806         (required-list): New target.
3807         (clean): Remove required-list.
3808
3809 Wed Jan 31 10:19:41 1996  Steve Chamberlain  <sac@slash.cygnus.com>
3810
3811         * win32.c: Deleted.
3812         * config.table (i386-*-win32): Deleted.
3813         * config/mh-i386win32: Deleted.
3814
3815 Thu Jan 18 11:34:17 1996  Ian Lance Taylor  <ian@cygnus.com>
3816
3817         * cplus-dem.c (cplus_demangle_opname): Change opname parameter to
3818         const char *.
3819         (cplus_mangle_opname): Change return type and opname parameter to
3820         const char *.  Don't cast return value.
3821
3822 Tue Jan 16 12:13:11 1996  Stan Shebs  <shebs@andros.cygnus.com>
3823
3824         * mpw.c: Include Timer.h, in order to get m68k Microseconds trap
3825         definition.
3826
3827 Wed Jan  3 13:15:04 1996  Fred Fish  <fnf@cygnus.com>
3828
3829         * obstack.c: Update copyright to 1996.
3830         (_obstack_memory_used): Define new function.  Called via
3831         obstack_memory_used macro.
3832
3833 Thu Dec 28 11:39:40 1995  Ian Lance Taylor  <ian@cygnus.com>
3834
3835         * xstrdup.c: New file.
3836         * Makefile.in (CFILES): Add xstrdup.c.
3837         (REQUIRED_OFILES): Add xstrdup.o.
3838         (xstrdup.o): New target.
3839
3840 Mon Dec 11 18:18:52 1995  Mike Stump  <mrs@cygnus.com>
3841
3842         * atexit.c: New stub to provide atexit on systems that have
3843         on_exit, like SunOS 4.1.x systems.
3844         * functions.def (on_exit, atexit): Ditto.
3845
3846 Mon Dec 11 15:42:14 1995  Stan Shebs  <shebs@andros.cygnus.com>
3847
3848         * mpw.c (mpw_abort): Remove decl.
3849         (mpw_access): Move debugging printf.
3850
3851 Sat Dec  2 01:25:23 1995  Ian Lance Taylor  <ian@cygnus.com>
3852
3853         * config.table: Consistently use ${host} rather than ${xhost} or
3854         ${target}.
3855         * configure.in: Don't bother to set ${xhost} before calling
3856         config.table.
3857
3858 Tue Nov 28 14:16:57 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
3859
3860         * Makefile.in (.c.o): Use test instead of the left bracket, to
3861         avoid problems with some versions of make.
3862
3863 Tue Nov 28 11:45:17 1995  Stan Shebs  <shebs@andros.cygnus.com>
3864
3865         * mpw-make.sed: Fix INCDIR edit to work with Nov 14 change.
3866
3867 Tue Nov 21 11:26:34 1995  Fred Fish  <fnf@rtl.cygnus.com>
3868
3869         * config/mh-hpux: Remove.  It was only used to define EXTRA_OFILES,
3870         which was set to just alloca.o, which is now automatically marked
3871         as needed by the autoconfiguration process.
3872
3873 Tue Nov 21 14:15:06 1995  Ian Lance Taylor  <ian@cygnus.com>
3874
3875         * config.table: Check ${with_cross_host} rather than comparing
3876         ${host} and ${target}.
3877
3878 Thu Nov 16 14:34:42 1995  Ian Lance Taylor  <ian@cygnus.com>
3879
3880         * configure.in: If with_target_subdir is empty, set xhost to
3881         ${host} rather than ${target} before calling config.table.
3882
3883 Tue Nov 14 01:38:30 1995  Doug Evans  <dje@canuck.cygnus.com>
3884
3885         * Makefile.in (MULTITOP): Deleted.
3886         (MULTISRCTOP, MULTIBUILDTOP): New.
3887         (FLAGS_TO_PASS): Delete INCDIR.
3888         (INCDIR): Add $(MULTISRCTOP).
3889         (install_to_libdir): Add $(MULTISUBDIR).  Call $(MULTIDO).
3890         * configure.in: Delete call to cfg-ml-com.in.  Call config-ml.in
3891         instead of cfg-ml-pos.in.
3892         (cross-compile check): Change to test for with_target_subdir.
3893         (EXTRA_LINKS): Delete.
3894
3895 Sun Nov 12 12:13:04 1995  Stan Shebs  <shebs@andros.cygnus.com>
3896
3897         * mpw-make.sed: Add getpagesize.c.o to needed-list.
3898         * mpw.c [USE_MW_HEADERS]: Conditionalize compiling of
3899         functions that are supplied by Metrowerks libraries.
3900         (fstat): Clean up descriptor->pointer conversion code.
3901         (InstallConsole, etc): Empty definitions, for when linking
3902         with SIOUX.
3903
3904 Sun Nov  5 19:25:27 1995  Per Bothner  <bothner@kalessin.cygnus.com>
3905
3906         * Makefile.in (FLAGS_TO_PASS):  Also pass PICFLAGS.
3907         (.c.o):  Stylistic change.
3908
3909 Thu Nov  2 12:06:29 1995  Ian Lance Taylor  <ian@cygnus.com>
3910
3911         * strtol.c, strtoul.c: Don't include <stdlib.h>.  From
3912         phdm@info.ucl.ac.be (Philippe De Muyter).
3913
3914 Wed Nov  1 11:59:36 1995  Ian Lance Taylor  <ian@cygnus.com>
3915
3916         * configure.in: Correct sed call.
3917
3918 Mon Oct 30 13:03:45 1995  Per Bothner  <bothner@kalessin.cygnus.com>
3919
3920         * configure.in:  Clean up / simplify for native.
3921
3922         * configure.in:  Merge in stuff from ../xiberty/configure.in.
3923         * Makefile.in (CC):  Add definition (so it can be overrridden
3924         by ../configure).
3925
3926 Tue Oct 24 17:57:27 1995  Stan Shebs  <shebs@andros.cygnus.com>
3927
3928         * mpw-make.sed: Leave strerror.c.o in standard list of functions.
3929         * mpw.c (R_OK, ENOENT, EACCESS, ENOSYS): Remove.
3930         (link): Remove useless definition with error return.
3931         (last_microseconds, warn_if_spin_delay, record_for_spin_delay):
3932         Use UnsignedWide type for microsecond counts.
3933
3934 Thu Oct 19 10:52:07 1995  Michael Meissner  <meissner@wogglebug.tiac.net>
3935
3936         * memcmp.c (memcmp): Argument types are const void *, not void
3937         *const.
3938
3939         * strncasecmp.c (strncasecmp): Include ansidecl.h/stdarg.h, not
3940         sys/types.h.
3941         * strcasecmp.c (strcasecmp): Ditto.
3942
3943 Tue Oct 10 11:03:24 1995  Fred Fish  <fnf@cygnus.com>
3944
3945         * Makefile.in (BISON):  Remove macro.
3946
3947 Tue Sep 26 15:06:46 1995  Stan Shebs  <shebs@andros.cygnus.com>
3948
3949         * Makefile.in (HFILES): Add default empty definition.
3950         * mpw-config.in (config.h): Only update if changed.
3951         * mpw-make.in: Remove.
3952         * mpw-make.sed: New file, edits Makefile.in into MPW makefile.
3953         * mpw.c: Remove semi-clone of strerror code.
3954         (sys_nerr, sys_errlist): Define here.
3955         (Microseconds): Only define as A-line trap if m68k Mac.
3956
3957 Wed Sep 20 12:53:32 1995  Ian Lance Taylor  <ian@cygnus.com>
3958
3959         * Makefile.in (maintainer-clean): New synonym for distclean.
3960
3961 Mon Aug 28 19:47:52 1995  Per Bothner  <bothner@kalessin.cygnus.com>
3962
3963         * config.table:  For host, generalize rs6000-ibm-aix*
3964         to *-ibm-aix* so we also include powerpc.
3965
3966 Tue Aug 22 03:18:05 1995  Ken Raeburn  <raeburn@kr-laptop.cygnus.com>
3967
3968         Fri Jun 16 18:35:40 1995  Pat Rankin  (rankin@eql.caltech.edu)
3969
3970         * xstrerror.c: New file.
3971         * Makefile.in, vmsbuild.com: Compile it.
3972
3973 Mon Jul 31 12:16:32 1995  steve chamberlain  <sac@slash.cygnus.com>
3974
3975         * config.table (i386-*-win32): New.
3976
3977 Fri Jul 21 11:35:52 1995  Doug Evans  <dje@canuck.cygnus.com>
3978
3979         * Makefile.in (MULTITOP): New variable.
3980         (MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): Likewise.
3981         (all): Add multilib support.
3982         (install_to_tooldir, *clean): Likewise.
3983
3984 Mon Jul 10 11:47:27 1995  Ken Raeburn  <raeburn@cygnus.com>
3985
3986         * makefile.dos (OBJS): Add hex.o.  From DJ Delorie.
3987
3988 Fri Jun 30 17:28:59 1995  Pat Rankin  (rankin@eql.caltech.edu)
3989
3990         * vmsbuild.com:  create "new-lib.olb", build libiberty under that
3991         name, and then make it become "liberty.olb" when done, so that an
3992         incomplete build attempt never leaves behind something which looks
3993         like a complete library.
3994
3995 Thu Jun 29 00:22:02 1995  Steve Chamberlain  <sac@slash.cygnus.com>
3996
3997         * config/mh-i386pe: New file for PE hosts.
3998         * config.table: Understand PE hosts.
3999
4000 Wed Jun 28 19:13:23 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
4001
4002         * cplus-dem.c: Update from gcc.
4003
4004         * argv.c, dummy.c: If __STDC__, #include "alloca-conf.h" after
4005         <stddef.h>.
4006         * alloca-norm.h: If __STDC__, declare alloca with its parameter.
4007
4008 Thu Jun 22 18:57:47 1995  Stan Shebs  <shebs@andros.cygnus.com>
4009
4010         * mpw-make.in (ALL_CFLAGS): Define NEED_basename.
4011         * mpw.c: Only test DebugPI once whenever printing debug info.
4012         (mpwify_filename): If filename is /tmp/foo, change it into :_foo,
4013         also fix to not write on input filename buffer.
4014         (mpw_access): Use stat() instead of open(), works for directories
4015         as well as files.
4016
4017 Mon Jun 19 00:33:22 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
4018
4019         * Makefile.in: Massage broken shells that require 'else true'.
4020
4021 Sat Jun 17 23:21:58 1995  Fred Fish  <fnf@cygnus.com>
4022
4023         * alloca-norm.h: Declare alloca as type "PTR" to match functions.def.
4024         Declare __builtin_alloca in the sparc case, as argv.c did.
4025         * argv.c: Replace inline version of alloca-norm.h at start of file with
4026         a #include of alloca-conf.h.  Precede it with an include of ansidecl.h
4027         because alloca-norm.h needs to declare alloca as "PTR".
4028
4029 Mon Jun 12 14:24:26 1995  Steve Chamberlain  <sac@slash.cygnus.com>
4030
4031         * win32.c: New file.
4032
4033 Fri Jun  9 15:16:14 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
4034
4035         * dummy.c: #include "alloca-conf.h".
4036
4037 Wed Jun  7 11:46:23 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
4038
4039         * Makefile.in (mostlyclean): Remove stamp-picdir.
4040         (clean): Don't.
4041
4042 Mon Jun  5 18:46:06 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
4043
4044         * config.table (frags): Use toplevel pic frags.
4045
4046         * Makefile.in (PICFLAG): New macro.
4047         (all): Depend on stamp-picdir.
4048         (needed-list): Ditto.
4049         (.c.o): Also build pic object.
4050         (stamp-picdir): New rule.
4051         (mostlyclean): Remove pic.
4052         (clean): Remove stamp-picdir.
4053
4054 Fri Mar 24 16:55:48 1995  Pat Rankin  (rankin@eql.caltech.edu)
4055
4056         * vmsbuild.com (config.h): Add `#define NEED_basename'.
4057
4058 Tue May 23 10:12:46 1995  Per Bothner  <bothner@kalessin.cygnus.com>
4059
4060         * clock.c, getopt.c, strtod.c, vsprintf.c:  Change from using LGPL
4061         to libio-style copyright.
4062         * getpagesize.c:  Remove FSF copyright.
4063
4064 Sat May 20 12:30:23 1995  Ken Raeburn  <raeburn@kr-laptop.cygnus.com>
4065
4066         Added improved VMS support from Pat Rankin:
4067
4068         Fri Mar 17 18:40:36 1995  Pat Rankin  (rankin@eql.caltech.edu)
4069
4070         * vmsbuild.com:  new file.
4071
4072         * getpagesize.c (getpagesize):  implement for VMS;
4073         * strerror.c (strerror, strerrno, strtoerrno):  add rudimentary
4074         support for EVMSERR.
4075
4076 Thu May 18 17:01:42 1995  Ken Raeburn  <raeburn@kr-laptop.cygnus.com>
4077
4078         Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
4079
4080         * floatformat.c (floatformat_arm_ext): Define.
4081
4082 Tue May 16 13:30:59 1995  Per Bothner  <bothner@kalessin.cygnus.com>
4083
4084         * basename.c, bcmp.c, getcwd.c, insque.c, rename.c, sigsetmask.c,
4085         strerror.c, strsignal.c:  Remove FSF copyright.
4086         * sigsetmask.c: #include <sys/types.h> - seems to be needed by ISC.
4087
4088 Mon May 15 19:53:17 1995  Per Bothner  <bothner@kalessin.cygnus.com>
4089
4090         * bcopy.c, bzero.c, memcmp.c, memcpy.c, memset.c, strchr.c,
4091         strrchr.c, strstr.c, vfork.c:  Remove FSF Copyright, because this
4092         might contaminate libstdc++ with the LGPL.  (OK'd by RMS 11 Oct 94.)
4093         * strchr.c, strrchr.c:  Add cast to suppress const warning.
4094
4095 Thu May  4 14:36:42 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
4096
4097         * cplus-dem.c: Use const instead of CONST.  Don't include
4098         ansidecl.h directly.
4099
4100 Wed Apr 19 01:30:27 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
4101
4102         * cplus-dem.c: Don't include libiberty.h.  Do declare xmalloc and
4103         xrealloc.
4104         (-DMAIN): Don't rely on an externally-defined version number;
4105         instead, require the version number to be defined as a
4106         preprocessor macro.  Handle the RS/6000 leading dot.  Define
4107         xmalloc, xrealloc and fatal.  Don't strip a leading underscore
4108         if we couldn't demangle the word.
4109
4110 Tue Apr  4 13:03:51 1995  Stan Shebs  <shebs@andros.cygnus.com>
4111
4112         (Old mpw.c change descriptions retained for informational value.)
4113         * mpw.c (warning_threshold): Default to .4 sec.
4114         (overflow_count, current_progress): New globals.
4115         (warn_if_spin_delay): Include current progress type,
4116         such as program name, in message.
4117         (mpw_start_progress): Set current_progress variable from arg.
4118         (mpw_end_progress): Report spin delays by power-of-two-size
4119         buckets instead of constant-size buckets.
4120
4121         * mpw.c: Clean up formatting, types, returns, etc.
4122         (ENOSYS): Define.
4123         (mpw_fread, mpw_fwrite): Define.
4124         (sleep): Define correctly.
4125
4126         * mpw.c: New code to implement cursor spinning support.
4127         (umask): New function.
4128         (mpw_fopen, mpw_fseek, stat, fstat): Call PROGRESS.
4129
4130         * mpw.c (mpw_basename, mpw_mixed_basename): New functions, find
4131         basenames for MPW and MPW/Unix filenames.
4132         (mpw_special_init): New function, calls Macsbug if desired.
4133
4134         * mpw.c: Add GPL notice.
4135         (mpwify_filename): Add more transformations.
4136         (mpw_fopen): Call mpwify_filename on file names.
4137         (rename): Remove.
4138         (chdir, getcwd): Add simple definitions.
4139
4140         * mpw.c: Random cleanups, remove unused code bits.
4141         Added copy of strerror.c for gcc's use.
4142         (stat, fstat, _stat): New versions based on Guido van Rossum code.
4143
4144         * mpw.c (mpw_fseek): Make it work correctly when doing SEEK_CUR.
4145
4146         * mpw.c (stat): Remove hack definition, get from sys/stat.h.
4147         (fork, vfork, etc): Print error messages if called.
4148         (getrusage, sbrk, environ, isatty, link, utime, mkdir, rmdir,
4149         rename, chown): Define.
4150
4151         * mpw-config.in: New file, MPW version of configure.in.
4152         * mpw-make.in: New file, MPW version of Makefile.in.
4153         * mpw.c: New file, MPW compatibility routines.
4154
4155 Fri Mar 24 14:10:30 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
4156
4157         * basename.c: Include config.h before checking for NEED_basename.
4158
4159 Thu Mar 23 19:09:54 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
4160
4161         * functions.def: Add DEFFUNC for basename.
4162
4163         * basename.c: Only define basename if NEED_basename.
4164
4165 Thu Mar 16 13:36:05 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
4166
4167         * config.table: Fix --enable-shared logic for native builds.
4168
4169 Mon Mar 13 11:05:11 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
4170
4171         * cplus-dem.c (demangle_template): Demangle bool literals properly.
4172
4173 Mon Mar  6 23:57:28 1995  Stu Grossman  (grossman@cygnus.com)
4174
4175         * strtol.c strtoul.c:  Replace these with less buggy versions from
4176         NetBSD.  (strtoul in particular couldn't handle base 16.)
4177
4178 Wed Mar  1 15:59:01 1995  Ian Lance Taylor  <ian@cygnus.com>
4179
4180         * config/mt-vxworks5 (HDEFINES): Define NO_SYS_PARAM_H.
4181
4182         * clock.c: If NO_SYS_PARAM_H is defined, don't include
4183         <sys/param.h>.
4184         * getcwd.c, getpagesize.c, getruntime.c: Likewise.
4185
4186 Fri Feb 17 15:40:55 1995  Ian Lance Taylor  <ian@cygnus.com>
4187
4188         * getruntime.c (get_run_time): Don't assume that CLOCKS_PER_SEC is
4189         a number; ANSI appears to permit any expression, including a
4190         function call.
4191
4192         * config.table (*-*-vxworks5*): Use mt-vxworks5 when configuring
4193         xiberty.
4194         * config/mt-vxworks5: New file.
4195
4196 Thu Feb  9 14:19:45 1995  Ian Lance Taylor  <ian@cygnus.com>
4197
4198         * basename.c (basename): Change argument to be const.
4199
4200 Wed Feb  8 18:06:52 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
4201
4202         * Makefile.in (lneeded-list): Don't worry about xmalloc.
4203
4204 Sun Jan 15 00:40:36 1995  Jeff Law  (law@snake.cs.utah.edu)
4205
4206         * Makefile.in (distclean): Delete xhost-mkfrag.
4207
4208 Thu Jan 12 16:54:18 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
4209
4210         * Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o.
4211
4212 Wed Jan 11 22:39:56 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
4213
4214         * hex.c: New file.
4215         * Makefile.in (REQUIRED_OFILES, CFILES): List it.
4216         (hex.o): Add dependencies.
4217
4218         * cplus-dem.c (demangle_prefix): For GNU style constructor and
4219         destructor names, try demangling the remainder of the string.
4220
4221 Wed Dec 28 00:49:15 1994  Ian Lance Taylor  <ian@tweedledumb.cygnus.com>
4222
4223         * vasprintf.c (int_vasprintf): New static function.
4224         (vasprintf): Use int_vasprintf.  Removes assumption that va_list
4225         is assignment compatible.
4226
4227 Sat Nov  5 19:29:12 1994  Jason Merrill  (jason@phydeaux.cygnus.com)
4228
4229         * Makefile.in (LIBCFLAGS): New variable.
4230         (FLAGS_TO_PASS): Pass it.
4231         (.c.o): Use it.
4232
4233 Thu Nov  3 19:09:47 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
4234
4235         * getopt.c, getopt1.c: Do compile these functions under Linux,
4236         since many native versions are based on glibc but are buggy.
4237
4238 Mon Oct 24 15:16:46 1994  Per Bothner  <bothner@kalessin.cygnus.com>
4239
4240         * vasprintf.c:  Make 'format' arg be const, to avoid a mismatch
4241         with prototype in GNU libc.  Support stdarg.h as well as varargs.h.
4242
4243 Tue Oct 11 17:48:27 1994  Jason Merrill  (jason@phydeaux.cygnus.com)
4244
4245         * Makefile.in (REQUIRED_OFILES): Add vasprintf.o.
4246         * functions.def: Remove vasprintf.
4247
4248 Wed Sep 14 17:04:55 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
4249
4250         * xmalloc.c (first_break): New static variable.
4251         (xmalloc_set_program_name): Record sbrk (0) in first_break.
4252         (xmalloc): If memory allocation fails, try to report how much
4253         memory was allocated by the program up to this point.
4254         (xrealloc): Likewise.
4255
4256 Sun Sep 04 17:58:10 1994  Richard Earnshaw (rwe@pegasus.esprit.ec.org)
4257
4258         * Makefile.in (ERRORS_CC): New variable, defaulted to $(CC).  Use it
4259         when linking dummy.
4260         * config.table: Add host RISCiX Makefile frag.
4261         * config/mh-riscix: New file.
4262
4263 Thu Aug 25 17:29:44 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
4264
4265         * Makefile.in (FLAGS_TO_PASS): Define.
4266         ($(RULE1)): Use $(FLAGS_TO_PASS).
4267
4268 Wed Aug 24 17:08:47 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
4269
4270         * vasprintf.c: Include <string.h>.
4271         (vasprintf): Add casts to void for va_arg to avoid gcc warnings.
4272         * xatexit.c: Declare malloc.
4273
4274 Fri Aug 19 15:29:12 1994  Kung Hsu  (kung@mexican.cygnus.com)
4275
4276         * cplus-dem.c (demangle_args): Fix a bug in previous patch (the
4277         one below).
4278
4279 Thu Aug 18 14:37:14 1994  Kung Hsu  (kung@mexican.cygnus.com)
4280
4281         * cplus-dem.c (demangle args): Handle ARM repeat encoding where
4282         the type index is greater than 9.
4283
4284 Wed Aug 17 16:13:49 1994  Kung Hsu  (kung@mexican.cygnus.com)
4285
4286         * cplus-dem.c (demangle_qualified): accept optional '_' between
4287         qualified name. This is baecause the template name may end with
4288         numeric and can mixed up with the length of next qualified name.
4289
4290 Wed Aug  3 05:52:14 1994  D. V. Henkel-Wallace  (gumby@cygnus.com)
4291
4292         * config/mt-sunos4: Use our standard location for cross-includes
4293         and cross-libs when the target is also a "host" environment (ie no
4294         newlib; includes and such don't belong to us).  This is specific
4295         to the Cygnus Support environment.
4296
4297 Tue Aug  2 15:25:12 1994  Kung Hsu  (kung@mexican.cygnus.com)
4298
4299         * cplus-dem.c (demangle_template): demangle as xxx<'Q'> not
4300         xxx<ch=81>.
4301
4302 Mon Aug  1 17:02:48 1994  Kung Hsu  (kung@mexican.cygnus.com)
4303
4304         * cplus-dem.c (main): flush stdout to make pipe work.
4305
4306 Sat Jul 16 12:56:32 1994  Stan Shebs  (shebs@andros.cygnus.com)
4307
4308         * config.table (*-*-cxux7*):  Recognize.
4309         * floatformat.c (floatformat_m88110_ext) [HARRIS_FLOAT_FORMAT]:
4310         Harris-specific float format.
4311         * config/mh-cxux7: New file.
4312
4313 Wed Jun 29 00:26:17 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
4314
4315         * cplus-dem.c (demangle_template):  Make sure that the result of
4316         consume_count doesn't index beyond the end of the string.
4317
4318 Mon Jun 20 23:54:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
4319
4320         * cplus-dem.c (gnu_special):  Handle vtable mangling of gcc-2.4.5 and
4321         earlier. Improve test for new vtable mangling. Change output back
4322         to `virtual table'.
4323
4324 Mon Jun 20 11:37:30 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
4325
4326         * obstack.c: Always compile this code, even if using the GNU
4327         library.  Avoids problems with relatively recent binary
4328         incompatibility.
4329
4330 Thu Jun 16 17:54:01 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4331
4332         * cplus-dem.c: Include libiberty.h.
4333         (xmalloc, xrealloc, free): Don't declare.
4334         (strstr): Don't declare parameters.
4335         (xmalloc, xrealloc): Don't define.
4336         (long_options): Add no-strip-underscores.
4337         (main): Call xmalloc_set_program_name.  Pass n in short options to
4338         getopt_long.  Handle option 'n' to not strip underscores.
4339         (usage): Mention -n and --no-strip-underscores.
4340
4341 Sun Jun 12 01:37:09 1994  Jason Merrill  (jason@deneb.cygnus.com)
4342
4343         * cplus-dem.c (demangle_template): Separate consecutive >'s with a
4344         space.
4345         (gnu_special): Demangle template and qualified names in a vtable name.
4346
4347 Fri May 27 12:27:52 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
4348
4349         From gas-2.3 and binutils-2.4 net releases:
4350
4351         Wed May 11 22:32:00 1994  DJ Delorie (dj@ctron.com)
4352
4353         * makefile.dos: [new] Makefile for dos/go32
4354         * configure.bat: update for latest files
4355         * msdos.c: remove some functions now in libc.a
4356
4357 Fri May 20 18:53:32 1994  Per Bothner  (bothner@kalessin.cygnus.com)
4358
4359         * cplus-dem.c (gnu_special):  Recognize thunks, as well as
4360         the new naming style for vtables (when -fvtable-thunks).
4361
4362 Wed May 18 13:34:06 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4363
4364         * Makefile.in (XTRAFLAGS): Don't define.
4365         (.c.o, dummy.o): Don't use XTRAFLAGS.
4366         ($(RULE1)): Don't pass XTRAFLAGS down in recursive call.
4367
4368 Fri May 13 16:02:12 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
4369
4370         * vasprintf.c: New file.
4371         * Makefile.in, functions.def: Add it.
4372
4373 Fri May 13 16:20:28 1994  Jason Merrill  (jason@deneb.cygnus.com)
4374
4375         * cplus-dem.c (demangle_fund_type): Grok bool.
4376
4377 Fri May  6 14:44:21 1994  Steve Chamberlain  (sac@cygnus.com)
4378
4379         * config.table: Add go32
4380         * config/mh-go32: New template.
4381
4382 Fri May  6 11:01:59 1994  D. V. Henkel-Wallace  (gumby@rtl.cygnus.com)
4383
4384         * config.table, config/mt-sunos4: config for when sun4 is cross target.
4385
4386 Mon Apr 11 00:54:33 1994  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4387
4388         * getopt.c [not __GNU_LIBRARY__] [__GCC__] [not __STDC__]:
4389         Declare strlen to return int.  Don't include stddef.h.
4390
4391 Fri Apr  1 00:38:17 1994  Jim Wilson  (wilson@mole.gnu.ai.mit.edu)
4392
4393         * getopt.c: Delete use of IN_GCC to control whether
4394         stddef.h or gstddef.h is included.
4395
4396 Thu Apr 14 14:00:56 1994  Kung Hsu  (kung@mexican.cygnus.com)
4397
4398         * cplus-dem.c (demangle_signature): Fix a bug in template function
4399         type numbering.
4400
4401 Wed Apr 13 17:23:03 1994  Kung Hsu  (kung@mexican.cygnus.com)
4402
4403         * cplus-dem.c (demangle_signature): Fix template function with arm
4404         style argument type number, Tn.
4405
4406 Wed Apr 13 17:11:15 1994  Jason Merrill  (jason@deneb.cygnus.com)
4407
4408         * cplus-dem.c (optable): Add new[] and delete[].
4409
4410 Fri Apr  8 11:21:42 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
4411
4412         * argv.c (buildargv): Don't produce empty argument just because
4413         there is trailing whitespace.
4414
4415 Wed Apr  6 11:42:14 1994  Kung Hsu  (kung@mexican.cygnus.com)
4416
4417         * cplus-dem.c (demangle_template): fix 'Q' qualified name bug.
4418         Handle 'p' same as 'P'.
4419         * cplus-dem.c (do_type): Handle 'p' same as 'P'.
4420
4421 Sat Mar 26 12:00:13 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
4422
4423         * floatformat.c (get_field, put_field):  Fix off by one error in
4424         little endian case.
4425
4426 Thu Mar 24 10:40:19 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
4427
4428         * floatformat.c (floatformat_from_double): Pass unsigned char *,
4429         not char *, to put_field.
4430
4431 Fri Mar 18 12:34:33 1994  Per Bothner  (bothner@kalessin.cygnus.com)
4432
4433         * memmove.c:  Re-wrote;  placed in public domain.
4434
4435 Wed Mar 16 10:33:07 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
4436
4437         * cplus-dem.c (demangle_prefix): If ARM demangling, don't treat
4438         __Q* as a constructor.
4439
4440 Mon Mar 14 12:26:02 1994  Ian Lance Taylor  (ian@cygnus.com)
4441
4442         * ieee-float.c: Removed; no longer used.
4443         * Makefile.in: Changed accordingly.
4444
4445 Mon Mar  7 12:28:17 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4446
4447         * floatformat.c (get_field): Removed unused local variable i.
4448         (put_field): Removed unused local variable i.
4449
4450 Sun Feb 27 21:50:11 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
4451
4452         * floatformat.c: New file, intended to replace ieee-float.c.
4453         * Makefile.in: Change accordingly.
4454
4455 Thu Feb 24 11:51:12 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
4456
4457         * getopt.c: Remove #ifdef GETOPT_COMPAT and #if 0 code.
4458          (_getopt_initialize): New function, broken out of _getopt_internal.
4459          (_getopt_internal):
4460          If long_only and the ARGV-element has the form "-f", where f is
4461          a valid short option, don't consider it an abbreviated form of
4462          a long option that starts with f.  Otherwise there would be no
4463          way to give the -f short option.
4464
4465 Thu Feb 10 14:44:16 1994  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4466
4467         * getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]:
4468         Test just __STDC__, not emacs.
4469
4470 Wed Feb  9 00:14:00 1994  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
4471
4472         * getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]
4473         [emacs] [not __STDC__]: Don't include stddef.h.  Don't declare strlen.
4474
4475 Fri Dec 24 19:43:00 1993  Noah Friedman  (friedman@nutrimat.gnu.ai.mit.edu)
4476
4477         * getopt.c (_NO_PROTO): Define before config.h is included.
4478
4479 Mon Sep 20 15:59:03 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
4480
4481         * getopt.c, getopt1.c [emacs || CONFIG_BROKETS]: Include
4482         <config.h> only under these, else "config.h".
4483
4484 Thu Aug 12 18:16:49 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
4485
4486         * getopt.c, getopt1.c [HAVE_CONFIG_H]: Include
4487         <config.h> instead of "config.h".
4488
4489 Sun Feb 20 17:17:01 1994  Ian Lance Taylor  (ian@lisa.cygnus.com)
4490
4491         * concat.c: Check ANSI_PROTOTYPES rather than __STDC__ to decide
4492         whether to use prototypes or not.
4493         * strerror.c (const): Never undefine; let ansidecl.h handle it.
4494         * strsignal.c (const): Likewise.
4495
4496 Thu Feb 17 13:27:35 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4497
4498         * xatexit.c (_xexit_cleanup): Declare as extern; don't initialize.
4499         Merging common and initialized variables need not be supported by
4500         ANSI C compilers.
4501         (xatexit): Initialize _xexit_cleanup if not already set.
4502         * xexit.c: Comment fix.
4503
4504 Wed Feb 16 01:15:36 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4505
4506         * xmalloc.c: Don't declare xexit; it's declared in libiberty.h.
4507         (xrealloc): If oldmem is NULL, allocate with malloc, rather than
4508         assuming that realloc works correctly.
4509
4510 Tue Feb 15 09:26:16 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
4511
4512         * concat.c, ieee-float.c:  Replace inclusion of <string.h>
4513         with explicit function declarations, as recommended by Ian Taylor.
4514
4515 Sat Feb 12 10:31:11 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
4516
4517         * xmalloc.c (xmalloc, xrealloc): Use PTR and size_t throughout.
4518         (malloc, realloc): Declare.
4519
4520 Thu Feb 10 17:08:19 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4521
4522         * argv.c, basename.c: Include ansidecl.h and libiberty.h.
4523         * concat.c, fdmatch.c, getruntime.c, spaces.c: Likewise.
4524         * strerror.c, strsignal.c, xatexit.c, xexit.c: Likewise.
4525         * xmalloc.c: Likewise.
4526         * concat.c: Don't declare xmalloc.  If __STDC__, use <stdarg.h>
4527         macros, not <varargs.h> macros.
4528         * spaces.c (spaces): Make return type const.  Don't crash if
4529         malloc returns NULL.
4530         * strerror.c (struct error_info): Make name and msg fields const.
4531         (error_names): Make const.
4532         (strerrno): Make const.
4533         (strtoerrno): Make argument const.
4534         * strsignal.c (struct signal_info): Make name and msg fields
4535         const.
4536         (signal_names, sys_siglist): Make const.
4537         (strsignal, strsigno): Make const.
4538         (strtosigno): Make argument const.
4539         * xatexit.c: Declare parameter types.
4540         * xmalloc.c (name): Make const.
4541         (xmalloc_set_program_name): Make argument const.
4542         * Makefile.in (INCDIR): Define.
4543         (.c.o): Use $(INCDIR).
4544         (dummy.o): Likewise.
4545         (argv.o, basename.o): New targets; depend on libiberty.h.
4546         (concat.o, fdmatch.o, getruntime.o, spaces.o): Likewise.
4547         (strerror.o, strsignal.o, xatexit.o, xexit.o): Likewise.
4548         (xmalloc.o): Likewise.
4549         (cplus-dem.o): New target; depend on demangle.h.
4550         (getopt.o, getopt1.o): New targets; depend on getopt.h.
4551         (ieee-float.o): New target; depend on ieee-float.h.
4552         (obstack.o): New target; depend on obstack.h.
4553
4554 Tue Feb  8 05:29:08 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
4555
4556         Handle obstack_chunk_alloc returning NULL.  This allows
4557         obstacks to be used by libraries, without forcing them
4558         to call exit or longjmp.
4559         * obstack.c (_obstack_begin, _obstack_begin_1, _obstack_newchunk):
4560         If CALL_CHUNKFUN returns NULL, set alloc_failed, else clear it.
4561         (_obstack_begin, _obstack_begin_1): Return 1 if successful, 0 if not.
4562
4563 Tue Feb  8 00:32:28 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
4564
4565         * concat.c, ieee-float.c:  Include <string.h>.
4566
4567 Sun Feb  6 21:28:46 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
4568
4569         * xmalloc.c (xmalloc_set_program_name): New function.
4570         (xmalloc, xrealloc): Include the name in the error message, if set.
4571
4572         * Replace atexit.c with xatexit.c.
4573         * Makefile.in (CFILES), functions.def: Change references.
4574
4575 Sat Feb  5 14:02:32 1994  Stan Shebs  (shebs@andros.cygnus.com)
4576
4577         * getruntime.c (get_run_time): Use getrusage or times if
4578         HAVE_GETRUSAGE or HAVE_TIMES are defined.
4579
4580 Fri Feb  4 15:49:38 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
4581
4582         * atexit.c: New file.
4583         * Makefile.in (CFILES), functions.def: Add it.
4584         * xexit.c: New file.
4585         * Makefile.in (CFILES, REQUIRED_OFILES): Add it.
4586         * xmalloc.c (xmalloc, xrealloc): Call xexit instead of exit.
4587         Change request for 0 bytes into request for 1 byte.
4588
4589 Wed Feb  2 11:36:49 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4590
4591         * xmalloc.c (xmalloc, xrealloc): Print size using %lu, and cast to
4592         unsigned long, to avoid warnings.
4593
4594 Fri Jan 28 17:49:06 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
4595
4596         * dummy.c: Don't include time.h ever; always define clock_t as
4597         "unsigned long".  Until gcc/fixincludes ensures that clock_t
4598         exists, __STDC__ isn't a sufficient test.  And if clock() doesn't
4599         exist, clock_t probably doesn't either.
4600
4601 Mon Jan 24 11:52:31 1994  Stan Shebs  (shebs@andros.cygnus.com)
4602
4603         * clock.c, getruntime.c: New files.
4604         * Makefile.in: Add to file lists.
4605         * functions.def (clock): Add to list.
4606         * dummy.c (time.h): Add if __STDC__.
4607         (clock_t): #define as "unsigned long" if not __STDC__.
4608
4609 Tue Jan 11 11:27:44 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4610
4611         * strtod.c: Declare atof.  From edler@jan.ultra.nyu.edu (Jan
4612         Edler).
4613
4614 Tue Dec 28 14:17:30 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4615
4616         * Makefile.in (errors): Use CFLAGS as well as LDFLAGS when
4617         linking.
4618
4619 Fri Dec 17 12:26:07 1993  Kung Hsu  (kung@cirdan.cygnus.com)
4620
4621         * cplus-dem.c (demangle_arm_pt): New function.  Common code
4622         for ARM template demangling.
4623         * cplus-dem.c (demangle_class_name): Use demangle_arm_pt.
4624         * cplus-dem.c (demangle_prefix): Likewise.
4625
4626 Tue Nov 30 15:47:48 1993  Jason Merrill  (jason@deneb.cygnus.com)
4627
4628         * cplus-dem.c (cplus_demangle_opname): Add CONST to please gcc.
4629
4630 Sat Nov 27 11:05:50 1993  Fred Fish  (fnf@cygnus.com)
4631
4632         Merge changes from tom@basil.icce.rug.nl (Tom R.Hageman)
4633         * strerror.c, strsignal.c:  As a small space optimization, don't
4634         include messages when they aren't actually used.
4635
4636         Merge changes from takefive.co.at!joe (Josef Leherbauer)
4637         * cplus-dem.c (demangle_prefix, demangle_function_name,
4638         cplus_demangle_opname):  Fixes for systems where cplus_marker
4639         is something other than '$'.
4640
4641 Fri Nov 26 13:51:11 1993  Per Bothner  (bothner@kalessin.cygnus.com)
4642
4643         * waitpid.c:  Simple-minded approcimation to waitpid
4644         using vanilla wait.
4645         * functions.def, Makefile.in:  Update accordingly,
4646
4647 Thu Nov 18 18:01:15 1993  Kung Hsu  (kung@cirdan.cygnus.com)
4648
4649         * cplus-dem.c(demangle_template): fix bug template instantiation
4650         with value of user defined type.
4651
4652 Wed Nov 17 18:30:21 1993  Kung Hsu  (kung@cirdan.cygnus.com)
4653
4654         * cplus-dem.c(cplus_demangle_opname): add the subject new function
4655         to support unified search of operator in class.
4656
4657 Wed Nov 10 09:47:22 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4658
4659         gcc -Wall lint:
4660         * strtoul.c (strtoul): use "(digit = *s) != '\0'" not just
4661         "digit = *s" as condition in while loop.
4662
4663 Tue Nov  9 15:52:22 1993  Mark Eichin  (eichin@cygnus.com)
4664
4665         * Makefile.in: pass SHELL to recursive make
4666
4667 Thu Nov  4 12:09:26 1993  Per Bothner  (bothner@kalessin.cygnus.com)
4668
4669         * vfprintf.c, vprintf.c, vsprintf.c:  Make format arg
4670         be (const char*), for ANSI (and gcc w/fixproto) consistency.
4671
4672 Thu Nov  4 08:29:04 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4673
4674         * config.table: Make *-*-hiux* use mh-hpux.
4675
4676 Fri Oct 22 07:53:15 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4677
4678         * config.table: Add * to end of all OS names.
4679
4680 Tue Oct 19 17:12:01 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
4681
4682         * Makefile.in (lneeded-list): ensure that object file names are
4683           not duplicated, as multiple instances of the same object file in
4684           a library causes problems on some machines
4685
4686 Mon Oct 18 21:59:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4687
4688         * strcasecmp.c, strncasecmp.c: Change u_char to unsigned char.
4689
4690 Fri Oct 15 22:17:11 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
4691
4692         * strncasecmp.c: new file, implements strncasecmp
4693         * strcasecmp.c: new file, implement strcasecmp
4694
4695         * Makefile.in (CFILES): list these two new source files
4696
4697         * functions.def: add strcasecmp and strncasecmp entries
4698
4699 Fri Oct 15 14:53:05 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4700
4701         * strtoul.c (strtoul), strtol.c (strtol): Handle overflow
4702         according to ANSI C.
4703
4704 Thu Oct 14 16:34:19 1993  Kung Hsu  (kung@cirdan.cygnus.com)
4705
4706         * cplus-dem.c: add support of ARM global constructor/destructor,
4707         and 'G' for passing record or union in parameter.
4708
4709 Wed Oct 13 13:36:19 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4710
4711         * Makefile.in: Fix comment to clarify that stuff in REQUIRED_OFILES
4712         should not be in functions.def.
4713
4714 Wed Oct 13 13:13:38 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
4715
4716         * functions.def: Removed xmalloc.  Stuff in REQUIRED_OFILES should
4717         not be in functions.def.
4718
4719 Mon Oct  4 18:26:39 1993  Kung Hsu  (kung@cirdan.cygnus.com)
4720
4721         * cplus-dem.c: change globl constructor/destructor to proper name
4722
4723 Tue Sep 28 18:11:07 1993  Kung Hsu  (kung@cirdan.cygnus.com)
4724
4725         * cplus-dem.c: fix bug in constructor/destructor
4726
4727 Tue Sep 28 16:20:49 1993  Kung Hsu  (kung@cirdan.cygnus.com)
4728
4729         * cplus-dem.c: support both old and new _vt$... vtbl mangled names
4730
4731 Fri Sep 24 19:07:16 1993  Jason Merrill  (jason@deneb.cygnus.com)
4732
4733         * cplus-dem.c: Fix demangle_template prototype
4734
4735 Fri Sep 24 17:32:55 1993  Kung Hsu  (kung@cirdan.cygnus.com)
4736
4737         * cplus-dem.c: fix template demangling
4738         * cplus-dem.c: fix const type demangling
4739         * cplus-dem.c: fix constructor/destructor, virtual table,
4740         qualifier, global constructor/destructor demangling
4741
4742 Wed Sep  1 23:13:11 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4743
4744         * strsignal.c, strerror.c: Use fully-bracketed initializer to
4745         keep gcc -Wall happy.
4746
4747 Fri Aug 27 10:30:09 1993  Jason Merrill  (jason@deneb.cygnus.com)
4748
4749         * cplus-dem.c (do_type): Add CONSTS to make gcc happy with last
4750         patch.
4751
4752 Fri Aug 27 11:24:54 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4753
4754         Patch from Paul Flinders:
4755         * cplus-dem.c (do_type): Deal with arrays.
4756
4757 Tue Aug 24 14:23:50 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4758
4759         * cplus-dem.c (demangle_qualified: Deal with GNU format for more
4760         than 9 classes.
4761
4762 Wed Aug 18 19:50:29 1993  Jason Merrill  (jason@deneb.cygnus.com)
4763
4764         * Makefile.in (dummy.o): Redirect to /dev/null to avoid "variable
4765         not initialized" warnings under HP/UX
4766
4767 Sun Aug 15 20:42:40 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4768
4769         * strerror.c: Move include of stdio.h after sys_errlist #define.
4770         Also remove NULL definition (stdio.h always defines NULL, so it
4771         never did anything but clutter up the code).
4772
4773 Sat Aug 14 14:21:49 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
4774
4775         * Makefile.in, functions.def: handle xmalloc.c
4776
4777         * xmalloc.c: provide xmalloc and xrealloc functions
4778
4779 Thu Aug 12 17:38:57 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
4780
4781         * cplus-dem.c: Fix a comment.
4782
4783 Sat Aug  7 13:56:35 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
4784
4785         * getopt1.c: Declare const the way getopt.c does.
4786
4787 Fri Aug  6 17:03:13 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
4788
4789         * obstack.c, alloca.c: Update from FSF.
4790         * getopt.c, getopt1.c: Update to current FSF version, which
4791         doesn't use alloca.
4792
4793 Tue Jul 27 14:03:57 1993  Brendan Kehoe  (brendan@lisa.cygnus.com)
4794
4795         * Makefile.in (demangle): Add the target with a message saying
4796         where demangle went.
4797
4798 Mon Jul 26 15:49:54 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4799
4800         * Makefile.in: Remove obsolete `demangle' target.
4801
4802 Thu Jul 22 08:31:01 1993  Fred Fish  (fnf@deneb.cygnus.com)
4803
4804         * cplus-dem.c (arm_special):  Apply patch from arg@lucid.com to
4805         avoid infinite loop on vtbl symbols with disambiguating "junk"
4806         tacked on the end.
4807
4808 Mon Jul 19 14:10:37 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
4809
4810         * strsignal.c: work around some systems losing definitions of
4811         sys_siglist
4812
4813         * config/mh-lynxos: this system has a losing definition of
4814         sys_siglist
4815
4816         * config.table: use mh-lynxos for *-*-lynxos
4817
4818 Mon Jul 19 17:08:52 1993  Ken Raeburn  (raeburn@rtl.cygnus.com)
4819
4820         * config.table: Add support for HPPA BSD hosts.
4821
4822         * config/mh-hpbsd: New file.
4823
4824 Mon Jul 12 18:00:40 1993  K. Richard Pixley  (rich@cygnus.com)
4825
4826         * Makefile.in (TAGS): make work when srcdir != objdir.
4827
4828 Sun Jun 27 15:35:31 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
4829
4830         * cplus-dem.c (main): Add long options, including --help and
4831         --version.
4832         (usage): New function from code in main.
4833
4834 Tue Jun 22 11:37:38 1993  Per Bothner  (bothner@deneb.cygnus.com)
4835
4836         * config.table:  New shell scipt, sourced by both ./configure,in
4837         and ../xiberty/configure.in, to avoid maintainance lossages.
4838         * configure.in and ../xiberty/configure.in:  Use config.table.
4839
4840         * configure.in: Don't use mh-aix for AIX 3.2, only for 3.1.
4841         * configure.in: Map *-*-irix* (except irix4) to mh-sysv.
4842         * ../xiberty/configure.in:  Update from ./configure.in.
4843
4844 Tue Jun 15 17:05:31 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
4845
4846         * Makefile.in: remove parentdir support
4847
4848 Wed May 26 12:59:09 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
4849
4850         * cplus-dem.c (xrealloc):  Match definition with prototype.
4851
4852 Tue May 25 14:27:51 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
4853
4854         * cplus-dem.c (demangle_prefix):  Demangle cfront
4855         local variables as an extension to ARM demangling.
4856
4857 Fri May 21 09:53:57 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4858
4859         * ieee-float.c: Don't require pointers to double to be aligned.
4860
4861 Tue May 18 17:12:10 1993  Fred Fish  (fnf@cygnus.com)
4862
4863         (merge changes from dlong@cse.ucsc.edu)
4864         * cplus-dem.c (consume_count):  Simplify.
4865         * cplus-dem.c (arm_pt, demangle_class_name):  New functions.
4866         * cplus-dem.c (various):  Calls to arm_pt, demangle_class_name.
4867
4868         * cplus-dem.c (xmalloc, xrealloc, strstr):  Make extern decls into
4869         full prototypes.
4870         * cplus-dem.c (free):  Add prototype.
4871         * cplus-dem.c (optable):  Fully bracketize initializer.
4872
4873 Fri May 14 17:13:05 1993  Per Bothner  (bothner@cygnus.com)
4874
4875         * cplus-dem.c:  Whether initial underscores are stripped
4876         depends on the external variable prepends_underscore
4877         (which is generated by the binutils Makefile).
4878
4879 Fri May 14 07:32:20 1993  Ken Raeburn  (raeburn@deneb.cygnus.com)
4880
4881         * cplus-dem.c (mop_up, arm_special): Remove some unused variables.
4882
4883 Tue May  4 20:31:59 1993  Fred Fish  (fnf@cygnus.com)
4884
4885         * cplus-dem.c (consume_count):  Return zero if arg does not
4886         start with digit, and don't consume any input.
4887
4888 Tue May  4 08:10:28 1993  Jim Kingdon  (kingdon@cygnus.com)
4889
4890         * Makefile.in (demangle): Use ${srcdir} not $^.
4891
4892         * strtod.c: New file, needed at least for BSD 4.3.
4893
4894 Sun May  2 11:30:42 1993  Fred Fish  (fnf@cygnus.com)
4895
4896         * strsignal.c (sys_siglist):  For ANSI compilations, type is
4897         "const char *const".  Also remove conditionalization on __STDC__
4898         since const is defined away for non-ANSI.
4899
4900 Wed Apr 28 19:29:55 1993  Ken Raeburn  (raeburn@deneb.cygnus.com)
4901
4902         * configure.in: Recognize *-*-hpux.
4903         * config/mh-hpux: New file.
4904
4905 Tue Apr 27 15:22:19 1993  Per Bothner  (bothner@cygnus.com)
4906
4907         * tmpnam.c:  Added ANSI tmpnam() function.
4908         * functions.def, Makefile.in:  Update accordingly.
4909
4910 Tue Apr 27 13:38:38 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
4911
4912         * cplus-dem.c (demangle_function_name): Get the demangling of
4913         stop__1A right.
4914
4915 Fri Apr 16 23:48:24 1993  Jim Kingdon  (kingdon at calvin)
4916
4917         * cplus-dem.c: Declare strstr return type.
4918
4919 Fri Mar 26 12:01:26 1993  Jim Kingdon  (kingdon@cygnus.com)
4920
4921         * strsignal.c: Add some AIX signals.
4922
4923 Thu Mar 25 15:17:23 1993  Ian Lance Taylor  (ian@cygnus.com)
4924
4925         * Makefile.in (MAKEOVERRIDES): Define to be empty.
4926
4927 Wed Mar 24 01:59:25 1993  david d `zoo' zuhn  (zoo at poseidon.cygnus.com)
4928
4929         * Makefile.in: add installcheck & dvi targets
4930
4931 Thu Mar 18 14:05:44 1993  Per Bothner  (bothner@rtl.cygnus.com)
4932
4933         * ieee-float.c:  New file, moved from ../gdb (since it is
4934         needed by ../opcode/m68k-dis.c).
4935
4936 Tue Mar  2 17:47:31 1993  Fred Fish  (fnf@cygnus.com)
4937
4938         * cplus-dem.c:  Replace all references to cfront with ARM.
4939
4940 Fri Feb 26 00:17:07 1993  Per Bothner  (bothner@rtl.cygnus.com)
4941
4942         * cplus-dem.c:  Fix main program (when compiled with -DMAIN)
4943         to be more useful as a filter.
4944
4945 Sat Feb 20 21:41:39 1993  Brendan Kehoe  (brendan@lisa.cygnus.com)
4946
4947         * Makefile.in (install_to_libdir, install_to_tooldir): Go into the
4948         destination directory before running $(RANLIB), in case that
4949         program tries to create a file in the current directory as part of
4950         its work.
4951
4952 Thu Feb 18 23:00:19 1993  John Gilmore  (gnu@cygnus.com)
4953
4954         * strsignal.c (sys_siglist):  Remove yet another *%^&%&$# "const"
4955         because BSD 4.4 lacks one.  Isn't this fun?
4956
4957 Thu Feb 18 11:24:25 1993  Fred Fish  (fnf@cygnus.com)
4958
4959         * cplus-dem.c (demangle_signature):  Set func_done after
4960         demangling a template.
4961         * cplus-dem.c (demangle_template):  Fix several small bugs
4962         in demangling GNU style templates.
4963         * cplus-dem.c (demangle_prefix):  Fix for templates in GNU
4964         style constructors.
4965         * cplus-dem.c (gnu_special):  Fix for templates in GNU style
4966         static data members.
4967
4968 Tue Feb 16 17:28:35 1993  Fred Fish  (fnf@cygnus.com)
4969
4970         * cplus-dem.c (demangle_signature):  Modify to include type
4971         modifiers like static and const in remembered types.
4972
4973 Thu Feb 11 22:20:47 1993  Fred Fish  (fnf@cygnus.com)
4974
4975         * cplus-dem.c (demangled_qualified):  Add new parameter that tells
4976         whether to prepend or append the qualifiers.
4977         * cplus-dem.c (string_prepends):  Used now, remove #if 0.
4978         * cplus-dem.c (demangle_signature):  Call demangle_qualified
4979         with prepending.
4980         * cplus-dem.c (gnu_special):  Recognize static data members that
4981         use qualified names.
4982         * cplus-dem.c (demangle_qualified):  Accumulate qualifiers in a
4983         temporary buffer and the prepend or append them to the result,
4984         as specified by the new "append" flag.
4985         * cplus-dem.c (do_type):  Call demangled_qualified with
4986         appending.
4987
4988 Mon Dec 28 10:47:19 1992  Ken Raeburn  (raeburn@cygnus.com)
4989
4990         * strsignal.c (signal_table): Now const.
4991         (init_signal_tables): Variable eip now points to const.
4992
4993         * strerror.c (error_table): Now const.
4994         (init_error_tables): Variable eip now points to const.
4995
4996 Tue Dec 15 15:36:50 1992  Per Bothner  (bothner@cygnus.com)
4997
4998         * memchr.c (memchr):  New (ANSI standard) function.
4999         * Makefile.in, functions.def:  Added memchr.
5000         * Makefile.in (AR_FLAGS): Use rc instad of non-standard cq.
5001
5002 Wed Dec  2 22:49:10 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
5003
5004         * getopt.c: remove use of USG around <alloca.h>, which never meant
5005         anything anyway
5006
5007         * config/mh-{aix,apollo68,ncr3000,sysv,sysv4}: removed definitions
5008         of USG and USGr4
5009
5010 Thu Nov 19 03:09:33 1992  Brendan Kehoe  (brendan@lisa.cygnus.com)
5011
5012         * cplus-dem.c (demangle_fund_type): Recognize `w', a wide character;
5013         it's now a type according to the ANSI X3J16 working paper; output
5014         "wchar_t" for it.
5015         (demangle_template): Accept `w' as an integral type.
5016         (xmalloc, xrealloc): Use `char *', not `PTR'.  Cast calls to their
5017         counterparts malloc and realloc to `char *'.
5018         (main): Exit with a 0 status.
5019         * Makefile.in (demangle): Don't expect the user to define
5020         DEMANGLE, instead force to be cplus-dem.c.  Look in $(srcdir)/../include
5021         for demangle.h.  Pass it any HDEFINES or XTRAFLAGS.
5022
5023 Wed Nov 18 18:56:20 1992  John Gilmore  (gnu@cygnus.com)
5024
5025         * Makefile.in (AR_FLAGS):  Avoid verbosity.
5026         * config/mh-sysv4:  Remove AR_FLAGS override, use INSTALL=cp,
5027         replace USGr4 with HAVE_SYSCONF.
5028         * config/mh-solaris:  Remove; mh-sysv4 works now.
5029         * getpagesize.c:  Replace USGr4 with HAVE_SYSCONF.
5030         * configure.in:  Simplify host matching table, remove separate
5031         solaris config file.
5032
5033 Sun Nov 15 09:35:16 1992  Fred Fish  (fnf@cygnus.com)
5034
5035         * configure.in (i[34]86-*-solaris2*):  Add, use mh-sysv4.
5036
5037 Tue Nov  3 21:27:03 1992  Brendan Kehoe  (brendan@cygnus.com)
5038
5039         * cplus-dem.c (xmalloc, xrealloc): Add decls.
5040         (remember_type): Don't cast xmalloc.
5041         (string_need): Likewise; don't cast xrealloc either.
5042
5043 Fri Oct 23 08:52:01 1992  Ian Lance Taylor  (ian@cygnus.com)
5044
5045         * Makefile.in, functions.defs, rename.c: added simple
5046         implementation of rename, since some binutils programs use it.
5047
5048 Thu Oct 15 15:18:22 1992  Per Bothner  (bothner@cygnus.com)
5049
5050         * strsignal.c:  Add appropriate 'const' to sys_siglist
5051         extern declaration (if __STDC__).  (Needed for Linux.)
5052         * strsignal.c (strsignal): Add cast to remove const-ness.
5053
5054 Fri Oct  9 03:22:55 1992  John Gilmore  (gnu@cygnus.com)
5055
5056         * Makefile.in (needed.awk, needed2.awk):  Remove erroneous \'s
5057         before "'s, diagnosed by BSD 4.4 awk.
5058
5059 Thu Oct  8 15:25:12 1992  Ian Lance Taylor  (ian@cygnus.com)
5060
5061         * Makefile.in: create config.h and needed-list through $(CONFIG_H)
5062         and $(NEEDED_LIST), to give some hooks for xiberty.
5063
5064 Thu Oct  1 23:31:42 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
5065
5066         * configure.in: use cpu-vendor-triple instead of nested cases
5067
5068 Wed Sep 30 11:26:59 1992  Per Bothner  (bothner@rtl.cygnus.com)
5069
5070         * Makefile.in, argv.c, basename.c, bcmp.c, bcopy.c, bzero.c,
5071         concat.c, cplus-dem.c, fdmatch.c, getcwd.c, getopt.c, getopt1.c,
5072         getpagesize.c, insque.c, memcmp.c, memcpy.c, memmove.c, memset.c,
5073         obstack.c, sigsetmask.c, spaces.c, strchr.c, strerror.c,
5074         strrchr.c, strsignal.c, strstr.c, vfork.c, vsprintf.c:
5075         Convert from using GPL to LGPL.
5076
5077 Sat Sep 26 04:01:30 1992  John Gilmore  (gnu@cygnus.com)
5078
5079         * Makefile.in (errors):  Leave dummy.o and dummy around so that
5080         we can see how the needed list was generated (it's sometimes wrong).
5081         (mostlyclean):  Remove them.
5082
5083 Mon Sep 21 14:50:42 1992  Ian Lance Taylor  (ian@cygnus.com)
5084
5085         * getcwd.c: supply a default if MAXPATHLEN is not defined.
5086
5087         * config/mh-irix4: set EXTRA_OFILES to alloca.o, from WRS.
5088
5089 Wed Sep  9 12:41:48 1992  Ian Lance Taylor  (ian@cygnus.com)
5090
5091         * Makefile.in: Use XTRAFLAGS when compiling, so that xiberty works
5092         when cross-compiling.
5093
5094 Thu Sep  3 13:29:39 1992  K. Richard Pixley  (rich@sendai.cygnus.com)
5095
5096         * cplus-dem.c: (demangle_prefix): reduction in strength of strstr
5097           as a time optimization.
5098
5099         * cplus-dem.c (cplus_demangle): remove strpbrk test.  Appears to
5100           be more expensive than simply demangling.
5101
5102         * cplus-dem.c (cplus_match): new function.
5103
5104 Tue Sep  1 15:24:04 1992  Per Bothner  (bothner@rtl.cygnus.com)
5105
5106         * cplus-dem.c:  #include <stdio.h>, to define NULL.
5107         Define current_demangling_style.
5108
5109 Sun Aug 30 17:58:19 1992  Per Bothner  (bothner@rtl.cygnus.com)
5110
5111         * cplus-dem.c:  New file, moved from ../gdb.
5112         * cplus-dem.c (set_cplus_marker_for_demangling):  New exported
5113         function, to avoid compiling in target-dependency for CPLUS_MARKER.
5114         * cplus-dem.c (cplus_demangle):  Allow demangling style option
5115         to be passed as a parameter, but using the global variable
5116         current_demangling_style as a default.
5117         * Makefile.in:  Update for cplus-dem.c
5118
5119 Sat Aug 29 10:44:09 1992  Fred Fish  (fnf@cygnus.com)
5120
5121         * obstack.c:  Merge in comment changes from FSF version.  Now
5122         matches the FSF version exactly.
5123
5124 Fri Aug 28 18:39:08 1992  John Gilmore  (gnu@cygnus.com)
5125
5126         * obstack.c (CALL_FREEFUN):  Can't use ?: with void values (at
5127         least on losing DECstations!); use if-then-else instead.
5128
5129 Wed Aug 19 14:40:34 1992  Ian Lance Taylor  (ian@cygnus.com)
5130
5131         * Makefile.in: always create installation directories.
5132
5133 Mon Aug 10 17:33:40 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
5134
5135        * Makefile.in: clean up definition of CFILES, more comments
5136
5137 Sat Aug  8 23:10:59 1992  Fred Fish  (fnf@cygnus.com)
5138
5139         * getopt.c (my_index):  Make first arg const to match strchr,
5140         which it sometimes is remapped to.
5141
5142 Sat Aug  1 13:48:50 1992  Fred Fish  (fnf@cygnus.com)
5143
5144         * obstack.c (DEFAULT_ALIGNMENT):  Update to match FSF version.
5145         * obstack.c (_obstack_begin):  Initialize use_extra_arg.
5146         * obstack.c (_obstack_begin_1):  New, from FSF version.
5147
5148 Mon Jul 20 21:07:58 1992  Fred Fish  (fnf@cygnus.com)
5149
5150         * obstack.c (CALL_CHECKFUN, CALL_FREEFUN):  Use use_extra_arg and
5151         extra_arg.
5152         * obstack.c (_obstack_begin):  Remove area_id and flags arguments
5153         (previously added for mmalloc support, interface has changed).
5154         Also convert flags usage to use use_extra_arg and maybe_empty_object.
5155
5156 Fri Jul 10 00:41:53 1992  Fred Fish  (fnf@cygnus.com)
5157
5158         * argv.c:  Move expandargv inline and eliminate static variables.
5159         Rewrite to always allocate in powers of two.  Fix to return an
5160         argv with a single null string arg if passed a null string.
5161
5162 Fri Jul  3 20:27:29 1992  Fred Fish  (fnf@cygnus.com)
5163
5164         * random.c, sigsetmask.c, strerror.c, strsignal.c:  Remove
5165         "(void)" casts from function calls where the return value is
5166         ignored, in accordance with GNU coding standards.
5167
5168 Mon Jun 29 10:54:19 1992  Fred Fish  (fnf at cygnus.com)
5169
5170         * bcopy.c, strerror.c, strsignal.c:  Lint.
5171
5172 Thu Jun 25 09:18:41 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
5173
5174         * getopt.c: merge changes from make.
5175
5176 Thu Jun 25 04:43:22 1992  John Gilmore  (gnu at cygnus.com)
5177
5178         * alloca.c:  Incorporate fixes from gdb/alloca.c.
5179         FIXME:  Eventually move gdb's alloca configuration files here,
5180         and remove gdb/alloca.c and its Makefile.in support.
5181
5182 Tue Jun 23 21:56:30 1992  Fred Fish  (fnf@cygnus.com)
5183
5184         * dummy.c:  Define NOTHING to /*nothing*/, change return type
5185         of main to int and return zero.
5186         * functions.def:  Supply NOTHING as the fourth arg to macros
5187         that don't have an explicit arg, to satisfy picky preprocessors.
5188
5189 Wed Jun 17 18:13:58 1992  Per Bothner  (bothner@rtl.cygnus.com)
5190
5191         * Makefile.in:  Clean up *clean rules, as per standards.texi.
5192
5193 Tue Jun 16 16:11:59 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
5194
5195         * getopt.c, getopt1.c: merged largely gratuitous, mostly
5196           whitespace diffs from other prep distributions.
5197
5198 Mon Jun 15 12:25:46 1992  Fred Fish  (fnf@cygnus.com)
5199
5200         * config/mh-ncr3000 (INSTALL):  Don't use /usr/ucb/install,
5201         it is broken on ncr 3000's.
5202
5203 Mon Jun 15 01:03:26 1992  John Gilmore  (gnu at cygnus.com)
5204
5205         * sigsetmask.c:  Rewrite.  Old one was very confused about its
5206         arguments and result.  New one can't do much, but at least knows
5207         what it can't do, and it's good enough for GDB's use.
5208
5209 Sun Jun 14 15:17:40 1992  Stu Grossman  (grossman at cygnus.com)
5210
5211         * functions.def:  Use proper prototype for strtoul.
5212
5213 Fri Jun 12 19:22:40 1992  John Gilmore  (gnu at cygnus.com)
5214
5215         * Makefile.in:  Add random.c.
5216         * config/mh-*:  Use "true" rather than "echo >/dev/null" for ranlib.
5217         * configure.in:  update solaris2 config.
5218
5219 Wed Jun 10 16:31:29 1992  Fred Fish  (fnf@cygnus.com)
5220
5221         * random.c:  Add for random() and srandom().
5222         * functions.def:  Add random
5223
5224 Tue Jun  9 17:27:18 1992  Fred Fish  (fnf@cygnus.com)
5225
5226         * config/{mh-ncr3000, mh-sysv4}:  Add definition for INSTALL
5227         using /usr/ucb/install.
5228
5229 Mon Jun  1 13:20:17 1992  Per Bothner  (bothner@rtl.cygnus.com)
5230
5231         * strerror.c:  Kludge to guard against a conflict with
5232         possible declaration of sys_errlist in errno.h.
5233
5234 Sun May 31 15:07:47 1992  Mark Eichin  (eichin at cygnus.com)
5235
5236         * configure.in, config/mh-solaris: add solaris2 config support.
5237
5238 Fri May 29 17:23:23 1992  Per Bothner  (bothner@rtl.cygnus.com)
5239
5240         * sigsetmask.c:  #ifdef out sigsetmask if SIG_SETMASK
5241         is not defined (should be defined in signal.h, says Posix.).
5242
5243 Mon May 18 17:35:04 1992  K. Richard Pixley  (rich@cygnus.com)
5244
5245         * getopt.c: merged changes from make-3.62.11.
5246
5247 Fri May  8 14:53:07 1992  K. Richard Pixley  (rich@cygnus.com)
5248
5249         * getopt.c: merged changes from bison-1.18.
5250
5251 Tue May  5 11:51:40 1992  Per Bothner  (bothner@rtl.cygnus.com)
5252
5253         * Makefile.in:  Don't have $(EXTRA_OFILES) depend on config.h,
5254         since that introduces a circular dependency.
5255         ($(EXTRA_OFILES) are used to build config.h.)
5256
5257         * strtoul.c:  Fixes to handle non-decimal bases better.
5258
5259 Wed Apr 22 09:27:51 1992  Fred Fish  (fnf@cygnus.com)
5260
5261         * config/mh-ncr3000:  Replace MINUS_G with CFLAGS.
5262         * Makefile.dos:  Finish MINUS_G eradication.
5263         * Makefile.in (CFILES):  Add strsignal.c.
5264         * Makefile.in (REQUIRED_OFILES):  Add strerror.o strsignal.o
5265         * Makefile.in (needed-list):  Split creation of errors file to
5266         separate make target.
5267         * Makefile.in (config.h, needed2.awk, errors):  New targets.
5268         * Makefile.in (clean):  Split to multiple lines, add needed2.awk
5269         and config.h.
5270         * dummy.c (DEFFUNC, DEFVAR):  Add defines and undefs.
5271         * functions.def (strerror):  Remove from optional list.
5272         * functions.def (sys_nerr, sys_errlist, sys_siglist):  DEFVAR's
5273         * functions.def (strerror, psignal):  DEFFUNC's
5274         * strerror.c:  Rewrite from scratch to use sys_errlist only if
5275         available, add errno_max(), add strerrno(), add strtoerrno(),
5276         add test driver.
5277         * strsignal.c:  New file, signal equivalent to strerror.c.
5278         Uses sys_siglist if available, defines signo_max(), strsignal(),
5279         strsigno(), strtosigno(), psignal(), and test driver.
5280
5281 Mon Apr 20 20:49:32 1992  K. Richard Pixley  (rich@cygnus.com)
5282
5283         * Makefile.in: do not print recursion line.
5284
5285         * Makefile.in: allow CFLAGS to be passed in from command line.
5286           Removed MINUS_G.  Default CFLAGS to -g.
5287
5288 Mon Apr 20 12:57:46 1992  Per Bothner  (bothner@rtl.cygnus.com)
5289
5290         * config/mh-aix:  New.  EXTRA_OFILES lists copysign.o,
5291         so libg++ users don't have to be inconvenienced by a
5292         libc.a bug (libc.a needs copysign, but doesn't define it!).
5293         * configure.in:  Use config/mh-aix.
5294         * strtoul.c:  Handle '-' as required by ANSI.
5295         Clean up radix handling.
5296         * strstr.c:  Fix buggy algorithm.
5297         * Makefile.in:  Change so that ${EXTRA_OFILES} is
5298         appended to needed-list (which is used by libg++).
5299
5300 Fri Apr 10 22:51:41 1992  Fred Fish  (fnf@cygnus.com)
5301
5302         * configure.in:  Recognize new ncr3000 config.
5303         * config/mh-ncr3000:  New config file.
5304
5305 Wed Apr  1 23:31:43 1992  John Gilmore  (gnu at cygnus.com)
5306
5307         * argv.c, dummy.c:  Lint.
5308
5309 Tue Mar 31 18:46:44 1992  Fred Fish  (fnf@cygnus.com)
5310
5311         * config/mh-sysv4:  New config file.
5312         * configure.in (host_makefile_frag):  Set to config/mh-sysv4 for
5313         host_os == sysv4.
5314         * getpagesize.c:  For SVR4, use sysconf(_SC_PAGESIZE) to get
5315         pagesize.
5316
5317 Sun Mar 29 12:26:42 1992  John Gilmore  (gnu at cygnus.com)
5318
5319         * getopt.c:  Lint.
5320
5321 Fri Mar 27 08:32:55 1992  Fred Fish  (fnf@cygnus.com)
5322
5323         * functions.def (alloca):  Fix return type and args to avoid
5324         type clash with gcc's builtin alloca.
5325
5326 Tue Mar 24 23:33:42 1992  K. Richard Pixley  (rich@cygnus.com)
5327
5328         * configure.in, config/mh-irix4: irix4 support.
5329
5330         * Makefile.in, functions.def, alloca.c: added alloca.
5331
5332 Tue Mar 24 17:34:46 1992  Stu Grossman  (grossman at cygnus.com)
5333
5334         * obstack.c (CALL_FREEFUN):  Make it compile on DECstations.
5335
5336 Thu Mar 19 13:57:42 1992  Fred Fish  (fnf@cygnus.com)
5337
5338         * argv.c:  Fix various external function definitions to be
5339         correct in an ANSI compilation environment.
5340
5341 Sat Mar 14 17:28:17 1992  Fred Fish  (fnf@cygnus.com)
5342
5343         * obstack.c:  Changes to support calling mmalloc functions,
5344         which take an additional argument over malloc functions.
5345
5346 Fri Mar  6 22:01:10 1992  K. Richard Pixley  (rich@cygnus.com)
5347
5348         * added check target.
5349
5350 Thu Feb 27 22:19:39 1992  Per Bothner  (bothner@cygnus.com)
5351
5352         * argv.c:  #include alloca-conf.h (needed by AIX).
5353
5354 Wed Feb 26 18:04:40 1992  K. Richard Pixley  (rich@cygnus.com)
5355
5356         * Makefile.in, configure.in: removed traces of namesubdir,
5357           -subdirs, $(subdir), $(unsubdir), some rcs triggers.  Forced
5358           copyrights to '92, changed some from Cygnus to FSF.
5359
5360 Sat Feb 22 01:09:21 1992  Stu Grossman  (grossman at cygnus.com)
5361
5362         * argv.c:  Check in Fred's version which fixes problems with
5363         alloca().
5364
5365 Fri Feb  7 21:46:08 1992  Stu Grossman  (grossman at cygnus.com)
5366
5367         * makefile.dos:  Remove NUL to keep patch from failing.
5368
5369 Thu Jan 30 22:48:41 1992  Stu Grossman  (grossman at cygnus.com)
5370
5371         * getopt.c (_getopt_internal):  Fix usage of enum has_arg.
5372
5373 Mon Jan 20 18:53:23 1992  Stu Grossman  (grossman at cygnus.com)
5374
5375         * getopt.c, getopt1.c, ../include/getopt.h:  Get latest versions.
5376
5377 Sat Jan 18 16:53:01 1992  Fred Fish  (fnf at cygnus.com)
5378
5379         * argv.c:  New file to build and destroy standard argument
5380         vectors from a command string.
5381
5382         * Makefile.in:  Add argv.c and argv.o to appropriate macros.
5383
5384 Fri Dec 20 12:12:57 1991  Fred Fish  (fnf at cygnus.com)
5385
5386         * configure.in:  Change svr4 references to sysv4.
5387
5388         * rindex.c:  Declare return type of externally used function
5389         strrchr().
5390
5391 Thu Dec 19 18:35:03 1991  John Gilmore  (gnu at cygnus.com)
5392
5393         * Makefile.in:  Remove "***" in normal output, since Make produces
5394         this on errors, and it's convenient to search for.
5395
5396 Tue Dec 17 23:21:30 1991  Per Bothner  (bothner at cygnus.com)
5397
5398         * memcmp.c, memcpy.c, memmove.c, memset.c, strchr.c, strrchr.c:
5399         New ANSI functions.  The old non-ANSI functions (such as bcopy)
5400         should be avoided.
5401         * bcopy.c:  Fix to correctly handle overlapping regions.
5402         * index.c, rindex.c:  Re-write in terms of strchr() and strrchr().
5403         * functions.def:  Add the new functions.
5404         * functions.def:  Add 4th parameter to DEF macro,
5405         an ansidecl.h-style prototype.
5406         * dummy.c:  Use expanded DEF macro to create a dummy function
5407         call, with correct parameter types.  (This avoids some
5408         complaints from gcc about predefined builtins.)
5409
5410         Move the functionality of config/mh-default into Makefile.in.
5411         This avoid duplication, and simplifies things slightly.
5412         * Makefile.in:  Tweak so we don't need config/mh-default.
5413         * README:  Update.
5414         * configure.in:  No longer need config/mh-default.
5415         * config/mh-default:  Deleted.
5416         * config/mh-sysv:  Remove lines copied from old mh-default.
5417
5418 Tue Dec 17 05:46:46 1991  John Gilmore  (gnu at cygnus.com)
5419
5420         * fdmatch.c (fdmatch):  Don't compare st_rdev, which is for
5421         'mknod' device numbers.
5422
5423 Mon Dec 16 12:25:34 1991  Fred Fish  (fnf at cygnus.com)
5424
5425         * fdmatch.c, Makefile.in:  Add new function that takes two
5426         open file descriptors and returns nonzero if they refer to
5427         the same file, zero otherwise.  (used in gdb)
5428
5429 Wed Dec 11 17:40:39 1991  Steve Chamberlain  (sac at rtl.cygnus.com)
5430         From DJ:
5431         * msdos.c: stub functions for dos.
5432         * makefile.dos, configdj.bat: new.
5433         * getopt.c: Don't include alloca-conf.h in a GO32 world.
5434
5435
5436 Tue Dec 10 04:14:49 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
5437
5438         * Makefile.in: infodir belongs in datadir.
5439
5440 Fri Dec  6 23:26:45 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
5441
5442         * Makefile.in: remove spaces following hyphens because bsd make
5443           can't cope.  added standards.text support.  install using
5444           INSTALL_DATA.
5445
5446         * configure.in: remove commontargets as it is no longer a
5447           recognized hook.
5448
5449 Thu Dec  5 22:46:46 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
5450
5451         * Makefile.in: idestdir and ddestdir go away.  Added copyrights
5452           and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
5453           and mandir now keyed off datadir by default.
5454
5455 Fri Nov 22 19:15:29 1991  John Gilmore  (gnu at cygnus.com)
5456
5457         * Makefile.in:  find-needed.awk does not fit in 14 chars.
5458
5459         * Makefile.in:  Suppress error checking when compiling the test
5460         program, because Ultrix make/sh aborts there due to a bug.
5461
5462 Fri Nov 22 12:23:17 1991  Per Bothner  (bothner at cygnus.com)
5463
5464         * Makefile.in:  Re-did how EXTRA_OFILES is used to be more useful.
5465         * README:  Explained how the auto-configuration works,
5466         and how to add new files and/or configurations.
5467
5468 Fri Nov 22 09:45:23 1991  John Gilmore  (gnu at cygnus.com)
5469
5470         * strtoul.c:  Avoid defining ULONG_MAX if already defined;
5471         cast a const char * to char * for pedants.
5472
5473         * getopt.c:  Only define "const" after local include files get to,
5474         and only if they haven't defined it.
5475
5476 Thu Nov 21 16:58:53 1991  John Gilmore  (gnu at cygnus.com)
5477
5478         * getcwd.c (remove getwd.c): GNU code should call getcwd().  We
5479         emulate it with getwd() if available.  This avoids callers having
5480         to find a MAXPATHLEN or PATH_MAX value from somewhere.
5481         * Makefile.in, functions.def:  getwd->getcwd.
5482         * configure.in:  Use generic case for every system.
5483         * config/mh-{delta88,mach,rs6000,svr4}:  Remove.
5484         * config/mh-sysv:  Use default handling, just add -DUSG.
5485
5486 Thu Nov 14 10:58:05 1991  Per Bothner  (bothner at cygnus.com)
5487
5488         * Makefile.in, config/mh-default: Re-do make magic
5489         so that for the default ("automatic") mode we only
5490         compile the files we actually need.  Do this using
5491         a recursive make:  The top-level generates the list
5492         of needed files (loosely, the ones missing in libc),
5493         and then passes that list to the recursive make.
5494         * config/mh-mach:  Remove obsolete STRERROR-{C,O} macros.
5495
5496 Tue Nov 12 19:10:57 1991  John Gilmore  (gnu at cygnus.com)
5497
5498         RS/6000 host support (grumble).
5499
5500         * configure.in:  Build alloca-conf.h file from alloca-norm.h
5501         (everything else) or alloca-botch.h (rs/6000).
5502         * Makefile.in:  Include . on the include path.
5503         * getopt.c:  Use alloca-conf.h.
5504         * alloca-norm.h:  How to declare alloca on reasonable machines.
5505         * alloca-botch.h: How to declare alloca on braindead machines.
5506
5507 Tue Nov 12 09:21:48 1991  Fred Fish  (fnf at cygnus.com)
5508
5509         * concat.c :  New file, like concat() in gdb but can take a
5510         variable number of arguments rather than fixed at 3 args.  For
5511         now, client applications must supply an xmalloc(), which is a
5512         front end function to malloc() that deals with out-of-memory
5513         conditions.
5514
5515         * Makefile.in:  Add concat.c and concat.o to appropriate macros.
5516
5517 Sat Nov  9 13:29:59 1991  Fred Fish  (fnf at cygnus.com)
5518
5519         * config/mh-svr4:  Add sigsetmask to list of required functions.
5520
5521 Sun Nov  3 11:57:56 1991  Per Bothner  (bothner at cygnus.com)
5522
5523         * vsprintf.c:  New file.
5524         * functions.def, Makefile.in:  Add vsprintf.
5525
5526 Sun Oct 27 16:31:22 1991  John Gilmore  (gnu at cygnus.com)
5527
5528         * configure.in, config/mh-rs6000:  Add rs/6000 host support.
5529         * Makefile.in:  Compile with debug info.
5530
5531 Fri Oct 25 17:01:12 1991  Per Bothner  (bothner at cygnus.com)
5532
5533         * Makefile.in, configure.in, and new files: dummy.c, functions.def,
5534         config/mf-default:  Added a default configuration mode,
5535         which includes into libiberty.a functions that are "missing" in libc.
5536         * strdup.c, vprintf.c, vfprintf.c: New files.
5537
5538 Thu Oct 24 02:29:26 1991  Fred Fish  (fnf at cygnus.com)
5539
5540         * config/hmake-svr4: New file.
5541
5542         * config/hmake-sysv: Add HOST_CFILES and HOST_OFILES.
5543
5544         * basename.c, bcmp.c, bcopy.c, bzero.c, getpagesize.c getwd.c,
5545         index.c, insque.c, rindex.c, spaces.c, strstr.c, vfork.c: New
5546         files containing either portable C versions or emulations using
5547         native library calls.
5548
5549         * strerror.c:  Add copyright, internal documentation, etc.
5550
5551         * strtol.c:  Replace hardwired hex constants with some more
5552         portable macros.  Remove illegal (according to gcc) cast.
5553
5554         * strtoul.c: Replace hardwired hex constant with more portable
5555         macro.
5556
5557         * Makefile.in: Move TARGETLIB and CFLAGS where makefile fragments
5558         can override them.  Add new source and object file names to CFILES
5559         and OFILES respectively.
5560
5561         * configure.in: Add support for SVR4 makefile fragments.
5562
5563 Tue Oct 22 19:00:23 1991  Steve Chamberlain  (steve at cygnus.com)
5564
5565         * Makefile.in: Move RANLIB, AR and AR_FLAGS to where they can be
5566         over-ridden by config/hmake-*
5567         * configure.in: added m88kcvs to sysv list
5568
5569 Fri Oct  4 01:29:08 1991  John Gilmore  (gnu at cygnus.com)
5570
5571         * Makefile.in:  Most hosts need strerror, but one or two don't,
5572         and they override these definitions in the host-dependent makefile
5573         fragment.
5574         * config/hmake-mach:  The odd man out on strerror -- it's supplied.
5575         * strerror.c:  New file.
5576
5577         * strtol.c, strtoul.c:  Add strtol to libiberty, since Mach lacks
5578         it and bfd uses it.
5579         * configure.in, Makefile.in, config/hmake-mach:  Only configure
5580         strtol & strotoul in on Mach.
5581
5582 Tue Sep  3 06:36:23 1991  John Gilmore  (gnu at cygint.cygnus.com)
5583
5584         * obstack.c:  Merge with latest FSF version.
5585
5586 \f
5587 Local Variables:
5588 version-control: never
5589 End: