2003-04-08 Elena Zannoni <ezannoni@redhat.com>
[deliverable/binutils-gdb.git] / libiberty / ChangeLog
CommitLineData
aa072e59
AO
12003-03-23 Alexandre Oliva <aoliva@redhat.com>
2
3 * Makefile.in (MULTIOSDIR): New macro. Use $(CC) $(LIBCFLAGS)
4 instead of $$CC alone.
5 (install_to_tooldir): Use it.
6
f77ed96c
DD
72003-17-03 Jan Hubicka <jh@suse.cz>
8
9 * hashtab.c (htab_traverse_noresize): Break out from ...
10 * hashtab.c (htab_traverse): ... here.
11
2336e177
DD
122003-12-03 Jan Hubicka <jh@suse.cz>
13
14 * hashtab.c (htab_expand): Fix warning.
15
16 * hashtab.c (htab_expand): Compute the size of hashtable based
17 on the number of elements actually used.
18 (htab_traverse): Call htab_expand when table is too empty.
19
c4d8feb2
DD
202003-12-03 Jan Hubicka <jh@suse.cz>
21
22 * hashtab.c (htab_expand): Compute the size of hashtable based
23 on the number of elements actually used.
24 (htab_traverse): Call htab_expand when table is too empty.
25
d8cbbf95
DD
262003-03-11 Carlo Wood <carlo@gnu.org>
27
28 * cplus-dem.c (demangle_integral_value): Correction to reflect
29 patch of 2002-01-10 in order to also make negative multi-digits
30 without leading underscore work.
31
a01fefeb
DD
322003-03-03 Mark Mitchell <mark@codesourcery.com>
33
34 * cplus-dem.c: Add license exception to copyright notice.
35
638ceb1a
DD
362003-02-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
37
38 * physmem.c: Formatting changes from upstream.
39
ef803806
DD
402003-02-24 Danny Smith <dannysmith@users.source.forge.net>
41
42 * physmem.c (physmem_total): Add _WIN32 support.
43 (physmem_available): Likewise.
44
181fa229
DD
452003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
46
47 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
48 GSI_PHYSMEM.
49 (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS.
50
cc529274
DD
512003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
52
53 * configure.in: Check for sys/systemcfg.h and
54 _system_configuration.
55 * physmem.c: Add support for AIX. Tweek formatting as per
56 upstream coreutils beta.
57
582003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
59 Richard Earnshaw <rearnsha@arm.com>
60 Geoffrey Keating <geoffk@apple.com>
61
62 * configure.in: Check for sys/sysctl.h and sysctl.
63 * physmem.c: Add support for *bsd and darwin.
64 * Makefile.in: Generate depedency for physmem.o.
65
192cbe66
DD
662003-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
67
68 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on
69 Tru64 UNIX.
70 (physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on
71 Tru64 UNIX.
72
73 * configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h,
74 machine/hal_sysinfo.h, sys/table.h.
75 (checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table.
76 * configure, config.in: Regenerate.
77
900d2082
DD
782003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
79
80 * physmem.c (physmem_total, physmem_available): De-ANSI-fy.
81 * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and
82 pstat_getdynamic.
83
4938384a
DD
842003-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
85
86 * Makefile.in (CFILES): Add physmem.c.
87 (REQUIRED_OFILES): Add physmem.o.
88 * configure.in: Check for sys/pstat.h.
89 (checkfuncs): Add pstat_getstatic and pstat_getdynamic.
90 * physmem.c: New file, copied from textutils.
91
92 * config.in, configure: Regenerated.
93
ba61a412
DJ
942003-02-20 Daniel Jacobowitz <drow@mvista.com>
95
96 * Makefile.in (CFILES): Add lrealpath.c.
97 (REQUIRED_OFILES): Add lrealpath.o.
98 (lrealpath.o): Add rule.
99 * aclocal.m4 (libiberty_NEED_DECLARATION): Add.
100 * configure.in: Add realpath and canonicalize_file_name to
101 checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION
102 for canonicalize_file_name.
103 * lrealpath.c: New file.
104 * make-relative-prefix.c: Update documentation.
105 (make_relative_prefix): Simplify. Use lbasename and lrealpath.
106 * config.in: Regenerated.
107 * configure: Regenerated.
108 * functions.texi: Regenerated.
109
25dfe0ac
DD
1102003-02-20 jmc <jmc@prioris.mini.pw.edu.pl>
111
112 * cplus_dem.c: Fix typo: intializes -> initializes.
113
8b90eef4
AO
1142003-02-20 Alexandre Oliva <aoliva@redhat.com>
115
116 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
117 config.status.
118 * configure: Rebuilt.
119
fcd7c7c9
DD
1202003-02-13 Daniel Jacobowitz <drow@mvista.com>
121
122 Fix PR c++/7612.
123 * cplus-dem.c (demangle_signature): Call string_delete.
124 Remove extra string_init.
125 (demangle_arm_hp_template): Call string_delete instead of
126 string_clear. Add missing string_delete call.
127 (demangle_qualified): Add missing string_delete call.
128 (do_type): Remove unused variable btype. Add missing string_delete
129 call. Call string_delete instead of string_clear.
130 (demangle_fund_type): Move variable btype inside of the switch
131 statement. Add missing string_delete call.
132 (do_arg): Call string_delete instead of string_clear. Remove extra
133 string_init.
134 (demangle_nested_args): Free work->previous_argument.
135
073c427b
DD
1362003-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
137
138 * acconfig.h: New file. Add uintptr_t.
139 * config.in: Regenerated.
140
f8bd3000
DD
1412003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
142
143 * libiberty.texi: Update to GFDL 1.2.
144
85b9a938
DD
1452003-01-30 Christian Cornelssen <ccorn@cs.tu-berlin.de>
146
147 * Makefile.in (libiberty_topdir): New subst.
148 (mkinstalldirs): Redefine in terms of the above.
149 * configure.in: AC_SUBST it.
150 * configure: Regenerate.
151
578460f2
AO
1522003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de>
153
154 * Makefile.in (all-subdir, check-subdir, installcheck-subdir)
155 (info-subdir, install-info-subdir, clean-info-subdir)
156 (dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
157 (clean-subdir, distclean-subdir, maintainer-clean-subdir):
158 Pass $(FLAGS_TO_PASS).
159
7f285245
AO
1602003-01-27 Alexandre Oliva <aoliva@redhat.com>
161
162 * Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
163 /`$$CC -print-multi-os-directory`.
164
5f9624e3
DJ
1652003-01-26 Daniel Jacobowitz <drow@mvista.com>
166
167 * hashtab.c (htab_create_alloc_ex): New function.
168 (hatab_set_functions_ex): New function.
169 (htab_delete, htab_expand): Support alternate allocation functions.
170
9c2259b8
DD
1712003-01-24 Christopher Faylor <cgf@redhat.com>
172
173 * configure.in: Remove special pex-cygwin consideration.
174 * configure: Regenerate.
175 * pex-cygwin.c: Remove.
176 * Makefile.in: Remove pex-cygwin.[co] lines.
177
5a17353c
DD
1782003-01-24 Zack Weinberg <zack@codesourcery.com>
179
180 * Makefile.in (CFILES): Add pex-*.c.
181 (REQUIRED_OFILES): Change pexecute.o to @pexecute@
182 (CONFIGURED_OFILES): Add pex-*.o.
183 (TEXIFILES): Add pexecute.txh.
184 (pexecute.o): Delete rule.
185 (pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o,
186 pex-unix.o, pex-win32.o): New rules.
187 * configure.in: Change AC_INIT argument to xmalloc.c.
188 Compute appropriate pexecute implementation and substitute it
189 as @pexecute@.
190
191 * pexecute.c: Split up into...
192 * pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c,
193 pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these
194 new files.
195
196 * functions.texi: Regenerate.
197 * configure: Regenerate.
198
eed2b28c
DD
1992003-01-20 Josef Zlomek <zlomekj@suse.cz>
200
201 * hashtab.c (htab_expand): Fix allocation of new entries.
202
27a39a5f
DD
2032003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
204
205 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
206
207 * Makefile.in (install_to_libdir, install_to_tooldir): Add a
208 mkinstalldirs command.
209
b51c1553
DD
2102002-12-04 Danny Smith <dannysmith@users.sourceforge.net>
211
212 * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
213 Define for hosts with HOST_EXECUTABLE_SUFFIX.
214
756954c3
DD
2152002-11-24 Nick Clifton <nickc@redhat.com>
216
217 * make-relative-prefix.c (make_relative_prefix): Ensure return
218 string is empty before using strcat to construct it.
219
2a80c0a4
DD
2202002-11-22 Daniel Jacobowitz <drow@mvista.com>
221
222 * Makefile.in: Add make-relative-prefix.c.
223 * make-relative-prefix.c: New file.
224 * functions.texi: Rebuilt.
225
768b20d8
JJ
2262002-11-16 Jakub Jelinek <jakub@redhat.com>
227
228 * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
229 used with arguments in traditional C' warnings.
230
f52d1d64
JJ
2312002-10-16 Jakub Jelinek <jakub@redhat.com>
232
233 * config.table: Use mh-s390pic for s390x too.
234
0d3deb8d
DD
2352002-10-06 Andreas Jaeger <aj@suse.de>
236
237 * libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded
238 variable and of strict-aliasing warning.
239 (grow_vect): Use char as first parameter.
240
1b67de92
DD
2412002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
242
243 * Makefile.in (all): Fix multilib parallel build.
244
585cc78f
DD
2452002-09-19 John David Anglin <dave@hiuly1.hia.nrc.ca>
246
247 * cp-demangle.c (demangling_new): Cast 0 to enum.
248 (demangle_char): Cast return of strdup to char *.
249 (is_gnu_v3_mangled_ctor): Cast 0 to enum.
250 (is_gnu_v3_mangled_dtor): Likewise.
251 * cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
252 (work_stuff_copy_to_from): Cast return of xmalloc to char **.
253 * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
254 * md5.c (md5_process_bytes): Cast results back to const void *.
255 (md5_process_block): Add cast to const md5_uint32 *.
256 * regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
257 * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
258 unsigned short.
259 * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
260 to void *.
261 * vasprintf.c (int_vasprintf): Cast return of malloc to char *.
262
e21b0cc1
NC
2632002-09-19 Nick Clifton <nickc@redhat.com>
264
265 * README: Update email addresses for bugs and patches.
266
a54ba43f
DD
2672002-09-10 Mike Stump <mrs@apple.com>
268
269 * splay-tree.c (splay_tree_successor): Fix comments.
270
2712002-09-11 Zack Weinberg <zack@codesourcery.com>
272
273 * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
274 * testsuite/Makefile.in: Adjust for test-demangle.
275 * testsuite/regress-demangle: Deleted.
276 * testsuite/test-demangle.c: New file.
277 * testsuite/demangle-expected: Change \$ to $ throughout, now that
278 this file is not being read by a shell script.
279
01cea699
DD
2802002-09-05 Roger Sayle <roger@eyesopen.com>
281
282 * regex.c: Only use "#pragma alloca" on AIX when not using gcc.
283
a2832523
DD
2842002-08-07 DJ Delorie <dj@redhat.com>
285
286 * regex.c (re_error_msgid): Just use a simple array of strings.
287 (re_compile_pattern): Compensate.
288 (re_comp): Likewise.
289 (re_comp): Likewise.
290 (regerror): Likewise.
291
1e3f0be0
DD
2922002-07-29 Neil Booth <neil@daikokuya.co.uk>
293
294 * cplus-dem.c (PREPEND_BLANK): Remove.
295
b851d07b
DD
2962002-07-10 Jason Merrill <jason@redhat.com>
297
298 * cp-demangle.c (demangle_identifier): Support extended Unicode
299 characters.
300
2a9dffbf
DD
3012002-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
302
303 * cp-demangle.c (demangle_v3_with_details): Wrap in
304 !defined IN_GLIBCPP_V3.
305
793011ca
DD
3062002-07-01 Mark Mitchell <mark@codesourcery.com>
307
308 * cp-demangle.c (demangle_operator_name): Add type_arg parameter.
309 Set it for the "st" operator.
310 (demangle_expression): Handle expressions with types as arguments.
311
b39b76b8
DD
3122002-06-30 Douglas Rupp <rupp@gnat.com>
313
314 * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
315 * Makefile.in (OUTPUT_OPTION): Use.
316
4748c6d8
DD
3172002-06-22 Peter Breitenlohner <peb@mppmu.mpg.de>
318
319 * Makefile.in (install_to_libdir): Add $(DESTDIR).
320 (install_to_tooldir): Likewise.
321
f9c3326a
DD
3222002-06-17 Douglas Rupp <rupp@gnat.com>
323
324 * lbasename.c: Add 2002 to copyright.
325 (IS_DIR_SEPARATOR): Remove VMS junk.
326
18893690
DD
3272002-06-05 Geoffrey Keating <geoffk@redhat.com>
328
329 * hashtab.c (htab_create): New stub function for backward
330 compatibility.
331 (htab_try_create): Likewise.
332
3332002-06-03 Geoffrey Keating <geoffk@redhat.com>
334
335 * hashtab.c (htab_create): Delete.
336 (htab_try_create): Delete.
337 (htab_create_alloc): New.
338 (htab_delete): Support user-specified memory allocation.
339 (htab_expand): Likewise.
340
3412002-05-22 Roman Lechtchinsky <rl@cs.tu-berlin.de>
342
343 * configure.in: Fix typo in the code checking for sys_errlist.
344 * configure: Regenerated.
345
9296c8b2
DD
3462002-05-13 Andreas Schwab <schwab@suse.de>
347
348 * config.table: Use mh-x86pic also for x86-64.
349
52d98c2d
DD
3502002-05-08 Alexandre Oliva <aoliva@redhat.com>
351
352 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
353 script entry, and set LD to it when configuring multilibs.
354 * configure: Rebuilt.
355
cafa3917
DD
3562002-05-07 Mark Mitchell <mark@codesourcery.com>
357
358 * configure.in (AC_TYPE_PID_T): Use it.
359 * configure: Regenerated.
360 * getruntime.c: Include <sys/types.h>.
361 * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid".
362
b1c933fc
RH
3632002-04-09 Richard Henderson <rth@redhat.com>
364
365 * hashtab.c (higher_prime_number): Use 7 as minimum.
366 (find_empty_slot_for_expand): Don't compute hash2 unless needed.
367 (htab_find_slot_with_hash): Likewise.
368
0c4460bb
DD
3692002-04-01 Phil Edwards <pme@gcc.gnu.org>
370
371 * cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
372 (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally
373 not compile if IN_GLIBCPP_V3 defined.
374 * dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme.
375
f2160d2b
DD
3762002-03-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
377
3ebf1f59 378 * cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
f2160d2b
DD
379 if it is NULL.
380
7dd4d42a
DD
3812002-03-27 DJ Delorie <dj@redhat.com>
382
383 * hex.c: Add documentation.
384 (_hex_value): Provide non-ASCII empty table.
385 (hex_init): Initialize the non-ASCII table.
386 * functions.texi: Regenerate.
387
38e57a35
DD
3882002-03-27 Mark Mitchell <mark@codesourcery.com>
389
390 * dyn-string.c: Add libgcc exception to copyright notice.
391
cfed0715
DD
3922002-03-26 H.J. Lu (hjl@gnu.org)
393
394 * config.table: Support --with-build-subdir.
395 * configure.in: Likewise.
396 * configure: Rebuild.
397
1504972f
DD
3982002-03-18 Stuart Griffith <Stuart_Griffith@credence.com>
399
400 * strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
401 seen.
402
35efcd67
DD
4032002-03-12 Mark Mitchell <mark@codesourcery.com>
404
405 * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
406 notice.
407
dabc64ea
DD
4082002-03-11 Douglas B Rupp <rupp@gnat.com>
409
410 * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
411
3ddbd84c
JB
4122002-03-06 Jim Blandy <jimb@redhat.com>
413
414 * splay-tree.c (splay_tree_xmalloc_allocate,
415 splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
416 prototyped definitions. Mark `data' arguments as unused.
417
efdab807
AC
4182002-03-06 Andrew Cagney <ac131313@redhat.com>
419
420 * floatformat.c (floatformat_arm_ext_big): Delete definition.
421
50d4562d
DD
4222002-03-04 Phil Edwards <pme@gcc.gnu.org>
423
424 * configure.in: Add --enable-install-libiberty option.
425 * Makefile.in (INSTALLED_HEADERS): New variable.
426 (install_to_libdir): Possibly also copy headers.
427 * configure: Regenerated.
428
4292002-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
430
431 * xmalloc.c (xmalloc_fail): Clarify error message further.
432
6e9980f5
DD
4332002-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
434
435 * xmalloc.c (xmalloc_fail): Clarify error message.
436
18893690 4372002-02-22 Jim Blandy <jimb@redhat.com>
2bbcdae9
JB
438
439 * splay-tree.c (splay_tree_xmalloc_allocate,
440 splay_tree_xmalloc_deallocate): New functions.
441 (splay_tree_new): Call splay_tree_new_with_allocator, passing the
442 above functions and a dummy data pointer.
443 (splay_tree_new_with_allocator): New function.
444 (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
445 splay_tree_remove): Use the splay tree's allocation and
446 deallocation functions.
447
59ea9fe7
DD
4482002-02-19 Scott Snyder <snyder@fnal.gov>
449
450 * testsuite/demangle-expected: Add test case for infinite loop in
451 demangler.
452 * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
453 if do_type() doesn't make any progress --- prevents an infinite
454 loop.
455
6f848550
DD
4562002-02-18 Carlo Wood <carlo@gnu.org>
457
458 PR c++/5390
459 * cplus-dem.c (demangle_integral_value): Accept multi-digit
460 numbers that do not start with an underscore; This is needed
461 for integer template parameters. This doesn't break anything
462 because multi-digit numbers are never followed by a digit.
463 * testsuite/demangle-expected: Corrected all mangled test
464 cases with multi-digit template parameters: g++ 2.95.x does
465 not generate underscores around these parameters.
466
44354ae1
DD
4672002-02-05 Jason Merrill <jason@redhat.com>
468
469 * cplus-dem.c (flags): Add DMGL_VERBOSE
470 (cplus_demangle_v3_p): Remove.
471 (demangle_it): Add DMGL_TYPES to passed flags.
472 * cp-demangle.c (cplus_demangle_v3_all): Remove.
473 (cplus_demangle_v3_type): Remove.
474 (cplus_demangle_v3): Add options parm.
475
42da15d6
DD
4762002-02-02 H.J. Lu (hjl@gnu.org)
477
478 * cp-demangle.c (cp_demangle_type): Do not protect with
479 IN_LIBGCC2.
480 (cplus_demangle_v3_all): New.
481 (cplus_demangle_v3): Call cplus_demangle_v3_all.
482 (cplus_demangle_v3_type): Call cplus_demangle_v3_all.
483
484 * cplus-dem.c (cplus_demangle_v3_p): New function pointer.
485 Initialized to cplus_demangle_v3.
486 (cplus_demangle_with_style): Call cplus_demangle_v3_p instead
487 of cplus_demangle_v3.
488 (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
489 command line symbol.
490
491 * testsuite/regress-demangle: Pass the mangled name at the
492 command line.
493
b117c158
DD
4942002-02-01 H.J. Lu <hjl@gnu.org>
495
496 * cp-demangle.c (cp_demangle_type): Call demangling_new with
497 DMGL_GNU_V3.
498
c78d91b1
DD
4992002-01-31 Phil Edwards <pme@gcc.gnu.org>
500
501 * cp-demangle.c: Revert yesterday's change.
502
bef8b55d
DD
5032002-01-31 Adam Megacz <adam@xwt.org>
504
505 * gcc/libiberty/configure.in: Treat mingw the same as cywin
506 wrt HAVE_SYS_ERRLIST.
507
2c955b8b
DD
5082002-01-30 Phil Edwards <pme@gcc.gnu.org>
509
510 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
511 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on
512 cp_demangle_type.
513 * testsuite/demangle-expected: New gnu-v3 test.
514
58b1717a
RH
5152002-01-22 Momchil Velikov <velco@fadata.bg>
516
517 * configure.in (variable detection): Use arrays of unspecified
518 size instead of plain integers.
519
cc096b71
DD
5202002-01-18 DJ Delorie <dj@redhat.com>
521
522 * Makefile.in (TESTLIB): New. This library is for future
523 testsuites.
524 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
525 break down by letter.
526 (REQUIRED_OFILES): List long-to-compile files first.
527 (maint-deps): New, target for updating dependencies.
528 (dependencies): Update.
529 * maint-tool: Add dependency-generating option.
530 * configure.in: Check for _doprnt even if we're not providing it.
531 * configure: Regenerate.
532
533 * _doprnt.c: Modifications to allow compiling on any platform.
534 * copysign.c: Likewise.
535 * putenv.c: Likewise.
536 * setenv.c: Likewise.
537 * vsprintf.c: Likewise.
538
5392002-01-15 Douglas B Rupp <rupp@gnat.com>
540
541 * mkstemps.c (mkstemps): On VMS, open temp file with option
542 that causes it to be deleted when closed.
543
20d54542
DD
5442002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
545
c23795e2
DD
546 * cp-demangle.c (long_options): Const-ify.
547 * cplus-dem.c (long_options): Likewise.
548
20d54542
DD
549 * cplus-dem.c (mystrstr): Delete. All callers changed to use
550 strstr instead.
551
f348a7b1
DD
5522001-12-31 Ira Ruben <ira@apple.com>
553
554 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
555 * configure: Regenerated.
556
d86cd745
DD
5572001-12-24 Douglas B. Rupp <rupp@gnat.com>
558
559 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
560 * configure: Regenerated.
561
ae533646
DD
5622001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
563
564 PR other/2719
565 * cplus-dem.c (consume_count): Treat negative count as an error.
566 * testsuite/demangle-expected: Added testcase.
567
c0eb281b
DD
568Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
569
570 * configure.in: Hardcode that vfork works on VMS host.
571 * configure: Regenerated.
572
2da4c07f
RH
5732001-12-06 Richard Henderson <rth@redhat.com>
574
575 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
576 (cplus_demangle): Support no_demangling.
577
24acd898
DD
5782001-11-27 Zack Weinberg <zack@codesourcery.com>
579
580 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
581 in libiberty context. Fix typo in leading comment.
582 * configure.in: Fix various AC_DEFINEs so autoheader works.
583 If any of vprintf, vsprintf, vfprintf is missing from libc,
584 then AC_REPLACE_FUNCS(_doprnt).
585
fec50157 5862001-11-26 DJ Delorie <dj@redhat.com>
d86cd745 587 Daniel Jacobowitz <drow@mvista.com>
fec50157
DD
588
589 * Makefile.in (stamp-h): Depend on Makefile for proper
590 serialization.
591 (*-subdir): Depend on config.h for proper serialization.
592
5527febf
DD
5932001-11-26 DJ Delorie <dj@redhat.com>
594
595 * configure.in: Check for alloca.h (for regex.c and putenv.c).
596 * configure: Regenerate.
597 * config.h: Add HAVE_ALLOCA_H.
598
941d74a0
DD
5992001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
600
601 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
602 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
603 is available.
604
dc579051
DD
605Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
606
607 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
608 * configure.in (HAVE_UINTPTR_T): Test for system defining
609 uintptr_t and define HAVE_UINTPTR_T appropriately.
610 * regex.c (uintptr_t): Do not provide a definition if the
611 system provided one.
612
613 * regex.c (PREFIX): Provide an alternate definition for
614 non-ANSI/ISO compilers.
615 (ARG_PREFIX): Likewise.
616
1a78a35a
DD
6172001-11-12 Jim Meyering <meyering@lucent.com>
618
619 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
620 this code would end up calling gettext even in packages built
621 with --disable-nls.
622 * getopt.c (_): Likewise.
623 * regex.c (_): Likewise.
624
4e55c4b6
DD
6252001-11-03 Alan Modra <amodra@bigpond.net.au>
626
627 * configure.in: Cope with missing makeinfo.
628 * configure: Regenerate.
629
d311a83a
DD
6302001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
631
632 * hex.c (hex_init): Provide empty stub.
633
634 * hex.c (hex_init): Delete.
635 (_hex_value): Const-ify and initialize at compile-time.
636
3bc62f91
DD
6372001-10-19 H.J. Lu <hjl@gnu.org>
638
639 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
640 necessary.
641
5d852400
DD
6422001-10-17 DJ Delorie <dj@redhat.com>
643
644 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
645 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
5527febf 646 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
5d852400
DD
647 Improve manual formatting.
648 * functions.texi: Regenerate.
649
ba19b94f
DD
6502001-10-15 DJ Delorie <dj@redhat.com>
651
652 * Makefile.in (TEXIFILES): Add fnmatch.txh.
653 (maint-undoc): New.
654 maint-tool: Add "undoc" tool.
655 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
656 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
657 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
658 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
659 documentation.
660 * fnmatch.txh: New.
661 * functions.texi: Regenerate.
662
56056af5
DD
6632001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
664
665 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
666 * strtod.c: Use "ISO C" instead of "ANSI C".
667 * functions.texi: Regenerate.
668
99b58139
DD
6692001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
670
671 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
672 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
673 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
674 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
675 spelling. Give names to function arguments in documentation. Use
676 (void) prototypes in documentation.
677 * functions.texi: Regenerate.
678
e6450fe5
DD
6792001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
680
681 * argv.c (buildargv, tests, main): Const-ify.
682 * cp-demangle.c (operator_code): Likewise.
683 * cplus-dem.c (optable, libiberty_demanglers,
684 cplus_demangle_set_style, cplus_demangle_name_to_style,
685 print_demangler_list): Likewise.
686 * hashtab.c (higher_prime_number): Likewise.
687 * strcasecmp.c (charmap): Likewise.
688 * strerror.c (error_info, strerror, main): Likewise.
689 * strncasecmp.c (charmap): Likewise.
690 * strsignal.c (signal_info): Likewise.
691
da191b5b
DD
6922001-09-29 DJ Delorie <dj@redhat.com>
693
694 * configure: Regenerate.
695
916aaa12
DD
6962001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
697
698 * concat.c: Include stdlib.h.
699
fa9f0e33
DD
7002001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
701
702 * libiberty.texi: (Top level): Add syncodeindex pg. Add
703 @dircategory and @direntry directives. Add @finalout.
704 (many nodes): Lose the next,prev,up pointers on the @nide line.
705 (Using, Supplemental Functions, Replacement Functions): Fix
706 markup.
707 (Functions): Move around, to allow makeinfo to build the manual
708 without next,prev,up pointers in thye node lines.
709 (Licenses): Fix typos.
710
711 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
712 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
713 * functions.texi: Regenerate.
714
715 * copying-lib.texi: Lose the next,prev,up pointers on the @node
716 line.
717
7182001-09-27 DJ Delorie <dj@redhat.com>
719
720 * configure.in: Don't use in-tree texinfo, because libiberty must
721 be built before it. Check for makeinfo version 4 or higher.
722 * functions.texi: Regenerate.
723
39423523
DD
7242001-09-20 DJ Delorie <dj@redhat.com>
725 Phil Edwards <pedwards@disaster.jaj.com>
726
727 * configure.in (MAKEINFO, PERL): Detect these.
728 (--enable-maintainer-mode): Add.
729 * configure: Regenerate.
730 * Makefile.in (MAKEINFO, PERL): Define.
731 (libiberty.info, libiberty.dvi, libiberty.html): New.
732 (CFILES): Add bsearch.c.
733 (CONFIGURED_OFILES): New, list of objects configure might add.
734 (maint-missing, maint-buildall): New, for maintainers only.
735 (clean, mostlyclean): Add info/dvi/html files.
736 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
737 * gather-docs: New, for maintainers.
738 * maint-tool: New, for maintainers.
739 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
740 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
741 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
742 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
743 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
744 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
745 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
746 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
747 documentation.
748
66c94e19
DD
7492001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
750
751 * concat.c (reconcat): Fix for traditional C.
752
99ee3a8f
DD
7532001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
754
755 * concat.c (reconcat): New function.
756
54c20242
DD
7572001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
758
759 * concat.c (vconcat_length, vconcat_copy, concat_length,
760 concat_copy, concat_copy2): New functions.
761 (concat): Use vconcat_length/vconcat_copy.
762
763 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
764 Define.
765
843f21be
DD
7662001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
767
768 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
769 VA_FIXEDARG & VA_CLOSE.
770
771 * vasprintf.c: Check HAVE_STRING_H when including string.h.
772 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
773 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
774
8a423cb3
DD
7752001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
776
777 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
778
dc676635
DD
7792001-08-23 Ulrich Drepper <drepper@redhat.com>
780
781 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
782
7832001-08-23 Ulrich Drepper <drepper@redhat.com>
784
785 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
786 instead of mbrtowc.
787 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
788 wcslen, and __wcscoll instead of wcscoll.
789
f080c76d
DD
7902001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
791
3ebf1f59
DD
792 * fibheap.c (fibheap_init, fibnode_init): Remove.
793 (fibheap_new, fibnode_new): Use xcalloc to allocate and
794 initialize memory.
795 (fibheap_insert): Remove check for node allocation failure.
f080c76d 796
f01b59ed
DD
7972001-08-21 Richard Henderson <rth@redhat.com>
798
799 * Makefile.in (fibheap.o): Depend on config.h.
800 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
801 functions for inlining.
802
803Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
804
805 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
806 hosting on cygwin.
807 * configure: Regenerate.
808
eb828599
AC
8092001-08-20 Andrew Cagney <ac131313@redhat.com>
810
811 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
812 HARRIS_FLOAT_FORMAT.
813 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
814 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
815 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
816 (floatformat_m88110_harris_ext): New float formats.
817
4e55c4b6
DD
8182001-08-20 Daniel Berlin <dan@cgsoftware.com>
819
820 * fibheap.c: New file. Fibonacci heap.
821
822 * Makefile.in (CFILES): Add fibheap.c.
823 (REQUIRED_OFILES): Add fibheap.o.
824 (fibheap.o): Add dependencies for fibheap.o.
825
68a41de7
DD
8262001-08-17 Christopher Faylor <cgf@cygnus.com>
827
828 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
829 * configure: Regenerate.
830
8fc34799
DD
8312001-08-16 Richard Henderson <rth@redhat.com>
832
833 * hashtab.c (htab_hash_string): New.
834
16bad250
AC
8352001-08-13 Andrew Cagney <ac131313@redhat.com>
836
837 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
838 name.
839
a9022147
DD
8402001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
841
842 * regex.c (wcs_regex_compile): Use appropriate string
843 to compare with collating element.
844 Fix the padding for the alignment.
845
8aefe91a 8462001-08-10 Andrew Cagney <ac131313@redhat.com>
3ea71002
AC
847
848 * lbasename.c (lbasename): Change function definition to return a
849 const char pointer.
850
e7e9b069
DD
8512001-08-07 Jason Merrill <jason_merrill@redhat.com>
852
853 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
854 for".
855
cc5144f8
DD
8562001-08-03 Richard Henderson <rth@redhat.com>
857
858 * Makefile.in (concat.o): Depend on config.h.
859
8aefe91a
DD
8602001-07-30 Andreas Jaeger <aj@suse.de>
861
862 * concat.c: Include "config.h".
863
86710ce2
DD
8642001-07-30 Andreas Jaeger <aj@suse.de>
865
866 * regex.c: Declare wcs functions only if compiling with
867 MBS_SUPPORT.
868 Don't use #elif for traditional C.
869
8702001-07-23 Ulrich Drepper <drepper@redhat.com>
871
872 * regex.c: Revamp memory allocation for WCHAR functions to
873 not use too much stack.
874
8752001-07-30 Andreas Jaeger <aj@suse.de>
876
877 * regex.c: Declare wcs functions only if compiling with
878 MBS_SUPPORT.
879 Don't use #elif for traditional C.
880
a5d8f731
DD
8812001-07-25 Daniel Jacobowitz <drow@mvista.com>
882
883 * Makefile.in (regex.o): Add dependency on config.h.
884
6ad8a379
DD
8852001-07-18 Andreas Schwab <schwab@suse.de>
886
887 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
888 underscore character.
889
8902001-07-18 Ulrich Drepper <drepper@redhat.com>
891
892 * regex.c: Limit string length printed in debug messages to 100
893 chars.
894
8952001-07-18 Andreas Jaeger <aj@suse.de>
896
897 * regex.c: Place under LGPL version 2.1.
898
2a6ef469
DD
8992001-07-10 Jeff Johnston <jjohnstn@redhat.com>
900
901 * Makefile.in: Add support for regex code.
902 * regex.c: New file.
903
7b78baae
DD
9042001-07-05 Mark Klein <mklein@dis.com>
905
906 * Makefile.in: Add ffs.c dependency.
907 * configure.in: Add ffs.c.
908 * ffs.c: New file.
909
926150e2
DD
9102001-06-18 Richard Henderson <rth@redhat.com>
911
912 * concat.c: Include <sys/types.h>.
913
11f6f21d
DD
9142001-06-11 Loren J. Rittle <ljrittle@acm.org>
915
916 bootstrap/3106
917 * strerror.c (sys_nerr): Hide the OS header version.
918 * strsignal.c (sys_nsig): Likewise.
919
d42dae6c
DD
9202001-06-10 Richard Henderson <rth@redhat.com>
921
922 * concat.c: Include string.h. Fix int vs size_t usage.
923 Simplify the iteration loops. Use memcpy.
924
e05c6d27
DD
9252001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
926
927 * partition.c: Fix misspelling of `implementation'.
928
b50c4073
DD
9292001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
930
931 * md5.c (md5_init_ctx): Declare constants as unsigned.
932 (md5_process_block): Likewise.
933
457161bf
DD
9342001-05-07 Zack Weinberg <zackw@stanford.edu>
935
936 * cp-demangle.c (demangle_v3_with_details,
937 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
938 function definition.
939 * ternary.c: Use K+R style function definitions. Use PTR, not
940 void *. Make arguments constant where possible.
941
e00bc6a7
DD
9422001-05-07 Mark Mitchell <mark@codesourcery.com>
943
944 * splay-tree.h (splay_tree_max): New function.
945 (splay_tree_min): Likewise.
946
400ee7e1
DB
9472001-04-15 Daniel Berlin <dan@cgsoftware.com>
948
949 * ternary.c: New file - Ternary search tree implementation.
a5dd804e
DB
950
951 * Makefile.in: Add ternary.o, and ternary.c dependencies.
400ee7e1 952
d9697354
DD
9532001-04-03 Zack Weinberg <zackw@stanford.edu>
954
955 * make-temp-file.c (try): Inline.
956
a7bf099b
DD
9572001-02-28 Richard Henderson <rth@redhat.com>
958
959 * Makefile.in (make-temp-file.o): Depend on config.h.
960
30a1def2
DD
9612001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
962
963 * memchr.c (memchr): Adjust condition to avoid infinite loop.
964
079c672a
DD
9652001-03-23 Jakub Jelinek <jakub@redhat.com>
966
967 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
968 `_' not followed by a digit is invalid.
969
a88e356a
JB
9702001-03-22 Jim Blandy <jimb@redhat.com>
971
972 * cp-demangle.c (string_list_delete): Use dyn_string_delete
973 instead of free, to free the contents as well as the string
974 structure.
975
1dffcc66
DD
9762001-03-21 Zack Weinberg <zackw@stanford.edu>
977
978 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
979 Don't default P_tmpdir to anything. Try /var/tmp before
980 /usr/tmp.
981
9822001-03-20 Zack Weinberg <zackw@stanford.edu>
983
984 * choose-temp.c: Split off make_temp_file, and the code
985 duplicated between it and choose_temp_base, into...
986 * make-temp-file.c: ... here; new file.
987
988 * Makefile.in (CFILES): Add make-temp-file.c.
989 (REQUIRED_OFILES): Add make-temp-file.o.
990
e61231f1
JB
9912001-03-20 Jim Blandy <jimb@redhat.com>
992
993 * cp-demangle.c (struct demangling_def): New fields:
994 is_constructor and is_destructor.
995 (demangling_new): Initialize them.
996 (demangle_ctor_dtor_name): Set them, if we detect a constructor
997 or destructor.
998 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
999 is_gnu_v3_mangled_dtor): New functions.
1000
a9cbbe6d
DD
10012001-03-20 Jason Merrill <jason@redhat.com>
1002
1003 * cplus-dem.c (main): Skip initial $.
1004
b1e51b3c
DD
10052001-03-15 Michael Meissner <meissner@redhat.com>
1006
1007 * hashtab.c (higher_prime_number): Silence warning that 4294967291
1008 might be a signed integer under pre-ISO C systems.
1009
8aa30e60 10102001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
fa03f0a7 1011 John David Anglin <dave@hiauly1.hia.nrc.ca>
8aa30e60 1012
8aa30e60
DD
1013 * libiberty/lbasename.c: New file.
1014 * libiberty/Makefile.in: Update for lbasename.
8aefe91a 1015
30673bf5
DD
10162001-03-06 Zack Weinberg <zackw@stanford.edu>
1017
1018 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
1019 * configure.in: Replace all alloca logic with a simple use of
1020 the above new macro.
1021 * config.table: Kill *-*-beos* entry.
1022 * config/mh-beos: Delete.
1023 * configure, config.in: Regenerate.
fa03f0a7 1024
30673bf5
DD
1025 * Makefile.in (ALLOCA, HFILES): Kill.
1026 (REQUIRED_OFILES): Add alloca.o.
1027 (alloca.o): Depend on libiberty.h.
1028 (argv.o): Don't depend on alloca-conf.h.
1029 * alloca-conf.h: Delete.
1030 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
1031 blocks. Provide the C alloca unconditionally. Use PTR where
1032 appropriate. Make i00afunc static.
1033 * argv.c: Don't include alloca-conf.h.
fa03f0a7 1034
5810f394
DD
10352001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1036
1037 * cplus-dem.c (main): Cast enum style to int.
fa03f0a7 1038
a9db032a
DD
10392001-02-16 Loren J. Rittle <ljrittle@acm.org>
1040
1041 * cplus-dem.c (main): Initialize style.
fa03f0a7 1042
8aefe91a
DD
10432001-02-02 Phil Edwards <pme@sources.redhat.com>
1044
1045 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
1046
bc9bf259
DD
10472001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
1048
1049 Add support for Java demangling under the v3 ABI:
1050 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
1051 (struct demangling_def): Add `style' field.
1052 (demangling_new): New parameter `style'. Set it in demangling_t.
1053 (demangle_prefix): Use NAMESPACE_SEPARATOR.
1054 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
1055 (cp_demangle): New parameter `style'. Pass it to demangling_new().
1056 (main): Call cp_demangle with extra parameter.
1057 (java_demangle_v3): New function.
1058 (java_builtin_type_names): New. Table of primitive type names used
1059 for Java demangling.
1060 (demangle_builtin_type): Look up in java_builtin_type_names if doing
1061 Java output.
1062 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
1063 demangling.
1064 (long_options): Remove obsolete `java' option.
1065 (main): Remove explicit handling of `java' option. Instead, pass style
1066 parameter in cplus_demangle flags as gdb does.
1067 * testsuite/demangle.expected: Add some Java test cases.
fa03f0a7 1068
f6528837
DD
10692000-12-29 DJ Delorie <dj@redhat.com>
1070
1071 * fnmatch.c: Make the note about the origins of this file more
1072 accurate, at least until we can sync with glibc.
1073 * getopt.c: Ditto.
1074 * getopt1.c: Ditto.
1075 * md5.c: Ditto.
1076 * obstack.c: Ditto.
9d969b59 1077
c6da642e
DD
10782000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1079
1080 * bsearch.c: New file.
1081 * configure.in (funcs): Add bsearch.
1082 (AC_CHECK_FUNCS): Likewise.
1083 * configure, config.in: Regenerate.
1084
ae7d06ad 10852000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
1086
1087 * safe-ctype.c: #include "ansidecl.h".
1088 * strtod.c: Likewise.
1089
ae7d06ad 10902000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
1091
1092 * strtoul.c: Include safe-ctype.h, not ctype.h.
1093
ac424eb3
DD
10942000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
1095
1096 * safe-ctype.c: New file.
1097 * Makefile.in (CFILES): Add safe-ctype.c.
1098 (REQUIRED_OFILES): Add safe-ctype.o.
1099
1100 * argv.c: Define ISBLANK and use it, not isspace.
1101 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
1102 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
1103 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
1104 before calling TOLOWER(c)/TOUPPER(c).
1105
4415a860
DD
11062000-12-07 Mike Stump <mrs@wrs.com>
1107
1108 * Makefile.in (distclean): When cleaning, remove testsuite.
1109
849ee224
DD
11102000-12-05 Jason Merrill <jason@redhat.com>
1111
1112 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
1113 name before allocating the dyn_string.
1114
ae7d06ad 11152000-12-04 Jason Merrill <jason@redhat.com>
e49a569c
DD
1116
1117 * cp-demangle.c: s/new_abi/v3/.
1118 * cplus-dem.c: Likewise.
1119 (current_demangling_style): Now auto_demangling.
1120 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
ae7d06ad 1121 (main): Use standard symbol chars for auto_demangling.
e49a569c 1122
ae7d06ad 11232000-11-26 Mark Mitchell <mark@codesourcery.com>
5ca0f83d
DD
1124
1125 * hashtab.c (higher_prime_number): Use a table, rather than a
1126 seive, to find the next prime.
ae7d06ad
NC
1127
11282000-11-22 H.J. Lu <hjl@gnu.org>
1129
1130 * cplus-dem.c (main): Handle gnat_demangling.
1131
11322000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
2ea7befd
DD
1133
1134 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
1135 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
1136 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
1137 argument form of AC_DEFINE in dummy definitions block. Use
1138 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
1139 in dummy block. Preload cache variables instead of bypassing
1140 tests, where possible.
1141 * acconfig.h: Removed.
ae7d06ad 1142
2ea7befd
DD
1143 * xmalloc.c (xmalloc_failed): New function, does error
1144 reporting on failed allocation.
1145 (xmalloc, xcalloc, xrealloc): Use it.
9c26dc82 1146
f1775526
HPN
11472000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
1148
1149 * cplus-dem.c (cplus_demangle): Fix formatting.
1150 (grow_vect): Ditto.
1151 (ada_demangle): Ditto.
1152 (internal_cplus_demangle): Ditto.
1153 (mop_up): Ditto.
1154
11552000-11-21 H.J. Lu <hjl@gnu.org>
1156
1157 * cplus-dem.c (main): Handle java_demangling.
1158
ae7d06ad 11592000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
f1775526
HPN
1160
1161 * cplus-dem.c (grow_vect): Prototype.
1162 (ada_demangle): Cast the arg of ctype macros to unsigned char.
1163
5dd42ef4
HPN
11642000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
1165
1166 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
1167 parameter `option'.
1168
296731c1
DD
11692000-11-15 Kenneth Block <kenneth.block@compaq.com>
1170
8944fb9d 1171 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
296731c1
DD
1172 be used in GCC.
1173
6e53a714 11742000-11-15 Kenneth Block <kenneth.block@compaq.com>
16e85745 1175
5dd42ef4 1176 * cplus-dem.c: Add gnat demangler. Add java to demangle style
16e85745
HPN
1177 list.
1178
99a4c1bd
HPN
11792000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
1180
1181 * hashtab.c (htab_expand): Change to return int. Use calloc or
8aefe91a
DD
1182 xcalloc depending on htab->return_allocation_failure. Return zero
1183 if calloc fails.
99a4c1bd
HPN
1184 (htab_create): Update comment to cover memory allocation.
1185 (htab_try_create): New.
1186 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
8aefe91a 1187 Update comment to cover this.
99a4c1bd 1188
e0f3df8f
HPN
11892000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
1190
1191 * hashtab.c: Change void * to PTR where necessary.
1192 (htab_create, htab_expand): Correct formatting of comment before
1193 function.
1194
ae7d06ad 11952000-10-22 Alex Samuel <samuel@codesourcery.com>
59666b35
DD
1196
1197 * cp-demangle.c (string_list_def): Add caret_position and comments.
1198 (result_caret_pos): New macro.
1199 (result_append_string): Rename to...
1200 (result_add_string): ... this, and insert at caret position.
ae7d06ad 1201 Rename throughout.
59666b35
DD
1202 (result_append): Rename to...
1203 (result_add): ... this, and insert at caret position. Rename
ae7d06ad 1204 throughout.
59666b35
DD
1205 (result_append_char): Rename to...
1206 (result_add_char): ... this, and insert at caret position. Rename
ae7d06ad 1207 throughout.
59666b35
DD
1208 (result_append_space): Remove.
1209 (string_list_new): Initialize caret position.
1210 (result_add_separated_char): Use caret position.
1211 (result_get_caret): New funtion.
1212 (result_set_caret): Likewise.
1213 (result_shift_caret): Likewise.
1214 (result_previous_char_is_space): Likewise.
1215 (substitution_start): Use caret position.
1216 (substitution_add): Likewise.
1217 (demangling_new): Initialize caret position.
1218 (demangle_encoding): Use caret position.
ae7d06ad 1219 (demanglin_nested_name): Put CV qualifiers after name.
59666b35
DD
1220 (demangle_type_ptr): Use switch statement. Handle pointers to
1221 arrays. Don't use result_append_space. Use caret position.
1222 (demangle_type): Emit CV qualifiers after underlying type. Adjust
ae7d06ad
NC
1223 call to demangle_array_type.
1224 (demangle_array_type): Add parameter to handle pointers to arrays.
74bcd529 1225
ae7d06ad 12262000-10-01 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
1227
1228 * splay-tree.c (splay_tree_insert): Fix formatting.
ae7d06ad
NC
1229
12302000-09-16 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
1231
1232 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
ae7d06ad
NC
1233
12342000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1235
1236 * splay-tree.c: #include <stdio.h>.
1237
12382000-09-14 Hans-Peter Nilsson <hp@axis.com>
1239
1240 * testsuite/demangle-expected: Add two tests for anonymous
1241 namespaces.
1242 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
1243
12442000-09-10 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
1245
1246 * splay-tree.c (splay_tree_predecessor): New function.
1247 (splay_tree_successor): Likewise.
ae7d06ad
NC
1248
12492000-09-10 Hans-Peter Nilsson <hp@axis.com>
1250
1251 * testsuite/demangle-expected: Add four tests for type_info
1252 mangling.
1253 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
1254 for a non-template non-qualified type_info function or node.
1255
12562000-09-08 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1257
1258 * cp-demangle.c: Fix copyright banner.
ae7d06ad
NC
1259
12602000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1261
1262 * md5.c: #include "ansidecl.h".
1263
12642000-09-06 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1265
1266 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
1267 (demangle_type): Handle substitution candidates correctly in the
1268 face of special substitutions.
ae7d06ad
NC
1269
12702000-09-05 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1271
1272 * cp-demangle.c (demangle_encoding): Rename variable.
1273 (demangle_name): Rename parameter. Handle return type
1274 suppression.
1275 (demangle_nested_name): Rename parameter.
1276 (demangle_prefix): Likewise. Change return type suppression.
1277 (demangle_unqualified_name): Add parameter. Flag constructors and
1278 conversion operators.
1279 (demangle_special_name): Fix comment.
1280 (demangle_type): Rename variable.
1281 (demangle_bare_function_type): Check for missing return type and
1282 parameter.
1283 (demangle_class_enum_type): Rename parameter.
1284 (demangle_discriminator): Fix misspelling in comment.
ae7d06ad
NC
1285
12862000-08-31 DJ Delorie <dj@redhat.com>
1287
1288 * configure.in (Cygwin): special case cygwin only when we're
1289 building cygwin, not when we're hosting cygwin.
1290
12912000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1292
1293 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
1294 <expression>.
ae7d06ad
NC
1295
12962000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1297
1298 * cp-demangle.c (demangle_type_ptr): Increment position past
1299 pointer and reference characters.
ae7d06ad
NC
1300
13012000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1302
1303 * cp-demangle.c (demangle_nv_offset): New function.
1304 (demangle_v_offset): Likewise.
1305 (demangle_call_offset): Likewise.
1306 (demangle_special_name): Update thunk demangling to comply with
1307 ABI changes.
ae7d06ad
NC
1308
13092000-09-03 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1310
1311 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
1312 (substitution_def): Remove template_parm_number.
1313 (NOT_TEMPLATE_PARM): Remove.
1314 (result_insert_string): New macro.
1315 (result_insert): Likewise.
1316 (result_insert_char): Likewise.
1317 (substitution_add): Remove last parameter. Don't store template
1318 parm number.
1319 (BFT_NO_RETURN_TYPE): Define as NULL.
1320 (demangle_encoding): Adjust call to demangle_bare_function_type.
1321 (demangle_name): Adjust substitution. Adjust call to
1322 substitution_add.
1323 (demangle_prefix): Adjust call to substitution_add.
1324 (demangle_identifier): Handle anonymous namespaces.
1325 (demangle_operator_name): Change demangling of vendor-extended
1326 operator to match ABI changes.
1327 (demangle_type_ptr): Change parameters. Make recursive. Handle
1328 substitutions here.
1329 (demangle_type): Adjust calls to demangle_template_param,
1330 substitution_add, and demangle_type_ptr. Fix substitution of
1331 templated types.
1332 (demangle_function_type): Change parameter to a pointer.
1333 (demangle_bare_function_type): Likewise. Adjust insertion point.
1334 (demangle_template_param): Remove last parameter.
1335 (demangle_expr_primary): Remove unused variable. Adjust call to
1336 demangle_template_param.
1337 (is_mangled_char): Accept `$' and `.'.
1338 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
1339 * dyn-string.c (dyn_string_insert_char): New function.
ae7d06ad
NC
1340
13412000-08-31 Hans-Peter Nilsson <hp@axis.com>
1342
1343 * testsuite/demangle-expected: Add nine tests for
1344 underscore-after-number followed by five tests for name-signature
1345 delimiter.
1346
13472000-08-28 Richard Henderson <rth@cygnus.com>
74bcd529
DD
1348
1349 * Makefile.in (md5.o): Depend on config.h.
ae7d06ad
NC
1350
13512000-08-28 Jason Merrill <jason@redhat.com>
1352
1353 * Makefile.in (REQUIRED_OFILES): Add md5.o.
1354 (CFILES): Add md5.c.
1355 * md5.c: New file.
1356
13572000-08-27 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1358
1359 * cp-demangle.c (demangle_name): Initialize template_p in local
1360 name case. Don't re-add substitutions as candidates.
1361 (demangle_nested_name): Use <unqualified-name>.
1362 (demangle_prefix): Likewise. Don't add template names as
1363 substitution candidates twice, or re-add a substitution or the
1364 last prefix component.
1365 (demangle_local_name): Adjust output format.
ae7d06ad
NC
1366
13672000-08-25 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1368
1369 * cp-demangle.c (result_add_separated_char): Change parameter to
1370 int.
1371 (substitution_add): Don't check for duplicates. Check if
1372 previously allocated size is zero.
1373 (demangle_name): Remove duplicate check for std substitution.
1374 Clear template flag appropriately.
1375 (demangle_prefix): Remove argument to demangle_substitution.
1376 Don't check that template flag is already set.
1377 (demangle_operator_name): Add pt operator.
1378 (demangle_type): Don't treat r as built-in type. Remove argument
1379 to demangle_substitution. Fix substitution candidate mechanics.
1380 Handle <template-template-parm>s. Improve comments.
1381 (demangle_template_param): Don't handle template arg lists here.
1382 (demangle_substitution): Remove parameter.
1383 (print_usage): Remove extra fprintf option.
ae7d06ad
NC
1384
13852000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
1386
1387 * libiberty/random.c (end_ptr): Revert previous change.
ae7d06ad
NC
1388
13892000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
1390
1391 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
1392 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
1393 * libiberty/random.c (end_ptr): Likewise.
ae7d06ad
NC
1394
13952000-08-23 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1396
1397 * cp-demangle.c (result_close_template_list): Remove function.
1398 (result_add_separated_char): New function.
1399 (result_open_template_list): New macro.
1400 (result_close_template_list): Likewise.
1401 (demangle_prefix): Don't set template_p if the
1402 prefix ends with a ctor name.
1403 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
1404 (demangle_type): Check for template args after substitution.
1405 (demangle_template_args): Use result_open_template_list.
d3e85005 1406
ae7d06ad 14072000-08-02 Zack Weinberg <zack@wolery.cumb.org>
64e3a659 1408
ae7d06ad 1409 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
050823ca 1410
ae7d06ad 14112000-07-26 Dave Pitts <dpitts@cozx.com>
d6e83f5f
JL
1412
1413 * config/mh-openedition.h: Added -DLE370 definition.
1414
a9f34fb6
JL
14152000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
1416
1417 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
1418 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
1419 Cast program to 'char *' in errmsg_arg assignment.
1420 (PWAIT_ERROR): Define.
1421 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
1422 to DJGPP's WIF* macros.
1423
90aaccd1 14242000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
ae7d06ad 1425 Jeff Law <law@cygnus.com>
90aaccd1 1426
ae7d06ad 1427 * getcwd.c: Include string.h, stdlib.h for prototypes
443519c1 1428
90aaccd1 1429 * Makefile.in (rename.o, waitpid.o): Depend on config.h
ae7d06ad
NC
1430 * rename.c: Include config.h, unistd.h
1431 * waitpid.c: Include config.h, sys/wait.h
90aaccd1 1432
6ef554e3
HPN
14332000-07-24 Hans-Peter Nilsson <hp@axis.com>
1434
1435 * cplus-dem.c (work_stuff_copy_to_from): New.
1436 (delete_non_B_K_work_stuff): New.
1437 (delete_work_stuff): New.
1438 (mop_up): Break out work_stuff partly destruction to
1439 delete_non_B_K_work_stuff.
1440 (iterate_demangle_function): New.
1441 (demangle_prefix): Call iterate_demangle_function instead of
1442 demangle_function_name. Leave handling of name-signature
1443 __-delimiters to iterate_demangle_function.
1444 (demangle_integral_value): Strip an optional
1445 following underscore cautiously. Handle negative numbers.
1446
ae7d06ad 14472000-07-24 Daniel Berlin <dberlin@redhat.com>
e8865c28 1448
ae7d06ad 1449 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
e8865c28
DB
1450 if (AUTO_DEMANGLING || GNU_DEMANGLING)
1451
ae7d06ad
NC
14522000-07-21 Alex Samuel <samuel@codesourcery.com>
1453
1454 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
1455 allocating ctor mangling.
1456 (demangle_array_type): Handle empty and non-constant array length.
1457
b1233257 14582000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
62df2065
JL
1459 Jeff Law <law@cygnus.com>
1460
1461 * configure.in (AC_CHECK_HEADERS): Add time.h.
1462 (AC_HEADER_TIME): Add check.
1463 * configure, config.in: Regenerate.
1464 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
1465
1466 * configure.in (AC_CHECK_HEADERS): Add limits.h.
1467 * configure, config.in: Regenerate.
1468 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
1469 * strtol.c, strtoul.c: #include "config.h". Portably #include
1470 <limits.h> and/or <sys/param.h>.
1471 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
b1233257 1472
7d3ffcaf
JL
1473 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
1474 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
1475 * configure, config.in: Regenerate.
1476 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
1477
b1233257
JL
1478 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
1479
ae7d06ad
NC
14802000-07-21 Mike Stump <mrs@wrs.com>
1481
1482 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
1483 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
1484
14852000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1486
1487 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
1488
1489 * setenv.c (setenv): Initialize variable `ep'.
1490
1491 * sigsetmask.c (abort): Prototype.
1492
1493 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
1494 __STDC__ for stdarg.h include.
1495 (int_vasprintf): Prototype.
1496 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
1497 definition. Cast `global_total_width' in comparison.
1498 (main): Prototype. Return a value.
1499
1500 * vfork.c (fork): Prototype.
1501
1502 * xexit.c: Include config.h.
1503
9adf30b2
JL
15042000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
1505
1506 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
1507 and print it with %u.
1508
2ed78d1b
HPN
15092000-07-17 Hans-Peter Nilsson <hp@axis.com>
1510
1511 * testsuite/regress-demangle (failed test): Show result and
1512 expected output.
1513
0473bdf7
AH
15142000-07-07 Andrew Haley <aph@cygnus.com>
1515
1516 * cplus-dem.c (main): fflush() after emitting last char before
1517 waiting for input.
1518
03d5f569
JM
15192000-06-28 Alex Samuel <samuel@codesourcery.com>
1520
1521 * cp-demangle.c (demangle_encoding): Accept no substitutions.
1522 (demangle_name): Handle <substitution> followed by
1523 <unqualified-template-name>.
1524 (demangle_type): Follow special substitutions with
1525 <class-enum-type>
1526 (demangle_subtitution): Set template_p for special substitutions.
1527 (main): Fix typos.
ae7d06ad 1528
03d5f569
JM
15292000-06-27 Alex Samuel <samuel@codesourcery.com>
1530
1531 * cp-demangle.c (demangle_special_name): Swap base and derived
1532 class when demangling construction vtables.
1533
15342000-06-21 Alex Samuel <samuel@codesourcery.com>
1535
1536 * cp-demangle.c: Don't include ctype.h.
1537 (IS_DIGIT): New macro.
1538 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
1539 instead of isdigit and isalpanum.
1540 (demangling_def): Make name and next const pointers.
1541 (STATUS_ALLOCATION_FAILED): New status code.
1542 (dyn_string_append_space): Handle failure in
1543 dyn_string_append_char.
1544 (int_to_dyn_string): Likewise. Change return value to status_t.
1545 (string_list_new): Handle failure of dyn_string_init.
1546 (result_close_template_list): Change return type to status_t.
1547 Handle failure in dyn_string_append.
1548 (result_push): Change return value to status_t. Handle failure in
1549 string_list_new. Handle failure of result_push throughout.
1550 (substitution_add): Change return value to status_t. Handle
1551 dyn_string failures. Handle failure of substitution_add
1552 throughout.
1553 (template_arg_list_new): Return NULL on allocation failure.
1554 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
1555 Handle error result throughout.
1556 (result_append): Likewise.
1557 (result_append_char): Likewise.
1558 (result_append_space): Likewise.
1559 (demangling_new): Make argument a const pointer. Handle
1560 allocation failures.
1561 (demangle_template_args): Handle failure in template_arg_list_new
1562 and result_close_template_list.
1563 (demangle_discriminator): Return if int_to_dyn_string fails.
1564 (cp_demangle): Likewise.
1565 (cp_demangle_type): New function.
1566 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
1567 memory allocation failure.
1568 (main): Likewise.
1569 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
1570 IN_LIBGCC2.
1571 (dyn_string_init): Change return value to int. Handle
1572 RETURN_ON_ALLOCATION_FAILURE case.
1573 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
1574 (dyn_string_release): Delete the dyn_string.
1575 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
1576 (dyn_string_copy): Change return type to int.
1577 (dyn_string_copy_cstr): Likewise.
1578 (dyn_string_prepend): Likewise.
1579 (dyn_string_prepend_cstr): Likewise.
1580 (dyn_string_insert): Likewise.
1581 (dyn_string_insert_cstr): Likewise.
1582 (dyn_string_append): Likewise.
1583 (dyn_string_append_cstr): Likewise.
1584 (dyn_string_append_char): Likewise.
1585 (dyn_string_substring): Likewise.
ae7d06ad 1586
eb383413 15872000-06-09 Zack Weinberg <zack@wolery.cumb.org>
9cc28cc8 1588
eb383413
L
1589 * cp-demangle.c (demangle_operator_name): Add spaces before
1590 names beginning with a letter: delete, delete[], new, new[],
1591 sizeof.
1592 (demangle_special_name): Handle TF <type> and TJ <type>.
9cc28cc8 1593
eb383413
L
1594Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
1595
1596 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
1597
1598Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
1599
1600 * cp-demangle.c (stdio.h): File included unconditionaly.
1601 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
1602 * dyn-string.c (stdio.h): File included.
1603 * partition.c (partition_print): No `&' needed to take the address of
1604 a function.
1605
16062000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1607
1608 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
ae7d06ad 1609
eb383413
L
1610 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
1611
1612 * cp-demangle.c (demangle_char): Change parameter from char to int.
1613 (demangle_expression, demangle_expr_primary): Remove extra
1614 semi-colon in prototype.
1615
1616 * dyn-string.c (dyn_string_append_char): Change parameter from
1617 char to int.
1618
1619 * memcmp.c (memcmp): Constify.
1620
1621 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
1622 __extension__.
1623
1624 * partition.c (elem_compare): Prototype. Don't cast away
1625 const-ness.
1626
1627 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
ae7d06ad 1628
eb383413
L
16292000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1630
1631 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
1632
1633 * cp-demangle.c: Include demangle.h.
1634 (template_arg_list_new): DeANSIfy.
1635 (cp_demangle): Make static and add prototype.
1636 (operator_code, operators): Constify.
1637 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
1638
16392000-06-05 Alex Samuel <samuel@codesourcery.com>
1640
1641 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
1642 unsigned char.
1643 (demangle_unqualified_name): Likewise.
1644 (demangle_number_literally): Likewise.
1645 (demangle_type): Likewise.
1646 (demangle_substitution): Likewise.
1647 (is_mangled_char): Likewise, for isalnum.
1648
16492000-06-04 Alex Samuel <samuel@codesourcery.com>
1650
1651 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
1652 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
1653 (cp-demangle.o): New dependency.
1654 (dyn-string.o): Likewise.
1655
1656 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
1657
1658 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
1659 demangler.
1660 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
1661 demangling mode.
1662 (gnu_new_abi_symbol_characters): New function.
1663 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
1664 file.
1665 * cp-demangle.c: New file.
ae7d06ad 1666
f03aa80d
AC
1667Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
1668
1669 * floatformat.c: Add name to each floatformat field.
1670
77bfb694
JL
1671Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
1672
1673 * Makefile.in (objalloc.o): Depend on config.h
1674
5c82d20a
ZW
16752000-05-29 Zack Weinberg <zack@wolery.cumb.org>
1676
eb383413 1677 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
5c82d20a
ZW
1678 if HAVE_STRING_H.
1679 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
1680 * objalloc.c: Include config.h. Include stdlib.h and don't
1681 declare malloc or free if HAVE_STDLIB_H.
1682 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
1683 else declare malloc without prototype. Include string.h if
1684 HAVE_STRING_H, else declare memset without prototype. Don't
1685 include stddef.h.
1686
eb383413
L
16872000-05-23 Mike Stump <mrs@wrs.com>
1688
1689 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
8aefe91a 1690 -j3.
eb383413
L
1691
16922000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
1693
1694 * xmalloc.c: Include config.h for HAVE_SBRK definition.
1695
16962000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
1697
ae7d06ad 1698 * hashtab.c (hash_pointer): Delete low-order bits which are
eb383413
L
1699 probably zero, also eliminate a warning on alpha.
1700
17012000-05-15 David Edelsohn <edelsohn@gnu.org>
1702
1703 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
1704 on $(enable_shared).
1705
17062000-05-10 Jakub Jelinek <jakub@redhat.com>
1707
1708 * config.table: Use mh-sparcpic for sparc*-*-*.
1709
17102000-05-08 Nick Clifton <nickc@cygnus.com>
1711
1712 * Makefile.in (CFILES): Add strncmp.c.
1713 (NEEDED): Add strncmp.
1714
17152000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5c82d20a 1716
eb383413
L
1717 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
1718 Cast the arguments to `islower' to `unsigned char'.
1719 (print_demangler_list): Prototype.
1720
1721Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
1722
1723 * sort.c (UCHAR_MAX): Provide fallback definition.
1724
17252000-04-29 Alexandre Oliva <aoliva@cygnus.com>
010c70e1
AO
1726
1727 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
1728 SUBDIRS.
1729
eb383413
L
17302000-04-28 Kenneth Block <block@zk3.dec.com>
1731 Jason Merrill <jason@casey.cygnus.com>
1732
ae7d06ad
NC
1733 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
1734 (cplus_demangle_set_style): New function for setting style.
1735 (cplus_demangle_name_to_style): New function to translate name.
eb383413
L
1736
17372000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1738
1739 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
1740
1741 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
1742 (libiberty_AC_FUNC_STRNCMP): Invoke.
1743
1744 * strncmp.c: New file.
1745
1746Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
1747
1748 * hashtab.c (htab_expand): Add prototype.
1749 (find_empty_slot_for_expand): Likewise.
1750
17512000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1752
1753 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
1754 match prototype.
1755 (htab_expand): Cast the return value of xcalloc.
1756
17572000-04-24 Mark Mitchell <mark@codesourcery.com>
1758
1759 * hashtab.c (hash_pointer): New function.
1760 (eq_pointer): Likewise.
1761 (htab_hash_pointer): New variable.
1762 (htab_eq_pointer): Likewise.
1763
17642000-04-23 Mark Mitchell <mark@codesourcery.com>
1765
1766 * sort.c (sort_pointers): Fix endianness bugs.
1767
1768 * sort.c: New file.
1769 * Makefile.in (CFILES): Add sort.c
1770 (REQUIRED_OFILES): Add sort.o.
1771 (sort.o): New target.
1772
19be4303
JL
17732000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1774
1775 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
1776 4.3BSD systems.
1777
eb383413
L
1778Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1779
1780 * hashtab.c: Various minor cleanups.
1781 (htab_find_slot_with_hash): INSERT is now enum insert_option.
1782 (htab_find_slot): Likewise.
1783
17842000-04-16 Dave Pitts <dpitts@cozx.com>
1785
1786 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
ae7d06ad 1787
afe36a78
RH
17882000-04-05 Richard Henderson <rth@cygnus.com>
1789
1790 * splay-tree.c (splay_tree_remove): New.
1791
eb383413
L
17922000-03-30 Mark Mitchell <mark@codesourcery.com>
1793
1794 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
1795 codes.
1796 (htab_find_with_hash): Likewise.
1797 (htab_find_slot_with_hash): Likewise.
ae7d06ad 1798
eb383413
L
17992000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1800
1801 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
1802 unless it will be used. Rearrange loop for better
1803 optimization.
1804 (higher_prime_number): Add static prototype.
1805
b4fe2683
JM
1806Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
1807
1808 * Makefile.in (partition.o): Depend on config.h
1809
18102000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
1811
1812 * hashtab.c (find_empty_slot_for_expand): New function.
1813 (htab_expand): Use it instead of htab_find_slot.
1814 (htab_find_with_hash): Renamed from htab_find; now accepts extra
1815 argument HASH.
1816 (htab_find_slot_with_hash): Likewise for htab_find_slot.
1817 (htab_find): New wrapper function.
1818 (htab_find_slot): Likewise.
1819 (htab_traverse): Pass slot, not entry, to called function.
1820
18212000-03-09 Alex Samuel <samuel@codesourcery.com>
1822
1823 * Makefile.in (CFILES): Add partition.c.
1824 (REQUIRED_OFILES): Add partition.o.
1825 (partition.o): New rule.
1826 * partition.c: New file.
ae7d06ad 1827
b4fe2683
JM
18282000-03-09 Zack Weinberg <zack@wolery.cumb.org>
1829
1830 * hashtab.c (htab_create): Set del_f.
1831 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
1832 Use it.
1833
18342000-03-08 Zack Weinberg <zack@wolery.cumb.org>
1835
1836 * hashtab.c: Remove debugging variables (all_searches,
1837 all_collisions, all_expansions). Delete
1838 all_hash_table_collisions.
1839 (create_hash_table, delete_hash_table, empty_hash_table,
1840 find_hash_table_entry, remove_element_from_hash_table_entry,
1841 clear_hash_table_slot, traverse_hash_table, hash_table_size,
1842 hash_table_elements_number, hash_table_collisions): Rename to:
1843 htab_create, htab_delete, htab_empty, htab_find_slot,
1844 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
1845 htab_elements, htab_collisions.
1846 (htab_find): New function, handles common case where you don't
1847 plan to add or delete an entry.
1848 (htab_expand): Don't create a whole new table, just a new
1849 entry vector.
1850 (htab_find_slot): Simplify logic.
1851
08372f14
ILT
18521999-08-03 Ian Lance Taylor <ian@zembu.com>
1853
1854 * floatformat.c: Add casts to avoid signed/unsigned warnings.
1855 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
1856
1857 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
1858 $(TARGETLIB)n so it works on MSDOS.
1859 (install_to_tooldir): Likewise.
1860
9c8ac5a9
ILT
18611999-07-21 Ian Lance Taylor <ian@zembu.com>
1862
1863 From Mark Elbrecht:
1864 * makefile.dos: Remove; obsolete.
8f36e47c 1865 * configure.bat: Remove; obsolete.
9c8ac5a9 1866
0c0a36a4
ILT
18671999-07-11 Ian Lance Taylor <ian@zembu.com>
1868
1869 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1870 warning.
1871
18722000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1873
1874 * pexecute.c: Conditionally include string.h.
b4fe2683 1875 (fix_argv): Handle embedded whitespace in args for Mingw32.
0c0a36a4
ILT
1876
18772000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1878
1879 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
1880 we're using gcc.
1881
1882 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
1883
18841999-12-27 Geoff Keating <geoffk@cygnus.com>
1885
1886 * vasprintf.c (int_vasprintf): Don't re-read the format character
1887 as this mishandles strings like '%%s'.
1888
18891999-12-05 Mark Mitchell <mark@codesourcery.com>
1890
1891 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
1892 rather than struct splay_tree_node.
1893 (splay_tree_insert): Use struct splay_tree_s rather than struct
1894 splay_tree.
1895
1896Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
1897
1898 * hashtab.c (sys/types.h): File included.
1899
19001999-11-22 Jason Merrill <jason@casey.cygnus.com>
1901
1902 * strtoul.c, strtol.c, random.c: Remove advertising clause from
1903 BSD license, pursuant with
1904
1905 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
1906
1907Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
1908
1909 * hashtab.c: Include stdio.h.
1910
1911Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
1912
1913 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
1914
1915Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
1916
1917 * xstrdup (sys/types.h): Include this file.
1918
19191999-10-28 Nathan Sidwell <nathan@acm.org>
1920
1921 * Makefile.in (SUBDIRS): New macro.
1922 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
1923 avoid multiple subdirectory cleaning.
1924 (*-subdir): Use SUBDIRS.
1925
19261999-10-25 Jim Kingdon <http://developer.redhat.com/>
1927
1928 * cplus-dem.c: Move declarations of standard_symbol_characters and
1929 hp_symbol_characters inside #ifdef MAIN to avoid compiler
1930 warnings.
1931
19321999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
1933
1934 * hashtab.c (find_hash_table_entry): When returning a
1935 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
1936 (clear_hash_table_slot): New function which deletes an entry
1937 by its position in the table, not its value.
1938 (traverse_hash_table): New function which calls a hook
1939 function for every live entry in the table.
1940
19411999-10-19 Mark Mitchell <mark@codesourcery.com>
1942
1943 * cplus-dem.c (INTBUF_SIZE): New macro.
1944 (string_append_template_idx): New function.
1945 (demangle_expression): Likewise.
1946 (demangle_integral_value): Use it.
1947 (demangle_real_value): New function, split out from ...
1948 (demangle_template_value_parm): ... here. Use
1949 string_append_template_idx. Use demangle_real_value.
1950 (demangle_template): Use string_append_template_idx.
1951 (demangle_qualified): Use consume_count_with_underscores.
1952 (get_count): Tweak formatting.
1953 (do_type): Use string_append_template_idx.
b4fe2683 1954
0c0a36a4
ILT
19551999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1956
1957 * calloc.c: Add a public domain notice.
1958
1959Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
1960
1961 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
1962
1963Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
1964
1965 * Makefile.in (CFILES): Add hashtab.c
1966 (REQUIRED_OFILES): Add hashtab.o
1967 (hashtab.o): Add dependencies.
1968 * hashtab.c: New file
1969
1970Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
1971
1972 * basename.c (DIR_SEPARATOR): New macro.
1973 (DIR_SEPARATOR_2): Likewise.
1974 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
1975 (IS_DIR_SEPARATOR): Likewise.
1976 (main): Handle MSDOS style pathname.
1977
19781999-10-11 Mark Mitchell <mark@codesourcery.com>
1979
1980 * cplus-dem.c (do_type): Handle pointer to member types whose
1981 enclosing classes have namespace scope.
1982
1983Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
1984
1985 * config.table: Provide a backup shell for executing move-if-change.
1986
19871999-10-02 Mark Mitchell <mark@codesourcery.com>
1988
1989 * xmalloc.c (xmalloc): Fix spelling error.
1990 (xcalloc, xrealloc): Likewise.
1991
19921999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1993
1994 * cplus-dem.c (fancy_abort, demangle_integral_value,
1995 demangle_arm_hp_template, recursively_demangle,
1996 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
1997 (program_name, program_version, fatal): Constify a char*.
1998 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
1999 (main): Call return, not exit.
2000
20011999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2002
2003 * choose-temp.c: Remove obsolete comment about gcc.
2004 (make_temp_file): Constify a char*.
2005
2006Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2007
2008 * xmemdup.c: Include sys/types.h.
2009
20101999-09-07 Jeff Garzik <jgarzik@pobox.com>
2011
2012 * xmemdup.c: New xmemdup function.
2013 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
2014
2015Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
2016
b4fe2683 2017 * config.table: Add openedition target.
0c0a36a4
ILT
2018 * config/mh-openedition: New file.
2019
2020Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
2021
2022 * pexecute.c (pexecute): Fill in temp_base when needed.
2023
20241999-08-31 Richard Henderson <rth@cygnus.com>
2025
2026 * getpwd.c: Check HAVE_GETCWD before defining it away.
2027
20281999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2029
2030 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
2031 (REQUIRED_OFILES): Add getpwd.o.
2032 (getpwd.o): Add target.
2033
2034 * configure.in (AC_PREREQ): Bump to 2.13.
2035 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
2036
2037 * getpwd.c: New file, moved here from gcc.
2038
20391999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2040
2041 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
2042 comparing against a signed quantity.
2043 (arm_special): Likewise.
2044 (demangle_fund_type): Likewise.
2045 (do_hpacc_template_const_value): Mark parameter `work' with
b4fe2683 2046 ATTRIBUTE_UNUSED.
0c0a36a4
ILT
2047 (main): Constify variable `valid_symbols'.
2048
2049Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
2050
2051 * strtoul.c (strtoul): Add parentheses around && within ||.
2052
2053Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
2054
2055 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
2056 libdir, libsubdir and tooldir.
2057
20581999-08-01 Mark Mitchell <mark@codesourcery.com>
2059
2060 * splay-tree.c (splay_tree_insert): Return the new node.
2061
35ca97ea
RH
20621999-07-14 Richard Henderson <rth@cygnus.com>
2063
b4fe2683 2064 * argv.c: Include stdlib.h and string.h instead of
35ca97ea
RH
2065 prototyping directly.
2066 * choose-temp.c: Conditionally include string.h.
2067
0c0a36a4
ILT
20681999-07-12 Jason Merrill <jason@yorick.cygnus.com>
2069
2070 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
2071
af32ff69
ILT
20721999-07-11 Ian Lance Taylor <ian@zembu.com>
2073
2074 * splay-tree.c (splay_tree_insert): Add initialization to avoid
2075 warning.
2076
0c0a36a4
ILT
20771999-07-07 Jason Merrill <jason@yorick.cygnus.com>
2078
2079 * Makefile.in (needed-list): Only include stuff we actually need
2080 for libstdc++.
2081
20821999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2083
2084 * configure.in (checkfuncs): Add gettimeofday.
2085 * config.in, configure: Regenerated.
2086
2087Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
2088
2089 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
2090 the test fails.
2091 * configure: Regenerate.
2092
20931999-06-10 Mike Stump <mrs@wrs.com>
2094
2095 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
2096 parallel builds.
2097
20981999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2099
2100 * putenv.c: Include ansidecl.h to define `const'.
2101 * setenv.c: Likewise.
2102
2103Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
2104
2105 * Makefile.in (CFILES): Add putenv.c and setenv.c.
2106 * configure.in (funcs): Add putenv and setenv.
2107 (AC_CHECK_FUNCS): Check for putenv and setenv.
2108 * configure: Rebuilt.
2109 * putenv.c setenv.c: New files.
2110
2111 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
2112 bytes of space using malloc.
2113
2114Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
2115
2116 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
2117 the *mangled pointer beyond the end of the string. Clean up code to
2118 match prevailing coding style.
2119
21201999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2121
2122 * tmpnam.c (L_tmpnam): Fix typo.
2123
2124Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
2125
2126 * cplus-dem.c (standard_symbol_characters): Renamed from
2127 standard_symbol_alphabet. No longer modify TABLE.
2128 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
2129 modify TABLE.
2130 (main): Corresponding changes. Use strchr to determine if a
2131 character is valid.
2132
e9868447
JB
21331999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
2134
2135 * cplus-dem.c (main): Use table lookup to distinguish identifier
2136 characters from non-identifier characters.
2137 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
2138
33fbbfbc
RH
2139Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
2140
2141 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
2142 * getruntime.c: Only attempt to include sys/resource.h and
2143 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
2144 are defined.
2145
0c0a36a4
ILT
2146Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
2147
2148 * configure.in (alloca detection): Handle alloca directly for interix.
2149 * configure: Rebuilt.
2150
2151Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
2152
2153 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
2154
252b5132
RH
21551999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
2156
2157 Fix from Dale Hawkins:
b4fe2683 2158 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
252b5132
RH
2159 reallocated properly if we use it again.
2160
2161 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
2162 stricter about syntax. Always null-terminate string.
2163
c1687039
ILT
2164Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
2165
2166 * configure.in (checkfuncs): Check for sbrk.
2167 * config.in: Rebuilt.
2168 * configure: Likewise.
2169 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
2170
0c0a36a4
ILT
21711999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
2172
2173 Fix from Marcus Daniels:
2174 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
2175 identifier looking for another underscore.
2176
2177Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
2178
2179 * pexecute.c: Change all references to __UWIN__ to _UWIN.
2180 * xmalloc.c: Likewise.
2181 (xcalloc): UWIN has sbrk.
2182 (xrealloc): Fix guard macro.
2183
252b5132
RH
21841999-04-11 Richard Henderson <rth@cygnus.com>
2185
2186 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
2187 or <alloca.h>.
2188 * clock.c (GNU_HZ): New definition.
2189 (clock): Use it.
2190 * getruntime.c: Likewise.
2191
2192 * config.table: Use mh-beos.
2193 * config/mh-beos: New file.
2194
0c0a36a4
ILT
21951999-04-11 Mark Mitchell <mark@codesourcery.com>
2196
2197 * cplus-dem.c (demangle_template_value_parm): Handle
2198 pointers-to-members.
2199 (do_type): Handle template parameters as qualifiers.
2200
252b5132
RH
22011999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
2202
2203 * cplus-dem.c: Attempt to handle overflows in counts with some
2204 semblance of grace.
2205 (consume_count): Detect overflows. Return -1 to indicate errors,
2206 instead of zero.
2207 (demangle_template_value_parm, demangle_template): Handle change
2208 to consume_count's return convention.
2209
0c0a36a4
ILT
22101999-04-05 Tom Tromey <tromey@cygnus.com>
2211
2212 * testsuite/regress-demangle: New file.
2213 * testsuite/demangle-expected: New file.
252b5132 2214
0c0a36a4
ILT
2215 * Makefile.in (all, check, installcheck, info, install-info,
2216 clean-info, dvi, install, etags, tags, mostlyclean, clean,
2217 distclean, maintainer-clean, realclean): Depend on corresponding
2218 `-subdir' target.
2219 (all-subdir check-subdir installcheck-subdir info-subdir
2220 install-info-subdir clean-info-subdir dvi-subdir
2221 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
2222 distclean-subdir maintainer-clean-subdir): New target.
2223 * testsuite/Makefile.in: New file.
2224 * configure: Rebuilt.
2225 * configure.in: Create testsuite/Makefile.
252b5132
RH
2226
22271999-04-02 Mark Mitchell <mark@codesourcery.com>
2228
2229 * splay-tree.h (splay_tree_compare_pointers): Define.
2230
22311999-03-30 Mark Mitchell <mark@codesourcery.com>
2232
2233 * splay-tree.c (splay_tree_compare_ints): Define.
2234
22351999-03-30 Tom Tromey <tromey@cygnus.com>
2236
2237 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
2238 don't advance input pointer.
2239 (demangle_class_name): If consume_count didn't find a count, do
2240 nothing. Don't bother with `strlen' sanity check; consume_count
2241 does it for us.
2242
22431999-03-16 Stan Shebs <shebs@andros.cygnus.com>
2244
2245 From Art Haas <ahaas@neosoft.com>:
2246 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
2247 when doing arm or hp style.
2248 (demangle_nested_args): Decr forgetting_types field when done.
b4fe2683 2249
252b5132
RH
2250Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
2251
2252 * pexecute.c (__CYGWIN32__): Rename to
2253 (__CYGWIN__): this.
2254 * xmalloc.c: Likewise.
2255
2256 Changes to support i386-pc-uwin.
2257 * configure.in (*-*-uwin*): Workaround for vfork bug.
2258 * configure: Regenerate.
2259 * pexecute.c (pexecute): Be like standard Unix.
2260 (pwait): Likewise.
2261 * xmalloc.c (first_break): Define.
2262 (xmalloc_set_program_name): Use.
2263 (xmalloc): Use.
2264
2265Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2266
2267 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
2268
2269Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
2270
2271 * config.table: Check cygwin*, not cygwin32*.
2272
2273Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
2274
2275 * Makefile.in: Change mkstemp -> mkstemps.
2276
2277Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
2278
2279 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
2280 * configure.in (funcs): Check for and conditionally add mkstemps to
2281 the list of functions libiberty will provide.
2282 * configure: Rebuilt.
b4fe2683 2283
252b5132
RH
2284Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
2285
b4fe2683 2286 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
252b5132
RH
2287 platforms that don't have HZ.
2288 * getruntime.c (HZ): Likewise.
2289
2290Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
2291
2292 * Makefile.in (xstrdup.o): Depend on config.h.
2293
2294Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
2295
2296 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
2297 freeing it.
2298
2299Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2300
2301 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
2302
2303Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2304
2305 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
2306 splay-tree.o.
2307
23081999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
2309
2310 * configure.in: Require autoconf 2.12.1 or higher.
2311
23121998-12-30 Michael Meissner <meissner@cygnus.com>
2313
2314 * random.c (NULL): Don't redefine NULL if it is already defined.
2315
2316Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2317
2318 * argv.c (buildargv): Cast the result of alloca in assignment.
2319
2320 * choose-temp.c: Include stdlib.h.
2321
2322 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
8aefe91a
DD
2323 (snarf_numeric_literal): Constify first parameter.
2324 (code_for_qualifier): Avoid a gcc extension, make the parameter an
2325 int, not a char.
252b5132
RH
2326 (demangle_qualifier): Likewise.
2327 (demangle_signature): Cast the argument of a ctype function to
2328 unsigned char.
2329 (arm_pt): Add parens around assignment used as truth value.
2330 (demangle_arm_hp_template): Constify variable `args'.
2331 (do_hpacc_template_const_value): Cast the argument of a ctype
2332 function to unsigned char.
2333 (do_hpacc_template_literal): Remove unused variable `i'.
2334 (snarf_numeric_literal): Constify parameter `args'.
2335 Cast the argument of a ctype function to unsigned char.
2336
2337 * floatformat.c (floatformat_to_double): Add explicit braces to
8aefe91a 2338 avoid ambiguous `else'.
252b5132
RH
2339
2340 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
8aefe91a
DD
2341 `cstart' and `cend' to unsigned char. Cast the argument of macro
2342 `FOLD', which uses ctype functions, to unsigned char.
252b5132
RH
2343
2344 * objalloc.c (free): Add prototype.
2345
2346Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
2347
2348 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
2349
2350Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
2351
2352 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
8aefe91a 2353 doesn't exist.
252b5132 2354 (do_hpacc_template_literal): remove unused variable `i'.
b4fe2683 2355
252b5132
RH
2356Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2357
2358 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
2359 bumping the pointer we read from. Also prepend these codes,
2360 as we do in other places.
2361
23621998-12-18 Nick Clifton <nickc@cygnus.com>
2363
2364 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
2365 'const char *' in order to match its usage when calling siblings.
2366 (snarf_numeric_literal): Make first arg 'const char **' in order
2367 to match usage.
2368
2369Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2370
2371 * choose-temp.c: Don't check IN_GCC anymore.
2372
2373 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
2374 * memchr.c (memchr): Likewise.
2375 * memcpy.c (memcpy): Likewise.
2376 * memmove.c (memmove): Likewise.
2377
2378 * mkstemp.c: Don't check IN_GCC anymore.
2379 * pexecute.c: Likewise.
2380 * splay-tree.c: Likewise.
2381
2382 * strchr.c (strchr): Use `const', not `CONST'.
2383 * strrchr.c (strrchr): Likewise.
2384 * strtol.c (strtol): Likewise.
2385 * strtoul.c (strtoul): Likewise.
2386
2387Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
2388 Elena Zannoni <ezannoni@cygnus.com>
2389 Stan Shebs <shebs@cygnus.com>
2390 Edith Epstein <eepstein@cygnus.com>
2391 Andres MacLeod <amacleod@cygnus.com>
2392 Satish Pai <pai@apollo.hp.com>
2393
2394 * HP aCC demangling support.
2395 * cplus-dem.c
2396 (main): Remove default to HP style demangling, set to EDG
8aefe91a
DD
2397 demangling correctly when -edg specified; set the demangling style
2398 when user specifies 'edg'. Set strip_underscore to
2399 prepends_underscore, if not HPUXHPPA. Set
2400 current_demangling_style to hp_demangling if HPUXHPPA. Set
2401 current demangling style correctly if the switch is hp. Read
2402 label correctly also in the HP style case.
252b5132 2403 (work_stuff): add temp_start field; add field for volatile member
8aefe91a 2404 function.
252b5132 2405 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
8aefe91a 2406 style for this case is the same as ARM.
252b5132
RH
2407 (demangle_args): handle EDG_DEMANGLING style; support HP style.
2408 (demangle_arm_hp_template): new function. (It was
8aefe91a
DD
2409 demangle_arm_pt.); check and set value of temp_start field in
2410 multiple places. Also, when ceching for end of template args,
2411 check to see if at end of static member of template class.
252b5132 2412 (demangle_class): new local variable : save_class_name_end Don't
8aefe91a 2413 include template args in string defining class.
252b5132
RH
2414 (demangle_class_name): use demangel_arm_hp_template.
2415 (demangle_function_name): handle case where demangling style is
8aefe91a
DD
2416 HP_DEMANGLING and currently point at an 'X' in the mangled name.
2417 Handle EDG_DEMANGLING style. Handle constructor and destructor
2418 ops for HP style.
252b5132 2419 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
8aefe91a
DD
2420 styles. global destructor and constructor for HP style are same
2421 as for ARM style. Same for local variables.
252b5132
RH
2422 (demangle_qualified): handle EDG_DEMANGLING style.
2423 (demangle_signature): add case for volatile member function. For
8aefe91a
DD
2424 cases '1' - '9' : initialize the temp_start field to -1 and handle
2425 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
2426 and AUTO_DEMANGLING styles. If expecting a function and managed
2427 to demangle the funct args, then handle the LUCID_DEMANGLING,
2428 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
2429 class name after "Lnnn_ in HP style case. HP style too needs to
2430 forget types. _nnn is OK for HP style, so don't report failure.
252b5132 2431 (do_hpacc_template_const_value): new function. Handle template's
8aefe91a 2432 value param for HP/aCC.
252b5132 2433 (do_hpacc_template_literal): new function. Handle a template's
8aefe91a 2434 literal parameter for HP aCC.
252b5132
RH
2435 (recursively_demangle): new function
2436 (snarf_numeric_literal): new function.
2437 (usage): add 'edg' to the list of demangling styles; add hp switch
8aefe91a 2438 to message.
252b5132
RH
2439
2440Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
2441
2442 * pexecute.c: Remove obsolete ifdefed cygwin code.
2443
2444Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2445
2446 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
2447 * cplus-dem.c: Likewise. Conform to libiberty.h.
2448 * pexecute.c: Likewise.
2449 * splay-tree.c: Likewise.
2450
24511998-11-25 Mike Stump <mrs@wrs.com>
2452
2453 * Makefile.in (splay-tree.o): Add config.h dependency.
2454
2455Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2456
2457 * configure.in: Use AC_PREREQ(2.12.1).
2458
24591998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
2460
b4fe2683 2461 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
252b5132
RH
2462
2463Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
2464
2465 * mpw.c (mpw_access): Add missing parens.
2466
2467Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2468
2469 * configure.in: Call AC_HEADER_SYS_WAIT.
2470
2471 * pexecute.c: Include sys/wait.h when !IN_GCC.
2472
2473Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
2474
2475 * pexecute.c: revert back to checking old Cygwin
2476 preprocessor symbol until some time has passed.
2477
2478Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
2479
2480 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
2481 since it will now support similar constructs.
2482
2483Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2484
2485 * configure.in: Check for calloc.
2486
2487 * calloc.c: New file.
2488
2489 * xmalloc.c (xcalloc): New function.
2490
2491Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2492
2493 *cplus-dem.c (demangle_prefix): Use the last "__"
2494 in the mangled name when looking for the signature. This allows
2495 template names to begin with "__".
2496
24971998-11-08 Mark Mitchell <mark@markmitchell.com>
2498
2499 * cplus-dem.c (type_kind_t): Add tk_reference.
2500 (demangle_template_value_parm): Handle it.
2501 (do_type): Use it for references, instead of tk_pointer.
2502
2503 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
2504 not internal_cplus_demangle.
2505
2506Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2507
2508 * choose-temp.c: Don't include gansidecl.h.
2509 * mkstemp.c: Likewise.
2510 * pexecute.c: Likewise.
2511
2512Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
2513
b4fe2683
JM
2514 * configure.in: detect cygwin* instead of cygwin32*
2515 * configure: regenerate
252b5132
RH
2516
2517Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2518
2519 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
8aefe91a
DD
2520 whether to include config.h. Possibly include unistd.h in the
2521 !IN_GCC case. Define VFORK_STRING as a printable function call
2522 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
2523 defined, include vfork.h. If VMS is defined, define vfork()
2524 appropriately. Remove vfork check on USG, we're using autoconf.
2525 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
2526 locally what string to use.
252b5132
RH
2527
25281998-10-26 Mark Mitchell <mark@markmitchell.com>
2529
2530 * splay-tree.c: Tweak include directives to make sure declarations of
2531 xmalloc and free are available.
2532
25331998-10-25 Mark Mitchell <mark@markmitchell.com>
2534
2535 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
2536 anonymous namespaces.
2537
25381998-10-23 Mark Mitchell <mark@markmitchell.com>
2539
2540 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
2541 with type_quals.
2542 (TYPE_UNQUALIFIED): New macro.
2543 (TYPE_QUAL_CONST): Likewise.
2544 (TYPE_QUAL_VOLATILE): Likewise.
2545 (TYPE_QUAL_RESTRICT): Likewise.
2546 (code_for_qualifier): New function.
2547 (qualifier_string): Likewise.
2548 (demangle_qualifier): Likewise.
2549 (internal_cplus_demangle): Use them.
2550 (demangle_signature): Likewise.
2551 (demangle_template_value_parm): Likewise.
2552 (do_type): Likewise.
2553 (demangle_fund_type)): Likewise.
2554
2555Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2556
2557 * splay-tree.c (splay_tree_foreach_helper): Make definition static
2558 to match prototype.
2559
25601998-10-21 Mark Mitchell <mark@markmitchell.com>
2561
2562 * splay-tree.c: New file.
2563 * Makefile.in (CFILES): Add it.
2564 (REQUIRED_OFILES): Likewise.
2565 (splay-tree.o): Add dependencies.
2566
2567Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2568
2569 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
2570 range of 'K' index.
2571
2572Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2573
2574 * choose-temp.c: Prototype mkstemps() when IN_GCC.
2575
2576 * cplus-dem.c (consume_count): Cast argument of ctype macro to
2577 `unsigned char'.
2578 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
2579 comparing against one.
2580 (cplus_mangle_opname): Likewise.
2581 (demangle_integral_value): Cast argument of ctype macro to
2582 `unsigned char'.
2583 (demangle_template_value_parm): Likewise.
2584 (demangle_template): Initialize variable `bindex'. Cast the
2585 result of `strlen' to (int) when comparing against one. Remove
2586 unused variable `start_of_value_parm'.
2587 (demangle_class_name): Cast the result of `strlen' to (int) when
2588 comparing against one.
2589 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
2590 (gnu_special): Likewise. Cast the result of `strlen' to (int)
2591 when comparing against one.
2592 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
2593 (get_count): Likewise.
2594 (do_type): Likewise. Cast the result of `strlen' to (int) when
2595 comparing against one.
2596 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
2597 (demangle_function_name): Cast the result of `strlen' to (int)
2598 when comparing against one.
2599
2600 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
2601 comparing against one.
2602
2603Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
2604
b4fe2683
JM
2605 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
2606 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
2607 * config.in, configure: Rebuilt.
252b5132
RH
2608
2609 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
2610 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
2611 * config.in, configure: Rebuilt.
2612
2613Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
2614
b4fe2683 2615 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
252b5132
RH
2616
2617Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
2618
2619 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
2620
2621Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
2622
2623 * Merge egcs & devo libiberty.
2624