This page contains the following errors:

error on line 8385 at column 145: Premature end of data in tag tr line 8384

Below is a rendering of the page up to the first error.

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