* config/tc-arc.c: Remove a local prototype of atof_ieee.
[deliverable/binutils-gdb.git] / libiberty / ChangeLog
... / ...
CommitLineData
12003-11-18 Ian Lance Taylor <ian@wasabisystems.com>
2
3 * cp-demangle.c (demangle_operator_name): Remove space before
4 "sizeof".
5 (demangle_type_ptr): Put qualifiers in the right place. Handle
6 qualifiers in pointer to member specially.
7 (demangle_type): Handle qualifiers for pointer or reference
8 specially. Handle function type.
9 (demangle_local_name): Save and restore caret around demangling of
10 initial encoding.
11
12 * testsuite/test-demangle.c (main): Don't pass DMGL_VERBOSE to
13 cplus_demangle.
14
15 * testsuite/Makefile.in (test-demangle): Depend upon libiberty.a.
16
172003-11-18 Ian Lance Taylor <ian@wasabisystems.com>
18
19 * testsuite/test-demangle.c (main): Don't pass DMGL_VERBOSE to
20 cplus_demangle.
21
22 * testsuite/Makefile.in (test-demangle): Depend upon libiberty.a.
23
242003-10-31 Andreas Jaeger <aj@suse.de>
25
26 * floatformat.c (floatformat_always_valid): Add unused attribute.
27
282003-10-30 Josef Zlomek <zlomekj@suse.cz>
29
30 * hashtab.c (htab_find_slot_with_hash): Decrease n_deleted
31 instead of increasing n_elements when inserting to deleted slot.
32
332003-10-20 J. Brobecker <brobecker@gnat.com>
34
35 * cplus-dem.c (demangle_template): Register a new Btype only
36 when needed.
37 * testsuite/demangle-expected: Add a new test.
38
392003-10-16 H.J. Lu <hongjiu.lu@intel.com>
40
41 * testsuite/demangle-expected: Update the expected output of
42 _GLOBAL__I__Z2fnv.
43
442003-10-02 Daniel Jacobowitz <drow@mvista.com>
45
46 * strerror.c: Revert last change. Declare static sys_nerr
47 and sys_errlist using different names.
48
492003-10-01 Daniel Jacobowitz <drow@mvista.com>
50
51 * strerror.c: Don't provide or reference sys_errlist if
52 strerror is available.
53
542003-10-01 H.J. Lu <hongjiu.lu@intel.com>
55
56 * configure.in: Check if $MAKEINFO is missing.
57 * configure: Regenerated.
58
592003-09-24 Daniel Jacobowitz <drow@mvista.com>
60
61 * configure.in: Use AC_PROG_CPP_WERROR.
62 * configure: Regenerated.
63
642003-09-22 Andrew Cagney <cagney@redhat.com>
65
66 * floatformat.c (floatformat_i387_ext_is_valid): New function.
67 (floatformat_always_valid): New function.
68 (floatformat_i387_ext): Initialize new "is_valid" field to
69 "floatformat_i387_ext_is_valid".
70 (floatformat_ieee_single_little): Initialize "is_valid" field to
71 floatformat_always_valid.
72 (floatformat_ieee_double_big): Ditto.
73 (floatformat_ieee_double_little): Ditto.
74 (floatformat_ieee_double_little): Ditto.
75 (floatformat_ieee_double_littlebyte_bigword): Ditto.
76 (floatformat_i960_ext): Ditto.
77 (floatformat_m88110_ext): Ditto.
78 (floatformat_m88110_harris_ext): Ditto.
79 (floatformat_arm_ext_big): Ditto.
80 (floatformat_arm_ext_littlebyte_bigword): Ditto.
81 (floatformat_ia64_spill_big): Ditto.
82 (floatformat_ia64_spill_little): Ditto.
83 (floatformat_ia64_quad_big): Ditto.
84 (floatformat_ia64_quad_little): Ditto.
85 (floatformat_ia64_quad_little): Ditto.
86 (floatformat_is_valid): Call "is_valid".
87
882003-09-15 Andrew Cagney <cagney@redhat.com>
89
90 * floatformat.c (get_field): Make "data" constant.
91 (floatformat_is_valid, floatformat_to_double): Make "from"
92 constant, fix casts.
93 (floatformat_from_double): Make "from" constant.
94
952003-09-15 Daniel Jacobowitz <drow@mvista.com>
96
97 * floatformat.c (floatformat_is_valid): New function.
98 (get_field, put_field): Correct comments.
99
1002003-09-06 Josef Zlomek <zlomekj@suse.cz>
101
102 * fibheap.c (fibheap_replace_key_data): Change type of OKEY to
103 FIBHEAPKEY_T.
104
1052003-09-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
106
107 PR bootstrap/12100
108 * aclocal.m4 (AC_LANG_FUNC_LINK_TRY): Define.
109 * configure: Rebuilt.
110
1112003-08-27 Daniel Jacobowitz <drow@mvista.com>
112
113 * aclocal.m4: Include acx.m4 and no-executables.m4.
114 (libiberty_AC_FUNC_STRNCMP): Use AC_LIBOBJ.
115 (LIB_AC_PROG_CC): Remove.
116 * configure.in: Update AC_PREREQ to 2.57. Use GCC_NO_EXECUTABLES.
117 Use AC_PROG_CC and set ac_libiberty_warn_cflags instead of using
118 LIB_AC_PROG_CC. Use AC_LIBOBJ. Call AC_ISC_POSIX later, only if
119 performing link tests.
120 * configure: Regenerated.
121
1222003-08-12 Nathanael Nerode <neroden@gcc.gnu.org>
123
124 * cp-demangle.c: Clarify what package(s) this is part of.
125
1262003-07-05 Danny Smith <dannysmith@users.sourceforge.net>
127
128 * pex-win32.c (pexecute): Mark parameters this_pname and
129 temp_base as unused. Remove unused variables retries,
130 sleep_interval. Initialize org_stdin, org_stdout.
131 (pwait): Mark parameter flags as unused.
132
1332003-07-02 Danny Smith <dannysmith@users.sourceforge.net>
134
135 * pex-win32.c (fix_argv): Ensure that the executable pathname
136 uses Win32 backslashes.
137 (pexecute): Cast away constness when assigning *errmsg_arg.
138
1392003-06-26 H.J. Lu <hongjiu.lu@intel.com>
140
141 * testsuite/demangle-expected: Add more GNU V3 testcases.
142
1432003-06-22 Zack Weinberg <zack@codesourcery.com>
144
145 * safe-ctype.c: Use HOST_CHARSET_ASCII and HOST_CHARSET_EBCDIC,
146 not HC_ASCII and HC_EBCDIC.
147 Add documentation in form expected by gather-docs.
148 * hex.c: Use HOST_CHARSET, not hand-coded check of character set.
149 * Makefile.in, functions.texi: Regenerate.
150
1512003-06-21 Zack Weinberg <zack@codesourcery.com>
152
153 * safe-ctype.c: Separate out EOF==-1 check. Use HOST_CHARSET
154 for charset determination.
155
1562003-06-19 Dara Hazeghi <dhazeghi@yahoo.com>
157
158 * configure.in: Add check for malloc.h needed by
159 m68k for function free().
160 * configure: Regenerated.
161 * config.in: Add HAVE_MALLOC_H.
162 * hashtab.c: include malloc.h were available for
163 free().
164
1652003-06-09 Albert Chin-A-Young <china@thewrittenword.com>
166
167 PR bootstrap/10974
168 * physmem.c: Update comment.
169 * configure.in: Modify test for _system_configuration for older
170 AIX systems.
171
172 * config.in, configure: Regenerated.
173
1742003-06-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
175
176 PR other/10810
177 * test-demangle.c (getline): Fix fence-post error.
178
1792003-06-03 Nick Clifton <nickc@redhat.com>
180
181 * asprintf.c: Change comment to note that -1 is returned upon
182 error.
183 * vasprintf.c: Likewise.
184 (vasprintf): Return -1 upon error.
185 * functions.texi: Document changes to asprintf and vasprintf.
186
1872003-05-19 Kelley Cook <kelleycook@wideopenwest.com>
188
189 * config.table: Accept i[345867]86 variant.
190
1912003-05-15 Jim Blandy <jimb@redhat.com>
192
193 * hex.c (_hex_value): Make this unsigned.
194 (hex_value): Update documentation for new return type. hex_value
195 now expands to an unsigned int expression, to avoid unexpected
196 sign extension when we store it in a bfd_vma, which is larger than
197 int on some platforms.
198 * functions.texi: Regenerated.
199
2002003-05-07 Josef Zlomek <zlomekj@suse.cz>
201
202 * splay-tree.c (splay_tree_predecessor): Fix comment.
203 (splay_tree_successor): Fix comment.
204
2052003-05-07 Jason Merrill <jason@redhat.com>
206
207 * hashtab.c (iterative_hash): New fn.
208 * configure.in: Add AC_C_BIGENDIAN_CROSS.
209 * aclocal.m4: Include accross.m4.
210 * configure, config.in: Regenerate.
211
2122003-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
213
214 * configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
215 * configure: Regenerate.
216
2172003-05-03 Carlo Wood <carlo@alinoe.com>
218
219 * cp-demangle.c: Fix typo in "char_traints" string-literal.
220
2212003-04-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
222
223 * vsnprintf.c (vsnprintf): Don't pad string with extra nulls.
224 (main): Test that we don't write too much data.
225
2262003-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
227
228 * configure.in (funcs, AC_CHECK_FUNCS): Add snprintf and
229 vsnprintf.
230 * snprintf.c, vsnprintf.c: New files.
231 * Makefile.in (CFILES): Add snprintf.c and vsnprintf.c.
232 (CONFIGURED_OFILES): Add snprintf.o and vsnprintf.o.
233 Regenerate dependencies.
234
235 * functions.texi, configure, config.in: Regenerated.
236
2372003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
238
239 * mempcpy.c, stpcpy.c, stpncpy.c: New files.
240 * configure.in (funcs, AC_CHECK_FUNCS): Add mempcpy, stpcpy
241 and stpncpy.
242 * Makefile.in (CFILES): Add mempcpy.c, stpcpy.c and stpncpy.c.
243 (CONFIGURED_OFILES): Add mempcpy.o, stpcpy.o and stpncpy.o.
244 Regenerate dependencies.
245
246 * functions.texi, configure, config.in: Regenerated.
247
2482003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
249
250 * argv.c: Fix comments.
251 * calloc.c: Don't unnecessarily include "libiberty.h".
252 (bzero): Add prototype.
253 * floatformat.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
254 * getcwd.c (getcwd): Use standard definition to avoid conflicts
255 with system headers.
256 * hashtab.c (htab_traverse): Delete unused variables.
257 * rename.c: Include "ansidecl.h".
258 (rename): Use standard definition to avoid conflicts with system
259 headers.
260 * strsignal.c: Rely on ANSI_PROTOTYPES.
261 * strstr.c: Check GNUC >= 2, not GNUC == 2.
262 * vfprintf.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
263 * vprintf.c: Include "ansidecl.h" earlier, rely on
264 ANSI_PROTOTYPES.
265 * vsprintf.c: Include "ansidecl.h" earlier, rely on
266 ANSI_PROTOTYPES and possibly include <stdarg.h>.
267
268 * Makefile.in: Regenerate dependencies.
269
2702003-04-15 DJ Delorie <dj@redhat.com>
271
272 * maint-tool (deps): Scan for headers in $srcdir also.
273
2742003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
275
276 PR target/10338
277 PR bootstrap/10198
278 PR bootstrap/10140
279 * getopt.c (exchange, _getopt_initialize): Use mempcpy not
280 __mempcpy.
281 * regex.c (regerror): Likewise.
282
2832003-04-14 Roger Sayle <roger@eyesopen.com>
284
285 * argv.c: Use ANSI_PROTOTYPES instead of __STDC__.
286 * memchr.c: Likewise.
287 * strcasecmp.c: Likewise.
288 * strncasecmp.c: Likewise.
289 * strncmp.c: Likewise.
290 * xatexit.c: Likewise.
291 * xmalloc.c: Likewise.
292
293 * copysign.c: Use traditional function declaration instead of DEFUN.
294 * sigsetmask.c: Likewise.
295
296 * memcmp.c: Both of the above, ANSI_PROTOTYPES and DEFUN.
297 * memset.c: Likewise.
298
299 * memcpy.c: ANSI_PROTOTYPES, DEFUN and prototype bcopy.
300 * memmove.c: Likewise.
301
3022003-04-14 Roger Sayle <roger@eyesopen.com>
303
304 * strdup.c (strdup): Tweak implementation to use memcpy.
305
3062003-04-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
307
308 * configure.in (HAVE_UINTPTR_T): Always define.
309 * configure: Regenerated.
310
3112003-03-23 Alexandre Oliva <aoliva@redhat.com>
312
313 * Makefile.in (MULTIOSDIR): New macro. Use $(CC) $(LIBCFLAGS)
314 instead of $$CC alone.
315 (install_to_tooldir): Use it.
316
3172003-17-03 Jan Hubicka <jh@suse.cz>
318
319 * hashtab.c (htab_traverse_noresize): Break out from ...
320 * hashtab.c (htab_traverse): ... here.
321
3222003-12-03 Jan Hubicka <jh@suse.cz>
323
324 * hashtab.c (htab_expand): Fix warning.
325
326 * hashtab.c (htab_expand): Compute the size of hashtable based
327 on the number of elements actually used.
328 (htab_traverse): Call htab_expand when table is too empty.
329
3302003-03-11 Carlo Wood <carlo@gnu.org>
331
332 * cplus-dem.c (demangle_integral_value): Correction to reflect
333 patch of 2002-01-10 in order to also make negative multi-digits
334 without leading underscore work.
335
3362003-03-03 Mark Mitchell <mark@codesourcery.com>
337
338 * cplus-dem.c: Add license exception to copyright notice.
339
3402003-02-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
341
342 * physmem.c: Formatting changes from upstream.
343
3442003-02-24 Danny Smith <dannysmith@users.source.forge.net>
345
346 * physmem.c (physmem_total): Add _WIN32 support.
347 (physmem_available): Likewise.
348
3492003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
350
351 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
352 GSI_PHYSMEM.
353 (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS.
354
3552003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
356
357 * configure.in: Check for sys/systemcfg.h and
358 _system_configuration.
359 * physmem.c: Add support for AIX. Tweek formatting as per
360 upstream coreutils beta.
361
3622003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
363 Richard Earnshaw <rearnsha@arm.com>
364 Geoffrey Keating <geoffk@apple.com>
365
366 * configure.in: Check for sys/sysctl.h and sysctl.
367 * physmem.c: Add support for *bsd and darwin.
368 * Makefile.in: Generate depedency for physmem.o.
369
3702003-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
371
372 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on
373 Tru64 UNIX.
374 (physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on
375 Tru64 UNIX.
376
377 * configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h,
378 machine/hal_sysinfo.h, sys/table.h.
379 (checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table.
380 * configure, config.in: Regenerate.
381
3822003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
383
384 * configure.in: Check for sys/sysmp.h and sysmp.
385 * physmem.c: Pull upstream copy, add support for irix6.
386
387 * config.in, configure: Regenerated.
388
3892003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
390
391 * physmem.c (physmem_total, physmem_available): De-ANSI-fy.
392 * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and
393 pstat_getdynamic.
394
3952003-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
396
397 * Makefile.in (CFILES): Add physmem.c.
398 (REQUIRED_OFILES): Add physmem.o.
399 * configure.in: Check for sys/pstat.h.
400 (checkfuncs): Add pstat_getstatic and pstat_getdynamic.
401 * physmem.c: New file, copied from textutils.
402
403 * config.in, configure: Regenerated.
404
4052003-02-20 Daniel Jacobowitz <drow@mvista.com>
406
407 * Makefile.in (CFILES): Add lrealpath.c.
408 (REQUIRED_OFILES): Add lrealpath.o.
409 (lrealpath.o): Add rule.
410 * aclocal.m4 (libiberty_NEED_DECLARATION): Add.
411 * configure.in: Add realpath and canonicalize_file_name to
412 checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION
413 for canonicalize_file_name.
414 * lrealpath.c: New file.
415 * make-relative-prefix.c: Update documentation.
416 (make_relative_prefix): Simplify. Use lbasename and lrealpath.
417 * config.in: Regenerated.
418 * configure: Regenerated.
419 * functions.texi: Regenerated.
420
4212003-02-20 jmc <jmc@prioris.mini.pw.edu.pl>
422
423 * cplus_dem.c: Fix typo: intializes -> initializes.
424
4252003-02-20 Alexandre Oliva <aoliva@redhat.com>
426
427 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
428 config.status.
429 * configure: Rebuilt.
430
4312003-02-13 Daniel Jacobowitz <drow@mvista.com>
432
433 Fix PR c++/7612.
434 * cplus-dem.c (demangle_signature): Call string_delete.
435 Remove extra string_init.
436 (demangle_arm_hp_template): Call string_delete instead of
437 string_clear. Add missing string_delete call.
438 (demangle_qualified): Add missing string_delete call.
439 (do_type): Remove unused variable btype. Add missing string_delete
440 call. Call string_delete instead of string_clear.
441 (demangle_fund_type): Move variable btype inside of the switch
442 statement. Add missing string_delete call.
443 (do_arg): Call string_delete instead of string_clear. Remove extra
444 string_init.
445 (demangle_nested_args): Free work->previous_argument.
446
4472003-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
448
449 * acconfig.h: New file. Add uintptr_t.
450 * config.in: Regenerated.
451
4522003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
453
454 * libiberty.texi: Update to GFDL 1.2.
455
4562003-01-30 Christian Cornelssen <ccorn@cs.tu-berlin.de>
457
458 * Makefile.in (libiberty_topdir): New subst.
459 (mkinstalldirs): Redefine in terms of the above.
460 * configure.in: AC_SUBST it.
461 * configure: Regenerate.
462
4632003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de>
464
465 * Makefile.in (all-subdir, check-subdir, installcheck-subdir)
466 (info-subdir, install-info-subdir, clean-info-subdir)
467 (dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
468 (clean-subdir, distclean-subdir, maintainer-clean-subdir):
469 Pass $(FLAGS_TO_PASS).
470
4712003-01-27 Alexandre Oliva <aoliva@redhat.com>
472
473 * Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
474 /`$$CC -print-multi-os-directory`.
475
4762003-01-26 Daniel Jacobowitz <drow@mvista.com>
477
478 * hashtab.c (htab_create_alloc_ex): New function.
479 (hatab_set_functions_ex): New function.
480 (htab_delete, htab_expand): Support alternate allocation functions.
481
4822003-01-24 Christopher Faylor <cgf@redhat.com>
483
484 * configure.in: Remove special pex-cygwin consideration.
485 * configure: Regenerate.
486 * pex-cygwin.c: Remove.
487 * Makefile.in: Remove pex-cygwin.[co] lines.
488
4892003-01-24 Zack Weinberg <zack@codesourcery.com>
490
491 * Makefile.in (CFILES): Add pex-*.c.
492 (REQUIRED_OFILES): Change pexecute.o to @pexecute@
493 (CONFIGURED_OFILES): Add pex-*.o.
494 (TEXIFILES): Add pexecute.txh.
495 (pexecute.o): Delete rule.
496 (pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o,
497 pex-unix.o, pex-win32.o): New rules.
498 * configure.in: Change AC_INIT argument to xmalloc.c.
499 Compute appropriate pexecute implementation and substitute it
500 as @pexecute@.
501
502 * pexecute.c: Split up into...
503 * pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c,
504 pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these
505 new files.
506
507 * functions.texi: Regenerate.
508 * configure: Regenerate.
509
5102003-01-20 Josef Zlomek <zlomekj@suse.cz>
511
512 * hashtab.c (htab_expand): Fix allocation of new entries.
513
5142003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
515
516 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
517
518 * Makefile.in (install_to_libdir, install_to_tooldir): Add a
519 mkinstalldirs command.
520
5212002-12-04 Danny Smith <dannysmith@users.sourceforge.net>
522
523 * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
524 Define for hosts with HOST_EXECUTABLE_SUFFIX.
525
5262002-11-24 Nick Clifton <nickc@redhat.com>
527
528 * make-relative-prefix.c (make_relative_prefix): Ensure return
529 string is empty before using strcat to construct it.
530
5312002-11-22 Daniel Jacobowitz <drow@mvista.com>
532
533 * Makefile.in: Add make-relative-prefix.c.
534 * make-relative-prefix.c: New file.
535 * functions.texi: Rebuilt.
536
5372002-11-16 Jakub Jelinek <jakub@redhat.com>
538
539 * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
540 used with arguments in traditional C' warnings.
541
5422002-10-16 Jakub Jelinek <jakub@redhat.com>
543
544 * config.table: Use mh-s390pic for s390x too.
545
5462002-10-06 Andreas Jaeger <aj@suse.de>
547
548 * libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded
549 variable and of strict-aliasing warning.
550 (grow_vect): Use char as first parameter.
551
5522002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
553
554 * Makefile.in (all): Fix multilib parallel build.
555
5562002-09-19 John David Anglin <dave@hiuly1.hia.nrc.ca>
557
558 * cp-demangle.c (demangling_new): Cast 0 to enum.
559 (demangle_char): Cast return of strdup to char *.
560 (is_gnu_v3_mangled_ctor): Cast 0 to enum.
561 (is_gnu_v3_mangled_dtor): Likewise.
562 * cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
563 (work_stuff_copy_to_from): Cast return of xmalloc to char **.
564 * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
565 * md5.c (md5_process_bytes): Cast results back to const void *.
566 (md5_process_block): Add cast to const md5_uint32 *.
567 * regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
568 * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
569 unsigned short.
570 * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
571 to void *.
572 * vasprintf.c (int_vasprintf): Cast return of malloc to char *.
573
5742002-09-19 Nick Clifton <nickc@redhat.com>
575
576 * README: Update email addresses for bugs and patches.
577
5782002-09-10 Mike Stump <mrs@apple.com>
579
580 * splay-tree.c (splay_tree_successor): Fix comments.
581
5822002-09-11 Zack Weinberg <zack@codesourcery.com>
583
584 * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
585 * testsuite/Makefile.in: Adjust for test-demangle.
586 * testsuite/regress-demangle: Deleted.
587 * testsuite/test-demangle.c: New file.
588 * testsuite/demangle-expected: Change \$ to $ throughout, now that
589 this file is not being read by a shell script.
590
5912002-09-05 Roger Sayle <roger@eyesopen.com>
592
593 * regex.c: Only use "#pragma alloca" on AIX when not using gcc.
594
5952002-08-07 DJ Delorie <dj@redhat.com>
596
597 * regex.c (re_error_msgid): Just use a simple array of strings.
598 (re_compile_pattern): Compensate.
599 (re_comp): Likewise.
600 (re_comp): Likewise.
601 (regerror): Likewise.
602
6032002-07-29 Neil Booth <neil@daikokuya.co.uk>
604
605 * cplus-dem.c (PREPEND_BLANK): Remove.
606
6072002-07-10 Jason Merrill <jason@redhat.com>
608
609 * cp-demangle.c (demangle_identifier): Support extended Unicode
610 characters.
611
6122002-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
613
614 * cp-demangle.c (demangle_v3_with_details): Wrap in
615 !defined IN_GLIBCPP_V3.
616
6172002-07-01 Mark Mitchell <mark@codesourcery.com>
618
619 * cp-demangle.c (demangle_operator_name): Add type_arg parameter.
620 Set it for the "st" operator.
621 (demangle_expression): Handle expressions with types as arguments.
622
6232002-06-30 Douglas Rupp <rupp@gnat.com>
624
625 * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
626 * Makefile.in (OUTPUT_OPTION): Use.
627
6282002-06-22 Peter Breitenlohner <peb@mppmu.mpg.de>
629
630 * Makefile.in (install_to_libdir): Add $(DESTDIR).
631 (install_to_tooldir): Likewise.
632
6332002-06-17 Douglas Rupp <rupp@gnat.com>
634
635 * lbasename.c: Add 2002 to copyright.
636 (IS_DIR_SEPARATOR): Remove VMS junk.
637
6382002-06-05 Geoffrey Keating <geoffk@redhat.com>
639
640 * hashtab.c (htab_create): New stub function for backward
641 compatibility.
642 (htab_try_create): Likewise.
643
6442002-06-03 Geoffrey Keating <geoffk@redhat.com>
645
646 * hashtab.c (htab_create): Delete.
647 (htab_try_create): Delete.
648 (htab_create_alloc): New.
649 (htab_delete): Support user-specified memory allocation.
650 (htab_expand): Likewise.
651
6522002-05-22 Roman Lechtchinsky <rl@cs.tu-berlin.de>
653
654 * configure.in: Fix typo in the code checking for sys_errlist.
655 * configure: Regenerated.
656
6572002-05-13 Andreas Schwab <schwab@suse.de>
658
659 * config.table: Use mh-x86pic also for x86-64.
660
6612002-05-08 Alexandre Oliva <aoliva@redhat.com>
662
663 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
664 script entry, and set LD to it when configuring multilibs.
665 * configure: Rebuilt.
666
6672002-05-07 Mark Mitchell <mark@codesourcery.com>
668
669 * configure.in (AC_TYPE_PID_T): Use it.
670 * configure: Regenerated.
671 * getruntime.c: Include <sys/types.h>.
672 * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid".
673
6742002-04-09 Richard Henderson <rth@redhat.com>
675
676 * hashtab.c (higher_prime_number): Use 7 as minimum.
677 (find_empty_slot_for_expand): Don't compute hash2 unless needed.
678 (htab_find_slot_with_hash): Likewise.
679
6802002-04-01 Phil Edwards <pme@gcc.gnu.org>
681
682 * cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
683 (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally
684 not compile if IN_GLIBCPP_V3 defined.
685 * dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme.
686
6872002-03-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
688
689 * cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
690 if it is NULL.
691
6922002-03-27 DJ Delorie <dj@redhat.com>
693
694 * hex.c: Add documentation.
695 (_hex_value): Provide non-ASCII empty table.
696 (hex_init): Initialize the non-ASCII table.
697 * functions.texi: Regenerate.
698
6992002-03-27 Mark Mitchell <mark@codesourcery.com>
700
701 * dyn-string.c: Add libgcc exception to copyright notice.
702
7032002-03-26 H.J. Lu (hjl@gnu.org)
704
705 * config.table: Support --with-build-subdir.
706 * configure.in: Likewise.
707 * configure: Rebuild.
708
7092002-03-18 Stuart Griffith <Stuart_Griffith@credence.com>
710
711 * strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
712 seen.
713
7142002-03-12 Mark Mitchell <mark@codesourcery.com>
715
716 * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
717 notice.
718
7192002-03-11 Douglas B Rupp <rupp@gnat.com>
720
721 * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
722
7232002-03-06 Jim Blandy <jimb@redhat.com>
724
725 * splay-tree.c (splay_tree_xmalloc_allocate,
726 splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
727 prototyped definitions. Mark `data' arguments as unused.
728
7292002-03-06 Andrew Cagney <ac131313@redhat.com>
730
731 * floatformat.c (floatformat_arm_ext_big): Delete definition.
732
7332002-03-04 Phil Edwards <pme@gcc.gnu.org>
734
735 * configure.in: Add --enable-install-libiberty option.
736 * Makefile.in (INSTALLED_HEADERS): New variable.
737 (install_to_libdir): Possibly also copy headers.
738 * configure: Regenerated.
739
7402002-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
741
742 * xmalloc.c (xmalloc_fail): Clarify error message further.
743
7442002-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
745
746 * xmalloc.c (xmalloc_fail): Clarify error message.
747
7482002-02-22 Jim Blandy <jimb@redhat.com>
749
750 * splay-tree.c (splay_tree_xmalloc_allocate,
751 splay_tree_xmalloc_deallocate): New functions.
752 (splay_tree_new): Call splay_tree_new_with_allocator, passing the
753 above functions and a dummy data pointer.
754 (splay_tree_new_with_allocator): New function.
755 (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
756 splay_tree_remove): Use the splay tree's allocation and
757 deallocation functions.
758
7592002-02-19 Scott Snyder <snyder@fnal.gov>
760
761 * testsuite/demangle-expected: Add test case for infinite loop in
762 demangler.
763 * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
764 if do_type() doesn't make any progress --- prevents an infinite
765 loop.
766
7672002-02-18 Carlo Wood <carlo@gnu.org>
768
769 PR c++/5390
770 * cplus-dem.c (demangle_integral_value): Accept multi-digit
771 numbers that do not start with an underscore; This is needed
772 for integer template parameters. This doesn't break anything
773 because multi-digit numbers are never followed by a digit.
774 * testsuite/demangle-expected: Corrected all mangled test
775 cases with multi-digit template parameters: g++ 2.95.x does
776 not generate underscores around these parameters.
777
7782002-02-05 Jason Merrill <jason@redhat.com>
779
780 * cplus-dem.c (flags): Add DMGL_VERBOSE
781 (cplus_demangle_v3_p): Remove.
782 (demangle_it): Add DMGL_TYPES to passed flags.
783 * cp-demangle.c (cplus_demangle_v3_all): Remove.
784 (cplus_demangle_v3_type): Remove.
785 (cplus_demangle_v3): Add options parm.
786
7872002-02-02 H.J. Lu (hjl@gnu.org)
788
789 * cp-demangle.c (cp_demangle_type): Do not protect with
790 IN_LIBGCC2.
791 (cplus_demangle_v3_all): New.
792 (cplus_demangle_v3): Call cplus_demangle_v3_all.
793 (cplus_demangle_v3_type): Call cplus_demangle_v3_all.
794
795 * cplus-dem.c (cplus_demangle_v3_p): New function pointer.
796 Initialized to cplus_demangle_v3.
797 (cplus_demangle_with_style): Call cplus_demangle_v3_p instead
798 of cplus_demangle_v3.
799 (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
800 command line symbol.
801
802 * testsuite/regress-demangle: Pass the mangled name at the
803 command line.
804
8052002-02-01 H.J. Lu <hjl@gnu.org>
806
807 * cp-demangle.c (cp_demangle_type): Call demangling_new with
808 DMGL_GNU_V3.
809
8102002-01-31 Phil Edwards <pme@gcc.gnu.org>
811
812 * cp-demangle.c: Revert yesterday's change.
813
8142002-01-31 Adam Megacz <adam@xwt.org>
815
816 * gcc/libiberty/configure.in: Treat mingw the same as cywin
817 wrt HAVE_SYS_ERRLIST.
818
8192002-01-30 Phil Edwards <pme@gcc.gnu.org>
820
821 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
822 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on
823 cp_demangle_type.
824 * testsuite/demangle-expected: New gnu-v3 test.
825
8262002-01-22 Momchil Velikov <velco@fadata.bg>
827
828 * configure.in (variable detection): Use arrays of unspecified
829 size instead of plain integers.
830
8312002-01-18 DJ Delorie <dj@redhat.com>
832
833 * Makefile.in (TESTLIB): New. This library is for future
834 testsuites.
835 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
836 break down by letter.
837 (REQUIRED_OFILES): List long-to-compile files first.
838 (maint-deps): New, target for updating dependencies.
839 (dependencies): Update.
840 * maint-tool: Add dependency-generating option.
841 * configure.in: Check for _doprnt even if we're not providing it.
842 * configure: Regenerate.
843
844 * _doprnt.c: Modifications to allow compiling on any platform.
845 * copysign.c: Likewise.
846 * putenv.c: Likewise.
847 * setenv.c: Likewise.
848 * vsprintf.c: Likewise.
849
8502002-01-15 Douglas B Rupp <rupp@gnat.com>
851
852 * mkstemps.c (mkstemps): On VMS, open temp file with option
853 that causes it to be deleted when closed.
854
8552002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
856
857 * cp-demangle.c (long_options): Const-ify.
858 * cplus-dem.c (long_options): Likewise.
859
860 * cplus-dem.c (mystrstr): Delete. All callers changed to use
861 strstr instead.
862
8632001-12-31 Ira Ruben <ira@apple.com>
864
865 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
866 * configure: Regenerated.
867
8682001-12-24 Douglas B. Rupp <rupp@gnat.com>
869
870 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
871 * configure: Regenerated.
872
8732001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
874
875 PR other/2719
876 * cplus-dem.c (consume_count): Treat negative count as an error.
877 * testsuite/demangle-expected: Added testcase.
878
879Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
880
881 * configure.in: Hardcode that vfork works on VMS host.
882 * configure: Regenerated.
883
8842001-12-06 Richard Henderson <rth@redhat.com>
885
886 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
887 (cplus_demangle): Support no_demangling.
888
8892001-11-27 Zack Weinberg <zack@codesourcery.com>
890
891 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
892 in libiberty context. Fix typo in leading comment.
893 * configure.in: Fix various AC_DEFINEs so autoheader works.
894 If any of vprintf, vsprintf, vfprintf is missing from libc,
895 then AC_REPLACE_FUNCS(_doprnt).
896
8972001-11-26 DJ Delorie <dj@redhat.com>
898 Daniel Jacobowitz <drow@mvista.com>
899
900 * Makefile.in (stamp-h): Depend on Makefile for proper
901 serialization.
902 (*-subdir): Depend on config.h for proper serialization.
903
9042001-11-26 DJ Delorie <dj@redhat.com>
905
906 * configure.in: Check for alloca.h (for regex.c and putenv.c).
907 * configure: Regenerate.
908 * config.h: Add HAVE_ALLOCA_H.
909
9102001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
911
912 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
913 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
914 is available.
915
916Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
917
918 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
919 * configure.in (HAVE_UINTPTR_T): Test for system defining
920 uintptr_t and define HAVE_UINTPTR_T appropriately.
921 * regex.c (uintptr_t): Do not provide a definition if the
922 system provided one.
923
924 * regex.c (PREFIX): Provide an alternate definition for
925 non-ANSI/ISO compilers.
926 (ARG_PREFIX): Likewise.
927
9282001-11-12 Jim Meyering <meyering@lucent.com>
929
930 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
931 this code would end up calling gettext even in packages built
932 with --disable-nls.
933 * getopt.c (_): Likewise.
934 * regex.c (_): Likewise.
935
9362001-11-03 Alan Modra <amodra@bigpond.net.au>
937
938 * configure.in: Cope with missing makeinfo.
939 * configure: Regenerate.
940
9412001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
942
943 * hex.c (hex_init): Provide empty stub.
944
945 * hex.c (hex_init): Delete.
946 (_hex_value): Const-ify and initialize at compile-time.
947
9482001-10-19 H.J. Lu <hjl@gnu.org>
949
950 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
951 necessary.
952
9532001-10-17 DJ Delorie <dj@redhat.com>
954
955 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
956 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
957 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
958 Improve manual formatting.
959 * functions.texi: Regenerate.
960
9612001-10-15 DJ Delorie <dj@redhat.com>
962
963 * Makefile.in (TEXIFILES): Add fnmatch.txh.
964 (maint-undoc): New.
965 maint-tool: Add "undoc" tool.
966 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
967 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
968 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
969 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
970 documentation.
971 * fnmatch.txh: New.
972 * functions.texi: Regenerate.
973
9742001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
975
976 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
977 * strtod.c: Use "ISO C" instead of "ANSI C".
978 * functions.texi: Regenerate.
979
9802001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
981
982 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
983 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
984 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
985 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
986 spelling. Give names to function arguments in documentation. Use
987 (void) prototypes in documentation.
988 * functions.texi: Regenerate.
989
9902001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
991
992 * argv.c (buildargv, tests, main): Const-ify.
993 * cp-demangle.c (operator_code): Likewise.
994 * cplus-dem.c (optable, libiberty_demanglers,
995 cplus_demangle_set_style, cplus_demangle_name_to_style,
996 print_demangler_list): Likewise.
997 * hashtab.c (higher_prime_number): Likewise.
998 * strcasecmp.c (charmap): Likewise.
999 * strerror.c (error_info, strerror, main): Likewise.
1000 * strncasecmp.c (charmap): Likewise.
1001 * strsignal.c (signal_info): Likewise.
1002
10032001-09-29 DJ Delorie <dj@redhat.com>
1004
1005 * configure: Regenerate.
1006
10072001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1008
1009 * concat.c: Include stdlib.h.
1010
10112001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
1012
1013 * libiberty.texi: (Top level): Add syncodeindex pg. Add
1014 @dircategory and @direntry directives. Add @finalout.
1015 (many nodes): Lose the next,prev,up pointers on the @nide line.
1016 (Using, Supplemental Functions, Replacement Functions): Fix
1017 markup.
1018 (Functions): Move around, to allow makeinfo to build the manual
1019 without next,prev,up pointers in thye node lines.
1020 (Licenses): Fix typos.
1021
1022 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
1023 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
1024 * functions.texi: Regenerate.
1025
1026 * copying-lib.texi: Lose the next,prev,up pointers on the @node
1027 line.
1028
10292001-09-27 DJ Delorie <dj@redhat.com>
1030
1031 * configure.in: Don't use in-tree texinfo, because libiberty must
1032 be built before it. Check for makeinfo version 4 or higher.
1033 * functions.texi: Regenerate.
1034
10352001-09-20 DJ Delorie <dj@redhat.com>
1036 Phil Edwards <pedwards@disaster.jaj.com>
1037
1038 * configure.in (MAKEINFO, PERL): Detect these.
1039 (--enable-maintainer-mode): Add.
1040 * configure: Regenerate.
1041 * Makefile.in (MAKEINFO, PERL): Define.
1042 (libiberty.info, libiberty.dvi, libiberty.html): New.
1043 (CFILES): Add bsearch.c.
1044 (CONFIGURED_OFILES): New, list of objects configure might add.
1045 (maint-missing, maint-buildall): New, for maintainers only.
1046 (clean, mostlyclean): Add info/dvi/html files.
1047 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
1048 * gather-docs: New, for maintainers.
1049 * maint-tool: New, for maintainers.
1050 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
1051 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
1052 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
1053 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
1054 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
1055 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
1056 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
1057 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
1058 documentation.
1059
10602001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1061
1062 * concat.c (reconcat): Fix for traditional C.
1063
10642001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1065
1066 * concat.c (reconcat): New function.
1067
10682001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1069
1070 * concat.c (vconcat_length, vconcat_copy, concat_length,
1071 concat_copy, concat_copy2): New functions.
1072 (concat): Use vconcat_length/vconcat_copy.
1073
1074 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
1075 Define.
1076
10772001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1078
1079 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
1080 VA_FIXEDARG & VA_CLOSE.
1081
1082 * vasprintf.c: Check HAVE_STRING_H when including string.h.
1083 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
1084 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
1085
10862001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1087
1088 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
1089
10902001-08-23 Ulrich Drepper <drepper@redhat.com>
1091
1092 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
1093
10942001-08-23 Ulrich Drepper <drepper@redhat.com>
1095
1096 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
1097 instead of mbrtowc.
1098 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
1099 wcslen, and __wcscoll instead of wcscoll.
1100
11012001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1102
1103 * fibheap.c (fibheap_init, fibnode_init): Remove.
1104 (fibheap_new, fibnode_new): Use xcalloc to allocate and
1105 initialize memory.
1106 (fibheap_insert): Remove check for node allocation failure.
1107
11082001-08-21 Richard Henderson <rth@redhat.com>
1109
1110 * Makefile.in (fibheap.o): Depend on config.h.
1111 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
1112 functions for inlining.
1113
1114Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
1115
1116 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
1117 hosting on cygwin.
1118 * configure: Regenerate.
1119
11202001-08-20 Andrew Cagney <ac131313@redhat.com>
1121
1122 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
1123 HARRIS_FLOAT_FORMAT.
1124 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
1125 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
1126 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
1127 (floatformat_m88110_harris_ext): New float formats.
1128
11292001-08-20 Daniel Berlin <dan@cgsoftware.com>
1130
1131 * fibheap.c: New file. Fibonacci heap.
1132
1133 * Makefile.in (CFILES): Add fibheap.c.
1134 (REQUIRED_OFILES): Add fibheap.o.
1135 (fibheap.o): Add dependencies for fibheap.o.
1136
11372001-08-17 Christopher Faylor <cgf@cygnus.com>
1138
1139 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
1140 * configure: Regenerate.
1141
11422001-08-16 Richard Henderson <rth@redhat.com>
1143
1144 * hashtab.c (htab_hash_string): New.
1145
11462001-08-13 Andrew Cagney <ac131313@redhat.com>
1147
1148 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
1149 name.
1150
11512001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
1152
1153 * regex.c (wcs_regex_compile): Use appropriate string
1154 to compare with collating element.
1155 Fix the padding for the alignment.
1156
11572001-08-10 Andrew Cagney <ac131313@redhat.com>
1158
1159 * lbasename.c (lbasename): Change function definition to return a
1160 const char pointer.
1161
11622001-08-07 Jason Merrill <jason_merrill@redhat.com>
1163
1164 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
1165 for".
1166
11672001-08-03 Richard Henderson <rth@redhat.com>
1168
1169 * Makefile.in (concat.o): Depend on config.h.
1170
11712001-07-30 Andreas Jaeger <aj@suse.de>
1172
1173 * concat.c: Include "config.h".
1174
11752001-07-30 Andreas Jaeger <aj@suse.de>
1176
1177 * regex.c: Declare wcs functions only if compiling with
1178 MBS_SUPPORT.
1179 Don't use #elif for traditional C.
1180
11812001-07-23 Ulrich Drepper <drepper@redhat.com>
1182
1183 * regex.c: Revamp memory allocation for WCHAR functions to
1184 not use too much stack.
1185
11862001-07-30 Andreas Jaeger <aj@suse.de>
1187
1188 * regex.c: Declare wcs functions only if compiling with
1189 MBS_SUPPORT.
1190 Don't use #elif for traditional C.
1191
11922001-07-25 Daniel Jacobowitz <drow@mvista.com>
1193
1194 * Makefile.in (regex.o): Add dependency on config.h.
1195
11962001-07-18 Andreas Schwab <schwab@suse.de>
1197
1198 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
1199 underscore character.
1200
12012001-07-18 Ulrich Drepper <drepper@redhat.com>
1202
1203 * regex.c: Limit string length printed in debug messages to 100
1204 chars.
1205
12062001-07-18 Andreas Jaeger <aj@suse.de>
1207
1208 * regex.c: Place under LGPL version 2.1.
1209
12102001-07-10 Jeff Johnston <jjohnstn@redhat.com>
1211
1212 * Makefile.in: Add support for regex code.
1213 * regex.c: New file.
1214
12152001-07-05 Mark Klein <mklein@dis.com>
1216
1217 * Makefile.in: Add ffs.c dependency.
1218 * configure.in: Add ffs.c.
1219 * ffs.c: New file.
1220
12212001-06-18 Richard Henderson <rth@redhat.com>
1222
1223 * concat.c: Include <sys/types.h>.
1224
12252001-06-11 Loren J. Rittle <ljrittle@acm.org>
1226
1227 bootstrap/3106
1228 * strerror.c (sys_nerr): Hide the OS header version.
1229 * strsignal.c (sys_nsig): Likewise.
1230
12312001-06-10 Richard Henderson <rth@redhat.com>
1232
1233 * concat.c: Include string.h. Fix int vs size_t usage.
1234 Simplify the iteration loops. Use memcpy.
1235
12362001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1237
1238 * partition.c: Fix misspelling of `implementation'.
1239
12402001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1241
1242 * md5.c (md5_init_ctx): Declare constants as unsigned.
1243 (md5_process_block): Likewise.
1244
12452001-05-07 Zack Weinberg <zackw@stanford.edu>
1246
1247 * cp-demangle.c (demangle_v3_with_details,
1248 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
1249 function definition.
1250 * ternary.c: Use K+R style function definitions. Use PTR, not
1251 void *. Make arguments constant where possible.
1252
12532001-05-07 Mark Mitchell <mark@codesourcery.com>
1254
1255 * splay-tree.h (splay_tree_max): New function.
1256 (splay_tree_min): Likewise.
1257
12582001-04-15 Daniel Berlin <dan@cgsoftware.com>
1259
1260 * ternary.c: New file - Ternary search tree implementation.
1261
1262 * Makefile.in: Add ternary.o, and ternary.c dependencies.
1263
12642001-04-03 Zack Weinberg <zackw@stanford.edu>
1265
1266 * make-temp-file.c (try): Inline.
1267
12682001-02-28 Richard Henderson <rth@redhat.com>
1269
1270 * Makefile.in (make-temp-file.o): Depend on config.h.
1271
12722001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1273
1274 * memchr.c (memchr): Adjust condition to avoid infinite loop.
1275
12762001-03-23 Jakub Jelinek <jakub@redhat.com>
1277
1278 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
1279 `_' not followed by a digit is invalid.
1280
12812001-03-22 Jim Blandy <jimb@redhat.com>
1282
1283 * cp-demangle.c (string_list_delete): Use dyn_string_delete
1284 instead of free, to free the contents as well as the string
1285 structure.
1286
12872001-03-21 Zack Weinberg <zackw@stanford.edu>
1288
1289 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
1290 Don't default P_tmpdir to anything. Try /var/tmp before
1291 /usr/tmp.
1292
12932001-03-20 Zack Weinberg <zackw@stanford.edu>
1294
1295 * choose-temp.c: Split off make_temp_file, and the code
1296 duplicated between it and choose_temp_base, into...
1297 * make-temp-file.c: ... here; new file.
1298
1299 * Makefile.in (CFILES): Add make-temp-file.c.
1300 (REQUIRED_OFILES): Add make-temp-file.o.
1301
13022001-03-20 Jim Blandy <jimb@redhat.com>
1303
1304 * cp-demangle.c (struct demangling_def): New fields:
1305 is_constructor and is_destructor.
1306 (demangling_new): Initialize them.
1307 (demangle_ctor_dtor_name): Set them, if we detect a constructor
1308 or destructor.
1309 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
1310 is_gnu_v3_mangled_dtor): New functions.
1311
13122001-03-20 Jason Merrill <jason@redhat.com>
1313
1314 * cplus-dem.c (main): Skip initial $.
1315
13162001-03-15 Michael Meissner <meissner@redhat.com>
1317
1318 * hashtab.c (higher_prime_number): Silence warning that 4294967291
1319 might be a signed integer under pre-ISO C systems.
1320
13212001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
1322 John David Anglin <dave@hiauly1.hia.nrc.ca>
1323
1324 * libiberty/lbasename.c: New file.
1325 * libiberty/Makefile.in: Update for lbasename.
1326
13272001-03-06 Zack Weinberg <zackw@stanford.edu>
1328
1329 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
1330 * configure.in: Replace all alloca logic with a simple use of
1331 the above new macro.
1332 * config.table: Kill *-*-beos* entry.
1333 * config/mh-beos: Delete.
1334 * configure, config.in: Regenerate.
1335
1336 * Makefile.in (ALLOCA, HFILES): Kill.
1337 (REQUIRED_OFILES): Add alloca.o.
1338 (alloca.o): Depend on libiberty.h.
1339 (argv.o): Don't depend on alloca-conf.h.
1340 * alloca-conf.h: Delete.
1341 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
1342 blocks. Provide the C alloca unconditionally. Use PTR where
1343 appropriate. Make i00afunc static.
1344 * argv.c: Don't include alloca-conf.h.
1345
13462001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1347
1348 * cplus-dem.c (main): Cast enum style to int.
1349
13502001-02-16 Loren J. Rittle <ljrittle@acm.org>
1351
1352 * cplus-dem.c (main): Initialize style.
1353
13542001-02-02 Phil Edwards <pme@sources.redhat.com>
1355
1356 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
1357
13582001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
1359
1360 Add support for Java demangling under the v3 ABI:
1361 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
1362 (struct demangling_def): Add `style' field.
1363 (demangling_new): New parameter `style'. Set it in demangling_t.
1364 (demangle_prefix): Use NAMESPACE_SEPARATOR.
1365 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
1366 (cp_demangle): New parameter `style'. Pass it to demangling_new().
1367 (main): Call cp_demangle with extra parameter.
1368 (java_demangle_v3): New function.
1369 (java_builtin_type_names): New. Table of primitive type names used
1370 for Java demangling.
1371 (demangle_builtin_type): Look up in java_builtin_type_names if doing
1372 Java output.
1373 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
1374 demangling.
1375 (long_options): Remove obsolete `java' option.
1376 (main): Remove explicit handling of `java' option. Instead, pass style
1377 parameter in cplus_demangle flags as gdb does.
1378 * testsuite/demangle.expected: Add some Java test cases.
1379
13802000-12-29 DJ Delorie <dj@redhat.com>
1381
1382 * fnmatch.c: Make the note about the origins of this file more
1383 accurate, at least until we can sync with glibc.
1384 * getopt.c: Ditto.
1385 * getopt1.c: Ditto.
1386 * md5.c: Ditto.
1387 * obstack.c: Ditto.
1388
13892000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1390
1391 * bsearch.c: New file.
1392 * configure.in (funcs): Add bsearch.
1393 (AC_CHECK_FUNCS): Likewise.
1394 * configure, config.in: Regenerate.
1395
13962000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1397
1398 * safe-ctype.c: #include "ansidecl.h".
1399 * strtod.c: Likewise.
1400
14012000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1402
1403 * strtoul.c: Include safe-ctype.h, not ctype.h.
1404
14052000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
1406
1407 * safe-ctype.c: New file.
1408 * Makefile.in (CFILES): Add safe-ctype.c.
1409 (REQUIRED_OFILES): Add safe-ctype.o.
1410
1411 * argv.c: Define ISBLANK and use it, not isspace.
1412 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
1413 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
1414 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
1415 before calling TOLOWER(c)/TOUPPER(c).
1416
14172000-12-07 Mike Stump <mrs@wrs.com>
1418
1419 * Makefile.in (distclean): When cleaning, remove testsuite.
1420
14212000-12-05 Jason Merrill <jason@redhat.com>
1422
1423 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
1424 name before allocating the dyn_string.
1425
14262000-12-04 Jason Merrill <jason@redhat.com>
1427
1428 * cp-demangle.c: s/new_abi/v3/.
1429 * cplus-dem.c: Likewise.
1430 (current_demangling_style): Now auto_demangling.
1431 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
1432 (main): Use standard symbol chars for auto_demangling.
1433
14342000-11-26 Mark Mitchell <mark@codesourcery.com>
1435
1436 * hashtab.c (higher_prime_number): Use a table, rather than a
1437 seive, to find the next prime.
1438
14392000-11-22 H.J. Lu <hjl@gnu.org>
1440
1441 * cplus-dem.c (main): Handle gnat_demangling.
1442
14432000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
1444
1445 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
1446 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
1447 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
1448 argument form of AC_DEFINE in dummy definitions block. Use
1449 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
1450 in dummy block. Preload cache variables instead of bypassing
1451 tests, where possible.
1452 * acconfig.h: Removed.
1453
1454 * xmalloc.c (xmalloc_failed): New function, does error
1455 reporting on failed allocation.
1456 (xmalloc, xcalloc, xrealloc): Use it.
1457
14582000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
1459
1460 * cplus-dem.c (cplus_demangle): Fix formatting.
1461 (grow_vect): Ditto.
1462 (ada_demangle): Ditto.
1463 (internal_cplus_demangle): Ditto.
1464 (mop_up): Ditto.
1465
14662000-11-21 H.J. Lu <hjl@gnu.org>
1467
1468 * cplus-dem.c (main): Handle java_demangling.
1469
14702000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1471
1472 * cplus-dem.c (grow_vect): Prototype.
1473 (ada_demangle): Cast the arg of ctype macros to unsigned char.
1474
14752000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
1476
1477 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
1478 parameter `option'.
1479
14802000-11-15 Kenneth Block <kenneth.block@compaq.com>
1481
1482 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
1483 be used in GCC.
1484
14852000-11-15 Kenneth Block <kenneth.block@compaq.com>
1486
1487 * cplus-dem.c: Add gnat demangler. Add java to demangle style
1488 list.
1489
14902000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
1491
1492 * hashtab.c (htab_expand): Change to return int. Use calloc or
1493 xcalloc depending on htab->return_allocation_failure. Return zero
1494 if calloc fails.
1495 (htab_create): Update comment to cover memory allocation.
1496 (htab_try_create): New.
1497 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
1498 Update comment to cover this.
1499
15002000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
1501
1502 * hashtab.c: Change void * to PTR where necessary.
1503 (htab_create, htab_expand): Correct formatting of comment before
1504 function.
1505
15062000-10-22 Alex Samuel <samuel@codesourcery.com>
1507
1508 * cp-demangle.c (string_list_def): Add caret_position and comments.
1509 (result_caret_pos): New macro.
1510 (result_append_string): Rename to...
1511 (result_add_string): ... this, and insert at caret position.
1512 Rename throughout.
1513 (result_append): Rename to...
1514 (result_add): ... this, and insert at caret position. Rename
1515 throughout.
1516 (result_append_char): Rename to...
1517 (result_add_char): ... this, and insert at caret position. Rename
1518 throughout.
1519 (result_append_space): Remove.
1520 (string_list_new): Initialize caret position.
1521 (result_add_separated_char): Use caret position.
1522 (result_get_caret): New funtion.
1523 (result_set_caret): Likewise.
1524 (result_shift_caret): Likewise.
1525 (result_previous_char_is_space): Likewise.
1526 (substitution_start): Use caret position.
1527 (substitution_add): Likewise.
1528 (demangling_new): Initialize caret position.
1529 (demangle_encoding): Use caret position.
1530 (demanglin_nested_name): Put CV qualifiers after name.
1531 (demangle_type_ptr): Use switch statement. Handle pointers to
1532 arrays. Don't use result_append_space. Use caret position.
1533 (demangle_type): Emit CV qualifiers after underlying type. Adjust
1534 call to demangle_array_type.
1535 (demangle_array_type): Add parameter to handle pointers to arrays.
1536
15372000-10-01 Mark Mitchell <mark@codesourcery.com>
1538
1539 * splay-tree.c (splay_tree_insert): Fix formatting.
1540
15412000-09-16 Mark Mitchell <mark@codesourcery.com>
1542
1543 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
1544
15452000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1546
1547 * splay-tree.c: #include <stdio.h>.
1548
15492000-09-14 Hans-Peter Nilsson <hp@axis.com>
1550
1551 * testsuite/demangle-expected: Add two tests for anonymous
1552 namespaces.
1553 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
1554
15552000-09-10 Mark Mitchell <mark@codesourcery.com>
1556
1557 * splay-tree.c (splay_tree_predecessor): New function.
1558 (splay_tree_successor): Likewise.
1559
15602000-09-10 Hans-Peter Nilsson <hp@axis.com>
1561
1562 * testsuite/demangle-expected: Add four tests for type_info
1563 mangling.
1564 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
1565 for a non-template non-qualified type_info function or node.
1566
15672000-09-08 Alex Samuel <samuel@codesourcery.com>
1568
1569 * cp-demangle.c: Fix copyright banner.
1570
15712000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1572
1573 * md5.c: #include "ansidecl.h".
1574
15752000-09-06 Alex Samuel <samuel@codesourcery.com>
1576
1577 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
1578 (demangle_type): Handle substitution candidates correctly in the
1579 face of special substitutions.
1580
15812000-09-05 Alex Samuel <samuel@codesourcery.com>
1582
1583 * cp-demangle.c (demangle_encoding): Rename variable.
1584 (demangle_name): Rename parameter. Handle return type
1585 suppression.
1586 (demangle_nested_name): Rename parameter.
1587 (demangle_prefix): Likewise. Change return type suppression.
1588 (demangle_unqualified_name): Add parameter. Flag constructors and
1589 conversion operators.
1590 (demangle_special_name): Fix comment.
1591 (demangle_type): Rename variable.
1592 (demangle_bare_function_type): Check for missing return type and
1593 parameter.
1594 (demangle_class_enum_type): Rename parameter.
1595 (demangle_discriminator): Fix misspelling in comment.
1596
15972000-08-31 DJ Delorie <dj@redhat.com>
1598
1599 * configure.in (Cygwin): special case cygwin only when we're
1600 building cygwin, not when we're hosting cygwin.
1601
16022000-09-04 Alex Samuel <samuel@codesourcery.com>
1603
1604 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
1605 <expression>.
1606
16072000-09-04 Alex Samuel <samuel@codesourcery.com>
1608
1609 * cp-demangle.c (demangle_type_ptr): Increment position past
1610 pointer and reference characters.
1611
16122000-09-04 Alex Samuel <samuel@codesourcery.com>
1613
1614 * cp-demangle.c (demangle_nv_offset): New function.
1615 (demangle_v_offset): Likewise.
1616 (demangle_call_offset): Likewise.
1617 (demangle_special_name): Update thunk demangling to comply with
1618 ABI changes.
1619
16202000-09-03 Alex Samuel <samuel@codesourcery.com>
1621
1622 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
1623 (substitution_def): Remove template_parm_number.
1624 (NOT_TEMPLATE_PARM): Remove.
1625 (result_insert_string): New macro.
1626 (result_insert): Likewise.
1627 (result_insert_char): Likewise.
1628 (substitution_add): Remove last parameter. Don't store template
1629 parm number.
1630 (BFT_NO_RETURN_TYPE): Define as NULL.
1631 (demangle_encoding): Adjust call to demangle_bare_function_type.
1632 (demangle_name): Adjust substitution. Adjust call to
1633 substitution_add.
1634 (demangle_prefix): Adjust call to substitution_add.
1635 (demangle_identifier): Handle anonymous namespaces.
1636 (demangle_operator_name): Change demangling of vendor-extended
1637 operator to match ABI changes.
1638 (demangle_type_ptr): Change parameters. Make recursive. Handle
1639 substitutions here.
1640 (demangle_type): Adjust calls to demangle_template_param,
1641 substitution_add, and demangle_type_ptr. Fix substitution of
1642 templated types.
1643 (demangle_function_type): Change parameter to a pointer.
1644 (demangle_bare_function_type): Likewise. Adjust insertion point.
1645 (demangle_template_param): Remove last parameter.
1646 (demangle_expr_primary): Remove unused variable. Adjust call to
1647 demangle_template_param.
1648 (is_mangled_char): Accept `$' and `.'.
1649 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
1650 * dyn-string.c (dyn_string_insert_char): New function.
1651
16522000-08-31 Hans-Peter Nilsson <hp@axis.com>
1653
1654 * testsuite/demangle-expected: Add nine tests for
1655 underscore-after-number followed by five tests for name-signature
1656 delimiter.
1657
16582000-08-28 Richard Henderson <rth@cygnus.com>
1659
1660 * Makefile.in (md5.o): Depend on config.h.
1661
16622000-08-28 Jason Merrill <jason@redhat.com>
1663
1664 * Makefile.in (REQUIRED_OFILES): Add md5.o.
1665 (CFILES): Add md5.c.
1666 * md5.c: New file.
1667
16682000-08-27 Alex Samuel <samuel@codesourcery.com>
1669
1670 * cp-demangle.c (demangle_name): Initialize template_p in local
1671 name case. Don't re-add substitutions as candidates.
1672 (demangle_nested_name): Use <unqualified-name>.
1673 (demangle_prefix): Likewise. Don't add template names as
1674 substitution candidates twice, or re-add a substitution or the
1675 last prefix component.
1676 (demangle_local_name): Adjust output format.
1677
16782000-08-25 Alex Samuel <samuel@codesourcery.com>
1679
1680 * cp-demangle.c (result_add_separated_char): Change parameter to
1681 int.
1682 (substitution_add): Don't check for duplicates. Check if
1683 previously allocated size is zero.
1684 (demangle_name): Remove duplicate check for std substitution.
1685 Clear template flag appropriately.
1686 (demangle_prefix): Remove argument to demangle_substitution.
1687 Don't check that template flag is already set.
1688 (demangle_operator_name): Add pt operator.
1689 (demangle_type): Don't treat r as built-in type. Remove argument
1690 to demangle_substitution. Fix substitution candidate mechanics.
1691 Handle <template-template-parm>s. Improve comments.
1692 (demangle_template_param): Don't handle template arg lists here.
1693 (demangle_substitution): Remove parameter.
1694 (print_usage): Remove extra fprintf option.
1695
16962000-08-24 Greg McGary <greg@mcgary.org>
1697
1698 * libiberty/random.c (end_ptr): Revert previous change.
1699
17002000-08-24 Greg McGary <greg@mcgary.org>
1701
1702 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
1703 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
1704 * libiberty/random.c (end_ptr): Likewise.
1705
17062000-08-23 Alex Samuel <samuel@codesourcery.com>
1707
1708 * cp-demangle.c (result_close_template_list): Remove function.
1709 (result_add_separated_char): New function.
1710 (result_open_template_list): New macro.
1711 (result_close_template_list): Likewise.
1712 (demangle_prefix): Don't set template_p if the
1713 prefix ends with a ctor name.
1714 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
1715 (demangle_type): Check for template args after substitution.
1716 (demangle_template_args): Use result_open_template_list.
1717
17182000-08-02 Zack Weinberg <zack@wolery.cumb.org>
1719
1720 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
1721
17222000-07-26 Dave Pitts <dpitts@cozx.com>
1723
1724 * config/mh-openedition.h: Added -DLE370 definition.
1725
17262000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
1727
1728 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
1729 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
1730 Cast program to 'char *' in errmsg_arg assignment.
1731 (PWAIT_ERROR): Define.
1732 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
1733 to DJGPP's WIF* macros.
1734
17352000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
1736 Jeff Law <law@cygnus.com>
1737
1738 * getcwd.c: Include string.h, stdlib.h for prototypes
1739
1740 * Makefile.in (rename.o, waitpid.o): Depend on config.h
1741 * rename.c: Include config.h, unistd.h
1742 * waitpid.c: Include config.h, sys/wait.h
1743
17442000-07-24 Hans-Peter Nilsson <hp@axis.com>
1745
1746 * cplus-dem.c (work_stuff_copy_to_from): New.
1747 (delete_non_B_K_work_stuff): New.
1748 (delete_work_stuff): New.
1749 (mop_up): Break out work_stuff partly destruction to
1750 delete_non_B_K_work_stuff.
1751 (iterate_demangle_function): New.
1752 (demangle_prefix): Call iterate_demangle_function instead of
1753 demangle_function_name. Leave handling of name-signature
1754 __-delimiters to iterate_demangle_function.
1755 (demangle_integral_value): Strip an optional
1756 following underscore cautiously. Handle negative numbers.
1757
17582000-07-24 Daniel Berlin <dberlin@redhat.com>
1759
1760 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
1761 if (AUTO_DEMANGLING || GNU_DEMANGLING)
1762
17632000-07-21 Alex Samuel <samuel@codesourcery.com>
1764
1765 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
1766 allocating ctor mangling.
1767 (demangle_array_type): Handle empty and non-constant array length.
1768
17692000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1770 Jeff Law <law@cygnus.com>
1771
1772 * configure.in (AC_CHECK_HEADERS): Add time.h.
1773 (AC_HEADER_TIME): Add check.
1774 * configure, config.in: Regenerate.
1775 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
1776
1777 * configure.in (AC_CHECK_HEADERS): Add limits.h.
1778 * configure, config.in: Regenerate.
1779 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
1780 * strtol.c, strtoul.c: #include "config.h". Portably #include
1781 <limits.h> and/or <sys/param.h>.
1782 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
1783
1784 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
1785 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
1786 * configure, config.in: Regenerate.
1787 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
1788
1789 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
1790
17912000-07-21 Mike Stump <mrs@wrs.com>
1792
1793 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
1794 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
1795
17962000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1797
1798 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
1799
1800 * setenv.c (setenv): Initialize variable `ep'.
1801
1802 * sigsetmask.c (abort): Prototype.
1803
1804 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
1805 __STDC__ for stdarg.h include.
1806 (int_vasprintf): Prototype.
1807 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
1808 definition. Cast `global_total_width' in comparison.
1809 (main): Prototype. Return a value.
1810
1811 * vfork.c (fork): Prototype.
1812
1813 * xexit.c: Include config.h.
1814
18152000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
1816
1817 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
1818 and print it with %u.
1819
18202000-07-17 Hans-Peter Nilsson <hp@axis.com>
1821
1822 * testsuite/regress-demangle (failed test): Show result and
1823 expected output.
1824
18252000-07-07 Andrew Haley <aph@cygnus.com>
1826
1827 * cplus-dem.c (main): fflush() after emitting last char before
1828 waiting for input.
1829
18302000-06-28 Alex Samuel <samuel@codesourcery.com>
1831
1832 * cp-demangle.c (demangle_encoding): Accept no substitutions.
1833 (demangle_name): Handle <substitution> followed by
1834 <unqualified-template-name>.
1835 (demangle_type): Follow special substitutions with
1836 <class-enum-type>
1837 (demangle_subtitution): Set template_p for special substitutions.
1838 (main): Fix typos.
1839
18402000-06-27 Alex Samuel <samuel@codesourcery.com>
1841
1842 * cp-demangle.c (demangle_special_name): Swap base and derived
1843 class when demangling construction vtables.
1844
18452000-06-21 Alex Samuel <samuel@codesourcery.com>
1846
1847 * cp-demangle.c: Don't include ctype.h.
1848 (IS_DIGIT): New macro.
1849 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
1850 instead of isdigit and isalpanum.
1851 (demangling_def): Make name and next const pointers.
1852 (STATUS_ALLOCATION_FAILED): New status code.
1853 (dyn_string_append_space): Handle failure in
1854 dyn_string_append_char.
1855 (int_to_dyn_string): Likewise. Change return value to status_t.
1856 (string_list_new): Handle failure of dyn_string_init.
1857 (result_close_template_list): Change return type to status_t.
1858 Handle failure in dyn_string_append.
1859 (result_push): Change return value to status_t. Handle failure in
1860 string_list_new. Handle failure of result_push throughout.
1861 (substitution_add): Change return value to status_t. Handle
1862 dyn_string failures. Handle failure of substitution_add
1863 throughout.
1864 (template_arg_list_new): Return NULL on allocation failure.
1865 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
1866 Handle error result throughout.
1867 (result_append): Likewise.
1868 (result_append_char): Likewise.
1869 (result_append_space): Likewise.
1870 (demangling_new): Make argument a const pointer. Handle
1871 allocation failures.
1872 (demangle_template_args): Handle failure in template_arg_list_new
1873 and result_close_template_list.
1874 (demangle_discriminator): Return if int_to_dyn_string fails.
1875 (cp_demangle): Likewise.
1876 (cp_demangle_type): New function.
1877 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
1878 memory allocation failure.
1879 (main): Likewise.
1880 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
1881 IN_LIBGCC2.
1882 (dyn_string_init): Change return value to int. Handle
1883 RETURN_ON_ALLOCATION_FAILURE case.
1884 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
1885 (dyn_string_release): Delete the dyn_string.
1886 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
1887 (dyn_string_copy): Change return type to int.
1888 (dyn_string_copy_cstr): Likewise.
1889 (dyn_string_prepend): Likewise.
1890 (dyn_string_prepend_cstr): Likewise.
1891 (dyn_string_insert): Likewise.
1892 (dyn_string_insert_cstr): Likewise.
1893 (dyn_string_append): Likewise.
1894 (dyn_string_append_cstr): Likewise.
1895 (dyn_string_append_char): Likewise.
1896 (dyn_string_substring): Likewise.
1897
18982000-06-09 Zack Weinberg <zack@wolery.cumb.org>
1899
1900 * cp-demangle.c (demangle_operator_name): Add spaces before
1901 names beginning with a letter: delete, delete[], new, new[],
1902 sizeof.
1903 (demangle_special_name): Handle TF <type> and TJ <type>.
1904
1905Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
1906
1907 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
1908
1909Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
1910
1911 * cp-demangle.c (stdio.h): File included unconditionaly.
1912 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
1913 * dyn-string.c (stdio.h): File included.
1914 * partition.c (partition_print): No `&' needed to take the address of
1915 a function.
1916
19172000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1918
1919 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
1920
1921 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
1922
1923 * cp-demangle.c (demangle_char): Change parameter from char to int.
1924 (demangle_expression, demangle_expr_primary): Remove extra
1925 semi-colon in prototype.
1926
1927 * dyn-string.c (dyn_string_append_char): Change parameter from
1928 char to int.
1929
1930 * memcmp.c (memcmp): Constify.
1931
1932 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
1933 __extension__.
1934
1935 * partition.c (elem_compare): Prototype. Don't cast away
1936 const-ness.
1937
1938 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
1939
19402000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1941
1942 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
1943
1944 * cp-demangle.c: Include demangle.h.
1945 (template_arg_list_new): DeANSIfy.
1946 (cp_demangle): Make static and add prototype.
1947 (operator_code, operators): Constify.
1948 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
1949
19502000-06-05 Alex Samuel <samuel@codesourcery.com>
1951
1952 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
1953 unsigned char.
1954 (demangle_unqualified_name): Likewise.
1955 (demangle_number_literally): Likewise.
1956 (demangle_type): Likewise.
1957 (demangle_substitution): Likewise.
1958 (is_mangled_char): Likewise, for isalnum.
1959
19602000-06-04 Alex Samuel <samuel@codesourcery.com>
1961
1962 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
1963 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
1964 (cp-demangle.o): New dependency.
1965 (dyn-string.o): Likewise.
1966
1967 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
1968
1969 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
1970 demangler.
1971 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
1972 demangling mode.
1973 (gnu_new_abi_symbol_characters): New function.
1974 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
1975 file.
1976 * cp-demangle.c: New file.
1977
1978Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
1979
1980 * floatformat.c: Add name to each floatformat field.
1981
1982Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
1983
1984 * Makefile.in (objalloc.o): Depend on config.h
1985
19862000-05-29 Zack Weinberg <zack@wolery.cumb.org>
1987
1988 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
1989 if HAVE_STRING_H.
1990 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
1991 * objalloc.c: Include config.h. Include stdlib.h and don't
1992 declare malloc or free if HAVE_STDLIB_H.
1993 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
1994 else declare malloc without prototype. Include string.h if
1995 HAVE_STRING_H, else declare memset without prototype. Don't
1996 include stddef.h.
1997
19982000-05-23 Mike Stump <mrs@wrs.com>
1999
2000 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
2001 -j3.
2002
20032000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
2004
2005 * xmalloc.c: Include config.h for HAVE_SBRK definition.
2006
20072000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
2008
2009 * hashtab.c (hash_pointer): Delete low-order bits which are
2010 probably zero, also eliminate a warning on alpha.
2011
20122000-05-15 David Edelsohn <edelsohn@gnu.org>
2013
2014 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
2015 on $(enable_shared).
2016
20172000-05-10 Jakub Jelinek <jakub@redhat.com>
2018
2019 * config.table: Use mh-sparcpic for sparc*-*-*.
2020
20212000-05-08 Nick Clifton <nickc@cygnus.com>
2022
2023 * Makefile.in (CFILES): Add strncmp.c.
2024 (NEEDED): Add strncmp.
2025
20262000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2027
2028 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
2029 Cast the arguments to `islower' to `unsigned char'.
2030 (print_demangler_list): Prototype.
2031
2032Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
2033
2034 * sort.c (UCHAR_MAX): Provide fallback definition.
2035
20362000-04-29 Alexandre Oliva <aoliva@cygnus.com>
2037
2038 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
2039 SUBDIRS.
2040
20412000-04-28 Kenneth Block <block@zk3.dec.com>
2042 Jason Merrill <jason@casey.cygnus.com>
2043
2044 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
2045 (cplus_demangle_set_style): New function for setting style.
2046 (cplus_demangle_name_to_style): New function to translate name.
2047
20482000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2049
2050 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
2051
2052 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
2053 (libiberty_AC_FUNC_STRNCMP): Invoke.
2054
2055 * strncmp.c: New file.
2056
2057Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
2058
2059 * hashtab.c (htab_expand): Add prototype.
2060 (find_empty_slot_for_expand): Likewise.
2061
20622000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2063
2064 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
2065 match prototype.
2066 (htab_expand): Cast the return value of xcalloc.
2067
20682000-04-24 Mark Mitchell <mark@codesourcery.com>
2069
2070 * hashtab.c (hash_pointer): New function.
2071 (eq_pointer): Likewise.
2072 (htab_hash_pointer): New variable.
2073 (htab_eq_pointer): Likewise.
2074
20752000-04-23 Mark Mitchell <mark@codesourcery.com>
2076
2077 * sort.c (sort_pointers): Fix endianness bugs.
2078
2079 * sort.c: New file.
2080 * Makefile.in (CFILES): Add sort.c
2081 (REQUIRED_OFILES): Add sort.o.
2082 (sort.o): New target.
2083
20842000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2085
2086 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
2087 4.3BSD systems.
2088
2089Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2090
2091 * hashtab.c: Various minor cleanups.
2092 (htab_find_slot_with_hash): INSERT is now enum insert_option.
2093 (htab_find_slot): Likewise.
2094
20952000-04-16 Dave Pitts <dpitts@cozx.com>
2096
2097 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
2098
20992000-04-05 Richard Henderson <rth@cygnus.com>
2100
2101 * splay-tree.c (splay_tree_remove): New.
2102
21032000-03-30 Mark Mitchell <mark@codesourcery.com>
2104
2105 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
2106 codes.
2107 (htab_find_with_hash): Likewise.
2108 (htab_find_slot_with_hash): Likewise.
2109
21102000-03-29 Zack Weinberg <zack@wolery.cumb.org>
2111
2112 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
2113 unless it will be used. Rearrange loop for better
2114 optimization.
2115 (higher_prime_number): Add static prototype.
2116
2117Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
2118
2119 * Makefile.in (partition.o): Depend on config.h
2120
21212000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
2122
2123 * hashtab.c (find_empty_slot_for_expand): New function.
2124 (htab_expand): Use it instead of htab_find_slot.
2125 (htab_find_with_hash): Renamed from htab_find; now accepts extra
2126 argument HASH.
2127 (htab_find_slot_with_hash): Likewise for htab_find_slot.
2128 (htab_find): New wrapper function.
2129 (htab_find_slot): Likewise.
2130 (htab_traverse): Pass slot, not entry, to called function.
2131
21322000-03-09 Alex Samuel <samuel@codesourcery.com>
2133
2134 * Makefile.in (CFILES): Add partition.c.
2135 (REQUIRED_OFILES): Add partition.o.
2136 (partition.o): New rule.
2137 * partition.c: New file.
2138
21392000-03-09 Zack Weinberg <zack@wolery.cumb.org>
2140
2141 * hashtab.c (htab_create): Set del_f.
2142 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
2143 Use it.
2144
21452000-03-08 Zack Weinberg <zack@wolery.cumb.org>
2146
2147 * hashtab.c: Remove debugging variables (all_searches,
2148 all_collisions, all_expansions). Delete
2149 all_hash_table_collisions.
2150 (create_hash_table, delete_hash_table, empty_hash_table,
2151 find_hash_table_entry, remove_element_from_hash_table_entry,
2152 clear_hash_table_slot, traverse_hash_table, hash_table_size,
2153 hash_table_elements_number, hash_table_collisions): Rename to:
2154 htab_create, htab_delete, htab_empty, htab_find_slot,
2155 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
2156 htab_elements, htab_collisions.
2157 (htab_find): New function, handles common case where you don't
2158 plan to add or delete an entry.
2159 (htab_expand): Don't create a whole new table, just a new
2160 entry vector.
2161 (htab_find_slot): Simplify logic.
2162
21631999-08-03 Ian Lance Taylor <ian@zembu.com>
2164
2165 * floatformat.c: Add casts to avoid signed/unsigned warnings.
2166 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
2167
2168 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
2169 $(TARGETLIB)n so it works on MSDOS.
2170 (install_to_tooldir): Likewise.
2171
21721999-07-21 Ian Lance Taylor <ian@zembu.com>
2173
2174 From Mark Elbrecht:
2175 * makefile.dos: Remove; obsolete.
2176 * configure.bat: Remove; obsolete.
2177
21781999-07-11 Ian Lance Taylor <ian@zembu.com>
2179
2180 * splay-tree.c (splay_tree_insert): Add initialization to avoid
2181 warning.
2182
21832000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2184
2185 * pexecute.c: Conditionally include string.h.
2186 (fix_argv): Handle embedded whitespace in args for Mingw32.
2187
21882000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2189
2190 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
2191 we're using gcc.
2192
2193 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
2194
21951999-12-27 Geoff Keating <geoffk@cygnus.com>
2196
2197 * vasprintf.c (int_vasprintf): Don't re-read the format character
2198 as this mishandles strings like '%%s'.
2199
22001999-12-05 Mark Mitchell <mark@codesourcery.com>
2201
2202 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
2203 rather than struct splay_tree_node.
2204 (splay_tree_insert): Use struct splay_tree_s rather than struct
2205 splay_tree.
2206
2207Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
2208
2209 * hashtab.c (sys/types.h): File included.
2210
22111999-11-22 Jason Merrill <jason@casey.cygnus.com>
2212
2213 * strtoul.c, strtol.c, random.c: Remove advertising clause from
2214 BSD license, pursuant with
2215
2216 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
2217
2218Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
2219
2220 * hashtab.c: Include stdio.h.
2221
2222Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
2223
2224 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
2225
2226Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
2227
2228 * xstrdup (sys/types.h): Include this file.
2229
22301999-10-28 Nathan Sidwell <nathan@acm.org>
2231
2232 * Makefile.in (SUBDIRS): New macro.
2233 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
2234 avoid multiple subdirectory cleaning.
2235 (*-subdir): Use SUBDIRS.
2236
22371999-10-25 Jim Kingdon <http://developer.redhat.com/>
2238
2239 * cplus-dem.c: Move declarations of standard_symbol_characters and
2240 hp_symbol_characters inside #ifdef MAIN to avoid compiler
2241 warnings.
2242
22431999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
2244
2245 * hashtab.c (find_hash_table_entry): When returning a
2246 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
2247 (clear_hash_table_slot): New function which deletes an entry
2248 by its position in the table, not its value.
2249 (traverse_hash_table): New function which calls a hook
2250 function for every live entry in the table.
2251
22521999-10-19 Mark Mitchell <mark@codesourcery.com>
2253
2254 * cplus-dem.c (INTBUF_SIZE): New macro.
2255 (string_append_template_idx): New function.
2256 (demangle_expression): Likewise.
2257 (demangle_integral_value): Use it.
2258 (demangle_real_value): New function, split out from ...
2259 (demangle_template_value_parm): ... here. Use
2260 string_append_template_idx. Use demangle_real_value.
2261 (demangle_template): Use string_append_template_idx.
2262 (demangle_qualified): Use consume_count_with_underscores.
2263 (get_count): Tweak formatting.
2264 (do_type): Use string_append_template_idx.
2265
22661999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2267
2268 * calloc.c: Add a public domain notice.
2269
2270Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
2271
2272 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
2273
2274Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
2275
2276 * Makefile.in (CFILES): Add hashtab.c
2277 (REQUIRED_OFILES): Add hashtab.o
2278 (hashtab.o): Add dependencies.
2279 * hashtab.c: New file
2280
2281Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
2282
2283 * basename.c (DIR_SEPARATOR): New macro.
2284 (DIR_SEPARATOR_2): Likewise.
2285 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
2286 (IS_DIR_SEPARATOR): Likewise.
2287 (main): Handle MSDOS style pathname.
2288
22891999-10-11 Mark Mitchell <mark@codesourcery.com>
2290
2291 * cplus-dem.c (do_type): Handle pointer to member types whose
2292 enclosing classes have namespace scope.
2293
2294Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
2295
2296 * config.table: Provide a backup shell for executing move-if-change.
2297
22981999-10-02 Mark Mitchell <mark@codesourcery.com>
2299
2300 * xmalloc.c (xmalloc): Fix spelling error.
2301 (xcalloc, xrealloc): Likewise.
2302
23031999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2304
2305 * cplus-dem.c (fancy_abort, demangle_integral_value,
2306 demangle_arm_hp_template, recursively_demangle,
2307 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
2308 (program_name, program_version, fatal): Constify a char*.
2309 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
2310 (main): Call return, not exit.
2311
23121999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2313
2314 * choose-temp.c: Remove obsolete comment about gcc.
2315 (make_temp_file): Constify a char*.
2316
2317Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2318
2319 * xmemdup.c: Include sys/types.h.
2320
23211999-09-07 Jeff Garzik <jgarzik@pobox.com>
2322
2323 * xmemdup.c: New xmemdup function.
2324 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
2325
2326Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
2327
2328 * config.table: Add openedition target.
2329 * config/mh-openedition: New file.
2330
2331Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
2332
2333 * pexecute.c (pexecute): Fill in temp_base when needed.
2334
23351999-08-31 Richard Henderson <rth@cygnus.com>
2336
2337 * getpwd.c: Check HAVE_GETCWD before defining it away.
2338
23391999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2340
2341 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
2342 (REQUIRED_OFILES): Add getpwd.o.
2343 (getpwd.o): Add target.
2344
2345 * configure.in (AC_PREREQ): Bump to 2.13.
2346 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
2347
2348 * getpwd.c: New file, moved here from gcc.
2349
23501999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2351
2352 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
2353 comparing against a signed quantity.
2354 (arm_special): Likewise.
2355 (demangle_fund_type): Likewise.
2356 (do_hpacc_template_const_value): Mark parameter `work' with
2357 ATTRIBUTE_UNUSED.
2358 (main): Constify variable `valid_symbols'.
2359
2360Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
2361
2362 * strtoul.c (strtoul): Add parentheses around && within ||.
2363
2364Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
2365
2366 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
2367 libdir, libsubdir and tooldir.
2368
23691999-08-01 Mark Mitchell <mark@codesourcery.com>
2370
2371 * splay-tree.c (splay_tree_insert): Return the new node.
2372
23731999-07-14 Richard Henderson <rth@cygnus.com>
2374
2375 * argv.c: Include stdlib.h and string.h instead of
2376 prototyping directly.
2377 * choose-temp.c: Conditionally include string.h.
2378
23791999-07-12 Jason Merrill <jason@yorick.cygnus.com>
2380
2381 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
2382
23831999-07-11 Ian Lance Taylor <ian@zembu.com>
2384
2385 * splay-tree.c (splay_tree_insert): Add initialization to avoid
2386 warning.
2387
23881999-07-07 Jason Merrill <jason@yorick.cygnus.com>
2389
2390 * Makefile.in (needed-list): Only include stuff we actually need
2391 for libstdc++.
2392
23931999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2394
2395 * configure.in (checkfuncs): Add gettimeofday.
2396 * config.in, configure: Regenerated.
2397
2398Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
2399
2400 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
2401 the test fails.
2402 * configure: Regenerate.
2403
24041999-06-10 Mike Stump <mrs@wrs.com>
2405
2406 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
2407 parallel builds.
2408
24091999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2410
2411 * putenv.c: Include ansidecl.h to define `const'.
2412 * setenv.c: Likewise.
2413
2414Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
2415
2416 * Makefile.in (CFILES): Add putenv.c and setenv.c.
2417 * configure.in (funcs): Add putenv and setenv.
2418 (AC_CHECK_FUNCS): Check for putenv and setenv.
2419 * configure: Rebuilt.
2420 * putenv.c setenv.c: New files.
2421
2422 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
2423 bytes of space using malloc.
2424
2425Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
2426
2427 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
2428 the *mangled pointer beyond the end of the string. Clean up code to
2429 match prevailing coding style.
2430
24311999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2432
2433 * tmpnam.c (L_tmpnam): Fix typo.
2434
2435Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
2436
2437 * cplus-dem.c (standard_symbol_characters): Renamed from
2438 standard_symbol_alphabet. No longer modify TABLE.
2439 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
2440 modify TABLE.
2441 (main): Corresponding changes. Use strchr to determine if a
2442 character is valid.
2443
24441999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
2445
2446 * cplus-dem.c (main): Use table lookup to distinguish identifier
2447 characters from non-identifier characters.
2448 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
2449
2450Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
2451
2452 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
2453 * getruntime.c: Only attempt to include sys/resource.h and
2454 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
2455 are defined.
2456
2457Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
2458
2459 * configure.in (alloca detection): Handle alloca directly for interix.
2460 * configure: Rebuilt.
2461
2462Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
2463
2464 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
2465
24661999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
2467
2468 Fix from Dale Hawkins:
2469 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
2470 reallocated properly if we use it again.
2471
2472 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
2473 stricter about syntax. Always null-terminate string.
2474
2475Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
2476
2477 * configure.in (checkfuncs): Check for sbrk.
2478 * config.in: Rebuilt.
2479 * configure: Likewise.
2480 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
2481
24821999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
2483
2484 Fix from Marcus Daniels:
2485 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
2486 identifier looking for another underscore.
2487
2488Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
2489
2490 * pexecute.c: Change all references to __UWIN__ to _UWIN.
2491 * xmalloc.c: Likewise.
2492 (xcalloc): UWIN has sbrk.
2493 (xrealloc): Fix guard macro.
2494
24951999-04-11 Richard Henderson <rth@cygnus.com>
2496
2497 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
2498 or <alloca.h>.
2499 * clock.c (GNU_HZ): New definition.
2500 (clock): Use it.
2501 * getruntime.c: Likewise.
2502
2503 * config.table: Use mh-beos.
2504 * config/mh-beos: New file.
2505
25061999-04-11 Mark Mitchell <mark@codesourcery.com>
2507
2508 * cplus-dem.c (demangle_template_value_parm): Handle
2509 pointers-to-members.
2510 (do_type): Handle template parameters as qualifiers.
2511
25121999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
2513
2514 * cplus-dem.c: Attempt to handle overflows in counts with some
2515 semblance of grace.
2516 (consume_count): Detect overflows. Return -1 to indicate errors,
2517 instead of zero.
2518 (demangle_template_value_parm, demangle_template): Handle change
2519 to consume_count's return convention.
2520
25211999-04-05 Tom Tromey <tromey@cygnus.com>
2522
2523 * testsuite/regress-demangle: New file.
2524 * testsuite/demangle-expected: New file.
2525
2526 * Makefile.in (all, check, installcheck, info, install-info,
2527 clean-info, dvi, install, etags, tags, mostlyclean, clean,
2528 distclean, maintainer-clean, realclean): Depend on corresponding
2529 `-subdir' target.
2530 (all-subdir check-subdir installcheck-subdir info-subdir
2531 install-info-subdir clean-info-subdir dvi-subdir
2532 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
2533 distclean-subdir maintainer-clean-subdir): New target.
2534 * testsuite/Makefile.in: New file.
2535 * configure: Rebuilt.
2536 * configure.in: Create testsuite/Makefile.
2537
25381999-04-02 Mark Mitchell <mark@codesourcery.com>
2539
2540 * splay-tree.h (splay_tree_compare_pointers): Define.
2541
25421999-03-30 Mark Mitchell <mark@codesourcery.com>
2543
2544 * splay-tree.c (splay_tree_compare_ints): Define.
2545
25461999-03-30 Tom Tromey <tromey@cygnus.com>
2547
2548 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
2549 don't advance input pointer.
2550 (demangle_class_name): If consume_count didn't find a count, do
2551 nothing. Don't bother with `strlen' sanity check; consume_count
2552 does it for us.
2553
25541999-03-16 Stan Shebs <shebs@andros.cygnus.com>
2555
2556 From Art Haas <ahaas@neosoft.com>:
2557 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
2558 when doing arm or hp style.
2559 (demangle_nested_args): Decr forgetting_types field when done.
2560
2561Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
2562
2563 * pexecute.c (__CYGWIN32__): Rename to
2564 (__CYGWIN__): this.
2565 * xmalloc.c: Likewise.
2566
2567 Changes to support i386-pc-uwin.
2568 * configure.in (*-*-uwin*): Workaround for vfork bug.
2569 * configure: Regenerate.
2570 * pexecute.c (pexecute): Be like standard Unix.
2571 (pwait): Likewise.
2572 * xmalloc.c (first_break): Define.
2573 (xmalloc_set_program_name): Use.
2574 (xmalloc): Use.
2575
2576Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2577
2578 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
2579
2580Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
2581
2582 * config.table: Check cygwin*, not cygwin32*.
2583
2584Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
2585
2586 * Makefile.in: Change mkstemp -> mkstemps.
2587
2588Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
2589
2590 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
2591 * configure.in (funcs): Check for and conditionally add mkstemps to
2592 the list of functions libiberty will provide.
2593 * configure: Rebuilt.
2594
2595Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
2596
2597 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
2598 platforms that don't have HZ.
2599 * getruntime.c (HZ): Likewise.
2600
2601Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
2602
2603 * Makefile.in (xstrdup.o): Depend on config.h.
2604
2605Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
2606
2607 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
2608 freeing it.
2609
2610Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2611
2612 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
2613
2614Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2615
2616 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
2617 splay-tree.o.
2618
26191999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
2620
2621 * configure.in: Require autoconf 2.12.1 or higher.
2622
26231998-12-30 Michael Meissner <meissner@cygnus.com>
2624
2625 * random.c (NULL): Don't redefine NULL if it is already defined.
2626
2627Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2628
2629 * argv.c (buildargv): Cast the result of alloca in assignment.
2630
2631 * choose-temp.c: Include stdlib.h.
2632
2633 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
2634 (snarf_numeric_literal): Constify first parameter.
2635 (code_for_qualifier): Avoid a gcc extension, make the parameter an
2636 int, not a char.
2637 (demangle_qualifier): Likewise.
2638 (demangle_signature): Cast the argument of a ctype function to
2639 unsigned char.
2640 (arm_pt): Add parens around assignment used as truth value.
2641 (demangle_arm_hp_template): Constify variable `args'.
2642 (do_hpacc_template_const_value): Cast the argument of a ctype
2643 function to unsigned char.
2644 (do_hpacc_template_literal): Remove unused variable `i'.
2645 (snarf_numeric_literal): Constify parameter `args'.
2646 Cast the argument of a ctype function to unsigned char.
2647
2648 * floatformat.c (floatformat_to_double): Add explicit braces to
2649 avoid ambiguous `else'.
2650
2651 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
2652 `cstart' and `cend' to unsigned char. Cast the argument of macro
2653 `FOLD', which uses ctype functions, to unsigned char.
2654
2655 * objalloc.c (free): Add prototype.
2656
2657Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
2658
2659 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
2660
2661Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
2662
2663 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
2664 doesn't exist.
2665 (do_hpacc_template_literal): remove unused variable `i'.
2666
2667Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2668
2669 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
2670 bumping the pointer we read from. Also prepend these codes,
2671 as we do in other places.
2672
26731998-12-18 Nick Clifton <nickc@cygnus.com>
2674
2675 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
2676 'const char *' in order to match its usage when calling siblings.
2677 (snarf_numeric_literal): Make first arg 'const char **' in order
2678 to match usage.
2679
2680Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2681
2682 * choose-temp.c: Don't check IN_GCC anymore.
2683
2684 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
2685 * memchr.c (memchr): Likewise.
2686 * memcpy.c (memcpy): Likewise.
2687 * memmove.c (memmove): Likewise.
2688
2689 * mkstemp.c: Don't check IN_GCC anymore.
2690 * pexecute.c: Likewise.
2691 * splay-tree.c: Likewise.
2692
2693 * strchr.c (strchr): Use `const', not `CONST'.
2694 * strrchr.c (strrchr): Likewise.
2695 * strtol.c (strtol): Likewise.
2696 * strtoul.c (strtoul): Likewise.
2697
2698Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
2699 Elena Zannoni <ezannoni@cygnus.com>
2700 Stan Shebs <shebs@cygnus.com>
2701 Edith Epstein <eepstein@cygnus.com>
2702 Andres MacLeod <amacleod@cygnus.com>
2703 Satish Pai <pai@apollo.hp.com>
2704
2705 * HP aCC demangling support.
2706 * cplus-dem.c
2707 (main): Remove default to HP style demangling, set to EDG
2708 demangling correctly when -edg specified; set the demangling style
2709 when user specifies 'edg'. Set strip_underscore to
2710 prepends_underscore, if not HPUXHPPA. Set
2711 current_demangling_style to hp_demangling if HPUXHPPA. Set
2712 current demangling style correctly if the switch is hp. Read
2713 label correctly also in the HP style case.
2714 (work_stuff): add temp_start field; add field for volatile member
2715 function.
2716 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
2717 style for this case is the same as ARM.
2718 (demangle_args): handle EDG_DEMANGLING style; support HP style.
2719 (demangle_arm_hp_template): new function. (It was
2720 demangle_arm_pt.); check and set value of temp_start field in
2721 multiple places. Also, when ceching for end of template args,
2722 check to see if at end of static member of template class.
2723 (demangle_class): new local variable : save_class_name_end Don't
2724 include template args in string defining class.
2725 (demangle_class_name): use demangel_arm_hp_template.
2726 (demangle_function_name): handle case where demangling style is
2727 HP_DEMANGLING and currently point at an 'X' in the mangled name.
2728 Handle EDG_DEMANGLING style. Handle constructor and destructor
2729 ops for HP style.
2730 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
2731 styles. global destructor and constructor for HP style are same
2732 as for ARM style. Same for local variables.
2733 (demangle_qualified): handle EDG_DEMANGLING style.
2734 (demangle_signature): add case for volatile member function. For
2735 cases '1' - '9' : initialize the temp_start field to -1 and handle
2736 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
2737 and AUTO_DEMANGLING styles. If expecting a function and managed
2738 to demangle the funct args, then handle the LUCID_DEMANGLING,
2739 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
2740 class name after "Lnnn_ in HP style case. HP style too needs to
2741 forget types. _nnn is OK for HP style, so don't report failure.
2742 (do_hpacc_template_const_value): new function. Handle template's
2743 value param for HP/aCC.
2744 (do_hpacc_template_literal): new function. Handle a template's
2745 literal parameter for HP aCC.
2746 (recursively_demangle): new function
2747 (snarf_numeric_literal): new function.
2748 (usage): add 'edg' to the list of demangling styles; add hp switch
2749 to message.
2750
2751Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
2752
2753 * pexecute.c: Remove obsolete ifdefed cygwin code.
2754
2755Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2756
2757 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
2758 * cplus-dem.c: Likewise. Conform to libiberty.h.
2759 * pexecute.c: Likewise.
2760 * splay-tree.c: Likewise.
2761
27621998-11-25 Mike Stump <mrs@wrs.com>
2763
2764 * Makefile.in (splay-tree.o): Add config.h dependency.
2765
2766Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2767
2768 * configure.in: Use AC_PREREQ(2.12.1).
2769
27701998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
2771
2772 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
2773
2774Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
2775
2776 * mpw.c (mpw_access): Add missing parens.
2777
2778Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2779
2780 * configure.in: Call AC_HEADER_SYS_WAIT.
2781
2782 * pexecute.c: Include sys/wait.h when !IN_GCC.
2783
2784Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
2785
2786 * pexecute.c: revert back to checking old Cygwin
2787 preprocessor symbol until some time has passed.
2788
2789Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
2790
2791 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
2792 since it will now support similar constructs.
2793
2794Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2795
2796 * configure.in: Check for calloc.
2797
2798 * calloc.c: New file.
2799
2800 * xmalloc.c (xcalloc): New function.
2801
2802Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2803
2804 *cplus-dem.c (demangle_prefix): Use the last "__"
2805 in the mangled name when looking for the signature. This allows
2806 template names to begin with "__".
2807
28081998-11-08 Mark Mitchell <mark@markmitchell.com>
2809
2810 * cplus-dem.c (type_kind_t): Add tk_reference.
2811 (demangle_template_value_parm): Handle it.
2812 (do_type): Use it for references, instead of tk_pointer.
2813
2814 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
2815 not internal_cplus_demangle.
2816
2817Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2818
2819 * choose-temp.c: Don't include gansidecl.h.
2820 * mkstemp.c: Likewise.
2821 * pexecute.c: Likewise.
2822
2823Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
2824
2825 * configure.in: detect cygwin* instead of cygwin32*
2826 * configure: regenerate
2827
2828Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2829
2830 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
2831 whether to include config.h. Possibly include unistd.h in the
2832 !IN_GCC case. Define VFORK_STRING as a printable function call
2833 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
2834 defined, include vfork.h. If VMS is defined, define vfork()
2835 appropriately. Remove vfork check on USG, we're using autoconf.
2836 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
2837 locally what string to use.
2838
28391998-10-26 Mark Mitchell <mark@markmitchell.com>
2840
2841 * splay-tree.c: Tweak include directives to make sure declarations of
2842 xmalloc and free are available.
2843
28441998-10-25 Mark Mitchell <mark@markmitchell.com>
2845
2846 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
2847 anonymous namespaces.
2848
28491998-10-23 Mark Mitchell <mark@markmitchell.com>
2850
2851 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
2852 with type_quals.
2853 (TYPE_UNQUALIFIED): New macro.
2854 (TYPE_QUAL_CONST): Likewise.
2855 (TYPE_QUAL_VOLATILE): Likewise.
2856 (TYPE_QUAL_RESTRICT): Likewise.
2857 (code_for_qualifier): New function.
2858 (qualifier_string): Likewise.
2859 (demangle_qualifier): Likewise.
2860 (internal_cplus_demangle): Use them.
2861 (demangle_signature): Likewise.
2862 (demangle_template_value_parm): Likewise.
2863 (do_type): Likewise.
2864 (demangle_fund_type)): Likewise.
2865
2866Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2867
2868 * splay-tree.c (splay_tree_foreach_helper): Make definition static
2869 to match prototype.
2870
28711998-10-21 Mark Mitchell <mark@markmitchell.com>
2872
2873 * splay-tree.c: New file.
2874 * Makefile.in (CFILES): Add it.
2875 (REQUIRED_OFILES): Likewise.
2876 (splay-tree.o): Add dependencies.
2877
2878Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2879
2880 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
2881 range of 'K' index.
2882
2883Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2884
2885 * choose-temp.c: Prototype mkstemps() when IN_GCC.
2886
2887 * cplus-dem.c (consume_count): Cast argument of ctype macro to
2888 `unsigned char'.
2889 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
2890 comparing against one.
2891 (cplus_mangle_opname): Likewise.
2892 (demangle_integral_value): Cast argument of ctype macro to
2893 `unsigned char'.
2894 (demangle_template_value_parm): Likewise.
2895 (demangle_template): Initialize variable `bindex'. Cast the
2896 result of `strlen' to (int) when comparing against one. Remove
2897 unused variable `start_of_value_parm'.
2898 (demangle_class_name): Cast the result of `strlen' to (int) when
2899 comparing against one.
2900 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
2901 (gnu_special): Likewise. Cast the result of `strlen' to (int)
2902 when comparing against one.
2903 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
2904 (get_count): Likewise.
2905 (do_type): Likewise. Cast the result of `strlen' to (int) when
2906 comparing against one.
2907 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
2908 (demangle_function_name): Cast the result of `strlen' to (int)
2909 when comparing against one.
2910
2911 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
2912 comparing against one.
2913
2914Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
2915
2916 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
2917 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
2918 * config.in, configure: Rebuilt.
2919
2920 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
2921 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
2922 * config.in, configure: Rebuilt.
2923
2924Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
2925
2926 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
2927
2928Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
2929
2930 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
2931
2932Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
2933
2934 * Merge egcs & devo libiberty.
2935