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