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