1 2003-09-06 Josef Zlomek <zlomekj@suse.cz>
3 * fibheap.c (fibheap_replace_key_data): Change type of OKEY to
6 2003-09-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9 * aclocal.m4 (AC_LANG_FUNC_LINK_TRY): Define.
12 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
14 * aclocal.m4: Include acx.m4 and no-executables.m4.
15 (libiberty_AC_FUNC_STRNCMP): Use AC_LIBOBJ.
16 (LIB_AC_PROG_CC): Remove.
17 * configure.in: Update AC_PREREQ to 2.57. Use GCC_NO_EXECUTABLES.
18 Use AC_PROG_CC and set ac_libiberty_warn_cflags instead of using
19 LIB_AC_PROG_CC. Use AC_LIBOBJ. Call AC_ISC_POSIX later, only if
20 performing link tests.
21 * configure: Regenerated.
23 2003-08-12 Nathanael Nerode <neroden@gcc.gnu.org>
25 * cp-demangle.c: Clarify what package(s) this is part of.
27 2003-07-05 Danny Smith <dannysmith@users.sourceforge.net>
29 * pex-win32.c (pexecute): Mark parameters this_pname and
30 temp_base as unused. Remove unused variables retries,
31 sleep_interval. Initialize org_stdin, org_stdout.
32 (pwait): Mark parameter flags as unused.
34 2003-07-02 Danny Smith <dannysmith@users.sourceforge.net>
36 * pex-win32.c (fix_argv): Ensure that the executable pathname
37 uses Win32 backslashes.
38 (pexecute): Cast away constness when assigning *errmsg_arg.
40 2003-06-26 H.J. Lu <hongjiu.lu@intel.com>
42 * testsuite/demangle-expected: Add more GNU V3 testcases.
44 2003-06-22 Zack Weinberg <zack@codesourcery.com>
46 * safe-ctype.c: Use HOST_CHARSET_ASCII and HOST_CHARSET_EBCDIC,
47 not HC_ASCII and HC_EBCDIC.
48 Add documentation in form expected by gather-docs.
49 * hex.c: Use HOST_CHARSET, not hand-coded check of character set.
50 * Makefile.in, functions.texi: Regenerate.
52 2003-06-21 Zack Weinberg <zack@codesourcery.com>
54 * safe-ctype.c: Separate out EOF==-1 check. Use HOST_CHARSET
55 for charset determination.
57 2003-06-19 Dara Hazeghi <dhazeghi@yahoo.com>
59 * configure.in: Add check for malloc.h needed by
60 m68k for function free().
61 * configure: Regenerated.
62 * config.in: Add HAVE_MALLOC_H.
63 * hashtab.c: include malloc.h were available for
66 2003-06-09 Albert Chin-A-Young <china@thewrittenword.com>
69 * physmem.c: Update comment.
70 * configure.in: Modify test for _system_configuration for older
73 * config.in, configure: Regenerated.
75 2003-06-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
78 * test-demangle.c (getline): Fix fence-post error.
80 2003-06-03 Nick Clifton <nickc@redhat.com>
82 * asprintf.c: Change comment to note that -1 is returned upon
84 * vasprintf.c: Likewise.
85 (vasprintf): Return -1 upon error.
86 * functions.texi: Document changes to asprintf and vasprintf.
88 2003-05-19 Kelley Cook <kelleycook@wideopenwest.com>
90 * config.table: Accept i[345867]86 variant.
92 2003-05-15 Jim Blandy <jimb@redhat.com>
94 * hex.c (_hex_value): Make this unsigned.
95 (hex_value): Update documentation for new return type. hex_value
96 now expands to an unsigned int expression, to avoid unexpected
97 sign extension when we store it in a bfd_vma, which is larger than
98 int on some platforms.
99 * functions.texi: Regenerated.
101 2003-05-07 Josef Zlomek <zlomekj@suse.cz>
103 * splay-tree.c (splay_tree_predecessor): Fix comment.
104 (splay_tree_successor): Fix comment.
106 2003-05-07 Jason Merrill <jason@redhat.com>
108 * hashtab.c (iterative_hash): New fn.
109 * configure.in: Add AC_C_BIGENDIAN_CROSS.
110 * aclocal.m4: Include accross.m4.
111 * configure, config.in: Regenerate.
113 2003-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
115 * configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
116 * configure: Regenerate.
118 2003-05-03 Carlo Wood <carlo@alinoe.com>
120 * cp-demangle.c: Fix typo in "char_traints" string-literal.
122 2003-04-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
124 * vsnprintf.c (vsnprintf): Don't pad string with extra nulls.
125 (main): Test that we don't write too much data.
127 2003-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
129 * configure.in (funcs, AC_CHECK_FUNCS): Add snprintf and
131 * snprintf.c, vsnprintf.c: New files.
132 * Makefile.in (CFILES): Add snprintf.c and vsnprintf.c.
133 (CONFIGURED_OFILES): Add snprintf.o and vsnprintf.o.
134 Regenerate dependencies.
136 * functions.texi, configure, config.in: Regenerated.
138 2003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
140 * mempcpy.c, stpcpy.c, stpncpy.c: New files.
141 * configure.in (funcs, AC_CHECK_FUNCS): Add mempcpy, stpcpy
143 * Makefile.in (CFILES): Add mempcpy.c, stpcpy.c and stpncpy.c.
144 (CONFIGURED_OFILES): Add mempcpy.o, stpcpy.o and stpncpy.o.
145 Regenerate dependencies.
147 * functions.texi, configure, config.in: Regenerated.
149 2003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
151 * argv.c: Fix comments.
152 * calloc.c: Don't unnecessarily include "libiberty.h".
153 (bzero): Add prototype.
154 * floatformat.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
155 * getcwd.c (getcwd): Use standard definition to avoid conflicts
157 * hashtab.c (htab_traverse): Delete unused variables.
158 * rename.c: Include "ansidecl.h".
159 (rename): Use standard definition to avoid conflicts with system
161 * strsignal.c: Rely on ANSI_PROTOTYPES.
162 * strstr.c: Check GNUC >= 2, not GNUC == 2.
163 * vfprintf.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
164 * vprintf.c: Include "ansidecl.h" earlier, rely on
166 * vsprintf.c: Include "ansidecl.h" earlier, rely on
167 ANSI_PROTOTYPES and possibly include <stdarg.h>.
169 * Makefile.in: Regenerate dependencies.
171 2003-04-15 DJ Delorie <dj@redhat.com>
173 * maint-tool (deps): Scan for headers in $srcdir also.
175 2003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
180 * getopt.c (exchange, _getopt_initialize): Use mempcpy not
182 * regex.c (regerror): Likewise.
184 2003-04-14 Roger Sayle <roger@eyesopen.com>
186 * argv.c: Use ANSI_PROTOTYPES instead of __STDC__.
187 * memchr.c: Likewise.
188 * strcasecmp.c: Likewise.
189 * strncasecmp.c: Likewise.
190 * strncmp.c: Likewise.
191 * xatexit.c: Likewise.
192 * xmalloc.c: Likewise.
194 * copysign.c: Use traditional function declaration instead of DEFUN.
195 * sigsetmask.c: Likewise.
197 * memcmp.c: Both of the above, ANSI_PROTOTYPES and DEFUN.
198 * memset.c: Likewise.
200 * memcpy.c: ANSI_PROTOTYPES, DEFUN and prototype bcopy.
201 * memmove.c: Likewise.
203 2003-04-14 Roger Sayle <roger@eyesopen.com>
205 * strdup.c (strdup): Tweak implementation to use memcpy.
207 2003-04-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
209 * configure.in (HAVE_UINTPTR_T): Always define.
210 * configure: Regenerated.
212 2003-03-23 Alexandre Oliva <aoliva@redhat.com>
214 * Makefile.in (MULTIOSDIR): New macro. Use $(CC) $(LIBCFLAGS)
215 instead of $$CC alone.
216 (install_to_tooldir): Use it.
218 2003-17-03 Jan Hubicka <jh@suse.cz>
220 * hashtab.c (htab_traverse_noresize): Break out from ...
221 * hashtab.c (htab_traverse): ... here.
223 2003-12-03 Jan Hubicka <jh@suse.cz>
225 * hashtab.c (htab_expand): Fix warning.
227 * hashtab.c (htab_expand): Compute the size of hashtable based
228 on the number of elements actually used.
229 (htab_traverse): Call htab_expand when table is too empty.
231 2003-03-11 Carlo Wood <carlo@gnu.org>
233 * cplus-dem.c (demangle_integral_value): Correction to reflect
234 patch of 2002-01-10 in order to also make negative multi-digits
235 without leading underscore work.
237 2003-03-03 Mark Mitchell <mark@codesourcery.com>
239 * cplus-dem.c: Add license exception to copyright notice.
241 2003-02-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
243 * physmem.c: Formatting changes from upstream.
245 2003-02-24 Danny Smith <dannysmith@users.source.forge.net>
247 * physmem.c (physmem_total): Add _WIN32 support.
248 (physmem_available): Likewise.
250 2003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
252 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
254 (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS.
256 2003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
258 * configure.in: Check for sys/systemcfg.h and
259 _system_configuration.
260 * physmem.c: Add support for AIX. Tweek formatting as per
261 upstream coreutils beta.
263 2003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
264 Richard Earnshaw <rearnsha@arm.com>
265 Geoffrey Keating <geoffk@apple.com>
267 * configure.in: Check for sys/sysctl.h and sysctl.
268 * physmem.c: Add support for *bsd and darwin.
269 * Makefile.in: Generate depedency for physmem.o.
271 2003-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
273 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on
275 (physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on
278 * configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h,
279 machine/hal_sysinfo.h, sys/table.h.
280 (checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table.
281 * configure, config.in: Regenerate.
283 2003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
285 * configure.in: Check for sys/sysmp.h and sysmp.
286 * physmem.c: Pull upstream copy, add support for irix6.
288 * config.in, configure: Regenerated.
290 2003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
292 * physmem.c (physmem_total, physmem_available): De-ANSI-fy.
293 * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and
296 2003-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
298 * Makefile.in (CFILES): Add physmem.c.
299 (REQUIRED_OFILES): Add physmem.o.
300 * configure.in: Check for sys/pstat.h.
301 (checkfuncs): Add pstat_getstatic and pstat_getdynamic.
302 * physmem.c: New file, copied from textutils.
304 * config.in, configure: Regenerated.
306 2003-02-20 Daniel Jacobowitz <drow@mvista.com>
308 * Makefile.in (CFILES): Add lrealpath.c.
309 (REQUIRED_OFILES): Add lrealpath.o.
310 (lrealpath.o): Add rule.
311 * aclocal.m4 (libiberty_NEED_DECLARATION): Add.
312 * configure.in: Add realpath and canonicalize_file_name to
313 checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION
314 for canonicalize_file_name.
315 * lrealpath.c: New file.
316 * make-relative-prefix.c: Update documentation.
317 (make_relative_prefix): Simplify. Use lbasename and lrealpath.
318 * config.in: Regenerated.
319 * configure: Regenerated.
320 * functions.texi: Regenerated.
322 2003-02-20 jmc <jmc@prioris.mini.pw.edu.pl>
324 * cplus_dem.c: Fix typo: intializes -> initializes.
326 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
328 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
330 * configure: Rebuilt.
332 2003-02-13 Daniel Jacobowitz <drow@mvista.com>
335 * cplus-dem.c (demangle_signature): Call string_delete.
336 Remove extra string_init.
337 (demangle_arm_hp_template): Call string_delete instead of
338 string_clear. Add missing string_delete call.
339 (demangle_qualified): Add missing string_delete call.
340 (do_type): Remove unused variable btype. Add missing string_delete
341 call. Call string_delete instead of string_clear.
342 (demangle_fund_type): Move variable btype inside of the switch
343 statement. Add missing string_delete call.
344 (do_arg): Call string_delete instead of string_clear. Remove extra
346 (demangle_nested_args): Free work->previous_argument.
348 2003-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
350 * acconfig.h: New file. Add uintptr_t.
351 * config.in: Regenerated.
353 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
355 * libiberty.texi: Update to GFDL 1.2.
357 2003-01-30 Christian Cornelssen <ccorn@cs.tu-berlin.de>
359 * Makefile.in (libiberty_topdir): New subst.
360 (mkinstalldirs): Redefine in terms of the above.
361 * configure.in: AC_SUBST it.
362 * configure: Regenerate.
364 2003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de>
366 * Makefile.in (all-subdir, check-subdir, installcheck-subdir)
367 (info-subdir, install-info-subdir, clean-info-subdir)
368 (dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
369 (clean-subdir, distclean-subdir, maintainer-clean-subdir):
370 Pass $(FLAGS_TO_PASS).
372 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
374 * Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
375 /`$$CC -print-multi-os-directory`.
377 2003-01-26 Daniel Jacobowitz <drow@mvista.com>
379 * hashtab.c (htab_create_alloc_ex): New function.
380 (hatab_set_functions_ex): New function.
381 (htab_delete, htab_expand): Support alternate allocation functions.
383 2003-01-24 Christopher Faylor <cgf@redhat.com>
385 * configure.in: Remove special pex-cygwin consideration.
386 * configure: Regenerate.
387 * pex-cygwin.c: Remove.
388 * Makefile.in: Remove pex-cygwin.[co] lines.
390 2003-01-24 Zack Weinberg <zack@codesourcery.com>
392 * Makefile.in (CFILES): Add pex-*.c.
393 (REQUIRED_OFILES): Change pexecute.o to @pexecute@
394 (CONFIGURED_OFILES): Add pex-*.o.
395 (TEXIFILES): Add pexecute.txh.
396 (pexecute.o): Delete rule.
397 (pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o,
398 pex-unix.o, pex-win32.o): New rules.
399 * configure.in: Change AC_INIT argument to xmalloc.c.
400 Compute appropriate pexecute implementation and substitute it
403 * pexecute.c: Split up into...
404 * pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c,
405 pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these
408 * functions.texi: Regenerate.
409 * configure: Regenerate.
411 2003-01-20 Josef Zlomek <zlomekj@suse.cz>
413 * hashtab.c (htab_expand): Fix allocation of new entries.
415 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
417 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
419 * Makefile.in (install_to_libdir, install_to_tooldir): Add a
420 mkinstalldirs command.
422 2002-12-04 Danny Smith <dannysmith@users.sourceforge.net>
424 * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
425 Define for hosts with HOST_EXECUTABLE_SUFFIX.
427 2002-11-24 Nick Clifton <nickc@redhat.com>
429 * make-relative-prefix.c (make_relative_prefix): Ensure return
430 string is empty before using strcat to construct it.
432 2002-11-22 Daniel Jacobowitz <drow@mvista.com>
434 * Makefile.in: Add make-relative-prefix.c.
435 * make-relative-prefix.c: New file.
436 * functions.texi: Rebuilt.
438 2002-11-16 Jakub Jelinek <jakub@redhat.com>
440 * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
441 used with arguments in traditional C' warnings.
443 2002-10-16 Jakub Jelinek <jakub@redhat.com>
445 * config.table: Use mh-s390pic for s390x too.
447 2002-10-06 Andreas Jaeger <aj@suse.de>
449 * libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded
450 variable and of strict-aliasing warning.
451 (grow_vect): Use char as first parameter.
453 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
455 * Makefile.in (all): Fix multilib parallel build.
457 2002-09-19 John David Anglin <dave@hiuly1.hia.nrc.ca>
459 * cp-demangle.c (demangling_new): Cast 0 to enum.
460 (demangle_char): Cast return of strdup to char *.
461 (is_gnu_v3_mangled_ctor): Cast 0 to enum.
462 (is_gnu_v3_mangled_dtor): Likewise.
463 * cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
464 (work_stuff_copy_to_from): Cast return of xmalloc to char **.
465 * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
466 * md5.c (md5_process_bytes): Cast results back to const void *.
467 (md5_process_block): Add cast to const md5_uint32 *.
468 * regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
469 * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
471 * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
473 * vasprintf.c (int_vasprintf): Cast return of malloc to char *.
475 2002-09-19 Nick Clifton <nickc@redhat.com>
477 * README: Update email addresses for bugs and patches.
479 2002-09-10 Mike Stump <mrs@apple.com>
481 * splay-tree.c (splay_tree_successor): Fix comments.
483 2002-09-11 Zack Weinberg <zack@codesourcery.com>
485 * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
486 * testsuite/Makefile.in: Adjust for test-demangle.
487 * testsuite/regress-demangle: Deleted.
488 * testsuite/test-demangle.c: New file.
489 * testsuite/demangle-expected: Change \$ to $ throughout, now that
490 this file is not being read by a shell script.
492 2002-09-05 Roger Sayle <roger@eyesopen.com>
494 * regex.c: Only use "#pragma alloca" on AIX when not using gcc.
496 2002-08-07 DJ Delorie <dj@redhat.com>
498 * regex.c (re_error_msgid): Just use a simple array of strings.
499 (re_compile_pattern): Compensate.
502 (regerror): Likewise.
504 2002-07-29 Neil Booth <neil@daikokuya.co.uk>
506 * cplus-dem.c (PREPEND_BLANK): Remove.
508 2002-07-10 Jason Merrill <jason@redhat.com>
510 * cp-demangle.c (demangle_identifier): Support extended Unicode
513 2002-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
515 * cp-demangle.c (demangle_v3_with_details): Wrap in
516 !defined IN_GLIBCPP_V3.
518 2002-07-01 Mark Mitchell <mark@codesourcery.com>
520 * cp-demangle.c (demangle_operator_name): Add type_arg parameter.
521 Set it for the "st" operator.
522 (demangle_expression): Handle expressions with types as arguments.
524 2002-06-30 Douglas Rupp <rupp@gnat.com>
526 * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
527 * Makefile.in (OUTPUT_OPTION): Use.
529 2002-06-22 Peter Breitenlohner <peb@mppmu.mpg.de>
531 * Makefile.in (install_to_libdir): Add $(DESTDIR).
532 (install_to_tooldir): Likewise.
534 2002-06-17 Douglas Rupp <rupp@gnat.com>
536 * lbasename.c: Add 2002 to copyright.
537 (IS_DIR_SEPARATOR): Remove VMS junk.
539 2002-06-05 Geoffrey Keating <geoffk@redhat.com>
541 * hashtab.c (htab_create): New stub function for backward
543 (htab_try_create): Likewise.
545 2002-06-03 Geoffrey Keating <geoffk@redhat.com>
547 * hashtab.c (htab_create): Delete.
548 (htab_try_create): Delete.
549 (htab_create_alloc): New.
550 (htab_delete): Support user-specified memory allocation.
551 (htab_expand): Likewise.
553 2002-05-22 Roman Lechtchinsky <rl@cs.tu-berlin.de>
555 * configure.in: Fix typo in the code checking for sys_errlist.
556 * configure: Regenerated.
558 2002-05-13 Andreas Schwab <schwab@suse.de>
560 * config.table: Use mh-x86pic also for x86-64.
562 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
564 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
565 script entry, and set LD to it when configuring multilibs.
566 * configure: Rebuilt.
568 2002-05-07 Mark Mitchell <mark@codesourcery.com>
570 * configure.in (AC_TYPE_PID_T): Use it.
571 * configure: Regenerated.
572 * getruntime.c: Include <sys/types.h>.
573 * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid".
575 2002-04-09 Richard Henderson <rth@redhat.com>
577 * hashtab.c (higher_prime_number): Use 7 as minimum.
578 (find_empty_slot_for_expand): Don't compute hash2 unless needed.
579 (htab_find_slot_with_hash): Likewise.
581 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
583 * cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
584 (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally
585 not compile if IN_GLIBCPP_V3 defined.
586 * dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme.
588 2002-03-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
590 * cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
593 2002-03-27 DJ Delorie <dj@redhat.com>
595 * hex.c: Add documentation.
596 (_hex_value): Provide non-ASCII empty table.
597 (hex_init): Initialize the non-ASCII table.
598 * functions.texi: Regenerate.
600 2002-03-27 Mark Mitchell <mark@codesourcery.com>
602 * dyn-string.c: Add libgcc exception to copyright notice.
604 2002-03-26 H.J. Lu (hjl@gnu.org)
606 * config.table: Support --with-build-subdir.
607 * configure.in: Likewise.
608 * configure: Rebuild.
610 2002-03-18 Stuart Griffith <Stuart_Griffith@credence.com>
612 * strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
615 2002-03-12 Mark Mitchell <mark@codesourcery.com>
617 * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
620 2002-03-11 Douglas B Rupp <rupp@gnat.com>
622 * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
624 2002-03-06 Jim Blandy <jimb@redhat.com>
626 * splay-tree.c (splay_tree_xmalloc_allocate,
627 splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
628 prototyped definitions. Mark `data' arguments as unused.
630 2002-03-06 Andrew Cagney <ac131313@redhat.com>
632 * floatformat.c (floatformat_arm_ext_big): Delete definition.
634 2002-03-04 Phil Edwards <pme@gcc.gnu.org>
636 * configure.in: Add --enable-install-libiberty option.
637 * Makefile.in (INSTALLED_HEADERS): New variable.
638 (install_to_libdir): Possibly also copy headers.
639 * configure: Regenerated.
641 2002-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
643 * xmalloc.c (xmalloc_fail): Clarify error message further.
645 2002-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
647 * xmalloc.c (xmalloc_fail): Clarify error message.
649 2002-02-22 Jim Blandy <jimb@redhat.com>
651 * splay-tree.c (splay_tree_xmalloc_allocate,
652 splay_tree_xmalloc_deallocate): New functions.
653 (splay_tree_new): Call splay_tree_new_with_allocator, passing the
654 above functions and a dummy data pointer.
655 (splay_tree_new_with_allocator): New function.
656 (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
657 splay_tree_remove): Use the splay tree's allocation and
658 deallocation functions.
660 2002-02-19 Scott Snyder <snyder@fnal.gov>
662 * testsuite/demangle-expected: Add test case for infinite loop in
664 * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
665 if do_type() doesn't make any progress --- prevents an infinite
668 2002-02-18 Carlo Wood <carlo@gnu.org>
671 * cplus-dem.c (demangle_integral_value): Accept multi-digit
672 numbers that do not start with an underscore; This is needed
673 for integer template parameters. This doesn't break anything
674 because multi-digit numbers are never followed by a digit.
675 * testsuite/demangle-expected: Corrected all mangled test
676 cases with multi-digit template parameters: g++ 2.95.x does
677 not generate underscores around these parameters.
679 2002-02-05 Jason Merrill <jason@redhat.com>
681 * cplus-dem.c (flags): Add DMGL_VERBOSE
682 (cplus_demangle_v3_p): Remove.
683 (demangle_it): Add DMGL_TYPES to passed flags.
684 * cp-demangle.c (cplus_demangle_v3_all): Remove.
685 (cplus_demangle_v3_type): Remove.
686 (cplus_demangle_v3): Add options parm.
688 2002-02-02 H.J. Lu (hjl@gnu.org)
690 * cp-demangle.c (cp_demangle_type): Do not protect with
692 (cplus_demangle_v3_all): New.
693 (cplus_demangle_v3): Call cplus_demangle_v3_all.
694 (cplus_demangle_v3_type): Call cplus_demangle_v3_all.
696 * cplus-dem.c (cplus_demangle_v3_p): New function pointer.
697 Initialized to cplus_demangle_v3.
698 (cplus_demangle_with_style): Call cplus_demangle_v3_p instead
699 of cplus_demangle_v3.
700 (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
703 * testsuite/regress-demangle: Pass the mangled name at the
706 2002-02-01 H.J. Lu <hjl@gnu.org>
708 * cp-demangle.c (cp_demangle_type): Call demangling_new with
711 2002-01-31 Phil Edwards <pme@gcc.gnu.org>
713 * cp-demangle.c: Revert yesterday's change.
715 2002-01-31 Adam Megacz <adam@xwt.org>
717 * gcc/libiberty/configure.in: Treat mingw the same as cywin
718 wrt HAVE_SYS_ERRLIST.
720 2002-01-30 Phil Edwards <pme@gcc.gnu.org>
722 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
723 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on
725 * testsuite/demangle-expected: New gnu-v3 test.
727 2002-01-22 Momchil Velikov <velco@fadata.bg>
729 * configure.in (variable detection): Use arrays of unspecified
730 size instead of plain integers.
732 2002-01-18 DJ Delorie <dj@redhat.com>
734 * Makefile.in (TESTLIB): New. This library is for future
736 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
737 break down by letter.
738 (REQUIRED_OFILES): List long-to-compile files first.
739 (maint-deps): New, target for updating dependencies.
740 (dependencies): Update.
741 * maint-tool: Add dependency-generating option.
742 * configure.in: Check for _doprnt even if we're not providing it.
743 * configure: Regenerate.
745 * _doprnt.c: Modifications to allow compiling on any platform.
746 * copysign.c: Likewise.
747 * putenv.c: Likewise.
748 * setenv.c: Likewise.
749 * vsprintf.c: Likewise.
751 2002-01-15 Douglas B Rupp <rupp@gnat.com>
753 * mkstemps.c (mkstemps): On VMS, open temp file with option
754 that causes it to be deleted when closed.
756 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
758 * cp-demangle.c (long_options): Const-ify.
759 * cplus-dem.c (long_options): Likewise.
761 * cplus-dem.c (mystrstr): Delete. All callers changed to use
764 2001-12-31 Ira Ruben <ira@apple.com>
766 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
767 * configure: Regenerated.
769 2001-12-24 Douglas B. Rupp <rupp@gnat.com>
771 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
772 * configure: Regenerated.
774 2001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
777 * cplus-dem.c (consume_count): Treat negative count as an error.
778 * testsuite/demangle-expected: Added testcase.
780 Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
782 * configure.in: Hardcode that vfork works on VMS host.
783 * configure: Regenerated.
785 2001-12-06 Richard Henderson <rth@redhat.com>
787 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
788 (cplus_demangle): Support no_demangling.
790 2001-11-27 Zack Weinberg <zack@codesourcery.com>
792 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
793 in libiberty context. Fix typo in leading comment.
794 * configure.in: Fix various AC_DEFINEs so autoheader works.
795 If any of vprintf, vsprintf, vfprintf is missing from libc,
796 then AC_REPLACE_FUNCS(_doprnt).
798 2001-11-26 DJ Delorie <dj@redhat.com>
799 Daniel Jacobowitz <drow@mvista.com>
801 * Makefile.in (stamp-h): Depend on Makefile for proper
803 (*-subdir): Depend on config.h for proper serialization.
805 2001-11-26 DJ Delorie <dj@redhat.com>
807 * configure.in: Check for alloca.h (for regex.c and putenv.c).
808 * configure: Regenerate.
809 * config.h: Add HAVE_ALLOCA_H.
811 2001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
813 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
814 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
817 Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
819 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
820 * configure.in (HAVE_UINTPTR_T): Test for system defining
821 uintptr_t and define HAVE_UINTPTR_T appropriately.
822 * regex.c (uintptr_t): Do not provide a definition if the
825 * regex.c (PREFIX): Provide an alternate definition for
826 non-ANSI/ISO compilers.
827 (ARG_PREFIX): Likewise.
829 2001-11-12 Jim Meyering <meyering@lucent.com>
831 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
832 this code would end up calling gettext even in packages built
834 * getopt.c (_): Likewise.
835 * regex.c (_): Likewise.
837 2001-11-03 Alan Modra <amodra@bigpond.net.au>
839 * configure.in: Cope with missing makeinfo.
840 * configure: Regenerate.
842 2001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
844 * hex.c (hex_init): Provide empty stub.
846 * hex.c (hex_init): Delete.
847 (_hex_value): Const-ify and initialize at compile-time.
849 2001-10-19 H.J. Lu <hjl@gnu.org>
851 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
854 2001-10-17 DJ Delorie <dj@redhat.com>
856 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
857 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
858 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
859 Improve manual formatting.
860 * functions.texi: Regenerate.
862 2001-10-15 DJ Delorie <dj@redhat.com>
864 * Makefile.in (TEXIFILES): Add fnmatch.txh.
866 maint-tool: Add "undoc" tool.
867 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
868 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
869 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
870 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
873 * functions.texi: Regenerate.
875 2001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
877 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
878 * strtod.c: Use "ISO C" instead of "ANSI C".
879 * functions.texi: Regenerate.
881 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
883 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
884 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
885 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
886 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
887 spelling. Give names to function arguments in documentation. Use
888 (void) prototypes in documentation.
889 * functions.texi: Regenerate.
891 2001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
893 * argv.c (buildargv, tests, main): Const-ify.
894 * cp-demangle.c (operator_code): Likewise.
895 * cplus-dem.c (optable, libiberty_demanglers,
896 cplus_demangle_set_style, cplus_demangle_name_to_style,
897 print_demangler_list): Likewise.
898 * hashtab.c (higher_prime_number): Likewise.
899 * strcasecmp.c (charmap): Likewise.
900 * strerror.c (error_info, strerror, main): Likewise.
901 * strncasecmp.c (charmap): Likewise.
902 * strsignal.c (signal_info): Likewise.
904 2001-09-29 DJ Delorie <dj@redhat.com>
906 * configure: Regenerate.
908 2001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
910 * concat.c: Include stdlib.h.
912 2001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
914 * libiberty.texi: (Top level): Add syncodeindex pg. Add
915 @dircategory and @direntry directives. Add @finalout.
916 (many nodes): Lose the next,prev,up pointers on the @nide line.
917 (Using, Supplemental Functions, Replacement Functions): Fix
919 (Functions): Move around, to allow makeinfo to build the manual
920 without next,prev,up pointers in thye node lines.
921 (Licenses): Fix typos.
923 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
924 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
925 * functions.texi: Regenerate.
927 * copying-lib.texi: Lose the next,prev,up pointers on the @node
930 2001-09-27 DJ Delorie <dj@redhat.com>
932 * configure.in: Don't use in-tree texinfo, because libiberty must
933 be built before it. Check for makeinfo version 4 or higher.
934 * functions.texi: Regenerate.
936 2001-09-20 DJ Delorie <dj@redhat.com>
937 Phil Edwards <pedwards@disaster.jaj.com>
939 * configure.in (MAKEINFO, PERL): Detect these.
940 (--enable-maintainer-mode): Add.
941 * configure: Regenerate.
942 * Makefile.in (MAKEINFO, PERL): Define.
943 (libiberty.info, libiberty.dvi, libiberty.html): New.
944 (CFILES): Add bsearch.c.
945 (CONFIGURED_OFILES): New, list of objects configure might add.
946 (maint-missing, maint-buildall): New, for maintainers only.
947 (clean, mostlyclean): Add info/dvi/html files.
948 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
949 * gather-docs: New, for maintainers.
950 * maint-tool: New, for maintainers.
951 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
952 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
953 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
954 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
955 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
956 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
957 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
958 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
961 2001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
963 * concat.c (reconcat): Fix for traditional C.
965 2001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
967 * concat.c (reconcat): New function.
969 2001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
971 * concat.c (vconcat_length, vconcat_copy, concat_length,
972 concat_copy, concat_copy2): New functions.
973 (concat): Use vconcat_length/vconcat_copy.
975 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
978 2001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
980 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
981 VA_FIXEDARG & VA_CLOSE.
983 * vasprintf.c: Check HAVE_STRING_H when including string.h.
984 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
985 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
987 2001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
989 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
991 2001-08-23 Ulrich Drepper <drepper@redhat.com>
993 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
995 2001-08-23 Ulrich Drepper <drepper@redhat.com>
997 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
999 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
1000 wcslen, and __wcscoll instead of wcscoll.
1002 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1004 * fibheap.c (fibheap_init, fibnode_init): Remove.
1005 (fibheap_new, fibnode_new): Use xcalloc to allocate and
1007 (fibheap_insert): Remove check for node allocation failure.
1009 2001-08-21 Richard Henderson <rth@redhat.com>
1011 * Makefile.in (fibheap.o): Depend on config.h.
1012 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
1013 functions for inlining.
1015 Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
1017 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
1019 * configure: Regenerate.
1021 2001-08-20 Andrew Cagney <ac131313@redhat.com>
1023 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
1024 HARRIS_FLOAT_FORMAT.
1025 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
1026 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
1027 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
1028 (floatformat_m88110_harris_ext): New float formats.
1030 2001-08-20 Daniel Berlin <dan@cgsoftware.com>
1032 * fibheap.c: New file. Fibonacci heap.
1034 * Makefile.in (CFILES): Add fibheap.c.
1035 (REQUIRED_OFILES): Add fibheap.o.
1036 (fibheap.o): Add dependencies for fibheap.o.
1038 2001-08-17 Christopher Faylor <cgf@cygnus.com>
1040 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
1041 * configure: Regenerate.
1043 2001-08-16 Richard Henderson <rth@redhat.com>
1045 * hashtab.c (htab_hash_string): New.
1047 2001-08-13 Andrew Cagney <ac131313@redhat.com>
1049 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
1052 2001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
1054 * regex.c (wcs_regex_compile): Use appropriate string
1055 to compare with collating element.
1056 Fix the padding for the alignment.
1058 2001-08-10 Andrew Cagney <ac131313@redhat.com>
1060 * lbasename.c (lbasename): Change function definition to return a
1063 2001-08-07 Jason Merrill <jason_merrill@redhat.com>
1065 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
1068 2001-08-03 Richard Henderson <rth@redhat.com>
1070 * Makefile.in (concat.o): Depend on config.h.
1072 2001-07-30 Andreas Jaeger <aj@suse.de>
1074 * concat.c: Include "config.h".
1076 2001-07-30 Andreas Jaeger <aj@suse.de>
1078 * regex.c: Declare wcs functions only if compiling with
1080 Don't use #elif for traditional C.
1082 2001-07-23 Ulrich Drepper <drepper@redhat.com>
1084 * regex.c: Revamp memory allocation for WCHAR functions to
1085 not use too much stack.
1087 2001-07-30 Andreas Jaeger <aj@suse.de>
1089 * regex.c: Declare wcs functions only if compiling with
1091 Don't use #elif for traditional C.
1093 2001-07-25 Daniel Jacobowitz <drow@mvista.com>
1095 * Makefile.in (regex.o): Add dependency on config.h.
1097 2001-07-18 Andreas Schwab <schwab@suse.de>
1099 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
1100 underscore character.
1102 2001-07-18 Ulrich Drepper <drepper@redhat.com>
1104 * regex.c: Limit string length printed in debug messages to 100
1107 2001-07-18 Andreas Jaeger <aj@suse.de>
1109 * regex.c: Place under LGPL version 2.1.
1111 2001-07-10 Jeff Johnston <jjohnstn@redhat.com>
1113 * Makefile.in: Add support for regex code.
1114 * regex.c: New file.
1116 2001-07-05 Mark Klein <mklein@dis.com>
1118 * Makefile.in: Add ffs.c dependency.
1119 * configure.in: Add ffs.c.
1122 2001-06-18 Richard Henderson <rth@redhat.com>
1124 * concat.c: Include <sys/types.h>.
1126 2001-06-11 Loren J. Rittle <ljrittle@acm.org>
1129 * strerror.c (sys_nerr): Hide the OS header version.
1130 * strsignal.c (sys_nsig): Likewise.
1132 2001-06-10 Richard Henderson <rth@redhat.com>
1134 * concat.c: Include string.h. Fix int vs size_t usage.
1135 Simplify the iteration loops. Use memcpy.
1137 2001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1139 * partition.c: Fix misspelling of `implementation'.
1141 2001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1143 * md5.c (md5_init_ctx): Declare constants as unsigned.
1144 (md5_process_block): Likewise.
1146 2001-05-07 Zack Weinberg <zackw@stanford.edu>
1148 * cp-demangle.c (demangle_v3_with_details,
1149 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
1150 function definition.
1151 * ternary.c: Use K+R style function definitions. Use PTR, not
1152 void *. Make arguments constant where possible.
1154 2001-05-07 Mark Mitchell <mark@codesourcery.com>
1156 * splay-tree.h (splay_tree_max): New function.
1157 (splay_tree_min): Likewise.
1159 2001-04-15 Daniel Berlin <dan@cgsoftware.com>
1161 * ternary.c: New file - Ternary search tree implementation.
1163 * Makefile.in: Add ternary.o, and ternary.c dependencies.
1165 2001-04-03 Zack Weinberg <zackw@stanford.edu>
1167 * make-temp-file.c (try): Inline.
1169 2001-02-28 Richard Henderson <rth@redhat.com>
1171 * Makefile.in (make-temp-file.o): Depend on config.h.
1173 2001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1175 * memchr.c (memchr): Adjust condition to avoid infinite loop.
1177 2001-03-23 Jakub Jelinek <jakub@redhat.com>
1179 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
1180 `_' not followed by a digit is invalid.
1182 2001-03-22 Jim Blandy <jimb@redhat.com>
1184 * cp-demangle.c (string_list_delete): Use dyn_string_delete
1185 instead of free, to free the contents as well as the string
1188 2001-03-21 Zack Weinberg <zackw@stanford.edu>
1190 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
1191 Don't default P_tmpdir to anything. Try /var/tmp before
1194 2001-03-20 Zack Weinberg <zackw@stanford.edu>
1196 * choose-temp.c: Split off make_temp_file, and the code
1197 duplicated between it and choose_temp_base, into...
1198 * make-temp-file.c: ... here; new file.
1200 * Makefile.in (CFILES): Add make-temp-file.c.
1201 (REQUIRED_OFILES): Add make-temp-file.o.
1203 2001-03-20 Jim Blandy <jimb@redhat.com>
1205 * cp-demangle.c (struct demangling_def): New fields:
1206 is_constructor and is_destructor.
1207 (demangling_new): Initialize them.
1208 (demangle_ctor_dtor_name): Set them, if we detect a constructor
1210 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
1211 is_gnu_v3_mangled_dtor): New functions.
1213 2001-03-20 Jason Merrill <jason@redhat.com>
1215 * cplus-dem.c (main): Skip initial $.
1217 2001-03-15 Michael Meissner <meissner@redhat.com>
1219 * hashtab.c (higher_prime_number): Silence warning that 4294967291
1220 might be a signed integer under pre-ISO C systems.
1222 2001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
1223 John David Anglin <dave@hiauly1.hia.nrc.ca>
1225 * libiberty/lbasename.c: New file.
1226 * libiberty/Makefile.in: Update for lbasename.
1228 2001-03-06 Zack Weinberg <zackw@stanford.edu>
1230 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
1231 * configure.in: Replace all alloca logic with a simple use of
1232 the above new macro.
1233 * config.table: Kill *-*-beos* entry.
1234 * config/mh-beos: Delete.
1235 * configure, config.in: Regenerate.
1237 * Makefile.in (ALLOCA, HFILES): Kill.
1238 (REQUIRED_OFILES): Add alloca.o.
1239 (alloca.o): Depend on libiberty.h.
1240 (argv.o): Don't depend on alloca-conf.h.
1241 * alloca-conf.h: Delete.
1242 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
1243 blocks. Provide the C alloca unconditionally. Use PTR where
1244 appropriate. Make i00afunc static.
1245 * argv.c: Don't include alloca-conf.h.
1247 2001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1249 * cplus-dem.c (main): Cast enum style to int.
1251 2001-02-16 Loren J. Rittle <ljrittle@acm.org>
1253 * cplus-dem.c (main): Initialize style.
1255 2001-02-02 Phil Edwards <pme@sources.redhat.com>
1257 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
1259 2001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
1261 Add support for Java demangling under the v3 ABI:
1262 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
1263 (struct demangling_def): Add `style' field.
1264 (demangling_new): New parameter `style'. Set it in demangling_t.
1265 (demangle_prefix): Use NAMESPACE_SEPARATOR.
1266 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
1267 (cp_demangle): New parameter `style'. Pass it to demangling_new().
1268 (main): Call cp_demangle with extra parameter.
1269 (java_demangle_v3): New function.
1270 (java_builtin_type_names): New. Table of primitive type names used
1271 for Java demangling.
1272 (demangle_builtin_type): Look up in java_builtin_type_names if doing
1274 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
1276 (long_options): Remove obsolete `java' option.
1277 (main): Remove explicit handling of `java' option. Instead, pass style
1278 parameter in cplus_demangle flags as gdb does.
1279 * testsuite/demangle.expected: Add some Java test cases.
1281 2000-12-29 DJ Delorie <dj@redhat.com>
1283 * fnmatch.c: Make the note about the origins of this file more
1284 accurate, at least until we can sync with glibc.
1290 2000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1292 * bsearch.c: New file.
1293 * configure.in (funcs): Add bsearch.
1294 (AC_CHECK_FUNCS): Likewise.
1295 * configure, config.in: Regenerate.
1297 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1299 * safe-ctype.c: #include "ansidecl.h".
1300 * strtod.c: Likewise.
1302 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1304 * strtoul.c: Include safe-ctype.h, not ctype.h.
1306 2000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
1308 * safe-ctype.c: New file.
1309 * Makefile.in (CFILES): Add safe-ctype.c.
1310 (REQUIRED_OFILES): Add safe-ctype.o.
1312 * argv.c: Define ISBLANK and use it, not isspace.
1313 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
1314 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
1315 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
1316 before calling TOLOWER(c)/TOUPPER(c).
1318 2000-12-07 Mike Stump <mrs@wrs.com>
1320 * Makefile.in (distclean): When cleaning, remove testsuite.
1322 2000-12-05 Jason Merrill <jason@redhat.com>
1324 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
1325 name before allocating the dyn_string.
1327 2000-12-04 Jason Merrill <jason@redhat.com>
1329 * cp-demangle.c: s/new_abi/v3/.
1330 * cplus-dem.c: Likewise.
1331 (current_demangling_style): Now auto_demangling.
1332 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
1333 (main): Use standard symbol chars for auto_demangling.
1335 2000-11-26 Mark Mitchell <mark@codesourcery.com>
1337 * hashtab.c (higher_prime_number): Use a table, rather than a
1338 seive, to find the next prime.
1340 2000-11-22 H.J. Lu <hjl@gnu.org>
1342 * cplus-dem.c (main): Handle gnat_demangling.
1344 2000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
1346 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
1347 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
1348 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
1349 argument form of AC_DEFINE in dummy definitions block. Use
1350 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
1351 in dummy block. Preload cache variables instead of bypassing
1352 tests, where possible.
1353 * acconfig.h: Removed.
1355 * xmalloc.c (xmalloc_failed): New function, does error
1356 reporting on failed allocation.
1357 (xmalloc, xcalloc, xrealloc): Use it.
1359 2000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
1361 * cplus-dem.c (cplus_demangle): Fix formatting.
1363 (ada_demangle): Ditto.
1364 (internal_cplus_demangle): Ditto.
1367 2000-11-21 H.J. Lu <hjl@gnu.org>
1369 * cplus-dem.c (main): Handle java_demangling.
1371 2000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1373 * cplus-dem.c (grow_vect): Prototype.
1374 (ada_demangle): Cast the arg of ctype macros to unsigned char.
1376 2000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
1378 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
1381 2000-11-15 Kenneth Block <kenneth.block@compaq.com>
1383 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
1386 2000-11-15 Kenneth Block <kenneth.block@compaq.com>
1388 * cplus-dem.c: Add gnat demangler. Add java to demangle style
1391 2000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
1393 * hashtab.c (htab_expand): Change to return int. Use calloc or
1394 xcalloc depending on htab->return_allocation_failure. Return zero
1396 (htab_create): Update comment to cover memory allocation.
1397 (htab_try_create): New.
1398 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
1399 Update comment to cover this.
1401 2000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
1403 * hashtab.c: Change void * to PTR where necessary.
1404 (htab_create, htab_expand): Correct formatting of comment before
1407 2000-10-22 Alex Samuel <samuel@codesourcery.com>
1409 * cp-demangle.c (string_list_def): Add caret_position and comments.
1410 (result_caret_pos): New macro.
1411 (result_append_string): Rename to...
1412 (result_add_string): ... this, and insert at caret position.
1414 (result_append): Rename to...
1415 (result_add): ... this, and insert at caret position. Rename
1417 (result_append_char): Rename to...
1418 (result_add_char): ... this, and insert at caret position. Rename
1420 (result_append_space): Remove.
1421 (string_list_new): Initialize caret position.
1422 (result_add_separated_char): Use caret position.
1423 (result_get_caret): New funtion.
1424 (result_set_caret): Likewise.
1425 (result_shift_caret): Likewise.
1426 (result_previous_char_is_space): Likewise.
1427 (substitution_start): Use caret position.
1428 (substitution_add): Likewise.
1429 (demangling_new): Initialize caret position.
1430 (demangle_encoding): Use caret position.
1431 (demanglin_nested_name): Put CV qualifiers after name.
1432 (demangle_type_ptr): Use switch statement. Handle pointers to
1433 arrays. Don't use result_append_space. Use caret position.
1434 (demangle_type): Emit CV qualifiers after underlying type. Adjust
1435 call to demangle_array_type.
1436 (demangle_array_type): Add parameter to handle pointers to arrays.
1438 2000-10-01 Mark Mitchell <mark@codesourcery.com>
1440 * splay-tree.c (splay_tree_insert): Fix formatting.
1442 2000-09-16 Mark Mitchell <mark@codesourcery.com>
1444 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
1446 2000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1448 * splay-tree.c: #include <stdio.h>.
1450 2000-09-14 Hans-Peter Nilsson <hp@axis.com>
1452 * testsuite/demangle-expected: Add two tests for anonymous
1454 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
1456 2000-09-10 Mark Mitchell <mark@codesourcery.com>
1458 * splay-tree.c (splay_tree_predecessor): New function.
1459 (splay_tree_successor): Likewise.
1461 2000-09-10 Hans-Peter Nilsson <hp@axis.com>
1463 * testsuite/demangle-expected: Add four tests for type_info
1465 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
1466 for a non-template non-qualified type_info function or node.
1468 2000-09-08 Alex Samuel <samuel@codesourcery.com>
1470 * cp-demangle.c: Fix copyright banner.
1472 2000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1474 * md5.c: #include "ansidecl.h".
1476 2000-09-06 Alex Samuel <samuel@codesourcery.com>
1478 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
1479 (demangle_type): Handle substitution candidates correctly in the
1480 face of special substitutions.
1482 2000-09-05 Alex Samuel <samuel@codesourcery.com>
1484 * cp-demangle.c (demangle_encoding): Rename variable.
1485 (demangle_name): Rename parameter. Handle return type
1487 (demangle_nested_name): Rename parameter.
1488 (demangle_prefix): Likewise. Change return type suppression.
1489 (demangle_unqualified_name): Add parameter. Flag constructors and
1490 conversion operators.
1491 (demangle_special_name): Fix comment.
1492 (demangle_type): Rename variable.
1493 (demangle_bare_function_type): Check for missing return type and
1495 (demangle_class_enum_type): Rename parameter.
1496 (demangle_discriminator): Fix misspelling in comment.
1498 2000-08-31 DJ Delorie <dj@redhat.com>
1500 * configure.in (Cygwin): special case cygwin only when we're
1501 building cygwin, not when we're hosting cygwin.
1503 2000-09-04 Alex Samuel <samuel@codesourcery.com>
1505 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
1508 2000-09-04 Alex Samuel <samuel@codesourcery.com>
1510 * cp-demangle.c (demangle_type_ptr): Increment position past
1511 pointer and reference characters.
1513 2000-09-04 Alex Samuel <samuel@codesourcery.com>
1515 * cp-demangle.c (demangle_nv_offset): New function.
1516 (demangle_v_offset): Likewise.
1517 (demangle_call_offset): Likewise.
1518 (demangle_special_name): Update thunk demangling to comply with
1521 2000-09-03 Alex Samuel <samuel@codesourcery.com>
1523 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
1524 (substitution_def): Remove template_parm_number.
1525 (NOT_TEMPLATE_PARM): Remove.
1526 (result_insert_string): New macro.
1527 (result_insert): Likewise.
1528 (result_insert_char): Likewise.
1529 (substitution_add): Remove last parameter. Don't store template
1531 (BFT_NO_RETURN_TYPE): Define as NULL.
1532 (demangle_encoding): Adjust call to demangle_bare_function_type.
1533 (demangle_name): Adjust substitution. Adjust call to
1535 (demangle_prefix): Adjust call to substitution_add.
1536 (demangle_identifier): Handle anonymous namespaces.
1537 (demangle_operator_name): Change demangling of vendor-extended
1538 operator to match ABI changes.
1539 (demangle_type_ptr): Change parameters. Make recursive. Handle
1541 (demangle_type): Adjust calls to demangle_template_param,
1542 substitution_add, and demangle_type_ptr. Fix substitution of
1544 (demangle_function_type): Change parameter to a pointer.
1545 (demangle_bare_function_type): Likewise. Adjust insertion point.
1546 (demangle_template_param): Remove last parameter.
1547 (demangle_expr_primary): Remove unused variable. Adjust call to
1548 demangle_template_param.
1549 (is_mangled_char): Accept `$' and `.'.
1550 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
1551 * dyn-string.c (dyn_string_insert_char): New function.
1553 2000-08-31 Hans-Peter Nilsson <hp@axis.com>
1555 * testsuite/demangle-expected: Add nine tests for
1556 underscore-after-number followed by five tests for name-signature
1559 2000-08-28 Richard Henderson <rth@cygnus.com>
1561 * Makefile.in (md5.o): Depend on config.h.
1563 2000-08-28 Jason Merrill <jason@redhat.com>
1565 * Makefile.in (REQUIRED_OFILES): Add md5.o.
1566 (CFILES): Add md5.c.
1569 2000-08-27 Alex Samuel <samuel@codesourcery.com>
1571 * cp-demangle.c (demangle_name): Initialize template_p in local
1572 name case. Don't re-add substitutions as candidates.
1573 (demangle_nested_name): Use <unqualified-name>.
1574 (demangle_prefix): Likewise. Don't add template names as
1575 substitution candidates twice, or re-add a substitution or the
1576 last prefix component.
1577 (demangle_local_name): Adjust output format.
1579 2000-08-25 Alex Samuel <samuel@codesourcery.com>
1581 * cp-demangle.c (result_add_separated_char): Change parameter to
1583 (substitution_add): Don't check for duplicates. Check if
1584 previously allocated size is zero.
1585 (demangle_name): Remove duplicate check for std substitution.
1586 Clear template flag appropriately.
1587 (demangle_prefix): Remove argument to demangle_substitution.
1588 Don't check that template flag is already set.
1589 (demangle_operator_name): Add pt operator.
1590 (demangle_type): Don't treat r as built-in type. Remove argument
1591 to demangle_substitution. Fix substitution candidate mechanics.
1592 Handle <template-template-parm>s. Improve comments.
1593 (demangle_template_param): Don't handle template arg lists here.
1594 (demangle_substitution): Remove parameter.
1595 (print_usage): Remove extra fprintf option.
1597 2000-08-24 Greg McGary <greg@mcgary.org>
1599 * libiberty/random.c (end_ptr): Revert previous change.
1601 2000-08-24 Greg McGary <greg@mcgary.org>
1603 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
1604 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
1605 * libiberty/random.c (end_ptr): Likewise.
1607 2000-08-23 Alex Samuel <samuel@codesourcery.com>
1609 * cp-demangle.c (result_close_template_list): Remove function.
1610 (result_add_separated_char): New function.
1611 (result_open_template_list): New macro.
1612 (result_close_template_list): Likewise.
1613 (demangle_prefix): Don't set template_p if the
1614 prefix ends with a ctor name.
1615 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
1616 (demangle_type): Check for template args after substitution.
1617 (demangle_template_args): Use result_open_template_list.
1619 2000-08-02 Zack Weinberg <zack@wolery.cumb.org>
1621 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
1623 2000-07-26 Dave Pitts <dpitts@cozx.com>
1625 * config/mh-openedition.h: Added -DLE370 definition.
1627 2000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
1629 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
1630 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
1631 Cast program to 'char *' in errmsg_arg assignment.
1632 (PWAIT_ERROR): Define.
1633 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
1634 to DJGPP's WIF* macros.
1636 2000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
1637 Jeff Law <law@cygnus.com>
1639 * getcwd.c: Include string.h, stdlib.h for prototypes
1641 * Makefile.in (rename.o, waitpid.o): Depend on config.h
1642 * rename.c: Include config.h, unistd.h
1643 * waitpid.c: Include config.h, sys/wait.h
1645 2000-07-24 Hans-Peter Nilsson <hp@axis.com>
1647 * cplus-dem.c (work_stuff_copy_to_from): New.
1648 (delete_non_B_K_work_stuff): New.
1649 (delete_work_stuff): New.
1650 (mop_up): Break out work_stuff partly destruction to
1651 delete_non_B_K_work_stuff.
1652 (iterate_demangle_function): New.
1653 (demangle_prefix): Call iterate_demangle_function instead of
1654 demangle_function_name. Leave handling of name-signature
1655 __-delimiters to iterate_demangle_function.
1656 (demangle_integral_value): Strip an optional
1657 following underscore cautiously. Handle negative numbers.
1659 2000-07-24 Daniel Berlin <dberlin@redhat.com>
1661 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
1662 if (AUTO_DEMANGLING || GNU_DEMANGLING)
1664 2000-07-21 Alex Samuel <samuel@codesourcery.com>
1666 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
1667 allocating ctor mangling.
1668 (demangle_array_type): Handle empty and non-constant array length.
1670 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1671 Jeff Law <law@cygnus.com>
1673 * configure.in (AC_CHECK_HEADERS): Add time.h.
1674 (AC_HEADER_TIME): Add check.
1675 * configure, config.in: Regenerate.
1676 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
1678 * configure.in (AC_CHECK_HEADERS): Add limits.h.
1679 * configure, config.in: Regenerate.
1680 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
1681 * strtol.c, strtoul.c: #include "config.h". Portably #include
1682 <limits.h> and/or <sys/param.h>.
1683 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
1685 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
1686 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
1687 * configure, config.in: Regenerate.
1688 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
1690 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
1692 2000-07-21 Mike Stump <mrs@wrs.com>
1694 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
1695 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
1697 2000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1699 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
1701 * setenv.c (setenv): Initialize variable `ep'.
1703 * sigsetmask.c (abort): Prototype.
1705 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
1706 __STDC__ for stdarg.h include.
1707 (int_vasprintf): Prototype.
1708 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
1709 definition. Cast `global_total_width' in comparison.
1710 (main): Prototype. Return a value.
1712 * vfork.c (fork): Prototype.
1714 * xexit.c: Include config.h.
1716 2000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
1718 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
1719 and print it with %u.
1721 2000-07-17 Hans-Peter Nilsson <hp@axis.com>
1723 * testsuite/regress-demangle (failed test): Show result and
1726 2000-07-07 Andrew Haley <aph@cygnus.com>
1728 * cplus-dem.c (main): fflush() after emitting last char before
1731 2000-06-28 Alex Samuel <samuel@codesourcery.com>
1733 * cp-demangle.c (demangle_encoding): Accept no substitutions.
1734 (demangle_name): Handle <substitution> followed by
1735 <unqualified-template-name>.
1736 (demangle_type): Follow special substitutions with
1738 (demangle_subtitution): Set template_p for special substitutions.
1741 2000-06-27 Alex Samuel <samuel@codesourcery.com>
1743 * cp-demangle.c (demangle_special_name): Swap base and derived
1744 class when demangling construction vtables.
1746 2000-06-21 Alex Samuel <samuel@codesourcery.com>
1748 * cp-demangle.c: Don't include ctype.h.
1749 (IS_DIGIT): New macro.
1750 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
1751 instead of isdigit and isalpanum.
1752 (demangling_def): Make name and next const pointers.
1753 (STATUS_ALLOCATION_FAILED): New status code.
1754 (dyn_string_append_space): Handle failure in
1755 dyn_string_append_char.
1756 (int_to_dyn_string): Likewise. Change return value to status_t.
1757 (string_list_new): Handle failure of dyn_string_init.
1758 (result_close_template_list): Change return type to status_t.
1759 Handle failure in dyn_string_append.
1760 (result_push): Change return value to status_t. Handle failure in
1761 string_list_new. Handle failure of result_push throughout.
1762 (substitution_add): Change return value to status_t. Handle
1763 dyn_string failures. Handle failure of substitution_add
1765 (template_arg_list_new): Return NULL on allocation failure.
1766 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
1767 Handle error result throughout.
1768 (result_append): Likewise.
1769 (result_append_char): Likewise.
1770 (result_append_space): Likewise.
1771 (demangling_new): Make argument a const pointer. Handle
1772 allocation failures.
1773 (demangle_template_args): Handle failure in template_arg_list_new
1774 and result_close_template_list.
1775 (demangle_discriminator): Return if int_to_dyn_string fails.
1776 (cp_demangle): Likewise.
1777 (cp_demangle_type): New function.
1778 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
1779 memory allocation failure.
1781 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
1783 (dyn_string_init): Change return value to int. Handle
1784 RETURN_ON_ALLOCATION_FAILURE case.
1785 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
1786 (dyn_string_release): Delete the dyn_string.
1787 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
1788 (dyn_string_copy): Change return type to int.
1789 (dyn_string_copy_cstr): Likewise.
1790 (dyn_string_prepend): Likewise.
1791 (dyn_string_prepend_cstr): Likewise.
1792 (dyn_string_insert): Likewise.
1793 (dyn_string_insert_cstr): Likewise.
1794 (dyn_string_append): Likewise.
1795 (dyn_string_append_cstr): Likewise.
1796 (dyn_string_append_char): Likewise.
1797 (dyn_string_substring): Likewise.
1799 2000-06-09 Zack Weinberg <zack@wolery.cumb.org>
1801 * cp-demangle.c (demangle_operator_name): Add spaces before
1802 names beginning with a letter: delete, delete[], new, new[],
1804 (demangle_special_name): Handle TF <type> and TJ <type>.
1806 Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
1808 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
1810 Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
1812 * cp-demangle.c (stdio.h): File included unconditionaly.
1813 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
1814 * dyn-string.c (stdio.h): File included.
1815 * partition.c (partition_print): No `&' needed to take the address of
1818 2000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1820 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
1822 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
1824 * cp-demangle.c (demangle_char): Change parameter from char to int.
1825 (demangle_expression, demangle_expr_primary): Remove extra
1826 semi-colon in prototype.
1828 * dyn-string.c (dyn_string_append_char): Change parameter from
1831 * memcmp.c (memcmp): Constify.
1833 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
1836 * partition.c (elem_compare): Prototype. Don't cast away
1839 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
1841 2000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1843 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
1845 * cp-demangle.c: Include demangle.h.
1846 (template_arg_list_new): DeANSIfy.
1847 (cp_demangle): Make static and add prototype.
1848 (operator_code, operators): Constify.
1849 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
1851 2000-06-05 Alex Samuel <samuel@codesourcery.com>
1853 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
1855 (demangle_unqualified_name): Likewise.
1856 (demangle_number_literally): Likewise.
1857 (demangle_type): Likewise.
1858 (demangle_substitution): Likewise.
1859 (is_mangled_char): Likewise, for isalnum.
1861 2000-06-04 Alex Samuel <samuel@codesourcery.com>
1863 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
1864 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
1865 (cp-demangle.o): New dependency.
1866 (dyn-string.o): Likewise.
1868 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
1870 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
1872 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
1874 (gnu_new_abi_symbol_characters): New function.
1875 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
1877 * cp-demangle.c: New file.
1879 Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
1881 * floatformat.c: Add name to each floatformat field.
1883 Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
1885 * Makefile.in (objalloc.o): Depend on config.h
1887 2000-05-29 Zack Weinberg <zack@wolery.cumb.org>
1889 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
1891 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
1892 * objalloc.c: Include config.h. Include stdlib.h and don't
1893 declare malloc or free if HAVE_STDLIB_H.
1894 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
1895 else declare malloc without prototype. Include string.h if
1896 HAVE_STRING_H, else declare memset without prototype. Don't
1899 2000-05-23 Mike Stump <mrs@wrs.com>
1901 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
1904 2000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
1906 * xmalloc.c: Include config.h for HAVE_SBRK definition.
1908 2000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
1910 * hashtab.c (hash_pointer): Delete low-order bits which are
1911 probably zero, also eliminate a warning on alpha.
1913 2000-05-15 David Edelsohn <edelsohn@gnu.org>
1915 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
1916 on $(enable_shared).
1918 2000-05-10 Jakub Jelinek <jakub@redhat.com>
1920 * config.table: Use mh-sparcpic for sparc*-*-*.
1922 2000-05-08 Nick Clifton <nickc@cygnus.com>
1924 * Makefile.in (CFILES): Add strncmp.c.
1925 (NEEDED): Add strncmp.
1927 2000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1929 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
1930 Cast the arguments to `islower' to `unsigned char'.
1931 (print_demangler_list): Prototype.
1933 Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
1935 * sort.c (UCHAR_MAX): Provide fallback definition.
1937 2000-04-29 Alexandre Oliva <aoliva@cygnus.com>
1939 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
1942 2000-04-28 Kenneth Block <block@zk3.dec.com>
1943 Jason Merrill <jason@casey.cygnus.com>
1945 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
1946 (cplus_demangle_set_style): New function for setting style.
1947 (cplus_demangle_name_to_style): New function to translate name.
1949 2000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1951 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
1953 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
1954 (libiberty_AC_FUNC_STRNCMP): Invoke.
1956 * strncmp.c: New file.
1958 Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
1960 * hashtab.c (htab_expand): Add prototype.
1961 (find_empty_slot_for_expand): Likewise.
1963 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1965 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
1967 (htab_expand): Cast the return value of xcalloc.
1969 2000-04-24 Mark Mitchell <mark@codesourcery.com>
1971 * hashtab.c (hash_pointer): New function.
1972 (eq_pointer): Likewise.
1973 (htab_hash_pointer): New variable.
1974 (htab_eq_pointer): Likewise.
1976 2000-04-23 Mark Mitchell <mark@codesourcery.com>
1978 * sort.c (sort_pointers): Fix endianness bugs.
1981 * Makefile.in (CFILES): Add sort.c
1982 (REQUIRED_OFILES): Add sort.o.
1983 (sort.o): New target.
1985 2000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1987 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
1990 Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1992 * hashtab.c: Various minor cleanups.
1993 (htab_find_slot_with_hash): INSERT is now enum insert_option.
1994 (htab_find_slot): Likewise.
1996 2000-04-16 Dave Pitts <dpitts@cozx.com>
1998 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
2000 2000-04-05 Richard Henderson <rth@cygnus.com>
2002 * splay-tree.c (splay_tree_remove): New.
2004 2000-03-30 Mark Mitchell <mark@codesourcery.com>
2006 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
2008 (htab_find_with_hash): Likewise.
2009 (htab_find_slot_with_hash): Likewise.
2011 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
2013 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
2014 unless it will be used. Rearrange loop for better
2016 (higher_prime_number): Add static prototype.
2018 Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
2020 * Makefile.in (partition.o): Depend on config.h
2022 2000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
2024 * hashtab.c (find_empty_slot_for_expand): New function.
2025 (htab_expand): Use it instead of htab_find_slot.
2026 (htab_find_with_hash): Renamed from htab_find; now accepts extra
2028 (htab_find_slot_with_hash): Likewise for htab_find_slot.
2029 (htab_find): New wrapper function.
2030 (htab_find_slot): Likewise.
2031 (htab_traverse): Pass slot, not entry, to called function.
2033 2000-03-09 Alex Samuel <samuel@codesourcery.com>
2035 * Makefile.in (CFILES): Add partition.c.
2036 (REQUIRED_OFILES): Add partition.o.
2037 (partition.o): New rule.
2038 * partition.c: New file.
2040 2000-03-09 Zack Weinberg <zack@wolery.cumb.org>
2042 * hashtab.c (htab_create): Set del_f.
2043 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
2046 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
2048 * hashtab.c: Remove debugging variables (all_searches,
2049 all_collisions, all_expansions). Delete
2050 all_hash_table_collisions.
2051 (create_hash_table, delete_hash_table, empty_hash_table,
2052 find_hash_table_entry, remove_element_from_hash_table_entry,
2053 clear_hash_table_slot, traverse_hash_table, hash_table_size,
2054 hash_table_elements_number, hash_table_collisions): Rename to:
2055 htab_create, htab_delete, htab_empty, htab_find_slot,
2056 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
2057 htab_elements, htab_collisions.
2058 (htab_find): New function, handles common case where you don't
2059 plan to add or delete an entry.
2060 (htab_expand): Don't create a whole new table, just a new
2062 (htab_find_slot): Simplify logic.
2064 1999-08-03 Ian Lance Taylor <ian@zembu.com>
2066 * floatformat.c: Add casts to avoid signed/unsigned warnings.
2067 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
2069 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
2070 $(TARGETLIB)n so it works on MSDOS.
2071 (install_to_tooldir): Likewise.
2073 1999-07-21 Ian Lance Taylor <ian@zembu.com>
2076 * makefile.dos: Remove; obsolete.
2077 * configure.bat: Remove; obsolete.
2079 1999-07-11 Ian Lance Taylor <ian@zembu.com>
2081 * splay-tree.c (splay_tree_insert): Add initialization to avoid
2084 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2086 * pexecute.c: Conditionally include string.h.
2087 (fix_argv): Handle embedded whitespace in args for Mingw32.
2089 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2091 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
2094 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
2096 1999-12-27 Geoff Keating <geoffk@cygnus.com>
2098 * vasprintf.c (int_vasprintf): Don't re-read the format character
2099 as this mishandles strings like '%%s'.
2101 1999-12-05 Mark Mitchell <mark@codesourcery.com>
2103 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
2104 rather than struct splay_tree_node.
2105 (splay_tree_insert): Use struct splay_tree_s rather than struct
2108 Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
2110 * hashtab.c (sys/types.h): File included.
2112 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
2114 * strtoul.c, strtol.c, random.c: Remove advertising clause from
2115 BSD license, pursuant with
2117 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
2119 Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
2121 * hashtab.c: Include stdio.h.
2123 Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
2125 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
2127 Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
2129 * xstrdup (sys/types.h): Include this file.
2131 1999-10-28 Nathan Sidwell <nathan@acm.org>
2133 * Makefile.in (SUBDIRS): New macro.
2134 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
2135 avoid multiple subdirectory cleaning.
2136 (*-subdir): Use SUBDIRS.
2138 1999-10-25 Jim Kingdon <http://developer.redhat.com/>
2140 * cplus-dem.c: Move declarations of standard_symbol_characters and
2141 hp_symbol_characters inside #ifdef MAIN to avoid compiler
2144 1999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
2146 * hashtab.c (find_hash_table_entry): When returning a
2147 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
2148 (clear_hash_table_slot): New function which deletes an entry
2149 by its position in the table, not its value.
2150 (traverse_hash_table): New function which calls a hook
2151 function for every live entry in the table.
2153 1999-10-19 Mark Mitchell <mark@codesourcery.com>
2155 * cplus-dem.c (INTBUF_SIZE): New macro.
2156 (string_append_template_idx): New function.
2157 (demangle_expression): Likewise.
2158 (demangle_integral_value): Use it.
2159 (demangle_real_value): New function, split out from ...
2160 (demangle_template_value_parm): ... here. Use
2161 string_append_template_idx. Use demangle_real_value.
2162 (demangle_template): Use string_append_template_idx.
2163 (demangle_qualified): Use consume_count_with_underscores.
2164 (get_count): Tweak formatting.
2165 (do_type): Use string_append_template_idx.
2167 1999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2169 * calloc.c: Add a public domain notice.
2171 Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
2173 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
2175 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
2177 * Makefile.in (CFILES): Add hashtab.c
2178 (REQUIRED_OFILES): Add hashtab.o
2179 (hashtab.o): Add dependencies.
2180 * hashtab.c: New file
2182 Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
2184 * basename.c (DIR_SEPARATOR): New macro.
2185 (DIR_SEPARATOR_2): Likewise.
2186 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
2187 (IS_DIR_SEPARATOR): Likewise.
2188 (main): Handle MSDOS style pathname.
2190 1999-10-11 Mark Mitchell <mark@codesourcery.com>
2192 * cplus-dem.c (do_type): Handle pointer to member types whose
2193 enclosing classes have namespace scope.
2195 Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
2197 * config.table: Provide a backup shell for executing move-if-change.
2199 1999-10-02 Mark Mitchell <mark@codesourcery.com>
2201 * xmalloc.c (xmalloc): Fix spelling error.
2202 (xcalloc, xrealloc): Likewise.
2204 1999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2206 * cplus-dem.c (fancy_abort, demangle_integral_value,
2207 demangle_arm_hp_template, recursively_demangle,
2208 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
2209 (program_name, program_version, fatal): Constify a char*.
2210 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
2211 (main): Call return, not exit.
2213 1999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2215 * choose-temp.c: Remove obsolete comment about gcc.
2216 (make_temp_file): Constify a char*.
2218 Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2220 * xmemdup.c: Include sys/types.h.
2222 1999-09-07 Jeff Garzik <jgarzik@pobox.com>
2224 * xmemdup.c: New xmemdup function.
2225 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
2227 Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
2229 * config.table: Add openedition target.
2230 * config/mh-openedition: New file.
2232 Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
2234 * pexecute.c (pexecute): Fill in temp_base when needed.
2236 1999-08-31 Richard Henderson <rth@cygnus.com>
2238 * getpwd.c: Check HAVE_GETCWD before defining it away.
2240 1999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2242 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
2243 (REQUIRED_OFILES): Add getpwd.o.
2244 (getpwd.o): Add target.
2246 * configure.in (AC_PREREQ): Bump to 2.13.
2247 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
2249 * getpwd.c: New file, moved here from gcc.
2251 1999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2253 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
2254 comparing against a signed quantity.
2255 (arm_special): Likewise.
2256 (demangle_fund_type): Likewise.
2257 (do_hpacc_template_const_value): Mark parameter `work' with
2259 (main): Constify variable `valid_symbols'.
2261 Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
2263 * strtoul.c (strtoul): Add parentheses around && within ||.
2265 Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
2267 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
2268 libdir, libsubdir and tooldir.
2270 1999-08-01 Mark Mitchell <mark@codesourcery.com>
2272 * splay-tree.c (splay_tree_insert): Return the new node.
2274 1999-07-14 Richard Henderson <rth@cygnus.com>
2276 * argv.c: Include stdlib.h and string.h instead of
2277 prototyping directly.
2278 * choose-temp.c: Conditionally include string.h.
2280 1999-07-12 Jason Merrill <jason@yorick.cygnus.com>
2282 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
2284 1999-07-11 Ian Lance Taylor <ian@zembu.com>
2286 * splay-tree.c (splay_tree_insert): Add initialization to avoid
2289 1999-07-07 Jason Merrill <jason@yorick.cygnus.com>
2291 * Makefile.in (needed-list): Only include stuff we actually need
2294 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2296 * configure.in (checkfuncs): Add gettimeofday.
2297 * config.in, configure: Regenerated.
2299 Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
2301 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
2303 * configure: Regenerate.
2305 1999-06-10 Mike Stump <mrs@wrs.com>
2307 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
2310 1999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2312 * putenv.c: Include ansidecl.h to define `const'.
2313 * setenv.c: Likewise.
2315 Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
2317 * Makefile.in (CFILES): Add putenv.c and setenv.c.
2318 * configure.in (funcs): Add putenv and setenv.
2319 (AC_CHECK_FUNCS): Check for putenv and setenv.
2320 * configure: Rebuilt.
2321 * putenv.c setenv.c: New files.
2323 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
2324 bytes of space using malloc.
2326 Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
2328 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
2329 the *mangled pointer beyond the end of the string. Clean up code to
2330 match prevailing coding style.
2332 1999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2334 * tmpnam.c (L_tmpnam): Fix typo.
2336 Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
2338 * cplus-dem.c (standard_symbol_characters): Renamed from
2339 standard_symbol_alphabet. No longer modify TABLE.
2340 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
2342 (main): Corresponding changes. Use strchr to determine if a
2345 1999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
2347 * cplus-dem.c (main): Use table lookup to distinguish identifier
2348 characters from non-identifier characters.
2349 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
2351 Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
2353 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
2354 * getruntime.c: Only attempt to include sys/resource.h and
2355 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
2358 Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
2360 * configure.in (alloca detection): Handle alloca directly for interix.
2361 * configure: Rebuilt.
2363 Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
2365 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
2367 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
2369 Fix from Dale Hawkins:
2370 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
2371 reallocated properly if we use it again.
2373 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
2374 stricter about syntax. Always null-terminate string.
2376 Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
2378 * configure.in (checkfuncs): Check for sbrk.
2379 * config.in: Rebuilt.
2380 * configure: Likewise.
2381 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
2383 1999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
2385 Fix from Marcus Daniels:
2386 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
2387 identifier looking for another underscore.
2389 Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
2391 * pexecute.c: Change all references to __UWIN__ to _UWIN.
2392 * xmalloc.c: Likewise.
2393 (xcalloc): UWIN has sbrk.
2394 (xrealloc): Fix guard macro.
2396 1999-04-11 Richard Henderson <rth@cygnus.com>
2398 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
2400 * clock.c (GNU_HZ): New definition.
2402 * getruntime.c: Likewise.
2404 * config.table: Use mh-beos.
2405 * config/mh-beos: New file.
2407 1999-04-11 Mark Mitchell <mark@codesourcery.com>
2409 * cplus-dem.c (demangle_template_value_parm): Handle
2410 pointers-to-members.
2411 (do_type): Handle template parameters as qualifiers.
2413 1999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
2415 * cplus-dem.c: Attempt to handle overflows in counts with some
2417 (consume_count): Detect overflows. Return -1 to indicate errors,
2419 (demangle_template_value_parm, demangle_template): Handle change
2420 to consume_count's return convention.
2422 1999-04-05 Tom Tromey <tromey@cygnus.com>
2424 * testsuite/regress-demangle: New file.
2425 * testsuite/demangle-expected: New file.
2427 * Makefile.in (all, check, installcheck, info, install-info,
2428 clean-info, dvi, install, etags, tags, mostlyclean, clean,
2429 distclean, maintainer-clean, realclean): Depend on corresponding
2431 (all-subdir check-subdir installcheck-subdir info-subdir
2432 install-info-subdir clean-info-subdir dvi-subdir
2433 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
2434 distclean-subdir maintainer-clean-subdir): New target.
2435 * testsuite/Makefile.in: New file.
2436 * configure: Rebuilt.
2437 * configure.in: Create testsuite/Makefile.
2439 1999-04-02 Mark Mitchell <mark@codesourcery.com>
2441 * splay-tree.h (splay_tree_compare_pointers): Define.
2443 1999-03-30 Mark Mitchell <mark@codesourcery.com>
2445 * splay-tree.c (splay_tree_compare_ints): Define.
2447 1999-03-30 Tom Tromey <tromey@cygnus.com>
2449 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
2450 don't advance input pointer.
2451 (demangle_class_name): If consume_count didn't find a count, do
2452 nothing. Don't bother with `strlen' sanity check; consume_count
2455 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
2457 From Art Haas <ahaas@neosoft.com>:
2458 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
2459 when doing arm or hp style.
2460 (demangle_nested_args): Decr forgetting_types field when done.
2462 Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
2464 * pexecute.c (__CYGWIN32__): Rename to
2466 * xmalloc.c: Likewise.
2468 Changes to support i386-pc-uwin.
2469 * configure.in (*-*-uwin*): Workaround for vfork bug.
2470 * configure: Regenerate.
2471 * pexecute.c (pexecute): Be like standard Unix.
2473 * xmalloc.c (first_break): Define.
2474 (xmalloc_set_program_name): Use.
2477 Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2479 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
2481 Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
2483 * config.table: Check cygwin*, not cygwin32*.
2485 Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
2487 * Makefile.in: Change mkstemp -> mkstemps.
2489 Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
2491 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
2492 * configure.in (funcs): Check for and conditionally add mkstemps to
2493 the list of functions libiberty will provide.
2494 * configure: Rebuilt.
2496 Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
2498 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
2499 platforms that don't have HZ.
2500 * getruntime.c (HZ): Likewise.
2502 Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
2504 * Makefile.in (xstrdup.o): Depend on config.h.
2506 Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
2508 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
2511 Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2513 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
2515 Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2517 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
2520 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
2522 * configure.in: Require autoconf 2.12.1 or higher.
2524 1998-12-30 Michael Meissner <meissner@cygnus.com>
2526 * random.c (NULL): Don't redefine NULL if it is already defined.
2528 Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2530 * argv.c (buildargv): Cast the result of alloca in assignment.
2532 * choose-temp.c: Include stdlib.h.
2534 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
2535 (snarf_numeric_literal): Constify first parameter.
2536 (code_for_qualifier): Avoid a gcc extension, make the parameter an
2538 (demangle_qualifier): Likewise.
2539 (demangle_signature): Cast the argument of a ctype function to
2541 (arm_pt): Add parens around assignment used as truth value.
2542 (demangle_arm_hp_template): Constify variable `args'.
2543 (do_hpacc_template_const_value): Cast the argument of a ctype
2544 function to unsigned char.
2545 (do_hpacc_template_literal): Remove unused variable `i'.
2546 (snarf_numeric_literal): Constify parameter `args'.
2547 Cast the argument of a ctype function to unsigned char.
2549 * floatformat.c (floatformat_to_double): Add explicit braces to
2550 avoid ambiguous `else'.
2552 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
2553 `cstart' and `cend' to unsigned char. Cast the argument of macro
2554 `FOLD', which uses ctype functions, to unsigned char.
2556 * objalloc.c (free): Add prototype.
2558 Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
2560 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
2562 Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
2564 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
2566 (do_hpacc_template_literal): remove unused variable `i'.
2568 Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2570 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
2571 bumping the pointer we read from. Also prepend these codes,
2572 as we do in other places.
2574 1998-12-18 Nick Clifton <nickc@cygnus.com>
2576 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
2577 'const char *' in order to match its usage when calling siblings.
2578 (snarf_numeric_literal): Make first arg 'const char **' in order
2581 Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2583 * choose-temp.c: Don't check IN_GCC anymore.
2585 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
2586 * memchr.c (memchr): Likewise.
2587 * memcpy.c (memcpy): Likewise.
2588 * memmove.c (memmove): Likewise.
2590 * mkstemp.c: Don't check IN_GCC anymore.
2591 * pexecute.c: Likewise.
2592 * splay-tree.c: Likewise.
2594 * strchr.c (strchr): Use `const', not `CONST'.
2595 * strrchr.c (strrchr): Likewise.
2596 * strtol.c (strtol): Likewise.
2597 * strtoul.c (strtoul): Likewise.
2599 Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
2600 Elena Zannoni <ezannoni@cygnus.com>
2601 Stan Shebs <shebs@cygnus.com>
2602 Edith Epstein <eepstein@cygnus.com>
2603 Andres MacLeod <amacleod@cygnus.com>
2604 Satish Pai <pai@apollo.hp.com>
2606 * HP aCC demangling support.
2608 (main): Remove default to HP style demangling, set to EDG
2609 demangling correctly when -edg specified; set the demangling style
2610 when user specifies 'edg'. Set strip_underscore to
2611 prepends_underscore, if not HPUXHPPA. Set
2612 current_demangling_style to hp_demangling if HPUXHPPA. Set
2613 current demangling style correctly if the switch is hp. Read
2614 label correctly also in the HP style case.
2615 (work_stuff): add temp_start field; add field for volatile member
2617 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
2618 style for this case is the same as ARM.
2619 (demangle_args): handle EDG_DEMANGLING style; support HP style.
2620 (demangle_arm_hp_template): new function. (It was
2621 demangle_arm_pt.); check and set value of temp_start field in
2622 multiple places. Also, when ceching for end of template args,
2623 check to see if at end of static member of template class.
2624 (demangle_class): new local variable : save_class_name_end Don't
2625 include template args in string defining class.
2626 (demangle_class_name): use demangel_arm_hp_template.
2627 (demangle_function_name): handle case where demangling style is
2628 HP_DEMANGLING and currently point at an 'X' in the mangled name.
2629 Handle EDG_DEMANGLING style. Handle constructor and destructor
2631 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
2632 styles. global destructor and constructor for HP style are same
2633 as for ARM style. Same for local variables.
2634 (demangle_qualified): handle EDG_DEMANGLING style.
2635 (demangle_signature): add case for volatile member function. For
2636 cases '1' - '9' : initialize the temp_start field to -1 and handle
2637 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
2638 and AUTO_DEMANGLING styles. If expecting a function and managed
2639 to demangle the funct args, then handle the LUCID_DEMANGLING,
2640 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
2641 class name after "Lnnn_ in HP style case. HP style too needs to
2642 forget types. _nnn is OK for HP style, so don't report failure.
2643 (do_hpacc_template_const_value): new function. Handle template's
2644 value param for HP/aCC.
2645 (do_hpacc_template_literal): new function. Handle a template's
2646 literal parameter for HP aCC.
2647 (recursively_demangle): new function
2648 (snarf_numeric_literal): new function.
2649 (usage): add 'edg' to the list of demangling styles; add hp switch
2652 Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
2654 * pexecute.c: Remove obsolete ifdefed cygwin code.
2656 Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2658 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
2659 * cplus-dem.c: Likewise. Conform to libiberty.h.
2660 * pexecute.c: Likewise.
2661 * splay-tree.c: Likewise.
2663 1998-11-25 Mike Stump <mrs@wrs.com>
2665 * Makefile.in (splay-tree.o): Add config.h dependency.
2667 Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2669 * configure.in: Use AC_PREREQ(2.12.1).
2671 1998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
2673 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
2675 Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
2677 * mpw.c (mpw_access): Add missing parens.
2679 Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2681 * configure.in: Call AC_HEADER_SYS_WAIT.
2683 * pexecute.c: Include sys/wait.h when !IN_GCC.
2685 Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
2687 * pexecute.c: revert back to checking old Cygwin
2688 preprocessor symbol until some time has passed.
2690 Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
2692 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
2693 since it will now support similar constructs.
2695 Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2697 * configure.in: Check for calloc.
2699 * calloc.c: New file.
2701 * xmalloc.c (xcalloc): New function.
2703 Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2705 *cplus-dem.c (demangle_prefix): Use the last "__"
2706 in the mangled name when looking for the signature. This allows
2707 template names to begin with "__".
2709 1998-11-08 Mark Mitchell <mark@markmitchell.com>
2711 * cplus-dem.c (type_kind_t): Add tk_reference.
2712 (demangle_template_value_parm): Handle it.
2713 (do_type): Use it for references, instead of tk_pointer.
2715 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
2716 not internal_cplus_demangle.
2718 Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2720 * choose-temp.c: Don't include gansidecl.h.
2721 * mkstemp.c: Likewise.
2722 * pexecute.c: Likewise.
2724 Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
2726 * configure.in: detect cygwin* instead of cygwin32*
2727 * configure: regenerate
2729 Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2731 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
2732 whether to include config.h. Possibly include unistd.h in the
2733 !IN_GCC case. Define VFORK_STRING as a printable function call
2734 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
2735 defined, include vfork.h. If VMS is defined, define vfork()
2736 appropriately. Remove vfork check on USG, we're using autoconf.
2737 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
2738 locally what string to use.
2740 1998-10-26 Mark Mitchell <mark@markmitchell.com>
2742 * splay-tree.c: Tweak include directives to make sure declarations of
2743 xmalloc and free are available.
2745 1998-10-25 Mark Mitchell <mark@markmitchell.com>
2747 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
2748 anonymous namespaces.
2750 1998-10-23 Mark Mitchell <mark@markmitchell.com>
2752 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
2754 (TYPE_UNQUALIFIED): New macro.
2755 (TYPE_QUAL_CONST): Likewise.
2756 (TYPE_QUAL_VOLATILE): Likewise.
2757 (TYPE_QUAL_RESTRICT): Likewise.
2758 (code_for_qualifier): New function.
2759 (qualifier_string): Likewise.
2760 (demangle_qualifier): Likewise.
2761 (internal_cplus_demangle): Use them.
2762 (demangle_signature): Likewise.
2763 (demangle_template_value_parm): Likewise.
2764 (do_type): Likewise.
2765 (demangle_fund_type)): Likewise.
2767 Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2769 * splay-tree.c (splay_tree_foreach_helper): Make definition static
2772 1998-10-21 Mark Mitchell <mark@markmitchell.com>
2774 * splay-tree.c: New file.
2775 * Makefile.in (CFILES): Add it.
2776 (REQUIRED_OFILES): Likewise.
2777 (splay-tree.o): Add dependencies.
2779 Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2781 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
2784 Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2786 * choose-temp.c: Prototype mkstemps() when IN_GCC.
2788 * cplus-dem.c (consume_count): Cast argument of ctype macro to
2790 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
2791 comparing against one.
2792 (cplus_mangle_opname): Likewise.
2793 (demangle_integral_value): Cast argument of ctype macro to
2795 (demangle_template_value_parm): Likewise.
2796 (demangle_template): Initialize variable `bindex'. Cast the
2797 result of `strlen' to (int) when comparing against one. Remove
2798 unused variable `start_of_value_parm'.
2799 (demangle_class_name): Cast the result of `strlen' to (int) when
2800 comparing against one.
2801 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
2802 (gnu_special): Likewise. Cast the result of `strlen' to (int)
2803 when comparing against one.
2804 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
2805 (get_count): Likewise.
2806 (do_type): Likewise. Cast the result of `strlen' to (int) when
2807 comparing against one.
2808 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
2809 (demangle_function_name): Cast the result of `strlen' to (int)
2810 when comparing against one.
2812 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
2813 comparing against one.
2815 Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
2817 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
2818 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
2819 * config.in, configure: Rebuilt.
2821 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
2822 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
2823 * config.in, configure: Rebuilt.
2825 Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
2827 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
2829 Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
2831 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
2833 Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
2835 * Merge egcs & devo libiberty.
2837 1998-09-08 Martin von Löwis <loewis@informatik.hu-berlin.de>
2839 * cplus-dem.c (demangle_arm_pt): Demangle anonymous namespaces.
2841 Mon Sep 7 23:29:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2843 * mkstemp.c: Include config.h even when not IN_GCC. Wrap header
2844 inclusions inside HAVE_*_H macros. Include ansidecl.h when not
2847 * vasprintf.c: Include stdarg.h/varargs.h first.
2849 * vprintf.c: Likewise.
2851 Sat Sep 5 03:24:49 1998 Jeffrey A Law (law@cygnus.com)
2853 * pexecute.c: Updates from gcc. Copy in gcc has been removed. This
2854 is the canonical copy. Define ISSPACE if !IN_GCC.
2855 * alloca.c, vfprintf.c, choose-temp.c, mkstemp.c, getopt.c: Similarly.
2856 * getopt1.c, obstack.c: Similarly.
2857 * Makefile.in: Build mkstemp.o
2859 Tue Sep 1 23:12:47 1998 Christopher Faylor <cgf@cygnus.com>
2861 * configure.in: Include asprintf in list of functions known not
2863 * configure: Rebuild.
2865 Wed Aug 19 14:05:01 1998 Mumit Khan <khan@xraylith.wisc.edu>
2867 * cplus-dem.c (work_stuff): Add dllimported.
2868 (demangled_prefix): Mark symbols imported from PE DLL.
2869 (internal_cplus_demangled): Handle.
2871 1998-08-17 Jason Merrill <jason@yorick.cygnus.com>
2873 * cplus-dem.c (do_type): Fix simple array handling. If we fail,
2876 Mon Aug 17 10:40:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2878 * cplus-dem.c: Include config.h if it exists. Also, only
2879 prototype malloc/realloc if we can't get stdlib.h.
2881 Sat Aug 15 16:15:01 1998 Ian Lance Taylor <ian@cygnus.com>
2883 * configure.in: Switch back to checking --with-target-subdir when
2884 deciding whether to check for newlib, undoing part of July 15
2886 * configure: Rebuild.
2888 Thu Aug 13 16:47:38 1998 Mark Mitchell <mark@markmitchell.com>
2890 * cplus-dem.c (type_kind_t): New type.
2891 (demangle_template_value_parm): Add type_kind_t parameter. Rely
2892 on this paramter, rather than demangling the type again.
2893 (demangle_integral_value): Pass tk_integral.
2894 (demangle_template_: Pass the value returned from do_type.
2895 (do_type): Return a type_kind_t. Pass tk_integral to
2896 demangle_template_value_parm for array bounds.
2897 (demangle_fund_type): Likewise.
2899 Also incorporate from GCC version:
2901 Tue Jul 21 13:28:19 1998 Jason Merrill <jason@yorick.cygnus.com>
2903 * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
2905 Thu Aug 13 16:47:38 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2907 * cplus-dem.c (demangle_nested_args): Make function definition
2908 static to match the prototype.
2910 Tue Jul 28 11:33:09 1998 Mark Mitchell <mark@markmitchell.com>
2912 * cplus-dem.c (type_kind_t): New type.
2913 (demangle_template_value_parm): Add type_kind_t parameter. Rely
2914 on this paramter, rather than demangling the type again.
2915 (demangle_integral_value): Pass tk_integral.
2916 (demangle_template_: Pass the value returned from do_type.
2917 (do_type): Return a type_kind_t. Pass tk_integral to
2918 demangle_template_value_parm for array bounds.
2919 (demangle_fund_type): Likewise.
2921 Also incorporate from GCC version:
2923 Tue Jul 21 13:28:19 1998 Jason Merrill <jason@yorick.cygnus.com>
2925 * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
2927 Mon Jul 27 12:16:08 1998 Ian Lance Taylor <ian@cygnus.com>
2929 * Makefile.in (ALLOCA): New variable.
2930 ($(TARGETLIB)): Add $(ALLOCA) to library.
2931 (needed-list): Add $(ALLOCA).
2932 ($(ALLOCA)): Depend upon stamp-picdir.
2934 Sun Jul 19 08:23:17 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2936 * cplus-dem.c (demangle_nested_args): Make function definition
2937 static to match the prototype.
2939 Wed Jul 15 00:12:58 1998 Ian Lance Taylor <ian@cygnus.com>
2941 * configure.in: Check --with-cross-host rather than
2942 --with-target-subdir when deciding whether build uses a cross
2943 compiler, and when deciding where to install the library.
2944 * configure: Rebuild.
2946 Sun Jul 12 01:27:05 1998 Jason Merrill <jason@yorick.cygnus.com>
2948 * cplus-dem.c (demangle_nested_args): Return a value.
2950 Sat Jul 11 16:19:48 1998 Mark Mitchell <mark@markmitchell.com>
2952 * cplus-dem.c (string): Move definition before work_stuff.
2953 (work_stuff): Add volatile_type, forgetting_types,
2954 previous_argument, and nrepeats fields.
2955 (SCOPE_STRING): New macro.
2956 (demangle_template): Add `remember' parameter. Add comment.
2957 Register the `B' code type here, if remembering. Tidy. Fix crash
2958 on NULL tmpl_argvec. Be consistent with use of tname/trawname.
2959 (demangle_nested_args): New function.
2960 (internal_cplus_demangle): Handle volatile-qualified member
2962 (mop_up): Delete the previous_argument string if present.
2963 (demangle_signature): Tidy. Handle volatile-qualified member
2964 functions. Handle back-references using the `B' code. Use extra
2965 parameter to demangle_template and SCOPE_STRING where appropriate.
2966 (demangle_template_value_parm): Fix thinko; 'B' is not an integral
2968 (demangle_class): Use SCOPE_STRING.
2969 (gnu_special): Pass additional argument to demangle_template.
2971 (demangle_qualified): Save qualified types for later
2972 back-references. Handle constructors and destructors for template
2974 (do_type): Tidy. Use SCOPE_STRING. Pass extra argument to
2975 demangle_template. Use demangled_nested_args. Don't remember
2976 qualified types here; that's now done in demangle_qualified.
2977 Similarly for templates.
2978 (do_arg): Improve commment. Handle 'n' repeat code.
2979 (remember_type): Check forgetting_types.
2980 (demangle_args): Deal with 'n' repeat codes. Tidy.
2982 Thu Jul 2 16:26:24 1998 Ian Lance Taylor <ian@cygnus.com>
2984 * config.table: Only use mh-fbsd21 on *-*-freebsd2.2.[012], not on
2985 *-*-freebsd2.2.*. From Dmitrij Tejblum <tejblum@arc.hq.cti.ru>.
2987 Mon Jun 15 16:29:01 1998 Ian Lance Taylor <ian@cygnus.com>
2989 * configure.in (setobjs): Correct quoting error in cygwin32 case.
2990 From Chris Faylor <cgf@cygnus.com>.
2992 Mon Jun 1 13:47:55 1998 Jason Molenda (crash@bugshack.cygnus.com)
2994 * obstack.c: Update to latest FSF version.
2996 Mon Jun 1 14:17:36 1998 Mike Stump <mrs@wrs.com>
2998 * Makefile.in: Add a dependency on stamp-picdir for the
2999 objects, so that we can do a parallel build.
3001 Sat May 30 22:17:13 1998 Mumit Khan <khan@xraylith.wisc.edu>
3003 * configure.in (checkfuncs): Add missing "'".
3005 Fri May 29 12:40:41 1998 Jason Molenda (crash@bugshack.cygnus.com)
3007 * obstack.c (_obstack_memory_used): Elide this function if we're
3008 on a system with GNU libc.
3010 Tue May 26 18:28:43 1998 Ian Lance Taylor <ian@cygnus.com>
3012 * Makefile.in (distclean): Remove config.log.
3014 Tue May 26 15:01:52 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3016 * Makefile.in (distclean): Don't remove alloca-conf.h.
3018 Fri May 22 01:38:07 1998 Hans-Peter Nilsson <hp@axis.se>
3020 * cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.
3022 1998-05-21 Mark Mitchell <mmitchell@usa.net>
3024 * cplus-dem.c (do_type): Handle volatile qualification.
3026 1998-05-21 Manfred Hollstein <manfred@s-direktnet.de>
3028 * configure.in: Check for unistd.h as well.
3029 * configure: Rebuild.
3030 * config.in: Rebuild.
3031 * getpagesize.c (GNU_OUR_PAGESIZE): Use sysconf only if _SC_PAGESIZE
3032 is defined in unistd.h. Reformat conditional block for easier reading.
3034 * config.table (shared): Default to no if ${enable_shared}
3035 is unset or empty; this logic is used by the toplevel
3036 configure scripts, too.
3038 Sat May 16 14:01:26 1998 Jeffrey A Law (law@cygnus.com)
3040 * config.table: Add line to set enable_shared in the Makefile
3043 Wed May 13 14:24:38 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3045 * cplus-dem.c (squangle_mop_up): Change return type to void.
3046 (internal_cplus_demangle): Remove unused parameter `options'.
3047 All callers changed.
3048 (cplus_demangle_opname): Remove function wide variable `int i' and
3049 replace with `size_t i' at each location where it is used.
3050 (cplus_mangle_opname): change type of `i' from int to size_t.
3052 Wed May 13 13:39:38 1998 Ian Lance Taylor <ian@cygnus.com>
3054 * alloca-conf.h: Include config.h. Check HAVE_ALLOCA_H rather
3056 * Makefile.in (argv.o): Depend upon config.h and alloca-conf.h.
3058 Fri May 8 00:23:51 1998 Ian Lance Taylor <ian@cygnus.com>
3060 * configure.in: Set libiberty_topdir correctly when srcdir is
3061 "." and with_target_subdir is not set.
3062 * configure: Rebuild.
3064 Thu May 7 13:01:44 1998 Ian Lance Taylor <ian@cygnus.com>
3066 * configure.in: Add *-*-mingw32* case.
3067 * configure: Rebuild.
3069 Wed May 6 11:33:51 1998 Ian Lance Taylor <ian@cygnus.com>
3071 * config.table: Never use a PIC file for *-*-cygwin32*.
3073 * Makefile.in (config.status): Depend upon config.table.
3075 * configure.in: On a cygwin32 host, always compile random, and
3076 don't test for sys_siglist, strsignal, or psignal.
3077 * configure: Rebuild.
3079 * clock.c: Check HAVE_SYS_PARAM_H rather than NO_SYS_PARAM_H.
3080 * getcwd.c: Likewise.
3081 * getpagesize.c: Likewise.
3082 * getruntime.c: Likewise.
3084 Tue May 5 18:08:32 1998 Ian Lance Taylor <ian@cygnus.com>
3086 Use autoconf tests rather than the old dummy.c test:
3087 * configure.in: Add AC_ARG_WITH calls for --with-target-subdir and
3088 --with-newlib. Add AC_CONFIG_HEADER. Use AC_REPLACE_FUNCS for
3089 most functions. Add special cases to handle newlib and VxWorks.
3090 Remove target_makefile_frag. Create stamp-h in AC_OUTPUT if
3091 CONFIG_HEADERS is set. Only call config-ml.in in AC_OUTPUT if
3092 CONFIG_FILES is set; set ac_file before calling it.
3093 * config.table (arm-*-riscix*, *-*-cygwin32): Remove.
3094 (*-*-hpux*, *-*-hiux*, *-*-irix4*, *-*-solaris2*): Remove.
3095 (*-*-sysv4*, *-*-go32, *-*-vxworks5*, *-*-vxworks): Remove
3096 (i[3456]-*-mingw32*): Remove.
3097 * Makefile.in (ERRORS_CC, CONFIG_H, NEEDED_LIST): Remove.
3098 (LIBOBJS): New variable.
3099 (HOST_OFILES, DO_ALSO, STAGESTUFF): Remove.
3100 (all): Depend upon needed-list. Don't check RULE1.
3101 (@target_makefile_frag@): Remove.
3102 (COMPILE.c): Include @DEFS@.
3103 (HFILES): Add alloca-conf.h.
3104 (REQUIRED_OFILES): Remove basename.o.
3105 ($(TARGETLIB)): New target.
3106 (stamp-needed, lneeded-list, needed.awk, stamp-config): Remove.
3107 (lconfig.h, needed2.awk, dummy.o, errors): Remove.
3108 (needed-list, config.h): Rewrite.
3109 (RULE1, $(RULE1), RULE2, $(RULE2)): Remove.
3111 (Makefile): Set CONFIG_FILES and CONFIG_HEADERS.
3112 (stamp-h): New target.
3113 (atexit.o, clock.o, getcwd.o, getpagesize.o): New targets.
3114 (basename.o): Don't depend upon config.h.
3115 (getruntime.o): Depend upon config.h.
3116 * atexit.c: Include config.h. Check HAVE_ON_EXIT rather than
3118 * basename.c: Don't include config.h. Don't check NEED_basename.
3119 * clock.c: Include config.h.
3120 * getcwd.c: Likewise.
3121 * getpagesize.c: Likewise.
3122 * getruntime.c: Likewise. Fix checks which set HAVE_GETRUSAGE and
3124 * strerror.c: Change uses of NEED_sys_errlist to
3125 HAVE_SYS_ERRLIST. Likewise for NEED_strerror and HAVE_STRERROR.
3126 * strsignal.c: Likewise for NEED_sys_siglist and HAVE_SYS_SIGLIST,
3127 and for NEED_strsignal and HAVE_STRSIGNAL and for NEED_psignal and
3129 * acconfig.h: New file.
3131 * functions.def: Remove.
3132 * config/mh-cxux7 (HDEFINES): Remove -DHAVE_SYSCONF.
3133 * config/mh-windows (HDEFINES): Remove.
3134 * config/mh-cygwin32: Remove.
3135 * config/mh-go32: Remove.
3136 * config/mh-irix4: Remove.
3137 * config/mh-riscix: Remove.
3138 * config/mh-sysv4: Remove.
3139 * config/mt-mingw32: Remove.
3140 * config/mt-vxworks5: Remove.
3141 * config.in: New file, generated using autoheader.
3142 * configure: Rebuild.
3144 Mon May 4 13:00:28 1998 Ian Lance Taylor <ian@cygnus.com>
3146 * configure.in: Rewrite to use autoconf.
3147 * configure: Generate using autoconf.
3148 * config/mh-a68bsd: Remove.
3149 * config/mh-apollo68: Remove.
3150 * config/mh-hpbsd: Remove.
3151 * config/mh-ncr3000: Remove.
3152 * config/mh-sysv: Remove.
3153 * config/mh-aix (RANLIB, INSTALL): Don't define.
3154 * config/mh-cxux7 (RANLIB, INSTALL): Don't define.
3155 * config/mh-irix4 (CC, RANLIB, INSTALL): Don't define.
3156 * config/mh-sysv4 (RANLIB, INSTALL): Don't define.
3157 * config.table: Change config_shell to CONFIG_SHELL, and use
3158 libiberty_topdir to find move-if-change.
3159 (m68k-apollo-bsd*, m68k-apollo-sysv*): Remove.
3160 (i[3456]86-ncr-sysv4*, *-*-dgux*, hppa*-hp-bsd*): Remove.
3161 (*-*-irix*, *-*-m88kbcs*, *-*-sysv*): Remove.
3162 * Makefile.in (srcdir): Set to @srcdir@.
3164 (prefix, exec_prefix, bindir, libdir): Set to autoconf variables.
3165 (SHELL, INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Likewise.
3166 (CC, CFLAGS, RANLIB)): Likewise.
3167 (datadir, man*dir, infodir, includedir, MAKEINFO): Remove.
3168 (target_makefile_frag, host_makefile_frag): Add substitutions.
3169 (INSTALL_DEST): Set to @INSTALL_DEST@.
3170 (Makefile): Depend upon config.status. Don't depend upon
3171 $(host_makefile_frag) or $(target_makefile_frag).
3172 (config.status): New target.
3174 Sun May 3 17:58:49 1998 Ian Lance Taylor <ian@cygnus.com>
3176 * config/mt-sunos4: Remove. Should be handled by --with-headers
3177 and --with-libraries options at top level.
3178 * config.table: Never use mt-sunos4.
3180 * alloca-conf.h: New file, combining alloca-norm.h and
3182 * alloca-norm.h: Remove.
3183 * alloca-botch.h: Remove.
3184 * configure.in: Set shell variables files and links to empty.
3185 * config.table: Don't set shell variable files.
3186 * configure.bat: Don't create alloca-conf.h.
3187 * makefile.vms: Likewise.
3188 * mpw-config.in: Likewise.
3189 * vmsbuild.com: Likewise.
3191 Fri May 1 11:41:42 1998 Ian Lance Taylor <ian@cygnus.com>
3193 * Makefile.in ($(HOST_OFILES) $(REQUIRED_OFILES)): Remove old
3194 target depending upon config.h.
3195 (alloca.o): Add target depending upon config.h
3196 (basename.o, choose-temp.o, fnmatch.o): Likewise.
3197 (getopt.o, getopt1.o, pexecute.o, strerror.o): Likewise.
3198 (strsignal.o, xstrerror.o): Likewise.
3200 Fri May 1 04:26:25 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3202 * cplus-dem.c (cplus_demangle_opname): Initialize work.
3204 Mon Apr 27 15:53:30 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
3206 * cplus-dem.c (demangle_qualified): Replace missing else.
3208 Sun Apr 26 15:38:50 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3210 * cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
3211 length in the name of a virtual table.
3213 Wed Apr 22 10:53:49 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
3215 * cplus-dem.c (struct work stuff): Add field for B and K mangle codes.
3216 (cplus_demangle_opname): Call mop_up_squangle.
3217 (cplus_demangle): Initialize squangle info, then call
3218 internal_cplus_demangle. (Most code moved there as well)
3219 (internal_cplus_demangle): New function, performs most of what use
3220 to be done in cplus_demangle, but is only called with this file.
3221 (squangle_mop_up): New function to clean up B and K code data.
3222 (mop_up): set pointers to NULL after freeing.
3223 (demangle_signature, demangle_template, demangle_class): Add
3224 switch elements to handle K and B codes.
3225 (demangle_prefix, gnu_special, demangle_qualified): Add
3226 code to handle K and B codes.
3227 (do_type, demangle_fund_type): Handle B and K codes.
3228 (remember_Ktype): New function to store K info.
3229 (register_Btype, remember_Btype): New functions for B codes.
3230 (forget_B_and_K_types): New function to destroy B and K info.
3232 Fri Apr 10 01:49:10 1998 Jeffrey A Law (law@cygnus.com)
3234 * COPYING.LIB, choose-temp.c, cplus-dem.c: Sync with egcs & gcc.
3236 Thu Mar 5 09:23:28 1998 Manfred Hollstein <manfred@s-direktnet.de>
3238 * config.table: Make locating frag files failsafe even for the
3239 special case if configuring and building in srcdir.
3241 Mon Feb 23 14:33:15 1998 Ian Lance Taylor <ian@cygnus.com>
3243 * choose-temp.c: Fix handling of sys/file.h to work in libiberty.
3245 Sun Feb 22 18:03:23 1998 Jeffrey A Law (law@cygnus.com)
3247 * choose-temp.c: Sync with copy in gcc.
3249 Thu Feb 12 16:29:49 1998 Ian Lance Taylor <ian@cygnus.com>
3251 * getopt.c: Update to latest FSF version.
3252 * getopt1.c: Likewise.
3254 Tue Feb 10 16:58:33 1998 Stan Shebs <shebs@andros.cygnus.com>
3256 * cplus-dem.c (gnu_special): Don't get confused by .<digits>
3257 strings that are not actually lengths.
3259 Fri Feb 6 01:35:17 1998 Manfred Hollstein <manfred@s-direktnet.de>
3261 * Makefile.in (FLAGS_TO_PASS): Don't pass PICFLAG.
3262 (.c.o): Check value of enable_shared, not PICFLAG.
3263 (stamp-picdir): Dito.
3265 Thu Feb 5 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
3267 * config/mh-cygwin32: remove vasprintf.o from EXTRA_OFILES
3268 since it gets built automatically
3270 Sun Feb 1 02:52:32 1998 Mike Stump <mrs@wrs.com>
3272 * config.table (vxworks configs): Default to VxWorks 5.x, as that is
3273 the currently shipping OS.
3275 Tue Jan 27 16:08:20 1998 Pat Rankin <rankin@eql.caltech.edu>
3277 * vmsbuild.com [REQUIRE_OFILES]: Synchronized with Makefile.in:
3278 Add fnmatch.o and objalloc.o; remove vasprintf.o.
3279 [config.h]: Define NEED_strsignal.
3281 Mon Jan 19 12:20:01 1998 Ian Lance Taylor <ian@cygnus.com>
3283 * functions.def: Correct argument types for strerror and
3284 strsignal. Reported by Alex Gutman <agutman@emc.com>.
3286 Sun Jan 18 15:57:28 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
3288 * vasprintf.c (int_vasprintf): Increase buffer size for float/double
3291 Sat Jan 17 22:28:38 1998 Mumit Khan <khan@xraylith.wisc.edu>
3292 J.J. VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
3294 Add mingw32 support.
3295 * pexecute.c (pexecute): New function for mingw32. Supports pipes.
3296 (pwait): New function for mingw32.
3298 * config.table (i[3456]86-*-mingw32*): Support for i386-mingw32.
3299 * config/mt-mingw32: New file.
3300 * xmalloc.c (first_break): Not used for mingw32.
3301 (xmalloc_set_program_name): Don't use sbrk on mingw32.
3302 (xmalloc): Likewise.
3303 (xrealloc): Likewise.
3305 Sat Jan 17 22:28:05 1998 Jeffrey A Law (law@cygnus.com)
3307 * choose-temp.c: Sync with gcc version.
3309 Tue Jan 13 18:34:39 1998 Jim Wilson <wilson@cygnus.com>
3311 * Makefile.in (install_to_libdir, install_to_tooldir): Add MULTISUBDIR
3312 to all filenames in libdir and tooldir.
3313 (distclean): Do MULTICLEAN before deleting Makefile.
3314 (stamp-needed, stamp-config): Add MULTISRCTOP to
3315 pathname for move-if-change.
3317 Thu Dec 4 17:25:19 1997 Jeffrey A Law (law@cygnus.com)
3319 * strsignal.c (sys_nsig): Try NSIG and _NSIG.
3321 Wed Nov 19 13:37:06 1997 Michael Meissner <meissner@cygnus.com>
3323 * alloca-norm.h (alloca, GCC case): Don't redefine alloca if it
3324 was already defined previously.
3326 Mon Nov 10 12:48:03 1997 Philippe De Muyter <phdm@macqel.be>
3328 * Makefile.in (INSTALL): Use ../install-sh, not install.
3330 Tue Oct 28 23:41:15 1997 Judy Goldberg <jodyg@idt.net>
3332 * Makefile.in (CFILES): Add pexecute.c.
3334 Wed Oct 15 19:13:48 1997 Ian Lance Taylor <ian@cygnus.com>
3336 * asprintf.c: Consistently use either stdarg or varargs.
3338 Tue Oct 14 12:01:00 1997 Mark Mitchell <mmitchell@usa.net>
3340 * cplus-dem.c (demangle_signature): Don't look for return types on
3341 constructors. Handle member template constructors.
3343 Fri Oct 3 17:53:30 1997 Ian Lance Taylor <ian@cygnus.com>
3345 * README: Fix configuration instructions.
3347 Mon Sep 29 12:28:41 1997 Ian Lance Taylor <ian@cygnus.com>
3349 * pexecute.c: Update to current version from /gd/gnu/lib:
3351 Mon Sep 29 12:27:59 1997 Ian Lance Taylor <ian@cygnus.com>
3353 * pexecute.c: Use spawn if __CYGWIN32__.
3355 1997-08-08 Paul Eggert <eggert@twinsun.com>
3357 * pexecute.c: Include "config.h" first, as per autoconf manual.
3359 Fri Jun 27 15:20:29 1997 Scott Christley <scottc@net-community.com>
3361 * pexecute.c (fix_argv): New function.
3362 (pexecute): Win32 but not Cygwin32 needs its arguments fixed.
3363 Add underscore to cwait function call.
3365 Sun Sep 28 12:00:52 1997 Mark Mitchell <mmitchell@usa.net>
3367 * cplus-dem.c (demangle_template): Add new parameter. Handle new
3368 template-function mangling.
3369 (consume_count_with_underscores): New function.
3370 (demangle_signature): Handle new name-mangling scheme.
3372 Wed Sep 24 00:31:59 1997 Felix Lee <flee@yin.cygnus.com>
3374 * asprintf.c: stdarg.h when ALMOST_STDC
3375 * config/mh-windows (EXTRA_OFILES): add asprintf.o and
3378 Thu Aug 28 14:27:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
3380 * vasprintf.c (vasprintf): Allow for _BSD_VA_LIST_.
3382 * config.table: Add case for FreeBSD 2.1 and 2.2, needs mh-fbsd21.
3384 * config/mh-fbsd21 (EXTRA_OFILES): Force vasprintf.o
3386 Wed Sep 10 12:43:10 1997 Jason Merrill <jason@yorick.cygnus.com>
3388 * cplus-dem.c (demangle_fund_type): Change "complex" to "__complex".
3390 Fri Sep 5 16:34:42 1997 Andrew Cagney <cagney@b1.cygnus.com>
3392 * asprintf.c (asprintf): New file.
3393 * Makefile.in (CFILES): Add asprintf.c
3394 * functions.def: Ditto.
3396 Thu Aug 28 18:53:34 1997 Andrew Cagney <cagney@b1.cygnus.com>
3398 * argv.c (dupargv): New function, duplicate an argument vector.
3400 Tue Aug 19 20:28:45 1997 Geoffrey Noer <noer@cygnus.com>
3402 * config/mh-cygwin32: also build random.o
3404 Tue Aug 19 17:10:56 1997 Jason Merrill <jason@yorick.cygnus.com>
3406 * cplus-dem.c: Add 'extern' to prepends_underscore.
3408 Wed Jul 30 11:42:19 1997 Per Bothner <bothner@cygnus.com>
3410 * cplus-dem.c: Various changes to produce Java output when passed
3411 DMGL_JAVA. Thus "::" becomes "." and "JArray<Foo>" becomes "Foo[]".
3412 (main): Support --java and -j flags to set DMGL_JAVA.
3414 Tue Jul 22 19:05:23 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
3416 * config/mh-go32 (CC, AR, RANLIB): Don't define.
3418 Tue Jul 22 17:49:54 1997 Ian Lance Taylor <ian@cygnus.com>
3420 * Makefile.in (REQUIRED_OFILES): Add pexecute.o.
3421 (pexecute.o): New target.
3423 * Makefile.in (stamp-needed): New target, replacing needed-list.
3424 (needed-list): Just depend upon stamp-needed.
3425 (stamp-config): New target, replacing config.h.
3426 (config.h): Just depend upon stamp-config.
3427 (mostlyclean): Remove stamp-*.
3429 Thu Jun 12 11:00:18 1997 Angela Marie Thomas (angela@cygnus.com)
3431 * Makefile.in (FLAGS_TO_PASS): pass INSTALL, INSTALL_PROGRAM and
3432 INSTALL_DATA for multilibbed installs
3434 Tue Jun 3 13:21:05 1997 Doug Evans <dje@canuck.cygnus.com>
3436 Tue Dec 10 09:44:57 1996 Paul Eggert <eggert@twinsun.com>
3438 * choose-temp.c (choose_temp_base): Don't dump core if TMPDIR is empty.
3440 * choose-temp.c (try): Insist that temp dir be searchable.
3442 Wed Oct 23 17:36:39 1996 Doug Rupp (rupp@gnat.com)
3444 * choose-temp.c (choose_temp_base): On VMS, use proper syntax
3445 for current directory.
3447 Sat Feb 15 19:03:48 1997 Geoffrey Noer (noer@cygnus.com)
3449 * pexecute.c: Remove special cases for cygwin32.
3450 (pwait): Remove local definition of `pid'.
3452 Tue Nov 12 18:26:15 1996 Doug Rupp (rupp@gnat.com)
3454 * pexecute.c (vfork): Supply new definition for VMS.
3455 (pwait): Use waitpid instead of wait for VMS.
3457 Tue May 20 14:02:20 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
3459 * cplus-dem.c (do_type): Handle `J'.
3460 (demangle_fund_type): Print "complex" for it.
3462 Wed Apr 30 12:15:45 1997 Jason Merrill <jason@yorick.cygnus.com>
3464 * configure.in: Don't turn on multilib here.
3466 Mon Apr 28 19:04:31 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
3468 * obstack.c: move _obstack_memory_used outside of ifdef. Cannot be
3469 elided; needed by gdb and not present in libc.
3471 Thu Apr 24 19:33:47 1997 Ian Lance Taylor <ian@cygnus.com>
3473 * Makefile.in (clean): Remove tmpmulti.out.
3475 Tue Apr 22 10:25:15 1997 Fred Fish <fnf@cygnus.com>
3477 * floatformat.c (floatformat_ieee_double_littlebyte_bigword):
3478 Add new floatformat, mainly for ARM doubles.
3480 Mon Apr 14 12:11:16 1997 Ian Lance Taylor <ian@cygnus.com>
3482 * config.table: Use ${config_shell} with ${moveifchange}. From
3483 Thomas Graichen <graichen@rzpd.de>.
3485 Fri Apr 4 03:09:24 1997 Ulrich Drepper <drepper@cygnus.com>
3487 * configure.in: Enable multilibing by default.
3488 Update multilib template to read config-ml.in.
3490 Tue Apr 1 16:26:39 1997 Klaus Kaempf <kkaempf@progis.de>
3492 * makefile.vms: Add objalloc.
3494 Mon Mar 31 23:57:51 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
3496 * cplus-dem.c (demangle_it): Add prototype declaration.
3497 (usage, fatal): Likewise.
3499 * xexit.c (_xexit_cleanup): Add prototype.
3501 * strerror.c (init_error_tables): Declare.
3503 Fri Mar 28 11:43:20 1997 H.J. Lu <hjl@lucon.org>
3505 * functions.def: Add DEF of vasprintf, and DEFFUNC of strsignal.
3506 * strsignal.c: Only define strsignal if NEED_strsignal.
3507 * Makefile.in (REQUIRED_OFILES): Remove vasprintf.o.
3508 * configure.in: Add NEED_strsignal to xconfig.h. Add vasprintf.o
3510 * config/mh-cygwin32 (HDEFINES): Add -DNEED_strsignal.
3511 (EXTRA_OFILES): Define to vasprintf.o.
3512 * config/mh-windows (HDEFINES): Add -DNEED_strsignal.
3513 (EXTRA_OFILES): Add vasprintf.o.
3514 * config/mt-vxworks5 (vxconfig.h): Define NEED_strsignal.
3515 (vxneeded-list): Add vasprintf.o.
3517 Thu Mar 20 17:02:09 1997 Ian Lance Taylor <ian@cygnus.com>
3519 * objalloc.c: Include <stdio.h>.
3521 Mon Mar 17 19:23:11 1997 Ian Lance Taylor <ian@cygnus.com>
3523 * objalloc.c: New file.
3524 * Makefile.in (CFILES): Add objalloc.c
3525 (REQUIRED_OFILES): Add objalloc.o.
3526 (objalloc.o): New target.
3528 Sat Mar 15 18:49:41 1997 Ian Lance Taylor <ian@cygnus.com>
3530 * obstack.c: Update to current FSF version.
3532 Fri Mar 14 14:18:47 1997 Ian Lance Taylor <ian@cygnus.com>
3534 * cplus-dem.c: Add prototypes for all static functions.
3535 (mystrstr): Make static. Make arguments and result const.
3536 (cplus_match): Remove; not used.
3538 Tue Mar 11 14:20:31 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
3540 * cplus-dem.c (gnu_special): Call demangled_fund_type for other
3543 Tue Mar 11 15:41:21 1997 H.J. Lu <hjl@lucon.org>
3545 * spaces.c: Declare malloc and free properly.
3546 * strsignal.c (init_signal_tables): Add prototype.
3547 * xatexit.c (_xexit_cleanup): Add parameter declarations.
3549 Wed Feb 19 15:43:24 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
3551 * Makefile.in (lneeded-list): If alloca.o is needed, xexit.o is
3552 also required because of xmalloc.o.
3554 Fri Feb 14 13:43:38 1997 Ian Lance Taylor <ian@cygnus.com>
3556 * strsignal.c: Unconditionally redefine sys_siglist around the
3557 inclusion of the system header files.
3559 Thu Feb 13 22:01:04 1997 Klaus Kaempf <kkaempf@progis.de>
3561 * makefile.vms: Remove 8 bit characters. Update to latest
3564 Tue Feb 4 11:52:19 1997 Ian Lance Taylor <ian@cygnus.com>
3566 * strsignal.c: Use NEED_sys_siglist instead of
3568 * config.table: Don't use mh-lynxos.
3569 * config/mh-lynxos: Remove.
3571 Thu Jan 16 14:51:03 1997 Bob Manson <manson@charmed.cygnus.com>
3573 * cplus-dem.c: Fix indenting; make identical to the copy
3575 (do_type, case 'M'): Check for a template as well as a class.
3577 Thu Dec 19 13:51:33 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
3579 * config/mt-vxworks5 (vxneeded-list): Remove sigsetmask.o, since
3580 vxworks 5.[0-3] all have sigsetmask in them; the one provided by
3581 libiberty is incorrect, as well.
3583 Mon Dec 2 15:03:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3585 * alloca.c (alloca): When compiled with an ANSI/ISO compiler,
3586 alloca takes a size_t argument, not just unsigned.
3588 Mon Nov 18 15:42:08 1996 Jason Merrill <jason@yorick.cygnus.com>
3590 * cplus-dem.c: Note that this file also lives in GCC.
3592 Mon Nov 18 15:19:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
3594 * alloca.c: Remove include of libiberty.h for hpux.
3595 * argv.c: Replace defs from libiberty.h.
3596 * spaces.c: Put back externs from removed from libiberty.h.
3597 * vasprintf.c: Remove include of libiberty.h for hpux.
3599 Mon Nov 18 14:08:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
3601 * cplus-dem.c: Checking in again; last checkin filed due to sticky tag.
3603 Wed Nov 13 08:22:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
3605 * cplus-dem.c: Revert last two commits due to conflicts with
3606 hpux system headers.
3608 Wed Nov 13 08:22:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
3610 * alloca.c, argv.c, spaces.c, strcasecmp.c, vasprintf.c, vprintf.c:
3611 Revert last commit due to conflicts with hpux system headers.
3613 Wed Nov 13 10:36:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3615 * cplus-dem.c (x{m,re}alloc): Make declarations compatibile with
3616 libiberty.h when compiled with a standard compiler.
3618 Tue Nov 12 16:31:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
3620 * alloca.c: Include libiberty.h for definition of xmalloc.
3621 Don't redefine NULL.
3622 * argv.c: Move prototypes to libiberty.h.
3623 * cplus-dem.c: Include libiberty.h for definition of xmalloc.
3624 Don't redefine NULL.
3625 Use casts to eliminate compiler warnings.
3626 * spaces.c: Remove prototypes for malloc and free which are
3627 already in libibrty.h.
3628 * strcasecmp.c: Use casts to eliminate compiler warnings.
3629 * vasprintf.c: Include libiberty.h for definition of malloc.
3630 Don't redefine NULL.
3631 * vprintf.c: Include stdarg.h if __STDC__.
3633 Fri Oct 11 15:42:12 1996 Stu Grossman (grossman@critters.cygnus.com)
3635 * config/mh-windows: Add strcasecmp.o to EXTRA_OFILES.
3637 Fri Oct 11 11:16:31 1996 Stan Shebs <shebs@andros.cygnus.com>
3639 * mpw.c (mpwify_filename): Rewrite to simplify, and to handle
3640 upward components correctly.
3642 Tue Oct 8 08:55:34 1996 Stu Grossman (grossman@critters.cygnus.com)
3644 * config.table, config/mh-windows: Add support for building under
3645 MSVC (the Microsoft build environment).
3647 Mon Oct 7 10:50:27 1996 Ian Lance Taylor <ian@cygnus.com>
3649 * fnmatch.c: Undef const if not __STDC__.
3651 Thu Oct 3 13:46:39 1996 Ian Lance Taylor <ian@cygnus.com>
3653 * fnmatch.c: New file.
3654 * Makefile.in (CFILES): Add fnmatch.c.
3655 (REQUIRED_OFILES): Add fnmatch.o.
3656 (fnmatch.o): New target.
3658 Wed Sep 18 14:49:13 1996 Jason Merrill <jason@yorick.cygnus.com>
3660 * cplus-dem.c (demangle_template): Fix handling of address args.
3661 (gnu_special): Handle type_info stuff.
3663 Fri Sep 13 17:52:55 1996 Stan Shebs <shebs@andros.cygnus.com>
3665 * mpw.c (DebugPI): Make settable from the env var DEBUG_PATHNAMES.
3666 (mpwify_filename): Handle "::/" case.
3668 Thu Sep 12 13:30:40 1996 Geoffrey Noer <noer@cygnus.com>
3670 * config/mh-cygwin32: new file (need -DNEED_basename and
3671 -DNEED_sys_siglist for native NT rebuilding)
3672 * config.table (*-*-cygwin32): new entry
3673 * choose-temp.c: bring in sync with gcc (revert Aug 17 change)
3675 Thu Aug 29 16:48:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3677 * config.table (i[345]86-*-*): Recognize i686 for pentium pro.
3679 Tue Aug 27 13:47:58 1996 Stan Shebs <shebs@andros.cygnus.com>
3681 * pexecute.c (pexecute) [MPW]: Remove old bogus code that
3682 messed with arguments that included a '/', add escape chars
3683 to double quotes, remove const decl from arg that Mac
3684 compilers don't seem to like.
3686 Sat Aug 17 04:44:27 1996 Geoffrey Noer <noer@cygnus.com>
3688 * pexecute.c: Update test for win32 (&& ! cygwin32).
3689 * choose-temp.c: fix WIN32 preprocessor defines
3691 Thu Aug 15 12:26:48 1996 Stan Shebs <shebs@andros.cygnus.com>
3693 * mpw-make.sed: Add @DASH_C_FLAG@ and @SEGMENT_FLAG({Default})@
3694 to editing of default makefile rule.
3696 Sun Aug 11 21:03:27 1996 Stu Grossman (grossman@critters.cygnus.com)
3698 * alloca-norm.h: Include <malloc.h> if _WIN32.
3699 * argv.c: Include non-prototyped decls for malloc and string
3700 functions if ! _WIN32 or if __GNUC__.
3702 Thu Aug 8 12:42:40 1996 Klaus Kaempf <kkaempf@progis.de>
3704 * config.h-vms: New file.
3705 * makefile.vms: Use it.
3707 Wed Aug 7 17:16:12 1996 Stu Grossman (grossman@critters.cygnus.com)
3709 * getopt.c (_getopt_internal): If argc is 0, just return (before
3710 we reference *argv and segfault).
3712 Mon Aug 5 01:29:08 1996 Jason Merrill <jason@yorick.cygnus.com>
3714 * Makefile.in (distclean): Add multilib.out.
3716 Thu Jul 18 17:40:55 1996 Ian Lance Taylor <ian@cygnus.com>
3718 * alloca-norm.h: Change #ifdef sparc to #if defined (sparc) &&
3719 defined (sun). From Andrew Gierth <ANDREWG@microlise.co.uk>.
3721 Mon Jul 1 13:40:44 1996 Ken Raeburn <raeburn@cygnus.com>
3723 Tue May 28 15:29:03 1996 Pat Rankin <rankin@eql.caltech.edu>
3725 * vmsbuild.com (REQUIRD_OFILES): Add choose-temp.o and xstrdup.o.
3727 Thu Jan 25 18:20:04 1996 Pat Rankin <rankin@eql.caltech.edu>
3729 * vmsbuild.com: Changes to handle DEFFUNC(on_exit).
3730 (do_ofiles): Allow nonexistent source file in pass 3.
3731 (chk_deffunc): New routine.
3733 Tue Jun 25 19:24:43 1996 Doug Evans <dje@canuck.cygnus.com>
3735 * pexecute.c (PEXECUTE_VERBOSE): Define.
3736 (MPW pexecute): Check flags & PEXECUTE_VERBOSE instead of verbose_flag.
3738 Tue Jun 25 23:11:48 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
3740 * Makefile.in (docdir): Removed.
3742 Tue Jun 25 23:01:07 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
3744 * Makefile.in (oldincludedir): Removed.
3746 Tue Jun 25 22:50:07 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
3748 * Makefile.in (datadir): Set to $(prefix)/share.
3750 Thu Jun 20 21:17:52 1996 Ian Lance Taylor <ian@cygnus.com>
3752 * cplus-dem.c (demangle_arm_pt): Reindent. Avoid endless loop by
3753 checking for errors from do_type.
3755 Tue Jun 18 14:36:19 1996 Klaus Kaempf <kkaempf@progis.de>
3757 * makefile.vms: New file.
3758 * xmalloc.c: If VMS, include <stdlib.h> and <unixlib.h> rather
3759 than declaring malloc, realloc, and sbrk.
3761 Mon Jun 10 13:17:17 1996 Doug Evans <dje@canuck.cygnus.com>
3763 * pexecute.c: New file.
3765 Wed Jun 5 16:57:45 1996 Richard Henderson <rth@tamu.edu>
3767 * xmalloc.c: Declare sbrk.
3769 Sat May 4 05:08:45 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3771 * alloca-norm.h: Add SPARCworks cc compatible __builtin_alloca
3774 Mon Apr 22 18:41:49 1996 Ian Lance Taylor <ian@cygnus.com>
3776 * xstrerror.c: Include <stdio.h>.
3778 Sun Apr 21 11:55:12 1996 Doug Evans <dje@canuck.cygnus.com>
3780 * Makefile.in (CFILES): Add atexit.c.
3782 Sun Apr 21 09:50:09 1996 Stephen L Moshier (moshier@world.std.com)
3784 * choose-temp.c: Include sys/types.h before sys/file.h for sco3.2v5.
3786 Wed Apr 17 11:17:55 1996 Doug Evans <dje@canuck.cygnus.com>
3788 * choose-temp.c: Don't #include sys/file.h ifdef NO_SYS_FILE_H.
3790 * config/mt-vxworks5 (HDEFINES): Define NO_SYS_FILE_H.
3792 Tue Apr 16 11:27:16 1996 Jeffrey A Law (law@cygnus.com)
3794 * Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o.
3795 Reverts Feb 8, 1995 change.
3797 Mon Apr 15 12:53:26 1996 Doug Evans <dje@canuck.cygnus.com>
3799 * choose-temp.c: New file.
3800 * Makefile.in (CFILES): Add choose-temp.c.
3801 (REQUIRED_OFILES): Add choose-temp.o.
3803 Sat Apr 13 14:19:30 1996 Stu Grossman (grossman@critters.cygnus.com)
3805 * floatformat.c (floatformat_to_double): Don't bias exponent when
3806 handling zero's, denorms or NaNs.
3808 Thu Apr 11 13:36:56 1996 Stu Grossman (grossman@critters.cygnus.com)
3810 * floatformat.c (floatformat_to_double): Fix bugs with handling
3811 numbers with fractions < 32 bits.
3813 Mon Apr 8 14:48:34 1996 Ian Lance Taylor <ian@cygnus.com>
3815 * config.table: Permit --enable-shared to specify a list of
3818 Tue Mar 19 22:02:07 1996 Jason Merrill <jason@yorick.cygnus.com>
3820 * cplus-dem.c (demangle_template): Fix for non-mangled pointer
3823 Fri Mar 8 17:24:18 1996 Ian Lance Taylor <ian@cygnus.com>
3825 * configure.in: If srcdir is `.' and with_target_subdir is not
3826 `.', then set MULTISRCTOP before calling config-ml.in.
3828 Thu Mar 7 13:37:10 1996 Stan Shebs <shebs@andros.cygnus.com>
3830 * mpw.c (mpw_open): Add debugging output option.
3832 Wed Mar 6 17:36:03 1996 Jason Merrill <jason@yorick.cygnus.com>
3834 * cplus-dem.c (demangle_template): Fix for address-of-extern arguments.
3836 Tue Feb 27 12:00:50 1996 Raymond Jou <rjou@mexican.cygnus.com>
3838 * mpw.c (mpwify_filename): Change 6 to 5 in
3839 strncmp (unixname, "/tmp/", 5).
3841 Tue Feb 20 10:55:53 1996 Ian Lance Taylor <ian@cygnus.com>
3843 * cplus-dem.c (demangle_template): Initialize is_bool. Correctly
3844 handle 0 as a pointer value parameter.
3846 Mon Feb 5 16:41:44 1996 Ian Lance Taylor <ian@cygnus.com>
3848 * Makefile.in (all): Depend upon required-list.
3849 (required-list): New target.
3850 (clean): Remove required-list.
3852 Wed Jan 31 10:19:41 1996 Steve Chamberlain <sac@slash.cygnus.com>
3855 * config.table (i386-*-win32): Deleted.
3856 * config/mh-i386win32: Deleted.
3858 Thu Jan 18 11:34:17 1996 Ian Lance Taylor <ian@cygnus.com>
3860 * cplus-dem.c (cplus_demangle_opname): Change opname parameter to
3862 (cplus_mangle_opname): Change return type and opname parameter to
3863 const char *. Don't cast return value.
3865 Tue Jan 16 12:13:11 1996 Stan Shebs <shebs@andros.cygnus.com>
3867 * mpw.c: Include Timer.h, in order to get m68k Microseconds trap
3870 Wed Jan 3 13:15:04 1996 Fred Fish <fnf@cygnus.com>
3872 * obstack.c: Update copyright to 1996.
3873 (_obstack_memory_used): Define new function. Called via
3874 obstack_memory_used macro.
3876 Thu Dec 28 11:39:40 1995 Ian Lance Taylor <ian@cygnus.com>
3878 * xstrdup.c: New file.
3879 * Makefile.in (CFILES): Add xstrdup.c.
3880 (REQUIRED_OFILES): Add xstrdup.o.
3881 (xstrdup.o): New target.
3883 Mon Dec 11 18:18:52 1995 Mike Stump <mrs@cygnus.com>
3885 * atexit.c: New stub to provide atexit on systems that have
3886 on_exit, like SunOS 4.1.x systems.
3887 * functions.def (on_exit, atexit): Ditto.
3889 Mon Dec 11 15:42:14 1995 Stan Shebs <shebs@andros.cygnus.com>
3891 * mpw.c (mpw_abort): Remove decl.
3892 (mpw_access): Move debugging printf.
3894 Sat Dec 2 01:25:23 1995 Ian Lance Taylor <ian@cygnus.com>
3896 * config.table: Consistently use ${host} rather than ${xhost} or
3898 * configure.in: Don't bother to set ${xhost} before calling
3901 Tue Nov 28 14:16:57 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
3903 * Makefile.in (.c.o): Use test instead of the left bracket, to
3904 avoid problems with some versions of make.
3906 Tue Nov 28 11:45:17 1995 Stan Shebs <shebs@andros.cygnus.com>
3908 * mpw-make.sed: Fix INCDIR edit to work with Nov 14 change.
3910 Tue Nov 21 11:26:34 1995 Fred Fish <fnf@rtl.cygnus.com>
3912 * config/mh-hpux: Remove. It was only used to define EXTRA_OFILES,
3913 which was set to just alloca.o, which is now automatically marked
3914 as needed by the autoconfiguration process.
3916 Tue Nov 21 14:15:06 1995 Ian Lance Taylor <ian@cygnus.com>
3918 * config.table: Check ${with_cross_host} rather than comparing
3919 ${host} and ${target}.
3921 Thu Nov 16 14:34:42 1995 Ian Lance Taylor <ian@cygnus.com>
3923 * configure.in: If with_target_subdir is empty, set xhost to
3924 ${host} rather than ${target} before calling config.table.
3926 Tue Nov 14 01:38:30 1995 Doug Evans <dje@canuck.cygnus.com>
3928 * Makefile.in (MULTITOP): Deleted.
3929 (MULTISRCTOP, MULTIBUILDTOP): New.
3930 (FLAGS_TO_PASS): Delete INCDIR.
3931 (INCDIR): Add $(MULTISRCTOP).
3932 (install_to_libdir): Add $(MULTISUBDIR). Call $(MULTIDO).
3933 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
3934 instead of cfg-ml-pos.in.
3935 (cross-compile check): Change to test for with_target_subdir.
3936 (EXTRA_LINKS): Delete.
3938 Sun Nov 12 12:13:04 1995 Stan Shebs <shebs@andros.cygnus.com>
3940 * mpw-make.sed: Add getpagesize.c.o to needed-list.
3941 * mpw.c [USE_MW_HEADERS]: Conditionalize compiling of
3942 functions that are supplied by Metrowerks libraries.
3943 (fstat): Clean up descriptor->pointer conversion code.
3944 (InstallConsole, etc): Empty definitions, for when linking
3947 Sun Nov 5 19:25:27 1995 Per Bothner <bothner@kalessin.cygnus.com>
3949 * Makefile.in (FLAGS_TO_PASS): Also pass PICFLAGS.
3950 (.c.o): Stylistic change.
3952 Thu Nov 2 12:06:29 1995 Ian Lance Taylor <ian@cygnus.com>
3954 * strtol.c, strtoul.c: Don't include <stdlib.h>. From
3955 phdm@info.ucl.ac.be (Philippe De Muyter).
3957 Wed Nov 1 11:59:36 1995 Ian Lance Taylor <ian@cygnus.com>
3959 * configure.in: Correct sed call.
3961 Mon Oct 30 13:03:45 1995 Per Bothner <bothner@kalessin.cygnus.com>
3963 * configure.in: Clean up / simplify for native.
3965 * configure.in: Merge in stuff from ../xiberty/configure.in.
3966 * Makefile.in (CC): Add definition (so it can be overrridden
3969 Tue Oct 24 17:57:27 1995 Stan Shebs <shebs@andros.cygnus.com>
3971 * mpw-make.sed: Leave strerror.c.o in standard list of functions.
3972 * mpw.c (R_OK, ENOENT, EACCESS, ENOSYS): Remove.
3973 (link): Remove useless definition with error return.
3974 (last_microseconds, warn_if_spin_delay, record_for_spin_delay):
3975 Use UnsignedWide type for microsecond counts.
3977 Thu Oct 19 10:52:07 1995 Michael Meissner <meissner@wogglebug.tiac.net>
3979 * memcmp.c (memcmp): Argument types are const void *, not void
3982 * strncasecmp.c (strncasecmp): Include ansidecl.h/stdarg.h, not
3984 * strcasecmp.c (strcasecmp): Ditto.
3986 Tue Oct 10 11:03:24 1995 Fred Fish <fnf@cygnus.com>
3988 * Makefile.in (BISON): Remove macro.
3990 Tue Sep 26 15:06:46 1995 Stan Shebs <shebs@andros.cygnus.com>
3992 * Makefile.in (HFILES): Add default empty definition.
3993 * mpw-config.in (config.h): Only update if changed.
3994 * mpw-make.in: Remove.
3995 * mpw-make.sed: New file, edits Makefile.in into MPW makefile.
3996 * mpw.c: Remove semi-clone of strerror code.
3997 (sys_nerr, sys_errlist): Define here.
3998 (Microseconds): Only define as A-line trap if m68k Mac.
4000 Wed Sep 20 12:53:32 1995 Ian Lance Taylor <ian@cygnus.com>
4002 * Makefile.in (maintainer-clean): New synonym for distclean.
4004 Mon Aug 28 19:47:52 1995 Per Bothner <bothner@kalessin.cygnus.com>
4006 * config.table: For host, generalize rs6000-ibm-aix*
4007 to *-ibm-aix* so we also include powerpc.
4009 Tue Aug 22 03:18:05 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
4011 Fri Jun 16 18:35:40 1995 Pat Rankin (rankin@eql.caltech.edu)
4013 * xstrerror.c: New file.
4014 * Makefile.in, vmsbuild.com: Compile it.
4016 Mon Jul 31 12:16:32 1995 steve chamberlain <sac@slash.cygnus.com>
4018 * config.table (i386-*-win32): New.
4020 Fri Jul 21 11:35:52 1995 Doug Evans <dje@canuck.cygnus.com>
4022 * Makefile.in (MULTITOP): New variable.
4023 (MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): Likewise.
4024 (all): Add multilib support.
4025 (install_to_tooldir, *clean): Likewise.
4027 Mon Jul 10 11:47:27 1995 Ken Raeburn <raeburn@cygnus.com>
4029 * makefile.dos (OBJS): Add hex.o. From DJ Delorie.
4031 Fri Jun 30 17:28:59 1995 Pat Rankin (rankin@eql.caltech.edu)
4033 * vmsbuild.com: create "new-lib.olb", build libiberty under that
4034 name, and then make it become "liberty.olb" when done, so that an
4035 incomplete build attempt never leaves behind something which looks
4036 like a complete library.
4038 Thu Jun 29 00:22:02 1995 Steve Chamberlain <sac@slash.cygnus.com>
4040 * config/mh-i386pe: New file for PE hosts.
4041 * config.table: Understand PE hosts.
4043 Wed Jun 28 19:13:23 1995 Jason Merrill <jason@phydeaux.cygnus.com>
4045 * cplus-dem.c: Update from gcc.
4047 * argv.c, dummy.c: If __STDC__, #include "alloca-conf.h" after
4049 * alloca-norm.h: If __STDC__, declare alloca with its parameter.
4051 Thu Jun 22 18:57:47 1995 Stan Shebs <shebs@andros.cygnus.com>
4053 * mpw-make.in (ALL_CFLAGS): Define NEED_basename.
4054 * mpw.c: Only test DebugPI once whenever printing debug info.
4055 (mpwify_filename): If filename is /tmp/foo, change it into :_foo,
4056 also fix to not write on input filename buffer.
4057 (mpw_access): Use stat() instead of open(), works for directories
4060 Mon Jun 19 00:33:22 1995 Jason Merrill <jason@phydeaux.cygnus.com>
4062 * Makefile.in: Massage broken shells that