]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - libiberty/ChangeLog
Remove duplicate date line
[thirdparty/binutils-gdb.git] / libiberty / ChangeLog
CommitLineData
5f9624e3
DJ
12003-01-26 Daniel Jacobowitz <drow@mvista.com>
2
3 * hashtab.c (htab_create_alloc_ex): New function.
4 (hatab_set_functions_ex): New function.
5 (htab_delete, htab_expand): Support alternate allocation functions.
6
9c2259b8
DD
72003-01-24 Christopher Faylor <cgf@redhat.com>
8
9 * configure.in: Remove special pex-cygwin consideration.
10 * configure: Regenerate.
11 * pex-cygwin.c: Remove.
12 * Makefile.in: Remove pex-cygwin.[co] lines.
13
5a17353c
DD
142003-01-24 Zack Weinberg <zack@codesourcery.com>
15
16 * Makefile.in (CFILES): Add pex-*.c.
17 (REQUIRED_OFILES): Change pexecute.o to @pexecute@
18 (CONFIGURED_OFILES): Add pex-*.o.
19 (TEXIFILES): Add pexecute.txh.
20 (pexecute.o): Delete rule.
21 (pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o,
22 pex-unix.o, pex-win32.o): New rules.
23 * configure.in: Change AC_INIT argument to xmalloc.c.
24 Compute appropriate pexecute implementation and substitute it
25 as @pexecute@.
26
27 * pexecute.c: Split up into...
28 * pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c,
29 pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these
30 new files.
31
32 * functions.texi: Regenerate.
33 * configure: Regenerate.
34
eed2b28c
DD
352003-01-20 Josef Zlomek <zlomekj@suse.cz>
36
37 * hashtab.c (htab_expand): Fix allocation of new entries.
38
27a39a5f
DD
392003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
40
41 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
42
43 * Makefile.in (install_to_libdir, install_to_tooldir): Add a
44 mkinstalldirs command.
45
b51c1553
DD
462002-12-04 Danny Smith <dannysmith@users.sourceforge.net>
47
48 * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
49 Define for hosts with HOST_EXECUTABLE_SUFFIX.
50
756954c3
DD
512002-11-24 Nick Clifton <nickc@redhat.com>
52
53 * make-relative-prefix.c (make_relative_prefix): Ensure return
54 string is empty before using strcat to construct it.
55
2a80c0a4
DD
562002-11-22 Daniel Jacobowitz <drow@mvista.com>
57
58 * Makefile.in: Add make-relative-prefix.c.
59 * make-relative-prefix.c: New file.
60 * functions.texi: Rebuilt.
61
768b20d8
JJ
622002-11-16 Jakub Jelinek <jakub@redhat.com>
63
64 * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
65 used with arguments in traditional C' warnings.
66
f52d1d64
JJ
672002-10-16 Jakub Jelinek <jakub@redhat.com>
68
69 * config.table: Use mh-s390pic for s390x too.
70
0d3deb8d
DD
712002-10-06 Andreas Jaeger <aj@suse.de>
72
73 * libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded
74 variable and of strict-aliasing warning.
75 (grow_vect): Use char as first parameter.
76
1b67de92
DD
772002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
78
79 * Makefile.in (all): Fix multilib parallel build.
80
585cc78f
DD
812002-09-19 John David Anglin <dave@hiuly1.hia.nrc.ca>
82
83 * cp-demangle.c (demangling_new): Cast 0 to enum.
84 (demangle_char): Cast return of strdup to char *.
85 (is_gnu_v3_mangled_ctor): Cast 0 to enum.
86 (is_gnu_v3_mangled_dtor): Likewise.
87 * cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
88 (work_stuff_copy_to_from): Cast return of xmalloc to char **.
89 * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
90 * md5.c (md5_process_bytes): Cast results back to const void *.
91 (md5_process_block): Add cast to const md5_uint32 *.
92 * regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
93 * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
94 unsigned short.
95 * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
96 to void *.
97 * vasprintf.c (int_vasprintf): Cast return of malloc to char *.
98
e21b0cc1
NC
992002-09-19 Nick Clifton <nickc@redhat.com>
100
101 * README: Update email addresses for bugs and patches.
102
a54ba43f
DD
1032002-09-10 Mike Stump <mrs@apple.com>
104
105 * splay-tree.c (splay_tree_successor): Fix comments.
106
1072002-09-11 Zack Weinberg <zack@codesourcery.com>
108
109 * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
110 * testsuite/Makefile.in: Adjust for test-demangle.
111 * testsuite/regress-demangle: Deleted.
112 * testsuite/test-demangle.c: New file.
113 * testsuite/demangle-expected: Change \$ to $ throughout, now that
114 this file is not being read by a shell script.
115
01cea699
DD
1162002-09-05 Roger Sayle <roger@eyesopen.com>
117
118 * regex.c: Only use "#pragma alloca" on AIX when not using gcc.
119
a2832523
DD
1202002-08-07 DJ Delorie <dj@redhat.com>
121
122 * regex.c (re_error_msgid): Just use a simple array of strings.
123 (re_compile_pattern): Compensate.
124 (re_comp): Likewise.
125 (re_comp): Likewise.
126 (regerror): Likewise.
127
1e3f0be0
DD
1282002-07-29 Neil Booth <neil@daikokuya.co.uk>
129
130 * cplus-dem.c (PREPEND_BLANK): Remove.
131
b851d07b
DD
1322002-07-10 Jason Merrill <jason@redhat.com>
133
134 * cp-demangle.c (demangle_identifier): Support extended Unicode
135 characters.
136
2a9dffbf
DD
1372002-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
138
139 * cp-demangle.c (demangle_v3_with_details): Wrap in
140 !defined IN_GLIBCPP_V3.
141
793011ca
DD
1422002-07-01 Mark Mitchell <mark@codesourcery.com>
143
144 * cp-demangle.c (demangle_operator_name): Add type_arg parameter.
145 Set it for the "st" operator.
146 (demangle_expression): Handle expressions with types as arguments.
147
b39b76b8
DD
1482002-06-30 Douglas Rupp <rupp@gnat.com>
149
150 * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
151 * Makefile.in (OUTPUT_OPTION): Use.
152
4748c6d8
DD
1532002-06-22 Peter Breitenlohner <peb@mppmu.mpg.de>
154
155 * Makefile.in (install_to_libdir): Add $(DESTDIR).
156 (install_to_tooldir): Likewise.
157
f9c3326a
DD
1582002-06-17 Douglas Rupp <rupp@gnat.com>
159
160 * lbasename.c: Add 2002 to copyright.
161 (IS_DIR_SEPARATOR): Remove VMS junk.
162
18893690
DD
1632002-06-05 Geoffrey Keating <geoffk@redhat.com>
164
165 * hashtab.c (htab_create): New stub function for backward
166 compatibility.
167 (htab_try_create): Likewise.
168
1692002-06-03 Geoffrey Keating <geoffk@redhat.com>
170
171 * hashtab.c (htab_create): Delete.
172 (htab_try_create): Delete.
173 (htab_create_alloc): New.
174 (htab_delete): Support user-specified memory allocation.
175 (htab_expand): Likewise.
176
1772002-05-22 Roman Lechtchinsky <rl@cs.tu-berlin.de>
178
179 * configure.in: Fix typo in the code checking for sys_errlist.
180 * configure: Regenerated.
181
9296c8b2
DD
1822002-05-13 Andreas Schwab <schwab@suse.de>
183
184 * config.table: Use mh-x86pic also for x86-64.
185
52d98c2d
DD
1862002-05-08 Alexandre Oliva <aoliva@redhat.com>
187
188 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
189 script entry, and set LD to it when configuring multilibs.
190 * configure: Rebuilt.
191
cafa3917
DD
1922002-05-07 Mark Mitchell <mark@codesourcery.com>
193
194 * configure.in (AC_TYPE_PID_T): Use it.
195 * configure: Regenerated.
196 * getruntime.c: Include <sys/types.h>.
197 * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid".
198
b1c933fc
RH
1992002-04-09 Richard Henderson <rth@redhat.com>
200
201 * hashtab.c (higher_prime_number): Use 7 as minimum.
202 (find_empty_slot_for_expand): Don't compute hash2 unless needed.
203 (htab_find_slot_with_hash): Likewise.
204
0c4460bb
DD
2052002-04-01 Phil Edwards <pme@gcc.gnu.org>
206
207 * cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
208 (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally
209 not compile if IN_GLIBCPP_V3 defined.
210 * dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme.
211
f2160d2b
DD
2122002-03-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
213
3ebf1f59 214 * cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
f2160d2b
DD
215 if it is NULL.
216
7dd4d42a
DD
2172002-03-27 DJ Delorie <dj@redhat.com>
218
219 * hex.c: Add documentation.
220 (_hex_value): Provide non-ASCII empty table.
221 (hex_init): Initialize the non-ASCII table.
222 * functions.texi: Regenerate.
223
38e57a35
DD
2242002-03-27 Mark Mitchell <mark@codesourcery.com>
225
226 * dyn-string.c: Add libgcc exception to copyright notice.
227
cfed0715
DD
2282002-03-26 H.J. Lu (hjl@gnu.org)
229
230 * config.table: Support --with-build-subdir.
231 * configure.in: Likewise.
232 * configure: Rebuild.
233
1504972f
DD
2342002-03-18 Stuart Griffith <Stuart_Griffith@credence.com>
235
236 * strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
237 seen.
238
35efcd67
DD
2392002-03-12 Mark Mitchell <mark@codesourcery.com>
240
241 * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
242 notice.
243
dabc64ea
DD
2442002-03-11 Douglas B Rupp <rupp@gnat.com>
245
246 * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
247
3ddbd84c
JB
2482002-03-06 Jim Blandy <jimb@redhat.com>
249
250 * splay-tree.c (splay_tree_xmalloc_allocate,
251 splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
252 prototyped definitions. Mark `data' arguments as unused.
253
efdab807
AC
2542002-03-06 Andrew Cagney <ac131313@redhat.com>
255
256 * floatformat.c (floatformat_arm_ext_big): Delete definition.
257
50d4562d
DD
2582002-03-04 Phil Edwards <pme@gcc.gnu.org>
259
260 * configure.in: Add --enable-install-libiberty option.
261 * Makefile.in (INSTALLED_HEADERS): New variable.
262 (install_to_libdir): Possibly also copy headers.
263 * configure: Regenerated.
264
2652002-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
266
267 * xmalloc.c (xmalloc_fail): Clarify error message further.
268
6e9980f5
DD
2692002-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
270
271 * xmalloc.c (xmalloc_fail): Clarify error message.
272
18893690 2732002-02-22 Jim Blandy <jimb@redhat.com>
2bbcdae9
JB
274
275 * splay-tree.c (splay_tree_xmalloc_allocate,
276 splay_tree_xmalloc_deallocate): New functions.
277 (splay_tree_new): Call splay_tree_new_with_allocator, passing the
278 above functions and a dummy data pointer.
279 (splay_tree_new_with_allocator): New function.
280 (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
281 splay_tree_remove): Use the splay tree's allocation and
282 deallocation functions.
283
59ea9fe7
DD
2842002-02-19 Scott Snyder <snyder@fnal.gov>
285
286 * testsuite/demangle-expected: Add test case for infinite loop in
287 demangler.
288 * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
289 if do_type() doesn't make any progress --- prevents an infinite
290 loop.
291
6f848550
DD
2922002-02-18 Carlo Wood <carlo@gnu.org>
293
294 PR c++/5390
295 * cplus-dem.c (demangle_integral_value): Accept multi-digit
296 numbers that do not start with an underscore; This is needed
297 for integer template parameters. This doesn't break anything
298 because multi-digit numbers are never followed by a digit.
299 * testsuite/demangle-expected: Corrected all mangled test
300 cases with multi-digit template parameters: g++ 2.95.x does
301 not generate underscores around these parameters.
302
44354ae1
DD
3032002-02-05 Jason Merrill <jason@redhat.com>
304
305 * cplus-dem.c (flags): Add DMGL_VERBOSE
306 (cplus_demangle_v3_p): Remove.
307 (demangle_it): Add DMGL_TYPES to passed flags.
308 * cp-demangle.c (cplus_demangle_v3_all): Remove.
309 (cplus_demangle_v3_type): Remove.
310 (cplus_demangle_v3): Add options parm.
311
42da15d6
DD
3122002-02-02 H.J. Lu (hjl@gnu.org)
313
314 * cp-demangle.c (cp_demangle_type): Do not protect with
315 IN_LIBGCC2.
316 (cplus_demangle_v3_all): New.
317 (cplus_demangle_v3): Call cplus_demangle_v3_all.
318 (cplus_demangle_v3_type): Call cplus_demangle_v3_all.
319
320 * cplus-dem.c (cplus_demangle_v3_p): New function pointer.
321 Initialized to cplus_demangle_v3.
322 (cplus_demangle_with_style): Call cplus_demangle_v3_p instead
323 of cplus_demangle_v3.
324 (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
325 command line symbol.
326
327 * testsuite/regress-demangle: Pass the mangled name at the
328 command line.
329
b117c158
DD
3302002-02-01 H.J. Lu <hjl@gnu.org>
331
332 * cp-demangle.c (cp_demangle_type): Call demangling_new with
333 DMGL_GNU_V3.
334
c78d91b1
DD
3352002-01-31 Phil Edwards <pme@gcc.gnu.org>
336
337 * cp-demangle.c: Revert yesterday's change.
338
bef8b55d
DD
3392002-01-31 Adam Megacz <adam@xwt.org>
340
341 * gcc/libiberty/configure.in: Treat mingw the same as cywin
342 wrt HAVE_SYS_ERRLIST.
343
2c955b8b
DD
3442002-01-30 Phil Edwards <pme@gcc.gnu.org>
345
346 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
347 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on
348 cp_demangle_type.
349 * testsuite/demangle-expected: New gnu-v3 test.
350
58b1717a
RH
3512002-01-22 Momchil Velikov <velco@fadata.bg>
352
353 * configure.in (variable detection): Use arrays of unspecified
354 size instead of plain integers.
355
cc096b71
DD
3562002-01-18 DJ Delorie <dj@redhat.com>
357
358 * Makefile.in (TESTLIB): New. This library is for future
359 testsuites.
360 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
361 break down by letter.
362 (REQUIRED_OFILES): List long-to-compile files first.
363 (maint-deps): New, target for updating dependencies.
364 (dependencies): Update.
365 * maint-tool: Add dependency-generating option.
366 * configure.in: Check for _doprnt even if we're not providing it.
367 * configure: Regenerate.
368
369 * _doprnt.c: Modifications to allow compiling on any platform.
370 * copysign.c: Likewise.
371 * putenv.c: Likewise.
372 * setenv.c: Likewise.
373 * vsprintf.c: Likewise.
374
3752002-01-15 Douglas B Rupp <rupp@gnat.com>
376
377 * mkstemps.c (mkstemps): On VMS, open temp file with option
378 that causes it to be deleted when closed.
379
20d54542
DD
3802002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
381
c23795e2
DD
382 * cp-demangle.c (long_options): Const-ify.
383 * cplus-dem.c (long_options): Likewise.
384
20d54542
DD
385 * cplus-dem.c (mystrstr): Delete. All callers changed to use
386 strstr instead.
387
f348a7b1
DD
3882001-12-31 Ira Ruben <ira@apple.com>
389
390 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
391 * configure: Regenerated.
392
d86cd745
DD
3932001-12-24 Douglas B. Rupp <rupp@gnat.com>
394
395 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
396 * configure: Regenerated.
397
ae533646
DD
3982001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
399
400 PR other/2719
401 * cplus-dem.c (consume_count): Treat negative count as an error.
402 * testsuite/demangle-expected: Added testcase.
403
c0eb281b
DD
404Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
405
406 * configure.in: Hardcode that vfork works on VMS host.
407 * configure: Regenerated.
408
2da4c07f
RH
4092001-12-06 Richard Henderson <rth@redhat.com>
410
411 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
412 (cplus_demangle): Support no_demangling.
413
24acd898
DD
4142001-11-27 Zack Weinberg <zack@codesourcery.com>
415
416 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
417 in libiberty context. Fix typo in leading comment.
418 * configure.in: Fix various AC_DEFINEs so autoheader works.
419 If any of vprintf, vsprintf, vfprintf is missing from libc,
420 then AC_REPLACE_FUNCS(_doprnt).
421
fec50157 4222001-11-26 DJ Delorie <dj@redhat.com>
d86cd745 423 Daniel Jacobowitz <drow@mvista.com>
fec50157
DD
424
425 * Makefile.in (stamp-h): Depend on Makefile for proper
426 serialization.
427 (*-subdir): Depend on config.h for proper serialization.
428
5527febf
DD
4292001-11-26 DJ Delorie <dj@redhat.com>
430
431 * configure.in: Check for alloca.h (for regex.c and putenv.c).
432 * configure: Regenerate.
433 * config.h: Add HAVE_ALLOCA_H.
434
941d74a0
DD
4352001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
436
437 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
438 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
439 is available.
440
dc579051
DD
441Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
442
443 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
444 * configure.in (HAVE_UINTPTR_T): Test for system defining
445 uintptr_t and define HAVE_UINTPTR_T appropriately.
446 * regex.c (uintptr_t): Do not provide a definition if the
447 system provided one.
448
449 * regex.c (PREFIX): Provide an alternate definition for
450 non-ANSI/ISO compilers.
451 (ARG_PREFIX): Likewise.
452
1a78a35a
DD
4532001-11-12 Jim Meyering <meyering@lucent.com>
454
455 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
456 this code would end up calling gettext even in packages built
457 with --disable-nls.
458 * getopt.c (_): Likewise.
459 * regex.c (_): Likewise.
460
4e55c4b6
DD
4612001-11-03 Alan Modra <amodra@bigpond.net.au>
462
463 * configure.in: Cope with missing makeinfo.
464 * configure: Regenerate.
465
d311a83a
DD
4662001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
467
468 * hex.c (hex_init): Provide empty stub.
469
470 * hex.c (hex_init): Delete.
471 (_hex_value): Const-ify and initialize at compile-time.
472
3bc62f91
DD
4732001-10-19 H.J. Lu <hjl@gnu.org>
474
475 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
476 necessary.
477
5d852400
DD
4782001-10-17 DJ Delorie <dj@redhat.com>
479
480 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
481 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
5527febf 482 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
5d852400
DD
483 Improve manual formatting.
484 * functions.texi: Regenerate.
485
ba19b94f
DD
4862001-10-15 DJ Delorie <dj@redhat.com>
487
488 * Makefile.in (TEXIFILES): Add fnmatch.txh.
489 (maint-undoc): New.
490 maint-tool: Add "undoc" tool.
491 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
492 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
493 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
494 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
495 documentation.
496 * fnmatch.txh: New.
497 * functions.texi: Regenerate.
498
56056af5
DD
4992001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
500
501 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
502 * strtod.c: Use "ISO C" instead of "ANSI C".
503 * functions.texi: Regenerate.
504
99b58139
DD
5052001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
506
507 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
508 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
509 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
510 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
511 spelling. Give names to function arguments in documentation. Use
512 (void) prototypes in documentation.
513 * functions.texi: Regenerate.
514
e6450fe5
DD
5152001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
516
517 * argv.c (buildargv, tests, main): Const-ify.
518 * cp-demangle.c (operator_code): Likewise.
519 * cplus-dem.c (optable, libiberty_demanglers,
520 cplus_demangle_set_style, cplus_demangle_name_to_style,
521 print_demangler_list): Likewise.
522 * hashtab.c (higher_prime_number): Likewise.
523 * strcasecmp.c (charmap): Likewise.
524 * strerror.c (error_info, strerror, main): Likewise.
525 * strncasecmp.c (charmap): Likewise.
526 * strsignal.c (signal_info): Likewise.
527
da191b5b
DD
5282001-09-29 DJ Delorie <dj@redhat.com>
529
530 * configure: Regenerate.
531
916aaa12
DD
5322001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
533
534 * concat.c: Include stdlib.h.
535
fa9f0e33
DD
5362001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
537
538 * libiberty.texi: (Top level): Add syncodeindex pg. Add
539 @dircategory and @direntry directives. Add @finalout.
540 (many nodes): Lose the next,prev,up pointers on the @nide line.
541 (Using, Supplemental Functions, Replacement Functions): Fix
542 markup.
543 (Functions): Move around, to allow makeinfo to build the manual
544 without next,prev,up pointers in thye node lines.
545 (Licenses): Fix typos.
546
547 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
548 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
549 * functions.texi: Regenerate.
550
551 * copying-lib.texi: Lose the next,prev,up pointers on the @node
552 line.
553
5542001-09-27 DJ Delorie <dj@redhat.com>
555
556 * configure.in: Don't use in-tree texinfo, because libiberty must
557 be built before it. Check for makeinfo version 4 or higher.
558 * functions.texi: Regenerate.
559
39423523
DD
5602001-09-20 DJ Delorie <dj@redhat.com>
561 Phil Edwards <pedwards@disaster.jaj.com>
562
563 * configure.in (MAKEINFO, PERL): Detect these.
564 (--enable-maintainer-mode): Add.
565 * configure: Regenerate.
566 * Makefile.in (MAKEINFO, PERL): Define.
567 (libiberty.info, libiberty.dvi, libiberty.html): New.
568 (CFILES): Add bsearch.c.
569 (CONFIGURED_OFILES): New, list of objects configure might add.
570 (maint-missing, maint-buildall): New, for maintainers only.
571 (clean, mostlyclean): Add info/dvi/html files.
572 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
573 * gather-docs: New, for maintainers.
574 * maint-tool: New, for maintainers.
575 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
576 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
577 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
578 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
579 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
580 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
581 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
582 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
583 documentation.
584
66c94e19
DD
5852001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
586
587 * concat.c (reconcat): Fix for traditional C.
588
99ee3a8f
DD
5892001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
590
591 * concat.c (reconcat): New function.
592
54c20242
DD
5932001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
594
595 * concat.c (vconcat_length, vconcat_copy, concat_length,
596 concat_copy, concat_copy2): New functions.
597 (concat): Use vconcat_length/vconcat_copy.
598
599 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
600 Define.
601
843f21be
DD
6022001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
603
604 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
605 VA_FIXEDARG & VA_CLOSE.
606
607 * vasprintf.c: Check HAVE_STRING_H when including string.h.
608 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
609 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
610
8a423cb3
DD
6112001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
612
613 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
614
dc676635
DD
6152001-08-23 Ulrich Drepper <drepper@redhat.com>
616
617 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
618
6192001-08-23 Ulrich Drepper <drepper@redhat.com>
620
621 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
622 instead of mbrtowc.
623 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
624 wcslen, and __wcscoll instead of wcscoll.
625
f080c76d
DD
6262001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
627
3ebf1f59
DD
628 * fibheap.c (fibheap_init, fibnode_init): Remove.
629 (fibheap_new, fibnode_new): Use xcalloc to allocate and
630 initialize memory.
631 (fibheap_insert): Remove check for node allocation failure.
f080c76d 632
f01b59ed
DD
6332001-08-21 Richard Henderson <rth@redhat.com>
634
635 * Makefile.in (fibheap.o): Depend on config.h.
636 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
637 functions for inlining.
638
639Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
640
641 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
642 hosting on cygwin.
643 * configure: Regenerate.
644
eb828599
AC
6452001-08-20 Andrew Cagney <ac131313@redhat.com>
646
647 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
648 HARRIS_FLOAT_FORMAT.
649 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
650 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
651 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
652 (floatformat_m88110_harris_ext): New float formats.
653
4e55c4b6
DD
6542001-08-20 Daniel Berlin <dan@cgsoftware.com>
655
656 * fibheap.c: New file. Fibonacci heap.
657
658 * Makefile.in (CFILES): Add fibheap.c.
659 (REQUIRED_OFILES): Add fibheap.o.
660 (fibheap.o): Add dependencies for fibheap.o.
661
68a41de7
DD
6622001-08-17 Christopher Faylor <cgf@cygnus.com>
663
664 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
665 * configure: Regenerate.
666
8fc34799
DD
6672001-08-16 Richard Henderson <rth@redhat.com>
668
669 * hashtab.c (htab_hash_string): New.
670
16bad250
AC
6712001-08-13 Andrew Cagney <ac131313@redhat.com>
672
673 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
674 name.
675
a9022147
DD
6762001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
677
678 * regex.c (wcs_regex_compile): Use appropriate string
679 to compare with collating element.
680 Fix the padding for the alignment.
681
8aefe91a 6822001-08-10 Andrew Cagney <ac131313@redhat.com>
3ea71002
AC
683
684 * lbasename.c (lbasename): Change function definition to return a
685 const char pointer.
686
e7e9b069
DD
6872001-08-07 Jason Merrill <jason_merrill@redhat.com>
688
689 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
690 for".
691
cc5144f8
DD
6922001-08-03 Richard Henderson <rth@redhat.com>
693
694 * Makefile.in (concat.o): Depend on config.h.
695
8aefe91a
DD
6962001-07-30 Andreas Jaeger <aj@suse.de>
697
698 * concat.c: Include "config.h".
699
86710ce2
DD
7002001-07-30 Andreas Jaeger <aj@suse.de>
701
702 * regex.c: Declare wcs functions only if compiling with
703 MBS_SUPPORT.
704 Don't use #elif for traditional C.
705
7062001-07-23 Ulrich Drepper <drepper@redhat.com>
707
708 * regex.c: Revamp memory allocation for WCHAR functions to
709 not use too much stack.
710
7112001-07-30 Andreas Jaeger <aj@suse.de>
712
713 * regex.c: Declare wcs functions only if compiling with
714 MBS_SUPPORT.
715 Don't use #elif for traditional C.
716
a5d8f731
DD
7172001-07-25 Daniel Jacobowitz <drow@mvista.com>
718
719 * Makefile.in (regex.o): Add dependency on config.h.
720
6ad8a379
DD
7212001-07-18 Andreas Schwab <schwab@suse.de>
722
723 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
724 underscore character.
725
7262001-07-18 Ulrich Drepper <drepper@redhat.com>
727
728 * regex.c: Limit string length printed in debug messages to 100
729 chars.
730
7312001-07-18 Andreas Jaeger <aj@suse.de>
732
733 * regex.c: Place under LGPL version 2.1.
734
2a6ef469
DD
7352001-07-10 Jeff Johnston <jjohnstn@redhat.com>
736
737 * Makefile.in: Add support for regex code.
738 * regex.c: New file.
739
7b78baae
DD
7402001-07-05 Mark Klein <mklein@dis.com>
741
742 * Makefile.in: Add ffs.c dependency.
743 * configure.in: Add ffs.c.
744 * ffs.c: New file.
745
926150e2
DD
7462001-06-18 Richard Henderson <rth@redhat.com>
747
748 * concat.c: Include <sys/types.h>.
749
11f6f21d
DD
7502001-06-11 Loren J. Rittle <ljrittle@acm.org>
751
752 bootstrap/3106
753 * strerror.c (sys_nerr): Hide the OS header version.
754 * strsignal.c (sys_nsig): Likewise.
755
d42dae6c
DD
7562001-06-10 Richard Henderson <rth@redhat.com>
757
758 * concat.c: Include string.h. Fix int vs size_t usage.
759 Simplify the iteration loops. Use memcpy.
760
e05c6d27
DD
7612001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
762
763 * partition.c: Fix misspelling of `implementation'.
764
b50c4073
DD
7652001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
766
767 * md5.c (md5_init_ctx): Declare constants as unsigned.
768 (md5_process_block): Likewise.
769
457161bf
DD
7702001-05-07 Zack Weinberg <zackw@stanford.edu>
771
772 * cp-demangle.c (demangle_v3_with_details,
773 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
774 function definition.
775 * ternary.c: Use K+R style function definitions. Use PTR, not
776 void *. Make arguments constant where possible.
777
e00bc6a7
DD
7782001-05-07 Mark Mitchell <mark@codesourcery.com>
779
780 * splay-tree.h (splay_tree_max): New function.
781 (splay_tree_min): Likewise.
782
400ee7e1
DB
7832001-04-15 Daniel Berlin <dan@cgsoftware.com>
784
785 * ternary.c: New file - Ternary search tree implementation.
a5dd804e
DB
786
787 * Makefile.in: Add ternary.o, and ternary.c dependencies.
400ee7e1 788
d9697354
DD
7892001-04-03 Zack Weinberg <zackw@stanford.edu>
790
791 * make-temp-file.c (try): Inline.
792
a7bf099b
DD
7932001-02-28 Richard Henderson <rth@redhat.com>
794
795 * Makefile.in (make-temp-file.o): Depend on config.h.
796
30a1def2
DD
7972001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
798
799 * memchr.c (memchr): Adjust condition to avoid infinite loop.
800
079c672a
DD
8012001-03-23 Jakub Jelinek <jakub@redhat.com>
802
803 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
804 `_' not followed by a digit is invalid.
805
a88e356a
JB
8062001-03-22 Jim Blandy <jimb@redhat.com>
807
808 * cp-demangle.c (string_list_delete): Use dyn_string_delete
809 instead of free, to free the contents as well as the string
810 structure.
811
1dffcc66
DD
8122001-03-21 Zack Weinberg <zackw@stanford.edu>
813
814 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
815 Don't default P_tmpdir to anything. Try /var/tmp before
816 /usr/tmp.
817
8182001-03-20 Zack Weinberg <zackw@stanford.edu>
819
820 * choose-temp.c: Split off make_temp_file, and the code
821 duplicated between it and choose_temp_base, into...
822 * make-temp-file.c: ... here; new file.
823
824 * Makefile.in (CFILES): Add make-temp-file.c.
825 (REQUIRED_OFILES): Add make-temp-file.o.
826
e61231f1
JB
8272001-03-20 Jim Blandy <jimb@redhat.com>
828
829 * cp-demangle.c (struct demangling_def): New fields:
830 is_constructor and is_destructor.
831 (demangling_new): Initialize them.
832 (demangle_ctor_dtor_name): Set them, if we detect a constructor
833 or destructor.
834 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
835 is_gnu_v3_mangled_dtor): New functions.
836
a9cbbe6d
DD
8372001-03-20 Jason Merrill <jason@redhat.com>
838
839 * cplus-dem.c (main): Skip initial $.
840
b1e51b3c
DD
8412001-03-15 Michael Meissner <meissner@redhat.com>
842
843 * hashtab.c (higher_prime_number): Silence warning that 4294967291
844 might be a signed integer under pre-ISO C systems.
845
8aa30e60 8462001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
fa03f0a7 847 John David Anglin <dave@hiauly1.hia.nrc.ca>
8aa30e60 848
8aa30e60
DD
849 * libiberty/lbasename.c: New file.
850 * libiberty/Makefile.in: Update for lbasename.
8aefe91a 851
30673bf5
DD
8522001-03-06 Zack Weinberg <zackw@stanford.edu>
853
854 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
855 * configure.in: Replace all alloca logic with a simple use of
856 the above new macro.
857 * config.table: Kill *-*-beos* entry.
858 * config/mh-beos: Delete.
859 * configure, config.in: Regenerate.
fa03f0a7 860
30673bf5
DD
861 * Makefile.in (ALLOCA, HFILES): Kill.
862 (REQUIRED_OFILES): Add alloca.o.
863 (alloca.o): Depend on libiberty.h.
864 (argv.o): Don't depend on alloca-conf.h.
865 * alloca-conf.h: Delete.
866 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
867 blocks. Provide the C alloca unconditionally. Use PTR where
868 appropriate. Make i00afunc static.
869 * argv.c: Don't include alloca-conf.h.
fa03f0a7 870
5810f394
DD
8712001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
872
873 * cplus-dem.c (main): Cast enum style to int.
fa03f0a7 874
a9db032a
DD
8752001-02-16 Loren J. Rittle <ljrittle@acm.org>
876
877 * cplus-dem.c (main): Initialize style.
fa03f0a7 878
8aefe91a
DD
8792001-02-02 Phil Edwards <pme@sources.redhat.com>
880
881 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
882
bc9bf259
DD
8832001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
884
885 Add support for Java demangling under the v3 ABI:
886 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
887 (struct demangling_def): Add `style' field.
888 (demangling_new): New parameter `style'. Set it in demangling_t.
889 (demangle_prefix): Use NAMESPACE_SEPARATOR.
890 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
891 (cp_demangle): New parameter `style'. Pass it to demangling_new().
892 (main): Call cp_demangle with extra parameter.
893 (java_demangle_v3): New function.
894 (java_builtin_type_names): New. Table of primitive type names used
895 for Java demangling.
896 (demangle_builtin_type): Look up in java_builtin_type_names if doing
897 Java output.
898 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
899 demangling.
900 (long_options): Remove obsolete `java' option.
901 (main): Remove explicit handling of `java' option. Instead, pass style
902 parameter in cplus_demangle flags as gdb does.
903 * testsuite/demangle.expected: Add some Java test cases.
fa03f0a7 904
f6528837
DD
9052000-12-29 DJ Delorie <dj@redhat.com>
906
907 * fnmatch.c: Make the note about the origins of this file more
908 accurate, at least until we can sync with glibc.
909 * getopt.c: Ditto.
910 * getopt1.c: Ditto.
911 * md5.c: Ditto.
912 * obstack.c: Ditto.
9d969b59 913
c6da642e
DD
9142000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
915
916 * bsearch.c: New file.
917 * configure.in (funcs): Add bsearch.
918 (AC_CHECK_FUNCS): Likewise.
919 * configure, config.in: Regenerate.
920
ae7d06ad 9212000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
922
923 * safe-ctype.c: #include "ansidecl.h".
924 * strtod.c: Likewise.
925
ae7d06ad 9262000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
927
928 * strtoul.c: Include safe-ctype.h, not ctype.h.
929
ac424eb3
DD
9302000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
931
932 * safe-ctype.c: New file.
933 * Makefile.in (CFILES): Add safe-ctype.c.
934 (REQUIRED_OFILES): Add safe-ctype.o.
935
936 * argv.c: Define ISBLANK and use it, not isspace.
937 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
938 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
939 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
940 before calling TOLOWER(c)/TOUPPER(c).
941
4415a860
DD
9422000-12-07 Mike Stump <mrs@wrs.com>
943
944 * Makefile.in (distclean): When cleaning, remove testsuite.
945
849ee224
DD
9462000-12-05 Jason Merrill <jason@redhat.com>
947
948 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
949 name before allocating the dyn_string.
950
ae7d06ad 9512000-12-04 Jason Merrill <jason@redhat.com>
e49a569c
DD
952
953 * cp-demangle.c: s/new_abi/v3/.
954 * cplus-dem.c: Likewise.
955 (current_demangling_style): Now auto_demangling.
956 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
ae7d06ad 957 (main): Use standard symbol chars for auto_demangling.
e49a569c 958
ae7d06ad 9592000-11-26 Mark Mitchell <mark@codesourcery.com>
5ca0f83d
DD
960
961 * hashtab.c (higher_prime_number): Use a table, rather than a
962 seive, to find the next prime.
ae7d06ad
NC
963
9642000-11-22 H.J. Lu <hjl@gnu.org>
965
966 * cplus-dem.c (main): Handle gnat_demangling.
967
9682000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
2ea7befd
DD
969
970 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
971 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
972 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
973 argument form of AC_DEFINE in dummy definitions block. Use
974 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
975 in dummy block. Preload cache variables instead of bypassing
976 tests, where possible.
977 * acconfig.h: Removed.
ae7d06ad 978
2ea7befd
DD
979 * xmalloc.c (xmalloc_failed): New function, does error
980 reporting on failed allocation.
981 (xmalloc, xcalloc, xrealloc): Use it.
9c26dc82 982
f1775526
HPN
9832000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
984
985 * cplus-dem.c (cplus_demangle): Fix formatting.
986 (grow_vect): Ditto.
987 (ada_demangle): Ditto.
988 (internal_cplus_demangle): Ditto.
989 (mop_up): Ditto.
990
9912000-11-21 H.J. Lu <hjl@gnu.org>
992
993 * cplus-dem.c (main): Handle java_demangling.
994
ae7d06ad 9952000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
f1775526
HPN
996
997 * cplus-dem.c (grow_vect): Prototype.
998 (ada_demangle): Cast the arg of ctype macros to unsigned char.
999
5dd42ef4
HPN
10002000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
1001
1002 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
1003 parameter `option'.
1004
296731c1
DD
10052000-11-15 Kenneth Block <kenneth.block@compaq.com>
1006
8944fb9d 1007 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
296731c1
DD
1008 be used in GCC.
1009
6e53a714 10102000-11-15 Kenneth Block <kenneth.block@compaq.com>
16e85745 1011
5dd42ef4 1012 * cplus-dem.c: Add gnat demangler. Add java to demangle style
16e85745
HPN
1013 list.
1014
99a4c1bd
HPN
10152000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
1016
1017 * hashtab.c (htab_expand): Change to return int. Use calloc or
8aefe91a
DD
1018 xcalloc depending on htab->return_allocation_failure. Return zero
1019 if calloc fails.
99a4c1bd
HPN
1020 (htab_create): Update comment to cover memory allocation.
1021 (htab_try_create): New.
1022 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
8aefe91a 1023 Update comment to cover this.
99a4c1bd 1024
e0f3df8f
HPN
10252000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
1026
1027 * hashtab.c: Change void * to PTR where necessary.
1028 (htab_create, htab_expand): Correct formatting of comment before
1029 function.
1030
ae7d06ad 10312000-10-22 Alex Samuel <samuel@codesourcery.com>
59666b35
DD
1032
1033 * cp-demangle.c (string_list_def): Add caret_position and comments.
1034 (result_caret_pos): New macro.
1035 (result_append_string): Rename to...
1036 (result_add_string): ... this, and insert at caret position.
ae7d06ad 1037 Rename throughout.
59666b35
DD
1038 (result_append): Rename to...
1039 (result_add): ... this, and insert at caret position. Rename
ae7d06ad 1040 throughout.
59666b35
DD
1041 (result_append_char): Rename to...
1042 (result_add_char): ... this, and insert at caret position. Rename
ae7d06ad 1043 throughout.
59666b35
DD
1044 (result_append_space): Remove.
1045 (string_list_new): Initialize caret position.
1046 (result_add_separated_char): Use caret position.
1047 (result_get_caret): New funtion.
1048 (result_set_caret): Likewise.
1049 (result_shift_caret): Likewise.
1050 (result_previous_char_is_space): Likewise.
1051 (substitution_start): Use caret position.
1052 (substitution_add): Likewise.
1053 (demangling_new): Initialize caret position.
1054 (demangle_encoding): Use caret position.
ae7d06ad 1055 (demanglin_nested_name): Put CV qualifiers after name.
59666b35
DD
1056 (demangle_type_ptr): Use switch statement. Handle pointers to
1057 arrays. Don't use result_append_space. Use caret position.
1058 (demangle_type): Emit CV qualifiers after underlying type. Adjust
ae7d06ad
NC
1059 call to demangle_array_type.
1060 (demangle_array_type): Add parameter to handle pointers to arrays.
74bcd529 1061
ae7d06ad 10622000-10-01 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
1063
1064 * splay-tree.c (splay_tree_insert): Fix formatting.
ae7d06ad
NC
1065
10662000-09-16 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
1067
1068 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
ae7d06ad
NC
1069
10702000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1071
1072 * splay-tree.c: #include <stdio.h>.
1073
10742000-09-14 Hans-Peter Nilsson <hp@axis.com>
1075
1076 * testsuite/demangle-expected: Add two tests for anonymous
1077 namespaces.
1078 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
1079
10802000-09-10 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
1081
1082 * splay-tree.c (splay_tree_predecessor): New function.
1083 (splay_tree_successor): Likewise.
ae7d06ad
NC
1084
10852000-09-10 Hans-Peter Nilsson <hp@axis.com>
1086
1087 * testsuite/demangle-expected: Add four tests for type_info
1088 mangling.
1089 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
1090 for a non-template non-qualified type_info function or node.
1091
10922000-09-08 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1093
1094 * cp-demangle.c: Fix copyright banner.
ae7d06ad
NC
1095
10962000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1097
1098 * md5.c: #include "ansidecl.h".
1099
11002000-09-06 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1101
1102 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
1103 (demangle_type): Handle substitution candidates correctly in the
1104 face of special substitutions.
ae7d06ad
NC
1105
11062000-09-05 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1107
1108 * cp-demangle.c (demangle_encoding): Rename variable.
1109 (demangle_name): Rename parameter. Handle return type
1110 suppression.
1111 (demangle_nested_name): Rename parameter.
1112 (demangle_prefix): Likewise. Change return type suppression.
1113 (demangle_unqualified_name): Add parameter. Flag constructors and
1114 conversion operators.
1115 (demangle_special_name): Fix comment.
1116 (demangle_type): Rename variable.
1117 (demangle_bare_function_type): Check for missing return type and
1118 parameter.
1119 (demangle_class_enum_type): Rename parameter.
1120 (demangle_discriminator): Fix misspelling in comment.
ae7d06ad
NC
1121
11222000-08-31 DJ Delorie <dj@redhat.com>
1123
1124 * configure.in (Cygwin): special case cygwin only when we're
1125 building cygwin, not when we're hosting cygwin.
1126
11272000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1128
1129 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
1130 <expression>.
ae7d06ad
NC
1131
11322000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1133
1134 * cp-demangle.c (demangle_type_ptr): Increment position past
1135 pointer and reference characters.
ae7d06ad
NC
1136
11372000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1138
1139 * cp-demangle.c (demangle_nv_offset): New function.
1140 (demangle_v_offset): Likewise.
1141 (demangle_call_offset): Likewise.
1142 (demangle_special_name): Update thunk demangling to comply with
1143 ABI changes.
ae7d06ad
NC
1144
11452000-09-03 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1146
1147 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
1148 (substitution_def): Remove template_parm_number.
1149 (NOT_TEMPLATE_PARM): Remove.
1150 (result_insert_string): New macro.
1151 (result_insert): Likewise.
1152 (result_insert_char): Likewise.
1153 (substitution_add): Remove last parameter. Don't store template
1154 parm number.
1155 (BFT_NO_RETURN_TYPE): Define as NULL.
1156 (demangle_encoding): Adjust call to demangle_bare_function_type.
1157 (demangle_name): Adjust substitution. Adjust call to
1158 substitution_add.
1159 (demangle_prefix): Adjust call to substitution_add.
1160 (demangle_identifier): Handle anonymous namespaces.
1161 (demangle_operator_name): Change demangling of vendor-extended
1162 operator to match ABI changes.
1163 (demangle_type_ptr): Change parameters. Make recursive. Handle
1164 substitutions here.
1165 (demangle_type): Adjust calls to demangle_template_param,
1166 substitution_add, and demangle_type_ptr. Fix substitution of
1167 templated types.
1168 (demangle_function_type): Change parameter to a pointer.
1169 (demangle_bare_function_type): Likewise. Adjust insertion point.
1170 (demangle_template_param): Remove last parameter.
1171 (demangle_expr_primary): Remove unused variable. Adjust call to
1172 demangle_template_param.
1173 (is_mangled_char): Accept `$' and `.'.
1174 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
1175 * dyn-string.c (dyn_string_insert_char): New function.
ae7d06ad
NC
1176
11772000-08-31 Hans-Peter Nilsson <hp@axis.com>
1178
1179 * testsuite/demangle-expected: Add nine tests for
1180 underscore-after-number followed by five tests for name-signature
1181 delimiter.
1182
11832000-08-28 Richard Henderson <rth@cygnus.com>
74bcd529
DD
1184
1185 * Makefile.in (md5.o): Depend on config.h.
ae7d06ad
NC
1186
11872000-08-28 Jason Merrill <jason@redhat.com>
1188
1189 * Makefile.in (REQUIRED_OFILES): Add md5.o.
1190 (CFILES): Add md5.c.
1191 * md5.c: New file.
1192
11932000-08-27 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1194
1195 * cp-demangle.c (demangle_name): Initialize template_p in local
1196 name case. Don't re-add substitutions as candidates.
1197 (demangle_nested_name): Use <unqualified-name>.
1198 (demangle_prefix): Likewise. Don't add template names as
1199 substitution candidates twice, or re-add a substitution or the
1200 last prefix component.
1201 (demangle_local_name): Adjust output format.
ae7d06ad
NC
1202
12032000-08-25 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1204
1205 * cp-demangle.c (result_add_separated_char): Change parameter to
1206 int.
1207 (substitution_add): Don't check for duplicates. Check if
1208 previously allocated size is zero.
1209 (demangle_name): Remove duplicate check for std substitution.
1210 Clear template flag appropriately.
1211 (demangle_prefix): Remove argument to demangle_substitution.
1212 Don't check that template flag is already set.
1213 (demangle_operator_name): Add pt operator.
1214 (demangle_type): Don't treat r as built-in type. Remove argument
1215 to demangle_substitution. Fix substitution candidate mechanics.
1216 Handle <template-template-parm>s. Improve comments.
1217 (demangle_template_param): Don't handle template arg lists here.
1218 (demangle_substitution): Remove parameter.
1219 (print_usage): Remove extra fprintf option.
ae7d06ad
NC
1220
12212000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
1222
1223 * libiberty/random.c (end_ptr): Revert previous change.
ae7d06ad
NC
1224
12252000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
1226
1227 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
1228 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
1229 * libiberty/random.c (end_ptr): Likewise.
ae7d06ad
NC
1230
12312000-08-23 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1232
1233 * cp-demangle.c (result_close_template_list): Remove function.
1234 (result_add_separated_char): New function.
1235 (result_open_template_list): New macro.
1236 (result_close_template_list): Likewise.
1237 (demangle_prefix): Don't set template_p if the
1238 prefix ends with a ctor name.
1239 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
1240 (demangle_type): Check for template args after substitution.
1241 (demangle_template_args): Use result_open_template_list.
d3e85005 1242
ae7d06ad 12432000-08-02 Zack Weinberg <zack@wolery.cumb.org>
64e3a659 1244
ae7d06ad 1245 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
050823ca 1246
ae7d06ad 12472000-07-26 Dave Pitts <dpitts@cozx.com>
d6e83f5f
JL
1248
1249 * config/mh-openedition.h: Added -DLE370 definition.
1250
a9f34fb6
JL
12512000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
1252
1253 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
1254 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
1255 Cast program to 'char *' in errmsg_arg assignment.
1256 (PWAIT_ERROR): Define.
1257 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
1258 to DJGPP's WIF* macros.
1259
90aaccd1 12602000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
ae7d06ad 1261 Jeff Law <law@cygnus.com>
90aaccd1 1262
ae7d06ad 1263 * getcwd.c: Include string.h, stdlib.h for prototypes
443519c1 1264
90aaccd1 1265 * Makefile.in (rename.o, waitpid.o): Depend on config.h
ae7d06ad
NC
1266 * rename.c: Include config.h, unistd.h
1267 * waitpid.c: Include config.h, sys/wait.h
90aaccd1 1268
6ef554e3
HPN
12692000-07-24 Hans-Peter Nilsson <hp@axis.com>
1270
1271 * cplus-dem.c (work_stuff_copy_to_from): New.
1272 (delete_non_B_K_work_stuff): New.
1273 (delete_work_stuff): New.
1274 (mop_up): Break out work_stuff partly destruction to
1275 delete_non_B_K_work_stuff.
1276 (iterate_demangle_function): New.
1277 (demangle_prefix): Call iterate_demangle_function instead of
1278 demangle_function_name. Leave handling of name-signature
1279 __-delimiters to iterate_demangle_function.
1280 (demangle_integral_value): Strip an optional
1281 following underscore cautiously. Handle negative numbers.
1282
ae7d06ad 12832000-07-24 Daniel Berlin <dberlin@redhat.com>
e8865c28 1284
ae7d06ad 1285 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
e8865c28
DB
1286 if (AUTO_DEMANGLING || GNU_DEMANGLING)
1287
ae7d06ad
NC
12882000-07-21 Alex Samuel <samuel@codesourcery.com>
1289
1290 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
1291 allocating ctor mangling.
1292 (demangle_array_type): Handle empty and non-constant array length.
1293
b1233257 12942000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
62df2065
JL
1295 Jeff Law <law@cygnus.com>
1296
1297 * configure.in (AC_CHECK_HEADERS): Add time.h.
1298 (AC_HEADER_TIME): Add check.
1299 * configure, config.in: Regenerate.
1300 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
1301
1302 * configure.in (AC_CHECK_HEADERS): Add limits.h.
1303 * configure, config.in: Regenerate.
1304 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
1305 * strtol.c, strtoul.c: #include "config.h". Portably #include
1306 <limits.h> and/or <sys/param.h>.
1307 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
b1233257 1308
7d3ffcaf
JL
1309 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
1310 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
1311 * configure, config.in: Regenerate.
1312 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
1313
b1233257
JL
1314 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
1315
ae7d06ad
NC
13162000-07-21 Mike Stump <mrs@wrs.com>
1317
1318 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
1319 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
1320
13212000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1322
1323 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
1324
1325 * setenv.c (setenv): Initialize variable `ep'.
1326
1327 * sigsetmask.c (abort): Prototype.
1328
1329 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
1330 __STDC__ for stdarg.h include.
1331 (int_vasprintf): Prototype.
1332 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
1333 definition. Cast `global_total_width' in comparison.
1334 (main): Prototype. Return a value.
1335
1336 * vfork.c (fork): Prototype.
1337
1338 * xexit.c: Include config.h.
1339
9adf30b2
JL
13402000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
1341
1342 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
1343 and print it with %u.
1344
2ed78d1b
HPN
13452000-07-17 Hans-Peter Nilsson <hp@axis.com>
1346
1347 * testsuite/regress-demangle (failed test): Show result and
1348 expected output.
1349
0473bdf7
AH
13502000-07-07 Andrew Haley <aph@cygnus.com>
1351
1352 * cplus-dem.c (main): fflush() after emitting last char before
1353 waiting for input.
1354
03d5f569
JM
13552000-06-28 Alex Samuel <samuel@codesourcery.com>
1356
1357 * cp-demangle.c (demangle_encoding): Accept no substitutions.
1358 (demangle_name): Handle <substitution> followed by
1359 <unqualified-template-name>.
1360 (demangle_type): Follow special substitutions with
1361 <class-enum-type>
1362 (demangle_subtitution): Set template_p for special substitutions.
1363 (main): Fix typos.
ae7d06ad 1364
03d5f569
JM
13652000-06-27 Alex Samuel <samuel@codesourcery.com>
1366
1367 * cp-demangle.c (demangle_special_name): Swap base and derived
1368 class when demangling construction vtables.
1369
13702000-06-21 Alex Samuel <samuel@codesourcery.com>
1371
1372 * cp-demangle.c: Don't include ctype.h.
1373 (IS_DIGIT): New macro.
1374 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
1375 instead of isdigit and isalpanum.
1376 (demangling_def): Make name and next const pointers.
1377 (STATUS_ALLOCATION_FAILED): New status code.
1378 (dyn_string_append_space): Handle failure in
1379 dyn_string_append_char.
1380 (int_to_dyn_string): Likewise. Change return value to status_t.
1381 (string_list_new): Handle failure of dyn_string_init.
1382 (result_close_template_list): Change return type to status_t.
1383 Handle failure in dyn_string_append.
1384 (result_push): Change return value to status_t. Handle failure in
1385 string_list_new. Handle failure of result_push throughout.
1386 (substitution_add): Change return value to status_t. Handle
1387 dyn_string failures. Handle failure of substitution_add
1388 throughout.
1389 (template_arg_list_new): Return NULL on allocation failure.
1390 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
1391 Handle error result throughout.
1392 (result_append): Likewise.
1393 (result_append_char): Likewise.
1394 (result_append_space): Likewise.
1395 (demangling_new): Make argument a const pointer. Handle
1396 allocation failures.
1397 (demangle_template_args): Handle failure in template_arg_list_new
1398 and result_close_template_list.
1399 (demangle_discriminator): Return if int_to_dyn_string fails.
1400 (cp_demangle): Likewise.
1401 (cp_demangle_type): New function.
1402 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
1403 memory allocation failure.
1404 (main): Likewise.
1405 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
1406 IN_LIBGCC2.
1407 (dyn_string_init): Change return value to int. Handle
1408 RETURN_ON_ALLOCATION_FAILURE case.
1409 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
1410 (dyn_string_release): Delete the dyn_string.
1411 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
1412 (dyn_string_copy): Change return type to int.
1413 (dyn_string_copy_cstr): Likewise.
1414 (dyn_string_prepend): Likewise.
1415 (dyn_string_prepend_cstr): Likewise.
1416 (dyn_string_insert): Likewise.
1417 (dyn_string_insert_cstr): Likewise.
1418 (dyn_string_append): Likewise.
1419 (dyn_string_append_cstr): Likewise.
1420 (dyn_string_append_char): Likewise.
1421 (dyn_string_substring): Likewise.
ae7d06ad 1422
eb383413 14232000-06-09 Zack Weinberg <zack@wolery.cumb.org>
9cc28cc8 1424
eb383413
L
1425 * cp-demangle.c (demangle_operator_name): Add spaces before
1426 names beginning with a letter: delete, delete[], new, new[],
1427 sizeof.
1428 (demangle_special_name): Handle TF <type> and TJ <type>.
9cc28cc8 1429
eb383413
L
1430Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
1431
1432 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
1433
1434Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
1435
1436 * cp-demangle.c (stdio.h): File included unconditionaly.
1437 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
1438 * dyn-string.c (stdio.h): File included.
1439 * partition.c (partition_print): No `&' needed to take the address of
1440 a function.
1441
14422000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1443
1444 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
ae7d06ad 1445
eb383413
L
1446 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
1447
1448 * cp-demangle.c (demangle_char): Change parameter from char to int.
1449 (demangle_expression, demangle_expr_primary): Remove extra
1450 semi-colon in prototype.
1451
1452 * dyn-string.c (dyn_string_append_char): Change parameter from
1453 char to int.
1454
1455 * memcmp.c (memcmp): Constify.
1456
1457 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
1458 __extension__.
1459
1460 * partition.c (elem_compare): Prototype. Don't cast away
1461 const-ness.
1462
1463 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
ae7d06ad 1464
eb383413
L
14652000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1466
1467 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
1468
1469 * cp-demangle.c: Include demangle.h.
1470 (template_arg_list_new): DeANSIfy.
1471 (cp_demangle): Make static and add prototype.
1472 (operator_code, operators): Constify.
1473 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
1474
14752000-06-05 Alex Samuel <samuel@codesourcery.com>
1476
1477 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
1478 unsigned char.
1479 (demangle_unqualified_name): Likewise.
1480 (demangle_number_literally): Likewise.
1481 (demangle_type): Likewise.
1482 (demangle_substitution): Likewise.
1483 (is_mangled_char): Likewise, for isalnum.
1484
14852000-06-04 Alex Samuel <samuel@codesourcery.com>
1486
1487 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
1488 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
1489 (cp-demangle.o): New dependency.
1490 (dyn-string.o): Likewise.
1491
1492 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
1493
1494 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
1495 demangler.
1496 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
1497 demangling mode.
1498 (gnu_new_abi_symbol_characters): New function.
1499 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
1500 file.
1501 * cp-demangle.c: New file.
ae7d06ad 1502
f03aa80d
AC
1503Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
1504
1505 * floatformat.c: Add name to each floatformat field.
1506
77bfb694
JL
1507Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
1508
1509 * Makefile.in (objalloc.o): Depend on config.h
1510
5c82d20a
ZW
15112000-05-29 Zack Weinberg <zack@wolery.cumb.org>
1512
eb383413 1513 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
5c82d20a
ZW
1514 if HAVE_STRING_H.
1515 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
1516 * objalloc.c: Include config.h. Include stdlib.h and don't
1517 declare malloc or free if HAVE_STDLIB_H.
1518 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
1519 else declare malloc without prototype. Include string.h if
1520 HAVE_STRING_H, else declare memset without prototype. Don't
1521 include stddef.h.
1522
eb383413
L
15232000-05-23 Mike Stump <mrs@wrs.com>
1524
1525 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
8aefe91a 1526 -j3.
eb383413
L
1527
15282000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
1529
1530 * xmalloc.c: Include config.h for HAVE_SBRK definition.
1531
15322000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
1533
ae7d06ad 1534 * hashtab.c (hash_pointer): Delete low-order bits which are
eb383413
L
1535 probably zero, also eliminate a warning on alpha.
1536
15372000-05-15 David Edelsohn <edelsohn@gnu.org>
1538
1539 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
1540 on $(enable_shared).
1541
15422000-05-10 Jakub Jelinek <jakub@redhat.com>
1543
1544 * config.table: Use mh-sparcpic for sparc*-*-*.
1545
15462000-05-08 Nick Clifton <nickc@cygnus.com>
1547
1548 * Makefile.in (CFILES): Add strncmp.c.
1549 (NEEDED): Add strncmp.
1550
15512000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5c82d20a 1552
eb383413
L
1553 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
1554 Cast the arguments to `islower' to `unsigned char'.
1555 (print_demangler_list): Prototype.
1556
1557Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
1558
1559 * sort.c (UCHAR_MAX): Provide fallback definition.
1560
15612000-04-29 Alexandre Oliva <aoliva@cygnus.com>
010c70e1
AO
1562
1563 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
1564 SUBDIRS.
1565
eb383413
L
15662000-04-28 Kenneth Block <block@zk3.dec.com>
1567 Jason Merrill <jason@casey.cygnus.com>
1568
ae7d06ad
NC
1569 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
1570 (cplus_demangle_set_style): New function for setting style.
1571 (cplus_demangle_name_to_style): New function to translate name.
eb383413
L
1572
15732000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1574
1575 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
1576
1577 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
1578 (libiberty_AC_FUNC_STRNCMP): Invoke.
1579
1580 * strncmp.c: New file.
1581
1582Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
1583
1584 * hashtab.c (htab_expand): Add prototype.
1585 (find_empty_slot_for_expand): Likewise.
1586
15872000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1588
1589 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
1590 match prototype.
1591 (htab_expand): Cast the return value of xcalloc.
1592
15932000-04-24 Mark Mitchell <mark@codesourcery.com>
1594
1595 * hashtab.c (hash_pointer): New function.
1596 (eq_pointer): Likewise.
1597 (htab_hash_pointer): New variable.
1598 (htab_eq_pointer): Likewise.
1599
16002000-04-23 Mark Mitchell <mark@codesourcery.com>
1601
1602 * sort.c (sort_pointers): Fix endianness bugs.
1603
1604 * sort.c: New file.
1605 * Makefile.in (CFILES): Add sort.c
1606 (REQUIRED_OFILES): Add sort.o.
1607 (sort.o): New target.
1608
19be4303
JL
16092000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1610
1611 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
1612 4.3BSD systems.
1613
eb383413
L
1614Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1615
1616 * hashtab.c: Various minor cleanups.
1617 (htab_find_slot_with_hash): INSERT is now enum insert_option.
1618 (htab_find_slot): Likewise.
1619
16202000-04-16 Dave Pitts <dpitts@cozx.com>
1621
1622 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
ae7d06ad 1623
afe36a78
RH
16242000-04-05 Richard Henderson <rth@cygnus.com>
1625
1626 * splay-tree.c (splay_tree_remove): New.
1627
eb383413
L
16282000-03-30 Mark Mitchell <mark@codesourcery.com>
1629
1630 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
1631 codes.
1632 (htab_find_with_hash): Likewise.
1633 (htab_find_slot_with_hash): Likewise.
ae7d06ad 1634
eb383413
L
16352000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1636
1637 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
1638 unless it will be used. Rearrange loop for better
1639 optimization.
1640 (higher_prime_number): Add static prototype.
1641
b4fe2683
JM
1642Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
1643
1644 * Makefile.in (partition.o): Depend on config.h
1645
16462000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
1647
1648 * hashtab.c (find_empty_slot_for_expand): New function.
1649 (htab_expand): Use it instead of htab_find_slot.
1650 (htab_find_with_hash): Renamed from htab_find; now accepts extra
1651 argument HASH.
1652 (htab_find_slot_with_hash): Likewise for htab_find_slot.
1653 (htab_find): New wrapper function.
1654 (htab_find_slot): Likewise.
1655 (htab_traverse): Pass slot, not entry, to called function.
1656
16572000-03-09 Alex Samuel <samuel@codesourcery.com>
1658
1659 * Makefile.in (CFILES): Add partition.c.
1660 (REQUIRED_OFILES): Add partition.o.
1661 (partition.o): New rule.
1662 * partition.c: New file.
ae7d06ad 1663
b4fe2683
JM
16642000-03-09 Zack Weinberg <zack@wolery.cumb.org>
1665
1666 * hashtab.c (htab_create): Set del_f.
1667 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
1668 Use it.
1669
16702000-03-08 Zack Weinberg <zack@wolery.cumb.org>
1671
1672 * hashtab.c: Remove debugging variables (all_searches,
1673 all_collisions, all_expansions). Delete
1674 all_hash_table_collisions.
1675 (create_hash_table, delete_hash_table, empty_hash_table,
1676 find_hash_table_entry, remove_element_from_hash_table_entry,
1677 clear_hash_table_slot, traverse_hash_table, hash_table_size,
1678 hash_table_elements_number, hash_table_collisions): Rename to:
1679 htab_create, htab_delete, htab_empty, htab_find_slot,
1680 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
1681 htab_elements, htab_collisions.
1682 (htab_find): New function, handles common case where you don't
1683 plan to add or delete an entry.
1684 (htab_expand): Don't create a whole new table, just a new
1685 entry vector.
1686 (htab_find_slot): Simplify logic.
1687
08372f14
ILT
16881999-08-03 Ian Lance Taylor <ian@zembu.com>
1689
1690 * floatformat.c: Add casts to avoid signed/unsigned warnings.
1691 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
1692
1693 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
1694 $(TARGETLIB)n so it works on MSDOS.
1695 (install_to_tooldir): Likewise.
1696
9c8ac5a9
ILT
16971999-07-21 Ian Lance Taylor <ian@zembu.com>
1698
1699 From Mark Elbrecht:
1700 * makefile.dos: Remove; obsolete.
8f36e47c 1701 * configure.bat: Remove; obsolete.
9c8ac5a9 1702
0c0a36a4
ILT
17031999-07-11 Ian Lance Taylor <ian@zembu.com>
1704
1705 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1706 warning.
1707
17082000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1709
1710 * pexecute.c: Conditionally include string.h.
b4fe2683 1711 (fix_argv): Handle embedded whitespace in args for Mingw32.
0c0a36a4
ILT
1712
17132000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1714
1715 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
1716 we're using gcc.
1717
1718 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
1719
17201999-12-27 Geoff Keating <geoffk@cygnus.com>
1721
1722 * vasprintf.c (int_vasprintf): Don't re-read the format character
1723 as this mishandles strings like '%%s'.
1724
17251999-12-05 Mark Mitchell <mark@codesourcery.com>
1726
1727 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
1728 rather than struct splay_tree_node.
1729 (splay_tree_insert): Use struct splay_tree_s rather than struct
1730 splay_tree.
1731
1732Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
1733
1734 * hashtab.c (sys/types.h): File included.
1735
17361999-11-22 Jason Merrill <jason@casey.cygnus.com>
1737
1738 * strtoul.c, strtol.c, random.c: Remove advertising clause from
1739 BSD license, pursuant with
1740
1741 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
1742
1743Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
1744
1745 * hashtab.c: Include stdio.h.
1746
1747Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
1748
1749 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
1750
1751Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
1752
1753 * xstrdup (sys/types.h): Include this file.
1754
17551999-10-28 Nathan Sidwell <nathan@acm.org>
1756
1757 * Makefile.in (SUBDIRS): New macro.
1758 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
1759 avoid multiple subdirectory cleaning.
1760 (*-subdir): Use SUBDIRS.
1761
17621999-10-25 Jim Kingdon <http://developer.redhat.com/>
1763
1764 * cplus-dem.c: Move declarations of standard_symbol_characters and
1765 hp_symbol_characters inside #ifdef MAIN to avoid compiler
1766 warnings.
1767
17681999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
1769
1770 * hashtab.c (find_hash_table_entry): When returning a
1771 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
1772 (clear_hash_table_slot): New function which deletes an entry
1773 by its position in the table, not its value.
1774 (traverse_hash_table): New function which calls a hook
1775 function for every live entry in the table.
1776
17771999-10-19 Mark Mitchell <mark@codesourcery.com>
1778
1779 * cplus-dem.c (INTBUF_SIZE): New macro.
1780 (string_append_template_idx): New function.
1781 (demangle_expression): Likewise.
1782 (demangle_integral_value): Use it.
1783 (demangle_real_value): New function, split out from ...
1784 (demangle_template_value_parm): ... here. Use
1785 string_append_template_idx. Use demangle_real_value.
1786 (demangle_template): Use string_append_template_idx.
1787 (demangle_qualified): Use consume_count_with_underscores.
1788 (get_count): Tweak formatting.
1789 (do_type): Use string_append_template_idx.
b4fe2683 1790
0c0a36a4
ILT
17911999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1792
1793 * calloc.c: Add a public domain notice.
1794
1795Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
1796
1797 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
1798
1799Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
1800
1801 * Makefile.in (CFILES): Add hashtab.c
1802 (REQUIRED_OFILES): Add hashtab.o
1803 (hashtab.o): Add dependencies.
1804 * hashtab.c: New file
1805
1806Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
1807
1808 * basename.c (DIR_SEPARATOR): New macro.
1809 (DIR_SEPARATOR_2): Likewise.
1810 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
1811 (IS_DIR_SEPARATOR): Likewise.
1812 (main): Handle MSDOS style pathname.
1813
18141999-10-11 Mark Mitchell <mark@codesourcery.com>
1815
1816 * cplus-dem.c (do_type): Handle pointer to member types whose
1817 enclosing classes have namespace scope.
1818
1819Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
1820
1821 * config.table: Provide a backup shell for executing move-if-change.
1822
18231999-10-02 Mark Mitchell <mark@codesourcery.com>
1824
1825 * xmalloc.c (xmalloc): Fix spelling error.
1826 (xcalloc, xrealloc): Likewise.
1827
18281999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1829
1830 * cplus-dem.c (fancy_abort, demangle_integral_value,
1831 demangle_arm_hp_template, recursively_demangle,
1832 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
1833 (program_name, program_version, fatal): Constify a char*.
1834 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
1835 (main): Call return, not exit.
1836
18371999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1838
1839 * choose-temp.c: Remove obsolete comment about gcc.
1840 (make_temp_file): Constify a char*.
1841
1842Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1843
1844 * xmemdup.c: Include sys/types.h.
1845
18461999-09-07 Jeff Garzik <jgarzik@pobox.com>
1847
1848 * xmemdup.c: New xmemdup function.
1849 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
1850
1851Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
1852
b4fe2683 1853 * config.table: Add openedition target.
0c0a36a4
ILT
1854 * config/mh-openedition: New file.
1855
1856Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
1857
1858 * pexecute.c (pexecute): Fill in temp_base when needed.
1859
18601999-08-31 Richard Henderson <rth@cygnus.com>
1861
1862 * getpwd.c: Check HAVE_GETCWD before defining it away.
1863
18641999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1865
1866 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
1867 (REQUIRED_OFILES): Add getpwd.o.
1868 (getpwd.o): Add target.
1869
1870 * configure.in (AC_PREREQ): Bump to 2.13.
1871 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
1872
1873 * getpwd.c: New file, moved here from gcc.
1874
18751999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1876
1877 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
1878 comparing against a signed quantity.
1879 (arm_special): Likewise.
1880 (demangle_fund_type): Likewise.
1881 (do_hpacc_template_const_value): Mark parameter `work' with
b4fe2683 1882 ATTRIBUTE_UNUSED.
0c0a36a4
ILT
1883 (main): Constify variable `valid_symbols'.
1884
1885Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
1886
1887 * strtoul.c (strtoul): Add parentheses around && within ||.
1888
1889Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
1890
1891 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
1892 libdir, libsubdir and tooldir.
1893
18941999-08-01 Mark Mitchell <mark@codesourcery.com>
1895
1896 * splay-tree.c (splay_tree_insert): Return the new node.
1897
35ca97ea
RH
18981999-07-14 Richard Henderson <rth@cygnus.com>
1899
b4fe2683 1900 * argv.c: Include stdlib.h and string.h instead of
35ca97ea
RH
1901 prototyping directly.
1902 * choose-temp.c: Conditionally include string.h.
1903
0c0a36a4
ILT
19041999-07-12 Jason Merrill <jason@yorick.cygnus.com>
1905
1906 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
1907
af32ff69
ILT
19081999-07-11 Ian Lance Taylor <ian@zembu.com>
1909
1910 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1911 warning.
1912
0c0a36a4
ILT
19131999-07-07 Jason Merrill <jason@yorick.cygnus.com>
1914
1915 * Makefile.in (needed-list): Only include stuff we actually need
1916 for libstdc++.
1917
19181999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1919
1920 * configure.in (checkfuncs): Add gettimeofday.
1921 * config.in, configure: Regenerated.
1922
1923Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
1924
1925 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
1926 the test fails.
1927 * configure: Regenerate.
1928
19291999-06-10 Mike Stump <mrs@wrs.com>
1930
1931 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
1932 parallel builds.
1933
19341999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1935
1936 * putenv.c: Include ansidecl.h to define `const'.
1937 * setenv.c: Likewise.
1938
1939Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
1940
1941 * Makefile.in (CFILES): Add putenv.c and setenv.c.
1942 * configure.in (funcs): Add putenv and setenv.
1943 (AC_CHECK_FUNCS): Check for putenv and setenv.
1944 * configure: Rebuilt.
1945 * putenv.c setenv.c: New files.
1946
1947 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
1948 bytes of space using malloc.
1949
1950Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
1951
1952 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
1953 the *mangled pointer beyond the end of the string. Clean up code to
1954 match prevailing coding style.
1955
19561999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1957
1958 * tmpnam.c (L_tmpnam): Fix typo.
1959
1960Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
1961
1962 * cplus-dem.c (standard_symbol_characters): Renamed from
1963 standard_symbol_alphabet. No longer modify TABLE.
1964 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
1965 modify TABLE.
1966 (main): Corresponding changes. Use strchr to determine if a
1967 character is valid.
1968
e9868447
JB
19691999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
1970
1971 * cplus-dem.c (main): Use table lookup to distinguish identifier
1972 characters from non-identifier characters.
1973 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
1974
33fbbfbc
RH
1975Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
1976
1977 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
1978 * getruntime.c: Only attempt to include sys/resource.h and
1979 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
1980 are defined.
1981
0c0a36a4
ILT
1982Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
1983
1984 * configure.in (alloca detection): Handle alloca directly for interix.
1985 * configure: Rebuilt.
1986
1987Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
1988
1989 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
1990
252b5132
RH
19911999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
1992
1993 Fix from Dale Hawkins:
b4fe2683 1994 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
252b5132
RH
1995 reallocated properly if we use it again.
1996
1997 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
1998 stricter about syntax. Always null-terminate string.
1999
c1687039
ILT
2000Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
2001
2002 * configure.in (checkfuncs): Check for sbrk.
2003 * config.in: Rebuilt.
2004 * configure: Likewise.
2005 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
2006
0c0a36a4
ILT
20071999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
2008
2009 Fix from Marcus Daniels:
2010 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
2011 identifier looking for another underscore.
2012
2013Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
2014
2015 * pexecute.c: Change all references to __UWIN__ to _UWIN.
2016 * xmalloc.c: Likewise.
2017 (xcalloc): UWIN has sbrk.
2018 (xrealloc): Fix guard macro.
2019
252b5132
RH
20201999-04-11 Richard Henderson <rth@cygnus.com>
2021
2022 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
2023 or <alloca.h>.
2024 * clock.c (GNU_HZ): New definition.
2025 (clock): Use it.
2026 * getruntime.c: Likewise.
2027
2028 * config.table: Use mh-beos.
2029 * config/mh-beos: New file.
2030
0c0a36a4
ILT
20311999-04-11 Mark Mitchell <mark@codesourcery.com>
2032
2033 * cplus-dem.c (demangle_template_value_parm): Handle
2034 pointers-to-members.
2035 (do_type): Handle template parameters as qualifiers.
2036
252b5132
RH
20371999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
2038
2039 * cplus-dem.c: Attempt to handle overflows in counts with some
2040 semblance of grace.
2041 (consume_count): Detect overflows. Return -1 to indicate errors,
2042 instead of zero.
2043 (demangle_template_value_parm, demangle_template): Handle change
2044 to consume_count's return convention.
2045
0c0a36a4
ILT
20461999-04-05 Tom Tromey <tromey@cygnus.com>
2047
2048 * testsuite/regress-demangle: New file.
2049 * testsuite/demangle-expected: New file.
252b5132 2050
0c0a36a4
ILT
2051 * Makefile.in (all, check, installcheck, info, install-info,
2052 clean-info, dvi, install, etags, tags, mostlyclean, clean,
2053 distclean, maintainer-clean, realclean): Depend on corresponding
2054 `-subdir' target.
2055 (all-subdir check-subdir installcheck-subdir info-subdir
2056 install-info-subdir clean-info-subdir dvi-subdir
2057 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
2058 distclean-subdir maintainer-clean-subdir): New target.
2059 * testsuite/Makefile.in: New file.
2060 * configure: Rebuilt.
2061 * configure.in: Create testsuite/Makefile.
252b5132
RH
2062
20631999-04-02 Mark Mitchell <mark@codesourcery.com>
2064
2065 * splay-tree.h (splay_tree_compare_pointers): Define.
2066
20671999-03-30 Mark Mitchell <mark@codesourcery.com>
2068
2069 * splay-tree.c (splay_tree_compare_ints): Define.
2070
20711999-03-30 Tom Tromey <tromey@cygnus.com>
2072
2073 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
2074 don't advance input pointer.
2075 (demangle_class_name): If consume_count didn't find a count, do
2076 nothing. Don't bother with `strlen' sanity check; consume_count
2077 does it for us.
2078
20791999-03-16 Stan Shebs <shebs@andros.cygnus.com>
2080
2081 From Art Haas <ahaas@neosoft.com>:
2082 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
2083 when doing arm or hp style.
2084 (demangle_nested_args): Decr forgetting_types field when done.
b4fe2683 2085
252b5132
RH
2086Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
2087
2088 * pexecute.c (__CYGWIN32__): Rename to
2089 (__CYGWIN__): this.
2090 * xmalloc.c: Likewise.
2091
2092 Changes to support i386-pc-uwin.
2093 * configure.in (*-*-uwin*): Workaround for vfork bug.
2094 * configure: Regenerate.
2095 * pexecute.c (pexecute): Be like standard Unix.
2096 (pwait): Likewise.
2097 * xmalloc.c (first_break): Define.
2098 (xmalloc_set_program_name): Use.
2099 (xmalloc): Use.
2100
2101Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2102
2103 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
2104
2105Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
2106
2107 * config.table: Check cygwin*, not cygwin32*.
2108
2109Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
2110
2111 * Makefile.in: Change mkstemp -> mkstemps.
2112
2113Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
2114
2115 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
2116 * configure.in (funcs): Check for and conditionally add mkstemps to
2117 the list of functions libiberty will provide.
2118 * configure: Rebuilt.
b4fe2683 2119
252b5132
RH
2120Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
2121
b4fe2683 2122 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
252b5132
RH
2123 platforms that don't have HZ.
2124 * getruntime.c (HZ): Likewise.
2125
2126Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
2127
2128 * Makefile.in (xstrdup.o): Depend on config.h.
2129
2130Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
2131
2132 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
2133 freeing it.
2134
2135Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2136
2137 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
2138
2139Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2140
2141 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
2142 splay-tree.o.
2143
21441999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
2145
2146 * configure.in: Require autoconf 2.12.1 or higher.
2147
21481998-12-30 Michael Meissner <meissner@cygnus.com>
2149
2150 * random.c (NULL): Don't redefine NULL if it is already defined.
2151
2152Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2153
2154 * argv.c (buildargv): Cast the result of alloca in assignment.
2155
2156 * choose-temp.c: Include stdlib.h.
2157
2158 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
8aefe91a
DD
2159 (snarf_numeric_literal): Constify first parameter.
2160 (code_for_qualifier): Avoid a gcc extension, make the parameter an
2161 int, not a char.
252b5132
RH
2162 (demangle_qualifier): Likewise.
2163 (demangle_signature): Cast the argument of a ctype function to
2164 unsigned char.
2165 (arm_pt): Add parens around assignment used as truth value.
2166 (demangle_arm_hp_template): Constify variable `args'.
2167 (do_hpacc_template_const_value): Cast the argument of a ctype
2168 function to unsigned char.
2169 (do_hpacc_template_literal): Remove unused variable `i'.
2170 (snarf_numeric_literal): Constify parameter `args'.
2171 Cast the argument of a ctype function to unsigned char.
2172
2173 * floatformat.c (floatformat_to_double): Add explicit braces to
8aefe91a 2174 avoid ambiguous `else'.
252b5132
RH
2175
2176 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
8aefe91a
DD
2177 `cstart' and `cend' to unsigned char. Cast the argument of macro
2178 `FOLD', which uses ctype functions, to unsigned char.
252b5132
RH
2179
2180 * objalloc.c (free): Add prototype.
2181
2182Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
2183
2184 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
2185
2186Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
2187
2188 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
8aefe91a 2189 doesn't exist.
252b5132 2190 (do_hpacc_template_literal): remove unused variable `i'.
b4fe2683 2191
252b5132
RH
2192Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2193
2194 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
2195 bumping the pointer we read from. Also prepend these codes,
2196 as we do in other places.
2197
21981998-12-18 Nick Clifton <nickc@cygnus.com>
2199
2200 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
2201 'const char *' in order to match its usage when calling siblings.
2202 (snarf_numeric_literal): Make first arg 'const char **' in order
2203 to match usage.
2204
2205Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2206
2207 * choose-temp.c: Don't check IN_GCC anymore.
2208
2209 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
2210 * memchr.c (memchr): Likewise.
2211 * memcpy.c (memcpy): Likewise.
2212 * memmove.c (memmove): Likewise.
2213
2214 * mkstemp.c: Don't check IN_GCC anymore.
2215 * pexecute.c: Likewise.
2216 * splay-tree.c: Likewise.
2217
2218 * strchr.c (strchr): Use `const', not `CONST'.
2219 * strrchr.c (strrchr): Likewise.
2220 * strtol.c (strtol): Likewise.
2221 * strtoul.c (strtoul): Likewise.
2222
2223Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
2224 Elena Zannoni <ezannoni@cygnus.com>
2225 Stan Shebs <shebs@cygnus.com>
2226 Edith Epstein <eepstein@cygnus.com>
2227 Andres MacLeod <amacleod@cygnus.com>
2228 Satish Pai <pai@apollo.hp.com>
2229
2230 * HP aCC demangling support.
2231 * cplus-dem.c
2232 (main): Remove default to HP style demangling, set to EDG
8aefe91a
DD
2233 demangling correctly when -edg specified; set the demangling style
2234 when user specifies 'edg'. Set strip_underscore to
2235 prepends_underscore, if not HPUXHPPA. Set
2236 current_demangling_style to hp_demangling if HPUXHPPA. Set
2237 current demangling style correctly if the switch is hp. Read
2238 label correctly also in the HP style case.
252b5132 2239 (work_stuff): add temp_start field; add field for volatile member
8aefe91a 2240 function.
252b5132 2241 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
8aefe91a 2242 style for this case is the same as ARM.
252b5132
RH
2243 (demangle_args): handle EDG_DEMANGLING style; support HP style.
2244 (demangle_arm_hp_template): new function. (It was
8aefe91a
DD
2245 demangle_arm_pt.); check and set value of temp_start field in
2246 multiple places. Also, when ceching for end of template args,
2247 check to see if at end of static member of template class.
252b5132 2248 (demangle_class): new local variable : save_class_name_end Don't
8aefe91a 2249 include template args in string defining class.
252b5132
RH
2250 (demangle_class_name): use demangel_arm_hp_template.
2251 (demangle_function_name): handle case where demangling style is
8aefe91a
DD
2252 HP_DEMANGLING and currently point at an 'X' in the mangled name.
2253 Handle EDG_DEMANGLING style. Handle constructor and destructor
2254 ops for HP style.
252b5132 2255 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
8aefe91a
DD
2256 styles. global destructor and constructor for HP style are same
2257 as for ARM style. Same for local variables.
252b5132
RH
2258 (demangle_qualified): handle EDG_DEMANGLING style.
2259 (demangle_signature): add case for volatile member function. For
8aefe91a
DD
2260 cases '1' - '9' : initialize the temp_start field to -1 and handle
2261 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
2262 and AUTO_DEMANGLING styles. If expecting a function and managed
2263 to demangle the funct args, then handle the LUCID_DEMANGLING,
2264 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
2265 class name after "Lnnn_ in HP style case. HP style too needs to
2266 forget types. _nnn is OK for HP style, so don't report failure.
252b5132 2267 (do_hpacc_template_const_value): new function. Handle template's
8aefe91a 2268 value param for HP/aCC.
252b5132 2269 (do_hpacc_template_literal): new function. Handle a template's
8aefe91a 2270 literal parameter for HP aCC.
252b5132
RH
2271 (recursively_demangle): new function
2272 (snarf_numeric_literal): new function.
2273 (usage): add 'edg' to the list of demangling styles; add hp switch
8aefe91a 2274 to message.
252b5132
RH
2275
2276Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
2277
2278 * pexecute.c: Remove obsolete ifdefed cygwin code.
2279
2280Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2281
2282 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
2283 * cplus-dem.c: Likewise. Conform to libiberty.h.
2284 * pexecute.c: Likewise.
2285 * splay-tree.c: Likewise.
2286
22871998-11-25 Mike Stump <mrs@wrs.com>
2288
2289 * Makefile.in (splay-tree.o): Add config.h dependency.
2290
2291Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2292
2293 * configure.in: Use AC_PREREQ(2.12.1).
2294
22951998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
2296
b4fe2683 2297 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
252b5132
RH
2298
2299Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
2300
2301 * mpw.c (mpw_access): Add missing parens.
2302
2303Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2304
2305 * configure.in: Call AC_HEADER_SYS_WAIT.
2306
2307 * pexecute.c: Include sys/wait.h when !IN_GCC.
2308
2309Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
2310
2311 * pexecute.c: revert back to checking old Cygwin
2312 preprocessor symbol until some time has passed.
2313
2314Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
2315
2316 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
2317 since it will now support similar constructs.
2318
2319Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2320
2321 * configure.in: Check for calloc.
2322
2323 * calloc.c: New file.
2324
2325 * xmalloc.c (xcalloc): New function.
2326
2327Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2328
2329 *cplus-dem.c (demangle_prefix): Use the last "__"
2330 in the mangled name when looking for the signature. This allows
2331 template names to begin with "__".
2332
23331998-11-08 Mark Mitchell <mark@markmitchell.com>
2334
2335 * cplus-dem.c (type_kind_t): Add tk_reference.
2336 (demangle_template_value_parm): Handle it.
2337 (do_type): Use it for references, instead of tk_pointer.
2338
2339 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
2340 not internal_cplus_demangle.
2341
2342Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2343
2344 * choose-temp.c: Don't include gansidecl.h.
2345 * mkstemp.c: Likewise.
2346 * pexecute.c: Likewise.
2347
2348Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
2349
b4fe2683
JM
2350 * configure.in: detect cygwin* instead of cygwin32*
2351 * configure: regenerate
252b5132
RH
2352
2353Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2354
2355 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
8aefe91a
DD
2356 whether to include config.h. Possibly include unistd.h in the
2357 !IN_GCC case. Define VFORK_STRING as a printable function call
2358 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
2359 defined, include vfork.h. If VMS is defined, define vfork()
2360 appropriately. Remove vfork check on USG, we're using autoconf.
2361 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
2362 locally what string to use.
252b5132
RH
2363
23641998-10-26 Mark Mitchell <mark@markmitchell.com>
2365
2366 * splay-tree.c: Tweak include directives to make sure declarations of
2367 xmalloc and free are available.
2368
23691998-10-25 Mark Mitchell <mark@markmitchell.com>
2370
2371 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
2372 anonymous namespaces.
2373
23741998-10-23 Mark Mitchell <mark@markmitchell.com>
2375
2376 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
2377 with type_quals.
2378 (TYPE_UNQUALIFIED): New macro.
2379 (TYPE_QUAL_CONST): Likewise.
2380 (TYPE_QUAL_VOLATILE): Likewise.
2381 (TYPE_QUAL_RESTRICT): Likewise.
2382 (code_for_qualifier): New function.
2383 (qualifier_string): Likewise.
2384 (demangle_qualifier): Likewise.
2385 (internal_cplus_demangle): Use them.
2386 (demangle_signature): Likewise.
2387 (demangle_template_value_parm): Likewise.
2388 (do_type): Likewise.
2389 (demangle_fund_type)): Likewise.
2390
2391Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2392
2393 * splay-tree.c (splay_tree_foreach_helper): Make definition static
2394 to match prototype.
2395
23961998-10-21 Mark Mitchell <mark@markmitchell.com>
2397
2398 * splay-tree.c: New file.
2399 * Makefile.in (CFILES): Add it.
2400 (REQUIRED_OFILES): Likewise.
2401 (splay-tree.o): Add dependencies.
2402
2403Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2404
2405 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
2406 range of 'K' index.
2407
2408Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2409
2410 * choose-temp.c: Prototype mkstemps() when IN_GCC.
2411
2412 * cplus-dem.c (consume_count): Cast argument of ctype macro to
2413 `unsigned char'.
2414 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
2415 comparing against one.
2416 (cplus_mangle_opname): Likewise.
2417 (demangle_integral_value): Cast argument of ctype macro to
2418 `unsigned char'.
2419 (demangle_template_value_parm): Likewise.
2420 (demangle_template): Initialize variable `bindex'. Cast the
2421 result of `strlen' to (int) when comparing against one. Remove
2422 unused variable `start_of_value_parm'.
2423 (demangle_class_name): Cast the result of `strlen' to (int) when
2424 comparing against one.
2425 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
2426 (gnu_special): Likewise. Cast the result of `strlen' to (int)
2427 when comparing against one.
2428 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
2429 (get_count): Likewise.
2430 (do_type): Likewise. Cast the result of `strlen' to (int) when
2431 comparing against one.
2432 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
2433 (demangle_function_name): Cast the result of `strlen' to (int)
2434 when comparing against one.
2435
2436 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
2437 comparing against one.
2438
2439Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
2440
b4fe2683
JM
2441 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
2442 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
2443 * config.in, configure: Rebuilt.
252b5132
RH
2444
2445 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
2446 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
2447 * config.in, configure: Rebuilt.
2448
2449Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
2450
b4fe2683 2451 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
252b5132
RH
2452
2453Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
2454
2455 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
2456
2457Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
2458
2459 * Merge egcs & devo libiberty.
2460
2461