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