* elf32-i386.c (elf_i386_finish_dynamic_sections): Add output_offset
[deliverable/binutils-gdb.git] / libiberty / ChangeLog
... / ...
CommitLineData
12002-12-04 Danny Smith <dannysmith@users.sourceforge.net>
2
3 * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
4 Define for hosts with HOST_EXECUTABLE_SUFFIX.
5
62002-11-24 Nick Clifton <nickc@redhat.com>
7
8 * make-relative-prefix.c (make_relative_prefix): Ensure return
9 string is empty before using strcat to construct it.
10
112002-11-22 Daniel Jacobowitz <drow@mvista.com>
12
13 * Makefile.in: Add make-relative-prefix.c.
14 * make-relative-prefix.c: New file.
15 * functions.texi: Rebuilt.
16
172002-11-16 Jakub Jelinek <jakub@redhat.com>
18
19 * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
20 used with arguments in traditional C' warnings.
21
222002-10-16 Jakub Jelinek <jakub@redhat.com>
23
24 * config.table: Use mh-s390pic for s390x too.
25
262002-10-06 Andreas Jaeger <aj@suse.de>
27
28 * libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded
29 variable and of strict-aliasing warning.
30 (grow_vect): Use char as first parameter.
31
322002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
33
34 * Makefile.in (all): Fix multilib parallel build.
35
362002-09-19 John David Anglin <dave@hiuly1.hia.nrc.ca>
37
38 * cp-demangle.c (demangling_new): Cast 0 to enum.
39 (demangle_char): Cast return of strdup to char *.
40 (is_gnu_v3_mangled_ctor): Cast 0 to enum.
41 (is_gnu_v3_mangled_dtor): Likewise.
42 * cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
43 (work_stuff_copy_to_from): Cast return of xmalloc to char **.
44 * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
45 * md5.c (md5_process_bytes): Cast results back to const void *.
46 (md5_process_block): Add cast to const md5_uint32 *.
47 * regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
48 * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
49 unsigned short.
50 * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
51 to void *.
52 * vasprintf.c (int_vasprintf): Cast return of malloc to char *.
53
542002-09-19 Nick Clifton <nickc@redhat.com>
55
56 * README: Update email addresses for bugs and patches.
57
582002-09-10 Mike Stump <mrs@apple.com>
59
60 * splay-tree.c (splay_tree_successor): Fix comments.
61
622002-09-11 Zack Weinberg <zack@codesourcery.com>
63
64 * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
65 * testsuite/Makefile.in: Adjust for test-demangle.
66 * testsuite/regress-demangle: Deleted.
67 * testsuite/test-demangle.c: New file.
68 * testsuite/demangle-expected: Change \$ to $ throughout, now that
69 this file is not being read by a shell script.
70
712002-09-05 Roger Sayle <roger@eyesopen.com>
72
73 * regex.c: Only use "#pragma alloca" on AIX when not using gcc.
74
752002-08-07 DJ Delorie <dj@redhat.com>
76
77 * regex.c (re_error_msgid): Just use a simple array of strings.
78 (re_compile_pattern): Compensate.
79 (re_comp): Likewise.
80 (re_comp): Likewise.
81 (regerror): Likewise.
82
832002-07-29 Neil Booth <neil@daikokuya.co.uk>
84
85 * cplus-dem.c (PREPEND_BLANK): Remove.
86
872002-07-10 Jason Merrill <jason@redhat.com>
88
89 * cp-demangle.c (demangle_identifier): Support extended Unicode
90 characters.
91
922002-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
93
94 * cp-demangle.c (demangle_v3_with_details): Wrap in
95 !defined IN_GLIBCPP_V3.
96
972002-07-01 Mark Mitchell <mark@codesourcery.com>
98
99 * cp-demangle.c (demangle_operator_name): Add type_arg parameter.
100 Set it for the "st" operator.
101 (demangle_expression): Handle expressions with types as arguments.
102
1032002-06-30 Douglas Rupp <rupp@gnat.com>
104
105 * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
106 * Makefile.in (OUTPUT_OPTION): Use.
107
1082002-06-22 Peter Breitenlohner <peb@mppmu.mpg.de>
109
110 * Makefile.in (install_to_libdir): Add $(DESTDIR).
111 (install_to_tooldir): Likewise.
112
1132002-06-17 Douglas Rupp <rupp@gnat.com>
114
115 * lbasename.c: Add 2002 to copyright.
116 (IS_DIR_SEPARATOR): Remove VMS junk.
117
1182002-06-05 Geoffrey Keating <geoffk@redhat.com>
119
120 * hashtab.c (htab_create): New stub function for backward
121 compatibility.
122 (htab_try_create): Likewise.
123
1242002-06-03 Geoffrey Keating <geoffk@redhat.com>
125
126 * hashtab.c (htab_create): Delete.
127 (htab_try_create): Delete.
128 (htab_create_alloc): New.
129 (htab_delete): Support user-specified memory allocation.
130 (htab_expand): Likewise.
131
1322002-05-22 Roman Lechtchinsky <rl@cs.tu-berlin.de>
133
134 * configure.in: Fix typo in the code checking for sys_errlist.
135 * configure: Regenerated.
136
1372002-05-13 Andreas Schwab <schwab@suse.de>
138
139 * config.table: Use mh-x86pic also for x86-64.
140
1412002-05-08 Alexandre Oliva <aoliva@redhat.com>
142
143 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
144 script entry, and set LD to it when configuring multilibs.
145 * configure: Rebuilt.
146
1472002-05-07 Mark Mitchell <mark@codesourcery.com>
148
149 * configure.in (AC_TYPE_PID_T): Use it.
150 * configure: Regenerated.
151 * getruntime.c: Include <sys/types.h>.
152 * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid".
153
1542002-04-09 Richard Henderson <rth@redhat.com>
155
156 * hashtab.c (higher_prime_number): Use 7 as minimum.
157 (find_empty_slot_for_expand): Don't compute hash2 unless needed.
158 (htab_find_slot_with_hash): Likewise.
159
1602002-04-01 Phil Edwards <pme@gcc.gnu.org>
161
162 * cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
163 (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally
164 not compile if IN_GLIBCPP_V3 defined.
165 * dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme.
166
1672002-03-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
168
169 * cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
170 if it is NULL.
171
1722002-03-27 DJ Delorie <dj@redhat.com>
173
174 * hex.c: Add documentation.
175 (_hex_value): Provide non-ASCII empty table.
176 (hex_init): Initialize the non-ASCII table.
177 * functions.texi: Regenerate.
178
1792002-03-27 Mark Mitchell <mark@codesourcery.com>
180
181 * dyn-string.c: Add libgcc exception to copyright notice.
182
1832002-03-26 H.J. Lu (hjl@gnu.org)
184
185 * config.table: Support --with-build-subdir.
186 * configure.in: Likewise.
187 * configure: Rebuild.
188
1892002-03-18 Stuart Griffith <Stuart_Griffith@credence.com>
190
191 * strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
192 seen.
193
1942002-03-12 Mark Mitchell <mark@codesourcery.com>
195
196 * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
197 notice.
198
1992002-03-11 Douglas B Rupp <rupp@gnat.com>
200
201 * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
202
2032002-03-06 Jim Blandy <jimb@redhat.com>
204
205 * splay-tree.c (splay_tree_xmalloc_allocate,
206 splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
207 prototyped definitions. Mark `data' arguments as unused.
208
2092002-03-06 Andrew Cagney <ac131313@redhat.com>
210
211 * floatformat.c (floatformat_arm_ext_big): Delete definition.
212
2132002-03-04 Phil Edwards <pme@gcc.gnu.org>
214
215 * configure.in: Add --enable-install-libiberty option.
216 * Makefile.in (INSTALLED_HEADERS): New variable.
217 (install_to_libdir): Possibly also copy headers.
218 * configure: Regenerated.
219
2202002-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
221
222 * xmalloc.c (xmalloc_fail): Clarify error message further.
223
2242002-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
225
226 * xmalloc.c (xmalloc_fail): Clarify error message.
227
2282002-02-22 Jim Blandy <jimb@redhat.com>
229
230 * splay-tree.c (splay_tree_xmalloc_allocate,
231 splay_tree_xmalloc_deallocate): New functions.
232 (splay_tree_new): Call splay_tree_new_with_allocator, passing the
233 above functions and a dummy data pointer.
234 (splay_tree_new_with_allocator): New function.
235 (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
236 splay_tree_remove): Use the splay tree's allocation and
237 deallocation functions.
238
2392002-02-19 Scott Snyder <snyder@fnal.gov>
240
241 * testsuite/demangle-expected: Add test case for infinite loop in
242 demangler.
243 * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
244 if do_type() doesn't make any progress --- prevents an infinite
245 loop.
246
2472002-02-18 Carlo Wood <carlo@gnu.org>
248
249 PR c++/5390
250 * cplus-dem.c (demangle_integral_value): Accept multi-digit
251 numbers that do not start with an underscore; This is needed
252 for integer template parameters. This doesn't break anything
253 because multi-digit numbers are never followed by a digit.
254 * testsuite/demangle-expected: Corrected all mangled test
255 cases with multi-digit template parameters: g++ 2.95.x does
256 not generate underscores around these parameters.
257
2582002-02-05 Jason Merrill <jason@redhat.com>
259
260 * cplus-dem.c (flags): Add DMGL_VERBOSE
261 (cplus_demangle_v3_p): Remove.
262 (demangle_it): Add DMGL_TYPES to passed flags.
263 * cp-demangle.c (cplus_demangle_v3_all): Remove.
264 (cplus_demangle_v3_type): Remove.
265 (cplus_demangle_v3): Add options parm.
266
2672002-02-02 H.J. Lu (hjl@gnu.org)
268
269 * cp-demangle.c (cp_demangle_type): Do not protect with
270 IN_LIBGCC2.
271 (cplus_demangle_v3_all): New.
272 (cplus_demangle_v3): Call cplus_demangle_v3_all.
273 (cplus_demangle_v3_type): Call cplus_demangle_v3_all.
274
275 * cplus-dem.c (cplus_demangle_v3_p): New function pointer.
276 Initialized to cplus_demangle_v3.
277 (cplus_demangle_with_style): Call cplus_demangle_v3_p instead
278 of cplus_demangle_v3.
279 (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
280 command line symbol.
281
282 * testsuite/regress-demangle: Pass the mangled name at the
283 command line.
284
2852002-02-01 H.J. Lu <hjl@gnu.org>
286
287 * cp-demangle.c (cp_demangle_type): Call demangling_new with
288 DMGL_GNU_V3.
289
2902002-01-31 Phil Edwards <pme@gcc.gnu.org>
291
292 * cp-demangle.c: Revert yesterday's change.
293
2942002-01-31 Adam Megacz <adam@xwt.org>
295
296 * gcc/libiberty/configure.in: Treat mingw the same as cywin
297 wrt HAVE_SYS_ERRLIST.
298
2992002-01-30 Phil Edwards <pme@gcc.gnu.org>
300
301 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
302 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on
303 cp_demangle_type.
304 * testsuite/demangle-expected: New gnu-v3 test.
305
3062002-01-22 Momchil Velikov <velco@fadata.bg>
307
308 * configure.in (variable detection): Use arrays of unspecified
309 size instead of plain integers.
310
3112002-01-18 DJ Delorie <dj@redhat.com>
312
313 * Makefile.in (TESTLIB): New. This library is for future
314 testsuites.
315 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
316 break down by letter.
317 (REQUIRED_OFILES): List long-to-compile files first.
318 (maint-deps): New, target for updating dependencies.
319 (dependencies): Update.
320 * maint-tool: Add dependency-generating option.
321 * configure.in: Check for _doprnt even if we're not providing it.
322 * configure: Regenerate.
323
324 * _doprnt.c: Modifications to allow compiling on any platform.
325 * copysign.c: Likewise.
326 * putenv.c: Likewise.
327 * setenv.c: Likewise.
328 * vsprintf.c: Likewise.
329
3302002-01-15 Douglas B Rupp <rupp@gnat.com>
331
332 * mkstemps.c (mkstemps): On VMS, open temp file with option
333 that causes it to be deleted when closed.
334
3352002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
336
337 * cp-demangle.c (long_options): Const-ify.
338 * cplus-dem.c (long_options): Likewise.
339
340 * cplus-dem.c (mystrstr): Delete. All callers changed to use
341 strstr instead.
342
3432001-12-31 Ira Ruben <ira@apple.com>
344
345 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
346 * configure: Regenerated.
347
3482001-12-24 Douglas B. Rupp <rupp@gnat.com>
349
350 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
351 * configure: Regenerated.
352
3532001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
354
355 PR other/2719
356 * cplus-dem.c (consume_count): Treat negative count as an error.
357 * testsuite/demangle-expected: Added testcase.
358
359Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
360
361 * configure.in: Hardcode that vfork works on VMS host.
362 * configure: Regenerated.
363
3642001-12-06 Richard Henderson <rth@redhat.com>
365
366 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
367 (cplus_demangle): Support no_demangling.
368
3692001-11-27 Zack Weinberg <zack@codesourcery.com>
370
371 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
372 in libiberty context. Fix typo in leading comment.
373 * configure.in: Fix various AC_DEFINEs so autoheader works.
374 If any of vprintf, vsprintf, vfprintf is missing from libc,
375 then AC_REPLACE_FUNCS(_doprnt).
376
3772001-11-26 DJ Delorie <dj@redhat.com>
378 Daniel Jacobowitz <drow@mvista.com>
379
380 * Makefile.in (stamp-h): Depend on Makefile for proper
381 serialization.
382 (*-subdir): Depend on config.h for proper serialization.
383
3842001-11-26 DJ Delorie <dj@redhat.com>
385
386 * configure.in: Check for alloca.h (for regex.c and putenv.c).
387 * configure: Regenerate.
388 * config.h: Add HAVE_ALLOCA_H.
389
3902001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
391
392 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
393 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
394 is available.
395
396Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
397
398 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
399 * configure.in (HAVE_UINTPTR_T): Test for system defining
400 uintptr_t and define HAVE_UINTPTR_T appropriately.
401 * regex.c (uintptr_t): Do not provide a definition if the
402 system provided one.
403
404 * regex.c (PREFIX): Provide an alternate definition for
405 non-ANSI/ISO compilers.
406 (ARG_PREFIX): Likewise.
407
4082001-11-12 Jim Meyering <meyering@lucent.com>
409
410 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
411 this code would end up calling gettext even in packages built
412 with --disable-nls.
413 * getopt.c (_): Likewise.
414 * regex.c (_): Likewise.
415
4162001-11-03 Alan Modra <amodra@bigpond.net.au>
417
418 * configure.in: Cope with missing makeinfo.
419 * configure: Regenerate.
420
4212001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
422
423 * hex.c (hex_init): Provide empty stub.
424
425 * hex.c (hex_init): Delete.
426 (_hex_value): Const-ify and initialize at compile-time.
427
4282001-10-19 H.J. Lu <hjl@gnu.org>
429
430 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
431 necessary.
432
4332001-10-17 DJ Delorie <dj@redhat.com>
434
435 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
436 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
437 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
438 Improve manual formatting.
439 * functions.texi: Regenerate.
440
4412001-10-15 DJ Delorie <dj@redhat.com>
442
443 * Makefile.in (TEXIFILES): Add fnmatch.txh.
444 (maint-undoc): New.
445 maint-tool: Add "undoc" tool.
446 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
447 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
448 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
449 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
450 documentation.
451 * fnmatch.txh: New.
452 * functions.texi: Regenerate.
453
4542001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
455
456 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
457 * strtod.c: Use "ISO C" instead of "ANSI C".
458 * functions.texi: Regenerate.
459
4602001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
461
462 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
463 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
464 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
465 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
466 spelling. Give names to function arguments in documentation. Use
467 (void) prototypes in documentation.
468 * functions.texi: Regenerate.
469
4702001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
471
472 * argv.c (buildargv, tests, main): Const-ify.
473 * cp-demangle.c (operator_code): Likewise.
474 * cplus-dem.c (optable, libiberty_demanglers,
475 cplus_demangle_set_style, cplus_demangle_name_to_style,
476 print_demangler_list): Likewise.
477 * hashtab.c (higher_prime_number): Likewise.
478 * strcasecmp.c (charmap): Likewise.
479 * strerror.c (error_info, strerror, main): Likewise.
480 * strncasecmp.c (charmap): Likewise.
481 * strsignal.c (signal_info): Likewise.
482
4832001-09-29 DJ Delorie <dj@redhat.com>
484
485 * configure: Regenerate.
486
4872001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
488
489 * concat.c: Include stdlib.h.
490
4912001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
492
493 * libiberty.texi: (Top level): Add syncodeindex pg. Add
494 @dircategory and @direntry directives. Add @finalout.
495 (many nodes): Lose the next,prev,up pointers on the @nide line.
496 (Using, Supplemental Functions, Replacement Functions): Fix
497 markup.
498 (Functions): Move around, to allow makeinfo to build the manual
499 without next,prev,up pointers in thye node lines.
500 (Licenses): Fix typos.
501
502 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
503 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
504 * functions.texi: Regenerate.
505
506 * copying-lib.texi: Lose the next,prev,up pointers on the @node
507 line.
508
5092001-09-27 DJ Delorie <dj@redhat.com>
510
511 * configure.in: Don't use in-tree texinfo, because libiberty must
512 be built before it. Check for makeinfo version 4 or higher.
513 * functions.texi: Regenerate.
514
5152001-09-20 DJ Delorie <dj@redhat.com>
516 Phil Edwards <pedwards@disaster.jaj.com>
517
518 * configure.in (MAKEINFO, PERL): Detect these.
519 (--enable-maintainer-mode): Add.
520 * configure: Regenerate.
521 * Makefile.in (MAKEINFO, PERL): Define.
522 (libiberty.info, libiberty.dvi, libiberty.html): New.
523 (CFILES): Add bsearch.c.
524 (CONFIGURED_OFILES): New, list of objects configure might add.
525 (maint-missing, maint-buildall): New, for maintainers only.
526 (clean, mostlyclean): Add info/dvi/html files.
527 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
528 * gather-docs: New, for maintainers.
529 * maint-tool: New, for maintainers.
530 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
531 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
532 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
533 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
534 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
535 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
536 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
537 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
538 documentation.
539
5402001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
541
542 * concat.c (reconcat): Fix for traditional C.
543
5442001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
545
546 * concat.c (reconcat): New function.
547
5482001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
549
550 * concat.c (vconcat_length, vconcat_copy, concat_length,
551 concat_copy, concat_copy2): New functions.
552 (concat): Use vconcat_length/vconcat_copy.
553
554 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
555 Define.
556
5572001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
558
559 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
560 VA_FIXEDARG & VA_CLOSE.
561
562 * vasprintf.c: Check HAVE_STRING_H when including string.h.
563 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
564 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
565
5662001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
567
568 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
569
5702001-08-23 Ulrich Drepper <drepper@redhat.com>
571
572 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
573
5742001-08-23 Ulrich Drepper <drepper@redhat.com>
575
576 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
577 instead of mbrtowc.
578 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
579 wcslen, and __wcscoll instead of wcscoll.
580
5812001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
582
583 * fibheap.c (fibheap_init, fibnode_init): Remove.
584 (fibheap_new, fibnode_new): Use xcalloc to allocate and
585 initialize memory.
586 (fibheap_insert): Remove check for node allocation failure.
587
5882001-08-21 Richard Henderson <rth@redhat.com>
589
590 * Makefile.in (fibheap.o): Depend on config.h.
591 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
592 functions for inlining.
593
594Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
595
596 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
597 hosting on cygwin.
598 * configure: Regenerate.
599
6002001-08-20 Andrew Cagney <ac131313@redhat.com>
601
602 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
603 HARRIS_FLOAT_FORMAT.
604 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
605 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
606 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
607 (floatformat_m88110_harris_ext): New float formats.
608
6092001-08-20 Daniel Berlin <dan@cgsoftware.com>
610
611 * fibheap.c: New file. Fibonacci heap.
612
613 * Makefile.in (CFILES): Add fibheap.c.
614 (REQUIRED_OFILES): Add fibheap.o.
615 (fibheap.o): Add dependencies for fibheap.o.
616
6172001-08-17 Christopher Faylor <cgf@cygnus.com>
618
619 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
620 * configure: Regenerate.
621
6222001-08-16 Richard Henderson <rth@redhat.com>
623
624 * hashtab.c (htab_hash_string): New.
625
6262001-08-13 Andrew Cagney <ac131313@redhat.com>
627
628 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
629 name.
630
6312001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
632
633 * regex.c (wcs_regex_compile): Use appropriate string
634 to compare with collating element.
635 Fix the padding for the alignment.
636
6372001-08-10 Andrew Cagney <ac131313@redhat.com>
638
639 * lbasename.c (lbasename): Change function definition to return a
640 const char pointer.
641
6422001-08-07 Jason Merrill <jason_merrill@redhat.com>
643
644 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
645 for".
646
6472001-08-03 Richard Henderson <rth@redhat.com>
648
649 * Makefile.in (concat.o): Depend on config.h.
650
6512001-07-30 Andreas Jaeger <aj@suse.de>
652
653 * concat.c: Include "config.h".
654
6552001-07-30 Andreas Jaeger <aj@suse.de>
656
657 * regex.c: Declare wcs functions only if compiling with
658 MBS_SUPPORT.
659 Don't use #elif for traditional C.
660
6612001-07-23 Ulrich Drepper <drepper@redhat.com>
662
663 * regex.c: Revamp memory allocation for WCHAR functions to
664 not use too much stack.
665
6662001-07-30 Andreas Jaeger <aj@suse.de>
667
668 * regex.c: Declare wcs functions only if compiling with
669 MBS_SUPPORT.
670 Don't use #elif for traditional C.
671
6722001-07-25 Daniel Jacobowitz <drow@mvista.com>
673
674 * Makefile.in (regex.o): Add dependency on config.h.
675
6762001-07-18 Andreas Schwab <schwab@suse.de>
677
678 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
679 underscore character.
680
6812001-07-18 Ulrich Drepper <drepper@redhat.com>
682
683 * regex.c: Limit string length printed in debug messages to 100
684 chars.
685
6862001-07-18 Andreas Jaeger <aj@suse.de>
687
688 * regex.c: Place under LGPL version 2.1.
689
6902001-07-10 Jeff Johnston <jjohnstn@redhat.com>
691
692 * Makefile.in: Add support for regex code.
693 * regex.c: New file.
694
6952001-07-05 Mark Klein <mklein@dis.com>
696
697 * Makefile.in: Add ffs.c dependency.
698 * configure.in: Add ffs.c.
699 * ffs.c: New file.
700
7012001-06-18 Richard Henderson <rth@redhat.com>
702
703 * concat.c: Include <sys/types.h>.
704
7052001-06-11 Loren J. Rittle <ljrittle@acm.org>
706
707 bootstrap/3106
708 * strerror.c (sys_nerr): Hide the OS header version.
709 * strsignal.c (sys_nsig): Likewise.
710
7112001-06-10 Richard Henderson <rth@redhat.com>
712
713 * concat.c: Include string.h. Fix int vs size_t usage.
714 Simplify the iteration loops. Use memcpy.
715
7162001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
717
718 * partition.c: Fix misspelling of `implementation'.
719
7202001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
721
722 * md5.c (md5_init_ctx): Declare constants as unsigned.
723 (md5_process_block): Likewise.
724
7252001-05-07 Zack Weinberg <zackw@stanford.edu>
726
727 * cp-demangle.c (demangle_v3_with_details,
728 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
729 function definition.
730 * ternary.c: Use K+R style function definitions. Use PTR, not
731 void *. Make arguments constant where possible.
732
7332001-05-07 Mark Mitchell <mark@codesourcery.com>
734
735 * splay-tree.h (splay_tree_max): New function.
736 (splay_tree_min): Likewise.
737
7382001-04-15 Daniel Berlin <dan@cgsoftware.com>
739
740 * ternary.c: New file - Ternary search tree implementation.
741
742 * Makefile.in: Add ternary.o, and ternary.c dependencies.
743
7442001-04-03 Zack Weinberg <zackw@stanford.edu>
745
746 * make-temp-file.c (try): Inline.
747
7482001-02-28 Richard Henderson <rth@redhat.com>
749
750 * Makefile.in (make-temp-file.o): Depend on config.h.
751
7522001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
753
754 * memchr.c (memchr): Adjust condition to avoid infinite loop.
755
7562001-03-23 Jakub Jelinek <jakub@redhat.com>
757
758 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
759 `_' not followed by a digit is invalid.
760
7612001-03-22 Jim Blandy <jimb@redhat.com>
762
763 * cp-demangle.c (string_list_delete): Use dyn_string_delete
764 instead of free, to free the contents as well as the string
765 structure.
766
7672001-03-21 Zack Weinberg <zackw@stanford.edu>
768
769 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
770 Don't default P_tmpdir to anything. Try /var/tmp before
771 /usr/tmp.
772
7732001-03-20 Zack Weinberg <zackw@stanford.edu>
774
775 * choose-temp.c: Split off make_temp_file, and the code
776 duplicated between it and choose_temp_base, into...
777 * make-temp-file.c: ... here; new file.
778
779 * Makefile.in (CFILES): Add make-temp-file.c.
780 (REQUIRED_OFILES): Add make-temp-file.o.
781
7822001-03-20 Jim Blandy <jimb@redhat.com>
783
784 * cp-demangle.c (struct demangling_def): New fields:
785 is_constructor and is_destructor.
786 (demangling_new): Initialize them.
787 (demangle_ctor_dtor_name): Set them, if we detect a constructor
788 or destructor.
789 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
790 is_gnu_v3_mangled_dtor): New functions.
791
7922001-03-20 Jason Merrill <jason@redhat.com>
793
794 * cplus-dem.c (main): Skip initial $.
795
7962001-03-15 Michael Meissner <meissner@redhat.com>
797
798 * hashtab.c (higher_prime_number): Silence warning that 4294967291
799 might be a signed integer under pre-ISO C systems.
800
8012001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
802 John David Anglin <dave@hiauly1.hia.nrc.ca>
803
804 * libiberty/lbasename.c: New file.
805 * libiberty/Makefile.in: Update for lbasename.
806
8072001-03-06 Zack Weinberg <zackw@stanford.edu>
808
809 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
810 * configure.in: Replace all alloca logic with a simple use of
811 the above new macro.
812 * config.table: Kill *-*-beos* entry.
813 * config/mh-beos: Delete.
814 * configure, config.in: Regenerate.
815
816 * Makefile.in (ALLOCA, HFILES): Kill.
817 (REQUIRED_OFILES): Add alloca.o.
818 (alloca.o): Depend on libiberty.h.
819 (argv.o): Don't depend on alloca-conf.h.
820 * alloca-conf.h: Delete.
821 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
822 blocks. Provide the C alloca unconditionally. Use PTR where
823 appropriate. Make i00afunc static.
824 * argv.c: Don't include alloca-conf.h.
825
8262001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
827
828 * cplus-dem.c (main): Cast enum style to int.
829
8302001-02-16 Loren J. Rittle <ljrittle@acm.org>
831
832 * cplus-dem.c (main): Initialize style.
833
8342001-02-02 Phil Edwards <pme@sources.redhat.com>
835
836 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
837
8382001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
839
840 Add support for Java demangling under the v3 ABI:
841 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
842 (struct demangling_def): Add `style' field.
843 (demangling_new): New parameter `style'. Set it in demangling_t.
844 (demangle_prefix): Use NAMESPACE_SEPARATOR.
845 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
846 (cp_demangle): New parameter `style'. Pass it to demangling_new().
847 (main): Call cp_demangle with extra parameter.
848 (java_demangle_v3): New function.
849 (java_builtin_type_names): New. Table of primitive type names used
850 for Java demangling.
851 (demangle_builtin_type): Look up in java_builtin_type_names if doing
852 Java output.
853 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
854 demangling.
855 (long_options): Remove obsolete `java' option.
856 (main): Remove explicit handling of `java' option. Instead, pass style
857 parameter in cplus_demangle flags as gdb does.
858 * testsuite/demangle.expected: Add some Java test cases.
859
8602000-12-29 DJ Delorie <dj@redhat.com>
861
862 * fnmatch.c: Make the note about the origins of this file more
863 accurate, at least until we can sync with glibc.
864 * getopt.c: Ditto.
865 * getopt1.c: Ditto.
866 * md5.c: Ditto.
867 * obstack.c: Ditto.
868
8692000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
870
871 * bsearch.c: New file.
872 * configure.in (funcs): Add bsearch.
873 (AC_CHECK_FUNCS): Likewise.
874 * configure, config.in: Regenerate.
875
8762000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
877
878 * safe-ctype.c: #include "ansidecl.h".
879 * strtod.c: Likewise.
880
8812000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
882
883 * strtoul.c: Include safe-ctype.h, not ctype.h.
884
8852000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
886
887 * safe-ctype.c: New file.
888 * Makefile.in (CFILES): Add safe-ctype.c.
889 (REQUIRED_OFILES): Add safe-ctype.o.
890
891 * argv.c: Define ISBLANK and use it, not isspace.
892 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
893 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
894 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
895 before calling TOLOWER(c)/TOUPPER(c).
896
8972000-12-07 Mike Stump <mrs@wrs.com>
898
899 * Makefile.in (distclean): When cleaning, remove testsuite.
900
9012000-12-05 Jason Merrill <jason@redhat.com>
902
903 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
904 name before allocating the dyn_string.
905
9062000-12-04 Jason Merrill <jason@redhat.com>
907
908 * cp-demangle.c: s/new_abi/v3/.
909 * cplus-dem.c: Likewise.
910 (current_demangling_style): Now auto_demangling.
911 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
912 (main): Use standard symbol chars for auto_demangling.
913
9142000-11-26 Mark Mitchell <mark@codesourcery.com>
915
916 * hashtab.c (higher_prime_number): Use a table, rather than a
917 seive, to find the next prime.
918
9192000-11-22 H.J. Lu <hjl@gnu.org>
920
921 * cplus-dem.c (main): Handle gnat_demangling.
922
9232000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
924
925 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
926 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
927 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
928 argument form of AC_DEFINE in dummy definitions block. Use
929 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
930 in dummy block. Preload cache variables instead of bypassing
931 tests, where possible.
932 * acconfig.h: Removed.
933
934 * xmalloc.c (xmalloc_failed): New function, does error
935 reporting on failed allocation.
936 (xmalloc, xcalloc, xrealloc): Use it.
937
9382000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
939
940 * cplus-dem.c (cplus_demangle): Fix formatting.
941 (grow_vect): Ditto.
942 (ada_demangle): Ditto.
943 (internal_cplus_demangle): Ditto.
944 (mop_up): Ditto.
945
9462000-11-21 H.J. Lu <hjl@gnu.org>
947
948 * cplus-dem.c (main): Handle java_demangling.
949
9502000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
951
952 * cplus-dem.c (grow_vect): Prototype.
953 (ada_demangle): Cast the arg of ctype macros to unsigned char.
954
9552000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
956
957 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
958 parameter `option'.
959
9602000-11-15 Kenneth Block <kenneth.block@compaq.com>
961
962 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
963 be used in GCC.
964
9652000-11-15 Kenneth Block <kenneth.block@compaq.com>
966
967 * cplus-dem.c: Add gnat demangler. Add java to demangle style
968 list.
969
9702000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
971
972 * hashtab.c (htab_expand): Change to return int. Use calloc or
973 xcalloc depending on htab->return_allocation_failure. Return zero
974 if calloc fails.
975 (htab_create): Update comment to cover memory allocation.
976 (htab_try_create): New.
977 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
978 Update comment to cover this.
979
9802000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
981
982 * hashtab.c: Change void * to PTR where necessary.
983 (htab_create, htab_expand): Correct formatting of comment before
984 function.
985
9862000-10-22 Alex Samuel <samuel@codesourcery.com>
987
988 * cp-demangle.c (string_list_def): Add caret_position and comments.
989 (result_caret_pos): New macro.
990 (result_append_string): Rename to...
991 (result_add_string): ... this, and insert at caret position.
992 Rename throughout.
993 (result_append): Rename to...
994 (result_add): ... this, and insert at caret position. Rename
995 throughout.
996 (result_append_char): Rename to...
997 (result_add_char): ... this, and insert at caret position. Rename
998 throughout.
999 (result_append_space): Remove.
1000 (string_list_new): Initialize caret position.
1001 (result_add_separated_char): Use caret position.
1002 (result_get_caret): New funtion.
1003 (result_set_caret): Likewise.
1004 (result_shift_caret): Likewise.
1005 (result_previous_char_is_space): Likewise.
1006 (substitution_start): Use caret position.
1007 (substitution_add): Likewise.
1008 (demangling_new): Initialize caret position.
1009 (demangle_encoding): Use caret position.
1010 (demanglin_nested_name): Put CV qualifiers after name.
1011 (demangle_type_ptr): Use switch statement. Handle pointers to
1012 arrays. Don't use result_append_space. Use caret position.
1013 (demangle_type): Emit CV qualifiers after underlying type. Adjust
1014 call to demangle_array_type.
1015 (demangle_array_type): Add parameter to handle pointers to arrays.
1016
10172000-10-01 Mark Mitchell <mark@codesourcery.com>
1018
1019 * splay-tree.c (splay_tree_insert): Fix formatting.
1020
10212000-09-16 Mark Mitchell <mark@codesourcery.com>
1022
1023 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
1024
10252000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1026
1027 * splay-tree.c: #include <stdio.h>.
1028
10292000-09-14 Hans-Peter Nilsson <hp@axis.com>
1030
1031 * testsuite/demangle-expected: Add two tests for anonymous
1032 namespaces.
1033 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
1034
10352000-09-10 Mark Mitchell <mark@codesourcery.com>
1036
1037 * splay-tree.c (splay_tree_predecessor): New function.
1038 (splay_tree_successor): Likewise.
1039
10402000-09-10 Hans-Peter Nilsson <hp@axis.com>
1041
1042 * testsuite/demangle-expected: Add four tests for type_info
1043 mangling.
1044 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
1045 for a non-template non-qualified type_info function or node.
1046
10472000-09-08 Alex Samuel <samuel@codesourcery.com>
1048
1049 * cp-demangle.c: Fix copyright banner.
1050
10512000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1052
1053 * md5.c: #include "ansidecl.h".
1054
10552000-09-06 Alex Samuel <samuel@codesourcery.com>
1056
1057 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
1058 (demangle_type): Handle substitution candidates correctly in the
1059 face of special substitutions.
1060
10612000-09-05 Alex Samuel <samuel@codesourcery.com>
1062
1063 * cp-demangle.c (demangle_encoding): Rename variable.
1064 (demangle_name): Rename parameter. Handle return type
1065 suppression.
1066 (demangle_nested_name): Rename parameter.
1067 (demangle_prefix): Likewise. Change return type suppression.
1068 (demangle_unqualified_name): Add parameter. Flag constructors and
1069 conversion operators.
1070 (demangle_special_name): Fix comment.
1071 (demangle_type): Rename variable.
1072 (demangle_bare_function_type): Check for missing return type and
1073 parameter.
1074 (demangle_class_enum_type): Rename parameter.
1075 (demangle_discriminator): Fix misspelling in comment.
1076
10772000-08-31 DJ Delorie <dj@redhat.com>
1078
1079 * configure.in (Cygwin): special case cygwin only when we're
1080 building cygwin, not when we're hosting cygwin.
1081
10822000-09-04 Alex Samuel <samuel@codesourcery.com>
1083
1084 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
1085 <expression>.
1086
10872000-09-04 Alex Samuel <samuel@codesourcery.com>
1088
1089 * cp-demangle.c (demangle_type_ptr): Increment position past
1090 pointer and reference characters.
1091
10922000-09-04 Alex Samuel <samuel@codesourcery.com>
1093
1094 * cp-demangle.c (demangle_nv_offset): New function.
1095 (demangle_v_offset): Likewise.
1096 (demangle_call_offset): Likewise.
1097 (demangle_special_name): Update thunk demangling to comply with
1098 ABI changes.
1099
11002000-09-03 Alex Samuel <samuel@codesourcery.com>
1101
1102 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
1103 (substitution_def): Remove template_parm_number.
1104 (NOT_TEMPLATE_PARM): Remove.
1105 (result_insert_string): New macro.
1106 (result_insert): Likewise.
1107 (result_insert_char): Likewise.
1108 (substitution_add): Remove last parameter. Don't store template
1109 parm number.
1110 (BFT_NO_RETURN_TYPE): Define as NULL.
1111 (demangle_encoding): Adjust call to demangle_bare_function_type.
1112 (demangle_name): Adjust substitution. Adjust call to
1113 substitution_add.
1114 (demangle_prefix): Adjust call to substitution_add.
1115 (demangle_identifier): Handle anonymous namespaces.
1116 (demangle_operator_name): Change demangling of vendor-extended
1117 operator to match ABI changes.
1118 (demangle_type_ptr): Change parameters. Make recursive. Handle
1119 substitutions here.
1120 (demangle_type): Adjust calls to demangle_template_param,
1121 substitution_add, and demangle_type_ptr. Fix substitution of
1122 templated types.
1123 (demangle_function_type): Change parameter to a pointer.
1124 (demangle_bare_function_type): Likewise. Adjust insertion point.
1125 (demangle_template_param): Remove last parameter.
1126 (demangle_expr_primary): Remove unused variable. Adjust call to
1127 demangle_template_param.
1128 (is_mangled_char): Accept `$' and `.'.
1129 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
1130 * dyn-string.c (dyn_string_insert_char): New function.
1131
11322000-08-31 Hans-Peter Nilsson <hp@axis.com>
1133
1134 * testsuite/demangle-expected: Add nine tests for
1135 underscore-after-number followed by five tests for name-signature
1136 delimiter.
1137
11382000-08-28 Richard Henderson <rth@cygnus.com>
1139
1140 * Makefile.in (md5.o): Depend on config.h.
1141
11422000-08-28 Jason Merrill <jason@redhat.com>
1143
1144 * Makefile.in (REQUIRED_OFILES): Add md5.o.
1145 (CFILES): Add md5.c.
1146 * md5.c: New file.
1147
11482000-08-27 Alex Samuel <samuel@codesourcery.com>
1149
1150 * cp-demangle.c (demangle_name): Initialize template_p in local
1151 name case. Don't re-add substitutions as candidates.
1152 (demangle_nested_name): Use <unqualified-name>.
1153 (demangle_prefix): Likewise. Don't add template names as
1154 substitution candidates twice, or re-add a substitution or the
1155 last prefix component.
1156 (demangle_local_name): Adjust output format.
1157
11582000-08-25 Alex Samuel <samuel@codesourcery.com>
1159
1160 * cp-demangle.c (result_add_separated_char): Change parameter to
1161 int.
1162 (substitution_add): Don't check for duplicates. Check if
1163 previously allocated size is zero.
1164 (demangle_name): Remove duplicate check for std substitution.
1165 Clear template flag appropriately.
1166 (demangle_prefix): Remove argument to demangle_substitution.
1167 Don't check that template flag is already set.
1168 (demangle_operator_name): Add pt operator.
1169 (demangle_type): Don't treat r as built-in type. Remove argument
1170 to demangle_substitution. Fix substitution candidate mechanics.
1171 Handle <template-template-parm>s. Improve comments.
1172 (demangle_template_param): Don't handle template arg lists here.
1173 (demangle_substitution): Remove parameter.
1174 (print_usage): Remove extra fprintf option.
1175
11762000-08-24 Greg McGary <greg@mcgary.org>
1177
1178 * libiberty/random.c (end_ptr): Revert previous change.
1179
11802000-08-24 Greg McGary <greg@mcgary.org>
1181
1182 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
1183 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
1184 * libiberty/random.c (end_ptr): Likewise.
1185
11862000-08-23 Alex Samuel <samuel@codesourcery.com>
1187
1188 * cp-demangle.c (result_close_template_list): Remove function.
1189 (result_add_separated_char): New function.
1190 (result_open_template_list): New macro.
1191 (result_close_template_list): Likewise.
1192 (demangle_prefix): Don't set template_p if the
1193 prefix ends with a ctor name.
1194 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
1195 (demangle_type): Check for template args after substitution.
1196 (demangle_template_args): Use result_open_template_list.
1197
11982000-08-02 Zack Weinberg <zack@wolery.cumb.org>
1199
1200 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
1201
12022000-07-26 Dave Pitts <dpitts@cozx.com>
1203
1204 * config/mh-openedition.h: Added -DLE370 definition.
1205
12062000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
1207
1208 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
1209 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
1210 Cast program to 'char *' in errmsg_arg assignment.
1211 (PWAIT_ERROR): Define.
1212 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
1213 to DJGPP's WIF* macros.
1214
12152000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
1216 Jeff Law <law@cygnus.com>
1217
1218 * getcwd.c: Include string.h, stdlib.h for prototypes
1219
1220 * Makefile.in (rename.o, waitpid.o): Depend on config.h
1221 * rename.c: Include config.h, unistd.h
1222 * waitpid.c: Include config.h, sys/wait.h
1223
12242000-07-24 Hans-Peter Nilsson <hp@axis.com>
1225
1226 * cplus-dem.c (work_stuff_copy_to_from): New.
1227 (delete_non_B_K_work_stuff): New.
1228 (delete_work_stuff): New.
1229 (mop_up): Break out work_stuff partly destruction to
1230 delete_non_B_K_work_stuff.
1231 (iterate_demangle_function): New.
1232 (demangle_prefix): Call iterate_demangle_function instead of
1233 demangle_function_name. Leave handling of name-signature
1234 __-delimiters to iterate_demangle_function.
1235 (demangle_integral_value): Strip an optional
1236 following underscore cautiously. Handle negative numbers.
1237
12382000-07-24 Daniel Berlin <dberlin@redhat.com>
1239
1240 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
1241 if (AUTO_DEMANGLING || GNU_DEMANGLING)
1242
12432000-07-21 Alex Samuel <samuel@codesourcery.com>
1244
1245 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
1246 allocating ctor mangling.
1247 (demangle_array_type): Handle empty and non-constant array length.
1248
12492000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1250 Jeff Law <law@cygnus.com>
1251
1252 * configure.in (AC_CHECK_HEADERS): Add time.h.
1253 (AC_HEADER_TIME): Add check.
1254 * configure, config.in: Regenerate.
1255 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
1256
1257 * configure.in (AC_CHECK_HEADERS): Add limits.h.
1258 * configure, config.in: Regenerate.
1259 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
1260 * strtol.c, strtoul.c: #include "config.h". Portably #include
1261 <limits.h> and/or <sys/param.h>.
1262 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
1263
1264 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
1265 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
1266 * configure, config.in: Regenerate.
1267 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
1268
1269 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
1270
12712000-07-21 Mike Stump <mrs@wrs.com>
1272
1273 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
1274 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
1275
12762000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1277
1278 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
1279
1280 * setenv.c (setenv): Initialize variable `ep'.
1281
1282 * sigsetmask.c (abort): Prototype.
1283
1284 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
1285 __STDC__ for stdarg.h include.
1286 (int_vasprintf): Prototype.
1287 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
1288 definition. Cast `global_total_width' in comparison.
1289 (main): Prototype. Return a value.
1290
1291 * vfork.c (fork): Prototype.
1292
1293 * xexit.c: Include config.h.
1294
12952000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
1296
1297 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
1298 and print it with %u.
1299
13002000-07-17 Hans-Peter Nilsson <hp@axis.com>
1301
1302 * testsuite/regress-demangle (failed test): Show result and
1303 expected output.
1304
13052000-07-07 Andrew Haley <aph@cygnus.com>
1306
1307 * cplus-dem.c (main): fflush() after emitting last char before
1308 waiting for input.
1309
13102000-06-28 Alex Samuel <samuel@codesourcery.com>
1311
1312 * cp-demangle.c (demangle_encoding): Accept no substitutions.
1313 (demangle_name): Handle <substitution> followed by
1314 <unqualified-template-name>.
1315 (demangle_type): Follow special substitutions with
1316 <class-enum-type>
1317 (demangle_subtitution): Set template_p for special substitutions.
1318 (main): Fix typos.
1319
13202000-06-27 Alex Samuel <samuel@codesourcery.com>
1321
1322 * cp-demangle.c (demangle_special_name): Swap base and derived
1323 class when demangling construction vtables.
1324
13252000-06-21 Alex Samuel <samuel@codesourcery.com>
1326
1327 * cp-demangle.c: Don't include ctype.h.
1328 (IS_DIGIT): New macro.
1329 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
1330 instead of isdigit and isalpanum.
1331 (demangling_def): Make name and next const pointers.
1332 (STATUS_ALLOCATION_FAILED): New status code.
1333 (dyn_string_append_space): Handle failure in
1334 dyn_string_append_char.
1335 (int_to_dyn_string): Likewise. Change return value to status_t.
1336 (string_list_new): Handle failure of dyn_string_init.
1337 (result_close_template_list): Change return type to status_t.
1338 Handle failure in dyn_string_append.
1339 (result_push): Change return value to status_t. Handle failure in
1340 string_list_new. Handle failure of result_push throughout.
1341 (substitution_add): Change return value to status_t. Handle
1342 dyn_string failures. Handle failure of substitution_add
1343 throughout.
1344 (template_arg_list_new): Return NULL on allocation failure.
1345 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
1346 Handle error result throughout.
1347 (result_append): Likewise.
1348 (result_append_char): Likewise.
1349 (result_append_space): Likewise.
1350 (demangling_new): Make argument a const pointer. Handle
1351 allocation failures.
1352 (demangle_template_args): Handle failure in template_arg_list_new
1353 and result_close_template_list.
1354 (demangle_discriminator): Return if int_to_dyn_string fails.
1355 (cp_demangle): Likewise.
1356 (cp_demangle_type): New function.
1357 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
1358 memory allocation failure.
1359 (main): Likewise.
1360 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
1361 IN_LIBGCC2.
1362 (dyn_string_init): Change return value to int. Handle
1363 RETURN_ON_ALLOCATION_FAILURE case.
1364 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
1365 (dyn_string_release): Delete the dyn_string.
1366 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
1367 (dyn_string_copy): Change return type to int.
1368 (dyn_string_copy_cstr): Likewise.
1369 (dyn_string_prepend): Likewise.
1370 (dyn_string_prepend_cstr): Likewise.
1371 (dyn_string_insert): Likewise.
1372 (dyn_string_insert_cstr): Likewise.
1373 (dyn_string_append): Likewise.
1374 (dyn_string_append_cstr): Likewise.
1375 (dyn_string_append_char): Likewise.
1376 (dyn_string_substring): Likewise.
1377
13782000-06-09 Zack Weinberg <zack@wolery.cumb.org>
1379
1380 * cp-demangle.c (demangle_operator_name): Add spaces before
1381 names beginning with a letter: delete, delete[], new, new[],
1382 sizeof.
1383 (demangle_special_name): Handle TF <type> and TJ <type>.
1384
1385Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
1386
1387 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
1388
1389Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
1390
1391 * cp-demangle.c (stdio.h): File included unconditionaly.
1392 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
1393 * dyn-string.c (stdio.h): File included.
1394 * partition.c (partition_print): No `&' needed to take the address of
1395 a function.
1396
13972000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1398
1399 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
1400
1401 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
1402
1403 * cp-demangle.c (demangle_char): Change parameter from char to int.
1404 (demangle_expression, demangle_expr_primary): Remove extra
1405 semi-colon in prototype.
1406
1407 * dyn-string.c (dyn_string_append_char): Change parameter from
1408 char to int.
1409
1410 * memcmp.c (memcmp): Constify.
1411
1412 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
1413 __extension__.
1414
1415 * partition.c (elem_compare): Prototype. Don't cast away
1416 const-ness.
1417
1418 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
1419
14202000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1421
1422 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
1423
1424 * cp-demangle.c: Include demangle.h.
1425 (template_arg_list_new): DeANSIfy.
1426 (cp_demangle): Make static and add prototype.
1427 (operator_code, operators): Constify.
1428 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
1429
14302000-06-05 Alex Samuel <samuel@codesourcery.com>
1431
1432 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
1433 unsigned char.
1434 (demangle_unqualified_name): Likewise.
1435 (demangle_number_literally): Likewise.
1436 (demangle_type): Likewise.
1437 (demangle_substitution): Likewise.
1438 (is_mangled_char): Likewise, for isalnum.
1439
14402000-06-04 Alex Samuel <samuel@codesourcery.com>
1441
1442 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
1443 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
1444 (cp-demangle.o): New dependency.
1445 (dyn-string.o): Likewise.
1446
1447 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
1448
1449 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
1450 demangler.
1451 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
1452 demangling mode.
1453 (gnu_new_abi_symbol_characters): New function.
1454 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
1455 file.
1456 * cp-demangle.c: New file.
1457
1458Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
1459
1460 * floatformat.c: Add name to each floatformat field.
1461
1462Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
1463
1464 * Makefile.in (objalloc.o): Depend on config.h
1465
14662000-05-29 Zack Weinberg <zack@wolery.cumb.org>
1467
1468 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
1469 if HAVE_STRING_H.
1470 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
1471 * objalloc.c: Include config.h. Include stdlib.h and don't
1472 declare malloc or free if HAVE_STDLIB_H.
1473 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
1474 else declare malloc without prototype. Include string.h if
1475 HAVE_STRING_H, else declare memset without prototype. Don't
1476 include stddef.h.
1477
14782000-05-23 Mike Stump <mrs@wrs.com>
1479
1480 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
1481 -j3.
1482
14832000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
1484
1485 * xmalloc.c: Include config.h for HAVE_SBRK definition.
1486
14872000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
1488
1489 * hashtab.c (hash_pointer): Delete low-order bits which are
1490 probably zero, also eliminate a warning on alpha.
1491
14922000-05-15 David Edelsohn <edelsohn@gnu.org>
1493
1494 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
1495 on $(enable_shared).
1496
14972000-05-10 Jakub Jelinek <jakub@redhat.com>
1498
1499 * config.table: Use mh-sparcpic for sparc*-*-*.
1500
15012000-05-08 Nick Clifton <nickc@cygnus.com>
1502
1503 * Makefile.in (CFILES): Add strncmp.c.
1504 (NEEDED): Add strncmp.
1505
15062000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1507
1508 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
1509 Cast the arguments to `islower' to `unsigned char'.
1510 (print_demangler_list): Prototype.
1511
1512Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
1513
1514 * sort.c (UCHAR_MAX): Provide fallback definition.
1515
15162000-04-29 Alexandre Oliva <aoliva@cygnus.com>
1517
1518 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
1519 SUBDIRS.
1520
15212000-04-28 Kenneth Block <block@zk3.dec.com>
1522 Jason Merrill <jason@casey.cygnus.com>
1523
1524 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
1525 (cplus_demangle_set_style): New function for setting style.
1526 (cplus_demangle_name_to_style): New function to translate name.
1527
15282000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1529
1530 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
1531
1532 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
1533 (libiberty_AC_FUNC_STRNCMP): Invoke.
1534
1535 * strncmp.c: New file.
1536
1537Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
1538
1539 * hashtab.c (htab_expand): Add prototype.
1540 (find_empty_slot_for_expand): Likewise.
1541
15422000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1543
1544 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
1545 match prototype.
1546 (htab_expand): Cast the return value of xcalloc.
1547
15482000-04-24 Mark Mitchell <mark@codesourcery.com>
1549
1550 * hashtab.c (hash_pointer): New function.
1551 (eq_pointer): Likewise.
1552 (htab_hash_pointer): New variable.
1553 (htab_eq_pointer): Likewise.
1554
15552000-04-23 Mark Mitchell <mark@codesourcery.com>
1556
1557 * sort.c (sort_pointers): Fix endianness bugs.
1558
1559 * sort.c: New file.
1560 * Makefile.in (CFILES): Add sort.c
1561 (REQUIRED_OFILES): Add sort.o.
1562 (sort.o): New target.
1563
15642000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1565
1566 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
1567 4.3BSD systems.
1568
1569Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1570
1571 * hashtab.c: Various minor cleanups.
1572 (htab_find_slot_with_hash): INSERT is now enum insert_option.
1573 (htab_find_slot): Likewise.
1574
15752000-04-16 Dave Pitts <dpitts@cozx.com>
1576
1577 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
1578
15792000-04-05 Richard Henderson <rth@cygnus.com>
1580
1581 * splay-tree.c (splay_tree_remove): New.
1582
15832000-03-30 Mark Mitchell <mark@codesourcery.com>
1584
1585 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
1586 codes.
1587 (htab_find_with_hash): Likewise.
1588 (htab_find_slot_with_hash): Likewise.
1589
15902000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1591
1592 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
1593 unless it will be used. Rearrange loop for better
1594 optimization.
1595 (higher_prime_number): Add static prototype.
1596
1597Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
1598
1599 * Makefile.in (partition.o): Depend on config.h
1600
16012000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
1602
1603 * hashtab.c (find_empty_slot_for_expand): New function.
1604 (htab_expand): Use it instead of htab_find_slot.
1605 (htab_find_with_hash): Renamed from htab_find; now accepts extra
1606 argument HASH.
1607 (htab_find_slot_with_hash): Likewise for htab_find_slot.
1608 (htab_find): New wrapper function.
1609 (htab_find_slot): Likewise.
1610 (htab_traverse): Pass slot, not entry, to called function.
1611
16122000-03-09 Alex Samuel <samuel@codesourcery.com>
1613
1614 * Makefile.in (CFILES): Add partition.c.
1615 (REQUIRED_OFILES): Add partition.o.
1616 (partition.o): New rule.
1617 * partition.c: New file.
1618
16192000-03-09 Zack Weinberg <zack@wolery.cumb.org>
1620
1621 * hashtab.c (htab_create): Set del_f.
1622 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
1623 Use it.
1624
16252000-03-08 Zack Weinberg <zack@wolery.cumb.org>
1626
1627 * hashtab.c: Remove debugging variables (all_searches,
1628 all_collisions, all_expansions). Delete
1629 all_hash_table_collisions.
1630 (create_hash_table, delete_hash_table, empty_hash_table,
1631 find_hash_table_entry, remove_element_from_hash_table_entry,
1632 clear_hash_table_slot, traverse_hash_table, hash_table_size,
1633 hash_table_elements_number, hash_table_collisions): Rename to:
1634 htab_create, htab_delete, htab_empty, htab_find_slot,
1635 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
1636 htab_elements, htab_collisions.
1637 (htab_find): New function, handles common case where you don't
1638 plan to add or delete an entry.
1639 (htab_expand): Don't create a whole new table, just a new
1640 entry vector.
1641 (htab_find_slot): Simplify logic.
1642
16431999-08-03 Ian Lance Taylor <ian@zembu.com>
1644
1645 * floatformat.c: Add casts to avoid signed/unsigned warnings.
1646 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
1647
1648 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
1649 $(TARGETLIB)n so it works on MSDOS.
1650 (install_to_tooldir): Likewise.
1651
16521999-07-21 Ian Lance Taylor <ian@zembu.com>
1653
1654 From Mark Elbrecht:
1655 * makefile.dos: Remove; obsolete.
1656 * configure.bat: Remove; obsolete.
1657
16581999-07-11 Ian Lance Taylor <ian@zembu.com>
1659
1660 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1661 warning.
1662
16632000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1664
1665 * pexecute.c: Conditionally include string.h.
1666 (fix_argv): Handle embedded whitespace in args for Mingw32.
1667
16682000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1669
1670 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
1671 we're using gcc.
1672
1673 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
1674
16751999-12-27 Geoff Keating <geoffk@cygnus.com>
1676
1677 * vasprintf.c (int_vasprintf): Don't re-read the format character
1678 as this mishandles strings like '%%s'.
1679
16801999-12-05 Mark Mitchell <mark@codesourcery.com>
1681
1682 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
1683 rather than struct splay_tree_node.
1684 (splay_tree_insert): Use struct splay_tree_s rather than struct
1685 splay_tree.
1686
1687Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
1688
1689 * hashtab.c (sys/types.h): File included.
1690
16911999-11-22 Jason Merrill <jason@casey.cygnus.com>
1692
1693 * strtoul.c, strtol.c, random.c: Remove advertising clause from
1694 BSD license, pursuant with
1695
1696 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
1697
1698Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
1699
1700 * hashtab.c: Include stdio.h.
1701
1702Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
1703
1704 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
1705
1706Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
1707
1708 * xstrdup (sys/types.h): Include this file.
1709
17101999-10-28 Nathan Sidwell <nathan@acm.org>
1711
1712 * Makefile.in (SUBDIRS): New macro.
1713 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
1714 avoid multiple subdirectory cleaning.
1715 (*-subdir): Use SUBDIRS.
1716
17171999-10-25 Jim Kingdon <http://developer.redhat.com/>
1718
1719 * cplus-dem.c: Move declarations of standard_symbol_characters and
1720 hp_symbol_characters inside #ifdef MAIN to avoid compiler
1721 warnings.
1722
17231999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
1724
1725 * hashtab.c (find_hash_table_entry): When returning a
1726 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
1727 (clear_hash_table_slot): New function which deletes an entry
1728 by its position in the table, not its value.
1729 (traverse_hash_table): New function which calls a hook
1730 function for every live entry in the table.
1731
17321999-10-19 Mark Mitchell <mark@codesourcery.com>
1733
1734 * cplus-dem.c (INTBUF_SIZE): New macro.
1735 (string_append_template_idx): New function.
1736 (demangle_expression): Likewise.
1737 (demangle_integral_value): Use it.
1738 (demangle_real_value): New function, split out from ...
1739 (demangle_template_value_parm): ... here. Use
1740 string_append_template_idx. Use demangle_real_value.
1741 (demangle_template): Use string_append_template_idx.
1742 (demangle_qualified): Use consume_count_with_underscores.
1743 (get_count): Tweak formatting.
1744 (do_type): Use string_append_template_idx.
1745
17461999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1747
1748 * calloc.c: Add a public domain notice.
1749
1750Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
1751
1752 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
1753
1754Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
1755
1756 * Makefile.in (CFILES): Add hashtab.c
1757 (REQUIRED_OFILES): Add hashtab.o
1758 (hashtab.o): Add dependencies.
1759 * hashtab.c: New file
1760
1761Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
1762
1763 * basename.c (DIR_SEPARATOR): New macro.
1764 (DIR_SEPARATOR_2): Likewise.
1765 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
1766 (IS_DIR_SEPARATOR): Likewise.
1767 (main): Handle MSDOS style pathname.
1768
17691999-10-11 Mark Mitchell <mark@codesourcery.com>
1770
1771 * cplus-dem.c (do_type): Handle pointer to member types whose
1772 enclosing classes have namespace scope.
1773
1774Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
1775
1776 * config.table: Provide a backup shell for executing move-if-change.
1777
17781999-10-02 Mark Mitchell <mark@codesourcery.com>
1779
1780 * xmalloc.c (xmalloc): Fix spelling error.
1781 (xcalloc, xrealloc): Likewise.
1782
17831999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1784
1785 * cplus-dem.c (fancy_abort, demangle_integral_value,
1786 demangle_arm_hp_template, recursively_demangle,
1787 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
1788 (program_name, program_version, fatal): Constify a char*.
1789 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
1790 (main): Call return, not exit.
1791
17921999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1793
1794 * choose-temp.c: Remove obsolete comment about gcc.
1795 (make_temp_file): Constify a char*.
1796
1797Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1798
1799 * xmemdup.c: Include sys/types.h.
1800
18011999-09-07 Jeff Garzik <jgarzik@pobox.com>
1802
1803 * xmemdup.c: New xmemdup function.
1804 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
1805
1806Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
1807
1808 * config.table: Add openedition target.
1809 * config/mh-openedition: New file.
1810
1811Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
1812
1813 * pexecute.c (pexecute): Fill in temp_base when needed.
1814
18151999-08-31 Richard Henderson <rth@cygnus.com>
1816
1817 * getpwd.c: Check HAVE_GETCWD before defining it away.
1818
18191999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1820
1821 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
1822 (REQUIRED_OFILES): Add getpwd.o.
1823 (getpwd.o): Add target.
1824
1825 * configure.in (AC_PREREQ): Bump to 2.13.
1826 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
1827
1828 * getpwd.c: New file, moved here from gcc.
1829
18301999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1831
1832 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
1833 comparing against a signed quantity.
1834 (arm_special): Likewise.
1835 (demangle_fund_type): Likewise.
1836 (do_hpacc_template_const_value): Mark parameter `work' with
1837 ATTRIBUTE_UNUSED.
1838 (main): Constify variable `valid_symbols'.
1839
1840Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
1841
1842 * strtoul.c (strtoul): Add parentheses around && within ||.
1843
1844Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
1845
1846 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
1847 libdir, libsubdir and tooldir.
1848
18491999-08-01 Mark Mitchell <mark@codesourcery.com>
1850
1851 * splay-tree.c (splay_tree_insert): Return the new node.
1852
18531999-07-14 Richard Henderson <rth@cygnus.com>
1854
1855 * argv.c: Include stdlib.h and string.h instead of
1856 prototyping directly.
1857 * choose-temp.c: Conditionally include string.h.
1858
18591999-07-12 Jason Merrill <jason@yorick.cygnus.com>
1860
1861 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
1862
18631999-07-11 Ian Lance Taylor <ian@zembu.com>
1864
1865 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1866 warning.
1867
18681999-07-07 Jason Merrill <jason@yorick.cygnus.com>
1869
1870 * Makefile.in (needed-list): Only include stuff we actually need
1871 for libstdc++.
1872
18731999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1874
1875 * configure.in (checkfuncs): Add gettimeofday.
1876 * config.in, configure: Regenerated.
1877
1878Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
1879
1880 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
1881 the test fails.
1882 * configure: Regenerate.
1883
18841999-06-10 Mike Stump <mrs@wrs.com>
1885
1886 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
1887 parallel builds.
1888
18891999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1890
1891 * putenv.c: Include ansidecl.h to define `const'.
1892 * setenv.c: Likewise.
1893
1894Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
1895
1896 * Makefile.in (CFILES): Add putenv.c and setenv.c.
1897 * configure.in (funcs): Add putenv and setenv.
1898 (AC_CHECK_FUNCS): Check for putenv and setenv.
1899 * configure: Rebuilt.
1900 * putenv.c setenv.c: New files.
1901
1902 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
1903 bytes of space using malloc.
1904
1905Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
1906
1907 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
1908 the *mangled pointer beyond the end of the string. Clean up code to
1909 match prevailing coding style.
1910
19111999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1912
1913 * tmpnam.c (L_tmpnam): Fix typo.
1914
1915Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
1916
1917 * cplus-dem.c (standard_symbol_characters): Renamed from
1918 standard_symbol_alphabet. No longer modify TABLE.
1919 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
1920 modify TABLE.
1921 (main): Corresponding changes. Use strchr to determine if a
1922 character is valid.
1923
19241999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
1925
1926 * cplus-dem.c (main): Use table lookup to distinguish identifier
1927 characters from non-identifier characters.
1928 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
1929
1930Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
1931
1932 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
1933 * getruntime.c: Only attempt to include sys/resource.h and
1934 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
1935 are defined.
1936
1937Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
1938
1939 * configure.in (alloca detection): Handle alloca directly for interix.
1940 * configure: Rebuilt.
1941
1942Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
1943
1944 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
1945
19461999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
1947
1948 Fix from Dale Hawkins:
1949 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
1950 reallocated properly if we use it again.
1951
1952 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
1953 stricter about syntax. Always null-terminate string.
1954
1955Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
1956
1957 * configure.in (checkfuncs): Check for sbrk.
1958 * config.in: Rebuilt.
1959 * configure: Likewise.
1960 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
1961
19621999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
1963
1964 Fix from Marcus Daniels:
1965 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
1966 identifier looking for another underscore.
1967
1968Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
1969
1970 * pexecute.c: Change all references to __UWIN__ to _UWIN.
1971 * xmalloc.c: Likewise.
1972 (xcalloc): UWIN has sbrk.
1973 (xrealloc): Fix guard macro.
1974
19751999-04-11 Richard Henderson <rth@cygnus.com>
1976
1977 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
1978 or <alloca.h>.
1979 * clock.c (GNU_HZ): New definition.
1980 (clock): Use it.
1981 * getruntime.c: Likewise.
1982
1983 * config.table: Use mh-beos.
1984 * config/mh-beos: New file.
1985
19861999-04-11 Mark Mitchell <mark@codesourcery.com>
1987
1988 * cplus-dem.c (demangle_template_value_parm): Handle
1989 pointers-to-members.
1990 (do_type): Handle template parameters as qualifiers.
1991
19921999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
1993
1994 * cplus-dem.c: Attempt to handle overflows in counts with some
1995 semblance of grace.
1996 (consume_count): Detect overflows. Return -1 to indicate errors,
1997 instead of zero.
1998 (demangle_template_value_parm, demangle_template): Handle change
1999 to consume_count's return convention.
2000
20011999-04-05 Tom Tromey <tromey@cygnus.com>
2002
2003 * testsuite/regress-demangle: New file.
2004 * testsuite/demangle-expected: New file.
2005
2006 * Makefile.in (all, check, installcheck, info, install-info,
2007 clean-info, dvi, install, etags, tags, mostlyclean, clean,
2008 distclean, maintainer-clean, realclean): Depend on corresponding
2009 `-subdir' target.
2010 (all-subdir check-subdir installcheck-subdir info-subdir
2011 install-info-subdir clean-info-subdir dvi-subdir
2012 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
2013 distclean-subdir maintainer-clean-subdir): New target.
2014 * testsuite/Makefile.in: New file.
2015 * configure: Rebuilt.
2016 * configure.in: Create testsuite/Makefile.
2017
20181999-04-02 Mark Mitchell <mark@codesourcery.com>
2019
2020 * splay-tree.h (splay_tree_compare_pointers): Define.
2021
20221999-03-30 Mark Mitchell <mark@codesourcery.com>
2023
2024 * splay-tree.c (splay_tree_compare_ints): Define.
2025
20261999-03-30 Tom Tromey <tromey@cygnus.com>
2027
2028 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
2029 don't advance input pointer.
2030 (demangle_class_name): If consume_count didn't find a count, do
2031 nothing. Don't bother with `strlen' sanity check; consume_count
2032 does it for us.
2033
20341999-03-16 Stan Shebs <shebs@andros.cygnus.com>
2035
2036 From Art Haas <ahaas@neosoft.com>:
2037 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
2038 when doing arm or hp style.
2039 (demangle_nested_args): Decr forgetting_types field when done.
2040
2041Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
2042
2043 * pexecute.c (__CYGWIN32__): Rename to
2044 (__CYGWIN__): this.
2045 * xmalloc.c: Likewise.
2046
2047 Changes to support i386-pc-uwin.
2048 * configure.in (*-*-uwin*): Workaround for vfork bug.
2049 * configure: Regenerate.
2050 * pexecute.c (pexecute): Be like standard Unix.
2051 (pwait): Likewise.
2052 * xmalloc.c (first_break): Define.
2053 (xmalloc_set_program_name): Use.
2054 (xmalloc): Use.
2055
2056Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2057
2058 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
2059
2060Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
2061
2062 * config.table: Check cygwin*, not cygwin32*.
2063
2064Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
2065
2066 * Makefile.in: Change mkstemp -> mkstemps.
2067
2068Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
2069
2070 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
2071 * configure.in (funcs): Check for and conditionally add mkstemps to
2072 the list of functions libiberty will provide.
2073 * configure: Rebuilt.
2074
2075Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
2076
2077 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
2078 platforms that don't have HZ.
2079 * getruntime.c (HZ): Likewise.
2080
2081Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
2082
2083 * Makefile.in (xstrdup.o): Depend on config.h.
2084
2085Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
2086
2087 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
2088 freeing it.
2089
2090Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2091
2092 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
2093
2094Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2095
2096 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
2097 splay-tree.o.
2098
20991999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
2100
2101 * configure.in: Require autoconf 2.12.1 or higher.
2102
21031998-12-30 Michael Meissner <meissner@cygnus.com>
2104
2105 * random.c (NULL): Don't redefine NULL if it is already defined.
2106
2107Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2108
2109 * argv.c (buildargv): Cast the result of alloca in assignment.
2110
2111 * choose-temp.c: Include stdlib.h.
2112
2113 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
2114 (snarf_numeric_literal): Constify first parameter.
2115 (code_for_qualifier): Avoid a gcc extension, make the parameter an
2116 int, not a char.
2117 (demangle_qualifier): Likewise.
2118 (demangle_signature): Cast the argument of a ctype function to
2119 unsigned char.
2120 (arm_pt): Add parens around assignment used as truth value.
2121 (demangle_arm_hp_template): Constify variable `args'.
2122 (do_hpacc_template_const_value): Cast the argument of a ctype
2123 function to unsigned char.
2124 (do_hpacc_template_literal): Remove unused variable `i'.
2125 (snarf_numeric_literal): Constify parameter `args'.
2126 Cast the argument of a ctype function to unsigned char.
2127
2128 * floatformat.c (floatformat_to_double): Add explicit braces to
2129 avoid ambiguous `else'.
2130
2131 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
2132 `cstart' and `cend' to unsigned char. Cast the argument of macro
2133 `FOLD', which uses ctype functions, to unsigned char.
2134
2135 * objalloc.c (free): Add prototype.
2136
2137Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
2138
2139 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
2140
2141Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
2142
2143 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
2144 doesn't exist.
2145 (do_hpacc_template_literal): remove unused variable `i'.
2146
2147Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2148
2149 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
2150 bumping the pointer we read from. Also prepend these codes,
2151 as we do in other places.
2152
21531998-12-18 Nick Clifton <nickc@cygnus.com>
2154
2155 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
2156 'const char *' in order to match its usage when calling siblings.
2157 (snarf_numeric_literal): Make first arg 'const char **' in order
2158 to match usage.
2159
2160Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2161
2162 * choose-temp.c: Don't check IN_GCC anymore.
2163
2164 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
2165 * memchr.c (memchr): Likewise.
2166 * memcpy.c (memcpy): Likewise.
2167 * memmove.c (memmove): Likewise.
2168
2169 * mkstemp.c: Don't check IN_GCC anymore.
2170 * pexecute.c: Likewise.
2171 * splay-tree.c: Likewise.
2172
2173 * strchr.c (strchr): Use `const', not `CONST'.
2174 * strrchr.c (strrchr): Likewise.
2175 * strtol.c (strtol): Likewise.
2176 * strtoul.c (strtoul): Likewise.
2177
2178Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
2179 Elena Zannoni <ezannoni@cygnus.com>
2180 Stan Shebs <shebs@cygnus.com>
2181 Edith Epstein <eepstein@cygnus.com>
2182 Andres MacLeod <amacleod@cygnus.com>
2183 Satish Pai <pai@apollo.hp.com>
2184
2185 * HP aCC demangling support.
2186 * cplus-dem.c
2187 (main): Remove default to HP style demangling, set to EDG
2188 demangling correctly when -edg specified; set the demangling style
2189 when user specifies 'edg'. Set strip_underscore to
2190 prepends_underscore, if not HPUXHPPA. Set
2191 current_demangling_style to hp_demangling if HPUXHPPA. Set
2192 current demangling style correctly if the switch is hp. Read
2193 label correctly also in the HP style case.
2194 (work_stuff): add temp_start field; add field for volatile member
2195 function.
2196 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
2197 style for this case is the same as ARM.
2198 (demangle_args): handle EDG_DEMANGLING style; support HP style.
2199 (demangle_arm_hp_template): new function. (It was
2200 demangle_arm_pt.); check and set value of temp_start field in
2201 multiple places. Also, when ceching for end of template args,
2202 check to see if at end of static member of template class.
2203 (demangle_class): new local variable : save_class_name_end Don't
2204 include template args in string defining class.
2205 (demangle_class_name): use demangel_arm_hp_template.
2206 (demangle_function_name): handle case where demangling style is
2207 HP_DEMANGLING and currently point at an 'X' in the mangled name.
2208 Handle EDG_DEMANGLING style. Handle constructor and destructor
2209 ops for HP style.
2210 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
2211 styles. global destructor and constructor for HP style are same
2212 as for ARM style. Same for local variables.
2213 (demangle_qualified): handle EDG_DEMANGLING style.
2214 (demangle_signature): add case for volatile member function. For
2215 cases '1' - '9' : initialize the temp_start field to -1 and handle
2216 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
2217 and AUTO_DEMANGLING styles. If expecting a function and managed
2218 to demangle the funct args, then handle the LUCID_DEMANGLING,
2219 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
2220 class name after "Lnnn_ in HP style case. HP style too needs to
2221 forget types. _nnn is OK for HP style, so don't report failure.
2222 (do_hpacc_template_const_value): new function. Handle template's
2223 value param for HP/aCC.
2224 (do_hpacc_template_literal): new function. Handle a template's
2225 literal parameter for HP aCC.
2226 (recursively_demangle): new function
2227 (snarf_numeric_literal): new function.
2228 (usage): add 'edg' to the list of demangling styles; add hp switch
2229 to message.
2230
2231Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
2232
2233 * pexecute.c: Remove obsolete ifdefed cygwin code.
2234
2235Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2236
2237 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
2238 * cplus-dem.c: Likewise. Conform to libiberty.h.
2239 * pexecute.c: Likewise.
2240 * splay-tree.c: Likewise.
2241
22421998-11-25 Mike Stump <mrs@wrs.com>
2243
2244 * Makefile.in (splay-tree.o): Add config.h dependency.
2245
2246Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2247
2248 * configure.in: Use AC_PREREQ(2.12.1).
2249
22501998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
2251
2252 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
2253
2254Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
2255
2256 * mpw.c (mpw_access): Add missing parens.
2257
2258Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2259
2260 * configure.in: Call AC_HEADER_SYS_WAIT.
2261
2262 * pexecute.c: Include sys/wait.h when !IN_GCC.
2263
2264Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
2265
2266 * pexecute.c: revert back to checking old Cygwin
2267 preprocessor symbol until some time has passed.
2268
2269Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
2270
2271 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
2272 since it will now support similar constructs.
2273
2274Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2275
2276 * configure.in: Check for calloc.
2277
2278 * calloc.c: New file.
2279
2280 * xmalloc.c (xcalloc): New function.
2281
2282Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2283
2284 *cplus-dem.c (demangle_prefix): Use the last "__"
2285 in the mangled name when looking for the signature. This allows
2286 template names to begin with "__".
2287
22881998-11-08 Mark Mitchell <mark@markmitchell.com>
2289
2290 * cplus-dem.c (type_kind_t): Add tk_reference.
2291 (demangle_template_value_parm): Handle it.
2292 (do_type): Use it for references, instead of tk_pointer.
2293
2294 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
2295 not internal_cplus_demangle.
2296
2297Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2298
2299 * choose-temp.c: Don't include gansidecl.h.
2300 * mkstemp.c: Likewise.
2301 * pexecute.c: Likewise.
2302
2303Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
2304
2305 * configure.in: detect cygwin* instead of cygwin32*
2306 * configure: regenerate
2307
2308Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2309
2310 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
2311 whether to include config.h. Possibly include unistd.h in the
2312 !IN_GCC case. Define VFORK_STRING as a printable function call
2313 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
2314 defined, include vfork.h. If VMS is defined, define vfork()
2315 appropriately. Remove vfork check on USG, we're using autoconf.
2316 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
2317 locally what string to use.
2318
23191998-10-26 Mark Mitchell <mark@markmitchell.com>
2320
2321 * splay-tree.c: Tweak include directives to make sure declarations of
2322 xmalloc and free are available.
2323
23241998-10-25 Mark Mitchell <mark@markmitchell.com>
2325
2326 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
2327 anonymous namespaces.
2328
23291998-10-23 Mark Mitchell <mark@markmitchell.com>
2330
2331 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
2332 with type_quals.
2333 (TYPE_UNQUALIFIED): New macro.
2334 (TYPE_QUAL_CONST): Likewise.
2335 (TYPE_QUAL_VOLATILE): Likewise.
2336 (TYPE_QUAL_RESTRICT): Likewise.
2337 (code_for_qualifier): New function.
2338 (qualifier_string): Likewise.
2339 (demangle_qualifier): Likewise.
2340 (internal_cplus_demangle): Use them.
2341 (demangle_signature): Likewise.
2342 (demangle_template_value_parm): Likewise.
2343 (do_type): Likewise.
2344 (demangle_fund_type)): Likewise.
2345
2346Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2347
2348 * splay-tree.c (splay_tree_foreach_helper): Make definition static
2349 to match prototype.
2350
23511998-10-21 Mark Mitchell <mark@markmitchell.com>
2352
2353 * splay-tree.c: New file.
2354 * Makefile.in (CFILES): Add it.
2355 (REQUIRED_OFILES): Likewise.
2356 (splay-tree.o): Add dependencies.
2357
2358Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2359
2360 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
2361 range of 'K' index.
2362
2363Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2364
2365 * choose-temp.c: Prototype mkstemps() when IN_GCC.
2366
2367 * cplus-dem.c (consume_count): Cast argument of ctype macro to
2368 `unsigned char'.
2369 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
2370 comparing against one.
2371 (cplus_mangle_opname): Likewise.
2372 (demangle_integral_value): Cast argument of ctype macro to
2373 `unsigned char'.
2374 (demangle_template_value_parm): Likewise.
2375 (demangle_template): Initialize variable `bindex'. Cast the
2376 result of `strlen' to (int) when comparing against one. Remove
2377 unused variable `start_of_value_parm'.
2378 (demangle_class_name): Cast the result of `strlen' to (int) when
2379 comparing against one.
2380 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
2381 (gnu_special): Likewise. Cast the result of `strlen' to (int)
2382 when comparing against one.
2383 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
2384 (get_count): Likewise.
2385 (do_type): Likewise. Cast the result of `strlen' to (int) when
2386 comparing against one.
2387 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
2388 (demangle_function_name): Cast the result of `strlen' to (int)
2389 when comparing against one.
2390
2391 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
2392 comparing against one.
2393
2394Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
2395
2396 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
2397 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
2398 * config.in, configure: Rebuilt.
2399
2400 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
2401 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
2402 * config.in, configure: Rebuilt.
2403
2404Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
2405
2406 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
2407
2408Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
2409
2410 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
2411
2412Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
2413
2414 * Merge egcs & devo libiberty.
2415