* floatformat.h (floatformat_is_valid): Add prototype.
[deliverable/binutils-gdb.git] / libiberty / ChangeLog
... / ...
CommitLineData
12003-09-06 Josef Zlomek <zlomekj@suse.cz>
2
3 * fibheap.c (fibheap_replace_key_data): Change type of OKEY to
4 FIBHEAPKEY_T.
5
62003-09-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7
8 PR bootstrap/12100
9 * aclocal.m4 (AC_LANG_FUNC_LINK_TRY): Define.
10 * configure: Rebuilt.
11
122003-08-27 Daniel Jacobowitz <drow@mvista.com>
13
14 * aclocal.m4: Include acx.m4 and no-executables.m4.
15 (libiberty_AC_FUNC_STRNCMP): Use AC_LIBOBJ.
16 (LIB_AC_PROG_CC): Remove.
17 * configure.in: Update AC_PREREQ to 2.57. Use GCC_NO_EXECUTABLES.
18 Use AC_PROG_CC and set ac_libiberty_warn_cflags instead of using
19 LIB_AC_PROG_CC. Use AC_LIBOBJ. Call AC_ISC_POSIX later, only if
20 performing link tests.
21 * configure: Regenerated.
22
232003-08-12 Nathanael Nerode <neroden@gcc.gnu.org>
24
25 * cp-demangle.c: Clarify what package(s) this is part of.
26
272003-07-05 Danny Smith <dannysmith@users.sourceforge.net>
28
29 * pex-win32.c (pexecute): Mark parameters this_pname and
30 temp_base as unused. Remove unused variables retries,
31 sleep_interval. Initialize org_stdin, org_stdout.
32 (pwait): Mark parameter flags as unused.
33
342003-07-02 Danny Smith <dannysmith@users.sourceforge.net>
35
36 * pex-win32.c (fix_argv): Ensure that the executable pathname
37 uses Win32 backslashes.
38 (pexecute): Cast away constness when assigning *errmsg_arg.
39
402003-06-26 H.J. Lu <hongjiu.lu@intel.com>
41
42 * testsuite/demangle-expected: Add more GNU V3 testcases.
43
442003-06-22 Zack Weinberg <zack@codesourcery.com>
45
46 * safe-ctype.c: Use HOST_CHARSET_ASCII and HOST_CHARSET_EBCDIC,
47 not HC_ASCII and HC_EBCDIC.
48 Add documentation in form expected by gather-docs.
49 * hex.c: Use HOST_CHARSET, not hand-coded check of character set.
50 * Makefile.in, functions.texi: Regenerate.
51
522003-06-21 Zack Weinberg <zack@codesourcery.com>
53
54 * safe-ctype.c: Separate out EOF==-1 check. Use HOST_CHARSET
55 for charset determination.
56
572003-06-19 Dara Hazeghi <dhazeghi@yahoo.com>
58
59 * configure.in: Add check for malloc.h needed by
60 m68k for function free().
61 * configure: Regenerated.
62 * config.in: Add HAVE_MALLOC_H.
63 * hashtab.c: include malloc.h were available for
64 free().
65
662003-06-09 Albert Chin-A-Young <china@thewrittenword.com>
67
68 PR bootstrap/10974
69 * physmem.c: Update comment.
70 * configure.in: Modify test for _system_configuration for older
71 AIX systems.
72
73 * config.in, configure: Regenerated.
74
752003-06-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
76
77 PR other/10810
78 * test-demangle.c (getline): Fix fence-post error.
79
802003-06-03 Nick Clifton <nickc@redhat.com>
81
82 * asprintf.c: Change comment to note that -1 is returned upon
83 error.
84 * vasprintf.c: Likewise.
85 (vasprintf): Return -1 upon error.
86 * functions.texi: Document changes to asprintf and vasprintf.
87
882003-05-19 Kelley Cook <kelleycook@wideopenwest.com>
89
90 * config.table: Accept i[345867]86 variant.
91
922003-05-15 Jim Blandy <jimb@redhat.com>
93
94 * hex.c (_hex_value): Make this unsigned.
95 (hex_value): Update documentation for new return type. hex_value
96 now expands to an unsigned int expression, to avoid unexpected
97 sign extension when we store it in a bfd_vma, which is larger than
98 int on some platforms.
99 * functions.texi: Regenerated.
100
1012003-05-07 Josef Zlomek <zlomekj@suse.cz>
102
103 * splay-tree.c (splay_tree_predecessor): Fix comment.
104 (splay_tree_successor): Fix comment.
105
1062003-05-07 Jason Merrill <jason@redhat.com>
107
108 * hashtab.c (iterative_hash): New fn.
109 * configure.in: Add AC_C_BIGENDIAN_CROSS.
110 * aclocal.m4: Include accross.m4.
111 * configure, config.in: Regenerate.
112
1132003-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
114
115 * configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
116 * configure: Regenerate.
117
1182003-05-03 Carlo Wood <carlo@alinoe.com>
119
120 * cp-demangle.c: Fix typo in "char_traints" string-literal.
121
1222003-04-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
123
124 * vsnprintf.c (vsnprintf): Don't pad string with extra nulls.
125 (main): Test that we don't write too much data.
126
1272003-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
128
129 * configure.in (funcs, AC_CHECK_FUNCS): Add snprintf and
130 vsnprintf.
131 * snprintf.c, vsnprintf.c: New files.
132 * Makefile.in (CFILES): Add snprintf.c and vsnprintf.c.
133 (CONFIGURED_OFILES): Add snprintf.o and vsnprintf.o.
134 Regenerate dependencies.
135
136 * functions.texi, configure, config.in: Regenerated.
137
1382003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
139
140 * mempcpy.c, stpcpy.c, stpncpy.c: New files.
141 * configure.in (funcs, AC_CHECK_FUNCS): Add mempcpy, stpcpy
142 and stpncpy.
143 * Makefile.in (CFILES): Add mempcpy.c, stpcpy.c and stpncpy.c.
144 (CONFIGURED_OFILES): Add mempcpy.o, stpcpy.o and stpncpy.o.
145 Regenerate dependencies.
146
147 * functions.texi, configure, config.in: Regenerated.
148
1492003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
150
151 * argv.c: Fix comments.
152 * calloc.c: Don't unnecessarily include "libiberty.h".
153 (bzero): Add prototype.
154 * floatformat.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
155 * getcwd.c (getcwd): Use standard definition to avoid conflicts
156 with system headers.
157 * hashtab.c (htab_traverse): Delete unused variables.
158 * rename.c: Include "ansidecl.h".
159 (rename): Use standard definition to avoid conflicts with system
160 headers.
161 * strsignal.c: Rely on ANSI_PROTOTYPES.
162 * strstr.c: Check GNUC >= 2, not GNUC == 2.
163 * vfprintf.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
164 * vprintf.c: Include "ansidecl.h" earlier, rely on
165 ANSI_PROTOTYPES.
166 * vsprintf.c: Include "ansidecl.h" earlier, rely on
167 ANSI_PROTOTYPES and possibly include <stdarg.h>.
168
169 * Makefile.in: Regenerate dependencies.
170
1712003-04-15 DJ Delorie <dj@redhat.com>
172
173 * maint-tool (deps): Scan for headers in $srcdir also.
174
1752003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
176
177 PR target/10338
178 PR bootstrap/10198
179 PR bootstrap/10140
180 * getopt.c (exchange, _getopt_initialize): Use mempcpy not
181 __mempcpy.
182 * regex.c (regerror): Likewise.
183
1842003-04-14 Roger Sayle <roger@eyesopen.com>
185
186 * argv.c: Use ANSI_PROTOTYPES instead of __STDC__.
187 * memchr.c: Likewise.
188 * strcasecmp.c: Likewise.
189 * strncasecmp.c: Likewise.
190 * strncmp.c: Likewise.
191 * xatexit.c: Likewise.
192 * xmalloc.c: Likewise.
193
194 * copysign.c: Use traditional function declaration instead of DEFUN.
195 * sigsetmask.c: Likewise.
196
197 * memcmp.c: Both of the above, ANSI_PROTOTYPES and DEFUN.
198 * memset.c: Likewise.
199
200 * memcpy.c: ANSI_PROTOTYPES, DEFUN and prototype bcopy.
201 * memmove.c: Likewise.
202
2032003-04-14 Roger Sayle <roger@eyesopen.com>
204
205 * strdup.c (strdup): Tweak implementation to use memcpy.
206
2072003-04-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
208
209 * configure.in (HAVE_UINTPTR_T): Always define.
210 * configure: Regenerated.
211
2122003-03-23 Alexandre Oliva <aoliva@redhat.com>
213
214 * Makefile.in (MULTIOSDIR): New macro. Use $(CC) $(LIBCFLAGS)
215 instead of $$CC alone.
216 (install_to_tooldir): Use it.
217
2182003-17-03 Jan Hubicka <jh@suse.cz>
219
220 * hashtab.c (htab_traverse_noresize): Break out from ...
221 * hashtab.c (htab_traverse): ... here.
222
2232003-12-03 Jan Hubicka <jh@suse.cz>
224
225 * hashtab.c (htab_expand): Fix warning.
226
227 * hashtab.c (htab_expand): Compute the size of hashtable based
228 on the number of elements actually used.
229 (htab_traverse): Call htab_expand when table is too empty.
230
2312003-03-11 Carlo Wood <carlo@gnu.org>
232
233 * cplus-dem.c (demangle_integral_value): Correction to reflect
234 patch of 2002-01-10 in order to also make negative multi-digits
235 without leading underscore work.
236
2372003-03-03 Mark Mitchell <mark@codesourcery.com>
238
239 * cplus-dem.c: Add license exception to copyright notice.
240
2412003-02-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
242
243 * physmem.c: Formatting changes from upstream.
244
2452003-02-24 Danny Smith <dannysmith@users.source.forge.net>
246
247 * physmem.c (physmem_total): Add _WIN32 support.
248 (physmem_available): Likewise.
249
2502003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
251
252 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
253 GSI_PHYSMEM.
254 (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS.
255
2562003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
257
258 * configure.in: Check for sys/systemcfg.h and
259 _system_configuration.
260 * physmem.c: Add support for AIX. Tweek formatting as per
261 upstream coreutils beta.
262
2632003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
264 Richard Earnshaw <rearnsha@arm.com>
265 Geoffrey Keating <geoffk@apple.com>
266
267 * configure.in: Check for sys/sysctl.h and sysctl.
268 * physmem.c: Add support for *bsd and darwin.
269 * Makefile.in: Generate depedency for physmem.o.
270
2712003-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
272
273 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on
274 Tru64 UNIX.
275 (physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on
276 Tru64 UNIX.
277
278 * configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h,
279 machine/hal_sysinfo.h, sys/table.h.
280 (checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table.
281 * configure, config.in: Regenerate.
282
2832003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
284
285 * configure.in: Check for sys/sysmp.h and sysmp.
286 * physmem.c: Pull upstream copy, add support for irix6.
287
288 * config.in, configure: Regenerated.
289
2902003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
291
292 * physmem.c (physmem_total, physmem_available): De-ANSI-fy.
293 * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and
294 pstat_getdynamic.
295
2962003-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
297
298 * Makefile.in (CFILES): Add physmem.c.
299 (REQUIRED_OFILES): Add physmem.o.
300 * configure.in: Check for sys/pstat.h.
301 (checkfuncs): Add pstat_getstatic and pstat_getdynamic.
302 * physmem.c: New file, copied from textutils.
303
304 * config.in, configure: Regenerated.
305
3062003-02-20 Daniel Jacobowitz <drow@mvista.com>
307
308 * Makefile.in (CFILES): Add lrealpath.c.
309 (REQUIRED_OFILES): Add lrealpath.o.
310 (lrealpath.o): Add rule.
311 * aclocal.m4 (libiberty_NEED_DECLARATION): Add.
312 * configure.in: Add realpath and canonicalize_file_name to
313 checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION
314 for canonicalize_file_name.
315 * lrealpath.c: New file.
316 * make-relative-prefix.c: Update documentation.
317 (make_relative_prefix): Simplify. Use lbasename and lrealpath.
318 * config.in: Regenerated.
319 * configure: Regenerated.
320 * functions.texi: Regenerated.
321
3222003-02-20 jmc <jmc@prioris.mini.pw.edu.pl>
323
324 * cplus_dem.c: Fix typo: intializes -> initializes.
325
3262003-02-20 Alexandre Oliva <aoliva@redhat.com>
327
328 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
329 config.status.
330 * configure: Rebuilt.
331
3322003-02-13 Daniel Jacobowitz <drow@mvista.com>
333
334 Fix PR c++/7612.
335 * cplus-dem.c (demangle_signature): Call string_delete.
336 Remove extra string_init.
337 (demangle_arm_hp_template): Call string_delete instead of
338 string_clear. Add missing string_delete call.
339 (demangle_qualified): Add missing string_delete call.
340 (do_type): Remove unused variable btype. Add missing string_delete
341 call. Call string_delete instead of string_clear.
342 (demangle_fund_type): Move variable btype inside of the switch
343 statement. Add missing string_delete call.
344 (do_arg): Call string_delete instead of string_clear. Remove extra
345 string_init.
346 (demangle_nested_args): Free work->previous_argument.
347
3482003-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
349
350 * acconfig.h: New file. Add uintptr_t.
351 * config.in: Regenerated.
352
3532003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
354
355 * libiberty.texi: Update to GFDL 1.2.
356
3572003-01-30 Christian Cornelssen <ccorn@cs.tu-berlin.de>
358
359 * Makefile.in (libiberty_topdir): New subst.
360 (mkinstalldirs): Redefine in terms of the above.
361 * configure.in: AC_SUBST it.
362 * configure: Regenerate.
363
3642003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de>
365
366 * Makefile.in (all-subdir, check-subdir, installcheck-subdir)
367 (info-subdir, install-info-subdir, clean-info-subdir)
368 (dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
369 (clean-subdir, distclean-subdir, maintainer-clean-subdir):
370 Pass $(FLAGS_TO_PASS).
371
3722003-01-27 Alexandre Oliva <aoliva@redhat.com>
373
374 * Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
375 /`$$CC -print-multi-os-directory`.
376
3772003-01-26 Daniel Jacobowitz <drow@mvista.com>
378
379 * hashtab.c (htab_create_alloc_ex): New function.
380 (hatab_set_functions_ex): New function.
381 (htab_delete, htab_expand): Support alternate allocation functions.
382
3832003-01-24 Christopher Faylor <cgf@redhat.com>
384
385 * configure.in: Remove special pex-cygwin consideration.
386 * configure: Regenerate.
387 * pex-cygwin.c: Remove.
388 * Makefile.in: Remove pex-cygwin.[co] lines.
389
3902003-01-24 Zack Weinberg <zack@codesourcery.com>
391
392 * Makefile.in (CFILES): Add pex-*.c.
393 (REQUIRED_OFILES): Change pexecute.o to @pexecute@
394 (CONFIGURED_OFILES): Add pex-*.o.
395 (TEXIFILES): Add pexecute.txh.
396 (pexecute.o): Delete rule.
397 (pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o,
398 pex-unix.o, pex-win32.o): New rules.
399 * configure.in: Change AC_INIT argument to xmalloc.c.
400 Compute appropriate pexecute implementation and substitute it
401 as @pexecute@.
402
403 * pexecute.c: Split up into...
404 * pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c,
405 pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these
406 new files.
407
408 * functions.texi: Regenerate.
409 * configure: Regenerate.
410
4112003-01-20 Josef Zlomek <zlomekj@suse.cz>
412
413 * hashtab.c (htab_expand): Fix allocation of new entries.
414
4152003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
416
417 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
418
419 * Makefile.in (install_to_libdir, install_to_tooldir): Add a
420 mkinstalldirs command.
421
4222002-12-04 Danny Smith <dannysmith@users.sourceforge.net>
423
424 * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
425 Define for hosts with HOST_EXECUTABLE_SUFFIX.
426
4272002-11-24 Nick Clifton <nickc@redhat.com>
428
429 * make-relative-prefix.c (make_relative_prefix): Ensure return
430 string is empty before using strcat to construct it.
431
4322002-11-22 Daniel Jacobowitz <drow@mvista.com>
433
434 * Makefile.in: Add make-relative-prefix.c.
435 * make-relative-prefix.c: New file.
436 * functions.texi: Rebuilt.
437
4382002-11-16 Jakub Jelinek <jakub@redhat.com>
439
440 * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
441 used with arguments in traditional C' warnings.
442
4432002-10-16 Jakub Jelinek <jakub@redhat.com>
444
445 * config.table: Use mh-s390pic for s390x too.
446
4472002-10-06 Andreas Jaeger <aj@suse.de>
448
449 * libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded
450 variable and of strict-aliasing warning.
451 (grow_vect): Use char as first parameter.
452
4532002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
454
455 * Makefile.in (all): Fix multilib parallel build.
456
4572002-09-19 John David Anglin <dave@hiuly1.hia.nrc.ca>
458
459 * cp-demangle.c (demangling_new): Cast 0 to enum.
460 (demangle_char): Cast return of strdup to char *.
461 (is_gnu_v3_mangled_ctor): Cast 0 to enum.
462 (is_gnu_v3_mangled_dtor): Likewise.
463 * cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
464 (work_stuff_copy_to_from): Cast return of xmalloc to char **.
465 * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
466 * md5.c (md5_process_bytes): Cast results back to const void *.
467 (md5_process_block): Add cast to const md5_uint32 *.
468 * regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
469 * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
470 unsigned short.
471 * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
472 to void *.
473 * vasprintf.c (int_vasprintf): Cast return of malloc to char *.
474
4752002-09-19 Nick Clifton <nickc@redhat.com>
476
477 * README: Update email addresses for bugs and patches.
478
4792002-09-10 Mike Stump <mrs@apple.com>
480
481 * splay-tree.c (splay_tree_successor): Fix comments.
482
4832002-09-11 Zack Weinberg <zack@codesourcery.com>
484
485 * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
486 * testsuite/Makefile.in: Adjust for test-demangle.
487 * testsuite/regress-demangle: Deleted.
488 * testsuite/test-demangle.c: New file.
489 * testsuite/demangle-expected: Change \$ to $ throughout, now that
490 this file is not being read by a shell script.
491
4922002-09-05 Roger Sayle <roger@eyesopen.com>
493
494 * regex.c: Only use "#pragma alloca" on AIX when not using gcc.
495
4962002-08-07 DJ Delorie <dj@redhat.com>
497
498 * regex.c (re_error_msgid): Just use a simple array of strings.
499 (re_compile_pattern): Compensate.
500 (re_comp): Likewise.
501 (re_comp): Likewise.
502 (regerror): Likewise.
503
5042002-07-29 Neil Booth <neil@daikokuya.co.uk>
505
506 * cplus-dem.c (PREPEND_BLANK): Remove.
507
5082002-07-10 Jason Merrill <jason@redhat.com>
509
510 * cp-demangle.c (demangle_identifier): Support extended Unicode
511 characters.
512
5132002-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
514
515 * cp-demangle.c (demangle_v3_with_details): Wrap in
516 !defined IN_GLIBCPP_V3.
517
5182002-07-01 Mark Mitchell <mark@codesourcery.com>
519
520 * cp-demangle.c (demangle_operator_name): Add type_arg parameter.
521 Set it for the "st" operator.
522 (demangle_expression): Handle expressions with types as arguments.
523
5242002-06-30 Douglas Rupp <rupp@gnat.com>
525
526 * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
527 * Makefile.in (OUTPUT_OPTION): Use.
528
5292002-06-22 Peter Breitenlohner <peb@mppmu.mpg.de>
530
531 * Makefile.in (install_to_libdir): Add $(DESTDIR).
532 (install_to_tooldir): Likewise.
533
5342002-06-17 Douglas Rupp <rupp@gnat.com>
535
536 * lbasename.c: Add 2002 to copyright.
537 (IS_DIR_SEPARATOR): Remove VMS junk.
538
5392002-06-05 Geoffrey Keating <geoffk@redhat.com>
540
541 * hashtab.c (htab_create): New stub function for backward
542 compatibility.
543 (htab_try_create): Likewise.
544
5452002-06-03 Geoffrey Keating <geoffk@redhat.com>
546
547 * hashtab.c (htab_create): Delete.
548 (htab_try_create): Delete.
549 (htab_create_alloc): New.
550 (htab_delete): Support user-specified memory allocation.
551 (htab_expand): Likewise.
552
5532002-05-22 Roman Lechtchinsky <rl@cs.tu-berlin.de>
554
555 * configure.in: Fix typo in the code checking for sys_errlist.
556 * configure: Regenerated.
557
5582002-05-13 Andreas Schwab <schwab@suse.de>
559
560 * config.table: Use mh-x86pic also for x86-64.
561
5622002-05-08 Alexandre Oliva <aoliva@redhat.com>
563
564 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
565 script entry, and set LD to it when configuring multilibs.
566 * configure: Rebuilt.
567
5682002-05-07 Mark Mitchell <mark@codesourcery.com>
569
570 * configure.in (AC_TYPE_PID_T): Use it.
571 * configure: Regenerated.
572 * getruntime.c: Include <sys/types.h>.
573 * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid".
574
5752002-04-09 Richard Henderson <rth@redhat.com>
576
577 * hashtab.c (higher_prime_number): Use 7 as minimum.
578 (find_empty_slot_for_expand): Don't compute hash2 unless needed.
579 (htab_find_slot_with_hash): Likewise.
580
5812002-04-01 Phil Edwards <pme@gcc.gnu.org>
582
583 * cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
584 (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally
585 not compile if IN_GLIBCPP_V3 defined.
586 * dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme.
587
5882002-03-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
589
590 * cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
591 if it is NULL.
592
5932002-03-27 DJ Delorie <dj@redhat.com>
594
595 * hex.c: Add documentation.
596 (_hex_value): Provide non-ASCII empty table.
597 (hex_init): Initialize the non-ASCII table.
598 * functions.texi: Regenerate.
599
6002002-03-27 Mark Mitchell <mark@codesourcery.com>
601
602 * dyn-string.c: Add libgcc exception to copyright notice.
603
6042002-03-26 H.J. Lu (hjl@gnu.org)
605
606 * config.table: Support --with-build-subdir.
607 * configure.in: Likewise.
608 * configure: Rebuild.
609
6102002-03-18 Stuart Griffith <Stuart_Griffith@credence.com>
611
612 * strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
613 seen.
614
6152002-03-12 Mark Mitchell <mark@codesourcery.com>
616
617 * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
618 notice.
619
6202002-03-11 Douglas B Rupp <rupp@gnat.com>
621
622 * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
623
6242002-03-06 Jim Blandy <jimb@redhat.com>
625
626 * splay-tree.c (splay_tree_xmalloc_allocate,
627 splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
628 prototyped definitions. Mark `data' arguments as unused.
629
6302002-03-06 Andrew Cagney <ac131313@redhat.com>
631
632 * floatformat.c (floatformat_arm_ext_big): Delete definition.
633
6342002-03-04 Phil Edwards <pme@gcc.gnu.org>
635
636 * configure.in: Add --enable-install-libiberty option.
637 * Makefile.in (INSTALLED_HEADERS): New variable.
638 (install_to_libdir): Possibly also copy headers.
639 * configure: Regenerated.
640
6412002-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
642
643 * xmalloc.c (xmalloc_fail): Clarify error message further.
644
6452002-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
646
647 * xmalloc.c (xmalloc_fail): Clarify error message.
648
6492002-02-22 Jim Blandy <jimb@redhat.com>
650
651 * splay-tree.c (splay_tree_xmalloc_allocate,
652 splay_tree_xmalloc_deallocate): New functions.
653 (splay_tree_new): Call splay_tree_new_with_allocator, passing the
654 above functions and a dummy data pointer.
655 (splay_tree_new_with_allocator): New function.
656 (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
657 splay_tree_remove): Use the splay tree's allocation and
658 deallocation functions.
659
6602002-02-19 Scott Snyder <snyder@fnal.gov>
661
662 * testsuite/demangle-expected: Add test case for infinite loop in
663 demangler.
664 * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
665 if do_type() doesn't make any progress --- prevents an infinite
666 loop.
667
6682002-02-18 Carlo Wood <carlo@gnu.org>
669
670 PR c++/5390
671 * cplus-dem.c (demangle_integral_value): Accept multi-digit
672 numbers that do not start with an underscore; This is needed
673 for integer template parameters. This doesn't break anything
674 because multi-digit numbers are never followed by a digit.
675 * testsuite/demangle-expected: Corrected all mangled test
676 cases with multi-digit template parameters: g++ 2.95.x does
677 not generate underscores around these parameters.
678
6792002-02-05 Jason Merrill <jason@redhat.com>
680
681 * cplus-dem.c (flags): Add DMGL_VERBOSE
682 (cplus_demangle_v3_p): Remove.
683 (demangle_it): Add DMGL_TYPES to passed flags.
684 * cp-demangle.c (cplus_demangle_v3_all): Remove.
685 (cplus_demangle_v3_type): Remove.
686 (cplus_demangle_v3): Add options parm.
687
6882002-02-02 H.J. Lu (hjl@gnu.org)
689
690 * cp-demangle.c (cp_demangle_type): Do not protect with
691 IN_LIBGCC2.
692 (cplus_demangle_v3_all): New.
693 (cplus_demangle_v3): Call cplus_demangle_v3_all.
694 (cplus_demangle_v3_type): Call cplus_demangle_v3_all.
695
696 * cplus-dem.c (cplus_demangle_v3_p): New function pointer.
697 Initialized to cplus_demangle_v3.
698 (cplus_demangle_with_style): Call cplus_demangle_v3_p instead
699 of cplus_demangle_v3.
700 (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
701 command line symbol.
702
703 * testsuite/regress-demangle: Pass the mangled name at the
704 command line.
705
7062002-02-01 H.J. Lu <hjl@gnu.org>
707
708 * cp-demangle.c (cp_demangle_type): Call demangling_new with
709 DMGL_GNU_V3.
710
7112002-01-31 Phil Edwards <pme@gcc.gnu.org>
712
713 * cp-demangle.c: Revert yesterday's change.
714
7152002-01-31 Adam Megacz <adam@xwt.org>
716
717 * gcc/libiberty/configure.in: Treat mingw the same as cywin
718 wrt HAVE_SYS_ERRLIST.
719
7202002-01-30 Phil Edwards <pme@gcc.gnu.org>
721
722 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
723 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on
724 cp_demangle_type.
725 * testsuite/demangle-expected: New gnu-v3 test.
726
7272002-01-22 Momchil Velikov <velco@fadata.bg>
728
729 * configure.in (variable detection): Use arrays of unspecified
730 size instead of plain integers.
731
7322002-01-18 DJ Delorie <dj@redhat.com>
733
734 * Makefile.in (TESTLIB): New. This library is for future
735 testsuites.
736 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
737 break down by letter.
738 (REQUIRED_OFILES): List long-to-compile files first.
739 (maint-deps): New, target for updating dependencies.
740 (dependencies): Update.
741 * maint-tool: Add dependency-generating option.
742 * configure.in: Check for _doprnt even if we're not providing it.
743 * configure: Regenerate.
744
745 * _doprnt.c: Modifications to allow compiling on any platform.
746 * copysign.c: Likewise.
747 * putenv.c: Likewise.
748 * setenv.c: Likewise.
749 * vsprintf.c: Likewise.
750
7512002-01-15 Douglas B Rupp <rupp@gnat.com>
752
753 * mkstemps.c (mkstemps): On VMS, open temp file with option
754 that causes it to be deleted when closed.
755
7562002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
757
758 * cp-demangle.c (long_options): Const-ify.
759 * cplus-dem.c (long_options): Likewise.
760
761 * cplus-dem.c (mystrstr): Delete. All callers changed to use
762 strstr instead.
763
7642001-12-31 Ira Ruben <ira@apple.com>
765
766 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
767 * configure: Regenerated.
768
7692001-12-24 Douglas B. Rupp <rupp@gnat.com>
770
771 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
772 * configure: Regenerated.
773
7742001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
775
776 PR other/2719
777 * cplus-dem.c (consume_count): Treat negative count as an error.
778 * testsuite/demangle-expected: Added testcase.
779
780Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
781
782 * configure.in: Hardcode that vfork works on VMS host.
783 * configure: Regenerated.
784
7852001-12-06 Richard Henderson <rth@redhat.com>
786
787 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
788 (cplus_demangle): Support no_demangling.
789
7902001-11-27 Zack Weinberg <zack@codesourcery.com>
791
792 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
793 in libiberty context. Fix typo in leading comment.
794 * configure.in: Fix various AC_DEFINEs so autoheader works.
795 If any of vprintf, vsprintf, vfprintf is missing from libc,
796 then AC_REPLACE_FUNCS(_doprnt).
797
7982001-11-26 DJ Delorie <dj@redhat.com>
799 Daniel Jacobowitz <drow@mvista.com>
800
801 * Makefile.in (stamp-h): Depend on Makefile for proper
802 serialization.
803 (*-subdir): Depend on config.h for proper serialization.
804
8052001-11-26 DJ Delorie <dj@redhat.com>
806
807 * configure.in: Check for alloca.h (for regex.c and putenv.c).
808 * configure: Regenerate.
809 * config.h: Add HAVE_ALLOCA_H.
810
8112001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
812
813 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
814 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
815 is available.
816
817Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
818
819 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
820 * configure.in (HAVE_UINTPTR_T): Test for system defining
821 uintptr_t and define HAVE_UINTPTR_T appropriately.
822 * regex.c (uintptr_t): Do not provide a definition if the
823 system provided one.
824
825 * regex.c (PREFIX): Provide an alternate definition for
826 non-ANSI/ISO compilers.
827 (ARG_PREFIX): Likewise.
828
8292001-11-12 Jim Meyering <meyering@lucent.com>
830
831 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
832 this code would end up calling gettext even in packages built
833 with --disable-nls.
834 * getopt.c (_): Likewise.
835 * regex.c (_): Likewise.
836
8372001-11-03 Alan Modra <amodra@bigpond.net.au>
838
839 * configure.in: Cope with missing makeinfo.
840 * configure: Regenerate.
841
8422001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
843
844 * hex.c (hex_init): Provide empty stub.
845
846 * hex.c (hex_init): Delete.
847 (_hex_value): Const-ify and initialize at compile-time.
848
8492001-10-19 H.J. Lu <hjl@gnu.org>
850
851 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
852 necessary.
853
8542001-10-17 DJ Delorie <dj@redhat.com>
855
856 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
857 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
858 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
859 Improve manual formatting.
860 * functions.texi: Regenerate.
861
8622001-10-15 DJ Delorie <dj@redhat.com>
863
864 * Makefile.in (TEXIFILES): Add fnmatch.txh.
865 (maint-undoc): New.
866 maint-tool: Add "undoc" tool.
867 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
868 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
869 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
870 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
871 documentation.
872 * fnmatch.txh: New.
873 * functions.texi: Regenerate.
874
8752001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
876
877 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
878 * strtod.c: Use "ISO C" instead of "ANSI C".
879 * functions.texi: Regenerate.
880
8812001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
882
883 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
884 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
885 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
886 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
887 spelling. Give names to function arguments in documentation. Use
888 (void) prototypes in documentation.
889 * functions.texi: Regenerate.
890
8912001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
892
893 * argv.c (buildargv, tests, main): Const-ify.
894 * cp-demangle.c (operator_code): Likewise.
895 * cplus-dem.c (optable, libiberty_demanglers,
896 cplus_demangle_set_style, cplus_demangle_name_to_style,
897 print_demangler_list): Likewise.
898 * hashtab.c (higher_prime_number): Likewise.
899 * strcasecmp.c (charmap): Likewise.
900 * strerror.c (error_info, strerror, main): Likewise.
901 * strncasecmp.c (charmap): Likewise.
902 * strsignal.c (signal_info): Likewise.
903
9042001-09-29 DJ Delorie <dj@redhat.com>
905
906 * configure: Regenerate.
907
9082001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
909
910 * concat.c: Include stdlib.h.
911
9122001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
913
914 * libiberty.texi: (Top level): Add syncodeindex pg. Add
915 @dircategory and @direntry directives. Add @finalout.
916 (many nodes): Lose the next,prev,up pointers on the @nide line.
917 (Using, Supplemental Functions, Replacement Functions): Fix
918 markup.
919 (Functions): Move around, to allow makeinfo to build the manual
920 without next,prev,up pointers in thye node lines.
921 (Licenses): Fix typos.
922
923 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
924 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
925 * functions.texi: Regenerate.
926
927 * copying-lib.texi: Lose the next,prev,up pointers on the @node
928 line.
929
9302001-09-27 DJ Delorie <dj@redhat.com>
931
932 * configure.in: Don't use in-tree texinfo, because libiberty must
933 be built before it. Check for makeinfo version 4 or higher.
934 * functions.texi: Regenerate.
935
9362001-09-20 DJ Delorie <dj@redhat.com>
937 Phil Edwards <pedwards@disaster.jaj.com>
938
939 * configure.in (MAKEINFO, PERL): Detect these.
940 (--enable-maintainer-mode): Add.
941 * configure: Regenerate.
942 * Makefile.in (MAKEINFO, PERL): Define.
943 (libiberty.info, libiberty.dvi, libiberty.html): New.
944 (CFILES): Add bsearch.c.
945 (CONFIGURED_OFILES): New, list of objects configure might add.
946 (maint-missing, maint-buildall): New, for maintainers only.
947 (clean, mostlyclean): Add info/dvi/html files.
948 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
949 * gather-docs: New, for maintainers.
950 * maint-tool: New, for maintainers.
951 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
952 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
953 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
954 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
955 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
956 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
957 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
958 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
959 documentation.
960
9612001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
962
963 * concat.c (reconcat): Fix for traditional C.
964
9652001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
966
967 * concat.c (reconcat): New function.
968
9692001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
970
971 * concat.c (vconcat_length, vconcat_copy, concat_length,
972 concat_copy, concat_copy2): New functions.
973 (concat): Use vconcat_length/vconcat_copy.
974
975 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
976 Define.
977
9782001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
979
980 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
981 VA_FIXEDARG & VA_CLOSE.
982
983 * vasprintf.c: Check HAVE_STRING_H when including string.h.
984 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
985 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
986
9872001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
988
989 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
990
9912001-08-23 Ulrich Drepper <drepper@redhat.com>
992
993 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
994
9952001-08-23 Ulrich Drepper <drepper@redhat.com>
996
997 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
998 instead of mbrtowc.
999 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
1000 wcslen, and __wcscoll instead of wcscoll.
1001
10022001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1003
1004 * fibheap.c (fibheap_init, fibnode_init): Remove.
1005 (fibheap_new, fibnode_new): Use xcalloc to allocate and
1006 initialize memory.
1007 (fibheap_insert): Remove check for node allocation failure.
1008
10092001-08-21 Richard Henderson <rth@redhat.com>
1010
1011 * Makefile.in (fibheap.o): Depend on config.h.
1012 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
1013 functions for inlining.
1014
1015Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
1016
1017 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
1018 hosting on cygwin.
1019 * configure: Regenerate.
1020
10212001-08-20 Andrew Cagney <ac131313@redhat.com>
1022
1023 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
1024 HARRIS_FLOAT_FORMAT.
1025 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
1026 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
1027 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
1028 (floatformat_m88110_harris_ext): New float formats.
1029
10302001-08-20 Daniel Berlin <dan@cgsoftware.com>
1031
1032 * fibheap.c: New file. Fibonacci heap.
1033
1034 * Makefile.in (CFILES): Add fibheap.c.
1035 (REQUIRED_OFILES): Add fibheap.o.
1036 (fibheap.o): Add dependencies for fibheap.o.
1037
10382001-08-17 Christopher Faylor <cgf@cygnus.com>
1039
1040 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
1041 * configure: Regenerate.
1042
10432001-08-16 Richard Henderson <rth@redhat.com>
1044
1045 * hashtab.c (htab_hash_string): New.
1046
10472001-08-13 Andrew Cagney <ac131313@redhat.com>
1048
1049 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
1050 name.
1051
10522001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
1053
1054 * regex.c (wcs_regex_compile): Use appropriate string
1055 to compare with collating element.
1056 Fix the padding for the alignment.
1057
10582001-08-10 Andrew Cagney <ac131313@redhat.com>
1059
1060 * lbasename.c (lbasename): Change function definition to return a
1061 const char pointer.
1062
10632001-08-07 Jason Merrill <jason_merrill@redhat.com>
1064
1065 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
1066 for".
1067
10682001-08-03 Richard Henderson <rth@redhat.com>
1069
1070 * Makefile.in (concat.o): Depend on config.h.
1071
10722001-07-30 Andreas Jaeger <aj@suse.de>
1073
1074 * concat.c: Include "config.h".
1075
10762001-07-30 Andreas Jaeger <aj@suse.de>
1077
1078 * regex.c: Declare wcs functions only if compiling with
1079 MBS_SUPPORT.
1080 Don't use #elif for traditional C.
1081
10822001-07-23 Ulrich Drepper <drepper@redhat.com>
1083
1084 * regex.c: Revamp memory allocation for WCHAR functions to
1085 not use too much stack.
1086
10872001-07-30 Andreas Jaeger <aj@suse.de>
1088
1089 * regex.c: Declare wcs functions only if compiling with
1090 MBS_SUPPORT.
1091 Don't use #elif for traditional C.
1092
10932001-07-25 Daniel Jacobowitz <drow@mvista.com>
1094
1095 * Makefile.in (regex.o): Add dependency on config.h.
1096
10972001-07-18 Andreas Schwab <schwab@suse.de>
1098
1099 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
1100 underscore character.
1101
11022001-07-18 Ulrich Drepper <drepper@redhat.com>
1103
1104 * regex.c: Limit string length printed in debug messages to 100
1105 chars.
1106
11072001-07-18 Andreas Jaeger <aj@suse.de>
1108
1109 * regex.c: Place under LGPL version 2.1.
1110
11112001-07-10 Jeff Johnston <jjohnstn@redhat.com>
1112
1113 * Makefile.in: Add support for regex code.
1114 * regex.c: New file.
1115
11162001-07-05 Mark Klein <mklein@dis.com>
1117
1118 * Makefile.in: Add ffs.c dependency.
1119 * configure.in: Add ffs.c.
1120 * ffs.c: New file.
1121
11222001-06-18 Richard Henderson <rth@redhat.com>
1123
1124 * concat.c: Include <sys/types.h>.
1125
11262001-06-11 Loren J. Rittle <ljrittle@acm.org>
1127
1128 bootstrap/3106
1129 * strerror.c (sys_nerr): Hide the OS header version.
1130 * strsignal.c (sys_nsig): Likewise.
1131
11322001-06-10 Richard Henderson <rth@redhat.com>
1133
1134 * concat.c: Include string.h. Fix int vs size_t usage.
1135 Simplify the iteration loops. Use memcpy.
1136
11372001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1138
1139 * partition.c: Fix misspelling of `implementation'.
1140
11412001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1142
1143 * md5.c (md5_init_ctx): Declare constants as unsigned.
1144 (md5_process_block): Likewise.
1145
11462001-05-07 Zack Weinberg <zackw@stanford.edu>
1147
1148 * cp-demangle.c (demangle_v3_with_details,
1149 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
1150 function definition.
1151 * ternary.c: Use K+R style function definitions. Use PTR, not
1152 void *. Make arguments constant where possible.
1153
11542001-05-07 Mark Mitchell <mark@codesourcery.com>
1155
1156 * splay-tree.h (splay_tree_max): New function.
1157 (splay_tree_min): Likewise.
1158
11592001-04-15 Daniel Berlin <dan@cgsoftware.com>
1160
1161 * ternary.c: New file - Ternary search tree implementation.
1162
1163 * Makefile.in: Add ternary.o, and ternary.c dependencies.
1164
11652001-04-03 Zack Weinberg <zackw@stanford.edu>
1166
1167 * make-temp-file.c (try): Inline.
1168
11692001-02-28 Richard Henderson <rth@redhat.com>
1170
1171 * Makefile.in (make-temp-file.o): Depend on config.h.
1172
11732001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1174
1175 * memchr.c (memchr): Adjust condition to avoid infinite loop.
1176
11772001-03-23 Jakub Jelinek <jakub@redhat.com>
1178
1179 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
1180 `_' not followed by a digit is invalid.
1181
11822001-03-22 Jim Blandy <jimb@redhat.com>
1183
1184 * cp-demangle.c (string_list_delete): Use dyn_string_delete
1185 instead of free, to free the contents as well as the string
1186 structure.
1187
11882001-03-21 Zack Weinberg <zackw@stanford.edu>
1189
1190 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
1191 Don't default P_tmpdir to anything. Try /var/tmp before
1192 /usr/tmp.
1193
11942001-03-20 Zack Weinberg <zackw@stanford.edu>
1195
1196 * choose-temp.c: Split off make_temp_file, and the code
1197 duplicated between it and choose_temp_base, into...
1198 * make-temp-file.c: ... here; new file.
1199
1200 * Makefile.in (CFILES): Add make-temp-file.c.
1201 (REQUIRED_OFILES): Add make-temp-file.o.
1202
12032001-03-20 Jim Blandy <jimb@redhat.com>
1204
1205 * cp-demangle.c (struct demangling_def): New fields:
1206 is_constructor and is_destructor.
1207 (demangling_new): Initialize them.
1208 (demangle_ctor_dtor_name): Set them, if we detect a constructor
1209 or destructor.
1210 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
1211 is_gnu_v3_mangled_dtor): New functions.
1212
12132001-03-20 Jason Merrill <jason@redhat.com>
1214
1215 * cplus-dem.c (main): Skip initial $.
1216
12172001-03-15 Michael Meissner <meissner@redhat.com>
1218
1219 * hashtab.c (higher_prime_number): Silence warning that 4294967291
1220 might be a signed integer under pre-ISO C systems.
1221
12222001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
1223 John David Anglin <dave@hiauly1.hia.nrc.ca>
1224
1225 * libiberty/lbasename.c: New file.
1226 * libiberty/Makefile.in: Update for lbasename.
1227
12282001-03-06 Zack Weinberg <zackw@stanford.edu>
1229
1230 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
1231 * configure.in: Replace all alloca logic with a simple use of
1232 the above new macro.
1233 * config.table: Kill *-*-beos* entry.
1234 * config/mh-beos: Delete.
1235 * configure, config.in: Regenerate.
1236
1237 * Makefile.in (ALLOCA, HFILES): Kill.
1238 (REQUIRED_OFILES): Add alloca.o.
1239 (alloca.o): Depend on libiberty.h.
1240 (argv.o): Don't depend on alloca-conf.h.
1241 * alloca-conf.h: Delete.
1242 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
1243 blocks. Provide the C alloca unconditionally. Use PTR where
1244 appropriate. Make i00afunc static.
1245 * argv.c: Don't include alloca-conf.h.
1246
12472001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1248
1249 * cplus-dem.c (main): Cast enum style to int.
1250
12512001-02-16 Loren J. Rittle <ljrittle@acm.org>
1252
1253 * cplus-dem.c (main): Initialize style.
1254
12552001-02-02 Phil Edwards <pme@sources.redhat.com>
1256
1257 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
1258
12592001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
1260
1261 Add support for Java demangling under the v3 ABI:
1262 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
1263 (struct demangling_def): Add `style' field.
1264 (demangling_new): New parameter `style'. Set it in demangling_t.
1265 (demangle_prefix): Use NAMESPACE_SEPARATOR.
1266 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
1267 (cp_demangle): New parameter `style'. Pass it to demangling_new().
1268 (main): Call cp_demangle with extra parameter.
1269 (java_demangle_v3): New function.
1270 (java_builtin_type_names): New. Table of primitive type names used
1271 for Java demangling.
1272 (demangle_builtin_type): Look up in java_builtin_type_names if doing
1273 Java output.
1274 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
1275 demangling.
1276 (long_options): Remove obsolete `java' option.
1277 (main): Remove explicit handling of `java' option. Instead, pass style
1278 parameter in cplus_demangle flags as gdb does.
1279 * testsuite/demangle.expected: Add some Java test cases.
1280
12812000-12-29 DJ Delorie <dj@redhat.com>
1282
1283 * fnmatch.c: Make the note about the origins of this file more
1284 accurate, at least until we can sync with glibc.
1285 * getopt.c: Ditto.
1286 * getopt1.c: Ditto.
1287 * md5.c: Ditto.
1288 * obstack.c: Ditto.
1289
12902000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1291
1292 * bsearch.c: New file.
1293 * configure.in (funcs): Add bsearch.
1294 (AC_CHECK_FUNCS): Likewise.
1295 * configure, config.in: Regenerate.
1296
12972000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1298
1299 * safe-ctype.c: #include "ansidecl.h".
1300 * strtod.c: Likewise.
1301
13022000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1303
1304 * strtoul.c: Include safe-ctype.h, not ctype.h.
1305
13062000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
1307
1308 * safe-ctype.c: New file.
1309 * Makefile.in (CFILES): Add safe-ctype.c.
1310 (REQUIRED_OFILES): Add safe-ctype.o.
1311
1312 * argv.c: Define ISBLANK and use it, not isspace.
1313 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
1314 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
1315 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
1316 before calling TOLOWER(c)/TOUPPER(c).
1317
13182000-12-07 Mike Stump <mrs@wrs.com>
1319
1320 * Makefile.in (distclean): When cleaning, remove testsuite.
1321
13222000-12-05 Jason Merrill <jason@redhat.com>
1323
1324 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
1325 name before allocating the dyn_string.
1326
13272000-12-04 Jason Merrill <jason@redhat.com>
1328
1329 * cp-demangle.c: s/new_abi/v3/.
1330 * cplus-dem.c: Likewise.
1331 (current_demangling_style): Now auto_demangling.
1332 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
1333 (main): Use standard symbol chars for auto_demangling.
1334
13352000-11-26 Mark Mitchell <mark@codesourcery.com>
1336
1337 * hashtab.c (higher_prime_number): Use a table, rather than a
1338 seive, to find the next prime.
1339
13402000-11-22 H.J. Lu <hjl@gnu.org>
1341
1342 * cplus-dem.c (main): Handle gnat_demangling.
1343
13442000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
1345
1346 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
1347 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
1348 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
1349 argument form of AC_DEFINE in dummy definitions block. Use
1350 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
1351 in dummy block. Preload cache variables instead of bypassing
1352 tests, where possible.
1353 * acconfig.h: Removed.
1354
1355 * xmalloc.c (xmalloc_failed): New function, does error
1356 reporting on failed allocation.
1357 (xmalloc, xcalloc, xrealloc): Use it.
1358
13592000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
1360
1361 * cplus-dem.c (cplus_demangle): Fix formatting.
1362 (grow_vect): Ditto.
1363 (ada_demangle): Ditto.
1364 (internal_cplus_demangle): Ditto.
1365 (mop_up): Ditto.
1366
13672000-11-21 H.J. Lu <hjl@gnu.org>
1368
1369 * cplus-dem.c (main): Handle java_demangling.
1370
13712000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1372
1373 * cplus-dem.c (grow_vect): Prototype.
1374 (ada_demangle): Cast the arg of ctype macros to unsigned char.
1375
13762000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
1377
1378 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
1379 parameter `option'.
1380
13812000-11-15 Kenneth Block <kenneth.block@compaq.com>
1382
1383 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
1384 be used in GCC.
1385
13862000-11-15 Kenneth Block <kenneth.block@compaq.com>
1387
1388 * cplus-dem.c: Add gnat demangler. Add java to demangle style
1389 list.
1390
13912000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
1392
1393 * hashtab.c (htab_expand): Change to return int. Use calloc or
1394 xcalloc depending on htab->return_allocation_failure. Return zero
1395 if calloc fails.
1396 (htab_create): Update comment to cover memory allocation.
1397 (htab_try_create): New.
1398 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
1399 Update comment to cover this.
1400
14012000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
1402
1403 * hashtab.c: Change void * to PTR where necessary.
1404 (htab_create, htab_expand): Correct formatting of comment before
1405 function.
1406
14072000-10-22 Alex Samuel <samuel@codesourcery.com>
1408
1409 * cp-demangle.c (string_list_def): Add caret_position and comments.
1410 (result_caret_pos): New macro.
1411 (result_append_string): Rename to...
1412 (result_add_string): ... this, and insert at caret position.
1413 Rename throughout.
1414 (result_append): Rename to...
1415 (result_add): ... this, and insert at caret position. Rename
1416 throughout.
1417 (result_append_char): Rename to...
1418 (result_add_char): ... this, and insert at caret position. Rename
1419 throughout.
1420 (result_append_space): Remove.
1421 (string_list_new): Initialize caret position.
1422 (result_add_separated_char): Use caret position.
1423 (result_get_caret): New funtion.
1424 (result_set_caret): Likewise.
1425 (result_shift_caret): Likewise.
1426 (result_previous_char_is_space): Likewise.
1427 (substitution_start): Use caret position.
1428 (substitution_add): Likewise.
1429 (demangling_new): Initialize caret position.
1430 (demangle_encoding): Use caret position.
1431 (demanglin_nested_name): Put CV qualifiers after name.
1432 (demangle_type_ptr): Use switch statement. Handle pointers to
1433 arrays. Don't use result_append_space. Use caret position.
1434 (demangle_type): Emit CV qualifiers after underlying type. Adjust
1435 call to demangle_array_type.
1436 (demangle_array_type): Add parameter to handle pointers to arrays.
1437
14382000-10-01 Mark Mitchell <mark@codesourcery.com>
1439
1440 * splay-tree.c (splay_tree_insert): Fix formatting.
1441
14422000-09-16 Mark Mitchell <mark@codesourcery.com>
1443
1444 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
1445
14462000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1447
1448 * splay-tree.c: #include <stdio.h>.
1449
14502000-09-14 Hans-Peter Nilsson <hp@axis.com>
1451
1452 * testsuite/demangle-expected: Add two tests for anonymous
1453 namespaces.
1454 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
1455
14562000-09-10 Mark Mitchell <mark@codesourcery.com>
1457
1458 * splay-tree.c (splay_tree_predecessor): New function.
1459 (splay_tree_successor): Likewise.
1460
14612000-09-10 Hans-Peter Nilsson <hp@axis.com>
1462
1463 * testsuite/demangle-expected: Add four tests for type_info
1464 mangling.
1465 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
1466 for a non-template non-qualified type_info function or node.
1467
14682000-09-08 Alex Samuel <samuel@codesourcery.com>
1469
1470 * cp-demangle.c: Fix copyright banner.
1471
14722000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1473
1474 * md5.c: #include "ansidecl.h".
1475
14762000-09-06 Alex Samuel <samuel@codesourcery.com>
1477
1478 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
1479 (demangle_type): Handle substitution candidates correctly in the
1480 face of special substitutions.
1481
14822000-09-05 Alex Samuel <samuel@codesourcery.com>
1483
1484 * cp-demangle.c (demangle_encoding): Rename variable.
1485 (demangle_name): Rename parameter. Handle return type
1486 suppression.
1487 (demangle_nested_name): Rename parameter.
1488 (demangle_prefix): Likewise. Change return type suppression.
1489 (demangle_unqualified_name): Add parameter. Flag constructors and
1490 conversion operators.
1491 (demangle_special_name): Fix comment.
1492 (demangle_type): Rename variable.
1493 (demangle_bare_function_type): Check for missing return type and
1494 parameter.
1495 (demangle_class_enum_type): Rename parameter.
1496 (demangle_discriminator): Fix misspelling in comment.
1497
14982000-08-31 DJ Delorie <dj@redhat.com>
1499
1500 * configure.in (Cygwin): special case cygwin only when we're
1501 building cygwin, not when we're hosting cygwin.
1502
15032000-09-04 Alex Samuel <samuel@codesourcery.com>
1504
1505 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
1506 <expression>.
1507
15082000-09-04 Alex Samuel <samuel@codesourcery.com>
1509
1510 * cp-demangle.c (demangle_type_ptr): Increment position past
1511 pointer and reference characters.
1512
15132000-09-04 Alex Samuel <samuel@codesourcery.com>
1514
1515 * cp-demangle.c (demangle_nv_offset): New function.
1516 (demangle_v_offset): Likewise.
1517 (demangle_call_offset): Likewise.
1518 (demangle_special_name): Update thunk demangling to comply with
1519 ABI changes.
1520
15212000-09-03 Alex Samuel <samuel@codesourcery.com>
1522
1523 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
1524 (substitution_def): Remove template_parm_number.
1525 (NOT_TEMPLATE_PARM): Remove.
1526 (result_insert_string): New macro.
1527 (result_insert): Likewise.
1528 (result_insert_char): Likewise.
1529 (substitution_add): Remove last parameter. Don't store template
1530 parm number.
1531 (BFT_NO_RETURN_TYPE): Define as NULL.
1532 (demangle_encoding): Adjust call to demangle_bare_function_type.
1533 (demangle_name): Adjust substitution. Adjust call to
1534 substitution_add.
1535 (demangle_prefix): Adjust call to substitution_add.
1536 (demangle_identifier): Handle anonymous namespaces.
1537 (demangle_operator_name): Change demangling of vendor-extended
1538 operator to match ABI changes.
1539 (demangle_type_ptr): Change parameters. Make recursive. Handle
1540 substitutions here.
1541 (demangle_type): Adjust calls to demangle_template_param,
1542 substitution_add, and demangle_type_ptr. Fix substitution of
1543 templated types.
1544 (demangle_function_type): Change parameter to a pointer.
1545 (demangle_bare_function_type): Likewise. Adjust insertion point.
1546 (demangle_template_param): Remove last parameter.
1547 (demangle_expr_primary): Remove unused variable. Adjust call to
1548 demangle_template_param.
1549 (is_mangled_char): Accept `$' and `.'.
1550 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
1551 * dyn-string.c (dyn_string_insert_char): New function.
1552
15532000-08-31 Hans-Peter Nilsson <hp@axis.com>
1554
1555 * testsuite/demangle-expected: Add nine tests for
1556 underscore-after-number followed by five tests for name-signature
1557 delimiter.
1558
15592000-08-28 Richard Henderson <rth@cygnus.com>
1560
1561 * Makefile.in (md5.o): Depend on config.h.
1562
15632000-08-28 Jason Merrill <jason@redhat.com>
1564
1565 * Makefile.in (REQUIRED_OFILES): Add md5.o.
1566 (CFILES): Add md5.c.
1567 * md5.c: New file.
1568
15692000-08-27 Alex Samuel <samuel@codesourcery.com>
1570
1571 * cp-demangle.c (demangle_name): Initialize template_p in local
1572 name case. Don't re-add substitutions as candidates.
1573 (demangle_nested_name): Use <unqualified-name>.
1574 (demangle_prefix): Likewise. Don't add template names as
1575 substitution candidates twice, or re-add a substitution or the
1576 last prefix component.
1577 (demangle_local_name): Adjust output format.
1578
15792000-08-25 Alex Samuel <samuel@codesourcery.com>
1580
1581 * cp-demangle.c (result_add_separated_char): Change parameter to
1582 int.
1583 (substitution_add): Don't check for duplicates. Check if
1584 previously allocated size is zero.
1585 (demangle_name): Remove duplicate check for std substitution.
1586 Clear template flag appropriately.
1587 (demangle_prefix): Remove argument to demangle_substitution.
1588 Don't check that template flag is already set.
1589 (demangle_operator_name): Add pt operator.
1590 (demangle_type): Don't treat r as built-in type. Remove argument
1591 to demangle_substitution. Fix substitution candidate mechanics.
1592 Handle <template-template-parm>s. Improve comments.
1593 (demangle_template_param): Don't handle template arg lists here.
1594 (demangle_substitution): Remove parameter.
1595 (print_usage): Remove extra fprintf option.
1596
15972000-08-24 Greg McGary <greg@mcgary.org>
1598
1599 * libiberty/random.c (end_ptr): Revert previous change.
1600
16012000-08-24 Greg McGary <greg@mcgary.org>
1602
1603 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
1604 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
1605 * libiberty/random.c (end_ptr): Likewise.
1606
16072000-08-23 Alex Samuel <samuel@codesourcery.com>
1608
1609 * cp-demangle.c (result_close_template_list): Remove function.
1610 (result_add_separated_char): New function.
1611 (result_open_template_list): New macro.
1612 (result_close_template_list): Likewise.
1613 (demangle_prefix): Don't set template_p if the
1614 prefix ends with a ctor name.
1615 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
1616 (demangle_type): Check for template args after substitution.
1617 (demangle_template_args): Use result_open_template_list.
1618
16192000-08-02 Zack Weinberg <zack@wolery.cumb.org>
1620
1621 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
1622
16232000-07-26 Dave Pitts <dpitts@cozx.com>
1624
1625 * config/mh-openedition.h: Added -DLE370 definition.
1626
16272000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
1628
1629 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
1630 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
1631 Cast program to 'char *' in errmsg_arg assignment.
1632 (PWAIT_ERROR): Define.
1633 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
1634 to DJGPP's WIF* macros.
1635
16362000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
1637 Jeff Law <law@cygnus.com>
1638
1639 * getcwd.c: Include string.h, stdlib.h for prototypes
1640
1641 * Makefile.in (rename.o, waitpid.o): Depend on config.h
1642 * rename.c: Include config.h, unistd.h
1643 * waitpid.c: Include config.h, sys/wait.h
1644
16452000-07-24 Hans-Peter Nilsson <hp@axis.com>
1646
1647 * cplus-dem.c (work_stuff_copy_to_from): New.
1648 (delete_non_B_K_work_stuff): New.
1649 (delete_work_stuff): New.
1650 (mop_up): Break out work_stuff partly destruction to
1651 delete_non_B_K_work_stuff.
1652 (iterate_demangle_function): New.
1653 (demangle_prefix): Call iterate_demangle_function instead of
1654 demangle_function_name. Leave handling of name-signature
1655 __-delimiters to iterate_demangle_function.
1656 (demangle_integral_value): Strip an optional
1657 following underscore cautiously. Handle negative numbers.
1658
16592000-07-24 Daniel Berlin <dberlin@redhat.com>
1660
1661 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
1662 if (AUTO_DEMANGLING || GNU_DEMANGLING)
1663
16642000-07-21 Alex Samuel <samuel@codesourcery.com>
1665
1666 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
1667 allocating ctor mangling.
1668 (demangle_array_type): Handle empty and non-constant array length.
1669
16702000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1671 Jeff Law <law@cygnus.com>
1672
1673 * configure.in (AC_CHECK_HEADERS): Add time.h.
1674 (AC_HEADER_TIME): Add check.
1675 * configure, config.in: Regenerate.
1676 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
1677
1678 * configure.in (AC_CHECK_HEADERS): Add limits.h.
1679 * configure, config.in: Regenerate.
1680 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
1681 * strtol.c, strtoul.c: #include "config.h". Portably #include
1682 <limits.h> and/or <sys/param.h>.
1683 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
1684
1685 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
1686 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
1687 * configure, config.in: Regenerate.
1688 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
1689
1690 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
1691
16922000-07-21 Mike Stump <mrs@wrs.com>
1693
1694 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
1695 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
1696
16972000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1698
1699 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
1700
1701 * setenv.c (setenv): Initialize variable `ep'.
1702
1703 * sigsetmask.c (abort): Prototype.
1704
1705 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
1706 __STDC__ for stdarg.h include.
1707 (int_vasprintf): Prototype.
1708 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
1709 definition. Cast `global_total_width' in comparison.
1710 (main): Prototype. Return a value.
1711
1712 * vfork.c (fork): Prototype.
1713
1714 * xexit.c: Include config.h.
1715
17162000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
1717
1718 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
1719 and print it with %u.
1720
17212000-07-17 Hans-Peter Nilsson <hp@axis.com>
1722
1723 * testsuite/regress-demangle (failed test): Show result and
1724 expected output.
1725
17262000-07-07 Andrew Haley <aph@cygnus.com>
1727
1728 * cplus-dem.c (main): fflush() after emitting last char before
1729 waiting for input.
1730
17312000-06-28 Alex Samuel <samuel@codesourcery.com>
1732
1733 * cp-demangle.c (demangle_encoding): Accept no substitutions.
1734 (demangle_name): Handle <substitution> followed by
1735 <unqualified-template-name>.
1736 (demangle_type): Follow special substitutions with
1737 <class-enum-type>
1738 (demangle_subtitution): Set template_p for special substitutions.
1739 (main): Fix typos.
1740
17412000-06-27 Alex Samuel <samuel@codesourcery.com>
1742
1743 * cp-demangle.c (demangle_special_name): Swap base and derived
1744 class when demangling construction vtables.
1745
17462000-06-21 Alex Samuel <samuel@codesourcery.com>
1747
1748 * cp-demangle.c: Don't include ctype.h.
1749 (IS_DIGIT): New macro.
1750 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
1751 instead of isdigit and isalpanum.
1752 (demangling_def): Make name and next const pointers.
1753 (STATUS_ALLOCATION_FAILED): New status code.
1754 (dyn_string_append_space): Handle failure in
1755 dyn_string_append_char.
1756 (int_to_dyn_string): Likewise. Change return value to status_t.
1757 (string_list_new): Handle failure of dyn_string_init.
1758 (result_close_template_list): Change return type to status_t.
1759 Handle failure in dyn_string_append.
1760 (result_push): Change return value to status_t. Handle failure in
1761 string_list_new. Handle failure of result_push throughout.
1762 (substitution_add): Change return value to status_t. Handle
1763 dyn_string failures. Handle failure of substitution_add
1764 throughout.
1765 (template_arg_list_new): Return NULL on allocation failure.
1766 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
1767 Handle error result throughout.
1768 (result_append): Likewise.
1769 (result_append_char): Likewise.
1770 (result_append_space): Likewise.
1771 (demangling_new): Make argument a const pointer. Handle
1772 allocation failures.
1773 (demangle_template_args): Handle failure in template_arg_list_new
1774 and result_close_template_list.
1775 (demangle_discriminator): Return if int_to_dyn_string fails.
1776 (cp_demangle): Likewise.
1777 (cp_demangle_type): New function.
1778 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
1779 memory allocation failure.
1780 (main): Likewise.
1781 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
1782 IN_LIBGCC2.
1783 (dyn_string_init): Change return value to int. Handle
1784 RETURN_ON_ALLOCATION_FAILURE case.
1785 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
1786 (dyn_string_release): Delete the dyn_string.
1787 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
1788 (dyn_string_copy): Change return type to int.
1789 (dyn_string_copy_cstr): Likewise.
1790 (dyn_string_prepend): Likewise.
1791 (dyn_string_prepend_cstr): Likewise.
1792 (dyn_string_insert): Likewise.
1793 (dyn_string_insert_cstr): Likewise.
1794 (dyn_string_append): Likewise.
1795 (dyn_string_append_cstr): Likewise.
1796 (dyn_string_append_char): Likewise.
1797 (dyn_string_substring): Likewise.
1798
17992000-06-09 Zack Weinberg <zack@wolery.cumb.org>
1800
1801 * cp-demangle.c (demangle_operator_name): Add spaces before
1802 names beginning with a letter: delete, delete[], new, new[],
1803 sizeof.
1804 (demangle_special_name): Handle TF <type> and TJ <type>.
1805
1806Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
1807
1808 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
1809
1810Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
1811
1812 * cp-demangle.c (stdio.h): File included unconditionaly.
1813 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
1814 * dyn-string.c (stdio.h): File included.
1815 * partition.c (partition_print): No `&' needed to take the address of
1816 a function.
1817
18182000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1819
1820 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
1821
1822 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
1823
1824 * cp-demangle.c (demangle_char): Change parameter from char to int.
1825 (demangle_expression, demangle_expr_primary): Remove extra
1826 semi-colon in prototype.
1827
1828 * dyn-string.c (dyn_string_append_char): Change parameter from
1829 char to int.
1830
1831 * memcmp.c (memcmp): Constify.
1832
1833 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
1834 __extension__.
1835
1836 * partition.c (elem_compare): Prototype. Don't cast away
1837 const-ness.
1838
1839 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
1840
18412000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1842
1843 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
1844
1845 * cp-demangle.c: Include demangle.h.
1846 (template_arg_list_new): DeANSIfy.
1847 (cp_demangle): Make static and add prototype.
1848 (operator_code, operators): Constify.
1849 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
1850
18512000-06-05 Alex Samuel <samuel@codesourcery.com>
1852
1853 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
1854 unsigned char.
1855 (demangle_unqualified_name): Likewise.
1856 (demangle_number_literally): Likewise.
1857 (demangle_type): Likewise.
1858 (demangle_substitution): Likewise.
1859 (is_mangled_char): Likewise, for isalnum.
1860
18612000-06-04 Alex Samuel <samuel@codesourcery.com>
1862
1863 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
1864 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
1865 (cp-demangle.o): New dependency.
1866 (dyn-string.o): Likewise.
1867
1868 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
1869
1870 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
1871 demangler.
1872 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
1873 demangling mode.
1874 (gnu_new_abi_symbol_characters): New function.
1875 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
1876 file.
1877 * cp-demangle.c: New file.
1878
1879Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
1880
1881 * floatformat.c: Add name to each floatformat field.
1882
1883Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
1884
1885 * Makefile.in (objalloc.o): Depend on config.h
1886
18872000-05-29 Zack Weinberg <zack@wolery.cumb.org>
1888
1889 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
1890 if HAVE_STRING_H.
1891 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
1892 * objalloc.c: Include config.h. Include stdlib.h and don't
1893 declare malloc or free if HAVE_STDLIB_H.
1894 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
1895 else declare malloc without prototype. Include string.h if
1896 HAVE_STRING_H, else declare memset without prototype. Don't
1897 include stddef.h.
1898
18992000-05-23 Mike Stump <mrs@wrs.com>
1900
1901 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
1902 -j3.
1903
19042000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
1905
1906 * xmalloc.c: Include config.h for HAVE_SBRK definition.
1907
19082000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
1909
1910 * hashtab.c (hash_pointer): Delete low-order bits which are
1911 probably zero, also eliminate a warning on alpha.
1912
19132000-05-15 David Edelsohn <edelsohn@gnu.org>
1914
1915 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
1916 on $(enable_shared).
1917
19182000-05-10 Jakub Jelinek <jakub@redhat.com>
1919
1920 * config.table: Use mh-sparcpic for sparc*-*-*.
1921
19222000-05-08 Nick Clifton <nickc@cygnus.com>
1923
1924 * Makefile.in (CFILES): Add strncmp.c.
1925 (NEEDED): Add strncmp.
1926
19272000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1928
1929 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
1930 Cast the arguments to `islower' to `unsigned char'.
1931 (print_demangler_list): Prototype.
1932
1933Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
1934
1935 * sort.c (UCHAR_MAX): Provide fallback definition.
1936
19372000-04-29 Alexandre Oliva <aoliva@cygnus.com>
1938
1939 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
1940 SUBDIRS.
1941
19422000-04-28 Kenneth Block <block@zk3.dec.com>
1943 Jason Merrill <jason@casey.cygnus.com>
1944
1945 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
1946 (cplus_demangle_set_style): New function for setting style.
1947 (cplus_demangle_name_to_style): New function to translate name.
1948
19492000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1950
1951 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
1952
1953 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
1954 (libiberty_AC_FUNC_STRNCMP): Invoke.
1955
1956 * strncmp.c: New file.
1957
1958Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
1959
1960 * hashtab.c (htab_expand): Add prototype.
1961 (find_empty_slot_for_expand): Likewise.
1962
19632000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1964
1965 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
1966 match prototype.
1967 (htab_expand): Cast the return value of xcalloc.
1968
19692000-04-24 Mark Mitchell <mark@codesourcery.com>
1970
1971 * hashtab.c (hash_pointer): New function.
1972 (eq_pointer): Likewise.
1973 (htab_hash_pointer): New variable.
1974 (htab_eq_pointer): Likewise.
1975
19762000-04-23 Mark Mitchell <mark@codesourcery.com>
1977
1978 * sort.c (sort_pointers): Fix endianness bugs.
1979
1980 * sort.c: New file.
1981 * Makefile.in (CFILES): Add sort.c
1982 (REQUIRED_OFILES): Add sort.o.
1983 (sort.o): New target.
1984
19852000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1986
1987 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
1988 4.3BSD systems.
1989
1990Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1991
1992 * hashtab.c: Various minor cleanups.
1993 (htab_find_slot_with_hash): INSERT is now enum insert_option.
1994 (htab_find_slot): Likewise.
1995
19962000-04-16 Dave Pitts <dpitts@cozx.com>
1997
1998 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
1999
20002000-04-05 Richard Henderson <rth@cygnus.com>
2001
2002 * splay-tree.c (splay_tree_remove): New.
2003
20042000-03-30 Mark Mitchell <mark@codesourcery.com>
2005
2006 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
2007 codes.
2008 (htab_find_with_hash): Likewise.
2009 (htab_find_slot_with_hash): Likewise.
2010
20112000-03-29 Zack Weinberg <zack@wolery.cumb.org>
2012
2013 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
2014 unless it will be used. Rearrange loop for better
2015 optimization.
2016 (higher_prime_number): Add static prototype.
2017
2018Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
2019
2020 * Makefile.in (partition.o): Depend on config.h
2021
20222000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
2023
2024 * hashtab.c (find_empty_slot_for_expand): New function.
2025 (htab_expand): Use it instead of htab_find_slot.
2026 (htab_find_with_hash): Renamed from htab_find; now accepts extra
2027 argument HASH.
2028 (htab_find_slot_with_hash): Likewise for htab_find_slot.
2029 (htab_find): New wrapper function.
2030 (htab_find_slot): Likewise.
2031 (htab_traverse): Pass slot, not entry, to called function.
2032
20332000-03-09 Alex Samuel <samuel@codesourcery.com>
2034
2035 * Makefile.in (CFILES): Add partition.c.
2036 (REQUIRED_OFILES): Add partition.o.
2037 (partition.o): New rule.
2038 * partition.c: New file.
2039
20402000-03-09 Zack Weinberg <zack@wolery.cumb.org>
2041
2042 * hashtab.c (htab_create): Set del_f.
2043 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
2044 Use it.
2045
20462000-03-08 Zack Weinberg <zack@wolery.cumb.org>
2047
2048 * hashtab.c: Remove debugging variables (all_searches,
2049 all_collisions, all_expansions). Delete
2050 all_hash_table_collisions.
2051 (create_hash_table, delete_hash_table, empty_hash_table,
2052 find_hash_table_entry, remove_element_from_hash_table_entry,
2053 clear_hash_table_slot, traverse_hash_table, hash_table_size,
2054 hash_table_elements_number, hash_table_collisions): Rename to:
2055 htab_create, htab_delete, htab_empty, htab_find_slot,
2056 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
2057 htab_elements, htab_collisions.
2058 (htab_find): New function, handles common case where you don't
2059 plan to add or delete an entry.
2060 (htab_expand): Don't create a whole new table, just a new
2061 entry vector.
2062 (htab_find_slot): Simplify logic.
2063
20641999-08-03 Ian Lance Taylor <ian@zembu.com>
2065
2066 * floatformat.c: Add casts to avoid signed/unsigned warnings.
2067 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
2068
2069 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
2070 $(TARGETLIB)n so it works on MSDOS.
2071 (install_to_tooldir): Likewise.
2072
20731999-07-21 Ian Lance Taylor <ian@zembu.com>
2074
2075 From Mark Elbrecht:
2076 * makefile.dos: Remove; obsolete.
2077 * configure.bat: Remove; obsolete.
2078
20791999-07-11 Ian Lance Taylor <ian@zembu.com>
2080
2081 * splay-tree.c (splay_tree_insert): Add initialization to avoid
2082 warning.
2083
20842000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2085
2086 * pexecute.c: Conditionally include string.h.
2087 (fix_argv): Handle embedded whitespace in args for Mingw32.
2088
20892000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2090
2091 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
2092 we're using gcc.
2093
2094 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
2095
20961999-12-27 Geoff Keating <geoffk@cygnus.com>
2097
2098 * vasprintf.c (int_vasprintf): Don't re-read the format character
2099 as this mishandles strings like '%%s'.
2100
21011999-12-05 Mark Mitchell <mark@codesourcery.com>
2102
2103 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
2104 rather than struct splay_tree_node.
2105 (splay_tree_insert): Use struct splay_tree_s rather than struct
2106 splay_tree.
2107
2108Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
2109
2110 * hashtab.c (sys/types.h): File included.
2111
21121999-11-22 Jason Merrill <jason@casey.cygnus.com>
2113
2114 * strtoul.c, strtol.c, random.c: Remove advertising clause from
2115 BSD license, pursuant with
2116
2117 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
2118
2119Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
2120
2121 * hashtab.c: Include stdio.h.
2122
2123Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
2124
2125 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
2126
2127Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
2128
2129 * xstrdup (sys/types.h): Include this file.
2130
21311999-10-28 Nathan Sidwell <nathan@acm.org>
2132
2133 * Makefile.in (SUBDIRS): New macro.
2134 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
2135 avoid multiple subdirectory cleaning.
2136 (*-subdir): Use SUBDIRS.
2137
21381999-10-25 Jim Kingdon <http://developer.redhat.com/>
2139
2140 * cplus-dem.c: Move declarations of standard_symbol_characters and
2141 hp_symbol_characters inside #ifdef MAIN to avoid compiler
2142 warnings.
2143
21441999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
2145
2146 * hashtab.c (find_hash_table_entry): When returning a
2147 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
2148 (clear_hash_table_slot): New function which deletes an entry
2149 by its position in the table, not its value.
2150 (traverse_hash_table): New function which calls a hook
2151 function for every live entry in the table.
2152
21531999-10-19 Mark Mitchell <mark@codesourcery.com>
2154
2155 * cplus-dem.c (INTBUF_SIZE): New macro.
2156 (string_append_template_idx): New function.
2157 (demangle_expression): Likewise.
2158 (demangle_integral_value): Use it.
2159 (demangle_real_value): New function, split out from ...
2160 (demangle_template_value_parm): ... here. Use
2161 string_append_template_idx. Use demangle_real_value.
2162 (demangle_template): Use string_append_template_idx.
2163 (demangle_qualified): Use consume_count_with_underscores.
2164 (get_count): Tweak formatting.
2165 (do_type): Use string_append_template_idx.
2166
21671999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2168
2169 * calloc.c: Add a public domain notice.
2170
2171Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
2172
2173 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
2174
2175Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
2176
2177 * Makefile.in (CFILES): Add hashtab.c
2178 (REQUIRED_OFILES): Add hashtab.o
2179 (hashtab.o): Add dependencies.
2180 * hashtab.c: New file
2181
2182Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
2183
2184 * basename.c (DIR_SEPARATOR): New macro.
2185 (DIR_SEPARATOR_2): Likewise.
2186 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
2187 (IS_DIR_SEPARATOR): Likewise.
2188 (main): Handle MSDOS style pathname.
2189
21901999-10-11 Mark Mitchell <mark@codesourcery.com>
2191
2192 * cplus-dem.c (do_type): Handle pointer to member types whose
2193 enclosing classes have namespace scope.
2194
2195Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
2196
2197 * config.table: Provide a backup shell for executing move-if-change.
2198
21991999-10-02 Mark Mitchell <mark@codesourcery.com>
2200
2201 * xmalloc.c (xmalloc): Fix spelling error.
2202 (xcalloc, xrealloc): Likewise.
2203
22041999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2205
2206 * cplus-dem.c (fancy_abort, demangle_integral_value,
2207 demangle_arm_hp_template, recursively_demangle,
2208 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
2209 (program_name, program_version, fatal): Constify a char*.
2210 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
2211 (main): Call return, not exit.
2212
22131999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2214
2215 * choose-temp.c: Remove obsolete comment about gcc.
2216 (make_temp_file): Constify a char*.
2217
2218Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2219
2220 * xmemdup.c: Include sys/types.h.
2221
22221999-09-07 Jeff Garzik <jgarzik@pobox.com>
2223
2224 * xmemdup.c: New xmemdup function.
2225 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
2226
2227Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
2228
2229 * config.table: Add openedition target.
2230 * config/mh-openedition: New file.
2231
2232Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
2233
2234 * pexecute.c (pexecute): Fill in temp_base when needed.
2235
22361999-08-31 Richard Henderson <rth@cygnus.com>
2237
2238 * getpwd.c: Check HAVE_GETCWD before defining it away.
2239
22401999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2241
2242 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
2243 (REQUIRED_OFILES): Add getpwd.o.
2244 (getpwd.o): Add target.
2245
2246 * configure.in (AC_PREREQ): Bump to 2.13.
2247 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
2248
2249 * getpwd.c: New file, moved here from gcc.
2250
22511999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2252
2253 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
2254 comparing against a signed quantity.
2255 (arm_special): Likewise.
2256 (demangle_fund_type): Likewise.
2257 (do_hpacc_template_const_value): Mark parameter `work' with
2258 ATTRIBUTE_UNUSED.
2259 (main): Constify variable `valid_symbols'.
2260
2261Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
2262
2263 * strtoul.c (strtoul): Add parentheses around && within ||.
2264
2265Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
2266
2267 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
2268 libdir, libsubdir and tooldir.
2269
22701999-08-01 Mark Mitchell <mark@codesourcery.com>
2271
2272 * splay-tree.c (splay_tree_insert): Return the new node.
2273
22741999-07-14 Richard Henderson <rth@cygnus.com>
2275
2276 * argv.c: Include stdlib.h and string.h instead of
2277 prototyping directly.
2278 * choose-temp.c: Conditionally include string.h.
2279
22801999-07-12 Jason Merrill <jason@yorick.cygnus.com>
2281
2282 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
2283
22841999-07-11 Ian Lance Taylor <ian@zembu.com>
2285
2286 * splay-tree.c (splay_tree_insert): Add initialization to avoid
2287 warning.
2288
22891999-07-07 Jason Merrill <jason@yorick.cygnus.com>
2290
2291 * Makefile.in (needed-list): Only include stuff we actually need
2292 for libstdc++.
2293
22941999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2295
2296 * configure.in (checkfuncs): Add gettimeofday.
2297 * config.in, configure: Regenerated.
2298
2299Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
2300
2301 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
2302 the test fails.
2303 * configure: Regenerate.
2304
23051999-06-10 Mike Stump <mrs@wrs.com>
2306
2307 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
2308 parallel builds.
2309
23101999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2311
2312 * putenv.c: Include ansidecl.h to define `const'.
2313 * setenv.c: Likewise.
2314
2315Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
2316
2317 * Makefile.in (CFILES): Add putenv.c and setenv.c.
2318 * configure.in (funcs): Add putenv and setenv.
2319 (AC_CHECK_FUNCS): Check for putenv and setenv.
2320 * configure: Rebuilt.
2321 * putenv.c setenv.c: New files.
2322
2323 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
2324 bytes of space using malloc.
2325
2326Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
2327
2328 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
2329 the *mangled pointer beyond the end of the string. Clean up code to
2330 match prevailing coding style.
2331
23321999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2333
2334 * tmpnam.c (L_tmpnam): Fix typo.
2335
2336Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
2337
2338 * cplus-dem.c (standard_symbol_characters): Renamed from
2339 standard_symbol_alphabet. No longer modify TABLE.
2340 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
2341 modify TABLE.
2342 (main): Corresponding changes. Use strchr to determine if a
2343 character is valid.
2344
23451999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
2346
2347 * cplus-dem.c (main): Use table lookup to distinguish identifier
2348 characters from non-identifier characters.
2349 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
2350
2351Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
2352
2353 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
2354 * getruntime.c: Only attempt to include sys/resource.h and
2355 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
2356 are defined.
2357
2358Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
2359
2360 * configure.in (alloca detection): Handle alloca directly for interix.
2361 * configure: Rebuilt.
2362
2363Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
2364
2365 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
2366
23671999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
2368
2369 Fix from Dale Hawkins:
2370 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
2371 reallocated properly if we use it again.
2372
2373 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
2374 stricter about syntax. Always null-terminate string.
2375
2376Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
2377
2378 * configure.in (checkfuncs): Check for sbrk.
2379 * config.in: Rebuilt.
2380 * configure: Likewise.
2381 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
2382
23831999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
2384
2385 Fix from Marcus Daniels:
2386 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
2387 identifier looking for another underscore.
2388
2389Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
2390
2391 * pexecute.c: Change all references to __UWIN__ to _UWIN.
2392 * xmalloc.c: Likewise.
2393 (xcalloc): UWIN has sbrk.
2394 (xrealloc): Fix guard macro.
2395
23961999-04-11 Richard Henderson <rth@cygnus.com>
2397
2398 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
2399 or <alloca.h>.
2400 * clock.c (GNU_HZ): New definition.
2401 (clock): Use it.
2402 * getruntime.c: Likewise.
2403
2404 * config.table: Use mh-beos.
2405 * config/mh-beos: New file.
2406
24071999-04-11 Mark Mitchell <mark@codesourcery.com>
2408
2409 * cplus-dem.c (demangle_template_value_parm): Handle
2410 pointers-to-members.
2411 (do_type): Handle template parameters as qualifiers.
2412
24131999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
2414
2415 * cplus-dem.c: Attempt to handle overflows in counts with some
2416 semblance of grace.
2417 (consume_count): Detect overflows. Return -1 to indicate errors,
2418 instead of zero.
2419 (demangle_template_value_parm, demangle_template): Handle change
2420 to consume_count's return convention.
2421
24221999-04-05 Tom Tromey <tromey@cygnus.com>
2423
2424 * testsuite/regress-demangle: New file.
2425 * testsuite/demangle-expected: New file.
2426
2427 * Makefile.in (all, check, installcheck, info, install-info,
2428 clean-info, dvi, install, etags, tags, mostlyclean, clean,
2429 distclean, maintainer-clean, realclean): Depend on corresponding
2430 `-subdir' target.
2431 (all-subdir check-subdir installcheck-subdir info-subdir
2432 install-info-subdir clean-info-subdir dvi-subdir
2433 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
2434 distclean-subdir maintainer-clean-subdir): New target.
2435 * testsuite/Makefile.in: New file.
2436 * configure: Rebuilt.
2437 * configure.in: Create testsuite/Makefile.
2438
24391999-04-02 Mark Mitchell <mark@codesourcery.com>
2440
2441 * splay-tree.h (splay_tree_compare_pointers): Define.
2442
24431999-03-30 Mark Mitchell <mark@codesourcery.com>
2444
2445 * splay-tree.c (splay_tree_compare_ints): Define.
2446
24471999-03-30 Tom Tromey <tromey@cygnus.com>
2448
2449 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
2450 don't advance input pointer.
2451 (demangle_class_name): If consume_count didn't find a count, do
2452 nothing. Don't bother with `strlen' sanity check; consume_count
2453 does it for us.
2454
24551999-03-16 Stan Shebs <shebs@andros.cygnus.com>
2456
2457 From Art Haas <ahaas@neosoft.com>:
2458 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
2459 when doing arm or hp style.
2460 (demangle_nested_args): Decr forgetting_types field when done.
2461
2462Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
2463
2464 * pexecute.c (__CYGWIN32__): Rename to
2465 (__CYGWIN__): this.
2466 * xmalloc.c: Likewise.
2467
2468 Changes to support i386-pc-uwin.
2469 * configure.in (*-*-uwin*): Workaround for vfork bug.
2470 * configure: Regenerate.
2471 * pexecute.c (pexecute): Be like standard Unix.
2472 (pwait): Likewise.
2473 * xmalloc.c (first_break): Define.
2474 (xmalloc_set_program_name): Use.
2475 (xmalloc): Use.
2476
2477Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2478
2479 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
2480
2481Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
2482
2483 * config.table: Check cygwin*, not cygwin32*.
2484
2485Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
2486
2487 * Makefile.in: Change mkstemp -> mkstemps.
2488
2489Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
2490
2491 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
2492 * configure.in (funcs): Check for and conditionally add mkstemps to
2493 the list of functions libiberty will provide.
2494 * configure: Rebuilt.
2495
2496Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
2497
2498 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
2499 platforms that don't have HZ.
2500 * getruntime.c (HZ): Likewise.
2501
2502Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
2503
2504 * Makefile.in (xstrdup.o): Depend on config.h.
2505
2506Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
2507
2508 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
2509 freeing it.
2510
2511Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2512
2513 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
2514
2515Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2516
2517 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
2518 splay-tree.o.
2519
25201999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
2521
2522 * configure.in: Require autoconf 2.12.1 or higher.
2523
25241998-12-30 Michael Meissner <meissner@cygnus.com>
2525
2526 * random.c (NULL): Don't redefine NULL if it is already defined.
2527
2528Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2529
2530 * argv.c (buildargv): Cast the result of alloca in assignment.
2531
2532 * choose-temp.c: Include stdlib.h.
2533
2534 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
2535 (snarf_numeric_literal): Constify first parameter.
2536 (code_for_qualifier): Avoid a gcc extension, make the parameter an
2537 int, not a char.
2538 (demangle_qualifier): Likewise.
2539 (demangle_signature): Cast the argument of a ctype function to
2540 unsigned char.
2541 (arm_pt): Add parens around assignment used as truth value.
2542 (demangle_arm_hp_template): Constify variable `args'.
2543 (do_hpacc_template_const_value): Cast the argument of a ctype
2544 function to unsigned char.
2545 (do_hpacc_template_literal): Remove unused variable `i'.
2546 (snarf_numeric_literal): Constify parameter `args'.
2547 Cast the argument of a ctype function to unsigned char.
2548
2549 * floatformat.c (floatformat_to_double): Add explicit braces to
2550 avoid ambiguous `else'.
2551
2552 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
2553 `cstart' and `cend' to unsigned char. Cast the argument of macro
2554 `FOLD', which uses ctype functions, to unsigned char.
2555
2556 * objalloc.c (free): Add prototype.
2557
2558Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
2559
2560 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
2561
2562Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
2563
2564 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
2565 doesn't exist.
2566 (do_hpacc_template_literal): remove unused variable `i'.
2567
2568Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2569
2570 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
2571 bumping the pointer we read from. Also prepend these codes,
2572 as we do in other places.
2573
25741998-12-18 Nick Clifton <nickc@cygnus.com>
2575
2576 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
2577 'const char *' in order to match its usage when calling siblings.
2578 (snarf_numeric_literal): Make first arg 'const char **' in order
2579 to match usage.
2580
2581Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2582
2583 * choose-temp.c: Don't check IN_GCC anymore.
2584
2585 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
2586 * memchr.c (memchr): Likewise.
2587 * memcpy.c (memcpy): Likewise.
2588 * memmove.c (memmove): Likewise.
2589
2590 * mkstemp.c: Don't check IN_GCC anymore.
2591 * pexecute.c: Likewise.
2592 * splay-tree.c: Likewise.
2593
2594 * strchr.c (strchr): Use `const', not `CONST'.
2595 * strrchr.c (strrchr): Likewise.
2596 * strtol.c (strtol): Likewise.
2597 * strtoul.c (strtoul): Likewise.
2598
2599Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
2600 Elena Zannoni <ezannoni@cygnus.com>
2601 Stan Shebs <shebs@cygnus.com>
2602 Edith Epstein <eepstein@cygnus.com>
2603 Andres MacLeod <amacleod@cygnus.com>
2604 Satish Pai <pai@apollo.hp.com>
2605
2606 * HP aCC demangling support.
2607 * cplus-dem.c
2608 (main): Remove default to HP style demangling, set to EDG
2609 demangling correctly when -edg specified; set the demangling style
2610 when user specifies 'edg'. Set strip_underscore to
2611 prepends_underscore, if not HPUXHPPA. Set
2612 current_demangling_style to hp_demangling if HPUXHPPA. Set
2613 current demangling style correctly if the switch is hp. Read
2614 label correctly also in the HP style case.
2615 (work_stuff): add temp_start field; add field for volatile member
2616 function.
2617 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
2618 style for this case is the same as ARM.
2619 (demangle_args): handle EDG_DEMANGLING style; support HP style.
2620 (demangle_arm_hp_template): new function. (It was
2621 demangle_arm_pt.); check and set value of temp_start field in
2622 multiple places. Also, when ceching for end of template args,
2623 check to see if at end of static member of template class.
2624 (demangle_class): new local variable : save_class_name_end Don't
2625 include template args in string defining class.
2626 (demangle_class_name): use demangel_arm_hp_template.
2627 (demangle_function_name): handle case where demangling style is
2628 HP_DEMANGLING and currently point at an 'X' in the mangled name.
2629 Handle EDG_DEMANGLING style. Handle constructor and destructor
2630 ops for HP style.
2631 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
2632 styles. global destructor and constructor for HP style are same
2633 as for ARM style. Same for local variables.
2634 (demangle_qualified): handle EDG_DEMANGLING style.
2635 (demangle_signature): add case for volatile member function. For
2636 cases '1' - '9' : initialize the temp_start field to -1 and handle
2637 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
2638 and AUTO_DEMANGLING styles. If expecting a function and managed
2639 to demangle the funct args, then handle the LUCID_DEMANGLING,
2640 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
2641 class name after "Lnnn_ in HP style case. HP style too needs to
2642 forget types. _nnn is OK for HP style, so don't report failure.
2643 (do_hpacc_template_const_value): new function. Handle template's
2644 value param for HP/aCC.
2645 (do_hpacc_template_literal): new function. Handle a template's
2646 literal parameter for HP aCC.
2647 (recursively_demangle): new function
2648 (snarf_numeric_literal): new function.
2649 (usage): add 'edg' to the list of demangling styles; add hp switch
2650 to message.
2651
2652Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
2653
2654 * pexecute.c: Remove obsolete ifdefed cygwin code.
2655
2656Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2657
2658 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
2659 * cplus-dem.c: Likewise. Conform to libiberty.h.
2660 * pexecute.c: Likewise.
2661 * splay-tree.c: Likewise.
2662
26631998-11-25 Mike Stump <mrs@wrs.com>
2664
2665 * Makefile.in (splay-tree.o): Add config.h dependency.
2666
2667Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2668
2669 * configure.in: Use AC_PREREQ(2.12.1).
2670
26711998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
2672
2673 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
2674
2675Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
2676
2677 * mpw.c (mpw_access): Add missing parens.
2678
2679Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2680
2681 * configure.in: Call AC_HEADER_SYS_WAIT.
2682
2683 * pexecute.c: Include sys/wait.h when !IN_GCC.
2684
2685Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
2686
2687 * pexecute.c: revert back to checking old Cygwin
2688 preprocessor symbol until some time has passed.
2689
2690Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
2691
2692 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
2693 since it will now support similar constructs.
2694
2695Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2696
2697 * configure.in: Check for calloc.
2698
2699 * calloc.c: New file.
2700
2701 * xmalloc.c (xcalloc): New function.
2702
2703Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2704
2705 *cplus-dem.c (demangle_prefix): Use the last "__"
2706 in the mangled name when looking for the signature. This allows
2707 template names to begin with "__".
2708
27091998-11-08 Mark Mitchell <mark@markmitchell.com>
2710
2711 * cplus-dem.c (type_kind_t): Add tk_reference.
2712 (demangle_template_value_parm): Handle it.
2713 (do_type): Use it for references, instead of tk_pointer.
2714
2715 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
2716 not internal_cplus_demangle.
2717
2718Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2719
2720 * choose-temp.c: Don't include gansidecl.h.
2721 * mkstemp.c: Likewise.
2722 * pexecute.c: Likewise.
2723
2724Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
2725
2726 * configure.in: detect cygwin* instead of cygwin32*
2727 * configure: regenerate
2728
2729Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2730
2731 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
2732 whether to include config.h. Possibly include unistd.h in the
2733 !IN_GCC case. Define VFORK_STRING as a printable function call
2734 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
2735 defined, include vfork.h. If VMS is defined, define vfork()
2736 appropriately. Remove vfork check on USG, we're using autoconf.
2737 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
2738 locally what string to use.
2739
27401998-10-26 Mark Mitchell <mark@markmitchell.com>
2741
2742 * splay-tree.c: Tweak include directives to make sure declarations of
2743 xmalloc and free are available.
2744
27451998-10-25 Mark Mitchell <mark@markmitchell.com>
2746
2747 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
2748 anonymous namespaces.
2749
27501998-10-23 Mark Mitchell <mark@markmitchell.com>
2751
2752 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
2753 with type_quals.
2754 (TYPE_UNQUALIFIED): New macro.
2755 (TYPE_QUAL_CONST): Likewise.
2756 (TYPE_QUAL_VOLATILE): Likewise.
2757 (TYPE_QUAL_RESTRICT): Likewise.
2758 (code_for_qualifier): New function.
2759 (qualifier_string): Likewise.
2760 (demangle_qualifier): Likewise.
2761 (internal_cplus_demangle): Use them.
2762 (demangle_signature): Likewise.
2763 (demangle_template_value_parm): Likewise.
2764 (do_type): Likewise.
2765 (demangle_fund_type)): Likewise.
2766
2767Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2768
2769 * splay-tree.c (splay_tree_foreach_helper): Make definition static
2770 to match prototype.
2771
27721998-10-21 Mark Mitchell <mark@markmitchell.com>
2773
2774 * splay-tree.c: New file.
2775 * Makefile.in (CFILES): Add it.
2776 (REQUIRED_OFILES): Likewise.
2777 (splay-tree.o): Add dependencies.
2778
2779Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2780
2781 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
2782 range of 'K' index.
2783
2784Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2785
2786 * choose-temp.c: Prototype mkstemps() when IN_GCC.
2787
2788 * cplus-dem.c (consume_count): Cast argument of ctype macro to
2789 `unsigned char'.
2790 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
2791 comparing against one.
2792 (cplus_mangle_opname): Likewise.
2793 (demangle_integral_value): Cast argument of ctype macro to
2794 `unsigned char'.
2795 (demangle_template_value_parm): Likewise.
2796 (demangle_template): Initialize variable `bindex'. Cast the
2797 result of `strlen' to (int) when comparing against one. Remove
2798 unused variable `start_of_value_parm'.
2799 (demangle_class_name): Cast the result of `strlen' to (int) when
2800 comparing against one.
2801 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
2802 (gnu_special): Likewise. Cast the result of `strlen' to (int)
2803 when comparing against one.
2804 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
2805 (get_count): Likewise.
2806 (do_type): Likewise. Cast the result of `strlen' to (int) when
2807 comparing against one.
2808 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
2809 (demangle_function_name): Cast the result of `strlen' to (int)
2810 when comparing against one.
2811
2812 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
2813 comparing against one.
2814
2815Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
2816
2817 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
2818 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
2819 * config.in, configure: Rebuilt.
2820
2821 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
2822 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
2823 * config.in, configure: Rebuilt.
2824
2825Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
2826
2827 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
2828
2829Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
2830
2831 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
2832
2833Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
2834
2835 * Merge egcs & devo libiberty.
2836