2002-08-06 Michael Snyder <msnyder@redhat.com>
[deliverable/binutils-gdb.git] / libiberty / ChangeLog
CommitLineData
1e3f0be0
DD
12002-07-29 Neil Booth <neil@daikokuya.co.uk>
2
3 * cplus-dem.c (PREPEND_BLANK): Remove.
4
b851d07b
DD
52002-07-10 Jason Merrill <jason@redhat.com>
6
7 * cp-demangle.c (demangle_identifier): Support extended Unicode
8 characters.
9
2a9dffbf
DD
102002-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11
12 * cp-demangle.c (demangle_v3_with_details): Wrap in
13 !defined IN_GLIBCPP_V3.
14
793011ca
DD
152002-07-01 Mark Mitchell <mark@codesourcery.com>
16
17 * cp-demangle.c (demangle_operator_name): Add type_arg parameter.
18 Set it for the "st" operator.
19 (demangle_expression): Handle expressions with types as arguments.
20
b39b76b8
DD
212002-06-30 Douglas Rupp <rupp@gnat.com>
22
23 * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
24 * Makefile.in (OUTPUT_OPTION): Use.
25
4748c6d8
DD
262002-06-22 Peter Breitenlohner <peb@mppmu.mpg.de>
27
28 * Makefile.in (install_to_libdir): Add $(DESTDIR).
29 (install_to_tooldir): Likewise.
30
f9c3326a
DD
312002-06-17 Douglas Rupp <rupp@gnat.com>
32
33 * lbasename.c: Add 2002 to copyright.
34 (IS_DIR_SEPARATOR): Remove VMS junk.
35
18893690
DD
362002-06-05 Geoffrey Keating <geoffk@redhat.com>
37
38 * hashtab.c (htab_create): New stub function for backward
39 compatibility.
40 (htab_try_create): Likewise.
41
422002-06-03 Geoffrey Keating <geoffk@redhat.com>
43
44 * hashtab.c (htab_create): Delete.
45 (htab_try_create): Delete.
46 (htab_create_alloc): New.
47 (htab_delete): Support user-specified memory allocation.
48 (htab_expand): Likewise.
49
502002-05-22 Roman Lechtchinsky <rl@cs.tu-berlin.de>
51
52 * configure.in: Fix typo in the code checking for sys_errlist.
53 * configure: Regenerated.
54
9296c8b2
DD
552002-05-13 Andreas Schwab <schwab@suse.de>
56
57 * config.table: Use mh-x86pic also for x86-64.
58
52d98c2d
DD
592002-05-08 Alexandre Oliva <aoliva@redhat.com>
60
61 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
62 script entry, and set LD to it when configuring multilibs.
63 * configure: Rebuilt.
64
cafa3917
DD
652002-05-07 Mark Mitchell <mark@codesourcery.com>
66
67 * configure.in (AC_TYPE_PID_T): Use it.
68 * configure: Regenerated.
69 * getruntime.c: Include <sys/types.h>.
70 * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid".
71
b1c933fc
RH
722002-04-09 Richard Henderson <rth@redhat.com>
73
74 * hashtab.c (higher_prime_number): Use 7 as minimum.
75 (find_empty_slot_for_expand): Don't compute hash2 unless needed.
76 (htab_find_slot_with_hash): Likewise.
77
0c4460bb
DD
782002-04-01 Phil Edwards <pme@gcc.gnu.org>
79
80 * cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
81 (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally
82 not compile if IN_GLIBCPP_V3 defined.
83 * dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme.
84
f2160d2b
DD
852002-03-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
86
18893690 87 * cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
f2160d2b
DD
88 if it is NULL.
89
7dd4d42a
DD
902002-03-27 DJ Delorie <dj@redhat.com>
91
92 * hex.c: Add documentation.
93 (_hex_value): Provide non-ASCII empty table.
94 (hex_init): Initialize the non-ASCII table.
95 * functions.texi: Regenerate.
96
38e57a35
DD
972002-03-27 Mark Mitchell <mark@codesourcery.com>
98
99 * dyn-string.c: Add libgcc exception to copyright notice.
100
cfed0715
DD
1012002-03-26 H.J. Lu (hjl@gnu.org)
102
103 * config.table: Support --with-build-subdir.
104 * configure.in: Likewise.
105 * configure: Rebuild.
106
1504972f
DD
1072002-03-18 Stuart Griffith <Stuart_Griffith@credence.com>
108
109 * strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
110 seen.
111
35efcd67
DD
1122002-03-12 Mark Mitchell <mark@codesourcery.com>
113
114 * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
115 notice.
116
dabc64ea
DD
1172002-03-11 Douglas B Rupp <rupp@gnat.com>
118
119 * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
120
3ddbd84c
JB
1212002-03-06 Jim Blandy <jimb@redhat.com>
122
123 * splay-tree.c (splay_tree_xmalloc_allocate,
124 splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
125 prototyped definitions. Mark `data' arguments as unused.
126
efdab807
AC
1272002-03-06 Andrew Cagney <ac131313@redhat.com>
128
129 * floatformat.c (floatformat_arm_ext_big): Delete definition.
130
50d4562d
DD
1312002-03-04 Phil Edwards <pme@gcc.gnu.org>
132
133 * configure.in: Add --enable-install-libiberty option.
134 * Makefile.in (INSTALLED_HEADERS): New variable.
135 (install_to_libdir): Possibly also copy headers.
136 * configure: Regenerated.
137
1382002-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
139
140 * xmalloc.c (xmalloc_fail): Clarify error message further.
141
6e9980f5
DD
1422002-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
143
144 * xmalloc.c (xmalloc_fail): Clarify error message.
145
18893690 1462002-02-22 Jim Blandy <jimb@redhat.com>
2bbcdae9
JB
147
148 * splay-tree.c (splay_tree_xmalloc_allocate,
149 splay_tree_xmalloc_deallocate): New functions.
150 (splay_tree_new): Call splay_tree_new_with_allocator, passing the
151 above functions and a dummy data pointer.
152 (splay_tree_new_with_allocator): New function.
153 (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
154 splay_tree_remove): Use the splay tree's allocation and
155 deallocation functions.
156
59ea9fe7
DD
1572002-02-19 Scott Snyder <snyder@fnal.gov>
158
159 * testsuite/demangle-expected: Add test case for infinite loop in
160 demangler.
161 * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
162 if do_type() doesn't make any progress --- prevents an infinite
163 loop.
164
6f848550
DD
1652002-02-18 Carlo Wood <carlo@gnu.org>
166
167 PR c++/5390
168 * cplus-dem.c (demangle_integral_value): Accept multi-digit
169 numbers that do not start with an underscore; This is needed
170 for integer template parameters. This doesn't break anything
171 because multi-digit numbers are never followed by a digit.
172 * testsuite/demangle-expected: Corrected all mangled test
173 cases with multi-digit template parameters: g++ 2.95.x does
174 not generate underscores around these parameters.
175
44354ae1
DD
1762002-02-05 Jason Merrill <jason@redhat.com>
177
178 * cplus-dem.c (flags): Add DMGL_VERBOSE
179 (cplus_demangle_v3_p): Remove.
180 (demangle_it): Add DMGL_TYPES to passed flags.
181 * cp-demangle.c (cplus_demangle_v3_all): Remove.
182 (cplus_demangle_v3_type): Remove.
183 (cplus_demangle_v3): Add options parm.
184
42da15d6
DD
1852002-02-02 H.J. Lu (hjl@gnu.org)
186
187 * cp-demangle.c (cp_demangle_type): Do not protect with
188 IN_LIBGCC2.
189 (cplus_demangle_v3_all): New.
190 (cplus_demangle_v3): Call cplus_demangle_v3_all.
191 (cplus_demangle_v3_type): Call cplus_demangle_v3_all.
192
193 * cplus-dem.c (cplus_demangle_v3_p): New function pointer.
194 Initialized to cplus_demangle_v3.
195 (cplus_demangle_with_style): Call cplus_demangle_v3_p instead
196 of cplus_demangle_v3.
197 (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
198 command line symbol.
199
200 * testsuite/regress-demangle: Pass the mangled name at the
201 command line.
202
b117c158
DD
2032002-02-01 H.J. Lu <hjl@gnu.org>
204
205 * cp-demangle.c (cp_demangle_type): Call demangling_new with
206 DMGL_GNU_V3.
207
c78d91b1
DD
2082002-01-31 Phil Edwards <pme@gcc.gnu.org>
209
210 * cp-demangle.c: Revert yesterday's change.
211
bef8b55d
DD
2122002-01-31 Adam Megacz <adam@xwt.org>
213
214 * gcc/libiberty/configure.in: Treat mingw the same as cywin
215 wrt HAVE_SYS_ERRLIST.
216
2c955b8b
DD
2172002-01-30 Phil Edwards <pme@gcc.gnu.org>
218
219 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
220 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on
221 cp_demangle_type.
222 * testsuite/demangle-expected: New gnu-v3 test.
223
58b1717a
RH
2242002-01-22 Momchil Velikov <velco@fadata.bg>
225
226 * configure.in (variable detection): Use arrays of unspecified
227 size instead of plain integers.
228
cc096b71
DD
2292002-01-18 DJ Delorie <dj@redhat.com>
230
231 * Makefile.in (TESTLIB): New. This library is for future
232 testsuites.
233 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
234 break down by letter.
235 (REQUIRED_OFILES): List long-to-compile files first.
236 (maint-deps): New, target for updating dependencies.
237 (dependencies): Update.
238 * maint-tool: Add dependency-generating option.
239 * configure.in: Check for _doprnt even if we're not providing it.
240 * configure: Regenerate.
241
242 * _doprnt.c: Modifications to allow compiling on any platform.
243 * copysign.c: Likewise.
244 * putenv.c: Likewise.
245 * setenv.c: Likewise.
246 * vsprintf.c: Likewise.
247
2482002-01-15 Douglas B Rupp <rupp@gnat.com>
249
250 * mkstemps.c (mkstemps): On VMS, open temp file with option
251 that causes it to be deleted when closed.
252
20d54542
DD
2532002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
254
c23795e2
DD
255 * cp-demangle.c (long_options): Const-ify.
256 * cplus-dem.c (long_options): Likewise.
257
20d54542
DD
258 * cplus-dem.c (mystrstr): Delete. All callers changed to use
259 strstr instead.
260
f348a7b1
DD
2612001-12-31 Ira Ruben <ira@apple.com>
262
263 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
264 * configure: Regenerated.
265
d86cd745
DD
2662001-12-24 Douglas B. Rupp <rupp@gnat.com>
267
268 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
269 * configure: Regenerated.
270
ae533646
DD
2712001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
272
273 PR other/2719
274 * cplus-dem.c (consume_count): Treat negative count as an error.
275 * testsuite/demangle-expected: Added testcase.
276
c0eb281b
DD
277Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
278
279 * configure.in: Hardcode that vfork works on VMS host.
280 * configure: Regenerated.
281
2da4c07f
RH
2822001-12-06 Richard Henderson <rth@redhat.com>
283
284 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
285 (cplus_demangle): Support no_demangling.
286
24acd898
DD
2872001-11-27 Zack Weinberg <zack@codesourcery.com>
288
289 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
290 in libiberty context. Fix typo in leading comment.
291 * configure.in: Fix various AC_DEFINEs so autoheader works.
292 If any of vprintf, vsprintf, vfprintf is missing from libc,
293 then AC_REPLACE_FUNCS(_doprnt).
294
fec50157 2952001-11-26 DJ Delorie <dj@redhat.com>
d86cd745 296 Daniel Jacobowitz <drow@mvista.com>
fec50157
DD
297
298 * Makefile.in (stamp-h): Depend on Makefile for proper
299 serialization.
300 (*-subdir): Depend on config.h for proper serialization.
301
5527febf
DD
3022001-11-26 DJ Delorie <dj@redhat.com>
303
304 * configure.in: Check for alloca.h (for regex.c and putenv.c).
305 * configure: Regenerate.
306 * config.h: Add HAVE_ALLOCA_H.
307
941d74a0
DD
3082001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
309
310 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
311 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
312 is available.
313
dc579051
DD
314Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
315
316 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
317 * configure.in (HAVE_UINTPTR_T): Test for system defining
318 uintptr_t and define HAVE_UINTPTR_T appropriately.
319 * regex.c (uintptr_t): Do not provide a definition if the
320 system provided one.
321
322 * regex.c (PREFIX): Provide an alternate definition for
323 non-ANSI/ISO compilers.
324 (ARG_PREFIX): Likewise.
325
1a78a35a
DD
3262001-11-12 Jim Meyering <meyering@lucent.com>
327
328 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
329 this code would end up calling gettext even in packages built
330 with --disable-nls.
331 * getopt.c (_): Likewise.
332 * regex.c (_): Likewise.
333
4e55c4b6
DD
3342001-11-03 Alan Modra <amodra@bigpond.net.au>
335
336 * configure.in: Cope with missing makeinfo.
337 * configure: Regenerate.
338
d311a83a
DD
3392001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
340
341 * hex.c (hex_init): Provide empty stub.
342
343 * hex.c (hex_init): Delete.
344 (_hex_value): Const-ify and initialize at compile-time.
345
3bc62f91
DD
3462001-10-19 H.J. Lu <hjl@gnu.org>
347
348 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
349 necessary.
350
5d852400
DD
3512001-10-17 DJ Delorie <dj@redhat.com>
352
353 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
354 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
5527febf 355 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
5d852400
DD
356 Improve manual formatting.
357 * functions.texi: Regenerate.
358
ba19b94f
DD
3592001-10-15 DJ Delorie <dj@redhat.com>
360
361 * Makefile.in (TEXIFILES): Add fnmatch.txh.
362 (maint-undoc): New.
363 maint-tool: Add "undoc" tool.
364 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
365 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
366 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
367 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
368 documentation.
369 * fnmatch.txh: New.
370 * functions.texi: Regenerate.
371
56056af5
DD
3722001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
373
374 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
375 * strtod.c: Use "ISO C" instead of "ANSI C".
376 * functions.texi: Regenerate.
377
99b58139
DD
3782001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
379
380 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
381 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
382 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
383 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
384 spelling. Give names to function arguments in documentation. Use
385 (void) prototypes in documentation.
386 * functions.texi: Regenerate.
387
e6450fe5
DD
3882001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
389
390 * argv.c (buildargv, tests, main): Const-ify.
391 * cp-demangle.c (operator_code): Likewise.
392 * cplus-dem.c (optable, libiberty_demanglers,
393 cplus_demangle_set_style, cplus_demangle_name_to_style,
394 print_demangler_list): Likewise.
395 * hashtab.c (higher_prime_number): Likewise.
396 * strcasecmp.c (charmap): Likewise.
397 * strerror.c (error_info, strerror, main): Likewise.
398 * strncasecmp.c (charmap): Likewise.
399 * strsignal.c (signal_info): Likewise.
400
da191b5b
DD
4012001-09-29 DJ Delorie <dj@redhat.com>
402
403 * configure: Regenerate.
404
916aaa12
DD
4052001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
406
407 * concat.c: Include stdlib.h.
408
fa9f0e33
DD
4092001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
410
411 * libiberty.texi: (Top level): Add syncodeindex pg. Add
412 @dircategory and @direntry directives. Add @finalout.
413 (many nodes): Lose the next,prev,up pointers on the @nide line.
414 (Using, Supplemental Functions, Replacement Functions): Fix
415 markup.
416 (Functions): Move around, to allow makeinfo to build the manual
417 without next,prev,up pointers in thye node lines.
418 (Licenses): Fix typos.
419
420 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
421 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
422 * functions.texi: Regenerate.
423
424 * copying-lib.texi: Lose the next,prev,up pointers on the @node
425 line.
426
4272001-09-27 DJ Delorie <dj@redhat.com>
428
429 * configure.in: Don't use in-tree texinfo, because libiberty must
430 be built before it. Check for makeinfo version 4 or higher.
431 * functions.texi: Regenerate.
432
39423523
DD
4332001-09-20 DJ Delorie <dj@redhat.com>
434 Phil Edwards <pedwards@disaster.jaj.com>
435
436 * configure.in (MAKEINFO, PERL): Detect these.
437 (--enable-maintainer-mode): Add.
438 * configure: Regenerate.
439 * Makefile.in (MAKEINFO, PERL): Define.
440 (libiberty.info, libiberty.dvi, libiberty.html): New.
441 (CFILES): Add bsearch.c.
442 (CONFIGURED_OFILES): New, list of objects configure might add.
443 (maint-missing, maint-buildall): New, for maintainers only.
444 (clean, mostlyclean): Add info/dvi/html files.
445 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
446 * gather-docs: New, for maintainers.
447 * maint-tool: New, for maintainers.
448 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
449 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
450 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
451 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
452 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
453 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
454 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
455 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
456 documentation.
457
66c94e19
DD
4582001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
459
460 * concat.c (reconcat): Fix for traditional C.
461
99ee3a8f
DD
4622001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
463
464 * concat.c (reconcat): New function.
465
54c20242
DD
4662001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
467
468 * concat.c (vconcat_length, vconcat_copy, concat_length,
469 concat_copy, concat_copy2): New functions.
470 (concat): Use vconcat_length/vconcat_copy.
471
472 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
473 Define.
474
843f21be
DD
4752001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
476
477 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
478 VA_FIXEDARG & VA_CLOSE.
479
480 * vasprintf.c: Check HAVE_STRING_H when including string.h.
481 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
482 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
483
8a423cb3
DD
4842001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
485
486 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
487
dc676635
DD
4882001-08-23 Ulrich Drepper <drepper@redhat.com>
489
490 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
491
4922001-08-23 Ulrich Drepper <drepper@redhat.com>
493
494 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
495 instead of mbrtowc.
496 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
497 wcslen, and __wcscoll instead of wcscoll.
498
f080c76d
DD
4992001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
500
4e55c4b6
DD
501 * fibheap.c (fibheap_init, fibnode_init): Remove.
502 (fibheap_new, fibnode_new): Use xcalloc to allocate and
503 initialize memory.
504 (fibheap_insert): Remove check for node allocation failure.
f080c76d 505
f01b59ed
DD
5062001-08-21 Richard Henderson <rth@redhat.com>
507
508 * Makefile.in (fibheap.o): Depend on config.h.
509 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
510 functions for inlining.
511
512Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
513
514 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
515 hosting on cygwin.
516 * configure: Regenerate.
517
eb828599
AC
5182001-08-20 Andrew Cagney <ac131313@redhat.com>
519
520 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
521 HARRIS_FLOAT_FORMAT.
522 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
523 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
524 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
525 (floatformat_m88110_harris_ext): New float formats.
526
4e55c4b6
DD
5272001-08-20 Daniel Berlin <dan@cgsoftware.com>
528
529 * fibheap.c: New file. Fibonacci heap.
530
531 * Makefile.in (CFILES): Add fibheap.c.
532 (REQUIRED_OFILES): Add fibheap.o.
533 (fibheap.o): Add dependencies for fibheap.o.
534
68a41de7
DD
5352001-08-17 Christopher Faylor <cgf@cygnus.com>
536
537 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
538 * configure: Regenerate.
539
8fc34799
DD
5402001-08-16 Richard Henderson <rth@redhat.com>
541
542 * hashtab.c (htab_hash_string): New.
543
16bad250
AC
5442001-08-13 Andrew Cagney <ac131313@redhat.com>
545
546 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
547 name.
548
a9022147
DD
5492001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
550
551 * regex.c (wcs_regex_compile): Use appropriate string
552 to compare with collating element.
553 Fix the padding for the alignment.
554
8aefe91a 5552001-08-10 Andrew Cagney <ac131313@redhat.com>
3ea71002
AC
556
557 * lbasename.c (lbasename): Change function definition to return a
558 const char pointer.
559
e7e9b069
DD
5602001-08-07 Jason Merrill <jason_merrill@redhat.com>
561
562 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
563 for".
564
cc5144f8
DD
5652001-08-03 Richard Henderson <rth@redhat.com>
566
567 * Makefile.in (concat.o): Depend on config.h.
568
8aefe91a
DD
5692001-07-30 Andreas Jaeger <aj@suse.de>
570
571 * concat.c: Include "config.h".
572
86710ce2
DD
5732001-07-30 Andreas Jaeger <aj@suse.de>
574
575 * regex.c: Declare wcs functions only if compiling with
576 MBS_SUPPORT.
577 Don't use #elif for traditional C.
578
5792001-07-23 Ulrich Drepper <drepper@redhat.com>
580
581 * regex.c: Revamp memory allocation for WCHAR functions to
582 not use too much stack.
583
5842001-07-30 Andreas Jaeger <aj@suse.de>
585
586 * regex.c: Declare wcs functions only if compiling with
587 MBS_SUPPORT.
588 Don't use #elif for traditional C.
589
a5d8f731
DD
5902001-07-25 Daniel Jacobowitz <drow@mvista.com>
591
592 * Makefile.in (regex.o): Add dependency on config.h.
593
6ad8a379
DD
5942001-07-18 Andreas Schwab <schwab@suse.de>
595
596 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
597 underscore character.
598
5992001-07-18 Ulrich Drepper <drepper@redhat.com>
600
601 * regex.c: Limit string length printed in debug messages to 100
602 chars.
603
6042001-07-18 Andreas Jaeger <aj@suse.de>
605
606 * regex.c: Place under LGPL version 2.1.
607
2a6ef469
DD
6082001-07-10 Jeff Johnston <jjohnstn@redhat.com>
609
610 * Makefile.in: Add support for regex code.
611 * regex.c: New file.
612
7b78baae
DD
6132001-07-05 Mark Klein <mklein@dis.com>
614
615 * Makefile.in: Add ffs.c dependency.
616 * configure.in: Add ffs.c.
617 * ffs.c: New file.
618
926150e2
DD
6192001-06-18 Richard Henderson <rth@redhat.com>
620
621 * concat.c: Include <sys/types.h>.
622
11f6f21d
DD
6232001-06-11 Loren J. Rittle <ljrittle@acm.org>
624
625 bootstrap/3106
626 * strerror.c (sys_nerr): Hide the OS header version.
627 * strsignal.c (sys_nsig): Likewise.
628
d42dae6c
DD
6292001-06-10 Richard Henderson <rth@redhat.com>
630
631 * concat.c: Include string.h. Fix int vs size_t usage.
632 Simplify the iteration loops. Use memcpy.
633
e05c6d27
DD
6342001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
635
636 * partition.c: Fix misspelling of `implementation'.
637
b50c4073
DD
6382001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
639
640 * md5.c (md5_init_ctx): Declare constants as unsigned.
641 (md5_process_block): Likewise.
642
457161bf
DD
6432001-05-07 Zack Weinberg <zackw@stanford.edu>
644
645 * cp-demangle.c (demangle_v3_with_details,
646 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
647 function definition.
648 * ternary.c: Use K+R style function definitions. Use PTR, not
649 void *. Make arguments constant where possible.
650
e00bc6a7
DD
6512001-05-07 Mark Mitchell <mark@codesourcery.com>
652
653 * splay-tree.h (splay_tree_max): New function.
654 (splay_tree_min): Likewise.
655
400ee7e1
DB
6562001-04-15 Daniel Berlin <dan@cgsoftware.com>
657
658 * ternary.c: New file - Ternary search tree implementation.
a5dd804e
DB
659
660 * Makefile.in: Add ternary.o, and ternary.c dependencies.
400ee7e1 661
d9697354
DD
6622001-04-03 Zack Weinberg <zackw@stanford.edu>
663
664 * make-temp-file.c (try): Inline.
665
a7bf099b
DD
6662001-02-28 Richard Henderson <rth@redhat.com>
667
668 * Makefile.in (make-temp-file.o): Depend on config.h.
669
30a1def2
DD
6702001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
671
672 * memchr.c (memchr): Adjust condition to avoid infinite loop.
673
079c672a
DD
6742001-03-23 Jakub Jelinek <jakub@redhat.com>
675
676 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
677 `_' not followed by a digit is invalid.
678
a88e356a
JB
6792001-03-22 Jim Blandy <jimb@redhat.com>
680
681 * cp-demangle.c (string_list_delete): Use dyn_string_delete
682 instead of free, to free the contents as well as the string
683 structure.
684
1dffcc66
DD
6852001-03-21 Zack Weinberg <zackw@stanford.edu>
686
687 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
688 Don't default P_tmpdir to anything. Try /var/tmp before
689 /usr/tmp.
690
6912001-03-20 Zack Weinberg <zackw@stanford.edu>
692
693 * choose-temp.c: Split off make_temp_file, and the code
694 duplicated between it and choose_temp_base, into...
695 * make-temp-file.c: ... here; new file.
696
697 * Makefile.in (CFILES): Add make-temp-file.c.
698 (REQUIRED_OFILES): Add make-temp-file.o.
699
e61231f1
JB
7002001-03-20 Jim Blandy <jimb@redhat.com>
701
702 * cp-demangle.c (struct demangling_def): New fields:
703 is_constructor and is_destructor.
704 (demangling_new): Initialize them.
705 (demangle_ctor_dtor_name): Set them, if we detect a constructor
706 or destructor.
707 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
708 is_gnu_v3_mangled_dtor): New functions.
709
a9cbbe6d
DD
7102001-03-20 Jason Merrill <jason@redhat.com>
711
712 * cplus-dem.c (main): Skip initial $.
713
b1e51b3c
DD
7142001-03-15 Michael Meissner <meissner@redhat.com>
715
716 * hashtab.c (higher_prime_number): Silence warning that 4294967291
717 might be a signed integer under pre-ISO C systems.
718
8aa30e60 7192001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
fa03f0a7 720 John David Anglin <dave@hiauly1.hia.nrc.ca>
8aa30e60 721
8aa30e60
DD
722 * libiberty/lbasename.c: New file.
723 * libiberty/Makefile.in: Update for lbasename.
8aefe91a 724
30673bf5
DD
7252001-03-06 Zack Weinberg <zackw@stanford.edu>
726
727 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
728 * configure.in: Replace all alloca logic with a simple use of
729 the above new macro.
730 * config.table: Kill *-*-beos* entry.
731 * config/mh-beos: Delete.
732 * configure, config.in: Regenerate.
fa03f0a7 733
30673bf5
DD
734 * Makefile.in (ALLOCA, HFILES): Kill.
735 (REQUIRED_OFILES): Add alloca.o.
736 (alloca.o): Depend on libiberty.h.
737 (argv.o): Don't depend on alloca-conf.h.
738 * alloca-conf.h: Delete.
739 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
740 blocks. Provide the C alloca unconditionally. Use PTR where
741 appropriate. Make i00afunc static.
742 * argv.c: Don't include alloca-conf.h.
fa03f0a7 743
5810f394
DD
7442001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
745
746 * cplus-dem.c (main): Cast enum style to int.
fa03f0a7 747
a9db032a
DD
7482001-02-16 Loren J. Rittle <ljrittle@acm.org>
749
750 * cplus-dem.c (main): Initialize style.
fa03f0a7 751
8aefe91a
DD
7522001-02-02 Phil Edwards <pme@sources.redhat.com>
753
754 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
755
bc9bf259
DD
7562001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
757
758 Add support for Java demangling under the v3 ABI:
759 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
760 (struct demangling_def): Add `style' field.
761 (demangling_new): New parameter `style'. Set it in demangling_t.
762 (demangle_prefix): Use NAMESPACE_SEPARATOR.
763 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
764 (cp_demangle): New parameter `style'. Pass it to demangling_new().
765 (main): Call cp_demangle with extra parameter.
766 (java_demangle_v3): New function.
767 (java_builtin_type_names): New. Table of primitive type names used
768 for Java demangling.
769 (demangle_builtin_type): Look up in java_builtin_type_names if doing
770 Java output.
771 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
772 demangling.
773 (long_options): Remove obsolete `java' option.
774 (main): Remove explicit handling of `java' option. Instead, pass style
775 parameter in cplus_demangle flags as gdb does.
776 * testsuite/demangle.expected: Add some Java test cases.
fa03f0a7 777
f6528837
DD
7782000-12-29 DJ Delorie <dj@redhat.com>
779
780 * fnmatch.c: Make the note about the origins of this file more
781 accurate, at least until we can sync with glibc.
782 * getopt.c: Ditto.
783 * getopt1.c: Ditto.
784 * md5.c: Ditto.
785 * obstack.c: Ditto.
9d969b59 786
c6da642e
DD
7872000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
788
789 * bsearch.c: New file.
790 * configure.in (funcs): Add bsearch.
791 (AC_CHECK_FUNCS): Likewise.
792 * configure, config.in: Regenerate.
793
ae7d06ad 7942000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
795
796 * safe-ctype.c: #include "ansidecl.h".
797 * strtod.c: Likewise.
798
ae7d06ad 7992000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
800
801 * strtoul.c: Include safe-ctype.h, not ctype.h.
802
ac424eb3
DD
8032000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
804
805 * safe-ctype.c: New file.
806 * Makefile.in (CFILES): Add safe-ctype.c.
807 (REQUIRED_OFILES): Add safe-ctype.o.
808
809 * argv.c: Define ISBLANK and use it, not isspace.
810 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
811 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
812 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
813 before calling TOLOWER(c)/TOUPPER(c).
814
4415a860
DD
8152000-12-07 Mike Stump <mrs@wrs.com>
816
817 * Makefile.in (distclean): When cleaning, remove testsuite.
818
849ee224
DD
8192000-12-05 Jason Merrill <jason@redhat.com>
820
821 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
822 name before allocating the dyn_string.
823
ae7d06ad 8242000-12-04 Jason Merrill <jason@redhat.com>
e49a569c
DD
825
826 * cp-demangle.c: s/new_abi/v3/.
827 * cplus-dem.c: Likewise.
828 (current_demangling_style): Now auto_demangling.
829 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
ae7d06ad 830 (main): Use standard symbol chars for auto_demangling.
e49a569c 831
ae7d06ad 8322000-11-26 Mark Mitchell <mark@codesourcery.com>
5ca0f83d
DD
833
834 * hashtab.c (higher_prime_number): Use a table, rather than a
835 seive, to find the next prime.
ae7d06ad
NC
836
8372000-11-22 H.J. Lu <hjl@gnu.org>
838
839 * cplus-dem.c (main): Handle gnat_demangling.
840
8412000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
2ea7befd
DD
842
843 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
844 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
845 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
846 argument form of AC_DEFINE in dummy definitions block. Use
847 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
848 in dummy block. Preload cache variables instead of bypassing
849 tests, where possible.
850 * acconfig.h: Removed.
ae7d06ad 851
2ea7befd
DD
852 * xmalloc.c (xmalloc_failed): New function, does error
853 reporting on failed allocation.
854 (xmalloc, xcalloc, xrealloc): Use it.
9c26dc82 855
f1775526
HPN
8562000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
857
858 * cplus-dem.c (cplus_demangle): Fix formatting.
859 (grow_vect): Ditto.
860 (ada_demangle): Ditto.
861 (internal_cplus_demangle): Ditto.
862 (mop_up): Ditto.
863
8642000-11-21 H.J. Lu <hjl@gnu.org>
865
866 * cplus-dem.c (main): Handle java_demangling.
867
ae7d06ad 8682000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
f1775526
HPN
869
870 * cplus-dem.c (grow_vect): Prototype.
871 (ada_demangle): Cast the arg of ctype macros to unsigned char.
872
5dd42ef4
HPN
8732000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
874
875 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
876 parameter `option'.
877
296731c1
DD
8782000-11-15 Kenneth Block <kenneth.block@compaq.com>
879
8944fb9d 880 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
296731c1
DD
881 be used in GCC.
882
6e53a714 8832000-11-15 Kenneth Block <kenneth.block@compaq.com>
16e85745 884
5dd42ef4 885 * cplus-dem.c: Add gnat demangler. Add java to demangle style
16e85745
HPN
886 list.
887
99a4c1bd
HPN
8882000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
889
890 * hashtab.c (htab_expand): Change to return int. Use calloc or
8aefe91a
DD
891 xcalloc depending on htab->return_allocation_failure. Return zero
892 if calloc fails.
99a4c1bd
HPN
893 (htab_create): Update comment to cover memory allocation.
894 (htab_try_create): New.
895 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
8aefe91a 896 Update comment to cover this.
99a4c1bd 897
e0f3df8f
HPN
8982000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
899
900 * hashtab.c: Change void * to PTR where necessary.
901 (htab_create, htab_expand): Correct formatting of comment before
902 function.
903
ae7d06ad 9042000-10-22 Alex Samuel <samuel@codesourcery.com>
59666b35
DD
905
906 * cp-demangle.c (string_list_def): Add caret_position and comments.
907 (result_caret_pos): New macro.
908 (result_append_string): Rename to...
909 (result_add_string): ... this, and insert at caret position.
ae7d06ad 910 Rename throughout.
59666b35
DD
911 (result_append): Rename to...
912 (result_add): ... this, and insert at caret position. Rename
ae7d06ad 913 throughout.
59666b35
DD
914 (result_append_char): Rename to...
915 (result_add_char): ... this, and insert at caret position. Rename
ae7d06ad 916 throughout.
59666b35
DD
917 (result_append_space): Remove.
918 (string_list_new): Initialize caret position.
919 (result_add_separated_char): Use caret position.
920 (result_get_caret): New funtion.
921 (result_set_caret): Likewise.
922 (result_shift_caret): Likewise.
923 (result_previous_char_is_space): Likewise.
924 (substitution_start): Use caret position.
925 (substitution_add): Likewise.
926 (demangling_new): Initialize caret position.
927 (demangle_encoding): Use caret position.
ae7d06ad 928 (demanglin_nested_name): Put CV qualifiers after name.
59666b35
DD
929 (demangle_type_ptr): Use switch statement. Handle pointers to
930 arrays. Don't use result_append_space. Use caret position.
931 (demangle_type): Emit CV qualifiers after underlying type. Adjust
ae7d06ad
NC
932 call to demangle_array_type.
933 (demangle_array_type): Add parameter to handle pointers to arrays.
74bcd529 934
ae7d06ad 9352000-10-01 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
936
937 * splay-tree.c (splay_tree_insert): Fix formatting.
ae7d06ad
NC
938
9392000-09-16 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
940
941 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
ae7d06ad
NC
942
9432000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
944
945 * splay-tree.c: #include <stdio.h>.
946
9472000-09-14 Hans-Peter Nilsson <hp@axis.com>
948
949 * testsuite/demangle-expected: Add two tests for anonymous
950 namespaces.
951 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
952
9532000-09-10 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
954
955 * splay-tree.c (splay_tree_predecessor): New function.
956 (splay_tree_successor): Likewise.
ae7d06ad
NC
957
9582000-09-10 Hans-Peter Nilsson <hp@axis.com>
959
960 * testsuite/demangle-expected: Add four tests for type_info
961 mangling.
962 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
963 for a non-template non-qualified type_info function or node.
964
9652000-09-08 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
966
967 * cp-demangle.c: Fix copyright banner.
ae7d06ad
NC
968
9692000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
970
971 * md5.c: #include "ansidecl.h".
972
9732000-09-06 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
974
975 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
976 (demangle_type): Handle substitution candidates correctly in the
977 face of special substitutions.
ae7d06ad
NC
978
9792000-09-05 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
980
981 * cp-demangle.c (demangle_encoding): Rename variable.
982 (demangle_name): Rename parameter. Handle return type
983 suppression.
984 (demangle_nested_name): Rename parameter.
985 (demangle_prefix): Likewise. Change return type suppression.
986 (demangle_unqualified_name): Add parameter. Flag constructors and
987 conversion operators.
988 (demangle_special_name): Fix comment.
989 (demangle_type): Rename variable.
990 (demangle_bare_function_type): Check for missing return type and
991 parameter.
992 (demangle_class_enum_type): Rename parameter.
993 (demangle_discriminator): Fix misspelling in comment.
ae7d06ad
NC
994
9952000-08-31 DJ Delorie <dj@redhat.com>
996
997 * configure.in (Cygwin): special case cygwin only when we're
998 building cygwin, not when we're hosting cygwin.
999
10002000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1001
1002 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
1003 <expression>.
ae7d06ad
NC
1004
10052000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1006
1007 * cp-demangle.c (demangle_type_ptr): Increment position past
1008 pointer and reference characters.
ae7d06ad
NC
1009
10102000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1011
1012 * cp-demangle.c (demangle_nv_offset): New function.
1013 (demangle_v_offset): Likewise.
1014 (demangle_call_offset): Likewise.
1015 (demangle_special_name): Update thunk demangling to comply with
1016 ABI changes.
ae7d06ad
NC
1017
10182000-09-03 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1019
1020 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
1021 (substitution_def): Remove template_parm_number.
1022 (NOT_TEMPLATE_PARM): Remove.
1023 (result_insert_string): New macro.
1024 (result_insert): Likewise.
1025 (result_insert_char): Likewise.
1026 (substitution_add): Remove last parameter. Don't store template
1027 parm number.
1028 (BFT_NO_RETURN_TYPE): Define as NULL.
1029 (demangle_encoding): Adjust call to demangle_bare_function_type.
1030 (demangle_name): Adjust substitution. Adjust call to
1031 substitution_add.
1032 (demangle_prefix): Adjust call to substitution_add.
1033 (demangle_identifier): Handle anonymous namespaces.
1034 (demangle_operator_name): Change demangling of vendor-extended
1035 operator to match ABI changes.
1036 (demangle_type_ptr): Change parameters. Make recursive. Handle
1037 substitutions here.
1038 (demangle_type): Adjust calls to demangle_template_param,
1039 substitution_add, and demangle_type_ptr. Fix substitution of
1040 templated types.
1041 (demangle_function_type): Change parameter to a pointer.
1042 (demangle_bare_function_type): Likewise. Adjust insertion point.
1043 (demangle_template_param): Remove last parameter.
1044 (demangle_expr_primary): Remove unused variable. Adjust call to
1045 demangle_template_param.
1046 (is_mangled_char): Accept `$' and `.'.
1047 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
1048 * dyn-string.c (dyn_string_insert_char): New function.
ae7d06ad
NC
1049
10502000-08-31 Hans-Peter Nilsson <hp@axis.com>
1051
1052 * testsuite/demangle-expected: Add nine tests for
1053 underscore-after-number followed by five tests for name-signature
1054 delimiter.
1055
10562000-08-28 Richard Henderson <rth@cygnus.com>
74bcd529
DD
1057
1058 * Makefile.in (md5.o): Depend on config.h.
ae7d06ad
NC
1059
10602000-08-28 Jason Merrill <jason@redhat.com>
1061
1062 * Makefile.in (REQUIRED_OFILES): Add md5.o.
1063 (CFILES): Add md5.c.
1064 * md5.c: New file.
1065
10662000-08-27 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1067
1068 * cp-demangle.c (demangle_name): Initialize template_p in local
1069 name case. Don't re-add substitutions as candidates.
1070 (demangle_nested_name): Use <unqualified-name>.
1071 (demangle_prefix): Likewise. Don't add template names as
1072 substitution candidates twice, or re-add a substitution or the
1073 last prefix component.
1074 (demangle_local_name): Adjust output format.
ae7d06ad
NC
1075
10762000-08-25 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1077
1078 * cp-demangle.c (result_add_separated_char): Change parameter to
1079 int.
1080 (substitution_add): Don't check for duplicates. Check if
1081 previously allocated size is zero.
1082 (demangle_name): Remove duplicate check for std substitution.
1083 Clear template flag appropriately.
1084 (demangle_prefix): Remove argument to demangle_substitution.
1085 Don't check that template flag is already set.
1086 (demangle_operator_name): Add pt operator.
1087 (demangle_type): Don't treat r as built-in type. Remove argument
1088 to demangle_substitution. Fix substitution candidate mechanics.
1089 Handle <template-template-parm>s. Improve comments.
1090 (demangle_template_param): Don't handle template arg lists here.
1091 (demangle_substitution): Remove parameter.
1092 (print_usage): Remove extra fprintf option.
ae7d06ad
NC
1093
10942000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
1095
1096 * libiberty/random.c (end_ptr): Revert previous change.
ae7d06ad
NC
1097
10982000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
1099
1100 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
1101 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
1102 * libiberty/random.c (end_ptr): Likewise.
ae7d06ad
NC
1103
11042000-08-23 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1105
1106 * cp-demangle.c (result_close_template_list): Remove function.
1107 (result_add_separated_char): New function.
1108 (result_open_template_list): New macro.
1109 (result_close_template_list): Likewise.
1110 (demangle_prefix): Don't set template_p if the
1111 prefix ends with a ctor name.
1112 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
1113 (demangle_type): Check for template args after substitution.
1114 (demangle_template_args): Use result_open_template_list.
d3e85005 1115
ae7d06ad 11162000-08-02 Zack Weinberg <zack@wolery.cumb.org>
64e3a659 1117
ae7d06ad 1118 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
050823ca 1119
ae7d06ad 11202000-07-26 Dave Pitts <dpitts@cozx.com>
d6e83f5f
JL
1121
1122 * config/mh-openedition.h: Added -DLE370 definition.
1123
a9f34fb6
JL
11242000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
1125
1126 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
1127 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
1128 Cast program to 'char *' in errmsg_arg assignment.
1129 (PWAIT_ERROR): Define.
1130 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
1131 to DJGPP's WIF* macros.
1132
90aaccd1 11332000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
ae7d06ad 1134 Jeff Law <law@cygnus.com>
90aaccd1 1135
ae7d06ad 1136 * getcwd.c: Include string.h, stdlib.h for prototypes
443519c1 1137
90aaccd1 1138 * Makefile.in (rename.o, waitpid.o): Depend on config.h
ae7d06ad
NC
1139 * rename.c: Include config.h, unistd.h
1140 * waitpid.c: Include config.h, sys/wait.h
90aaccd1 1141
6ef554e3
HPN
11422000-07-24 Hans-Peter Nilsson <hp@axis.com>
1143
1144 * cplus-dem.c (work_stuff_copy_to_from): New.
1145 (delete_non_B_K_work_stuff): New.
1146 (delete_work_stuff): New.
1147 (mop_up): Break out work_stuff partly destruction to
1148 delete_non_B_K_work_stuff.
1149 (iterate_demangle_function): New.
1150 (demangle_prefix): Call iterate_demangle_function instead of
1151 demangle_function_name. Leave handling of name-signature
1152 __-delimiters to iterate_demangle_function.
1153 (demangle_integral_value): Strip an optional
1154 following underscore cautiously. Handle negative numbers.
1155
ae7d06ad 11562000-07-24 Daniel Berlin <dberlin@redhat.com>
e8865c28 1157
ae7d06ad 1158 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
e8865c28
DB
1159 if (AUTO_DEMANGLING || GNU_DEMANGLING)
1160
ae7d06ad
NC
11612000-07-21 Alex Samuel <samuel@codesourcery.com>
1162
1163 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
1164 allocating ctor mangling.
1165 (demangle_array_type): Handle empty and non-constant array length.
1166
b1233257 11672000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
62df2065
JL
1168 Jeff Law <law@cygnus.com>
1169
1170 * configure.in (AC_CHECK_HEADERS): Add time.h.
1171 (AC_HEADER_TIME): Add check.
1172 * configure, config.in: Regenerate.
1173 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
1174
1175 * configure.in (AC_CHECK_HEADERS): Add limits.h.
1176 * configure, config.in: Regenerate.
1177 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
1178 * strtol.c, strtoul.c: #include "config.h". Portably #include
1179 <limits.h> and/or <sys/param.h>.
1180 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
b1233257 1181
7d3ffcaf
JL
1182 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
1183 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
1184 * configure, config.in: Regenerate.
1185 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
1186
b1233257
JL
1187 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
1188
ae7d06ad
NC
11892000-07-21 Mike Stump <mrs@wrs.com>
1190
1191 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
1192 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
1193
11942000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1195
1196 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
1197
1198 * setenv.c (setenv): Initialize variable `ep'.
1199
1200 * sigsetmask.c (abort): Prototype.
1201
1202 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
1203 __STDC__ for stdarg.h include.
1204 (int_vasprintf): Prototype.
1205 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
1206 definition. Cast `global_total_width' in comparison.
1207 (main): Prototype. Return a value.
1208
1209 * vfork.c (fork): Prototype.
1210
1211 * xexit.c: Include config.h.
1212
9adf30b2
JL
12132000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
1214
1215 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
1216 and print it with %u.
1217
2ed78d1b
HPN
12182000-07-17 Hans-Peter Nilsson <hp@axis.com>
1219
1220 * testsuite/regress-demangle (failed test): Show result and
1221 expected output.
1222
0473bdf7
AH
12232000-07-07 Andrew Haley <aph@cygnus.com>
1224
1225 * cplus-dem.c (main): fflush() after emitting last char before
1226 waiting for input.
1227
03d5f569
JM
12282000-06-28 Alex Samuel <samuel@codesourcery.com>
1229
1230 * cp-demangle.c (demangle_encoding): Accept no substitutions.
1231 (demangle_name): Handle <substitution> followed by
1232 <unqualified-template-name>.
1233 (demangle_type): Follow special substitutions with
1234 <class-enum-type>
1235 (demangle_subtitution): Set template_p for special substitutions.
1236 (main): Fix typos.
ae7d06ad 1237
03d5f569
JM
12382000-06-27 Alex Samuel <samuel@codesourcery.com>
1239
1240 * cp-demangle.c (demangle_special_name): Swap base and derived
1241 class when demangling construction vtables.
1242
12432000-06-21 Alex Samuel <samuel@codesourcery.com>
1244
1245 * cp-demangle.c: Don't include ctype.h.
1246 (IS_DIGIT): New macro.
1247 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
1248 instead of isdigit and isalpanum.
1249 (demangling_def): Make name and next const pointers.
1250 (STATUS_ALLOCATION_FAILED): New status code.
1251 (dyn_string_append_space): Handle failure in
1252 dyn_string_append_char.
1253 (int_to_dyn_string): Likewise. Change return value to status_t.
1254 (string_list_new): Handle failure of dyn_string_init.
1255 (result_close_template_list): Change return type to status_t.
1256 Handle failure in dyn_string_append.
1257 (result_push): Change return value to status_t. Handle failure in
1258 string_list_new. Handle failure of result_push throughout.
1259 (substitution_add): Change return value to status_t. Handle
1260 dyn_string failures. Handle failure of substitution_add
1261 throughout.
1262 (template_arg_list_new): Return NULL on allocation failure.
1263 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
1264 Handle error result throughout.
1265 (result_append): Likewise.
1266 (result_append_char): Likewise.
1267 (result_append_space): Likewise.
1268 (demangling_new): Make argument a const pointer. Handle
1269 allocation failures.
1270 (demangle_template_args): Handle failure in template_arg_list_new
1271 and result_close_template_list.
1272 (demangle_discriminator): Return if int_to_dyn_string fails.
1273 (cp_demangle): Likewise.
1274 (cp_demangle_type): New function.
1275 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
1276 memory allocation failure.
1277 (main): Likewise.
1278 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
1279 IN_LIBGCC2.
1280 (dyn_string_init): Change return value to int. Handle
1281 RETURN_ON_ALLOCATION_FAILURE case.
1282 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
1283 (dyn_string_release): Delete the dyn_string.
1284 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
1285 (dyn_string_copy): Change return type to int.
1286 (dyn_string_copy_cstr): Likewise.
1287 (dyn_string_prepend): Likewise.
1288 (dyn_string_prepend_cstr): Likewise.
1289 (dyn_string_insert): Likewise.
1290 (dyn_string_insert_cstr): Likewise.
1291 (dyn_string_append): Likewise.
1292 (dyn_string_append_cstr): Likewise.
1293 (dyn_string_append_char): Likewise.
1294 (dyn_string_substring): Likewise.
ae7d06ad 1295
eb383413 12962000-06-09 Zack Weinberg <zack@wolery.cumb.org>
9cc28cc8 1297
eb383413
L
1298 * cp-demangle.c (demangle_operator_name): Add spaces before
1299 names beginning with a letter: delete, delete[], new, new[],
1300 sizeof.
1301 (demangle_special_name): Handle TF <type> and TJ <type>.
9cc28cc8 1302
eb383413
L
1303Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
1304
1305 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
1306
1307Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
1308
1309 * cp-demangle.c (stdio.h): File included unconditionaly.
1310 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
1311 * dyn-string.c (stdio.h): File included.
1312 * partition.c (partition_print): No `&' needed to take the address of
1313 a function.
1314
13152000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1316
1317 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
ae7d06ad 1318
eb383413
L
1319 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
1320
1321 * cp-demangle.c (demangle_char): Change parameter from char to int.
1322 (demangle_expression, demangle_expr_primary): Remove extra
1323 semi-colon in prototype.
1324
1325 * dyn-string.c (dyn_string_append_char): Change parameter from
1326 char to int.
1327
1328 * memcmp.c (memcmp): Constify.
1329
1330 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
1331 __extension__.
1332
1333 * partition.c (elem_compare): Prototype. Don't cast away
1334 const-ness.
1335
1336 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
ae7d06ad 1337
eb383413
L
13382000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1339
1340 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
1341
1342 * cp-demangle.c: Include demangle.h.
1343 (template_arg_list_new): DeANSIfy.
1344 (cp_demangle): Make static and add prototype.
1345 (operator_code, operators): Constify.
1346 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
1347
13482000-06-05 Alex Samuel <samuel@codesourcery.com>
1349
1350 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
1351 unsigned char.
1352 (demangle_unqualified_name): Likewise.
1353 (demangle_number_literally): Likewise.
1354 (demangle_type): Likewise.
1355 (demangle_substitution): Likewise.
1356 (is_mangled_char): Likewise, for isalnum.
1357
13582000-06-04 Alex Samuel <samuel@codesourcery.com>
1359
1360 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
1361 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
1362 (cp-demangle.o): New dependency.
1363 (dyn-string.o): Likewise.
1364
1365 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
1366
1367 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
1368 demangler.
1369 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
1370 demangling mode.
1371 (gnu_new_abi_symbol_characters): New function.
1372 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
1373 file.
1374 * cp-demangle.c: New file.
ae7d06ad 1375
f03aa80d
AC
1376Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
1377
1378 * floatformat.c: Add name to each floatformat field.
1379
77bfb694
JL
1380Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
1381
1382 * Makefile.in (objalloc.o): Depend on config.h
1383
5c82d20a
ZW
13842000-05-29 Zack Weinberg <zack@wolery.cumb.org>
1385
eb383413 1386 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
5c82d20a
ZW
1387 if HAVE_STRING_H.
1388 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
1389 * objalloc.c: Include config.h. Include stdlib.h and don't
1390 declare malloc or free if HAVE_STDLIB_H.
1391 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
1392 else declare malloc without prototype. Include string.h if
1393 HAVE_STRING_H, else declare memset without prototype. Don't
1394 include stddef.h.
1395
eb383413
L
13962000-05-23 Mike Stump <mrs@wrs.com>
1397
1398 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
8aefe91a 1399 -j3.
eb383413
L
1400
14012000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
1402
1403 * xmalloc.c: Include config.h for HAVE_SBRK definition.
1404
14052000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
1406
ae7d06ad 1407 * hashtab.c (hash_pointer): Delete low-order bits which are
eb383413
L
1408 probably zero, also eliminate a warning on alpha.
1409
14102000-05-15 David Edelsohn <edelsohn@gnu.org>
1411
1412 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
1413 on $(enable_shared).
1414
14152000-05-10 Jakub Jelinek <jakub@redhat.com>
1416
1417 * config.table: Use mh-sparcpic for sparc*-*-*.
1418
14192000-05-08 Nick Clifton <nickc@cygnus.com>
1420
1421 * Makefile.in (CFILES): Add strncmp.c.
1422 (NEEDED): Add strncmp.
1423
14242000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5c82d20a 1425
eb383413
L
1426 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
1427 Cast the arguments to `islower' to `unsigned char'.
1428 (print_demangler_list): Prototype.
1429
1430Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
1431
1432 * sort.c (UCHAR_MAX): Provide fallback definition.
1433
14342000-04-29 Alexandre Oliva <aoliva@cygnus.com>
010c70e1
AO
1435
1436 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
1437 SUBDIRS.
1438
eb383413
L
14392000-04-28 Kenneth Block <block@zk3.dec.com>
1440 Jason Merrill <jason@casey.cygnus.com>
1441
ae7d06ad
NC
1442 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
1443 (cplus_demangle_set_style): New function for setting style.
1444 (cplus_demangle_name_to_style): New function to translate name.
eb383413
L
1445
14462000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1447
1448 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
1449
1450 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
1451 (libiberty_AC_FUNC_STRNCMP): Invoke.
1452
1453 * strncmp.c: New file.
1454
1455Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
1456
1457 * hashtab.c (htab_expand): Add prototype.
1458 (find_empty_slot_for_expand): Likewise.
1459
14602000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1461
1462 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
1463 match prototype.
1464 (htab_expand): Cast the return value of xcalloc.
1465
14662000-04-24 Mark Mitchell <mark@codesourcery.com>
1467
1468 * hashtab.c (hash_pointer): New function.
1469 (eq_pointer): Likewise.
1470 (htab_hash_pointer): New variable.
1471 (htab_eq_pointer): Likewise.
1472
14732000-04-23 Mark Mitchell <mark@codesourcery.com>
1474
1475 * sort.c (sort_pointers): Fix endianness bugs.
1476
1477 * sort.c: New file.
1478 * Makefile.in (CFILES): Add sort.c
1479 (REQUIRED_OFILES): Add sort.o.
1480 (sort.o): New target.
1481
19be4303
JL
14822000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1483
1484 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
1485 4.3BSD systems.
1486
eb383413
L
1487Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1488
1489 * hashtab.c: Various minor cleanups.
1490 (htab_find_slot_with_hash): INSERT is now enum insert_option.
1491 (htab_find_slot): Likewise.
1492
14932000-04-16 Dave Pitts <dpitts@cozx.com>
1494
1495 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
ae7d06ad 1496
afe36a78
RH
14972000-04-05 Richard Henderson <rth@cygnus.com>
1498
1499 * splay-tree.c (splay_tree_remove): New.
1500
eb383413
L
15012000-03-30 Mark Mitchell <mark@codesourcery.com>
1502
1503 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
1504 codes.
1505 (htab_find_with_hash): Likewise.
1506 (htab_find_slot_with_hash): Likewise.
ae7d06ad 1507
eb383413
L
15082000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1509
1510 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
1511 unless it will be used. Rearrange loop for better
1512 optimization.
1513 (higher_prime_number): Add static prototype.
1514
b4fe2683
JM
1515Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
1516
1517 * Makefile.in (partition.o): Depend on config.h
1518
15192000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
1520
1521 * hashtab.c (find_empty_slot_for_expand): New function.
1522 (htab_expand): Use it instead of htab_find_slot.
1523 (htab_find_with_hash): Renamed from htab_find; now accepts extra
1524 argument HASH.
1525 (htab_find_slot_with_hash): Likewise for htab_find_slot.
1526 (htab_find): New wrapper function.
1527 (htab_find_slot): Likewise.
1528 (htab_traverse): Pass slot, not entry, to called function.
1529
15302000-03-09 Alex Samuel <samuel@codesourcery.com>
1531
1532 * Makefile.in (CFILES): Add partition.c.
1533 (REQUIRED_OFILES): Add partition.o.
1534 (partition.o): New rule.
1535 * partition.c: New file.
ae7d06ad 1536
b4fe2683
JM
15372000-03-09 Zack Weinberg <zack@wolery.cumb.org>
1538
1539 * hashtab.c (htab_create): Set del_f.
1540 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
1541 Use it.
1542
15432000-03-08 Zack Weinberg <zack@wolery.cumb.org>
1544
1545 * hashtab.c: Remove debugging variables (all_searches,
1546 all_collisions, all_expansions). Delete
1547 all_hash_table_collisions.
1548 (create_hash_table, delete_hash_table, empty_hash_table,
1549 find_hash_table_entry, remove_element_from_hash_table_entry,
1550 clear_hash_table_slot, traverse_hash_table, hash_table_size,
1551 hash_table_elements_number, hash_table_collisions): Rename to:
1552 htab_create, htab_delete, htab_empty, htab_find_slot,
1553 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
1554 htab_elements, htab_collisions.
1555 (htab_find): New function, handles common case where you don't
1556 plan to add or delete an entry.
1557 (htab_expand): Don't create a whole new table, just a new
1558 entry vector.
1559 (htab_find_slot): Simplify logic.
1560
08372f14
ILT
15611999-08-03 Ian Lance Taylor <ian@zembu.com>
1562
1563 * floatformat.c: Add casts to avoid signed/unsigned warnings.
1564 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
1565
1566 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
1567 $(TARGETLIB)n so it works on MSDOS.
1568 (install_to_tooldir): Likewise.
1569
9c8ac5a9
ILT
15701999-07-21 Ian Lance Taylor <ian@zembu.com>
1571
1572 From Mark Elbrecht:
1573 * makefile.dos: Remove; obsolete.
8f36e47c 1574 * configure.bat: Remove; obsolete.
9c8ac5a9 1575
0c0a36a4
ILT
15761999-07-11 Ian Lance Taylor <ian@zembu.com>
1577
1578 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1579 warning.
1580
15812000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1582
1583 * pexecute.c: Conditionally include string.h.
b4fe2683 1584 (fix_argv): Handle embedded whitespace in args for Mingw32.
0c0a36a4
ILT
1585
15862000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1587
1588 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
1589 we're using gcc.
1590
1591 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
1592
15931999-12-27 Geoff Keating <geoffk@cygnus.com>
1594
1595 * vasprintf.c (int_vasprintf): Don't re-read the format character
1596 as this mishandles strings like '%%s'.
1597
15981999-12-05 Mark Mitchell <mark@codesourcery.com>
1599
1600 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
1601 rather than struct splay_tree_node.
1602 (splay_tree_insert): Use struct splay_tree_s rather than struct
1603 splay_tree.
1604
1605Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
1606
1607 * hashtab.c (sys/types.h): File included.
1608
16091999-11-22 Jason Merrill <jason@casey.cygnus.com>
1610
1611 * strtoul.c, strtol.c, random.c: Remove advertising clause from
1612 BSD license, pursuant with
1613
1614 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
1615
1616Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
1617
1618 * hashtab.c: Include stdio.h.
1619
1620Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
1621
1622 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
1623
1624Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
1625
1626 * xstrdup (sys/types.h): Include this file.
1627
16281999-10-28 Nathan Sidwell <nathan@acm.org>
1629
1630 * Makefile.in (SUBDIRS): New macro.
1631 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
1632 avoid multiple subdirectory cleaning.
1633 (*-subdir): Use SUBDIRS.
1634
16351999-10-25 Jim Kingdon <http://developer.redhat.com/>
1636
1637 * cplus-dem.c: Move declarations of standard_symbol_characters and
1638 hp_symbol_characters inside #ifdef MAIN to avoid compiler
1639 warnings.
1640
16411999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
1642
1643 * hashtab.c (find_hash_table_entry): When returning a
1644 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
1645 (clear_hash_table_slot): New function which deletes an entry
1646 by its position in the table, not its value.
1647 (traverse_hash_table): New function which calls a hook
1648 function for every live entry in the table.
1649
16501999-10-19 Mark Mitchell <mark@codesourcery.com>
1651
1652 * cplus-dem.c (INTBUF_SIZE): New macro.
1653 (string_append_template_idx): New function.
1654 (demangle_expression): Likewise.
1655 (demangle_integral_value): Use it.
1656 (demangle_real_value): New function, split out from ...
1657 (demangle_template_value_parm): ... here. Use
1658 string_append_template_idx. Use demangle_real_value.
1659 (demangle_template): Use string_append_template_idx.
1660 (demangle_qualified): Use consume_count_with_underscores.
1661 (get_count): Tweak formatting.
1662 (do_type): Use string_append_template_idx.
b4fe2683 1663
0c0a36a4
ILT
16641999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1665
1666 * calloc.c: Add a public domain notice.
1667
1668Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
1669
1670 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
1671
1672Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
1673
1674 * Makefile.in (CFILES): Add hashtab.c
1675 (REQUIRED_OFILES): Add hashtab.o
1676 (hashtab.o): Add dependencies.
1677 * hashtab.c: New file
1678
1679Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
1680
1681 * basename.c (DIR_SEPARATOR): New macro.
1682 (DIR_SEPARATOR_2): Likewise.
1683 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
1684 (IS_DIR_SEPARATOR): Likewise.
1685 (main): Handle MSDOS style pathname.
1686
16871999-10-11 Mark Mitchell <mark@codesourcery.com>
1688
1689 * cplus-dem.c (do_type): Handle pointer to member types whose
1690 enclosing classes have namespace scope.
1691
1692Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
1693
1694 * config.table: Provide a backup shell for executing move-if-change.
1695
16961999-10-02 Mark Mitchell <mark@codesourcery.com>
1697
1698 * xmalloc.c (xmalloc): Fix spelling error.
1699 (xcalloc, xrealloc): Likewise.
1700
17011999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1702
1703 * cplus-dem.c (fancy_abort, demangle_integral_value,
1704 demangle_arm_hp_template, recursively_demangle,
1705 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
1706 (program_name, program_version, fatal): Constify a char*.
1707 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
1708 (main): Call return, not exit.
1709
17101999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1711
1712 * choose-temp.c: Remove obsolete comment about gcc.
1713 (make_temp_file): Constify a char*.
1714
1715Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1716
1717 * xmemdup.c: Include sys/types.h.
1718
17191999-09-07 Jeff Garzik <jgarzik@pobox.com>
1720
1721 * xmemdup.c: New xmemdup function.
1722 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
1723
1724Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
1725
b4fe2683 1726 * config.table: Add openedition target.
0c0a36a4
ILT
1727 * config/mh-openedition: New file.
1728
1729Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
1730
1731 * pexecute.c (pexecute): Fill in temp_base when needed.
1732
17331999-08-31 Richard Henderson <rth@cygnus.com>
1734
1735 * getpwd.c: Check HAVE_GETCWD before defining it away.
1736
17371999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1738
1739 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
1740 (REQUIRED_OFILES): Add getpwd.o.
1741 (getpwd.o): Add target.
1742
1743 * configure.in (AC_PREREQ): Bump to 2.13.
1744 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
1745
1746 * getpwd.c: New file, moved here from gcc.
1747
17481999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1749
1750 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
1751 comparing against a signed quantity.
1752 (arm_special): Likewise.
1753 (demangle_fund_type): Likewise.
1754 (do_hpacc_template_const_value): Mark parameter `work' with
b4fe2683 1755 ATTRIBUTE_UNUSED.
0c0a36a4
ILT
1756 (main): Constify variable `valid_symbols'.
1757
1758Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
1759
1760 * strtoul.c (strtoul): Add parentheses around && within ||.
1761
1762Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
1763
1764 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
1765 libdir, libsubdir and tooldir.
1766
17671999-08-01 Mark Mitchell <mark@codesourcery.com>
1768
1769 * splay-tree.c (splay_tree_insert): Return the new node.
1770
35ca97ea
RH
17711999-07-14 Richard Henderson <rth@cygnus.com>
1772
b4fe2683 1773 * argv.c: Include stdlib.h and string.h instead of
35ca97ea
RH
1774 prototyping directly.
1775 * choose-temp.c: Conditionally include string.h.
1776
0c0a36a4
ILT
17771999-07-12 Jason Merrill <jason@yorick.cygnus.com>
1778
1779 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
1780
af32ff69
ILT
17811999-07-11 Ian Lance Taylor <ian@zembu.com>
1782
1783 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1784 warning.
1785
0c0a36a4
ILT
17861999-07-07 Jason Merrill <jason@yorick.cygnus.com>
1787
1788 * Makefile.in (needed-list): Only include stuff we actually need
1789 for libstdc++.
1790
17911999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1792
1793 * configure.in (checkfuncs): Add gettimeofday.
1794 * config.in, configure: Regenerated.
1795
1796Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
1797
1798 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
1799 the test fails.
1800 * configure: Regenerate.
1801
18021999-06-10 Mike Stump <mrs@wrs.com>
1803
1804 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
1805 parallel builds.
1806
18071999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1808
1809 * putenv.c: Include ansidecl.h to define `const'.
1810 * setenv.c: Likewise.
1811
1812Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
1813
1814 * Makefile.in (CFILES): Add putenv.c and setenv.c.
1815 * configure.in (funcs): Add putenv and setenv.
1816 (AC_CHECK_FUNCS): Check for putenv and setenv.
1817 * configure: Rebuilt.
1818 * putenv.c setenv.c: New files.
1819
1820 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
1821 bytes of space using malloc.
1822
1823Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
1824
1825 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
1826 the *mangled pointer beyond the end of the string. Clean up code to
1827 match prevailing coding style.
1828
18291999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1830
1831 * tmpnam.c (L_tmpnam): Fix typo.
1832
1833Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
1834
1835 * cplus-dem.c (standard_symbol_characters): Renamed from
1836 standard_symbol_alphabet. No longer modify TABLE.
1837 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
1838 modify TABLE.
1839 (main): Corresponding changes. Use strchr to determine if a
1840 character is valid.
1841
e9868447
JB
18421999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
1843
1844 * cplus-dem.c (main): Use table lookup to distinguish identifier
1845 characters from non-identifier characters.
1846 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
1847
33fbbfbc
RH
1848Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
1849
1850 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
1851 * getruntime.c: Only attempt to include sys/resource.h and
1852 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
1853 are defined.
1854
0c0a36a4
ILT
1855Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
1856
1857 * configure.in (alloca detection): Handle alloca directly for interix.
1858 * configure: Rebuilt.
1859
1860Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
1861
1862 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
1863
252b5132
RH
18641999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
1865
1866 Fix from Dale Hawkins:
b4fe2683 1867 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
252b5132
RH
1868 reallocated properly if we use it again.
1869
1870 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
1871 stricter about syntax. Always null-terminate string.
1872
c1687039
ILT
1873Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
1874
1875 * configure.in (checkfuncs): Check for sbrk.
1876 * config.in: Rebuilt.
1877 * configure: Likewise.
1878 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
1879
0c0a36a4
ILT
18801999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
1881
1882 Fix from Marcus Daniels:
1883 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
1884 identifier looking for another underscore.
1885
1886Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
1887
1888 * pexecute.c: Change all references to __UWIN__ to _UWIN.
1889 * xmalloc.c: Likewise.
1890 (xcalloc): UWIN has sbrk.
1891 (xrealloc): Fix guard macro.
1892
252b5132
RH
18931999-04-11 Richard Henderson <rth@cygnus.com>
1894
1895 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
1896 or <alloca.h>.
1897 * clock.c (GNU_HZ): New definition.
1898 (clock): Use it.
1899 * getruntime.c: Likewise.
1900
1901 * config.table: Use mh-beos.
1902 * config/mh-beos: New file.
1903
0c0a36a4
ILT
19041999-04-11 Mark Mitchell <mark@codesourcery.com>
1905
1906 * cplus-dem.c (demangle_template_value_parm): Handle
1907 pointers-to-members.
1908 (do_type): Handle template parameters as qualifiers.
1909
252b5132
RH
19101999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
1911
1912 * cplus-dem.c: Attempt to handle overflows in counts with some
1913 semblance of grace.
1914 (consume_count): Detect overflows. Return -1 to indicate errors,
1915 instead of zero.
1916 (demangle_template_value_parm, demangle_template): Handle change
1917 to consume_count's return convention.
1918
0c0a36a4
ILT
19191999-04-05 Tom Tromey <tromey@cygnus.com>
1920
1921 * testsuite/regress-demangle: New file.
1922 * testsuite/demangle-expected: New file.
252b5132 1923
0c0a36a4
ILT
1924 * Makefile.in (all, check, installcheck, info, install-info,
1925 clean-info, dvi, install, etags, tags, mostlyclean, clean,
1926 distclean, maintainer-clean, realclean): Depend on corresponding
1927 `-subdir' target.
1928 (all-subdir check-subdir installcheck-subdir info-subdir
1929 install-info-subdir clean-info-subdir dvi-subdir
1930 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
1931 distclean-subdir maintainer-clean-subdir): New target.
1932 * testsuite/Makefile.in: New file.
1933 * configure: Rebuilt.
1934 * configure.in: Create testsuite/Makefile.
252b5132
RH
1935
19361999-04-02 Mark Mitchell <mark@codesourcery.com>
1937
1938 * splay-tree.h (splay_tree_compare_pointers): Define.
1939
19401999-03-30 Mark Mitchell <mark@codesourcery.com>
1941
1942 * splay-tree.c (splay_tree_compare_ints): Define.
1943
19441999-03-30 Tom Tromey <tromey@cygnus.com>
1945
1946 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
1947 don't advance input pointer.
1948 (demangle_class_name): If consume_count didn't find a count, do
1949 nothing. Don't bother with `strlen' sanity check; consume_count
1950 does it for us.
1951
19521999-03-16 Stan Shebs <shebs@andros.cygnus.com>
1953
1954 From Art Haas <ahaas@neosoft.com>:
1955 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
1956 when doing arm or hp style.
1957 (demangle_nested_args): Decr forgetting_types field when done.
b4fe2683 1958
252b5132
RH
1959Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
1960
1961 * pexecute.c (__CYGWIN32__): Rename to
1962 (__CYGWIN__): this.
1963 * xmalloc.c: Likewise.
1964
1965 Changes to support i386-pc-uwin.
1966 * configure.in (*-*-uwin*): Workaround for vfork bug.
1967 * configure: Regenerate.
1968 * pexecute.c (pexecute): Be like standard Unix.
1969 (pwait): Likewise.
1970 * xmalloc.c (first_break): Define.
1971 (xmalloc_set_program_name): Use.
1972 (xmalloc): Use.
1973
1974Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1975
1976 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
1977
1978Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
1979
1980 * config.table: Check cygwin*, not cygwin32*.
1981
1982Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
1983
1984 * Makefile.in: Change mkstemp -> mkstemps.
1985
1986Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
1987
1988 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
1989 * configure.in (funcs): Check for and conditionally add mkstemps to
1990 the list of functions libiberty will provide.
1991 * configure: Rebuilt.
b4fe2683 1992
252b5132
RH
1993Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
1994
b4fe2683 1995 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
252b5132
RH
1996 platforms that don't have HZ.
1997 * getruntime.c (HZ): Likewise.
1998
1999Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
2000
2001 * Makefile.in (xstrdup.o): Depend on config.h.
2002
2003Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
2004
2005 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
2006 freeing it.
2007
2008Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2009
2010 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
2011
2012Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2013
2014 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
2015 splay-tree.o.
2016
20171999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
2018
2019 * configure.in: Require autoconf 2.12.1 or higher.
2020
20211998-12-30 Michael Meissner <meissner@cygnus.com>
2022
2023 * random.c (NULL): Don't redefine NULL if it is already defined.
2024
2025Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2026
2027 * argv.c (buildargv): Cast the result of alloca in assignment.
2028
2029 * choose-temp.c: Include stdlib.h.
2030
2031 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
8aefe91a
DD
2032 (snarf_numeric_literal): Constify first parameter.
2033 (code_for_qualifier): Avoid a gcc extension, make the parameter an
2034 int, not a char.
252b5132
RH
2035 (demangle_qualifier): Likewise.
2036 (demangle_signature): Cast the argument of a ctype function to
2037 unsigned char.
2038 (arm_pt): Add parens around assignment used as truth value.
2039 (demangle_arm_hp_template): Constify variable `args'.
2040 (do_hpacc_template_const_value): Cast the argument of a ctype
2041 function to unsigned char.
2042 (do_hpacc_template_literal): Remove unused variable `i'.
2043 (snarf_numeric_literal): Constify parameter `args'.
2044 Cast the argument of a ctype function to unsigned char.
2045
2046 * floatformat.c (floatformat_to_double): Add explicit braces to
8aefe91a 2047 avoid ambiguous `else'.
252b5132
RH
2048
2049 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
8aefe91a
DD
2050 `cstart' and `cend' to unsigned char. Cast the argument of macro
2051 `FOLD', which uses ctype functions, to unsigned char.
252b5132
RH
2052
2053 * objalloc.c (free): Add prototype.
2054
2055Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
2056
2057 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
2058
2059Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
2060
2061 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
8aefe91a 2062 doesn't exist.
252b5132 2063 (do_hpacc_template_literal): remove unused variable `i'.
b4fe2683 2064
252b5132
RH
2065Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2066
2067 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
2068 bumping the pointer we read from. Also prepend these codes,
2069 as we do in other places.
2070
20711998-12-18 Nick Clifton <nickc@cygnus.com>
2072
2073 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
2074 'const char *' in order to match its usage when calling siblings.
2075 (snarf_numeric_literal): Make first arg 'const char **' in order
2076 to match usage.
2077
2078Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2079
2080 * choose-temp.c: Don't check IN_GCC anymore.
2081
2082 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
2083 * memchr.c (memchr): Likewise.
2084 * memcpy.c (memcpy): Likewise.
2085 * memmove.c (memmove): Likewise.
2086
2087 * mkstemp.c: Don't check IN_GCC anymore.
2088 * pexecute.c: Likewise.
2089 * splay-tree.c: Likewise.
2090
2091 * strchr.c (strchr): Use `const', not `CONST'.
2092 * strrchr.c (strrchr): Likewise.
2093 * strtol.c (strtol): Likewise.
2094 * strtoul.c (strtoul): Likewise.
2095
2096Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
2097 Elena Zannoni <ezannoni@cygnus.com>
2098 Stan Shebs <shebs@cygnus.com>
2099 Edith Epstein <eepstein@cygnus.com>
2100 Andres MacLeod <amacleod@cygnus.com>
2101 Satish Pai <pai@apollo.hp.com>
2102
2103 * HP aCC demangling support.
2104 * cplus-dem.c
2105 (main): Remove default to HP style demangling, set to EDG
8aefe91a
DD
2106 demangling correctly when -edg specified; set the demangling style
2107 when user specifies 'edg'. Set strip_underscore to
2108 prepends_underscore, if not HPUXHPPA. Set
2109 current_demangling_style to hp_demangling if HPUXHPPA. Set
2110 current demangling style correctly if the switch is hp. Read
2111 label correctly also in the HP style case.
252b5132 2112 (work_stuff): add temp_start field; add field for volatile member
8aefe91a 2113 function.
252b5132 2114 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
8aefe91a 2115 style for this case is the same as ARM.
252b5132
RH
2116 (demangle_args): handle EDG_DEMANGLING style; support HP style.
2117 (demangle_arm_hp_template): new function. (It was
8aefe91a
DD
2118 demangle_arm_pt.); check and set value of temp_start field in
2119 multiple places. Also, when ceching for end of template args,
2120 check to see if at end of static member of template class.
252b5132 2121 (demangle_class): new local variable : save_class_name_end Don't
8aefe91a 2122 include template args in string defining class.
252b5132
RH
2123 (demangle_class_name): use demangel_arm_hp_template.
2124 (demangle_function_name): handle case where demangling style is
8aefe91a
DD
2125 HP_DEMANGLING and currently point at an 'X' in the mangled name.
2126 Handle EDG_DEMANGLING style. Handle constructor and destructor
2127 ops for HP style.
252b5132 2128 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
8aefe91a
DD
2129 styles. global destructor and constructor for HP style are same
2130 as for ARM style. Same for local variables.
252b5132
RH
2131 (demangle_qualified): handle EDG_DEMANGLING style.
2132 (demangle_signature): add case for volatile member function. For
8aefe91a
DD
2133 cases '1' - '9' : initialize the temp_start field to -1 and handle
2134 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
2135 and AUTO_DEMANGLING styles. If expecting a function and managed
2136 to demangle the funct args, then handle the LUCID_DEMANGLING,
2137 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
2138 class name after "Lnnn_ in HP style case. HP style too needs to
2139 forget types. _nnn is OK for HP style, so don't report failure.
252b5132 2140 (do_hpacc_template_const_value): new function. Handle template's
8aefe91a 2141 value param for HP/aCC.
252b5132 2142 (do_hpacc_template_literal): new function. Handle a template's
8aefe91a 2143 literal parameter for HP aCC.
252b5132
RH
2144 (recursively_demangle): new function
2145 (snarf_numeric_literal): new function.
2146 (usage): add 'edg' to the list of demangling styles; add hp switch
8aefe91a 2147 to message.
252b5132
RH
2148
2149Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
2150
2151 * pexecute.c: Remove obsolete ifdefed cygwin code.
2152
2153Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2154
2155 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
2156 * cplus-dem.c: Likewise. Conform to libiberty.h.
2157 * pexecute.c: Likewise.
2158 * splay-tree.c: Likewise.
2159
21601998-11-25 Mike Stump <mrs@wrs.com>
2161
2162 * Makefile.in (splay-tree.o): Add config.h dependency.
2163
2164Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2165
2166 * configure.in: Use AC_PREREQ(2.12.1).
2167
21681998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
2169
b4fe2683 2170 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
252b5132
RH
2171
2172Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
2173
2174 * mpw.c (mpw_access): Add missing parens.
2175
2176Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2177
2178 * configure.in: Call AC_HEADER_SYS_WAIT.
2179
2180 * pexecute.c: Include sys/wait.h when !IN_GCC.
2181
2182Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
2183
2184 * pexecute.c: revert back to checking old Cygwin
2185 preprocessor symbol until some time has passed.
2186
2187Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
2188
2189 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
2190 since it will now support similar constructs.
2191
2192Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2193
2194 * configure.in: Check for calloc.
2195
2196 * calloc.c: New file.
2197
2198 * xmalloc.c (xcalloc): New function.
2199
2200Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2201
2202 *cplus-dem.c (demangle_prefix): Use the last "__"
2203 in the mangled name when looking for the signature. This allows
2204 template names to begin with "__".
2205
22061998-11-08 Mark Mitchell <mark@markmitchell.com>
2207
2208 * cplus-dem.c (type_kind_t): Add tk_reference.
2209 (demangle_template_value_parm): Handle it.
2210 (do_type): Use it for references, instead of tk_pointer.
2211
2212 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
2213 not internal_cplus_demangle.
2214
2215Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2216
2217 * choose-temp.c: Don't include gansidecl.h.
2218 * mkstemp.c: Likewise.
2219 * pexecute.c: Likewise.
2220
2221Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
2222
b4fe2683
JM
2223 * configure.in: detect cygwin* instead of cygwin32*
2224 * configure: regenerate
252b5132
RH
2225
2226Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2227
2228 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
8aefe91a
DD
2229 whether to include config.h. Possibly include unistd.h in the
2230 !IN_GCC case. Define VFORK_STRING as a printable function call
2231 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
2232 defined, include vfork.h. If VMS is defined, define vfork()
2233 appropriately. Remove vfork check on USG, we're using autoconf.
2234 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
2235 locally what string to use.
252b5132
RH
2236
22371998-10-26 Mark Mitchell <mark@markmitchell.com>
2238
2239 * splay-tree.c: Tweak include directives to make sure declarations of
2240 xmalloc and free are available.
2241
22421998-10-25 Mark Mitchell <mark@markmitchell.com>
2243
2244 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
2245 anonymous namespaces.
2246
22471998-10-23 Mark Mitchell <mark@markmitchell.com>
2248
2249 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
2250 with type_quals.
2251 (TYPE_UNQUALIFIED): New macro.
2252 (TYPE_QUAL_CONST): Likewise.
2253 (TYPE_QUAL_VOLATILE): Likewise.
2254 (TYPE_QUAL_RESTRICT): Likewise.
2255 (code_for_qualifier): New function.
2256 (qualifier_string): Likewise.
2257 (demangle_qualifier): Likewise.
2258 (internal_cplus_demangle): Use them.
2259 (demangle_signature): Likewise.
2260 (demangle_template_value_parm): Likewise.
2261 (do_type): Likewise.
2262 (demangle_fund_type)): Likewise.
2263
2264Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2265
2266 * splay-tree.c (splay_tree_foreach_helper): Make definition static
2267 to match prototype.
2268
22691998-10-21 Mark Mitchell <mark@markmitchell.com>
2270
2271 * splay-tree.c: New file.
2272 * Makefile.in (CFILES): Add it.
2273 (REQUIRED_OFILES): Likewise.
2274 (splay-tree.o): Add dependencies.
2275
2276Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2277
2278 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
2279 range of 'K' index.
2280
2281Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2282
2283 * choose-temp.c: Prototype mkstemps() when IN_GCC.
2284
2285 * cplus-dem.c (consume_count): Cast argument of ctype macro to
2286 `unsigned char'.
2287 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
2288 comparing against one.
2289 (cplus_mangle_opname): Likewise.
2290 (demangle_integral_value): Cast argument of ctype macro to
2291 `unsigned char'.
2292 (demangle_template_value_parm): Likewise.
2293 (demangle_template): Initialize variable `bindex'. Cast the
2294 result of `strlen' to (int) when comparing against one. Remove
2295 unused variable `start_of_value_parm'.
2296 (demangle_class_name): Cast the result of `strlen' to (int) when
2297 comparing against one.
2298 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
2299 (gnu_special): Likewise. Cast the result of `strlen' to (int)
2300 when comparing against one.
2301 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
2302 (get_count): Likewise.
2303 (do_type): Likewise. Cast the result of `strlen' to (int) when
2304 comparing against one.
2305 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
2306 (demangle_function_name): Cast the result of `strlen' to (int)
2307 when comparing against one.
2308
2309 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
2310 comparing against one.
2311
2312Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
2313
b4fe2683
JM
2314 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
2315 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
2316 * config.in, configure: Rebuilt.
252b5132
RH
2317
2318 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
2319 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
2320 * config.in, configure: Rebuilt.
2321
2322Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
2323
b4fe2683 2324 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
252b5132
RH
2325
2326Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
2327
2328 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
2329
2330Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
2331
2332 * Merge egcs & devo libiberty.
2333