1 2003-10-01 H.J. Lu <hongjiu.lu@intel.com>
3 * configure.in: Check if $MAKEINFO is missing.
4 * configure: Regenerated.
6 2003-09-24 Daniel Jacobowitz <drow@mvista.com>
8 * configure.in: Use AC_PROG_CPP_WERROR.
9 * configure: Regenerated.
11 2003-09-22 Andrew Cagney <cagney@redhat.com>
13 * floatformat.c (floatformat_i387_ext_is_valid): New function.
14 (floatformat_always_valid): New function.
15 (floatformat_i387_ext): Initialize new "is_valid" field to
16 "floatformat_i387_ext_is_valid".
17 (floatformat_ieee_single_little): Initialize "is_valid" field to
18 floatformat_always_valid.
19 (floatformat_ieee_double_big): Ditto.
20 (floatformat_ieee_double_little): Ditto.
21 (floatformat_ieee_double_little): Ditto.
22 (floatformat_ieee_double_littlebyte_bigword): Ditto.
23 (floatformat_i960_ext): Ditto.
24 (floatformat_m88110_ext): Ditto.
25 (floatformat_m88110_harris_ext): Ditto.
26 (floatformat_arm_ext_big): Ditto.
27 (floatformat_arm_ext_littlebyte_bigword): Ditto.
28 (floatformat_ia64_spill_big): Ditto.
29 (floatformat_ia64_spill_little): Ditto.
30 (floatformat_ia64_quad_big): Ditto.
31 (floatformat_ia64_quad_little): Ditto.
32 (floatformat_ia64_quad_little): Ditto.
33 (floatformat_is_valid): Call "is_valid".
35 2003-09-15 Andrew Cagney <cagney@redhat.com>
37 * floatformat.c (get_field): Make "data" constant.
38 (floatformat_is_valid, floatformat_to_double): Make "from"
40 (floatformat_from_double): Make "from" constant.
42 2003-09-15 Daniel Jacobowitz <drow@mvista.com>
44 * floatformat.c (floatformat_is_valid): New function.
45 (get_field, put_field): Correct comments.
47 2003-09-06 Josef Zlomek <zlomekj@suse.cz>
49 * fibheap.c (fibheap_replace_key_data): Change type of OKEY to
52 2003-09-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
55 * aclocal.m4 (AC_LANG_FUNC_LINK_TRY): Define.
58 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
60 * aclocal.m4: Include acx.m4 and no-executables.m4.
61 (libiberty_AC_FUNC_STRNCMP): Use AC_LIBOBJ.
62 (LIB_AC_PROG_CC): Remove.
63 * configure.in: Update AC_PREREQ to 2.57. Use GCC_NO_EXECUTABLES.
64 Use AC_PROG_CC and set ac_libiberty_warn_cflags instead of using
65 LIB_AC_PROG_CC. Use AC_LIBOBJ. Call AC_ISC_POSIX later, only if
66 performing link tests.
67 * configure: Regenerated.
69 2003-08-12 Nathanael Nerode <neroden@gcc.gnu.org>
71 * cp-demangle.c: Clarify what package(s) this is part of.
73 2003-07-05 Danny Smith <dannysmith@users.sourceforge.net>
75 * pex-win32.c (pexecute): Mark parameters this_pname and
76 temp_base as unused. Remove unused variables retries,
77 sleep_interval. Initialize org_stdin, org_stdout.
78 (pwait): Mark parameter flags as unused.
80 2003-07-02 Danny Smith <dannysmith@users.sourceforge.net>
82 * pex-win32.c (fix_argv): Ensure that the executable pathname
83 uses Win32 backslashes.
84 (pexecute): Cast away constness when assigning *errmsg_arg.
86 2003-06-26 H.J. Lu <hongjiu.lu@intel.com>
88 * testsuite/demangle-expected: Add more GNU V3 testcases.
90 2003-06-22 Zack Weinberg <zack@codesourcery.com>
92 * safe-ctype.c: Use HOST_CHARSET_ASCII and HOST_CHARSET_EBCDIC,
93 not HC_ASCII and HC_EBCDIC.
94 Add documentation in form expected by gather-docs.
95 * hex.c: Use HOST_CHARSET, not hand-coded check of character set.
96 * Makefile.in, functions.texi: Regenerate.
98 2003-06-21 Zack Weinberg <zack@codesourcery.com>
100 * safe-ctype.c: Separate out EOF==-1 check. Use HOST_CHARSET
101 for charset determination.
103 2003-06-19 Dara Hazeghi <dhazeghi@yahoo.com>
105 * configure.in: Add check for malloc.h needed by
106 m68k for function free().
107 * configure: Regenerated.
108 * config.in: Add HAVE_MALLOC_H.
109 * hashtab.c: include malloc.h were available for
112 2003-06-09 Albert Chin-A-Young <china@thewrittenword.com>
115 * physmem.c: Update comment.
116 * configure.in: Modify test for _system_configuration for older
119 * config.in, configure: Regenerated.
121 2003-06-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
124 * test-demangle.c (getline): Fix fence-post error.
126 2003-06-03 Nick Clifton <nickc@redhat.com>
128 * asprintf.c: Change comment to note that -1 is returned upon
130 * vasprintf.c: Likewise.
131 (vasprintf): Return -1 upon error.
132 * functions.texi: Document changes to asprintf and vasprintf.
134 2003-05-19 Kelley Cook <kelleycook@wideopenwest.com>
136 * config.table: Accept i[345867]86 variant.
138 2003-05-15 Jim Blandy <jimb@redhat.com>
140 * hex.c (_hex_value): Make this unsigned.
141 (hex_value): Update documentation for new return type. hex_value
142 now expands to an unsigned int expression, to avoid unexpected
143 sign extension when we store it in a bfd_vma, which is larger than
144 int on some platforms.
145 * functions.texi: Regenerated.
147 2003-05-07 Josef Zlomek <zlomekj@suse.cz>
149 * splay-tree.c (splay_tree_predecessor): Fix comment.
150 (splay_tree_successor): Fix comment.
152 2003-05-07 Jason Merrill <jason@redhat.com>
154 * hashtab.c (iterative_hash): New fn.
155 * configure.in: Add AC_C_BIGENDIAN_CROSS.
156 * aclocal.m4: Include accross.m4.
157 * configure, config.in: Regenerate.
159 2003-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
161 * configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
162 * configure: Regenerate.
164 2003-05-03 Carlo Wood <carlo@alinoe.com>
166 * cp-demangle.c: Fix typo in "char_traints" string-literal.
168 2003-04-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
170 * vsnprintf.c (vsnprintf): Don't pad string with extra nulls.
171 (main): Test that we don't write too much data.
173 2003-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
175 * configure.in (funcs, AC_CHECK_FUNCS): Add snprintf and
177 * snprintf.c, vsnprintf.c: New files.
178 * Makefile.in (CFILES): Add snprintf.c and vsnprintf.c.
179 (CONFIGURED_OFILES): Add snprintf.o and vsnprintf.o.
180 Regenerate dependencies.
182 * functions.texi, configure, config.in: Regenerated.
184 2003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
186 * mempcpy.c, stpcpy.c, stpncpy.c: New files.
187 * configure.in (funcs, AC_CHECK_FUNCS): Add mempcpy, stpcpy
189 * Makefile.in (CFILES): Add mempcpy.c, stpcpy.c and stpncpy.c.
190 (CONFIGURED_OFILES): Add mempcpy.o, stpcpy.o and stpncpy.o.
191 Regenerate dependencies.
193 * functions.texi, configure, config.in: Regenerated.
195 2003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
197 * argv.c: Fix comments.
198 * calloc.c: Don't unnecessarily include "libiberty.h".
199 (bzero): Add prototype.
200 * floatformat.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
201 * getcwd.c (getcwd): Use standard definition to avoid conflicts
203 * hashtab.c (htab_traverse): Delete unused variables.
204 * rename.c: Include "ansidecl.h".
205 (rename): Use standard definition to avoid conflicts with system
207 * strsignal.c: Rely on ANSI_PROTOTYPES.
208 * strstr.c: Check GNUC >= 2, not GNUC == 2.
209 * vfprintf.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
210 * vprintf.c: Include "ansidecl.h" earlier, rely on
212 * vsprintf.c: Include "ansidecl.h" earlier, rely on
213 ANSI_PROTOTYPES and possibly include <stdarg.h>.
215 * Makefile.in: Regenerate dependencies.
217 2003-04-15 DJ Delorie <dj@redhat.com>
219 * maint-tool (deps): Scan for headers in $srcdir also.
221 2003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
226 * getopt.c (exchange, _getopt_initialize): Use mempcpy not
228 * regex.c (regerror): Likewise.
230 2003-04-14 Roger Sayle <roger@eyesopen.com>
232 * argv.c: Use ANSI_PROTOTYPES instead of __STDC__.
233 * memchr.c: Likewise.
234 * strcasecmp.c: Likewise.
235 * strncasecmp.c: Likewise.
236 * strncmp.c: Likewise.
237 * xatexit.c: Likewise.
238 * xmalloc.c: Likewise.
240 * copysign.c: Use traditional function declaration instead of DEFUN.
241 * sigsetmask.c: Likewise.
243 * memcmp.c: Both of the above, ANSI_PROTOTYPES and DEFUN.
244 * memset.c: Likewise.
246 * memcpy.c: ANSI_PROTOTYPES, DEFUN and prototype bcopy.
247 * memmove.c: Likewise.
249 2003-04-14 Roger Sayle <roger@eyesopen.com>
251 * strdup.c (strdup): Tweak implementation to use memcpy.
253 2003-04-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
255 * configure.in (HAVE_UINTPTR_T): Always define.
256 * configure: Regenerated.
258 2003-03-23 Alexandre Oliva <aoliva@redhat.com>
260 * Makefile.in (MULTIOSDIR): New macro. Use $(CC) $(LIBCFLAGS)
261 instead of $$CC alone.
262 (install_to_tooldir): Use it.
264 2003-17-03 Jan Hubicka <jh@suse.cz>
266 * hashtab.c (htab_traverse_noresize): Break out from ...
267 * hashtab.c (htab_traverse): ... here.
269 2003-12-03 Jan Hubicka <jh@suse.cz>
271 * hashtab.c (htab_expand): Fix warning.
273 * hashtab.c (htab_expand): Compute the size of hashtable based
274 on the number of elements actually used.
275 (htab_traverse): Call htab_expand when table is too empty.
277 2003-03-11 Carlo Wood <carlo@gnu.org>
279 * cplus-dem.c (demangle_integral_value): Correction to reflect
280 patch of 2002-01-10 in order to also make negative multi-digits
281 without leading underscore work.
283 2003-03-03 Mark Mitchell <mark@codesourcery.com>
285 * cplus-dem.c: Add license exception to copyright notice.
287 2003-02-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
289 * physmem.c: Formatting changes from upstream.
291 2003-02-24 Danny Smith <dannysmith@users.source.forge.net>
293 * physmem.c (physmem_total): Add _WIN32 support.
294 (physmem_available): Likewise.
296 2003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
298 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
300 (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS.
302 2003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
304 * configure.in: Check for sys/systemcfg.h and
305 _system_configuration.
306 * physmem.c: Add support for AIX. Tweek formatting as per
307 upstream coreutils beta.
309 2003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
310 Richard Earnshaw <rearnsha@arm.com>
311 Geoffrey Keating <geoffk@apple.com>
313 * configure.in: Check for sys/sysctl.h and sysctl.
314 * physmem.c: Add support for *bsd and darwin.
315 * Makefile.in: Generate depedency for physmem.o.
317 2003-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
319 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on
321 (physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on
324 * configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h,
325 machine/hal_sysinfo.h, sys/table.h.
326 (checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table.
327 * configure, config.in: Regenerate.
329 2003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
331 * configure.in: Check for sys/sysmp.h and sysmp.
332 * physmem.c: Pull upstream copy, add support for irix6.
334 * config.in, configure: Regenerated.
336 2003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
338 * physmem.c (physmem_total, physmem_available): De-ANSI-fy.
339 * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and
342 2003-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
344 * Makefile.in (CFILES): Add physmem.c.
345 (REQUIRED_OFILES): Add physmem.o.
346 * configure.in: Check for sys/pstat.h.
347 (checkfuncs): Add pstat_getstatic and pstat_getdynamic.
348 * physmem.c: New file, copied from textutils.
350 * config.in, configure: Regenerated.
352 2003-02-20 Daniel Jacobowitz <drow@mvista.com>
354 * Makefile.in (CFILES): Add lrealpath.c.
355 (REQUIRED_OFILES): Add lrealpath.o.
356 (lrealpath.o): Add rule.
357 * aclocal.m4 (libiberty_NEED_DECLARATION): Add.
358 * configure.in: Add realpath and canonicalize_file_name to
359 checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION
360 for canonicalize_file_name.
361 * lrealpath.c: New file.
362 * make-relative-prefix.c: Update documentation.
363 (make_relative_prefix): Simplify. Use lbasename and lrealpath.
364 * config.in: Regenerated.
365 * configure: Regenerated.
366 * functions.texi: Regenerated.
368 2003-02-20 jmc <jmc@prioris.mini.pw.edu.pl>
370 * cplus_dem.c: Fix typo: intializes -> initializes.
372 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
374 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
376 * configure: Rebuilt.
378 2003-02-13 Daniel Jacobowitz <drow@mvista.com>
381 * cplus-dem.c (demangle_signature): Call string_delete.
382 Remove extra string_init.
383 (demangle_arm_hp_template): Call string_delete instead of
384 string_clear. Add missing string_delete call.
385 (demangle_qualified): Add missing string_delete call.
386 (do_type): Remove unused variable btype. Add missing string_delete
387 call. Call string_delete instead of string_clear.
388 (demangle_fund_type): Move variable btype inside of the switch
389 statement. Add missing string_delete call.
390 (do_arg): Call string_delete instead of string_clear. Remove extra
392 (demangle_nested_args): Free work->previous_argument.
394 2003-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
396 * acconfig.h: New file. Add uintptr_t.
397 * config.in: Regenerated.
399 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
401 * libiberty.texi: Update to GFDL 1.2.
403 2003-01-30 Christian Cornelssen <ccorn@cs.tu-berlin.de>
405 * Makefile.in (libiberty_topdir): New subst.
406 (mkinstalldirs): Redefine in terms of the above.
407 * configure.in: AC_SUBST it.
408 * configure: Regenerate.
410 2003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de>
412 * Makefile.in (all-subdir, check-subdir, installcheck-subdir)
413 (info-subdir, install-info-subdir, clean-info-subdir)
414 (dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
415 (clean-subdir, distclean-subdir, maintainer-clean-subdir):
416 Pass $(FLAGS_TO_PASS).
418 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
420 * Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
421 /`$$CC -print-multi-os-directory`.
423 2003-01-26 Daniel Jacobowitz <drow@mvista.com>
425 * hashtab.c (htab_create_alloc_ex): New function.
426 (hatab_set_functions_ex): New function.
427 (htab_delete, htab_expand): Support alternate allocation functions.
429 2003-01-24 Christopher Faylor <cgf@redhat.com>
431 * configure.in: Remove special pex-cygwin consideration.
432 * configure: Regenerate.
433 * pex-cygwin.c: Remove.
434 * Makefile.in: Remove pex-cygwin.[co] lines.
436 2003-01-24 Zack Weinberg <zack@codesourcery.com>
438 * Makefile.in (CFILES): Add pex-*.c.
439 (REQUIRED_OFILES): Change pexecute.o to @pexecute@
440 (CONFIGURED_OFILES): Add pex-*.o.
441 (TEXIFILES): Add pexecute.txh.
442 (pexecute.o): Delete rule.
443 (pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o,
444 pex-unix.o, pex-win32.o): New rules.
445 * configure.in: Change AC_INIT argument to xmalloc.c.
446 Compute appropriate pexecute implementation and substitute it
449 * pexecute.c: Split up into...
450 * pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c,
451 pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these
454 * functions.texi: Regenerate.
455 * configure: Regenerate.
457 2003-01-20 Josef Zlomek <zlomekj@suse.cz>
459 * hashtab.c (htab_expand): Fix allocation of new entries.
461 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
463 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
465 * Makefile.in (install_to_libdir, install_to_tooldir): Add a
466 mkinstalldirs command.
468 2002-12-04 Danny Smith <dannysmith@users.sourceforge.net>
470 * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
471 Define for hosts with HOST_EXECUTABLE_SUFFIX.
473 2002-11-24 Nick Clifton <nickc@redhat.com>
475 * make-relative-prefix.c (make_relative_prefix): Ensure return
476 string is empty before using strcat to construct it.
478 2002-11-22 Daniel Jacobowitz <drow@mvista.com>
480 * Makefile.in: Add make-relative-prefix.c.
481 * make-relative-prefix.c: New file.
482 * functions.texi: Rebuilt.
484 2002-11-16 Jakub Jelinek <jakub@redhat.com>
486 * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
487 used with arguments in traditional C' warnings.
489 2002-10-16 Jakub Jelinek <jakub@redhat.com>
491 * config.table: Use mh-s390pic for s390x too.
493 2002-10-06 Andreas Jaeger <aj@suse.de>
495 * libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded
496 variable and of strict-aliasing warning.
497 (grow_vect): Use char as first parameter.
499 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
501 * Makefile.in (all): Fix multilib parallel build.
503 2002-09-19 John David Anglin <dave@hiuly1.hia.nrc.ca>
505 * cp-demangle.c (demangling_new): Cast 0 to enum.
506 (demangle_char): Cast return of strdup to char *.
507 (is_gnu_v3_mangled_ctor): Cast 0 to enum.
508 (is_gnu_v3_mangled_dtor): Likewise.
509 * cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
510 (work_stuff_copy_to_from): Cast return of xmalloc to char **.
511 * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
512 * md5.c (md5_process_bytes): Cast results back to const void *.
513 (md5_process_block): Add cast to const md5_uint32 *.
514 * regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
515 * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
517 * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
519 * vasprintf.c (int_vasprintf): Cast return of malloc to char *.
521 2002-09-19 Nick Clifton <nickc@redhat.com>
523 * README: Update email addresses for bugs and patches.
525 2002-09-10 Mike Stump <mrs@apple.com>
527 * splay-tree.c (splay_tree_successor): Fix comments.
529 2002-09-11 Zack Weinberg <zack@codesourcery.com>
531 * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
532 * testsuite/Makefile.in: Adjust for test-demangle.
533 * testsuite/regress-demangle: Deleted.
534 * testsuite/test-demangle.c: New file.
535 * testsuite/demangle-expected: Change \$ to $ throughout, now that
536 this file is not being read by a shell script.
538 2002-09-05 Roger Sayle <roger@eyesopen.com>
540 * regex.c: Only use "#pragma alloca" on AIX when not using gcc.
542 2002-08-07 DJ Delorie <dj@redhat.com>
544 * regex.c (re_error_msgid): Just use a simple array of strings.
545 (re_compile_pattern): Compensate.
548 (regerror): Likewise.
550 2002-07-29 Neil Booth <neil@daikokuya.co.uk>
552 * cplus-dem.c (PREPEND_BLANK): Remove.
554 2002-07-10 Jason Merrill <jason@redhat.com>
556 * cp-demangle.c (demangle_identifier): Support extended Unicode
559 2002-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
561 * cp-demangle.c (demangle_v3_with_details): Wrap in
562 !defined IN_GLIBCPP_V3.
564 2002-07-01 Mark Mitchell <mark@codesourcery.com>
566 * cp-demangle.c (demangle_operator_name): Add type_arg parameter.
567 Set it for the "st" operator.
568 (demangle_expression): Handle expressions with types as arguments.
570 2002-06-30 Douglas Rupp <rupp@gnat.com>
572 * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
573 * Makefile.in (OUTPUT_OPTION): Use.
575 2002-06-22 Peter Breitenlohner <peb@mppmu.mpg.de>
577 * Makefile.in (install_to_libdir): Add $(DESTDIR).
578 (install_to_tooldir): Likewise.
580 2002-06-17 Douglas Rupp <rupp@gnat.com>
582 * lbasename.c: Add 2002 to copyright.
583 (IS_DIR_SEPARATOR): Remove VMS junk.
585 2002-06-05 Geoffrey Keating <geoffk@redhat.com>
587 * hashtab.c (htab_create): New stub function for backward
589 (htab_try_create): Likewise.
591 2002-06-03 Geoffrey Keating <geoffk@redhat.com>
593 * hashtab.c (htab_create): Delete.
594 (htab_try_create): Delete.
595 (htab_create_alloc): New.
596 (htab_delete): Support user-specified memory allocation.
597 (htab_expand): Likewise.
599 2002-05-22 Roman Lechtchinsky <rl@cs.tu-berlin.de>
601 * configure.in: Fix typo in the code checking for sys_errlist.
602 * configure: Regenerated.
604 2002-05-13 Andreas Schwab <schwab@suse.de>
606 * config.table: Use mh-x86pic also for x86-64.
608 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
610 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
611 script entry, and set LD to it when configuring multilibs.
612 * configure: Rebuilt.
614 2002-05-07 Mark Mitchell <mark@codesourcery.com>
616 * configure.in (AC_TYPE_PID_T): Use it.
617 * configure: Regenerated.
618 * getruntime.c: Include <sys/types.h>.
619 * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid".
621 2002-04-09 Richard Henderson <rth@redhat.com>
623 * hashtab.c (higher_prime_number): Use 7 as minimum.
624 (find_empty_slot_for_expand): Don't compute hash2 unless needed.
625 (htab_find_slot_with_hash): Likewise.
627 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
629 * cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
630 (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally
631 not compile if IN_GLIBCPP_V3 defined.
632 * dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme.
634 2002-03-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
636 * cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
639 2002-03-27 DJ Delorie <dj@redhat.com>
641 * hex.c: Add documentation.
642 (_hex_value): Provide non-ASCII empty table.
643 (hex_init): Initialize the non-ASCII table.
644 * functions.texi: Regenerate.
646 2002-03-27 Mark Mitchell <mark@codesourcery.com>
648 * dyn-string.c: Add libgcc exception to copyright notice.
650 2002-03-26 H.J. Lu (hjl@gnu.org)
652 * config.table: Support --with-build-subdir.
653 * configure.in: Likewise.
654 * configure: Rebuild.
656 2002-03-18 Stuart Griffith <Stuart_Griffith@credence.com>
658 * strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
661 2002-03-12 Mark Mitchell <mark@codesourcery.com>
663 * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
666 2002-03-11 Douglas B Rupp <rupp@gnat.com>
668 * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
670 2002-03-06 Jim Blandy <jimb@redhat.com>
672 * splay-tree.c (splay_tree_xmalloc_allocate,
673 splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
674 prototyped definitions. Mark `data' arguments as unused.
676 2002-03-06 Andrew Cagney <ac131313@redhat.com>
678 * floatformat.c (floatformat_arm_ext_big): Delete definition.
680 2002-03-04 Phil Edwards <pme@gcc.gnu.org>
682 * configure.in: Add --enable-install-libiberty option.
683 * Makefile.in (INSTALLED_HEADERS): New variable.
684 (install_to_libdir): Possibly also copy headers.
685 * configure: Regenerated.
687 2002-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
689 * xmalloc.c (xmalloc_fail): Clarify error message further.
691 2002-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
693 * xmalloc.c (xmalloc_fail): Clarify error message.
695 2002-02-22 Jim Blandy <jimb@redhat.com>
697 * splay-tree.c (splay_tree_xmalloc_allocate,
698 splay_tree_xmalloc_deallocate): New functions.
699 (splay_tree_new): Call splay_tree_new_with_allocator, passing the
700 above functions and a dummy data pointer.
701 (splay_tree_new_with_allocator): New function.
702 (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
703 splay_tree_remove): Use the splay tree's allocation and
704 deallocation functions.
706 2002-02-19 Scott Snyder <snyder@fnal.gov>
708 * testsuite/demangle-expected: Add test case for infinite loop in
710 * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
711 if do_type() doesn't make any progress --- prevents an infinite
714 2002-02-18 Carlo Wood <carlo@gnu.org>
717 * cplus-dem.c (demangle_integral_value): Accept multi-digit
718 numbers that do not start with an underscore; This is needed
719 for integer template parameters. This doesn't break anything
720 because multi-digit numbers are never followed by a digit.
721 * testsuite/demangle-expected: Corrected all mangled test
722 cases with multi-digit template parameters: g++ 2.95.x does
723 not generate underscores around these parameters.
725 2002-02-05 Jason Merrill <jason@redhat.com>
727 * cplus-dem.c (flags): Add DMGL_VERBOSE
728 (cplus_demangle_v3_p): Remove.
729 (demangle_it): Add DMGL_TYPES to passed flags.
730 * cp-demangle.c (cplus_demangle_v3_all): Remove.
731 (cplus_demangle_v3_type): Remove.
732 (cplus_demangle_v3): Add options parm.
734 2002-02-02 H.J. Lu (hjl@gnu.org)
736 * cp-demangle.c (cp_demangle_type): Do not protect with
738 (cplus_demangle_v3_all): New.
739 (cplus_demangle_v3): Call cplus_demangle_v3_all.
740 (cplus_demangle_v3_type): Call cplus_demangle_v3_all.
742 * cplus-dem.c (cplus_demangle_v3_p): New function pointer.
743 Initialized to cplus_demangle_v3.
744 (cplus_demangle_with_style): Call cplus_demangle_v3_p instead
745 of cplus_demangle_v3.
746 (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
749 * testsuite/regress-demangle: Pass the mangled name at the
752 2002-02-01 H.J. Lu <hjl@gnu.org>
754 * cp-demangle.c (cp_demangle_type): Call demangling_new with
757 2002-01-31 Phil Edwards <pme@gcc.gnu.org>
759 * cp-demangle.c: Revert yesterday's change.
761 2002-01-31 Adam Megacz <adam@xwt.org>
763 * gcc/libiberty/configure.in: Treat mingw the same as cywin
764 wrt HAVE_SYS_ERRLIST.
766 2002-01-30 Phil Edwards <pme@gcc.gnu.org>
768 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
769 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on
771 * testsuite/demangle-expected: New gnu-v3 test.
773 2002-01-22 Momchil Velikov <velco@fadata.bg>
775 * configure.in (variable detection): Use arrays of unspecified
776 size instead of plain integers.
778 2002-01-18 DJ Delorie <dj@redhat.com>
780 * Makefile.in (TESTLIB): New. This library is for future
782 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
783 break down by letter.
784 (REQUIRED_OFILES): List long-to-compile files first.
785 (maint-deps): New, target for updating dependencies.
786 (dependencies): Update.
787 * maint-tool: Add dependency-generating option.
788 * configure.in: Check for _doprnt even if we're not providing it.
789 * configure: Regenerate.
791 * _doprnt.c: Modifications to allow compiling on any platform.
792 * copysign.c: Likewise.
793 * putenv.c: Likewise.
794 * setenv.c: Likewise.
795 * vsprintf.c: Likewise.
797 2002-01-15 Douglas B Rupp <rupp@gnat.com>
799 * mkstemps.c (mkstemps): On VMS, open temp file with option
800 that causes it to be deleted when closed.
802 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
804 * cp-demangle.c (long_options): Const-ify.
805 * cplus-dem.c (long_options): Likewise.
807 * cplus-dem.c (mystrstr): Delete. All callers changed to use
810 2001-12-31 Ira Ruben <ira@apple.com>
812 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
813 * configure: Regenerated.
815 2001-12-24 Douglas B. Rupp <rupp@gnat.com>
817 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
818 * configure: Regenerated.
820 2001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
823 * cplus-dem.c (consume_count): Treat negative count as an error.
824 * testsuite/demangle-expected: Added testcase.
826 Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
828 * configure.in: Hardcode that vfork works on VMS host.
829 * configure: Regenerated.
831 2001-12-06 Richard Henderson <rth@redhat.com>
833 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
834 (cplus_demangle): Support no_demangling.
836 2001-11-27 Zack Weinberg <zack@codesourcery.com>
838 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
839 in libiberty context. Fix typo in leading comment.
840 * configure.in: Fix various AC_DEFINEs so autoheader works.
841 If any of vprintf, vsprintf, vfprintf is missing from libc,
842 then AC_REPLACE_FUNCS(_doprnt).
844 2001-11-26 DJ Delorie <dj@redhat.com>
845 Daniel Jacobowitz <drow@mvista.com>
847 * Makefile.in (stamp-h): Depend on Makefile for proper
849 (*-subdir): Depend on config.h for proper serialization.
851 2001-11-26 DJ Delorie <dj@redhat.com>
853 * configure.in: Check for alloca.h (for regex.c and putenv.c).
854 * configure: Regenerate.
855 * config.h: Add HAVE_ALLOCA_H.
857 2001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
859 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
860 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
863 Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
865 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
866 * configure.in (HAVE_UINTPTR_T): Test for system defining
867 uintptr_t and define HAVE_UINTPTR_T appropriately.
868 * regex.c (uintptr_t): Do not provide a definition if the
871 * regex.c (PREFIX): Provide an alternate definition for
872 non-ANSI/ISO compilers.
873 (ARG_PREFIX): Likewise.
875 2001-11-12 Jim Meyering <meyering@lucent.com>
877 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
878 this code would end up calling gettext even in packages built
880 * getopt.c (_): Likewise.
881 * regex.c (_): Likewise.
883 2001-11-03 Alan Modra <amodra@bigpond.net.au>
885 * configure.in: Cope with missing makeinfo.
886 * configure: Regenerate.
888 2001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
890 * hex.c (hex_init): Provide empty stub.
892 * hex.c (hex_init): Delete.
893 (_hex_value): Const-ify and initialize at compile-time.
895 2001-10-19 H.J. Lu <hjl@gnu.org>
897 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
900 2001-10-17 DJ Delorie <dj@redhat.com>
902 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
903 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
904 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
905 Improve manual formatting.
906 * functions.texi: Regenerate.
908 2001-10-15 DJ Delorie <dj@redhat.com>
910 * Makefile.in (TEXIFILES): Add fnmatch.txh.
912 maint-tool: Add "undoc" tool.
913 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
914 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
915 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
916 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
919 * functions.texi: Regenerate.
921 2001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
923 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
924 * strtod.c: Use "ISO C" instead of "ANSI C".
925 * functions.texi: Regenerate.
927 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
929 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
930 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
931 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
932 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
933 spelling. Give names to function arguments in documentation. Use
934 (void) prototypes in documentation.
935 * functions.texi: Regenerate.
937 2001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
939 * argv.c (buildargv, tests, main): Const-ify.
940 * cp-demangle.c (operator_code): Likewise.
941 * cplus-dem.c (optable, libiberty_demanglers,
942 cplus_demangle_set_style, cplus_demangle_name_to_style,
943 print_demangler_list): Likewise.
944 * hashtab.c (higher_prime_number): Likewise.
945 * strcasecmp.c (charmap): Likewise.
946 * strerror.c (error_info, strerror, main): Likewise.
947 * strncasecmp.c (charmap): Likewise.
948 * strsignal.c (signal_info): Likewise.
950 2001-09-29 DJ Delorie <dj@redhat.com>
952 * configure: Regenerate.
954 2001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
956 * concat.c: Include stdlib.h.
958 2001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
960 * libiberty.texi: (Top level): Add syncodeindex pg. Add
961 @dircategory and @direntry directives. Add @finalout.
962 (many nodes): Lose the next,prev,up pointers on the @nide line.
963 (Using, Supplemental Functions, Replacement Functions): Fix
965 (Functions): Move around, to allow makeinfo to build the manual
966 without next,prev,up pointers in thye node lines.
967 (Licenses): Fix typos.
969 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
970 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
971 * functions.texi: Regenerate.
973 * copying-lib.texi: Lose the next,prev,up pointers on the @node
976 2001-09-27 DJ Delorie <dj@redhat.com>
978 * configure.in: Don't use in-tree texinfo, because libiberty must
979 be built before it. Check for makeinfo version 4 or higher.
980 * functions.texi: Regenerate.
982 2001-09-20 DJ Delorie <dj@redhat.com>
983 Phil Edwards <pedwards@disaster.jaj.com>
985 * configure.in (MAKEINFO, PERL): Detect these.
986 (--enable-maintainer-mode): Add.
987 * configure: Regenerate.
988 * Makefile.in (MAKEINFO, PERL): Define.
989 (libiberty.info, libiberty.dvi, libiberty.html): New.
990 (CFILES): Add bsearch.c.
991 (CONFIGURED_OFILES): New, list of objects configure might add.
992 (maint-missing, maint-buildall): New, for maintainers only.
993 (clean, mostlyclean): Add info/dvi/html files.
994 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
995 * gather-docs: New, for maintainers.
996 * maint-tool: New, for maintainers.
997 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
998 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
999 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
1000 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
1001 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
1002 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
1003 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
1004 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
1007 2001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1009 * concat.c (reconcat): Fix for traditional C.
1011 2001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1013 * concat.c (reconcat): New function.
1015 2001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1017 * concat.c (vconcat_length, vconcat_copy, concat_length,
1018 concat_copy, concat_copy2): New functions.
1019 (concat): Use vconcat_length/vconcat_copy.
1021 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
1024 2001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1026 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
1027 VA_FIXEDARG & VA_CLOSE.
1029 * vasprintf.c: Check HAVE_STRING_H when including string.h.
1030 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
1031 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
1033 2001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1035 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
1037 2001-08-23 Ulrich Drepper <drepper@redhat.com>
1039 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
1041 2001-08-23 Ulrich Drepper <drepper@redhat.com>
1043 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
1045 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
1046 wcslen, and __wcscoll instead of wcscoll.
1048 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1050 * fibheap.c (fibheap_init, fibnode_init): Remove.
1051 (fibheap_new, fibnode_new): Use xcalloc to allocate and
1053 (fibheap_insert): Remove check for node allocation failure.
1055 2001-08-21 Richard Henderson <rth@redhat.com>
1057 * Makefile.in (fibheap.o): Depend on config.h.
1058 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
1059 functions for inlining.
1061 Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
1063 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
1065 * configure: Regenerate.
1067 2001-08-20 Andrew Cagney <ac131313@redhat.com>
1069 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
1070 HARRIS_FLOAT_FORMAT.
1071 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
1072 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
1073 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
1074 (floatformat_m88110_harris_ext): New float formats.
1076 2001-08-20 Daniel Berlin <dan@cgsoftware.com>
1078 * fibheap.c: New file. Fibonacci heap.
1080 * Makefile.in (CFILES): Add fibheap.c.
1081 (REQUIRED_OFILES): Add fibheap.o.
1082 (fibheap.o): Add dependencies for fibheap.o.
1084 2001-08-17 Christopher Faylor <cgf@cygnus.com>
1086 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
1087 * configure: Regenerate.
1089 2001-08-16 Richard Henderson <rth@redhat.com>
1091 * hashtab.c (htab_hash_string): New.
1093 2001-08-13 Andrew Cagney <ac131313@redhat.com>
1095 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
1098 2001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
1100 * regex.c (wcs_regex_compile): Use appropriate string
1101 to compare with collating element.
1102 Fix the padding for the alignment.
1104 2001-08-10 Andrew Cagney <ac131313@redhat.com>
1106 * lbasename.c (lbasename): Change function definition to return a
1109 2001-08-07 Jason Merrill <jason_merrill@redhat.com>
1111 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
1114 2001-08-03 Richard Henderson <rth@redhat.com>
1116 * Makefile.in (concat.o): Depend on config.h.
1118 2001-07-30 Andreas Jaeger <aj@suse.de>
1120 * concat.c: Include "config.h".
1122 2001-07-30 Andreas Jaeger <aj@suse.de>
1124 * regex.c: Declare wcs functions only if compiling with
1126 Don't use #elif for traditional C.
1128 2001-07-23 Ulrich Drepper <drepper@redhat.com>
1130 * regex.c: Revamp memory allocation for WCHAR functions to
1131 not use too much stack.
1133 2001-07-30 Andreas Jaeger <aj@suse.de>
1135 * regex.c: Declare wcs functions only if compiling with
1137 Don't use #elif for traditional C.
1139 2001-07-25 Daniel Jacobowitz <drow@mvista.com>
1141 * Makefile.in (regex.o): Add dependency on config.h.
1143 2001-07-18 Andreas Schwab <schwab@suse.de>
1145 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
1146 underscore character.
1148 2001-07-18 Ulrich Drepper <drepper@redhat.com>
1150 * regex.c: Limit string length printed in debug messages to 100
1153 2001-07-18 Andreas Jaeger <aj@suse.de>
1155 * regex.c: Place under LGPL version 2.1.
1157 2001-07-10 Jeff Johnston <jjohnstn@redhat.com>
1159 * Makefile.in: Add support for regex code.
1160 * regex.c: New file.
1162 2001-07-05 Mark Klein <mklein@dis.com>
1164 * Makefile.in: Add ffs.c dependency.
1165 * configure.in: Add ffs.c.
1168 2001-06-18 Richard Henderson <rth@redhat.com>
1170 * concat.c: Include <sys/types.h>.
1172 2001-06-11 Loren J. Rittle <ljrittle@acm.org>
1175 * strerror.c (sys_nerr): Hide the OS header version.
1176 * strsignal.c (sys_nsig): Likewise.
1178 2001-06-10 Richard Henderson <rth@redhat.com>
1180 * concat.c: Include string.h. Fix int vs size_t usage.
1181 Simplify the iteration loops. Use memcpy.
1183 2001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1185 * partition.c: Fix misspelling of `implementation'.
1187 2001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1189 * md5.c (md5_init_ctx): Declare constants as unsigned.
1190 (md5_process_block): Likewise.
1192 2001-05-07 Zack Weinberg <zackw@stanford.edu>
1194 * cp-demangle.c (demangle_v3_with_details,
1195 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
1196 function definition.
1197 * ternary.c: Use K+R style function definitions. Use PTR, not
1198 void *. Make arguments constant where possible.
1200 2001-05-07 Mark Mitchell <mark@codesourcery.com>
1202 * splay-tree.h (splay_tree_max): New function.
1203 (splay_tree_min): Likewise.
1205 2001-04-15 Daniel Berlin <dan@cgsoftware.com>
1207 * ternary.c: New file - Ternary search tree implementation.
1209 * Makefile.in: Add ternary.o, and ternary.c dependencies.
1211 2001-04-03 Zack Weinberg <zackw@stanford.edu>
1213 * make-temp-file.c (try): Inline.
1215 2001-02-28 Richard Henderson <rth@redhat.com>
1217 * Makefile.in (make-temp-file.o): Depend on config.h.
1219 2001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1221 * memchr.c (memchr): Adjust condition to avoid infinite loop.
1223 2001-03-23 Jakub Jelinek <jakub@redhat.com>
1225 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
1226 `_' not followed by a digit is invalid.
1228 2001-03-22 Jim Blandy <jimb@redhat.com>
1230 * cp-demangle.c (string_list_delete): Use dyn_string_delete
1231 instead of free, to free the contents as well as the string
1234 2001-03-21 Zack Weinberg <zackw@stanford.edu>
1236 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
1237 Don't default P_tmpdir to anything. Try /var/tmp before
1240 2001-03-20 Zack Weinberg <zackw@stanford.edu>
1242 * choose-temp.c: Split off make_temp_file, and the code
1243 duplicated between it and choose_temp_base, into...
1244 * make-temp-file.c: ... here; new file.
1246 * Makefile.in (CFILES): Add make-temp-file.c.
1247 (REQUIRED_OFILES): Add make-temp-file.o.
1249 2001-03-20 Jim Blandy <jimb@redhat.com>
1251 * cp-demangle.c (struct demangling_def): New fields:
1252 is_constructor and is_destructor.
1253 (demangling_new): Initialize them.
1254 (demangle_ctor_dtor_name): Set them, if we detect a constructor
1256 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
1257 is_gnu_v3_mangled_dtor): New functions.
1259 2001-03-20 Jason Merrill <jason@redhat.com>
1261 * cplus-dem.c (main): Skip initial $.
1263 2001-03-15 Michael Meissner <meissner@redhat.com>
1265 * hashtab.c (higher_prime_number): Silence warning that 4294967291
1266 might be a signed integer under pre-ISO C systems.
1268 2001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
1269 John David Anglin <dave@hiauly1.hia.nrc.ca>
1271 * libiberty/lbasename.c: New file.
1272 * libiberty/Makefile.in: Update for lbasename.
1274 2001-03-06 Zack Weinberg <zackw@stanford.edu>
1276 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
1277 * configure.in: Replace all alloca logic with a simple use of
1278 the above new macro.
1279 * config.table: Kill *-*-beos* entry.
1280 * config/mh-beos: Delete.
1281 * configure, config.in: Regenerate.
1283 * Makefile.in (ALLOCA, HFILES): Kill.
1284 (REQUIRED_OFILES): Add alloca.o.
1285 (alloca.o): Depend on libiberty.h.
1286 (argv.o): Don't depend on alloca-conf.h.
1287 * alloca-conf.h: Delete.
1288 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
1289 blocks. Provide the C alloca unconditionally. Use PTR where
1290 appropriate. Make i00afunc static.
1291 * argv.c: Don't include alloca-conf.h.
1293 2001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1295 * cplus-dem.c (main): Cast enum style to int.
1297 2001-02-16 Loren J. Rittle <ljrittle@acm.org>
1299 * cplus-dem.c (main): Initialize style.
1301 2001-02-02 Phil Edwards <pme@sources.redhat.com>
1303 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
1305 2001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
1307 Add support for Java demangling under the v3 ABI:
1308 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
1309 (struct demangling_def): Add `style' field.
1310 (demangling_new): New parameter `style'. Set it in demangling_t.
1311 (demangle_prefix): Use NAMESPACE_SEPARATOR.
1312 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
1313 (cp_demangle): New parameter `style'. Pass it to demangling_new().
1314 (main): Call cp_demangle with extra parameter.
1315 (java_demangle_v3): New function.
1316 (java_builtin_type_names): New. Table of primitive type names used
1317 for Java demangling.
1318 (demangle_builtin_type): Look up in java_builtin_type_names if doing
1320 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
1322 (long_options): Remove obsolete `java' option.
1323 (main): Remove explicit handling of `java' option. Instead, pass style
1324 parameter in cplus_demangle flags as gdb does.
1325 * testsuite/demangle.expected: Add some Java test cases.
1327 2000-12-29 DJ Delorie <dj@redhat.com>
1329 * fnmatch.c: Make the note about the origins of this file more
1330 accurate, at least until we can sync with glibc.
1336 2000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1338 * bsearch.c: New file.
1339 * configure.in (funcs): Add bsearch.
1340 (AC_CHECK_FUNCS): Likewise.
1341 * configure, config.in: Regenerate.
1343 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1345 * safe-ctype.c: #include "ansidecl.h".
1346 * strtod.c: Likewise.
1348 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1350 * strtoul.c: Include safe-ctype.h, not ctype.h.
1352 2000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
1354 * safe-ctype.c: New file.
1355 * Makefile.in (CFILES): Add safe-ctype.c.
1356 (REQUIRED_OFILES): Add safe-ctype.o.
1358 * argv.c: Define ISBLANK and use it, not isspace.
1359 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
1360 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
1361 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
1362 before calling TOLOWER(c)/TOUPPER(c).
1364 2000-12-07 Mike Stump <mrs@wrs.com>
1366 * Makefile.in (distclean): When cleaning, remove testsuite.
1368 2000-12-05 Jason Merrill <jason@redhat.com>
1370 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
1371 name before allocating the dyn_string.
1373 2000-12-04 Jason Merrill <jason@redhat.com>
1375 * cp-demangle.c: s/new_abi/v3/.
1376 * cplus-dem.c: Likewise.
1377 (current_demangling_style): Now auto_demangling.
1378 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
1379 (main): Use standard symbol chars for auto_demangling.
1381 2000-11-26 Mark Mitchell <mark@codesourcery.com>
1383 * hashtab.c (higher_prime_number): Use a table, rather than a
1384 seive, to find the next prime.
1386 2000-11-22 H.J. Lu <hjl@gnu.org>
1388 * cplus-dem.c (main): Handle gnat_demangling.
1390 2000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
1392 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
1393 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
1394 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
1395 argument form of AC_DEFINE in dummy definitions block. Use
1396 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
1397 in dummy block. Preload cache variables instead of bypassing
1398 tests, where possible.
1399 * acconfig.h: Removed.
1401 * xmalloc.c (xmalloc_failed): New function, does error
1402 reporting on failed allocation.
1403 (xmalloc, xcalloc, xrealloc): Use it.
1405 2000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
1407 * cplus-dem.c (cplus_demangle): Fix formatting.
1409 (ada_demangle): Ditto.
1410 (internal_cplus_demangle): Ditto.
1413 2000-11-21 H.J. Lu <hjl@gnu.org>
1415 * cplus-dem.c (main): Handle java_demangling.
1417 2000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1419 * cplus-dem.c (grow_vect): Prototype.
1420 (ada_demangle): Cast the arg of ctype macros to unsigned char.
1422 2000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
1424 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
1427 2000-11-15 Kenneth Block <kenneth.block@compaq.com>
1429 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
1432 2000-11-15 Kenneth Block <kenneth.block@compaq.com>
1434 * cplus-dem.c: Add gnat demangler. Add java to demangle style
1437 2000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
1439 * hashtab.c (htab_expand): Change to return int. Use calloc or
1440 xcalloc depending on htab->return_allocation_failure. Return zero
1442 (htab_create): Update comment to cover memory allocation.
1443 (htab_try_create): New.
1444 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
1445 Update comment to cover this.
1447 2000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
1449 * hashtab.c: Change void * to PTR where necessary.
1450 (htab_create, htab_expand): Correct formatting of comment before
1453 2000-10-22 Alex Samuel <samuel@codesourcery.com>
1455 * cp-demangle.c (string_list_def): Add caret_position and comments.
1456 (result_caret_pos): New macro.
1457 (result_append_string): Rename to...
1458 (result_add_string): ... this, and insert at caret position.
1460 (result_append): Rename to...
1461 (result_add): ... this, and insert at caret position. Rename
1463 (result_append_char): Rename to...
1464 (result_add_char): ... this, and insert at caret position. Rename
1466 (result_append_space): Remove.
1467 (string_list_new): Initialize caret position.
1468 (result_add_separated_char): Use caret position.
1469 (result_get_caret): New funtion.
1470 (result_set_caret): Likewise.
1471 (result_shift_caret): Likewise.
1472 (result_previous_char_is_space): Likewise.
1473 (substitution_start): Use caret position.
1474 (substitution_add): Likewise.
1475 (demangling_new): Initialize caret position.
1476 (demangle_encoding): Use caret position.
1477 (demanglin_nested_name): Put CV qualifiers after name.
1478 (demangle_type_ptr): Use switch statement. Handle pointers to
1479 arrays. Don't use result_append_space. Use caret position.
1480 (demangle_type): Emit CV qualifiers after underlying type. Adjust
1481 call to demangle_array_type.
1482 (demangle_array_type): Add parameter to handle pointers to arrays.
1484 2000-10-01 Mark Mitchell <mark@codesourcery.com>
1486 * splay-tree.c (splay_tree_insert): Fix formatting.
1488 2000-09-16 Mark Mitchell <mark@codesourcery.com>
1490 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
1492 2000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1494 * splay-tree.c: #include <stdio.h>.
1496 2000-09-14 Hans-Peter Nilsson <hp@axis.com>
1498 * testsuite/demangle-expected: Add two tests for anonymous
1500 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
1502 2000-09-10 Mark Mitchell <mark@codesourcery.com>
1504 * splay-tree.c (splay_tree_predecessor): New function.
1505 (splay_tree_successor): Likewise.
1507 2000-09-10 Hans-Peter Nilsson <hp@axis.com>
1509 * testsuite/demangle-expected: Add four tests for type_info
1511 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
1512 for a non-template non-qualified type_info function or node.
1514 2000-09-08 Alex Samuel <samuel@codesourcery.com>
1516 * cp-demangle.c: Fix copyright banner.
1518 2000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1520 * md5.c: #include "ansidecl.h".
1522 2000-09-06 Alex Samuel <samuel@codesourcery.com>
1524 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
1525 (demangle_type): Handle substitution candidates correctly in the
1526 face of special substitutions.
1528 2000-09-05 Alex Samuel <samuel@codesourcery.com>
1530 * cp-demangle.c (demangle_encoding): Rename variable.
1531 (demangle_name): Rename parameter. Handle return type
1533 (demangle_nested_name): Rename parameter.
1534 (demangle_prefix): Likewise. Change return type suppression.
1535 (demangle_unqualified_name): Add parameter. Flag constructors and
1536 conversion operators.
1537 (demangle_special_name): Fix comment.
1538 (demangle_type): Rename variable.
1539 (demangle_bare_function_type): Check for missing return type and
1541 (demangle_class_enum_type): Rename parameter.
1542 (demangle_discriminator): Fix misspelling in comment.
1544 2000-08-31 DJ Delorie <dj@redhat.com>
1546 * configure.in (Cygwin): special case cygwin only when we're
1547 building cygwin, not when we're hosting cygwin.
1549 2000-09-04 Alex Samuel <samuel@codesourcery.com>
1551 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
1554 2000-09-04 Alex Samuel <samuel@codesourcery.com>
1556 * cp-demangle.c (demangle_type_ptr): Increment position past
1557 pointer and reference characters.
1559 2000-09-04 Alex Samuel <samuel@codesourcery.com>
1561 * cp-demangle.c (demangle_nv_offset): New function.
1562 (demangle_v_offset): Likewise.
1563 (demangle_call_offset): Likewise.
1564 (demangle_special_name): Update thunk demangling to comply with
1567 2000-09-03 Alex Samuel <samuel@codesourcery.com>
1569 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
1570 (substitution_def): Remove template_parm_number.
1571 (NOT_TEMPLATE_PARM): Remove.
1572 (result_insert_string): New macro.
1573 (result_insert): Likewise.
1574 (result_insert_char): Likewise.
1575 (substitution_add): Remove last parameter. Don't store template
1577 (BFT_NO_RETURN_TYPE): Define as NULL.
1578 (demangle_encoding): Adjust call to demangle_bare_function_type.
1579 (demangle_name): Adjust substitution. Adjust call to
1581 (demangle_prefix): Adjust call to substitution_add.
1582 (demangle_identifier): Handle anonymous namespaces.
1583 (demangle_operator_name): Change demangling of vendor-extended
1584 operator to match ABI changes.
1585 (demangle_type_ptr): Change parameters. Make recursive. Handle
1587 (demangle_type): Adjust calls to demangle_template_param,
1588 substitution_add, and demangle_type_ptr. Fix substitution of
1590 (demangle_function_type): Change parameter to a pointer.
1591 (demangle_bare_function_type): Likewise. Adjust insertion point.
1592 (demangle_template_param): Remove last parameter.
1593 (demangle_expr_primary): Remove unused variable. Adjust call to
1594 demangle_template_param.
1595 (is_mangled_char): Accept `$' and `.'.
1596 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
1597 * dyn-string.c (dyn_string_insert_char): New function.
1599 2000-08-31 Hans-Peter Nilsson <hp@axis.com>
1601 * testsuite/demangle-expected: Add nine tests for
1602 underscore-after-number followed by five tests for name-signature
1605 2000-08-28 Richard Henderson <rth@cygnus.com>
1607 * Makefile.in (md5.o): Depend on config.h.
1609 2000-08-28 Jason Merrill <jason@redhat.com>
1611 * Makefile.in (REQUIRED_OFILES): Add md5.o.
1612 (CFILES): Add md5.c.
1615 2000-08-27 Alex Samuel <samuel@codesourcery.com>
1617 * cp-demangle.c (demangle_name): Initialize template_p in local
1618 name case. Don't re-add substitutions as candidates.
1619 (demangle_nested_name): Use <unqualified-name>.
1620 (demangle_prefix): Likewise. Don't add template names as
1621 substitution candidates twice, or re-add a substitution or the
1622 last prefix component.
1623 (demangle_local_name): Adjust output format.
1625 2000-08-25 Alex Samuel <samuel@codesourcery.com>
1627 * cp-demangle.c (result_add_separated_char): Change parameter to
1629 (substitution_add): Don't check for duplicates. Check if
1630 previously allocated size is zero.
1631 (demangle_name): Remove duplicate check for std substitution.
1632 Clear template flag appropriately.
1633 (demangle_prefix): Remove argument to demangle_substitution.
1634 Don't check that template flag is already set.
1635 (demangle_operator_name): Add pt operator.
1636 (demangle_type): Don't treat r as built-in type. Remove argument
1637 to demangle_substitution. Fix substitution candidate mechanics.
1638 Handle <template-template-parm>s. Improve comments.
1639 (demangle_template_param): Don't handle template arg lists here.
1640 (demangle_substitution): Remove parameter.
1641 (print_usage): Remove extra fprintf option.
1643 2000-08-24 Greg McGary <greg@mcgary.org>
1645 * libiberty/random.c (end_ptr): Revert previous change.
1647 2000-08-24 Greg McGary <greg@mcgary.org>
1649 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
1650 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
1651 * libiberty/random.c (end_ptr): Likewise.
1653 2000-08-23 Alex Samuel <samuel@codesourcery.com>
1655 * cp-demangle.c (result_close_template_list): Remove function.
1656 (result_add_separated_char): New function.
1657 (result_open_template_list): New macro.
1658 (result_close_template_list): Likewise.
1659 (demangle_prefix): Don't set template_p if the
1660 prefix ends with a ctor name.
1661 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
1662 (demangle_type): Check for template args after substitution.
1663 (demangle_template_args): Use result_open_template_list.
1665 2000-08-02 Zack Weinberg <zack@wolery.cumb.org>
1667 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
1669 2000-07-26 Dave Pitts <dpitts@cozx.com>
1671 * config/mh-openedition.h: Added -DLE370 definition.
1673 2000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
1675 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
1676 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
1677 Cast program to 'char *' in errmsg_arg assignment.
1678 (PWAIT_ERROR): Define.
1679 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
1680 to DJGPP's WIF* macros.
1682 2000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
1683 Jeff Law <law@cygnus.com>
1685 * getcwd.c: Include string.h, stdlib.h for prototypes
1687 * Makefile.in (rename.o, waitpid.o): Depend on config.h
1688 * rename.c: Include config.h, unistd.h
1689 * waitpid.c: Include config.h, sys/wait.h
1691 2000-07-24 Hans-Peter Nilsson <hp@axis.com>
1693 * cplus-dem.c (work_stuff_copy_to_from): New.
1694 (delete_non_B_K_work_stuff): New.
1695 (delete_work_stuff): New.
1696 (mop_up): Break out work_stuff partly destruction to
1697 delete_non_B_K_work_stuff.
1698 (iterate_demangle_function): New.
1699 (demangle_prefix): Call iterate_demangle_function instead of
1700 demangle_function_name. Leave handling of name-signature
1701 __-delimiters to iterate_demangle_function.
1702 (demangle_integral_value): Strip an optional
1703 following underscore cautiously. Handle negative numbers.
1705 2000-07-24 Daniel Berlin <dberlin@redhat.com>
1707 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
1708 if (AUTO_DEMANGLING || GNU_DEMANGLING)
1710 2000-07-21 Alex Samuel <samuel@codesourcery.com>
1712 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
1713 allocating ctor mangling.
1714 (demangle_array_type): Handle empty and non-constant array length.
1716 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1717 Jeff Law <law@cygnus.com>
1719 * configure.in (AC_CHECK_HEADERS): Add time.h.
1720 (AC_HEADER_TIME): Add check.
1721 * configure, config.in: Regenerate.
1722 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
1724 * configure.in (AC_CHECK_HEADERS): Add limits.h.
1725 * configure, config.in: Regenerate.
1726 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
1727 * strtol.c, strtoul.c: #include "config.h". Portably #include
1728 <limits.h> and/or <sys/param.h>.
1729 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
1731 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
1732 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
1733 * configure, config.in: Regenerate.
1734 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
1736 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
1738 2000-07-21 Mike Stump <mrs@wrs.com>
1740 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
1741 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
1743 2000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1745 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
1747 * setenv.c (setenv): Initialize variable `ep'.
1749 * sigsetmask.c (abort): Prototype.
1751 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
1752 __STDC__ for stdarg.h include.
1753 (int_vasprintf): Prototype.
1754 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
1755 definition. Cast `global_total_width' in comparison.
1756 (main): Prototype. Return a value.
1758 * vfork.c (fork): Prototype.
1760 * xexit.c: Include config.h.
1762 2000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
1764 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
1765 and print it with %u.
1767 2000-07-17 Hans-Peter Nilsson <hp@axis.com>
1769 * testsuite/regress-demangle (failed test): Show result and
1772 2000-07-07 Andrew Haley <aph@cygnus.com>
1774 * cplus-dem.c (main): fflush() after emitting last char before
1777 2000-06-28 Alex Samuel <samuel@codesourcery.com>
1779 * cp-demangle.c (demangle_encoding): Accept no substitutions.
1780 (demangle_name): Handle <substitution> followed by
1781 <unqualified-template-name>.
1782 (demangle_type): Follow special substitutions with
1784 (demangle_subtitution): Set template_p for special substitutions.
1787 2000-06-27 Alex Samuel <samuel@codesourcery.com>
1789 * cp-demangle.c (demangle_special_name): Swap base and derived
1790 class when demangling construction vtables.
1792 2000-06-21 Alex Samuel <samuel@codesourcery.com>
1794 * cp-demangle.c: Don't include ctype.h.
1795 (IS_DIGIT): New macro.
1796 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
1797 instead of isdigit and isalpanum.
1798 (demangling_def): Make name and next const pointers.
1799 (STATUS_ALLOCATION_FAILED): New status code.
1800 (dyn_string_append_space): Handle failure in
1801 dyn_string_append_char.
1802 (int_to_dyn_string): Likewise. Change return value to status_t.
1803 (string_list_new): Handle failure of dyn_string_init.
1804 (result_close_template_list): Change return type to status_t.
1805 Handle failure in dyn_string_append.
1806 (result_push): Change return value to status_t. Handle failure in
1807 string_list_new. Handle failure of result_push throughout.
1808 (substitution_add): Change return value to status_t. Handle
1809 dyn_string failures. Handle failure of substitution_add
1811 (template_arg_list_new): Return NULL on allocation failure.
1812 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
1813 Handle error result throughout.
1814 (result_append): Likewise.
1815 (result_append_char): Likewise.
1816 (result_append_space): Likewise.
1817 (demangling_new): Make argument a const pointer. Handle
1818 allocation failures.
1819 (demangle_template_args): Handle failure in template_arg_list_new
1820 and result_close_template_list.
1821 (demangle_discriminator): Return if int_to_dyn_string fails.
1822 (cp_demangle): Likewise.
1823 (cp_demangle_type): New function.
1824 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
1825 memory allocation failure.
1827 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
1829 (dyn_string_init): Change return value to int. Handle
1830 RETURN_ON_ALLOCATION_FAILURE case.
1831 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
1832 (dyn_string_release): Delete the dyn_string.
1833 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
1834 (dyn_string_copy): Change return type to int.
1835 (dyn_string_copy_cstr): Likewise.
1836 (dyn_string_prepend): Likewise.
1837 (dyn_string_prepend_cstr): Likewise.
1838 (dyn_string_insert): Likewise.
1839 (dyn_string_insert_cstr): Likewise.
1840 (dyn_string_append): Likewise.
1841 (dyn_string_append_cstr): Likewise.
1842 (dyn_string_append_char): Likewise.
1843 (dyn_string_substring): Likewise.
1845 2000-06-09 Zack Weinberg <zack@wolery.cumb.org>
1847 * cp-demangle.c (demangle_operator_name): Add spaces before
1848 names beginning with a letter: delete, delete[], new, new[],
1850 (demangle_special_name): Handle TF <type> and TJ <type>.
1852 Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
1854 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
1856 Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
1858 * cp-demangle.c (stdio.h): File included unconditionaly.
1859 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
1860 * dyn-string.c (stdio.h): File included.
1861 * partition.c (partition_print): No `&' needed to take the address of
1864 2000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1866 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
1868 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
1870 * cp-demangle.c (demangle_char): Change parameter from char to int.
1871 (demangle_expression, demangle_expr_primary): Remove extra
1872 semi-colon in prototype.
1874 * dyn-string.c (dyn_string_append_char): Change parameter from
1877 * memcmp.c (memcmp): Constify.
1879 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
1882 * partition.c (elem_compare): Prototype. Don't cast away
1885 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
1887 2000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1889 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
1891 * cp-demangle.c: Include demangle.h.
1892 (template_arg_list_new): DeANSIfy.
1893 (cp_demangle): Make static and add prototype.
1894 (operator_code, operators): Constify.
1895 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
1897 2000-06-05 Alex Samuel <samuel@codesourcery.com>
1899 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
1901 (demangle_unqualified_name): Likewise.
1902 (demangle_number_literally): Likewise.
1903 (demangle_type): Likewise.
1904 (demangle_substitution): Likewise.
1905 (is_mangled_char): Likewise, for isalnum.
1907 2000-06-04 Alex Samuel <samuel@codesourcery.com>
1909 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
1910 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
1911 (cp-demangle.o): New dependency.
1912 (dyn-string.o): Likewise.
1914 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
1916 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
1918 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
1920 (gnu_new_abi_symbol_characters): New function.
1921 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
1923 * cp-demangle.c: New file.
1925 Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
1927 * floatformat.c: Add name to each floatformat field.
1929 Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
1931 * Makefile.in (objalloc.o): Depend on config.h
1933 2000-05-29 Zack Weinberg <zack@wolery.cumb.org>
1935 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
1937 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
1938 * objalloc.c: Include config.h. Include stdlib.h and don't
1939 declare malloc or free if HAVE_STDLIB_H.
1940 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
1941 else declare malloc without prototype. Include string.h if
1942 HAVE_STRING_H, else declare memset without prototype. Don't
1945 2000-05-23 Mike Stump <mrs@wrs.com>
1947 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
1950 2000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
1952 * xmalloc.c: Include config.h for HAVE_SBRK definition.
1954 2000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
1956 * hashtab.c (hash_pointer): Delete low-order bits which are
1957 probably zero, also eliminate a warning on alpha.
1959 2000-05-15 David Edelsohn <edelsohn@gnu.org>
1961 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
1962 on $(enable_shared).
1964 2000-05-10 Jakub Jelinek <jakub@redhat.com>
1966 * config.table: Use mh-sparcpic for sparc*-*-*.
1968 2000-05-08 Nick Clifton <nickc@cygnus.com>
1970 * Makefile.in (CFILES): Add strncmp.c.
1971 (NEEDED): Add strncmp.
1973 2000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1975 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
1976 Cast the arguments to `islower' to `unsigned char'.
1977 (print_demangler_list): Prototype.
1979 Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
1981 * sort.c (UCHAR_MAX): Provide fallback definition.
1983 2000-04-29 Alexandre Oliva <aoliva@cygnus.com>
1985 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
1988 2000-04-28 Kenneth Block <block@zk3.dec.com>
1989 Jason Merrill <jason@casey.cygnus.com>
1991 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
1992 (cplus_demangle_set_style): New function for setting style.
1993 (cplus_demangle_name_to_style): New function to translate name.
1995 2000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1997 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
1999 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
2000 (libiberty_AC_FUNC_STRNCMP): Invoke.
2002 * strncmp.c: New file.
2004 Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
2006 * hashtab.c (htab_expand): Add prototype.
2007 (find_empty_slot_for_expand): Likewise.
2009 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2011 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
2013 (htab_expand): Cast the return value of xcalloc.
2015 2000-04-24 Mark Mitchell <mark@codesourcery.com>
2017 * hashtab.c (hash_pointer): New function.
2018 (eq_pointer): Likewise.
2019 (htab_hash_pointer): New variable.
2020 (htab_eq_pointer): Likewise.
2022 2000-04-23 Mark Mitchell <mark@codesourcery.com>
2024 * sort.c (sort_pointers): Fix endianness bugs.
2027 * Makefile.in (CFILES): Add sort.c
2028 (REQUIRED_OFILES): Add sort.o.
2029 (sort.o): New target.
2031 2000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2033 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
2036 Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2038 * hashtab.c: Various minor cleanups.
2039 (htab_find_slot_with_hash): INSERT is now enum insert_option.
2040 (htab_find_slot): Likewise.
2042 2000-04-16 Dave Pitts <dpitts@cozx.com>
2044 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
2046 2000-04-05 Richard Henderson <rth@cygnus.com>
2048 * splay-tree.c (splay_tree_remove): New.
2050 2000-03-30 Mark Mitchell <mark@codesourcery.com>
2052 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
2054 (htab_find_with_hash): Likewise.
2055 (htab_find_slot_with_hash): Likewise.
2057 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
2059 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
2060 unless it will be used. Rearrange loop for better
2062 (higher_prime_number): Add static prototype.
2064 Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
2066 * Makefile.in (partition.o): Depend on config.h
2068 2000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
2070 * hashtab.c (find_empty_slot_for_expand): New function.
2071 (htab_expand): Use it instead of htab_find_slot.
2072 (htab_find_with_hash): Renamed from htab_find; now accepts extra
2074 (htab_find_slot_with_hash): Likewise for htab_find_slot.
2075 (htab_find): New wrapper function.
2076 (htab_find_slot): Likewise.
2077 (htab_traverse): Pass slot, not entry, to called function.
2079 2000-03-09 Alex Samuel <samuel@codesourcery.com>
2081 * Makefile.in (CFILES): Add partition.c.
2082 (REQUIRED_OFILES): Add partition.o.
2083 (partition.o): New rule.
2084 * partition.c: New file.
2086 2000-03-09 Zack Weinberg <zack@wolery.cumb.org>
2088 * hashtab.c (htab_create): Set del_f.
2089 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
2092 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
2094 * hashtab.c: Remove debugging variables (all_searches,
2095 all_collisions, all_expansions). Delete
2096 all_hash_table_collisions.
2097 (create_hash_table, delete_hash_table, empty_hash_table,
2098 find_hash_table_entry, remove_element_from_hash_table_entry,
2099 clear_hash_table_slot, traverse_hash_table, hash_table_size,
2100 hash_table_elements_number, hash_table_collisions): Rename to:
2101 htab_create, htab_delete, htab_empty, htab_find_slot,
2102 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
2103 htab_elements, htab_collisions.
2104 (htab_find): New function, handles common case where you don't
2105 plan to add or delete an entry.
2106 (htab_expand): Don't create a whole new table, just a new
2108 (htab_find_slot): Simplify logic.
2110 1999-08-03 Ian Lance Taylor <ian@zembu.com>
2112 * floatformat.c: Add casts to avoid signed/unsigned warnings.
2113 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
2115 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
2116 $(TARGETLIB)n so it works on MSDOS.
2117 (install_to_tooldir): Likewise.
2119 1999-07-21 Ian Lance Taylor <ian@zembu.com>
2122 * makefile.dos: Remove; obsolete.
2123 * configure.bat: Remove; obsolete.
2125 1999-07-11 Ian Lance Taylor <ian@zembu.com>
2127 * splay-tree.c (splay_tree_insert): Add initialization to avoid
2130 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2132 * pexecute.c: Conditionally include string.h.
2133 (fix_argv): Handle embedded whitespace in args for Mingw32.
2135 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2137 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
2140 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
2142 1999-12-27 Geoff Keating <geoffk@cygnus.com>
2144 * vasprintf.c (int_vasprintf): Don't re-read the format character
2145 as this mishandles strings like '%%s'.
2147 1999-12-05 Mark Mitchell <mark@codesourcery.com>
2149 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
2150 rather than struct splay_tree_node.
2151 (splay_tree_insert): Use struct splay_tree_s rather than struct
2154 Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
2156 * hashtab.c (sys/types.h): File included.
2158 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
2160 * strtoul.c, strtol.c, random.c: Remove advertising clause from
2161 BSD license, pursuant with
2163 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
2165 Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
2167 * hashtab.c: Include stdio.h.
2169 Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
2171 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
2173 Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
2175 * xstrdup (sys/types.h): Include this file.
2177 1999-10-28 Nathan Sidwell <nathan@acm.org>
2179 * Makefile.in (SUBDIRS): New macro.
2180 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
2181 avoid multiple subdirectory cleaning.
2182 (*-subdir): Use SUBDIRS.
2184 1999-10-25 Jim Kingdon <http://developer.redhat.com/>
2186 * cplus-dem.c: Move declarations of standard_symbol_characters and
2187 hp_symbol_characters inside #ifdef MAIN to avoid compiler
2190 1999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
2192 * hashtab.c (find_hash_table_entry): When returning a
2193 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
2194 (clear_hash_table_slot): New function which deletes an entry
2195 by its position in the table, not its value.
2196 (traverse_hash_table): New function which calls a hook
2197 function for every live entry in the table.
2199 1999-10-19 Mark Mitchell <mark@codesourcery.com>
2201 * cplus-dem.c (INTBUF_SIZE): New macro.
2202 (string_append_template_idx): New function.
2203 (demangle_expression): Likewise.
2204 (demangle_integral_value): Use it.
2205 (demangle_real_value): New function, split out from ...
2206 (demangle_template_value_parm): ... here. Use
2207 string_append_template_idx. Use demangle_real_value.
2208 (demangle_template): Use string_append_template_idx.
2209 (demangle_qualified): Use consume_count_with_underscores.
2210 (get_count): Tweak formatting.
2211 (do_type): Use string_append_template_idx.
2213 1999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2215 * calloc.c: Add a public domain notice.
2217 Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
2219 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
2221 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
2223 * Makefile.in (CFILES): Add hashtab.c
2224 (REQUIRED_OFILES): Add hashtab.o
2225 (hashtab.o): Add dependencies.
2226 * hashtab.c: New file
2228 Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
2230 * basename.c (DIR_SEPARATOR): New macro.
2231 (DIR_SEPARATOR_2): Likewise.
2232 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
2233 (IS_DIR_SEPARATOR): Likewise.
2234 (main): Handle MSDOS style pathname.
2236 1999-10-11 Mark Mitchell <mark@codesourcery.com>
2238 * cplus-dem.c (do_type): Handle pointer to member types whose
2239 enclosing classes have namespace scope.
2241 Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
2243 * config.table: Provide a backup shell for executing move-if-change.
2245 1999-10-02 Mark Mitchell <mark@codesourcery.com>
2247 * xmalloc.c (xmalloc): Fix spelling error.
2248 (xcalloc, xrealloc): Likewise.
2250 1999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2252 * cplus-dem.c (fancy_abort, demangle_integral_value,
2253 demangle_arm_hp_template, recursively_demangle,
2254 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
2255 (program_name, program_version, fatal): Constify a char*.
2256 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
2257 (main): Call return, not exit.
2259 1999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2261 * choose-temp.c: Remove obsolete comment about gcc.
2262 (make_temp_file): Constify a char*.
2264 Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2266 * xmemdup.c: Include sys/types.h.
2268 1999-09-07 Jeff Garzik <jgarzik@pobox.com>
2270 * xmemdup.c: New xmemdup function.
2271 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
2273 Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
2275 * config.table: Add openedition target.
2276 * config/mh-openedition: New file.
2278 Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
2280 * pexecute.c (pexecute): Fill in temp_base when needed.
2282 1999-08-31 Richard Henderson <rth@cygnus.com>
2284 * getpwd.c: Check HAVE_GETCWD before defining it away.
2286 1999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2288 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
2289 (REQUIRED_OFILES): Add getpwd.o.
2290 (getpwd.o): Add target.
2292 * configure.in (AC_PREREQ): Bump to 2.13.
2293 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
2295 * getpwd.c: New file, moved here from gcc.
2297 1999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2299 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
2300 comparing against a signed quantity.
2301 (arm_special): Likewise.
2302 (demangle_fund_type): Likewise.
2303 (do_hpacc_template_const_value): Mark parameter `work' with
2305 (main): Constify variable `valid_symbols'.
2307 Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
2309 * strtoul.c (strtoul): Add parentheses around && within ||.
2311 Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
2313 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
2314 libdir, libsubdir and tooldir.
2316 1999-08-01 Mark Mitchell <mark@codesourcery.com>
2318 * splay-tree.c (splay_tree_insert): Return the new node.
2320 1999-07-14 Richard Henderson <rth@cygnus.com>
2322 * argv.c: Include stdlib.h and string.h instead of
2323 prototyping directly.
2324 * choose-temp.c: Conditionally include string.h.
2326 1999-07-12 Jason Merrill <jason@yorick.cygnus.com>
2328 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
2330 1999-07-11 Ian Lance Taylor <ian@zembu.com>
2332 * splay-tree.c (splay_tree_insert): Add initialization to avoid
2335 1999-07-07 Jason Merrill <jason@yorick.cygnus.com>
2337 * Makefile.in (needed-list): Only include stuff we actually need
2340 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2342 * configure.in (checkfuncs): Add gettimeofday.
2343 * config.in, configure: Regenerated.
2345 Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
2347 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
2349 * configure: Regenerate.
2351 1999-06-10 Mike Stump <mrs@wrs.com>
2353 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
2356 1999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2358 * putenv.c: Include ansidecl.h to define `const'.
2359 * setenv.c: Likewise.
2361 Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
2363 * Makefile.in (CFILES): Add putenv.c and setenv.c.
2364 * configure.in (funcs): Add putenv and setenv.
2365 (AC_CHECK_FUNCS): Check for putenv and setenv.
2366 * configure: Rebuilt.
2367 * putenv.c setenv.c: New files.
2369 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
2370 bytes of space using malloc.
2372 Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
2374 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
2375 the *mangled pointer beyond the end of the string. Clean up code to
2376 match prevailing coding style.
2378 1999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2380 * tmpnam.c (L_tmpnam): Fix typo.
2382 Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
2384 * cplus-dem.c (standard_symbol_characters): Renamed from
2385 standard_symbol_alphabet. No longer modify TABLE.
2386 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
2388 (main): Corresponding changes. Use strchr to determine if a
2391 1999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
2393 * cplus-dem.c (main): Use table lookup to distinguish identifier
2394 characters from non-identifier characters.
2395 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
2397 Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
2399 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
2400 * getruntime.c: Only attempt to include sys/resource.h and
2401 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
2404 Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
2406 * configure.in (alloca detection): Handle alloca directly for interix.
2407 * configure: Rebuilt.
2409 Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
2411 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
2413 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
2415 Fix from Dale Hawkins:
2416 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
2417 reallocated properly if we use it again.
2419 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
2420 stricter about syntax. Always null-terminate string.
2422 Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
2424 * configure.in (checkfuncs): Check for sbrk.
2425 * config.in: Rebuilt.
2426 * configure: Likewise.
2427 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
2429 1999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
2431 Fix from Marcus Daniels:
2432 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
2433 identifier looking for another underscore.
2435 Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
2437 * pexecute.c: Change all references to __UWIN__ to _UWIN.
2438 * xmalloc.c: Likewise.
2439 (xcalloc): UWIN has sbrk.
2440 (xrealloc): Fix guard macro.
2442 1999-04-11 Richard Henderson <rth@cygnus.com>
2444 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
2446 * clock.c (GNU_HZ): New definition.
2448 * getruntime.c: Likewise.
2450 * config.table: Use mh-beos.
2451 * config/mh-beos: New file.
2453 1999-04-11 Mark Mitchell <mark@codesourcery.com>
2455 * cplus-dem.c (demangle_template_value_parm): Handle
2456 pointers-to-members.
2457 (do_type): Handle template parameters as qualifiers.
2459 1999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
2461 * cplus-dem.c: Attempt to handle overflows in counts with some
2463 (consume_count): Detect overflows. Return -1 to indicate errors,
2465 (demangle_template_value_parm, demangle_template): Handle change
2466 to consume_count's return convention.
2468 1999-04-05 Tom Tromey <tromey@cygnus.com>
2470 * testsuite/regress-demangle: New file.
2471 * testsuite/demangle-expected: New file.
2473 * Makefile.in (all, check, installcheck, info, install-info,
2474 clean-info, dvi, install, etags, tags, mostlyclean, clean,
2475 distclean, maintainer-clean, realclean): Depend on corresponding
2477 (all-subdir check-subdir installcheck-subdir info-subdir
2478 install-info-subdir clean-info-subdir dvi-subdir
2479 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
2480 distclean-subdir maintainer-clean-subdir): New target.
2481 * testsuite/Makefile.in: New file.
2482 * configure: Rebuilt.
2483 * configure.in: Create testsuite/Makefile.
2485 1999-04-02 Mark Mitchell <mark@codesourcery.com>
2487 * splay-tree.h (splay_tree_compare_pointers): Define.
2489 1999-03-30 Mark Mitchell <mark@codesourcery.com>
2491 * splay-tree.c (splay_tree_compare_ints): Define.
2493 1999-03-30 Tom Tromey <tromey@cygnus.com>
2495 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
2496 don't advance input pointer.
2497 (demangle_class_name): If consume_count didn't find a count, do
2498 nothing. Don't bother with `strlen' sanity check; consume_count
2501 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
2503 From Art Haas <ahaas@neosoft.com>:
2504 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
2505 when doing arm or hp style.
2506 (demangle_nested_args): Decr forgetting_types field when done.
2508 Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
2510 * pexecute.c (__CYGWIN32__): Rename to
2512 * xmalloc.c: Likewise.
2514 Changes to support i386-pc-uwin.
2515 * configure.in (*-*-uwin*): Workaround for vfork bug.
2516 * configure: Regenerate.
2517 * pexecute.c (pexecute): Be like standard Unix.
2519 * xmalloc.c (first_break): Define.
2520 (xmalloc_set_program_name): Use.
2523 Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2525 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
2527 Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
2529 * config.table: Check cygwin*, not cygwin32*.
2531 Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
2533 * Makefile.in: Change mkstemp -> mkstemps.
2535 Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
2537 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
2538 * configure.in (funcs): Check for and conditionally add mkstemps to
2539 the list of functions libiberty will provide.
2540 * configure: Rebuilt.
2542 Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
2544 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
2545 platforms that don't have HZ.
2546 * getruntime.c (HZ): Likewise.
2548 Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
2550 * Makefile.in (xstrdup.o): Depend on config.h.
2552 Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
2554 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
2557 Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2559 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
2561 Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2563 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
2566 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
2568 * configure.in: Require autoconf 2.12.1 or higher.
2570 1998-12-30 Michael Meissner <meissner@cygnus.com>
2572 * random.c (NULL): Don't redefine NULL if it is already defined.
2574 Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2576 * argv.c (buildargv): Cast the result of alloca in assignment.
2578 * choose-temp.c: Include stdlib.h.
2580 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
2581 (snarf_numeric_literal): Constify first parameter.
2582 (code_for_qualifier): Avoid a gcc extension, make the parameter an
2584 (demangle_qualifier): Likewise.
2585 (demangle_signature): Cast the argument of a ctype function to
2587 (arm_pt): Add parens around assignment used as truth value.
2588 (demangle_arm_hp_template): Constify variable `args'.
2589 (do_hpacc_template_const_value): Cast the argument of a ctype
2590 function to unsigned char.
2591 (do_hpacc_template_literal): Remove unused variable `i'.
2592 (snarf_numeric_literal): Constify parameter `args'.
2593 Cast the argument of a ctype function to unsigned char.
2595 * floatformat.c (floatformat_to_double): Add explicit braces to
2596 avoid ambiguous `else'.
2598 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
2599 `cstart' and `cend' to unsigned char. Cast the argument of macro
2600 `FOLD', which uses ctype functions, to unsigned char.
2602 * objalloc.c (free): Add prototype.
2604 Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
2606 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
2608 Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
2610 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
2612 (do_hpacc_template_literal): remove unused variable `i'.
2614 Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2616 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
2617 bumping the pointer we read from. Also prepend these codes,
2618 as we do in other places.
2620 1998-12-18 Nick Clifton <nickc@cygnus.com>
2622 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
2623 'const char *' in order to match its usage when calling siblings.
2624 (snarf_numeric_literal): Make first arg 'const char **' in order
2627 Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2629 * choose-temp.c: Don't check IN_GCC anymore.
2631 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
2632 * memchr.c (memchr): Likewise.
2633 * memcpy.c (memcpy): Likewise.
2634 * memmove.c (memmove): Likewise.
2636 * mkstemp.c: Don't check IN_GCC anymore.
2637 * pexecute.c: Likewise.
2638 * splay-tree.c: Likewise.
2640 * strchr.c (strchr): Use `const', not `CONST'.
2641 * strrchr.c (strrchr): Likewise.
2642 * strtol.c (strtol): Likewise.
2643 * strtoul.c (strtoul): Likewise.
2645 Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
2646 Elena Zannoni <ezannoni@cygnus.com>
2647 Stan Shebs <shebs@cygnus.com>
2648 Edith Epstein <eepstein@cygnus.com>
2649 Andres MacLeod <amacleod@cygnus.com>
2650 Satish Pai <pai@apollo.hp.com>
2652 * HP aCC demangling support.
2654 (main): Remove default to HP style demangling, set to EDG
2655 demangling correctly when -edg specified; set the demangling style
2656 when user specifies 'edg'. Set strip_underscore to
2657 prepends_underscore, if not HPUXHPPA. Set
2658 current_demangling_style to hp_demangling if HPUXHPPA. Set
2659 current demangling style correctly if the switch is hp. Read
2660 label correctly also in the HP style case.
2661 (work_stuff): add temp_start field; add field for volatile member
2663 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
2664 style for this case is the same as ARM.
2665 (demangle_args): handle EDG_DEMANGLING style; support HP style.
2666 (demangle_arm_hp_template): new function. (It was
2667 demangle_arm_pt.); check and set value of temp_start field in
2668 multiple places. Also, when ceching for end of template args,
2669 check to see if at end of static member of template class.
2670 (demangle_class): new local variable : save_class_name_end Don't
2671 include template args in string defining class.
2672 (demangle_class_name): use demangel_arm_hp_template.
2673 (demangle_function_name): handle case where demangling style is
2674 HP_DEMANGLING and currently point at an 'X' in the mangled name.
2675 Handle EDG_DEMANGLING style. Handle constructor and destructor
2677 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
2678 styles. global destructor and constructor for HP style are same
2679 as for ARM style. Same for local variables.
2680 (demangle_qualified): handle EDG_DEMANGLING style.
2681 (demangle_signature): add case for volatile member function. For
2682 cases '1' - '9' : initialize the temp_start field to -1 and handle
2683 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
2684 and AUTO_DEMANGLING styles. If expecting a function and managed
2685 to demangle the funct args, then handle the LUCID_DEMANGLING,
2686 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
2687 class name after "Lnnn_ in HP style case. HP style too needs to
2688 forget types. _nnn is OK for HP style, so don't report failure.
2689 (do_hpacc_template_const_value): new function. Handle template's
2690 value param for HP/aCC.
2691 (do_hpacc_template_literal): new function. Handle a template's
2692 literal parameter for HP aCC.
2693 (recursively_demangle): new function
2694 (snarf_numeric_literal): new function.
2695 (usage): add 'edg' to the list of demangling styles; add hp switch
2698 Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
2700 * pexecute.c: Remove obsolete ifdefed cygwin code.
2702 Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2704 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
2705 * cplus-dem.c: Likewise. Conform to libiberty.h.
2706 * pexecute.c: Likewise.
2707 * splay-tree.c: Likewise.
2709 1998-11-25 Mike Stump <mrs@wrs.com>
2711 * Makefile.in (splay-tree.o): Add config.h dependency.
2713 Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2715 * configure.in: Use AC_PREREQ(2.12.1).
2717 1998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
2719 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
2721 Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
2723 * mpw.c (mpw_access): Add missing parens.
2725 Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2727 * configure.in: Call AC_HEADER_SYS_WAIT.
2729 * pexecute.c: Include sys/wait.h when !IN_GCC.
2731 Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
2733 * pexecute.c: revert back to checking old Cygwin
2734 preprocessor symbol until some time has passed.
2736 Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
2738 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
2739 since it will now support similar constructs.
2741 Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2743 * configure.in: Check for calloc.
2745 * calloc.c: New file.
2747 * xmalloc.c (xcalloc): New function.
2749 Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2751 *cplus-dem.c (demangle_prefix): Use the last "__"
2752 in the mangled name when looking for the signature. This allows
2753 template names to begin with "__".
2755 1998-11-08 Mark Mitchell <mark@markmitchell.com>
2757 * cplus-dem.c (type_kind_t): Add tk_reference.
2758 (demangle_template_value_parm): Handle it.
2759 (do_type): Use it for references, instead of tk_pointer.
2761 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
2762 not internal_cplus_demangle.
2764 Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2766 * choose-temp.c: Don't include gansidecl.h.
2767 * mkstemp.c: Likewise.
2768 * pexecute.c: Likewise.
2770 Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
2772 * configure.in: detect cygwin* instead of cygwin32*
2773 * configure: regenerate
2775 Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2777 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
2778 whether to include config.h. Possibly include unistd.h in the
2779 !IN_GCC case. Define VFORK_STRING as a printable function call
2780 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
2781 defined, include vfork.h. If VMS is defined, define vfork()
2782 appropriately. Remove vfork check on USG, we're using autoconf.
2783 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
2784 locally what string to use.
2786 1998-10-26 Mark Mitchell <mark@markmitchell.com>
2788 * splay-tree.c: Tweak include directives to make sure declarations of
2789 xmalloc and free are available.
2791 1998-10-25 Mark Mitchell <mark@markmitchell.com>
2793 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
2794 anonymous namespaces.
2796 1998-10-23 Mark Mitchell <mark@markmitchell.com>
2798 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
2800 (TYPE_UNQUALIFIED): New macro.
2801 (TYPE_QUAL_CONST): Likewise.
2802 (TYPE_QUAL_VOLATILE): Likewise.
2803 (TYPE_QUAL_RESTRICT): Likewise.
2804 (code_for_qualifier): New function.
2805 (qualifier_string): Likewise.
2806 (demangle_qualifier): Likewise.
2807 (internal_cplus_demangle): Use them.
2808 (demangle_signature): Likewise.
2809 (demangle_template_value_parm): Likewise.
2810 (do_type): Likewise.
2811 (demangle_fund_type)): Likewise.
2813 Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2815 * splay-tree.c (splay_tree_foreach_helper): Make definition static
2818 1998-10-21 Mark Mitchell <mark@markmitchell.com>
2820 * splay-tree.c: New file.
2821 * Makefile.in (CFILES): Add it.
2822 (REQUIRED_OFILES): Likewise.
2823 (splay-tree.o): Add dependencies.
2825 Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2827 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
2830 Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2832 * choose-temp.c: Prototype mkstemps() when IN_GCC.
2834 * cplus-dem.c (consume_count): Cast argument of ctype macro to
2836 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
2837 comparing against one.
2838 (cplus_mangle_opname): Likewise.
2839 (demangle_integral_value): Cast argument of ctype macro to
2841 (demangle_template_value_parm): Likewise.
2842 (demangle_template): Initialize variable `bindex'. Cast the
2843 result of `strlen' to (int) when comparing against one. Remove
2844 unused variable `start_of_value_parm'.
2845 (demangle_class_name): Cast the result of `strlen' to (int) when
2846 comparing against one.
2847 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
2848 (gnu_special): Likewise. Cast the result of `strlen' to (int)
2849 when comparing against one.
2850 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
2851 (get_count): Likewise.
2852 (do_type): Likewise. Cast the result of `strlen' to (int) when
2853 comparing against one.
2854 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
2855 (demangle_function_name): Cast the result of `strlen' to (int)
2856 when comparing against one.
2858 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
2859 comparing against one.
2861 Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
2863 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
2864 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
2865 * config.in, configure: Rebuilt.
2867 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
2868 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
2869 * config.in, configure: Rebuilt.
2871 Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
2873 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
2875 Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
2877 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
2879 Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
2881 * Merge egcs & devo libiberty.
2883 1998-09-08 Martin von Löwis <loewis@informatik.hu-berlin.de>
2885 * cplus-dem.c (demangle_arm_pt): Demangle anonymous namespaces.
2887 Mon Sep 7 23:29:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2889 * mkstemp.c: Include config.h even when not IN_GCC. Wrap header
2890 inclusions inside HAVE_*_H macros. Include ansidecl.h when not
2893 * vasprintf.c: Include stdarg.h/varargs.h first.
2895 * vprintf.c: Likewise.
2897 Sat Sep 5 03:24:49 1998 Jeffrey A Law (law@cygnus.com)
2899 * pexecute.c: Updates from gcc. Copy in gcc has been removed. This
2900 is the canonical copy. Define ISSPACE if !IN_GCC.
2901 * alloca.c, vfprintf.c, choose-temp.c, mkstemp.c, getopt.c: Similarly.
2902 * getopt1.c, obstack.c: Similarly.
2903 * Makefile.in: Build mkstemp.o
2905 Tue Sep 1 23:12:47 1998 Christopher Faylor <cgf@cygnus.com>
2907 * configure.in: Include asprintf in list of functions known not
2909 * configure: Rebuild.
2911 Wed Aug 19 14:05:01 1998 Mumit Khan <khan@xraylith.wisc.edu>
2913 * cplus-dem.c (work_stuff): Add dllimported.
2914 (demangled_prefix): Mark symbols imported from PE DLL.
2915 (internal_cplus_demangled): Handle.
2917 1998-08-17 Jason Merrill <jason@yorick.cygnus.com>
2919 * cplus-dem.c (do_type): Fix simple array handling. If we fail,
2922 Mon Aug 17 10:40:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2924 * cplus-dem.c: Include config.h if it exists. Also, only
2925 prototype malloc/realloc if we can't get stdlib.h.
2927 Sat Aug 15 16:15:01 1998 Ian Lance Taylor <ian@cygnus.com>
2929 * configure.in: Switch back to checking --with-target-subdir when
2930 deciding whether to check for newlib, undoing part of July 15
2932 * configure: Rebuild.
2934 Thu Aug 13 16:47:38 1998 Mark Mitchell <mark@markmitchell.com>
2936 * cplus-dem.c (type_kind_t): New type.
2937 (demangle_template_value_parm): Add type_kind_t parameter. Rely
2938 on this paramter, rather than demangling the type again.
2939 (demangle_integral_value): Pass tk_integral.
2940 (demangle_template_: Pass the value returned from do_type.
2941 (do_type): Return a type_kind_t. Pass tk_integral to
2942 demangle_template_value_parm for array bounds.
2943 (demangle_fund_type): Likewise.
2945 Also incorporate from GCC version:
2947 Tue Jul 21 13:28:19 1998 Jason Merrill <jason@yorick.cygnus.com>
2949 * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
2951 Thu Aug 13 16:47:38 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2953 * cplus-dem.c (demangle_nested_args): Make function definition
2954 static to match the prototype.
2956 Tue Jul 28 11:33:09 1998 Mark Mitchell <mark@markmitchell.com>
2958 * cplus-dem.c (type_kind_t): New type.
2959 (demangle_template_value_parm): Add type_kind_t parameter. Rely
2960 on this paramter, rather than demangling the type again.
2961 (demangle_integral_value): Pass tk_integral.
2962 (demangle_template_: Pass the value returned from do_type.
2963 (do_type): Return a type_kind_t. Pass tk_integral to
2964 demangle_template_value_parm for array bounds.
2965 (demangle_fund_type): Likewise.
2967 Also incorporate from GCC version:
2969 Tue Jul 21 13:28:19 1998 Jason Merrill <jason@yorick.cygnus.com>
2971 * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
2973 Mon Jul 27 12:16:08 1998 Ian Lance Taylor <ian@cygnus.com>
2975 * Makefile.in (ALLOCA): New variable.
2976 ($(TARGETLIB)): Add $(ALLOCA) to library.
2977 (needed-list): Add $(ALLOCA).
2978 ($(ALLOCA)): Depend upon stamp-picdir.
2980 Sun Jul 19 08:23:17 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2982 * cplus-dem.c (demangle_nested_args): Make function definition
2983 static to match the prototype.
2985 Wed Jul 15 00:12:58 1998 Ian Lance Taylor <ian@cygnus.com>
2987 * configure.in: Check --with-cross-host rather than
2988 --with-target-subdir when deciding whether build uses a cross
2989 compiler, and when deciding where to install the library.
2990 * configure: Rebuild.
2992 Sun Jul 12 01:27:05 1998 Jason Merrill <jason@yorick.cygnus.com>
2994 * cplus-dem.c (demangle_nested_args): Return a value.
2996 Sat Jul 11 16:19:48 1998 Mark Mitchell <mark@markmitchell.com>
2998 * cplus-dem.c (string): Move definition before work_stuff.
2999 (work_stuff): Add volatile_type, forgetting_types,
3000 previous_argument, and nrepeats fields.
3001 (SCOPE_STRING): New macro.
3002 (demangle_template): Add `remember' parameter. Add comment.
3003 Register the `B' code type here, if remembering. Tidy. Fix crash
3004 on NULL tmpl_argvec. Be consistent with use of tname/trawname.
3005 (demangle_nested_args): New function.
3006 (internal_cplus_demangle): Handle volatile-qualified member
3008 (mop_up): Delete the previous_argument string if present.
3009 (demangle_signature): Tidy. Handle volatile-qualified member
3010 functions. Handle back-references using the `B' code. Use extra
3011 parameter to demangle_template and SCOPE_STRING where appropriate.
3012 (demangle_template_value_parm): Fix thinko; 'B' is not an integral
3014 (demangle_class): Use SCOPE_STRING.
3015 (gnu_special): Pass additional argument to demangle_template.
3017 (demangle_qualified): Save qualified types for later
3018 back-references. Handle constructors and destructors for template
3020 (do_type): Tidy. Use SCOPE_STRING. Pass extra argument to
3021 demangle_template. Use demangled_nested_args. Don't remember
3022 qualified types here; that's now done in demangle_qualified.
3023 Similarly for templates.
3024 (do_arg): Improve commment. Handle 'n' repeat code.
3025 (remember_type): Check forgetting_types.
3026 (demangle_args): Deal with 'n' repeat codes. Tidy.
3028 Thu Jul 2 16:26:24 1998 Ian Lance Taylor <ian@cygnus.com>
3030 * config.table: Only use mh-fbsd21 on *-*-freebsd2.2.[012], not on
3031 *-*-freebsd2.2.*. From Dmitrij Tejblum <tejblum@arc.hq.cti.ru>.
3033 Mon Jun 15 16:29:01 1998 Ian Lance Taylor <ian@cygnus.com>
3035 * configure.in (setobjs): Correct quoting error in cygwin32 case.
3036 From Chris Faylor <cgf@cygnus.com>.
3038 Mon Jun 1 13:47:55 1998 Jason Molenda (crash@bugshack.cygnus.com)
3040 * obstack.c: Update to latest FSF version.
3042 Mon Jun 1 14:17:36 1998 Mike Stump <mrs@wrs.com>
3044 * Makefile.in: Add a dependency on stamp-picdir for the
3045 objects, so that we can do a parallel build.
3047 Sat May 30 22:17:13 1998 Mumit Khan <khan@xraylith.wisc.edu>
3049 * configure.in (checkfuncs): Add missing "'".
3051 Fri May 29 12:40:41 1998 Jason Molenda (crash@bugshack.cygnus.com)
3053 * obstack.c (_obstack_memory_used): Elide this function if we're
3054 on a system with GNU libc.
3056 Tue May 26 18:28:43 1998 Ian Lance Taylor <ian@cygnus.com>
3058 * Makefile.in (distclean): Remove config.log.
3060 Tue May 26 15:01:52 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3062 * Makefile.in (distclean): Don't remove alloca-conf.h.
3064 Fri May 22 01:38:07 1998 Hans-Peter Nilsson <hp@axis.se>
3066 * cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.
3068 1998-05-21 Mark Mitchell <mmitchell@usa.net>
3070 * cplus-dem.c (do_type): Handle volatile qualification.
3072 1998-05-21 Manfred Hollstein <manfred@s-direktnet.de>
3074 * configure.in: Check for unistd.h as well.
3075 * configure: Rebuild.
3076 * config.in: Rebuild.
3077 * getpagesize.c (GNU_OUR_PAGESIZE): Use sysconf only if _SC_PAGESIZE
3078 is defined in unistd.h. Reformat conditional block for easier reading.
3080 * config.table (shared): Default to no if ${enable_shared}
3081 is unset or empty; this logic is used by the toplevel
3082 configure scripts, too.
3084 Sat May 16 14:01:26 1998 Jeffrey A Law (law@cygnus.com)
3086 * config.table: Add line to set enable_shared in the Makefile
3089 Wed May 13 14:24:38 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3091 * cplus-dem.c (squangle_mop_up): Change return type to void.
3092 (internal_cplus_demangle): Remove unused parameter `options'.
3093 All callers changed.
3094 (cplus_demangle_opname): Remove function wide variable `int i' and
3095 replace with `size_t i' at each location where it is used.
3096 (cplus_mangle_opname): change type of `i' from int to size_t.
3098 Wed May 13 13:39:38 1998 Ian Lance Taylor <ian@cygnus.com>
3100 * alloca-conf.h: Include config.h. Check HAVE_ALLOCA_H rather
3102 * Makefile.in (argv.o): Depend upon config.h and alloca-conf.h.
3104 Fri May 8 00:23:51 1998 Ian Lance Taylor <ian@cygnus.com>
3106 * configure.in: Set libiberty_topdir correctly when srcdir is
3107 "." and with_target_subdir is not set.
3108 * configure: Rebuild.
3110 Thu May 7 13:01:44 1998 Ian Lance Taylor <ian@cygnus.com>
3112 * configure.in: Add *-*-mingw32* case.
3113 * configure: Rebuild.
3115 Wed May 6 11:33:51 1998 Ian Lance Taylor <ian@cygnus.com>
3117 * config.table: Never use a PIC file for *-*-cygwin32*.
3119 * Makefile.in (config.status): Depend upon config.table.
3121 * configure.in: On a cygwin32 host, always compile random, and
3122 don't test for sys_siglist, strsignal, or psignal.
3123 * configure: Rebuild.
3125 * clock.c: Check HAVE_SYS_PARAM_H rather than NO_SYS_PARAM_H.
3126 * getcwd.c: Likewise.
3127 * getpagesize.c: Likewise.
3128 * getruntime.c: Likewise.
3130 Tue May 5 18:08:32 1998 Ian Lance Taylor <ian@cygnus.com>
3132 Use autoconf tests rather than the old dummy.c test:
3133 * configure.in: Add AC_ARG_WITH calls for --with-target-subdir and
3134 --with-newlib. Add AC_CONFIG_HEADER. Use AC_REPLACE_FUNCS for
3135 most functions. Add special cases to handle newlib and VxWorks.
3136 Remove target_makefile_frag. Create stamp-h in AC_OUTPUT if
3137 CONFIG_HEADERS is set. Only call config-ml.in in AC_OUTPUT if
3138 CONFIG_FILES is set; set ac_file before calling it.
3139 * config.table (arm-*-riscix*, *-*-cygwin32): Remove.
3140 (*-*-hpux*, *-*-hiux*, *-*-irix4*, *-*-solaris2*): Remove.
3141 (*-*-sysv4*, *-*-go32, *-*-vxworks5*, *-*-vxworks): Remove
3142 (i[3456]-*-mingw32*): Remove.
3143 * Makefile.in (ERRORS_CC, CONFIG_H, NEEDED_LIST): Remove.
3144 (LIBOBJS): New variable.
3145 (HOST_OFILES, DO_ALSO, STAGESTUFF): Remove.
3146 (all): Depend upon needed-list. Don't check RULE1.
3147 (@target_makefile_frag@): Remove.
3148 (COMPILE.c): Include @DEFS@.
3149 (HFILES): Add alloca-conf.h.
3150 (REQUIRED_OFILES): Remove basename.o.
3151 ($(TARGETLIB)): New target.
3152 (stamp-needed, lneeded-list, needed.awk, stamp-config): Remove.
3153 (lconfig.h, needed2.awk, dummy.o, errors): Remove.
3154 (needed-list, config.h): Rewrite.
3155 (RULE1, $(RULE1), RULE2, $(RULE2)): Remove.
3157 (Makefile): Set CONFIG_FILES and CONFIG_HEADERS.
3158 (stamp-h): New target.
3159 (atexit.o, clock.o, getcwd.o, getpagesize.o): New targets.
3160 (basename.o): Don't depend upon config.h.
3161 (getruntime.o): Depend upon config.h.
3162 * atexit.c: Include config.h. Check HAVE_ON_EXIT rather than
3164 * basename.c: Don't include config.h. Don't check NEED_basename.
3165 * clock.c: Include config.h.
3166 * getcwd.c: Likewise.
3167 * getpagesize.c: Likewise.
3168 * getruntime.c: Likewise. Fix checks which set HAVE_GETRUSAGE and
3170 * strerror.c: Change uses of NEED_sys_errlist to
3171 HAVE_SYS_ERRLIST. Likewise for NEED_strerror and HAVE_STRERROR.
3172 * strsignal.c: Likewise for NEED_sys_siglist and HAVE_SYS_SIGLIST,
3173 and for NEED_strsignal and HAVE_STRSIGNAL and for NEED_psignal and
3175 * acconfig.h: New file.
3177 * functions.def: Remove.
3178 * config/mh-cxux7 (HDEFINES): Remove -DHAVE_SYSCONF.
3179 * config/mh-windows (HDEFINES): Remove.
3180 * config/mh-cygwin32: Remove.
3181 * config/mh-go32: Remove.
3182 * config/mh-irix4: Remove.
3183 * config/mh-riscix: Remove.
3184 * config/mh-sysv4: Remove.
3185 * config/mt-mingw32: Remove.
3186 * config/mt-vxworks5: Remove.
3187 * config.in: New file, generated using autoheader.
3188 * configure: Rebuild.
3190 Mon May 4 13:00:28 1998 Ian Lance Taylor <ian@cygnus.com>
3192 * configure.in: Rewrite to use autoconf.
3193 * configure: Generate using autoconf.
3194 * config/mh-a68bsd: Remove.
3195 * config/mh-apollo68: Remove.
3196 * config/mh-hpbsd: Remove.
3197 * config/mh-ncr3000: Remove.
3198 * config/mh-sysv: Remove.
3199 * config/mh-aix (RANLIB, INSTALL): Don't define.
3200 * config/mh-cxux7 (RANLIB, INSTALL): Don't define.
3201 * config/mh-irix4 (CC, RANLIB, INSTALL): Don't define.
3202 * config/mh-sysv4 (RANLIB, INSTALL): Don't define.
3203 * config.table: Change config_shell to CONFIG_SHELL, and use
3204 libiberty_topdir to find move-if-change.
3205 (m68k-apollo-bsd*, m68k-apollo-sysv*): Remove.
3206 (i[3456]86-ncr-sysv4*, *-*-dgux*, hppa*-hp-bsd*): Remove.
3207 (*-*-irix*, *-*-m88kbcs*, *-*-sysv*): Remove.
3208 * Makefile.in (srcdir): Set to @srcdir@.
3210 (prefix, exec_prefix, bindir, libdir): Set to autoconf variables.
3211 (SHELL, INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Likewise.
3212 (CC, CFLAGS, RANLIB)): Likewise.
3213 (datadir, man*dir, infodir, includedir, MAKEINFO): Remove.
3214 (target_makefile_frag, host_makefile_frag): Add substitutions.
3215 (INSTALL_DEST): Set to @INSTALL_DEST@.
3216 (Makefile): Depend upon config.status. Don't depend upon
3217 $(host_makefile_frag) or $(target_makefile_frag).
3218 (config.status): New target.
3220 Sun May 3 17:58:49 1998 Ian Lance Taylor <ian@cygnus.com>
3222 * config/mt-sunos4: Remove. Should be handled by --with-headers
3223 and --with-libraries options at top level.
3224 * config.table: Never use mt-sunos4.
3226 * alloca-conf.h: New file, combining alloca-norm.h and
3228 * alloca-norm.h: Remove.
3229 * alloca-botch.h: Remove.
3230 * configure.in: Set shell variables files and links to empty.
3231 * config.table: Don't set shell variable files.
3232 * configure.bat: Don't create alloca-conf.h.
3233 * makefile.vms: Likewise.
3234 * mpw-config.in: Likewise.
3235 * vmsbuild.com: Likewise.
3237 Fri May 1 11:41:42 1998 Ian Lance Taylor <ian@cygnus.com>
3239 * Makefile.in ($(HOST_OFILES) $(REQUIRED_OFILES)): Remove old
3240 target depending upon config.h.
3241 (alloca.o): Add target depending upon config.h
3242 (basename.o, choose-temp.o, fnmatch.o): Likewise.
3243 (getopt.o, getopt1.o, pexecute.o, strerror.o): Likewise.
3244 (strsignal.o, xstrerror.o): Likewise.
3246 Fri May 1 04:26:25 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3248 * cplus-dem.c (cplus_demangle_opname): Initialize work.
3250 Mon Apr 27 15:53:30 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
3252 * cplus-dem.c (demangle_qualified): Replace missing else.
3254 Sun Apr 26 15:38:50 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3256 * cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
3257 length in the name of a virtual table.
3259 Wed Apr 22 10:53:49 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
3261 * cplus-dem.c (struct work stuff): Add field for B and K mangle codes.
3262 (cplus_demangle_opname): Call mop_up_squangle.
3263 (cplus_demangle): Initialize squangle info, then call
3264 internal_cplus_demangle. (Most code moved there as well)
3265 (internal_cplus_demangle): New function, performs most of what use
3266 to be done in cplus_demangle, but is only called with this file.
3267 (squangle_mop_up): New function to clean up B and K code data.
3268 (mop_up): set pointers to NULL after freeing.
3269 (demangle_signature, demangle_template, demangle_class): Add
3270 switch elements to handle K and B codes.
3271 (demangle_prefix, gnu_special, demangle_qualified): Add
3272 code to handle K and B codes.
3273 (do_type, demangle_fund_type): Handle B and K codes.
3274 (remember_Ktype): New function to store K info.
3275 (register_Btype, remember_Btype): New functions for B codes.
3276 (forget_B_and_K_types): New function to destroy B and K info.
3278 Fri Apr 10 01:49:10 1998 Jeffrey A Law (law@cygnus.com)
3280 * COPYING.LIB, choose-temp.c, cplus-dem.c: Sync with egcs & gcc.
3282 Thu Mar 5 09:23:28 1998 Manfred Hollstein <manfred@s-direktnet.de>
3284 * config.table: Make locating frag files failsafe even for the
3285 special case if configuring and building in srcdir.
3287 Mon Feb 23 14:33:15 1998 Ian Lance Taylor <ian@cygnus.com>
3289 * choose-temp.c: Fix handling of sys/file.h to work in libiberty.
3291 Sun Feb 22 18:03:23 1998 Jeffrey A Law (law@cygnus.com)
3293 * choose-temp.c: Sync with copy in gcc.
3295 Thu Feb 12 16:29:49 1998 Ian Lance Taylor <ian@cygnus.com>
3297 * getopt.c: Update to latest FSF version.
3298 * getopt1.c: Likewise.
3300 Tue Feb 10 16:58:33 1998 Stan Shebs <shebs@andros.cygnus.com>
3302 * cplus-dem.c (gnu_special): Don't get confused by .<digits>
3303 strings that are not actually lengths.
3305 Fri Feb 6 01:35:17 1998 Manfred Hollstein <manfred@s-direktnet.de>
3307 * Makefile.in (FLAGS_TO_PASS): Don't pass PICFLAG.
3308 (.c.o): Check value of enable_shared, not PICFLAG.
3309 (stamp-picdir): Dito.
3311 Thu Feb 5 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
3313 * config/mh-cygwin32: remove vasprintf.o from EXTRA_OFILES
3314 since it gets built automatically
3316 Sun Feb 1 02:52:32 1998 Mike Stump <mrs@wrs.com>
3318 * config.table (vxworks configs): Default to VxWorks 5.x, as that is
3319 the currently shipping OS.
3321 Tue Jan 27 16:08:20 1998 Pat Rankin <rankin@eql.caltech.edu>
3323 * vmsbuild.com [REQUIRE_OFILES]: Synchronized with Makefile.in:
3324 Add fnmatch.o and objalloc.o; remove vasprintf.o.
3325 [config.h]: Define NEED_strsignal.
3327 Mon Jan 19 12:20:01 1998 Ian Lance Taylor <ian@cygnus.com>
3329 * functions.def: Correct argument types for strerror and
3330 strsignal. Reported by Alex Gutman <agutman@emc.com>.
3332 Sun Jan 18 15:57:28 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
3334 * vasprintf.c (int_vasprintf): Increase buffer size for float/double
3337 Sat Jan 17 22:28:38 1998 Mumit Khan <khan@xraylith.wisc.edu>
3338 J.J. VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
3340 Add mingw32 support.
3341 * pexecute.c (pexecute): New function for mingw32. Supports pipes.
3342 (pwait): New function for mingw32.
3344 * config.table (i[3456]86-*-mingw32*): Support for i386-mingw32.
3345 * config/mt-mingw32: New file.
3346 * xmalloc.c (first_break): Not used for mingw32.
3347 (xmalloc_set_program_name): Don't use sbrk on mingw32.
3348 (xmalloc): Likewise.
3349 (xrealloc): Likewise.
3351 Sat Jan 17 22:28:05 1998 Jeffrey A Law (law@cygnus.com)
3353 * choose-temp.c: Sync with gcc version.
3355 Tue Jan 13 18:34:39 1998 Jim Wilson <wilson@cygnus.com>
3357 * Makefile.in (install_to_libdir, install_to_tooldir): Add MULTISUBDIR
3358 to all filenames in libdir and tooldir.
3359 (distclean): Do MULTICLEAN before deleting Makefile.
3360 (stamp-needed, stamp-config): Add MULTISRCTOP to
3361 pathname for move-if-change.
3363 Thu Dec 4 17:25:19 1997 Jeffrey A Law (law@cygnus.com)
3365 * strsignal.c (sys_nsig): Try NSIG and _NSIG.
3367 Wed Nov 19 13:37:06 1997 Michael Meissner <meissner@cygnus.com>
3369 * alloca-norm.h (alloca, GCC case): Don't redefine alloca if it
3370 was already defined previously.
3372 Mon Nov 10 12:48:03 1997 Philippe De Muyter <phdm@macqel.be>
3374 * Makefile.in (INSTALL): Use ../install-sh, not install.
3376 Tue Oct 28 23:41:15 1997 Judy Goldberg <jodyg@idt.net>
3378 * Makefile.in (CFILES): Add pexecute.c.
3380 Wed Oct 15 19:13:48 1997 Ian Lance Taylor <ian@cygnus.com>
3382 * asprintf.c: Consistently use either stdarg or varargs.
3384 Tue Oct 14 12:01:00 1997 Mark Mitchell <mmitchell@usa.net>
3386 * cplus-dem.c (demangle_signature): Don't look for return types on
3387 constructors. Handle member template constructors.
3389 Fri Oct 3 17:53:30 1997 Ian Lance Taylor <ian@cygnus.com>
3391 * README: Fix configuration instructions.
3393 Mon Sep 29 12:28:41 1997 Ian Lance Taylor <ian@cygnus.com>
3395 * pexecute.c: Update to current version from /gd/gnu/lib:
3397 Mon Sep 29 12:27:59 1997 Ian Lance Taylor <ian@cygnus.com>
3399 * pexecute.c: Use spawn if __CYGWIN32__.
3401 1997-08-08 Paul Eggert <eggert@twinsun.com>
3403 * pexecute.c: Include "config.h" first, as per autoconf manual.
3405 Fri Jun 27 15:20:29 1997 Scott Christley <scottc@net-community.com>
3407 * pexecute.c (fix_argv): New function.
3408 (pexecute): Win32 but not Cygwin32 needs its arguments fixed.
3409 Add underscore to cwait function call.
3411 Sun Sep 28 12:00:52 1997 Mark Mitchell <mmitchell@usa.net>
3413 * cplus-dem.c (demangle_template): Add new parameter. Handle new
3414 template-function mangling.
3415 (consume_count_with_underscores): New function.
3416 (demangle_signature): Handle new name-mangling scheme.
3418 Wed Sep 24 00:31:59 1997 Felix Lee <flee@yin.cygnus.com>
3420 * asprintf.c: stdarg.h when ALMOST_STDC
3421 * config/mh-windows (EXTRA_OFILES): add asprintf.o and
3424 Thu Aug 28 14:27:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
3426 * vasprintf.c (vasprintf): Allow for _BSD_VA_LIST_.
3428 * config.table: Add case for FreeBSD 2.1 and 2.2, needs mh-fbsd21.
3430 * config/mh-fbsd21 (EXTRA_OFILES): Force vasprintf.o
3432 Wed Sep 10 12:43:10 1997 Jason Merrill <jason@yorick.cygnus.com>
3434 * cplus-dem.c (demangle_fund_type): Change "complex" to "__complex".
3436 Fri Sep 5 16:34:42 1997 Andrew Cagney <cagney@b1.cygnus.com>
3438 * asprintf.c (asprintf): New file.
3439 * Makefile.in (CFILES): Add asprintf.c
3440 * functions.def: Ditto.
3442 Thu Aug 28 18:53:34 1997 Andrew Cagney <cagney@b1.cygnus.com>
3444 * argv.c (dupargv): New function, duplicate an argument vector.
3446 Tue Aug 19 20:28:45 1997 Geoffrey Noer <noer@cygnus.com>
3448 * config/mh-cygwin32: also build random.o
3450 Tue Aug 19 17:10:56 1997 Jason Merrill <jason@yorick.cygnus.com>
3452 * cplus-dem.c: Add 'extern' to prepends_underscore.
3454 Wed Jul 30 11:42:19 1997 Per Bothner <bothner@cygnus.com>
3456 * cplus-dem.c: Various changes to produce Java output when passed
3457 DMGL_JAVA. Thus "::" becomes "." and "JArray<Foo>" becomes "Foo[]".
3458 (main): Support --java and -j flags to set DMGL_JAVA.
3460 Tue Jul 22 19:05:23 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
3462 * config/mh-go32 (CC, AR, RANLIB): Don't define.
3464 Tue Jul 22 17:49:54 1997 Ian Lance Taylor <ian@cygnus.com>
3466 * Makefile.in (REQUIRED_OFILES): Add pexecute.o.
3467 (pexecute.o): New target.
3469 * Makefile.in (stamp-needed): New target, replacing needed-list.
3470 (needed-list): Just depend upon stamp-needed.
3471 (stamp-config): New target, replacing config.h.
3472 (config.h): Just depend upon stamp-config.
3473 (mostlyclean): Remove stamp-*.
3475 Thu Jun 12 11:00:18 1997 Angela Marie Thomas (angela@cygnus.com)
3477 * Makefile.in (FLAGS_TO_PASS): pass INSTALL, INSTALL_PROGRAM and
3478 INSTALL_DATA for multilibbed installs
3480 Tue Jun 3 13:21:05 1997 Doug Evans <dje@canuck.cygnus.com>
3482 Tue Dec 10 09:44:57 1996 Paul Eggert <eggert@twinsun.com>
3484 * choose-temp.c (choose_temp_base): Don't dump core if TMPDIR is empty.
3486 * choose-temp.c (try): Insist that temp dir be searchable.
3488 Wed Oct 23 17:36:39 1996 Doug Rupp (rupp@gnat.com)
3490 * choose-temp.c (choose_temp_base): On VMS, use proper syntax
3491 for current directory.
3493 Sat Feb 15 19:03:48 1997 Geoffrey Noer (noer@cygnus.com)
3495 * pexecute.c: Remove special cases for cygwin32.
3496 (pwait): Remove local definition of `pid'.
3498 Tue Nov 12 18:26:15 1996 Doug Rupp (rupp@gnat.com)
3500 * pexecute.c (vfork): Supply new definition for VMS.
3501 (pwait): Use waitpid instead of wait for VMS.
3503 Tue May 20 14:02:20 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
3505 * cplus-dem.c (do_type): Handle `J'.
3506 (demangle_fund_type): Print "complex" for it.
3508 Wed Apr 30 12:15:45 1997 Jason Merrill <jason@yorick.cygnus.com>
3510 * configure.in: Don't turn on multilib here.
3512 Mon Apr 28 19:04:31 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
3514 * obstack.c: move _obstack_memory_used outside of ifdef. Cannot be
3515 elided; needed by gdb and not present in libc.
3517 Thu Apr 24 19:33:47 1997 Ian Lance Taylor <ian@cygnus.com>
3519 * Makefile.in (clean): Remove tmpmulti.out.
3521 Tue Apr 22 10:25:15 1997 Fred Fish <fnf@cygnus.com>
3523 * floatformat.c (floatformat_ieee_double_littlebyte_bigword):
3524 Add new floatformat, mainly for ARM doubles.
3526 Mon Apr 14 12:11:16 1997 Ian Lance Taylor <ian@cygnus.com>
3528 * config.table: Use ${config_shell} with ${moveifchange}. From
3529 Thomas Graichen <graichen@rzpd.de>.
3531 Fri Apr 4 03:09:24 1997 Ulrich Drepper <drepper@cygnus.com>
3533 * configure.in: Enable multilibing by default.
3534 Update multilib template to read config-ml.in.
3536 Tue Apr 1 16:26:39 1997 Klaus Kaempf <kkaempf@progis.de>
3538 * makefile.vms: Add objalloc.
3540 Mon Mar 31 23:57:51 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
3542 * cplus-dem.c (demangle_it): Add prototype declaration.
3543 (usage, fatal): Likewise.
3545 * xexit.c (_xexit_cleanup): Add prototype.
3547 * strerror.c (init_error_tables): Declare.
3549 Fri Mar 28 11:43:20 1997 H.J. Lu <hjl@lucon.org>
3551 * functions.def: Add DEF of vasprintf, and DEFFUNC of strsignal.
3552 * strsignal.c: Only define strsignal if NEED_strsignal.
3553 * Makefile.in (REQUIRED_OFILES): Remove vasprintf.o.
3554 * configure.in: Add NEED_strsignal to xconfig.h. Add vasprintf.o
3556 * config/mh-cygwin32 (HDEFINES): Add -DNEED_strsignal.
3557 (EXTRA_OFILES): Define to vasprintf.o.
3558 * config/mh-windows (HDEFINES): Add -DNEED_strsignal.
3559 (EXTRA_OFILES): Add vasprintf.o.
3560 * config/mt-vxworks5 (vxconfig.h): Define NEED_strsignal.
3561 (vxneeded-list): Add vasprintf.o.
3563 Thu Mar 20 17:02:09 1997 Ian Lance Taylor <ian@cygnus.com>
3565 * objalloc.c: Include <stdio.h>.
3567 Mon Mar 17 19:23:11 1997 Ian Lance Taylor <ian@cygnus.com>
3569 * objalloc.c: New file.
3570 * Makefile.in (CFILES): Add objalloc.c
3571 (REQUIRED_OFILES): Add objalloc.o.
3572 (objalloc.o): New target.
3574 Sat Mar 15 18:49:41 1997 Ian Lance Taylor <ian@cygnus.com>
3576 * obstack.c: Update to current FSF version.
3578 Fri Mar 14 14:18:47 1997 Ian Lance Taylor <ian@cygnus.com>
3580 * cplus-dem.c: Add prototypes for all static functions.
3581 (mystrstr): Make static. Make arguments and result const.
3582 (cplus_match): Remove; not used.
3584 Tue Mar 11 14:20:31 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
3586 * cplus-dem.c (gnu_special): Call demangled_fund_type for other
3589 Tue Mar 11 15:41:21 1997 H.J. Lu <hjl@lucon.org>
3591 * spaces.c: Declare malloc and free properly.
3592 * strsignal.c (init_signal_tables): Add prototype.
3593 * xatexit.c (_xexit_cleanup): Add parameter declarations.
3595 Wed Feb 19 15:43:24 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
3597 * Makefile.in (lneeded-list): If alloca.o is needed, xexit.o is
3598 also required because of xmalloc.o.
3600 Fri Feb 14 13:43:38 1997 Ian Lance Taylor <ian@cygnus.com>
3602 * strsignal.c: Unconditionally redefine sys_siglist around the
3603 inclusion of the system header files.
3605 Thu Feb 13 22:01:04 1997 Klaus Kaempf <kkaempf@progis.de>
3607 * makefile.vms: Remove 8 bit characters. Update to latest
3610 Tue Feb 4 11:52:19 1997 Ian Lance Taylor <ian@cygnus.com>
3612 * strsignal.c: Use NEED_sys_siglist instead of
3614 * config.table: Don't use mh-lynxos.
3615 * config/mh-lynxos: Remove.
3617 Thu Jan 16 14:51:03 1997 Bob Manson <manson@charmed.cygnus.com>
3619 * cplus-dem.c: Fix indenting; make identical to the copy
3621 (do_type, case 'M'): Check for a template as well as a class.
3623 Thu Dec 19 13:51:33 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
3625 * config/mt-vxworks5 (vxneeded-list): Remove sigsetmask.o, since
3626 vxworks 5.[0-3] all have sigsetmask in them; the one provided by
3627 libiberty is incorrect, as well.
3629 Mon Dec 2 15:03:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3631 * alloca.c (alloca): When compiled with an ANSI/ISO compiler,
3632 alloca takes a size_t argument, not just unsigned.
3634 Mon Nov 18 15:42:08 1996 Jason Merrill <jason@yorick.cygnus.com>
3636 * cplus-dem.c: Note that this file also lives in GCC.
3638 Mon Nov 18 15:19:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
3640 * alloca.c: Remove include of libiberty.h for hpux.
3641 * argv.c: Replace defs from libiberty.h.
3642 * spaces.c: Put back externs from removed from libiberty.h.
3643 * vasprintf.c: Remove include of libiberty.h for hpux.
3645 Mon Nov 18 14:08:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
3647 * cplus-dem.c: Checking in again; last checkin filed due to sticky tag.
3649 Wed Nov 13 08:22:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
3651 * cplus-dem.c: Revert last two commits due to conflicts with
3652 hpux system headers.
3654 Wed Nov 13 08:22:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
3656 * alloca.c, argv.c, spaces.c, strcasecmp.c, vasprintf.c, vprintf.c:
3657 Revert last commit due to conflicts with hpux system headers.
3659 Wed Nov 13 10:36:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3661 * cplus-dem.c (x{m,re}alloc): Make declarations compatibile with
3662 libiberty.h when compiled with a standard compiler.
3664 Tue Nov 12 16:31:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
3666 * alloca.c: Include libiberty.h for definition of xmalloc.
3667 Don't redefine NULL.
3668 * argv.c: Move prototypes to libiberty.h.
3669 * cplus-dem.c: Include libiberty.h for definition of xmalloc.
3670 Don't redefine NULL.
3671 Use casts to eliminate compiler warnings.
3672 * spaces.c: Remove prototypes for malloc and free which are
3673 already in libibrty.h.
3674 * strcasecmp.c: Use casts to eliminate compiler warnings.
3675 * vasprintf.c: Include libiberty.h for definition of malloc.
3676 Don't redefine NULL.
3677 * vprintf.c: Include stdarg.h if __STDC__.
3679 Fri Oct 11 15:42:12 1996 Stu Grossman (grossman@critters.cygnus.com)
3681 * config/mh-windows: Add strcasecmp.o to EXTRA_OFILES.
3683 Fri Oct 11 11:16:31 1996 Stan Shebs <shebs@andros.cygnus.com>
3685 * mpw.c (mpwify_filename): Rewrite to simplify, and to handle
3686 upward components correctly.
3688 Tue Oct 8 08:55:34 1996 Stu Grossman (grossman@critters.cygnus.com)
3690 * config.table, config/mh-windows: Add support for building under
3691 MSVC (the Microsoft build environment).
3693 Mon Oct 7 10:50:27 1996 Ian Lance Taylor <ian@cygnus.com>
3695 * fnmatch.c: Undef const if not __STDC__.
3697 Thu Oct 3 13:46:39 1996 Ian Lance Taylor <ian@cygnus.com>
3699 * fnmatch.c: New file.
3700 * Makefile.in (CFILES): Add fnmatch.c.
3701 (REQUIRED_OFILES): Add fnmatch.o.
3702 (fnmatch.o): New target.
3704 Wed Sep 18 14:49:13 1996 Jason Merrill <jason@yorick.cygnus.com>
3706 * cplus-dem.c (demangle_template): Fix handling of address args.
3707 (gnu_special): Handle type_info stuff.
3709 Fri Sep 13 17:52:55 1996 Stan Shebs <shebs@andros.cygnus.com>
3711 * mpw.c (DebugPI): Make settable from the env var DEBUG_PATHNAMES.
3712 (mpwify_filename): Handle "::/" case.
3714 Thu Sep 12 13:30:40 1996 Geoffrey Noer <noer@cygnus.com>
3716 * config/mh-cygwin32: new file (need -DNEED_basename and
3717 -DNEED_sys_siglist for native NT rebuilding)
3718 * config.table (*-*-cygwin32): new entry
3719 * choose-temp.c: bring in sync with gcc (revert Aug 17 change)
3721 Thu Aug 29 16:48:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3723 * config.table (i[345]86-*-*): Recognize i686 for pentium pro.
3725 Tue Aug 27 13:47:58 1996 Stan Shebs <shebs@andros.cygnus.com>
3727 * pexecute.c (pexecute) [MPW]: Remove old bogus code that
3728 messed with arguments that included a '/', add escape chars
3729 to double quotes, remove const decl from arg that Mac
3730 compilers don't seem to like.
3732 Sat Aug 17 04:44:27 1996 Geoffrey Noer <noer@cygnus.com>
3734 * pexecute.c: Update test for win32 (&& ! cygwin32).
3735 * choose-temp.c: fix WIN32 preprocessor defines
3737 Thu Aug 15 12:26:48 1996 Stan Shebs <shebs@andros.cygnus.com>
3739 * mpw-make.sed: Add @DASH_C_FLAG@ and @SEGMENT_FLAG({Default})@
3740 to editing of default makefile rule.
3742 Sun Aug 11 21:03:27 1996 Stu Grossman (grossman@critters.cygnus.com)
3744 * alloca-norm.h: Include <malloc.h> if _WIN32.
3745 * argv.c: Include non-prototyped decls for malloc and string
3746 functions if ! _WIN32 or if __GNUC__.
3748 Thu Aug 8 12:42:40 1996 Klaus Kaempf <kkaempf@progis.de>
3750 * config.h-vms: New file.
3751 * makefile.vms: Use it.
3753 Wed Aug 7 17:16:12 1996 Stu Grossman (grossman@critters.cygnus.com)
3755 * getopt.c (_getopt_internal): If argc is 0, just return (before
3756 we reference *argv and segfault).
3758 Mon Aug 5 01:29:08 1996 Jason Merrill <jason@yorick.cygnus.com>
3760 * Makefile.in (distclean): Add multilib.out.
3762 Thu Jul 18 17:40:55 1996 Ian Lance Taylor <ian@cygnus.com>
3764 * alloca-norm.h: Change #ifdef sparc to #if defined (sparc) &&
3765 defined (sun). From Andrew Gierth <ANDREWG@microlise.co.uk>.
3767 Mon Jul 1 13:40:44 1996 Ken Raeburn <raeburn@cygnus.com>
3769 Tue May 28 15:29:03 1996 Pat Rankin <rankin@eql.caltech.edu>
3771 * vmsbuild.com (REQUIRD_OFILES): Add choose-temp.o and xstrdup.o.
3773 Thu Jan 25 18:20:04 1996 Pat Rankin <rankin@eql.caltech.edu>
3775 * vmsbuild.com: Changes to handle DEFFUNC(on_exit).
3776 (do_ofiles): Allow nonexistent source file in pass 3.
3777 (chk_deffunc): New routine.
3779 Tue Jun 25 19:24:43 1996 Doug Evans <dje@canuck.cygnus.com>
3781 * pexecute.c (PEXECUTE_VERBOSE): Define.
3782 (MPW pexecute): Check flags & PEXECUTE_VERBOSE instead of verbose_flag.
3784 Tue Jun 25 23:11:48 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
3786 * Makefile.in (docdir): Removed.
3788 Tue Jun 25 23:01:07 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
3790 * Makefile.in (oldincludedir): Removed.
3792 Tue Jun 25 22:50:07 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
3794 * Makefile.in (datadir): Set to $(prefix)/share.
3796 Thu Jun 20 21:17:52 1996 Ian Lance Taylor <ian@cygnus.com>
3798 * cplus-dem.c (demangle_arm_pt): Reindent. Avoid endless loop by
3799 checking for errors from do_type.
3801 Tue Jun 18 14:36:19 1996 Klaus Kaempf <kkaempf@progis.de>
3803 * makefile.vms: New file.
3804 * xmalloc.c: If VMS, include <stdlib.h> and <unixlib.h> rather
3805 than declaring malloc, realloc, and sbrk.
3807 Mon Jun 10 13:17:17 1996 Doug Evans <dje@canuck.cygnus.com>
3809 * pexecute.c: New file.
3811 Wed Jun 5 16:57:45 1996 Richard Henderson <rth@tamu.edu>
3813 * xmalloc.c: Declare sbrk.
3815 Sat May 4 05:08:45 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3817 * alloca-norm.h: Add SPARCworks cc compatible __builtin_alloca
3820 Mon Apr 22 18:41:49 1996 Ian Lance Taylor <ian@cygnus.com>
3822 * xstrerror.c: Include <stdio.h>.
3824 Sun Apr 21 11:55:12 1996 Doug Evans <dje@canuck.cygnus.com>
3826 * Makefile.in (CFILES): Add atexit.c.
3828 Sun Apr 21 09:50:09 1996 Stephen L Moshier (moshier@world.std.com)
3830 * choose-temp.c: Include sys/types.h before sys/file.h for sco3.2v5.
3832 Wed Apr 17 11:17:55 1996 Doug Evans <dje@canuck.cygnus.com>
3834 * choose-temp.c: Don't #include sys/file.h ifdef NO_SYS_FILE_H.
3836 * config/mt-vxworks5 (HDEFINES): Define NO_SYS_FILE_H.
3838 Tue Apr 16 11:27:16 1996 Jeffrey A Law (law@cygnus.com)
3840 * Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o.
3841 Reverts Feb 8, 1995 change.
3843 Mon Apr 15 12:53:26 1996 Doug Evans <dje@canuck.cygnus.com>
3845 * choose-temp.c: New file.
3846 * Makefile.in (CFILES): Add choose-temp.c.
3847 (REQUIRED_OFILES): Add choose-temp.o.
3849 Sat Apr 13 14:19:30 1996 Stu Grossman (grossman@critters.cygnus.com)
3851 * floatformat.c (floatformat_to_double): Don't bias exponent when
3852 handling zero's, denorms or NaNs.
3854 Thu Apr 11 13:36:56 1996 Stu Grossman (grossman@critters.cygnus.com)
3856 * floatformat.c (floatformat_to_double): Fix bugs with handling
3857 numbers with fractions < 32 bits.
3859 Mon Apr 8 14:48:34 1996 Ian Lance Taylor <ian@cygnus.com>
3861 * config.table: Permit --enable-shared to specify a list of
3864 Tue Mar 19 22:02:07 1996 Jason Merrill <jason@yorick.cygnus.com>
3866 * cplus-dem.c (demangle_template): Fix for non-mangled pointer
3869 Fri Mar 8 17:24:18 1996 Ian Lance Taylor <ian@cygnus.com>
3871 * configure.in: If srcdir is `.' and with_target_subdir is not
3872 `.', then set MULTISRCTOP before calling config-ml.in.
3874 Thu Mar 7 13:37:10 1996 Stan Shebs <shebs@andros.cygnus.com>
3876 * mpw.c (mpw_open): Add debugging output option.
3878 Wed Mar 6 17:36:03 1996 Jason Merrill <jason@yorick.cygnus.com>
3880 * cplus-dem.c (demangle_template): Fix for address-of-extern arguments.
3882 Tue Feb 27 12:00:50 1996 Raymond Jou <rjou@mexican.cygnus.com>
3884 * mpw.c (mpwify_filename): Change 6 to 5 in
3885 strncmp (unixname, "/tmp/", 5).
3887 Tue Feb 20 10:55:53 1996 Ian Lance Taylor <ian@cygnus.com>
3889 * cplus-dem.c (demangle_template): Initialize is_bool. Correctly
3890 handle 0 as a pointer value parameter.
3892 Mon Feb 5 16:41:44 1996 Ian Lance Taylor <ian@cygnus.com>
3894 * Makefile.in (all): Depend upon required-list.
3895 (required-list): New target.
3896 (clean): Remove required-list.
3898 Wed Jan 31 10:19:41 1996 Steve Chamberlain <sac@slash.cygnus.com>
3901 * config.table (i386-*-win32): Deleted.
3902 * config/mh-i386win32: Deleted.
3904 Thu Jan 18 11:34:17 1996 Ian Lance Taylor <ian@cygnus.com>
3906 * cplus-dem.c (cplus_demangle_opname): Change opname parameter to
3908 (cplus_mangle_opname): Change return type and opname parameter to
3909 const char *. Don't cast return value.
3911 Tue Jan 16 12:13:11 1996 Stan Shebs <shebs@andros.cygnus.com>
3913 * mpw.c: Include Timer.h, in order to get m68k Microseconds trap
3916 Wed Jan 3 13:15:04 1996 Fred Fish <fnf@cygnus.com>
3918 * obstack.c: Update copyright to 1996.
3919 (_obstack_memory_used): Define new function. Called via
3920 obstack_memory_used macro.
3922 Thu Dec 28 11:39:40 1995 Ian Lance Taylor <ian@cygnus.com>
3924 * xstrdup.c: New file.
3925 * Makefile.in (CFILES): Add xstrdup.c.
3926 (REQUIRED_OFILES): Add xstrdup.o.
3927 (xstrdup.o): New target.
3929 Mon Dec 11 18:18:52 1995 Mike Stump <mrs@cygnus.com>
3931 * atexit.c: New stub to provide atexit on systems that have
3932 on_exit, like SunOS 4.1.x systems.
3933 * functions.def (on_exit, atexit): Ditto.
3935 Mon Dec 11 15:42:14 1995 Stan Shebs <shebs@andros.cygnus.com>
3937 * mpw.c (mpw_abort): Remove decl.
3938 (mpw_access): Move debugging printf.
3940 Sat Dec 2 01:25:23 1995 Ian Lance Taylor <ian@cygnus.com>
3942 * config.table: Consistently use ${host} rather than ${xhost} or
3944 * configure.in: Don't bother to set ${xhost} before calling
3947 Tue Nov 28 14:16:57 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
3949 * Makefile.in (.c.o): Use test instead of the left bracket, to
3950 avoid problems with some versions of make.
3952 Tue Nov 28 11:45:17 1995 Stan Shebs <shebs@andros.cygnus.com>
3954 * mpw-make.sed: Fix INCDIR edit to work with Nov 14 change.
3956 Tue Nov 21 11:26:34 1995 Fred Fish <fnf@rtl.cygnus.com>
3958 * config/mh-hpux: Remove. It was only used to define EXTRA_OFILES,
3959 which was set to just alloca.o, which is now automatically marked
3960 as needed by the autoconfiguration process.
3962 Tue Nov 21 14:15:06 1995 Ian Lance Taylor <ian@cygnus.com>
3964 * config.table: Check ${with_cross_host} rather than comparing
3965 ${host} and ${target}.
3967 Thu Nov 16 14:34:42 1995 Ian Lance Taylor <ian@cygnus.com>
3969 * configure.in: If with_target_subdir is empty, set xhost to
3970 ${host} rather than ${target} before calling config.table.
3972 Tue Nov 14 01:38:30 1995 Doug Evans <dje@canuck.cygnus.com>
3974 * Makefile.in (MULTITOP): Deleted.
3975 (MULTISRCTOP, MULTIBUILDTOP): New.
3976 (FLAGS_TO_PASS): Delete INCDIR.
3977 (INCDIR): Add $(MULTISRCTOP).
3978 (install_to_libdir): Add $(MULTISUBDIR). Call $(MULTIDO).
3979 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
3980 instead of cfg-ml-pos.in.
3981 (cross-compile check): Change to test for with_target_subdir.
3982 (EXTRA_LINKS): Delete.
3984 Sun Nov 12 12:13:04 1995 Stan Shebs <shebs@andros.cygnus.com>
3986 * mpw-make.sed: Add getpagesize.c.o to needed-list.
3987 * mpw.c [USE_MW_HEADERS]: Conditionalize compiling of
3988 functions that are supplied by Metrowerks libraries.
3989 (fstat): Clean up descriptor->pointer conversion code.
3990 (InstallConsole, etc): Empty definitions, for when linking
3993 Sun Nov 5 19:25:27 1995 Per Bothner <bothner@kalessin.cygnus.com>
3995 * Makefile.in (FLAGS_TO_PASS): Also pass PICFLAGS.
3996 (.c.o): Stylistic change.
3998 Thu Nov 2 12:06:29 1995 Ian Lance Taylor <ian@cygnus.com>
4000 * strtol.c, strtoul.c: Don't include <stdlib.h>. From
4001 phdm@info.ucl.ac.be (Philippe De Muyter).
4003 Wed Nov 1 11:59:36 1995 Ian Lance Taylor <ian@cygnus.com>
4005 * configure.in: Correct sed call.
4007 Mon Oct 30 13:03:45 1995 Per Bothner <bothner@kalessin.cygnus.com>
4009 * configure.in: Clean up / simplify for native.
4011 * configure.in: Merge in stuff from ../xiberty/configure.in.
4012 * Makefile.in (CC): Add definition (so it can be overrridden
4015 Tue Oct 24 17:57:27 1995 Stan Shebs <shebs@andros.cygnus.com>
4017 * mpw-make.sed: Leave strerror.c.o in standard list of functions.
4018 * mpw.c (R_OK, ENOENT, EACCESS, ENOSYS): Remove.
4019 (link): Remove useless definition with error return.
4020 (last_microseconds, warn_if_spin_delay, record_for_spin_delay):
4021 Use UnsignedWide type for microsecond counts.
4023 Thu Oct 19 10:52:07 1995 Michael Meissner <meissner@wogglebug.tiac.net>
4025 * memcmp.c (memcmp): Argument types are const void *, not void
4028 * strncasecmp.c (strncasecmp): Include ansidecl.h/stdarg.h, not
4030 * strcasecmp.c (strcasecmp): Ditto.
4032 Tue Oct 10 11:03:24 1995 Fred Fish <fnf@cygnus.com>
4034 * Makefile.in (BISON): Remove macro.
4036 Tue Sep 26 15:06:46 1995 Stan Shebs <shebs@andros.cygnus.com>
4038 * Makefile.in (HFILES): Add default empty definition.
4039 * mpw-config.in (config.h): Only update if changed.
4040 * mpw-make.in: Remove.
4041 * mpw-make.sed: New file, edits Makefile.in into MPW makefile.
4042 * mpw.c: Remove semi-clone of strerror code.
4043 (sys_nerr, sys_errlist): Define here.
4044 (Microseconds): Only define as A-line trap if m68k Mac.
4046 Wed Sep 20 12:53:32 1995 Ian Lance Taylor <ian@cygnus.com>
4048 * Makefile.in (maintainer-clean): New synonym for distclean.
4050 Mon Aug 28 19:47:52 1995 Per Bothner <bothner@kalessin.cygnus.com>
4052 * config.table: For host, generalize rs6000-ibm-aix*
4053 to *-ibm-aix* so we also include powerpc.
4055 Tue Aug 22 03:18:05 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
4057 Fri Jun 16 18:35:40 1995 Pat Rankin (rankin@eql.caltech.edu)
4059 * xstrerror.c: New file.
4060 * Makefile.in, vmsbuild.com: Compile it.
4062 Mon Jul 31 12:16:32 1995 steve chamberlain <sac@slash.cygnus.com>
4064 * config.table (i386-*-win32): New.
4066 Fri Jul 21 11:35:52 1995 Doug Evans <dje@canuck.cygnus.com>
4068 * Makefile.in (MULTITOP): New variable.
4069 (MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): Likewise.
4070 (all): Add multilib support.
4071 (install_to_tooldir, *clean): Likewise.
4073 Mon Jul 10 11:47:27 1995 Ken Raeburn <raeburn@cygnus.com>
4075 * makefile.dos (OBJS): Add hex.o. From DJ Delorie.
4077 Fri Jun 30 17:28:59 1995 Pat Rankin (rankin@eql.caltech.edu)
4079 * vmsbuild.com: create "new-lib.olb", build libiberty under that
4080 name, and then make it become "liberty.olb" when done, so that an
4081 incomplete build attempt never leaves behind something which looks
4082 like a complete library.
4084 Thu Jun 29 00:22:02 1995 Steve Chamberlain <sac@slash.cygnus.com>
4086 * config/mh-i386pe: New file for PE hosts.
4087 * config.table: Understand PE hosts.
4089 Wed Jun 28 19:13:23 1995 Jason Merrill <jason@phydeaux.cygnus.com>
4091 * cplus-dem.c: Update from gcc.
4093 * argv.c, dummy.c: If __STDC__, #include "alloca-conf.h" after
4095 * alloca-norm.h: If __STDC__, declare alloca with its parameter.
4097 Thu Jun 22 18:57:47 1995 Stan Shebs <shebs@andros.cygnus.com>
4099 * mpw-make.in (ALL_CFLAGS): Define NEED_basename.
4100 * mpw.c: Only test DebugPI once whenever printing debug info.
4101 (mpwify_filename): If filename is /tmp/foo, change it into :_foo,
4102 also fix to not write on input filename buffer.
4103 (mpw_access): Use stat() instead of open(), works for directories
4106 Mon Jun 19 00:33:22 1995 Jason Merrill <jason@phydeaux.cygnus.com>
4108 * Makefile.in: Massage broken shells that require 'else true'.
4110 Sat Jun 17 23:21:58 1995 Fred Fish <fnf@cygnus.com>
4112 * alloca-norm.h: Declare alloca as type "PTR" to match functions.def.
4113 Declare __builtin_alloca in the sparc case, as argv.c did.
4114 * argv.c: Replace inline version of alloca-norm.h at start of file with
4115 a #include of alloca-conf.h. Precede it with an include of ansidecl.h
4116 because alloca-norm.h needs to declare alloca as "PTR".
4118 Mon Jun 12 14:24:26 1995 Steve Chamberlain <sac@slash.cygnus.com>
4120 * win32.c: New file.
4122 Fri Jun 9 15:16:14 1995 Jason Merrill <jason@phydeaux.cygnus.com>
4124 * dummy.c: #include "alloca-conf.h".
4126 Wed Jun 7 11:46:23 1995 Jason Merrill <jason@phydeaux.cygnus.com>
4128 * Makefile.in (mostlyclean): Remove stamp-picdir.
4131 Mon Jun 5 18:46:06 1995 Jason Merrill <jason@phydeaux.cygnus.com>
4133 * config.table (frags): Use toplevel pic frags.
4135 * Makefile.in (PICFLAG): New macro.
4136 (all): Depend on stamp-picdir.
4137 (needed-list): Ditto.
4138 (.c.o): Also build pic object.
4139 (stamp-picdir): New rule.
4140 (mostlyclean): Remove pic.
4141 (clean): Remove stamp-picdir.
4143 Fri Mar 24 16:55:48 1995 Pat Rankin (rankin@eql.caltech.edu)
4145 * vmsbuild.com (config.h): Add `#define NEED_basename'.
4147 Tue May 23 10:12:46 1995 Per Bothner <bothner@kalessin.cygnus.com>
4149 * clock.c, getopt.c, strtod.c, vsprintf.c: Change from using LGPL
4150 to libio-style copyright.
4151 * getpagesize.c: Remove FSF copyright.
4153 Sat May 20 12:30:23 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
4155 Added improved VMS support from Pat Rankin:
4157 Fri Mar 17 18:40:36 1995 Pat Rankin (rankin@eql.caltech.edu)
4159 * vmsbuild.com: new file.
4161 * getpagesize.c (getpagesize): implement for VMS;
4162 * strerror.c (strerror, strerrno, strtoerrno): add rudimentary
4163 support for EVMSERR.
4165 Thu May 18 17:01:42 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
4167 Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
4169 * floatformat.c (floatformat_arm_ext): Define.
4171 Tue May 16 13:30:59 1995 Per Bothner <bothner@kalessin.cygnus.com>
4173 * basename.c, bcmp.c, getcwd.c, insque.c, rename.c, sigsetmask.c,
4174 strerror.c, strsignal.c: Remove FSF copyright.
4175 * sigsetmask.c: #include <sys/types.h> - seems to be needed by ISC.
4177 Mon May 15 19:53:17 1995 Per Bothner <bothner@kalessin.cygnus.com>
4179 * bcopy.c, bzero.c, memcmp.c, memcpy.c, memset.c, strchr.c,
4180 strrchr.c, strstr.c, vfork.c: Remove FSF Copyright, because this
4181 might contaminate libstdc++ with the LGPL. (OK'd by RMS 11 Oct 94.)
4182 * strchr.c, strrchr.c: Add cast to suppress const warning.
4184 Thu May 4 14:36:42 1995 Jason Merrill <jason@phydeaux.cygnus.com>
4186 * cplus-dem.c: Use const instead of CONST. Don't include
4187 ansidecl.h directly.
4189 Wed Apr 19 01:30:27 1995 Jason Merrill <jason@phydeaux.cygnus.com>
4191 * cplus-dem.c: Don't include libiberty.h. Do declare xmalloc and
4193 (-DMAIN): Don't rely on an externally-defined version number;
4194 instead, require the version number to be defined as a
4195 preprocessor macro. Handle the RS/6000 leading dot. Define
4196 xmalloc, xrealloc and fatal. Don't strip a leading underscore
4197 if we couldn't demangle the word.
4199 Tue Apr 4 13:03:51 1995 Stan Shebs <shebs@andros.cygnus.com>
4201 (Old mpw.c change descriptions retained for informational value.)
4202 * mpw.c (warning_threshold): Default to .4 sec.
4203 (overflow_count, current_progress): New globals.
4204 (warn_if_spin_delay): Include current progress type,
4205 such as program name, in message.
4206 (mpw_start_progress): Set current_progress variable from arg.
4207 (mpw_end_progress): Report spin delays by power-of-two-size
4208 buckets instead of constant-size buckets.
4210 * mpw.c: Clean up formatting, types, returns, etc.
4212 (mpw_fread, mpw_fwrite): Define.
4213 (sleep): Define correctly.
4215 * mpw.c: New code to implement cursor spinning support.
4216 (umask): New function.
4217 (mpw_fopen, mpw_fseek, stat, fstat): Call PROGRESS.
4219 * mpw.c (mpw_basename, mpw_mixed_basename): New functions, find
4220 basenames for MPW and MPW/Unix filenames.
4221 (mpw_special_init): New function, calls Macsbug if desired.
4223 * mpw.c: Add GPL notice.
4224 (mpwify_filename): Add more transformations.
4225 (mpw_fopen): Call mpwify_filename on file names.
4227 (chdir, getcwd): Add simple definitions.
4229 * mpw.c: Random cleanups, remove unused code bits.
4230 Added copy of strerror.c for gcc's use.
4231 (stat, fstat, _stat): New versions based on Guido van Rossum code.
4233 * mpw.c (mpw_fseek): Make it work correctly when doing SEEK_CUR.
4235 * mpw.c (stat): Remove hack definition, get from sys/stat.h.
4236 (fork, vfork, etc): Print error messages if called.
4237 (getrusage, sbrk, environ, isatty, link, utime, mkdir, rmdir,
4238 rename, chown): Define.
4240 * mpw-config.in: New file, MPW version of configure.in.
4241 * mpw-make.in: New file, MPW version of Makefile.in.
4242 * mpw.c: New file, MPW compatibility routines.
4244 Fri Mar 24 14:10:30 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
4246 * basename.c: Include config.h before checking for NEED_basename.
4248 Thu Mar 23 19:09:54 1995 Jason Merrill <jason@phydeaux.cygnus.com>
4250 * functions.def: Add DEFFUNC for basename.
4252 * basename.c: Only define basename if NEED_basename.
4254 Thu Mar 16 13:36:05 1995 Jason Merrill <jason@phydeaux.cygnus.com>
4256 * config.table: Fix --enable-shared logic for native builds.
4258 Mon Mar 13 11:05:11 1995 Jason Merrill <jason@phydeaux.cygnus.com>
4260 * cplus-dem.c (demangle_template): Demangle bool literals properly.
4262 Mon Mar 6 23:57:28 1995 Stu Grossman (grossman@cygnus.com)
4264 * strtol.c strtoul.c: Replace these with less buggy versions from
4265 NetBSD. (strtoul in particular couldn't handle base 16.)
4267 Wed Mar 1 15:59:01 1995 Ian Lance Taylor <ian@cygnus.com>
4269 * config/mt-vxworks5 (HDEFINES): Define NO_SYS_PARAM_H.
4271 * clock.c: If NO_SYS_PARAM_H is defined, don't include
4273 * getcwd.c, getpagesize.c, getruntime.c: Likewise.
4275 Fri Feb 17 15:40:55 1995 Ian Lance Taylor <ian@cygnus.com>
4277 * getruntime.c (get_run_time): Don't assume that CLOCKS_PER_SEC is
4278 a number; ANSI appears to permit any expression, including a
4281 * config.table (*-*-vxworks5*): Use mt-vxworks5 when configuring
4283 * config/mt-vxworks5: New file.
4285 Thu Feb 9 14:19:45 1995 Ian Lance Taylor <ian@cygnus.com>
4287 * basename.c (basename): Change argument to be const.
4289 Wed Feb 8 18:06:52 1995 Jason Merrill <jason@phydeaux.cygnus.com>
4291 * Makefile.in (lneeded-list): Don't worry about xmalloc.
4293 Sun Jan 15 00:40:36 1995 Jeff Law (law@snake.cs.utah.edu)
4295 * Makefile.in (distclean): Delete xhost-mkfrag.
4297 Thu Jan 12 16:54:18 1995 Jason Merrill <jason@phydeaux.cygnus.com>
4299 * Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o.
4301 Wed Jan 11 22:39:56 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
4304 * Makefile.in (REQUIRED_OFILES, CFILES): List it.
4305 (hex.o): Add dependencies.
4307 * cplus-dem.c (demangle_prefix): For GNU style constructor and
4308 destructor names, try demangling the remainder of the string.
4310 Wed Dec 28 00:49:15 1994 Ian Lance Taylor <ian@tweedledumb.cygnus.com>
4312 * vasprintf.c (int_vasprintf): New static function.
4313 (vasprintf): Use int_vasprintf. Removes assumption that va_list
4314 is assignment compatible.
4316 Sat Nov 5 19:29:12 1994 Jason Merrill (jason@phydeaux.cygnus.com)
4318 * Makefile.in (LIBCFLAGS): New variable.
4319 (FLAGS_TO_PASS): Pass it.
4322 Thu Nov 3 19:09:47 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
4324 * getopt.c, getopt1.c: Do compile these functions under Linux,
4325 since many native versions are based on glibc but are buggy.
4327 Mon Oct 24 15:16:46 1994 Per Bothner <bothner@kalessin.cygnus.com>
4329 * vasprintf.c: Make 'format' arg be const, to avoid a mismatch
4330 with prototype in GNU libc. Support stdarg.h as well as varargs.h.
4332 Tue Oct 11 17:48:27 1994 Jason Merrill (jason@phydeaux.cygnus.com)
4334 * Makefile.in (REQUIRED_OFILES): Add vasprintf.o.
4335 * functions.def: Remove vasprintf.
4337 Wed Sep 14 17:04:55 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
4339 * xmalloc.c (first_break): New static variable.
4340 (xmalloc_set_program_name): Record sbrk (0) in first_break.
4341 (xmalloc): If memory allocation fails, try to report how much
4342 memory was allocated by the program up to this point.
4343 (xrealloc): Likewise.
4345 Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)
4347 * Makefile.in (ERRORS_CC): New variable, defaulted to $(CC). Use it
4349 * config.table: Add host RISCiX Makefile frag.
4350 * config/mh-riscix: New file.
4352 Thu Aug 25 17:29:44 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
4354 * Makefile.in (FLAGS_TO_PASS): Define.
4355 ($(RULE1)): Use $(FLAGS_TO_PASS).
4357 Wed Aug 24 17:08:47 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
4359 * vasprintf.c: Include <string.h>.
4360 (vasprintf): Add casts to void for va_arg to avoid gcc warnings.
4361 * xatexit.c: Declare malloc.
4363 Fri Aug 19 15:29:12 1994 Kung Hsu (kung@mexican.cygnus.com)
4365 * cplus-dem.c (demangle_args): Fix a bug in previous patch (the
4368 Thu Aug 18 14:37:14 1994 Kung Hsu (kung@mexican.cygnus.com)
4370 * cplus-dem.c (demangle args): Handle ARM repeat encoding where
4371 the type index is greater than 9.
4373 Wed Aug 17 16:13:49 1994 Kung Hsu (kung@mexican.cygnus.com)
4375 * cplus-dem.c (demangle_qualified): accept optional '_' between
4376 qualified name. This is baecause the template name may end with
4377 numeric and can mixed up with the length of next qualified name.
4379 Wed Aug 3 05:52:14 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
4381 * config/mt-sunos4: Use our standard location for cross-includes
4382 and cross-libs when the target is also a "host" environment (ie no
4383 newlib; includes and such don't belong to us). This is specific
4384 to the Cygnus Support environment.
4386 Tue Aug 2 15:25:12 1994 Kung Hsu (kung@mexican.cygnus.com)
4388 * cplus-dem.c (demangle_template): demangle as xxx<'Q'> not
4391 Mon Aug 1 17:02:48 1994 Kung Hsu (kung@mexican.cygnus.com)
4393 * cplus-dem.c (main): flush stdout to make pipe work.
4395 Sat Jul 16 12:56:32 1994 Stan Shebs (shebs@andros.cygnus.com)
4397 * config.table (*-*-cxux7*): Recognize.
4398 * floatformat.c (floatformat_m88110_ext) [HARRIS_FLOAT_FORMAT]:
4399 Harris-specific float format.
4400 * config/mh-cxux7: New file.
4402 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4404 * cplus-dem.c (demangle_template): Make sure that the result of
4405 consume_count doesn't index beyond the end of the string.
4407 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4409 * cplus-dem.c (gnu_special): Handle vtable mangling of gcc-2.4.5 and
4410 earlier. Improve test for new vtable mangling. Change output back
4413 Mon Jun 20 11:37:30 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
4415 * obstack.c: Always compile this code, even if using the GNU
4416 library. Avoids problems with relatively recent binary
4419 Thu Jun 16 17:54:01 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4421 * cplus-dem.c: Include libiberty.h.
4422 (xmalloc, xrealloc, free): Don't declare.
4423 (strstr): Don't declare parameters.
4424 (xmalloc, xrealloc): Don't define.
4425 (long_options): Add no-strip-underscores.
4426 (main): Call xmalloc_set_program_name. Pass n in short options to
4427 getopt_long. Handle option 'n' to not strip underscores.
4428 (usage): Mention -n and --no-strip-underscores.
4430 Sun Jun 12 01:37:09 1994 Jason Merrill (jason@deneb.cygnus.com)
4432 * cplus-dem.c (demangle_template): Separate consecutive >'s with a
4434 (gnu_special): Demangle template and qualified names in a vtable name.
4436 Fri May 27 12:27:52 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
4438 From gas-2.3 and binutils-2.4 net releases:
4440 Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com)
4442 * makefile.dos: [new] Makefile for dos/go32
4443 * configure.bat: update for latest files
4444 * msdos.c: remove some functions now in libc.a
4446 Fri May 20 18:53:32 1994 Per Bothner (bothner@kalessin.cygnus.com)
4448 * cplus-dem.c (gnu_special): Recognize thunks, as well as
4449 the new naming style for vtables (when -fvtable-thunks).
4451 Wed May 18 13:34:06 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4453 * Makefile.in (XTRAFLAGS): Don't define.
4454 (.c.o, dummy.o): Don't use XTRAFLAGS.
4455 ($(RULE1)): Don't pass XTRAFLAGS down in recursive call.
4457 Fri May 13 16:02:12 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4459 * vasprintf.c: New file.
4460 * Makefile.in, functions.def: Add it.
4462 Fri May 13 16:20:28 1994 Jason Merrill (jason@deneb.cygnus.com)
4464 * cplus-dem.c (demangle_fund_type): Grok bool.
4466 Fri May 6 14:44:21 1994 Steve Chamberlain (sac@cygnus.com)
4468 * config.table: Add go32
4469 * config/mh-go32: New template.
4471 Fri May 6 11:01:59 1994 D. V. Henkel-Wallace (gumby@rtl.cygnus.com)
4473 * config.table, config/mt-sunos4: config for when sun4 is cross target.
4475 Mon Apr 11 00:54:33 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4477 * getopt.c [not __GNU_LIBRARY__] [__GCC__] [not __STDC__]:
4478 Declare strlen to return int. Don't include stddef.h.
4480 Fri Apr 1 00:38:17 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu)
4482 * getopt.c: Delete use of IN_GCC to control whether
4483 stddef.h or gstddef.h is included.
4485 Thu Apr 14 14:00:56 1994 Kung Hsu (kung@mexican.cygnus.com)
4487 * cplus-dem.c (demangle_signature): Fix a bug in template function
4490 Wed Apr 13 17:23:03 1994 Kung Hsu (kung@mexican.cygnus.com)
4492 * cplus-dem.c (demangle_signature): Fix template function with arm
4493 style argument type number, Tn.
4495 Wed Apr 13 17:11:15 1994 Jason Merrill (jason@deneb.cygnus.com)
4497 * cplus-dem.c (optable): Add new[] and delete[].
4499 Fri Apr 8 11:21:42 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
4501 * argv.c (buildargv): Don't produce empty argument just because
4502 there is trailing whitespace.
4504 Wed Apr 6 11:42:14 1994 Kung Hsu (kung@mexican.cygnus.com)
4506 * cplus-dem.c (demangle_template): fix 'Q' qualified name bug.
4507 Handle 'p' same as 'P'.
4508 * cplus-dem.c (do_type): Handle 'p' same as 'P'.
4510 Sat Mar 26 12:00:13 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4512 * floatformat.c (get_field, put_field): Fix off by one error in
4515 Thu Mar 24 10:40:19 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4517 * floatformat.c (floatformat_from_double): Pass unsigned char *,
4518 not char *, to put_field.
4520 Fri Mar 18 12:34:33 1994 Per Bothner (bothner@kalessin.cygnus.com)
4522 * memmove.c: Re-wrote; placed in public domain.
4524 Wed Mar 16 10:33:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4526 * cplus-dem.c (demangle_prefix): If ARM demangling, don't treat
4527 __Q* as a constructor.
4529 Mon Mar 14 12:26:02 1994 Ian Lance Taylor (ian@cygnus.com)
4531 * ieee-float.c: Removed; no longer used.
4532 * Makefile.in: Changed accordingly.
4534 Mon Mar 7 12:28:17 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4536 * floatformat.c (get_field): Removed unused local variable i.
4537 (put_field): Removed unused local variable i.
4539 Sun Feb 27 21:50:11 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
4541 * floatformat.c: New file, intended to replace ieee-float.c.
4542 * Makefile.in: Change accordingly.
4544 Thu Feb 24 11:51:12 1994 David J. Mackenzie (djm@rtl.cygnus.com)
4546 * getopt.c: Remove #ifdef GETOPT_COMPAT and #if 0 code.
4547 (_getopt_initialize): New function, broken out of _getopt_internal.
4549 If long_only and the ARGV-element has the form "-f", where f is
4550 a valid short option, don't consider it an abbreviated form of
4551 a long option that starts with f. Otherwise there would be no
4552 way to give the -f short option.
4554 Thu Feb 10 14:44:16 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4556 * getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]:
4557 Test just __STDC__, not emacs.
4559 Wed Feb 9 00:14:00 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4561 * getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]
4562 [emacs] [not __STDC__]: Don't include stddef.h. Don't declare strlen.
4564 Fri Dec 24 19:43:00 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
4566 * getopt.c (_NO_PROTO): Define before config.h is included.
4568 Mon Sep 20 15:59:03 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4570 * getopt.c, getopt1.c [emacs || CONFIG_BROKETS]: Include
4571 <config.h> only under these, else "config.h".
4573 Thu Aug 12 18:16:49 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4575 * getopt.c, getopt1.c [HAVE_CONFIG_H]: Include
4576 <config.h> instead of "config.h".
4578 Sun Feb 20 17:17:01 1994 Ian Lance Taylor (ian@lisa.cygnus.com)
4580 * concat.c: Check ANSI_PROTOTYPES rather than __STDC__ to decide
4581 whether to use prototypes or not.
4582 * strerror.c (const): Never undefine; let ansidecl.h handle it.
4583 * strsignal.c (const): Likewise.
4585 Thu Feb 17 13:27:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4587 * xatexit.c (_xexit_cleanup): Declare as extern; don't initialize.
4588 Merging common and initialized variables need not be supported by
4590 (xatexit): Initialize _xexit_cleanup if not already set.
4591 * xexit.c: Comment fix.
4593 Wed Feb 16 01:15:36 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4595 * xmalloc.c: Don't declare xexit; it's declared in libiberty.h.
4596 (xrealloc): If oldmem is NULL, allocate with malloc, rather than
4597 assuming that realloc works correctly.
4599 Tue Feb 15 09:26:16 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4601 * concat.c, ieee-float.c: Replace inclusion of <string.h>
4602 with explicit function declarations, as recommended by Ian Taylor.
4604 Sat Feb 12 10:31:11 1994 David J. Mackenzie (djm@rtl.cygnus.com)
4606 * xmalloc.c (xmalloc, xrealloc): Use PTR and size_t throughout.
4607 (malloc, realloc): Declare.
4609 Thu Feb 10 17:08:19 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4611 * argv.c, basename.c: Include ansidecl.h and libiberty.h.
4612 * concat.c, fdmatch.c, getruntime.c, spaces.c: Likewise.
4613 * strerror.c, strsignal.c, xatexit.c, xexit.c: Likewise.
4614 * xmalloc.c: Likewise.
4615 * concat.c: Don't declare xmalloc. If __STDC__, use <stdarg.h>
4616 macros, not <varargs.h> macros.
4617 * spaces.c (spaces): Make return type const. Don't crash if
4618 malloc returns NULL.
4619 * strerror.c (struct error_info): Make name and msg fields const.
4620 (error_names): Make const.
4621 (strerrno): Make const.
4622 (strtoerrno): Make argument const.
4623 * strsignal.c (struct signal_info): Make name and msg fields
4625 (signal_names, sys_siglist): Make const.
4626 (strsignal, strsigno): Make const.
4627 (strtosigno): Make argument const.
4628 * xatexit.c: Declare parameter types.
4629 * xmalloc.c (name): Make const.
4630 (xmalloc_set_program_name): Make argument const.
4631 * Makefile.in (INCDIR): Define.
4632 (.c.o): Use $(INCDIR).
4633 (dummy.o): Likewise.
4634 (argv.o, basename.o): New targets; depend on libiberty.h.
4635 (concat.o, fdmatch.o, getruntime.o, spaces.o): Likewise.
4636 (strerror.o, strsignal.o, xatexit.o, xexit.o): Likewise.
4637 (xmalloc.o): Likewise.
4638 (cplus-dem.o): New target; depend on demangle.h.
4639 (getopt.o, getopt1.o): New targets; depend on getopt.h.
4640 (ieee-float.o): New target; depend on ieee-float.h.
4641 (obstack.o): New target; depend on obstack.h.
4643 Tue Feb 8 05:29:08 1994 David J. Mackenzie (djm@thepub.cygnus.com)
4645 Handle obstack_chunk_alloc returning NULL. This allows
4646 obstacks to be used by libraries, without forcing them
4647 to call exit or longjmp.
4648 * obstack.c (_obstack_begin, _obstack_begin_1, _obstack_newchunk):
4649 If CALL_CHUNKFUN returns NULL, set alloc_failed, else clear it.
4650 (_obstack_begin, _obstack_begin_1): Return 1 if successful, 0 if not.
4652 Tue Feb 8 00:32:28 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4654 * concat.c, ieee-float.c: Include <string.h>.
4656 Sun Feb 6 21:28:46 1994 David J. Mackenzie (djm@thepub.cygnus.com)
4658 * xmalloc.c (xmalloc_set_program_name): New function.
4659 (xmalloc, xrealloc): Include the name in the error message, if set.
4661 * Replace atexit.c with xatexit.c.
4662 * Makefile.in (CFILES), functions.def: Change references.
4664 Sat Feb 5 14:02:32 1994 Stan Shebs (shebs@andros.cygnus.com)
4666 * getruntime.c (get_run_time): Use getrusage or times if
4667 HAVE_GETRUSAGE or HAVE_TIMES are defined.
4669 Fri Feb 4 15:49:38 1994 David J. Mackenzie (djm@thepub.cygnus.com)
4671 * atexit.c: New file.
4672 * Makefile.in (CFILES), functions.def: Add it.
4673 * xexit.c: New file.
4674 * Makefile.in (CFILES, REQUIRED_OFILES): Add it.
4675 * xmalloc.c (xmalloc, xrealloc): Call xexit instead of exit.
4676 Change request for 0 bytes into request for 1 byte.
4678 Wed Feb 2 11:36:49 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4680 * xmalloc.c (xmalloc, xrealloc): Print size using %lu, and cast to
4681 unsigned long, to avoid warnings.
4683 Fri Jan 28 17:49:06 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
4685 * dummy.c: Don't include time.h ever; always define clock_t as
4686 "unsigned long". Until gcc/fixincludes ensures that clock_t
4687 exists, __STDC__ isn't a sufficient test. And if clock() doesn't
4688 exist, clock_t probably doesn't either.
4690 Mon Jan 24 11:52:31 1994 Stan Shebs (shebs@andros.cygnus.com)
4692 * clock.c, getruntime.c: New files.
4693 * Makefile.in: Add to file lists.
4694 * functions.def (clock): Add to list.
4695 * dummy.c (time.h): Add if __STDC__.
4696 (clock_t): #define as "unsigned long" if not __STDC__.
4698 Tue Jan 11 11:27:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4700 * strtod.c: Declare atof. From edler@jan.ultra.nyu.edu (Jan
4703 Tue Dec 28 14:17:30 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4705 * Makefile.in (errors): Use CFLAGS as well as LDFLAGS when
4708 Fri Dec 17 12:26:07 1993 Kung Hsu (kung@cirdan.cygnus.com)
4710 * cplus-dem.c (demangle_arm_pt): New function. Common code
4711 for ARM template demangling.
4712 * cplus-dem.c (demangle_class_name): Use demangle_arm_pt.
4713 * cplus-dem.c (demangle_prefix): Likewise.
4715 Tue Nov 30 15:47:48 1993 Jason Merrill (jason@deneb.cygnus.com)
4717 * cplus-dem.c (cplus_demangle_opname): Add CONST to please gcc.
4719 Sat Nov 27 11:05:50 1993 Fred Fish (fnf@cygnus.com)
4721 Merge changes from tom@basil.icce.rug.nl (Tom R.Hageman)
4722 * strerror.c, strsignal.c: As a small space optimization, don't
4723 include messages when they aren't actually used.
4725 Merge changes from takefive.co.at!joe (Josef Leherbauer)
4726 * cplus-dem.c (demangle_prefix, demangle_function_name,
4727 cplus_demangle_opname): Fixes for systems where cplus_marker
4728 is something other than '$'.
4730 Fri Nov 26 13:51:11 1993 Per Bothner (bothner@kalessin.cygnus.com)
4732 * waitpid.c: Simple-minded approcimation to waitpid
4734 * functions.def, Makefile.in: Update accordingly,
4736 Thu Nov 18 18:01:15 1993 Kung Hsu (kung@cirdan.cygnus.com)
4738 * cplus-dem.c(demangle_template): fix bug template instantiation
4739 with value of user defined type.
4741 Wed Nov 17 18:30:21 1993 Kung Hsu (kung@cirdan.cygnus.com)
4743 * cplus-dem.c(cplus_demangle_opname): add the subject new function
4744 to support unified search of operator in class.
4746 Wed Nov 10 09:47:22 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4749 * strtoul.c (strtoul): use "(digit = *s) != '\0'" not just
4750 "digit = *s" as condition in while loop.
4752 Tue Nov 9 15:52:22 1993 Mark Eichin (eichin@cygnus.com)
4754 * Makefile.in: pass SHELL to recursive make
4756 Thu Nov 4 12:09:26 1993 Per Bothner (bothner@kalessin.cygnus.com)
4758 * vfprintf.c, vprintf.c, vsprintf.c: Make format arg
4759 be (const char*), for ANSI (and gcc w/fixproto) consistency.
4761 Thu Nov 4 08:29:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4763 * config.table: Make *-*-hiux* use mh-hpux.
4765 Fri Oct 22 07:53:15 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4767 * config.table: Add * to end of all OS names.
4769 Tue Oct 19 17:12:01 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
4771 * Makefile.in (lneeded-list): ensure that object file names are
4772 not duplicated, as multiple instances of the same object file in
4773 a library causes problems on some machines
4775 Mon Oct 18 21:59:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4777 * strcasecmp.c, strncasecmp.c: Change u_char to unsigned char.
4779 Fri Oct 15 22:17:11 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
4781 * strncasecmp.c: new file, implements strncasecmp
4782 * strcasecmp.c: new file, implement strcasecmp
4784 * Makefile.in (CFILES): list these two new source files
4786 * functions.def: add strcasecmp and strncasecmp entries
4788 Fri Oct 15 14:53:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4790 * strtoul.c (strtoul), strtol.c (strtol): Handle overflow
4791 according to ANSI C.
4793 Thu Oct 14 16:34:19 1993 Kung Hsu (kung@cirdan.cygnus.com)
4795 * cplus-dem.c: add support of ARM global constructor/destructor,
4796 and 'G' for passing record or union in parameter.
4798 Wed Oct 13 13:36:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4800 * Makefile.in: Fix comment to clarify that stuff in REQUIRED_OFILES
4801 should not be in functions.def.
4803 Wed Oct 13 13:13:38 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4805 * functions.def: Removed xmalloc. Stuff in REQUIRED_OFILES should
4806 not be in functions.def.
4808 Mon Oct 4 18:26:39 1993 Kung Hsu (kung@cirdan.cygnus.com)
4810 * cplus-dem.c: change globl constructor/destructor to proper name
4812 Tue Sep 28 18:11:07 1993 Kung Hsu (kung@cirdan.cygnus.com)
4814 * cplus-dem.c: fix bug in constructor/destructor
4816 Tue Sep 28 16:20:49 1993 Kung Hsu (kung@cirdan.cygnus.com)
4818 * cplus-dem.c: support both old and new _vt$... vtbl mangled names
4820 Fri Sep 24 19:07:16 1993 Jason Merrill (jason@deneb.cygnus.com)
4822 * cplus-dem.c: Fix demangle_template prototype
4824 Fri Sep 24 17:32:55 1993 Kung Hsu (kung@cirdan.cygnus.com)
4826 * cplus-dem.c: fix template demangling
4827 * cplus-dem.c: fix const type demangling
4828 * cplus-dem.c: fix constructor/destructor, virtual table,
4829 qualifier, global constructor/destructor demangling
4831 Wed Sep 1 23:13:11 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4833 * strsignal.c, strerror.c: Use fully-bracketed initializer to
4834 keep gcc -Wall happy.
4836 Fri Aug 27 10:30:09 1993 Jason Merrill (jason@deneb.cygnus.com)
4838 * cplus-dem.c (do_type): Add CONSTS to make gcc happy with last
4841 Fri Aug 27 11:24:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4843 Patch from Paul Flinders:
4844 * cplus-dem.c (do_type): Deal with arrays.
4846 Tue Aug 24 14:23:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4848 * cplus-dem.c (demangle_qualified: Deal with GNU format for more
4851 Wed Aug 18 19:50:29 1993 Jason Merrill (jason@deneb.cygnus.com)
4853 * Makefile.in (dummy.o): Redirect to /dev/null to avoid "variable
4854 not initialized" warnings under HP/UX
4856 Sun Aug 15 20:42:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4858 * strerror.c: Move include of stdio.h after sys_errlist #define.
4859 Also remove NULL definition (stdio.h always defines NULL, so it
4860 never did anything but clutter up the code).
4862 Sat Aug 14 14:21:49 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
4864 * Makefile.in, functions.def: handle xmalloc.c
4866 * xmalloc.c: provide xmalloc and xrealloc functions
4868 Thu Aug 12 17:38:57 1993 David J. Mackenzie (djm@thepub.cygnus.com)
4870 * cplus-dem.c: Fix a comment.
4872 Sat Aug 7 13:56:35 1993 David J. Mackenzie (djm@thepub.cygnus.com)
4874 * getopt1.c: Declare const the way getopt.c does.
4876 Fri Aug 6 17:03:13 1993 David J. Mackenzie (djm@thepub.cygnus.com)
4878 * obstack.c, alloca.c: Update from FSF.
4879 * getopt.c, getopt1.c: Update to current FSF version, which
4882 Tue Jul 27 14:03:57 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
4884 * Makefile.in (demangle): Add the target with a message saying
4885 where demangle went.
4887 Mon Jul 26 15:49:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4889 * Makefile.in: Remove obsolete `demangle' target.
4891 Thu Jul 22 08:31:01 1993 Fred Fish (fnf@deneb.cygnus.com)
4893 * cplus-dem.c (arm_special): Apply patch from arg@lucid.com to
4894 avoid infinite loop on vtbl symbols with disambiguating "junk"
4897 Mon Jul 19 14:10:37 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
4899 * strsignal.c: work around some systems losing definitions of
4902 * config/mh-lynxos: this system has a losing definition of
4905 * config.table: use mh-lynxos for *-*-lynxos
4907 Mon Jul 19 17:08:52 1993 Ken Raeburn (raeburn@rtl.cygnus.com)
4909 * config.table: Add support for HPPA BSD hosts.
4911 * config/mh-hpbsd: New file.
4913 Mon Jul 12 18:00:40 1993 K. Richard Pixley (rich@cygnus.com)
4915 * Makefile.in (TAGS): make work when srcdir != objdir.
4917 Sun Jun 27 15:35:31 1993 David J. Mackenzie (djm@thepub.cygnus.com)
4919 * cplus-dem.c (main): Add long options, including --help and
4921 (usage): New function from code in main.
4923 Tue Jun 22 11:37:38 1993 Per Bothner (bothner@deneb.cygnus.com)
4925 * config.table: New shell scipt, sourced by both ./configure,in
4926 and ../xiberty/configure.in, to avoid maintainance lossages.
4927 * configure.in and ../xiberty/configure.in: Use config.table.
4929 * configure.in: Don't use mh-aix for AIX 3.2, only for 3.1.
4930 * configure.in: Map *-*-irix* (except irix4) to mh-sysv.
4931 * ../xiberty/configure.in: Update from ./configure.in.
4933 Tue Jun 15 17:05:31 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
4935 * Makefile.in: remove parentdir support
4937 Wed May 26 12:59:09 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4939 * cplus-dem.c (xrealloc): Match definition with prototype.
4941 Tue May 25 14:27:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4943 * cplus-dem.c (demangle_prefix): Demangle cfront
4944 local variables as an extension to ARM demangling.
4946 Fri May 21 09:53:57 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4948 * ieee-float.c: Don't require pointers to double to be aligned.
4950 Tue May 18 17:12:10 1993 Fred Fish (fnf@cygnus.com)
4952 (merge changes from dlong@cse.ucsc.edu)
4953 * cplus-dem.c (consume_count): Simplify.
4954 * cplus-dem.c (arm_pt, demangle_class_name): New functions.
4955 * cplus-dem.c (various): Calls to arm_pt, demangle_class_name.
4957 * cplus-dem.c (xmalloc, xrealloc, strstr): Make extern decls into
4959 * cplus-dem.c (free): Add prototype.
4960 * cplus-dem.c (optable): Fully bracketize initializer.
4962 Fri May 14 17:13:05 1993 Per Bothner (bothner@cygnus.com)
4964 * cplus-dem.c: Whether initial underscores are stripped
4965 depends on the external variable prepends_underscore
4966 (which is generated by the binutils Makefile).
4968 Fri May 14 07:32:20 1993 Ken Raeburn (raeburn@deneb.cygnus.com)
4970 * cplus-dem.c (mop_up, arm_special): Remove some unused variables.
4972 Tue May 4 20:31:59 1993 Fred Fish (fnf@cygnus.com)
4974 * cplus-dem.c (consume_count): Return zero if arg does not
4975 start with digit, and don't consume any input.
4977 Tue May 4 08:10:28 1993 Jim Kingdon (kingdon@cygnus.com)
4979 * Makefile.in (demangle): Use ${srcdir} not $^.
4981 * strtod.c: New file, needed at least for BSD 4.3.
4983 Sun May 2 11:30:42 1993 Fred Fish (fnf@cygnus.com)
4985 * strsignal.c (sys_siglist): For ANSI compilations, type is
4986 "const char *const". Also remove conditionalization on __STDC__
4987 since const is defined away for non-ANSI.
4989 Wed Apr 28 19:29:55 1993 Ken Raeburn (raeburn@deneb.cygnus.com)
4991 * configure.in: Recognize *-*-hpux.
4992 * config/mh-hpux: New file.
4994 Tue Apr 27 15:22:19 1993 Per Bothner (bothner@cygnus.com)
4996 * tmpnam.c: Added ANSI tmpnam() function.
4997 * functions.def, Makefile.in: Update accordingly.
4999 Tue Apr 27 13:38:38 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5001 * cplus-dem.c (demangle_function_name): Get the demangling of
5004 Fri Apr 16 23:48:24 1993 Jim Kingdon (kingdon at calvin)
5006 * cplus-dem.c: Declare strstr return type.
5008 Fri Mar 26 12:01:26 1993 Jim Kingdon (kingdon@cygnus.com)
5010 * strsignal.c: Add some AIX signals.
5012 Thu Mar 25 15:17:23 1993 Ian Lance Taylor (ian@cygnus.com)
5014 * Makefile.in (MAKEOVERRIDES): Define to be empty.
5016 Wed Mar 24 01:59:25 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
5018 * Makefile.in: add installcheck & dvi targets
5020 Thu Mar 18 14:05:44 1993 Per Bothner (bothner@rtl.cygnus.com)
5022 * ieee-float.c: New file, moved from ../gdb (since it is
5023 needed by ../opcode/m68k-dis.c).
5025 Tue Mar 2 17:47:31 1993 Fred Fish (fnf@cygnus.com)
5027 * cplus-dem.c: Replace all references to cfront with ARM.
5029 Fri Feb 26 00:17:07 1993 Per Bothner (bothner@rtl.cygnus.com)
5031 * cplus-dem.c: Fix main program (when compiled with -DMAIN)
5032 to be more useful as a filter.
5034 Sat Feb 20 21:41:39 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
5036 * Makefile.in (install_to_libdir, install_to_tooldir): Go into the
5037 destination directory before running $(RANLIB), in case that
5038 program tries to create a file in the current directory as part of
5041 Thu Feb 18 23:00:19 1993 John Gilmore (gnu@cygnus.com)
5043 * strsignal.c (sys_siglist): Remove yet another *%^&%&$# "const"
5044 because BSD 4.4 lacks one. Isn't this fun?
5046 Thu Feb 18 11:24:25 1993 Fred Fish (fnf@cygnus.com)
5048 * cplus-dem.c (demangle_signature): Set func_done after
5049 demangling a template.
5050 * cplus-dem.c (demangle_template): Fix several small bugs
5051 in demangling GNU style templates.
5052 * cplus-dem.c (demangle_prefix): Fix for templates in GNU
5054 * cplus-dem.c (gnu_special): Fix for templates in GNU style
5055 static data members.
5057 Tue Feb 16 17:28:35 1993 Fred Fish (fnf@cygnus.com)
5059 * cplus-dem.c (demangle_signature): Modify to include type
5060 modifiers like static and const in remembered types.
5062 Thu Feb 11 22:20:47 1993 Fred Fish (fnf@cygnus.com)
5064 * cplus-dem.c (demangled_qualified): Add new parameter that tells
5065 whether to prepend or append the qualifiers.
5066 * cplus-dem.c (string_prepends): Used now, remove #if 0.
5067 * cplus-dem.c (demangle_signature): Call demangle_qualified
5069 * cplus-dem.c (gnu_special): Recognize static data members that
5070 use qualified names.
5071 * cplus-dem.c (demangle_qualified): Accumulate qualifiers in a
5072 temporary buffer and the prepend or append them to the result,
5073 as specified by the new "append" flag.
5074 * cplus-dem.c (do_type): Call demangled_qualified with
5077 Mon Dec 28 10:47:19 1992 Ken Raeburn (raeburn@cygnus.com)
5079 * strsignal.c (signal_table): Now const.
5080 (init_signal_tables): Variable eip now points to const.
5082 * strerror.c (error_table): Now const.
5083 (init_error_tables): Variable eip now points to const.
5085 Tue Dec 15 15:36:50 1992 Per Bothner (bothner@cygnus.com)
5087 * memchr.c (memchr): New (ANSI standard) function.
5088 * Makefile.in, functions.def: Added memchr.
5089 * Makefile.in (AR_FLAGS): Use rc instad of non-standard cq.
5091 Wed Dec 2 22:49:10 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
5093 * getopt.c: remove use of USG around <alloca.h>, which never meant
5096 * config/mh-{aix,apollo68,ncr3000,sysv,sysv4}: removed definitions
5099 Thu Nov 19 03:09:33 1992 Brendan Kehoe (brendan@lisa.cygnus.com)
5101 * cplus-dem.c (demangle_fund_type): Recognize `w', a wide character;
5102 it's now a type according to the ANSI X3J16 working paper; output
5104 (demangle_template): Accept `w' as an integral type.
5105 (xmalloc, xrealloc): Use `char *', not `PTR'. Cast calls to their
5106 counterparts malloc and realloc to `char *'.
5107 (main): Exit with a 0 status.
5108 * Makefile.in (demangle): Don't expect the user to define
5109 DEMANGLE, instead force to be cplus-dem.c. Look in $(srcdir)/../include
5110 for demangle.h. Pass it any HDEFINES or XTRAFLAGS.
5112 Wed Nov 18 18:56:20 1992 John Gilmore (gnu@cygnus.com)
5114 * Makefile.in (AR_FLAGS): Avoid verbosity.
5115 * config/mh-sysv4: Remove AR_FLAGS override, use INSTALL=cp,
5116 replace USGr4 with HAVE_SYSCONF.
5117 * config/mh-solaris: Remove; mh-sysv4 works now.
5118 * getpagesize.c: Replace USGr4 with HAVE_SYSCONF.
5119 * configure.in: Simplify host matching table, remove separate
5120 solaris config file.
5122 Sun Nov 15 09:35:16 1992 Fred Fish (fnf@cygnus.com)
5124 * configure.in (i[34]86-*-solaris2*): Add, use mh-sysv4.
5126 Tue Nov 3 21:27:03 1992 Brendan Kehoe (brendan@cygnus.com)
5128 * cplus-dem.c (xmalloc, xrealloc): Add decls.
5129 (remember_type): Don't cast xmalloc.
5130 (string_need): Likewise; don't cast xrealloc either.
5132 Fri Oct 23 08:52:01 1992 Ian Lance Taylor (ian@cygnus.com)
5134 * Makefile.in, functions.defs, rename.c: added simple
5135 implementation of rename, since some binutils programs use it.
5137 Thu Oct 15 15:18:22 1992 Per Bothner (bothner@cygnus.com)
5139 * strsignal.c: Add appropriate 'const' to sys_siglist
5140 extern declaration (if __STDC__). (Needed for Linux.)
5141 * strsignal.c (strsignal): Add cast to remove const-ness.
5143 Fri Oct 9 03:22:55 1992 John Gilmore (gnu@cygnus.com)
5145 * Makefile.in (needed.awk, needed2.awk): Remove erroneous \'s
5146 before "'s, diagnosed by BSD 4.4 awk.
5148 Thu Oct 8 15:25:12 1992 Ian Lance Taylor (ian@cygnus.com)
5150 * Makefile.in: create config.h and needed-list through $(CONFIG_H)
5151 and $(NEEDED_LIST), to give some hooks for xiberty.
5153 Thu Oct 1 23:31:42 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
5155 * configure.in: use cpu-vendor-triple instead of nested cases
5157 Wed Sep 30 11:26:59 1992 Per Bothner (bothner@rtl.cygnus.com)
5159 * Makefile.in, argv.c, basename.c, bcmp.c, bcopy.c, bzero.c,
5160 concat.c, cplus-dem.c, fdmatch.c, getcwd.c, getopt.c, getopt1.c,
5161 getpagesize.c, insque.c, memcmp.c, memcpy.c, memmove.c, memset.c,
5162 obstack.c, sigsetmask.c, spaces.c, strchr.c, strerror.c,
5163 strrchr.c, strsignal.c, strstr.c, vfork.c, vsprintf.c:
5164 Convert from using GPL to LGPL.
5166 Sat Sep 26 04:01:30 1992 John Gilmore (gnu@cygnus.com)
5168 * Makefile.in (errors): Leave dummy.o and dummy around so that
5169 we can see how the needed list was generated (it's sometimes wrong).
5170 (mostlyclean): Remove them.
5172 Mon Sep 21 14:50:42 1992 Ian Lance Taylor (ian@cygnus.com)
5174 * getcwd.c: supply a default if MAXPATHLEN is not defined.
5176 * config/mh-irix4: set EXTRA_OFILES to alloca.o, from WRS.
5178 Wed Sep 9 12:41:48 1992 Ian Lance Taylor (ian@cygnus.com)
5180 * Makefile.in: Use XTRAFLAGS when compiling, so that xiberty works
5181 when cross-compiling.
5183 Thu Sep 3 13:29:39 1992 K. Richard Pixley (rich@sendai.cygnus.com)
5185 * cplus-dem.c: (demangle_prefix): reduction in strength of strstr
5186 as a time optimization.
5188 * cplus-dem.c (cplus_demangle): remove strpbrk test. Appears to
5189 be more expensive than simply demangling.
5191 * cplus-dem.c (cplus_match): new function.
5193 Tue Sep 1 15:24:04 1992 Per Bothner (bothner@rtl.cygnus.com)
5195 * cplus-dem.c: #include <stdio.h>, to define NULL.
5196 Define current_demangling_style.
5198 Sun Aug 30 17:58:19 1992 Per Bothner (bothner@rtl.cygnus.com)
5200 * cplus-dem.c: New file, moved from ../gdb.
5201 * cplus-dem.c (set_cplus_marker_for_demangling): New exported
5202 function, to avoid compiling in target-dependency for CPLUS_MARKER.
5203 * cplus-dem.c (cplus_demangle): Allow demangling style option
5204 to be passed as a parameter, but using the global variable
5205 current_demangling_style as a default.
5206 * Makefile.in: Update for cplus-dem.c
5208 Sat Aug 29 10:44:09 1992 Fred Fish (fnf@cygnus.com)
5210 * obstack.c: Merge in comment changes from FSF version. Now
5211 matches the FSF version exactly.
5213 Fri Aug 28 18:39:08 1992 John Gilmore (gnu@cygnus.com)
5215 * obstack.c (CALL_FREEFUN): Can't use ?: with void values (at
5216 least on losing DECstations!); use if-then-else instead.
5218 Wed Aug 19 14:40:34 1992 Ian Lance Taylor (ian@cygnus.com)
5220 * Makefile.in: always create installation directories.
5222 Mon Aug 10 17:33:40 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
5224 * Makefile.in: clean up definition of CFILES, more comments
5226 Sat Aug 8 23:10:59 1992 Fred Fish (fnf@cygnus.com)
5228 * getopt.c (my_index): Make first arg const to match strchr,
5229 which it sometimes is remapped to.
5231 Sat Aug 1 13:48:50 1992 Fred Fish (fnf@cygnus.com)
5233 * obstack.c (DEFAULT_ALIGNMENT): Update to match FSF version.
5234 * obstack.c (_obstack_begin): Initialize use_extra_arg.
5235 * obstack.c (_obstack_begin_1): New, from FSF version.
5237 Mon Jul 20 21:07:58 1992 Fred Fish (fnf@cygnus.com)
5239 * obstack.c (CALL_CHECKFUN, CALL_FREEFUN): Use use_extra_arg and
5241 * obstack.c (_obstack_begin): Remove area_id and flags arguments
5242 (previously added for mmalloc support, interface has changed).
5243 Also convert flags usage to use use_extra_arg and maybe_empty_object.
5245 Fri Jul 10 00:41:53 1992 Fred Fish (fnf@cygnus.com)
5247 * argv.c: Move expandargv inline and eliminate static variables.
5248 Rewrite to always allocate in powers of two. Fix to return an
5249 argv with a single null string arg if passed a null string.
5251 Fri Jul 3 20:27:29 1992 Fred Fish (fnf@cygnus.com)
5253 * random.c, sigsetmask.c, strerror.c, strsignal.c: Remove
5254 "(void)" casts from function calls where the return value is
5255 ignored, in accordance with GNU coding standards.
5257 Mon Jun 29 10:54:19 1992 Fred Fish (fnf at cygnus.com)
5259 * bcopy.c, strerror.c, strsignal.c: Lint.
5261 Thu Jun 25 09:18:41 1992 K. Richard Pixley (rich@rtl.cygnus.com)
5263 * getopt.c: merge changes from make.
5265 Thu Jun 25 04:43:22 1992 John Gilmore (gnu at cygnus.com)
5267 * alloca.c: Incorporate fixes from gdb/alloca.c.
5268 FIXME: Eventually move gdb's alloca configuration files here,
5269 and remove gdb/alloca.c and its Makefile.in support.
5271 Tue Jun 23 21:56:30 1992 Fred Fish (fnf@cygnus.com)
5273 * dummy.c: Define NOTHING to /*nothing*/, change return type
5274 of main to int and return zero.
5275 * functions.def: Supply NOTHING as the fourth arg to macros
5276 that don't have an explicit arg, to satisfy picky preprocessors.
5278 Wed Jun 17 18:13:58 1992 Per Bothner (bothner@rtl.cygnus.com)
5280 * Makefile.in: Clean up *clean rules, as per standards.texi.
5282 Tue Jun 16 16:11:59 1992 K. Richard Pixley (rich@rtl.cygnus.com)
5284 * getopt.c, getopt1.c: merged largely gratuitous, mostly
5285 whitespace diffs from other prep distributions.
5287 Mon Jun 15 12:25:46 1992 Fred Fish (fnf@cygnus.com)
5289 * config/mh-ncr3000 (INSTALL): Don't use /usr/ucb/install,
5290 it is broken on ncr 3000's.
5292 Mon Jun 15 01:03:26 1992 John Gilmore (gnu at cygnus.com)
5294 * sigsetmask.c: Rewrite. Old one was very confused about its
5295 arguments and result. New one can't do much, but at least knows
5296 what it can't do, and it's good enough for GDB's use.
5298 Sun Jun 14 15:17:40 1992 Stu Grossman (grossman at cygnus.com)
5300 * functions.def: Use proper prototype for strtoul.
5302 Fri Jun 12 19:22:40 1992 John Gilmore (gnu at cygnus.com)
5304 * Makefile.in: Add random.c.
5305 * config/mh-*: Use "true" rather than "echo >/dev/null" for ranlib.
5306 * configure.in: update solaris2 config.
5308 Wed Jun 10 16:31:29 1992 Fred Fish (fnf@cygnus.com)
5310 * random.c: Add for random() and srandom().
5311 * functions.def: Add random
5313 Tue Jun 9 17:27:18 1992 Fred Fish (fnf@cygnus.com)
5315 * config/{mh-ncr3000, mh-sysv4}: Add definition for INSTALL
5316 using /usr/ucb/install.
5318 Mon Jun 1 13:20:17 1992 Per Bothner (bothner@rtl.cygnus.com)
5320 * strerror.c: Kludge to guard against a conflict with
5321 possible declaration of sys_errlist in errno.h.
5323 Sun May 31 15:07:47 1992 Mark Eichin (eichin at cygnus.com)
5325 * configure.in, config/mh-solaris: add solaris2 config support.
5327 Fri May 29 17:23:23 1992 Per Bothner (bothner@rtl.cygnus.com)
5329 * sigsetmask.c: #ifdef out sigsetmask if SIG_SETMASK
5330 is not defined (should be defined in signal.h, says Posix.).
5332 Mon May 18 17:35:04 1992 K. Richard Pixley (rich@cygnus.com)
5334 * getopt.c: merged changes from make-3.62.11.
5336 Fri May 8 14:53:07 1992 K. Richard Pixley (rich@cygnus.com)
5338 * getopt.c: merged changes from bison-1.18.
5340 Tue May 5 11:51:40 1992 Per Bothner (bothner@rtl.cygnus.com)
5342 * Makefile.in: Don't have $(EXTRA_OFILES) depend on config.h,
5343 since that introduces a circular dependency.
5344 ($(EXTRA_OFILES) are used to build config.h.)
5346 * strtoul.c: Fixes to handle non-decimal bases better.
5348 Wed Apr 22 09:27:51 1992 Fred Fish (fnf@cygnus.com)
5350 * config/mh-ncr3000: Replace MINUS_G with CFLAGS.
5351 * Makefile.dos: Finish MINUS_G eradication.
5352 * Makefile.in (CFILES): Add strsignal.c.
5353 * Makefile.in (REQUIRED_OFILES): Add strerror.o strsignal.o
5354 * Makefile.in (needed-list): Split creation of errors file to
5355 separate make target.
5356 * Makefile.in (config.h, needed2.awk, errors): New targets.
5357 * Makefile.in (clean): Split to multiple lines, add needed2.awk
5359 * dummy.c (DEFFUNC, DEFVAR): Add defines and undefs.
5360 * functions.def (strerror): Remove from optional list.
5361 * functions.def (sys_nerr, sys_errlist, sys_siglist): DEFVAR's
5362 * functions.def (strerror, psignal): DEFFUNC's
5363 * strerror.c: Rewrite from scratch to use sys_errlist only if
5364 available, add errno_max(), add strerrno(), add strtoerrno(),
5366 * strsignal.c: New file, signal equivalent to strerror.c.
5367 Uses sys_siglist if available, defines signo_max(), strsignal(),
5368 strsigno(), strtosigno(), psignal(), and test driver.
5370 Mon Apr 20 20:49:32 1992 K. Richard Pixley (rich@cygnus.com)
5372 * Makefile.in: do not print recursion line.
5374 * Makefile.in: allow CFLAGS to be passed in from command line.
5375 Removed MINUS_G. Default CFLAGS to -g.
5377 Mon Apr 20 12:57:46 1992 Per Bothner (bothner@rtl.cygnus.com)
5379 * config/mh-aix: New. EXTRA_OFILES lists copysign.o,
5380 so libg++ users don't have to be inconvenienced by a
5381 libc.a bug (libc.a needs copysign, but doesn't define it!).
5382 * configure.in: Use config/mh-aix.
5383 * strtoul.c: Handle '-' as required by ANSI.
5384 Clean up radix handling.
5385 * strstr.c: Fix buggy algorithm.
5386 * Makefile.in: Change so that ${EXTRA_OFILES} is
5387 appended to needed-list (which is used by libg++).
5389 Fri Apr 10 22:51:41 1992 Fred Fish (fnf@cygnus.com)
5391 * configure.in: Recognize new ncr3000 config.
5392 * config/mh-ncr3000: New config file.
5394 Wed Apr 1 23:31:43 1992 John Gilmore (gnu at cygnus.com)
5396 * argv.c, dummy.c: Lint.
5398 Tue Mar 31 18:46:44 1992 Fred Fish (fnf@cygnus.com)
5400 * config/mh-sysv4: New config file.
5401 * configure.in (host_makefile_frag): Set to config/mh-sysv4 for
5403 * getpagesize.c: For SVR4, use sysconf(_SC_PAGESIZE) to get
5406 Sun Mar 29 12:26:42 1992 John Gilmore (gnu at cygnus.com)
5410 Fri Mar 27 08:32:55 1992 Fred Fish (fnf@cygnus.com)
5412 * functions.def (alloca): Fix return type and args to avoid
5413 type clash with gcc's builtin alloca.
5415 Tue Mar 24 23:33:42 1992 K. Richard Pixley (rich@cygnus.com)
5417 * configure.in, config/mh-irix4: irix4 support.
5419 * Makefile.in, functions.def, alloca.c: added alloca.
5421 Tue Mar 24 17:34:46 1992 Stu Grossman (grossman at cygnus.com)
5423 * obstack.c (CALL_FREEFUN): Make it compile on DECstations.
5425 Thu Mar 19 13:57:42 1992 Fred Fish (fnf@cygnus.com)
5427 * argv.c: Fix various external function definitions to be
5428 correct in an ANSI compilation environment.
5430 Sat Mar 14 17:28:17 1992 Fred Fish (fnf@cygnus.com)
5432 * obstack.c: Changes to support calling mmalloc functions,
5433 which take an additional argument over malloc functions.
5435 Fri Mar 6 22:01:10 1992 K. Richard Pixley (rich@cygnus.com)
5437 * added check target.
5439 Thu Feb 27 22:19:39 1992 Per Bothner (bothner@cygnus.com)
5441 * argv.c: #include alloca-conf.h (needed by AIX).
5443 Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com)
5445 * Makefile.in, configure.in: removed traces of namesubdir,
5446 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
5447 copyrights to '92, changed some from Cygnus to FSF.
5449 Sat Feb 22 01:09:21 1992 Stu Grossman (grossman at cygnus.com)
5451 * argv.c: Check in Fred's version which fixes problems with
5454 Fri Feb 7 21:46:08 1992 Stu Grossman (grossman at cygnus.com)
5456 * makefile.dos: Remove NUL to keep patch from failing.
5458 Thu Jan 30 22:48:41 1992 Stu Grossman (grossman at cygnus.com)
5460 * getopt.c (_getopt_internal): Fix usage of enum has_arg.
5462 Mon Jan 20 18:53:23 1992 Stu Grossman (grossman at cygnus.com)
5464 * getopt.c, getopt1.c, ../include/getopt.h: Get latest versions.
5466 Sat Jan 18 16:53:01 1992 Fred Fish (fnf at cygnus.com)
5468 * argv.c: New file to build and destroy standard argument
5469 vectors from a command string.
5471 * Makefile.in: Add argv.c and argv.o to appropriate macros.
5473 Fri Dec 20 12:12:57 1991 Fred Fish (fnf at cygnus.com)
5475 * configure.in: Change svr4 references to sysv4.
5477 * rindex.c: Declare return type of externally used function
5480 Thu Dec 19 18:35:03 1991 John Gilmore (gnu at cygnus.com)
5482 * Makefile.in: Remove "***" in normal output, since Make produces
5483 this on errors, and it's convenient to search for.
5485 Tue Dec 17 23:21:30 1991 Per Bothner (bothner at cygnus.com)
5487 * memcmp.c, memcpy.c, memmove.c, memset.c, strchr.c, strrchr.c:
5488 New ANSI functions. The old non-ANSI functions (such as bcopy)
5490 * bcopy.c: Fix to correctly handle overlapping regions.
5491 * index.c, rindex.c: Re-write in terms of strchr() and strrchr().
5492 * functions.def: Add the new functions.
5493 * functions.def: Add 4th parameter to DEF macro,
5494 an ansidecl.h-style prototype.
5495 * dummy.c: Use expanded DEF macro to create a dummy function
5496 call, with correct parameter types. (This avoids some
5497 complaints from gcc about predefined builtins.)
5499 Move the functionality of config/mh-default into Makefile.in.
5500 This avoid duplication, and simplifies things slightly.
5501 * Makefile.in: Tweak so we don't need config/mh-default.
5503 * configure.in: No longer need config/mh-default.
5504 * config/mh-default: Deleted.
5505 * config/mh-sysv: Remove lines copied from old mh-default.
5507 Tue Dec 17 05:46:46 1991 John Gilmore (gnu at cygnus.com)
5509 * fdmatch.c (fdmatch): Don't compare st_rdev, which is for
5510 'mknod' device numbers.
5512 Mon Dec 16 12:25:34 1991 Fred Fish (fnf at cygnus.com)
5514 * fdmatch.c, Makefile.in: Add new function that takes two
5515 open file descriptors and returns nonzero if they refer to
5516 the same file, zero otherwise. (used in gdb)
5518 Wed Dec 11 17:40:39 1991 Steve Chamberlain (sac at rtl.cygnus.com)
5520 * msdos.c: stub functions for dos.
5521 * makefile.dos, configdj.bat: new.
5522 * getopt.c: Don't include alloca-conf.h in a GO32 world.
5525 Tue Dec 10 04:14:49 1991 K. Richard Pixley (rich at rtl.cygnus.com)
5527 * Makefile.in: infodir belongs in datadir.
5529 Fri Dec 6 23:26:45 1991 K. Richard Pixley (rich at rtl.cygnus.com)
5531 * Makefile.in: remove spaces following hyphens because bsd make
5532 can't cope. added standards.text support. install using
5535 * configure.in: remove commontargets as it is no longer a
5538 Thu Dec 5 22:46:46 1991 K. Richard Pixley (rich at rtl.cygnus.com)
5540 * Makefile.in: idestdir and ddestdir go away. Added copyrights
5541 and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
5542 and mandir now keyed off datadir by default.
5544 Fri Nov 22 19:15:29 1991 John Gilmore (gnu at cygnus.com)
5546 * Makefile.in: find-needed.awk does not fit in 14 chars.
5548 * Makefile.in: Suppress error checking when compiling the test
5549 program, because Ultrix make/sh aborts there due to a bug.
5551 Fri Nov 22 12:23:17 1991 Per Bothner (bothner at cygnus.com)
5553 * Makefile.in: Re-did how EXTRA_OFILES is used to be more useful.
5554 * README: Explained how the auto-configuration works,
5555 and how to add new files and/or configurations.
5557 Fri Nov 22 09:45:23 1991 John Gilmore (gnu at cygnus.com)
5559 * strtoul.c: Avoid defining ULONG_MAX if already defined;
5560 cast a const char * to char * for pedants.
5562 * getopt.c: Only define "const" after local include files get to,
5563 and only if they haven't defined it.
5565 Thu Nov 21 16:58:53 1991 John Gilmore (gnu at cygnus.com)
5567 * getcwd.c (remove getwd.c): GNU code should call getcwd(). We
5568 emulate it with getwd() if available. This avoids callers having
5569 to find a MAXPATHLEN or PATH_MAX value from somewhere.
5570 * Makefile.in, functions.def: getwd->getcwd.
5571 * configure.in: Use generic case for every system.
5572 * config/mh-{delta88,mach,rs6000,svr4}: Remove.
5573 * config/mh-sysv: Use default handling, just add -DUSG.
5575 Thu Nov 14 10:58:05 1991 Per Bothner (bothner at cygnus.com)
5577 * Makefile.in, config/mh-default: Re-do make magic
5578 so that for the default ("automatic") mode we only
5579 compile the files we actually need. Do this using
5580 a recursive make: The top-level generates the list
5581 of needed files (loosely, the ones missing in libc),
5582 and then passes that list to the recursive make.
5583 * config/mh-mach: Remove obsolete STRERROR-{C,O} macros.
5585 Tue Nov 12 19:10:57 1991 John Gilmore (gnu at cygnus.com)
5587 RS/6000 host support (grumble).
5589 * configure.in: Build alloca-conf.h file from alloca-norm.h
5590 (everything else) or alloca-botch.h (rs/6000).
5591 * Makefile.in: Include . on the include path.
5592 * getopt.c: Use alloca-conf.h.
5593 * alloca-norm.h: How to declare alloca on reasonable machines.
5594 * alloca-botch.h: How to declare alloca on braindead machines.
5596 Tue Nov 12 09:21:48 1991 Fred Fish (fnf at cygnus.com)
5598 * concat.c : New file, like concat() in gdb but can take a
5599 variable number of arguments rather than fixed at 3 args. For
5600 now, client applications must supply an xmalloc(), which is a
5601 front end function to malloc() that deals with out-of-memory
5604 * Makefile.in: Add concat.c and concat.o to appropriate macros.
5606 Sat Nov 9 13:29:59 1991 Fred Fish (fnf at cygnus.com)
5608 * config/mh-svr4: Add sigsetmask to list of required functions.
5610 Sun Nov 3 11:57:56 1991 Per Bothner (bothner at cygnus.com)
5612 * vsprintf.c: New file.
5613 * functions.def, Makefile.in: Add vsprintf.
5615 Sun Oct 27 16:31:22 1991 John Gilmore (gnu at cygnus.com)
5617 * configure.in, config/mh-rs6000: Add rs/6000 host support.
5618 * Makefile.in: Compile with debug info.
5620 Fri Oct 25 17:01:12 1991 Per Bothner (bothner at cygnus.com)
5622 * Makefile.in, configure.in, and new files: dummy.c, functions.def,
5623 config/mf-default: Added a default configuration mode,
5624 which includes into libiberty.a functions that are "missing" in libc.
5625 * strdup.c, vprintf.c, vfprintf.c: New files.
5627 Thu Oct 24 02:29:26 1991 Fred Fish (fnf at cygnus.com)
5629 * config/hmake-svr4: New file.
5631 * config/hmake-sysv: Add HOST_CFILES and HOST_OFILES.
5633 * basename.c, bcmp.c, bcopy.c, bzero.c, getpagesize.c getwd.c,
5634 index.c, insque.c, rindex.c, spaces.c, strstr.c, vfork.c: New
5635 files containing either portable C versions or emulations using
5636 native library calls.
5638 * strerror.c: Add copyright, internal documentation, etc.
5640 * strtol.c: Replace hardwired hex constants with some more
5641 portable macros. Remove illegal (according to gcc) cast.
5643 * strtoul.c: Replace hardwired hex constant with more portable
5646 * Makefile.in: Move TARGETLIB and CFLAGS where makefile fragments
5647 can override them. Add new source and object file names to CFILES
5648 and OFILES respectively.
5650 * configure.in: Add support for SVR4 makefile fragments.
5652 Tue Oct 22 19:00:23 1991 Steve Chamberlain (steve at cygnus.com)
5654 * Makefile.in: Move RANLIB, AR and AR_FLAGS to where they can be
5655 over-ridden by config/hmake-*
5656 * configure.in: added m88kcvs to sysv list
5658 Fri Oct 4 01:29:08 1991 John Gilmore (gnu at cygnus.com)
5660 * Makefile.in: Most hosts need strerror, but one or two don't,
5661 and they override these definitions in the host-dependent makefile
5663 * config/hmake-mach: The odd man out on strerror -- it's supplied.
5664 * strerror.c: New file.
5666 * strtol.c, strtoul.c: Add strtol to libiberty, since Mach lacks
5668 * configure.in, Makefile.in, config/hmake-mach: Only configure
5669 strtol & strotoul in on Mach.
5671 Tue Sep 3 06:36:23 1991 John Gilmore (gnu at cygint.cygnus.com)
5673 * obstack.c: Merge with latest FSF version.
5677 version-control: never