* frv-tdep.c (frv_frame_this_id): Eliminate call to
[deliverable/binutils-gdb.git] / libiberty / ChangeLog
CommitLineData
8fe0d347
DD
12003-11-20 Ian Lance Taylor <ian@wasabisystems.com>
2
3 * testsuite/demangle-expected: Minor changes to match output of
4 new demangler: adjust whitespace in four tests, and change order
5 of qualifiers in one test.
6
7 * cp-demangle.c: Complete rewrite.
8
d00edca5
DD
92003-11-20 Ian Lance Taylor <ian@wasabisystems.com>
10
11 * cp-demangle.c: Complete rewrite.
12
dd9d4b48
DD
132003-11-19 Mark Mitchell <mark@codesourcery.com>
14
15 * cp-demangle.c (demangle_type): Correct thinko in substitution
16 processing.
17
0976f6a7
DD
182003-11-18 Ian Lance Taylor <ian@wasabisystems.com>
19
20 * cp-demangle.c (demangle_operator_name): Remove space before
21 "sizeof".
22 (demangle_type_ptr): Put qualifiers in the right place. Handle
23 qualifiers in pointer to member specially.
24 (demangle_type): Handle qualifiers for pointer or reference
25 specially. Handle function type.
26 (demangle_local_name): Save and restore caret around demangling of
27 initial encoding.
28
29 * testsuite/test-demangle.c (main): Don't pass DMGL_VERBOSE to
30 cplus_demangle.
31
32 * testsuite/Makefile.in (test-demangle): Depend upon libiberty.a.
33
5659daa1
DD
342003-11-18 Ian Lance Taylor <ian@wasabisystems.com>
35
36 * testsuite/test-demangle.c (main): Don't pass DMGL_VERBOSE to
37 cplus_demangle.
38
39 * testsuite/Makefile.in (test-demangle): Depend upon libiberty.a.
40
e7e6980b
DD
412003-10-31 Andreas Jaeger <aj@suse.de>
42
43 * floatformat.c (floatformat_always_valid): Add unused attribute.
44
686e72d7
DD
452003-10-30 Josef Zlomek <zlomekj@suse.cz>
46
47 * hashtab.c (htab_find_slot_with_hash): Decrease n_deleted
48 instead of increasing n_elements when inserting to deleted slot.
49
eec65ede
JB
502003-10-20 J. Brobecker <brobecker@gnat.com>
51
52 * cplus-dem.c (demangle_template): Register a new Btype only
53 when needed.
54 * testsuite/demangle-expected: Add a new test.
55
cd275bff
L
562003-10-16 H.J. Lu <hongjiu.lu@intel.com>
57
58 * testsuite/demangle-expected: Update the expected output of
59 _GLOBAL__I__Z2fnv.
60
e3b1168e
DJ
612003-10-02 Daniel Jacobowitz <drow@mvista.com>
62
63 * strerror.c: Revert last change. Declare static sys_nerr
64 and sys_errlist using different names.
65
efb150d5
DJ
662003-10-01 Daniel Jacobowitz <drow@mvista.com>
67
68 * strerror.c: Don't provide or reference sys_errlist if
69 strerror is available.
70
b7ca9213
L
712003-10-01 H.J. Lu <hongjiu.lu@intel.com>
72
73 * configure.in: Check if $MAKEINFO is missing.
74 * configure: Regenerated.
75
8ddbb593
DJ
762003-09-24 Daniel Jacobowitz <drow@mvista.com>
77
78 * configure.in: Use AC_PROG_CPP_WERROR.
79 * configure: Regenerated.
80
5324d185
AC
812003-09-22 Andrew Cagney <cagney@redhat.com>
82
83 * floatformat.c (floatformat_i387_ext_is_valid): New function.
84 (floatformat_always_valid): New function.
85 (floatformat_i387_ext): Initialize new "is_valid" field to
86 "floatformat_i387_ext_is_valid".
87 (floatformat_ieee_single_little): Initialize "is_valid" field to
88 floatformat_always_valid.
89 (floatformat_ieee_double_big): Ditto.
90 (floatformat_ieee_double_little): Ditto.
91 (floatformat_ieee_double_little): Ditto.
92 (floatformat_ieee_double_littlebyte_bigword): Ditto.
93 (floatformat_i960_ext): Ditto.
94 (floatformat_m88110_ext): Ditto.
95 (floatformat_m88110_harris_ext): Ditto.
96 (floatformat_arm_ext_big): Ditto.
97 (floatformat_arm_ext_littlebyte_bigword): Ditto.
98 (floatformat_ia64_spill_big): Ditto.
99 (floatformat_ia64_spill_little): Ditto.
100 (floatformat_ia64_quad_big): Ditto.
101 (floatformat_ia64_quad_little): Ditto.
102 (floatformat_ia64_quad_little): Ditto.
103 (floatformat_is_valid): Call "is_valid".
104
34f4a113
AC
1052003-09-15 Andrew Cagney <cagney@redhat.com>
106
107 * floatformat.c (get_field): Make "data" constant.
108 (floatformat_is_valid, floatformat_to_double): Make "from"
109 constant, fix casts.
110 (floatformat_from_double): Make "from" constant.
111
3f2aacaf
DJ
1122003-09-15 Daniel Jacobowitz <drow@mvista.com>
113
114 * floatformat.c (floatformat_is_valid): New function.
115 (get_field, put_field): Correct comments.
116
aae66b9f
DD
1172003-09-06 Josef Zlomek <zlomekj@suse.cz>
118
119 * fibheap.c (fibheap_replace_key_data): Change type of OKEY to
120 FIBHEAPKEY_T.
121
60b04ee8
DD
1222003-09-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
123
124 PR bootstrap/12100
125 * aclocal.m4 (AC_LANG_FUNC_LINK_TRY): Define.
126 * configure: Rebuilt.
127
2299a76d
DJ
1282003-08-27 Daniel Jacobowitz <drow@mvista.com>
129
130 * aclocal.m4: Include acx.m4 and no-executables.m4.
131 (libiberty_AC_FUNC_STRNCMP): Use AC_LIBOBJ.
132 (LIB_AC_PROG_CC): Remove.
133 * configure.in: Update AC_PREREQ to 2.57. Use GCC_NO_EXECUTABLES.
134 Use AC_PROG_CC and set ac_libiberty_warn_cflags instead of using
135 LIB_AC_PROG_CC. Use AC_LIBOBJ. Call AC_ISC_POSIX later, only if
136 performing link tests.
137 * configure: Regenerated.
138
9ad1aa29
DD
1392003-08-12 Nathanael Nerode <neroden@gcc.gnu.org>
140
141 * cp-demangle.c: Clarify what package(s) this is part of.
142
dbb9d0f3
DD
1432003-07-05 Danny Smith <dannysmith@users.sourceforge.net>
144
145 * pex-win32.c (pexecute): Mark parameters this_pname and
146 temp_base as unused. Remove unused variables retries,
147 sleep_interval. Initialize org_stdin, org_stdout.
148 (pwait): Mark parameter flags as unused.
149
1502003-07-02 Danny Smith <dannysmith@users.sourceforge.net>
ab8c7bb1
DD
151
152 * pex-win32.c (fix_argv): Ensure that the executable pathname
153 uses Win32 backslashes.
154 (pexecute): Cast away constness when assigning *errmsg_arg.
155
78c5b0a5
L
1562003-06-26 H.J. Lu <hongjiu.lu@intel.com>
157
158 * testsuite/demangle-expected: Add more GNU V3 testcases.
159
70ecf948
DD
1602003-06-22 Zack Weinberg <zack@codesourcery.com>
161
162 * safe-ctype.c: Use HOST_CHARSET_ASCII and HOST_CHARSET_EBCDIC,
163 not HC_ASCII and HC_EBCDIC.
164 Add documentation in form expected by gather-docs.
165 * hex.c: Use HOST_CHARSET, not hand-coded check of character set.
166 * Makefile.in, functions.texi: Regenerate.
167
cbc0188b
DD
1682003-06-21 Zack Weinberg <zack@codesourcery.com>
169
170 * safe-ctype.c: Separate out EOF==-1 check. Use HOST_CHARSET
171 for charset determination.
172
5f73c378
DD
1732003-06-19 Dara Hazeghi <dhazeghi@yahoo.com>
174
175 * configure.in: Add check for malloc.h needed by
176 m68k for function free().
177 * configure: Regenerated.
178 * config.in: Add HAVE_MALLOC_H.
179 * hashtab.c: include malloc.h were available for
180 free().
181
e69f6c8c 1822003-06-09 Albert Chin-A-Young <china@thewrittenword.com>
cbc0188b 183
e69f6c8c
DD
184 PR bootstrap/10974
185 * physmem.c: Update comment.
186 * configure.in: Modify test for _system_configuration for older
187 AIX systems.
188
189 * config.in, configure: Regenerated.
cbc0188b 190
54c60684
DD
1912003-06-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
192
193 PR other/10810
194 * test-demangle.c (getline): Fix fence-post error.
195
5a4e47bd
NC
1962003-06-03 Nick Clifton <nickc@redhat.com>
197
198 * asprintf.c: Change comment to note that -1 is returned upon
199 error.
200 * vasprintf.c: Likewise.
201 (vasprintf): Return -1 upon error.
202 * functions.texi: Document changes to asprintf and vasprintf.
203
916f5d13
DD
2042003-05-19 Kelley Cook <kelleycook@wideopenwest.com>
205
206 * config.table: Accept i[345867]86 variant.
207
e4f79046
JB
2082003-05-15 Jim Blandy <jimb@redhat.com>
209
210 * hex.c (_hex_value): Make this unsigned.
211 (hex_value): Update documentation for new return type. hex_value
212 now expands to an unsigned int expression, to avoid unexpected
213 sign extension when we store it in a bfd_vma, which is larger than
214 int on some platforms.
215 * functions.texi: Regenerated.
216
0f3538e7
DD
2172003-05-07 Josef Zlomek <zlomekj@suse.cz>
218
219 * splay-tree.c (splay_tree_predecessor): Fix comment.
220 (splay_tree_successor): Fix comment.
221
7108c5dc
JM
2222003-05-07 Jason Merrill <jason@redhat.com>
223
eafaf5eb 224 * hashtab.c (iterative_hash): New fn.
7108c5dc
JM
225 * configure.in: Add AC_C_BIGENDIAN_CROSS.
226 * aclocal.m4: Include accross.m4.
227 * configure, config.in: Regenerate.
228
0b555173
DD
2292003-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
230
231 * configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
232 * configure: Regenerate.
233
8730135a
DD
2342003-05-03 Carlo Wood <carlo@alinoe.com>
235
236 * cp-demangle.c: Fix typo in "char_traints" string-literal.
237
341eccbc
DD
2382003-04-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
239
240 * vsnprintf.c (vsnprintf): Don't pad string with extra nulls.
241 (main): Test that we don't write too much data.
242
2ed1e5cc
DD
2432003-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
244
245 * configure.in (funcs, AC_CHECK_FUNCS): Add snprintf and
246 vsnprintf.
247 * snprintf.c, vsnprintf.c: New files.
248 * Makefile.in (CFILES): Add snprintf.c and vsnprintf.c.
249 (CONFIGURED_OFILES): Add snprintf.o and vsnprintf.o.
250 Regenerate dependencies.
251
252 * functions.texi, configure, config.in: Regenerated.
253
10b57b38
DD
2542003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
255
256 * mempcpy.c, stpcpy.c, stpncpy.c: New files.
257 * configure.in (funcs, AC_CHECK_FUNCS): Add mempcpy, stpcpy
258 and stpncpy.
259 * Makefile.in (CFILES): Add mempcpy.c, stpcpy.c and stpncpy.c.
260 (CONFIGURED_OFILES): Add mempcpy.o, stpcpy.o and stpncpy.o.
261 Regenerate dependencies.
262
263 * functions.texi, configure, config.in: Regenerated.
264
ff773b85
DD
2652003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
266
267 * argv.c: Fix comments.
268 * calloc.c: Don't unnecessarily include "libiberty.h".
269 (bzero): Add prototype.
270 * floatformat.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
271 * getcwd.c (getcwd): Use standard definition to avoid conflicts
272 with system headers.
273 * hashtab.c (htab_traverse): Delete unused variables.
274 * rename.c: Include "ansidecl.h".
275 (rename): Use standard definition to avoid conflicts with system
276 headers.
277 * strsignal.c: Rely on ANSI_PROTOTYPES.
278 * strstr.c: Check GNUC >= 2, not GNUC == 2.
279 * vfprintf.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
280 * vprintf.c: Include "ansidecl.h" earlier, rely on
281 ANSI_PROTOTYPES.
282 * vsprintf.c: Include "ansidecl.h" earlier, rely on
283 ANSI_PROTOTYPES and possibly include <stdarg.h>.
cbc0188b 284
ff773b85
DD
285 * Makefile.in: Regenerate dependencies.
286
bb325820
DD
2872003-04-15 DJ Delorie <dj@redhat.com>
288
289 * maint-tool (deps): Scan for headers in $srcdir also.
290
258a4893
DD
2912003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
292
293 PR target/10338
294 PR bootstrap/10198
295 PR bootstrap/10140
296 * getopt.c (exchange, _getopt_initialize): Use mempcpy not
297 __mempcpy.
298 * regex.c (regerror): Likewise.
299
ff773b85
DD
3002003-04-14 Roger Sayle <roger@eyesopen.com>
301
302 * argv.c: Use ANSI_PROTOTYPES instead of __STDC__.
303 * memchr.c: Likewise.
304 * strcasecmp.c: Likewise.
305 * strncasecmp.c: Likewise.
306 * strncmp.c: Likewise.
307 * xatexit.c: Likewise.
308 * xmalloc.c: Likewise.
309
310 * copysign.c: Use traditional function declaration instead of DEFUN.
311 * sigsetmask.c: Likewise.
312
313 * memcmp.c: Both of the above, ANSI_PROTOTYPES and DEFUN.
314 * memset.c: Likewise.
315
316 * memcpy.c: ANSI_PROTOTYPES, DEFUN and prototype bcopy.
317 * memmove.c: Likewise.
318
eec539c7
DD
3192003-04-14 Roger Sayle <roger@eyesopen.com>
320
321 * strdup.c (strdup): Tweak implementation to use memcpy.
322
daf7c4ad
DD
3232003-04-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
324
325 * configure.in (HAVE_UINTPTR_T): Always define.
326 * configure: Regenerated.
327
aa072e59
AO
3282003-03-23 Alexandre Oliva <aoliva@redhat.com>
329
330 * Makefile.in (MULTIOSDIR): New macro. Use $(CC) $(LIBCFLAGS)
331 instead of $$CC alone.
332 (install_to_tooldir): Use it.
333
f77ed96c
DD
3342003-17-03 Jan Hubicka <jh@suse.cz>
335
336 * hashtab.c (htab_traverse_noresize): Break out from ...
337 * hashtab.c (htab_traverse): ... here.
338
2336e177
DD
3392003-12-03 Jan Hubicka <jh@suse.cz>
340
341 * hashtab.c (htab_expand): Fix warning.
342
343 * hashtab.c (htab_expand): Compute the size of hashtable based
344 on the number of elements actually used.
345 (htab_traverse): Call htab_expand when table is too empty.
346
d8cbbf95
DD
3472003-03-11 Carlo Wood <carlo@gnu.org>
348
349 * cplus-dem.c (demangle_integral_value): Correction to reflect
350 patch of 2002-01-10 in order to also make negative multi-digits
351 without leading underscore work.
352
a01fefeb
DD
3532003-03-03 Mark Mitchell <mark@codesourcery.com>
354
355 * cplus-dem.c: Add license exception to copyright notice.
356
638ceb1a
DD
3572003-02-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
358
359 * physmem.c: Formatting changes from upstream.
360
ef803806
DD
3612003-02-24 Danny Smith <dannysmith@users.source.forge.net>
362
363 * physmem.c (physmem_total): Add _WIN32 support.
364 (physmem_available): Likewise.
365
181fa229
DD
3662003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
367
368 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
369 GSI_PHYSMEM.
370 (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS.
371
cc529274
DD
3722003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
373
374 * configure.in: Check for sys/systemcfg.h and
375 _system_configuration.
376 * physmem.c: Add support for AIX. Tweek formatting as per
377 upstream coreutils beta.
378
3792003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
380 Richard Earnshaw <rearnsha@arm.com>
381 Geoffrey Keating <geoffk@apple.com>
cbc0188b 382
cc529274
DD
383 * configure.in: Check for sys/sysctl.h and sysctl.
384 * physmem.c: Add support for *bsd and darwin.
385 * Makefile.in: Generate depedency for physmem.o.
386
192cbe66
DD
3872003-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
388
389 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on
390 Tru64 UNIX.
391 (physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on
392 Tru64 UNIX.
393
394 * configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h,
395 machine/hal_sysinfo.h, sys/table.h.
396 (checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table.
397 * configure, config.in: Regenerate.
398
ff773b85
DD
3992003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
400
401 * configure.in: Check for sys/sysmp.h and sysmp.
402 * physmem.c: Pull upstream copy, add support for irix6.
403
404 * config.in, configure: Regenerated.
405
900d2082
DD
4062003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
407
408 * physmem.c (physmem_total, physmem_available): De-ANSI-fy.
409 * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and
410 pstat_getdynamic.
cbc0188b 411
4938384a
DD
4122003-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
413
414 * Makefile.in (CFILES): Add physmem.c.
415 (REQUIRED_OFILES): Add physmem.o.
416 * configure.in: Check for sys/pstat.h.
417 (checkfuncs): Add pstat_getstatic and pstat_getdynamic.
418 * physmem.c: New file, copied from textutils.
419
420 * config.in, configure: Regenerated.
421
ba61a412
DJ
4222003-02-20 Daniel Jacobowitz <drow@mvista.com>
423
424 * Makefile.in (CFILES): Add lrealpath.c.
425 (REQUIRED_OFILES): Add lrealpath.o.
426 (lrealpath.o): Add rule.
427 * aclocal.m4 (libiberty_NEED_DECLARATION): Add.
428 * configure.in: Add realpath and canonicalize_file_name to
429 checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION
430 for canonicalize_file_name.
431 * lrealpath.c: New file.
432 * make-relative-prefix.c: Update documentation.
433 (make_relative_prefix): Simplify. Use lbasename and lrealpath.
434 * config.in: Regenerated.
435 * configure: Regenerated.
436 * functions.texi: Regenerated.
437
25dfe0ac
DD
4382003-02-20 jmc <jmc@prioris.mini.pw.edu.pl>
439
440 * cplus_dem.c: Fix typo: intializes -> initializes.
441
8b90eef4
AO
4422003-02-20 Alexandre Oliva <aoliva@redhat.com>
443
444 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
445 config.status.
446 * configure: Rebuilt.
447
fcd7c7c9
DD
4482003-02-13 Daniel Jacobowitz <drow@mvista.com>
449
450 Fix PR c++/7612.
451 * cplus-dem.c (demangle_signature): Call string_delete.
452 Remove extra string_init.
453 (demangle_arm_hp_template): Call string_delete instead of
454 string_clear. Add missing string_delete call.
455 (demangle_qualified): Add missing string_delete call.
456 (do_type): Remove unused variable btype. Add missing string_delete
457 call. Call string_delete instead of string_clear.
458 (demangle_fund_type): Move variable btype inside of the switch
459 statement. Add missing string_delete call.
460 (do_arg): Call string_delete instead of string_clear. Remove extra
461 string_init.
462 (demangle_nested_args): Free work->previous_argument.
463
073c427b
DD
4642003-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
465
466 * acconfig.h: New file. Add uintptr_t.
467 * config.in: Regenerated.
468
f8bd3000
DD
4692003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
470
471 * libiberty.texi: Update to GFDL 1.2.
472
85b9a938
DD
4732003-01-30 Christian Cornelssen <ccorn@cs.tu-berlin.de>
474
475 * Makefile.in (libiberty_topdir): New subst.
476 (mkinstalldirs): Redefine in terms of the above.
477 * configure.in: AC_SUBST it.
478 * configure: Regenerate.
479
578460f2
AO
4802003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de>
481
482 * Makefile.in (all-subdir, check-subdir, installcheck-subdir)
483 (info-subdir, install-info-subdir, clean-info-subdir)
484 (dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
485 (clean-subdir, distclean-subdir, maintainer-clean-subdir):
486 Pass $(FLAGS_TO_PASS).
487
7f285245
AO
4882003-01-27 Alexandre Oliva <aoliva@redhat.com>
489
490 * Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
491 /`$$CC -print-multi-os-directory`.
492
5f9624e3
DJ
4932003-01-26 Daniel Jacobowitz <drow@mvista.com>
494
495 * hashtab.c (htab_create_alloc_ex): New function.
496 (hatab_set_functions_ex): New function.
497 (htab_delete, htab_expand): Support alternate allocation functions.
498
9c2259b8
DD
4992003-01-24 Christopher Faylor <cgf@redhat.com>
500
501 * configure.in: Remove special pex-cygwin consideration.
502 * configure: Regenerate.
503 * pex-cygwin.c: Remove.
504 * Makefile.in: Remove pex-cygwin.[co] lines.
505
5a17353c
DD
5062003-01-24 Zack Weinberg <zack@codesourcery.com>
507
508 * Makefile.in (CFILES): Add pex-*.c.
509 (REQUIRED_OFILES): Change pexecute.o to @pexecute@
510 (CONFIGURED_OFILES): Add pex-*.o.
511 (TEXIFILES): Add pexecute.txh.
512 (pexecute.o): Delete rule.
513 (pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o,
514 pex-unix.o, pex-win32.o): New rules.
515 * configure.in: Change AC_INIT argument to xmalloc.c.
516 Compute appropriate pexecute implementation and substitute it
517 as @pexecute@.
518
519 * pexecute.c: Split up into...
520 * pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c,
521 pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these
522 new files.
523
524 * functions.texi: Regenerate.
525 * configure: Regenerate.
526
eed2b28c
DD
5272003-01-20 Josef Zlomek <zlomekj@suse.cz>
528
529 * hashtab.c (htab_expand): Fix allocation of new entries.
530
27a39a5f
DD
5312003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
532
533 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
534
535 * Makefile.in (install_to_libdir, install_to_tooldir): Add a
536 mkinstalldirs command.
537
b51c1553
DD
5382002-12-04 Danny Smith <dannysmith@users.sourceforge.net>
539
540 * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
541 Define for hosts with HOST_EXECUTABLE_SUFFIX.
542
756954c3
DD
5432002-11-24 Nick Clifton <nickc@redhat.com>
544
545 * make-relative-prefix.c (make_relative_prefix): Ensure return
546 string is empty before using strcat to construct it.
547
2a80c0a4
DD
5482002-11-22 Daniel Jacobowitz <drow@mvista.com>
549
550 * Makefile.in: Add make-relative-prefix.c.
551 * make-relative-prefix.c: New file.
552 * functions.texi: Rebuilt.
553
768b20d8
JJ
5542002-11-16 Jakub Jelinek <jakub@redhat.com>
555
556 * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
557 used with arguments in traditional C' warnings.
558
f52d1d64
JJ
5592002-10-16 Jakub Jelinek <jakub@redhat.com>
560
561 * config.table: Use mh-s390pic for s390x too.
562
0d3deb8d
DD
5632002-10-06 Andreas Jaeger <aj@suse.de>
564
565 * libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded
566 variable and of strict-aliasing warning.
567 (grow_vect): Use char as first parameter.
568
1b67de92
DD
5692002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
570
571 * Makefile.in (all): Fix multilib parallel build.
572
585cc78f
DD
5732002-09-19 John David Anglin <dave@hiuly1.hia.nrc.ca>
574
575 * cp-demangle.c (demangling_new): Cast 0 to enum.
576 (demangle_char): Cast return of strdup to char *.
577 (is_gnu_v3_mangled_ctor): Cast 0 to enum.
578 (is_gnu_v3_mangled_dtor): Likewise.
579 * cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
580 (work_stuff_copy_to_from): Cast return of xmalloc to char **.
581 * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
582 * md5.c (md5_process_bytes): Cast results back to const void *.
583 (md5_process_block): Add cast to const md5_uint32 *.
584 * regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
585 * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
586 unsigned short.
587 * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
588 to void *.
589 * vasprintf.c (int_vasprintf): Cast return of malloc to char *.
590
e21b0cc1
NC
5912002-09-19 Nick Clifton <nickc@redhat.com>
592
593 * README: Update email addresses for bugs and patches.
594
a54ba43f
DD
5952002-09-10 Mike Stump <mrs@apple.com>
596
597 * splay-tree.c (splay_tree_successor): Fix comments.
598
5992002-09-11 Zack Weinberg <zack@codesourcery.com>
600
601 * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
602 * testsuite/Makefile.in: Adjust for test-demangle.
603 * testsuite/regress-demangle: Deleted.
604 * testsuite/test-demangle.c: New file.
605 * testsuite/demangle-expected: Change \$ to $ throughout, now that
606 this file is not being read by a shell script.
607
01cea699
DD
6082002-09-05 Roger Sayle <roger@eyesopen.com>
609
610 * regex.c: Only use "#pragma alloca" on AIX when not using gcc.
611
a2832523
DD
6122002-08-07 DJ Delorie <dj@redhat.com>
613
614 * regex.c (re_error_msgid): Just use a simple array of strings.
615 (re_compile_pattern): Compensate.
616 (re_comp): Likewise.
617 (re_comp): Likewise.
618 (regerror): Likewise.
619
1e3f0be0
DD
6202002-07-29 Neil Booth <neil@daikokuya.co.uk>
621
622 * cplus-dem.c (PREPEND_BLANK): Remove.
623
b851d07b
DD
6242002-07-10 Jason Merrill <jason@redhat.com>
625
626 * cp-demangle.c (demangle_identifier): Support extended Unicode
627 characters.
628
2a9dffbf
DD
6292002-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
630
631 * cp-demangle.c (demangle_v3_with_details): Wrap in
632 !defined IN_GLIBCPP_V3.
633
793011ca
DD
6342002-07-01 Mark Mitchell <mark@codesourcery.com>
635
636 * cp-demangle.c (demangle_operator_name): Add type_arg parameter.
637 Set it for the "st" operator.
638 (demangle_expression): Handle expressions with types as arguments.
639
b39b76b8
DD
6402002-06-30 Douglas Rupp <rupp@gnat.com>
641
642 * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
643 * Makefile.in (OUTPUT_OPTION): Use.
644
4748c6d8
DD
6452002-06-22 Peter Breitenlohner <peb@mppmu.mpg.de>
646
647 * Makefile.in (install_to_libdir): Add $(DESTDIR).
648 (install_to_tooldir): Likewise.
649
f9c3326a
DD
6502002-06-17 Douglas Rupp <rupp@gnat.com>
651
652 * lbasename.c: Add 2002 to copyright.
653 (IS_DIR_SEPARATOR): Remove VMS junk.
654
18893690
DD
6552002-06-05 Geoffrey Keating <geoffk@redhat.com>
656
657 * hashtab.c (htab_create): New stub function for backward
658 compatibility.
659 (htab_try_create): Likewise.
660
6612002-06-03 Geoffrey Keating <geoffk@redhat.com>
662
663 * hashtab.c (htab_create): Delete.
664 (htab_try_create): Delete.
665 (htab_create_alloc): New.
666 (htab_delete): Support user-specified memory allocation.
667 (htab_expand): Likewise.
668
6692002-05-22 Roman Lechtchinsky <rl@cs.tu-berlin.de>
670
671 * configure.in: Fix typo in the code checking for sys_errlist.
672 * configure: Regenerated.
673
9296c8b2
DD
6742002-05-13 Andreas Schwab <schwab@suse.de>
675
676 * config.table: Use mh-x86pic also for x86-64.
677
52d98c2d
DD
6782002-05-08 Alexandre Oliva <aoliva@redhat.com>
679
680 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
681 script entry, and set LD to it when configuring multilibs.
682 * configure: Rebuilt.
683
cafa3917
DD
6842002-05-07 Mark Mitchell <mark@codesourcery.com>
685
686 * configure.in (AC_TYPE_PID_T): Use it.
687 * configure: Regenerated.
688 * getruntime.c: Include <sys/types.h>.
689 * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid".
690
b1c933fc
RH
6912002-04-09 Richard Henderson <rth@redhat.com>
692
693 * hashtab.c (higher_prime_number): Use 7 as minimum.
694 (find_empty_slot_for_expand): Don't compute hash2 unless needed.
695 (htab_find_slot_with_hash): Likewise.
696
0c4460bb
DD
6972002-04-01 Phil Edwards <pme@gcc.gnu.org>
698
699 * cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
700 (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally
701 not compile if IN_GLIBCPP_V3 defined.
702 * dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme.
703
f2160d2b
DD
7042002-03-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
705
3ebf1f59 706 * cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
f2160d2b
DD
707 if it is NULL.
708
7dd4d42a
DD
7092002-03-27 DJ Delorie <dj@redhat.com>
710
711 * hex.c: Add documentation.
712 (_hex_value): Provide non-ASCII empty table.
713 (hex_init): Initialize the non-ASCII table.
714 * functions.texi: Regenerate.
715
38e57a35
DD
7162002-03-27 Mark Mitchell <mark@codesourcery.com>
717
718 * dyn-string.c: Add libgcc exception to copyright notice.
719
cfed0715
DD
7202002-03-26 H.J. Lu (hjl@gnu.org)
721
722 * config.table: Support --with-build-subdir.
723 * configure.in: Likewise.
724 * configure: Rebuild.
725
1504972f
DD
7262002-03-18 Stuart Griffith <Stuart_Griffith@credence.com>
727
728 * strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
729 seen.
730
35efcd67
DD
7312002-03-12 Mark Mitchell <mark@codesourcery.com>
732
733 * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
734 notice.
735
dabc64ea
DD
7362002-03-11 Douglas B Rupp <rupp@gnat.com>
737
738 * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
739
3ddbd84c
JB
7402002-03-06 Jim Blandy <jimb@redhat.com>
741
742 * splay-tree.c (splay_tree_xmalloc_allocate,
743 splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
744 prototyped definitions. Mark `data' arguments as unused.
745
efdab807
AC
7462002-03-06 Andrew Cagney <ac131313@redhat.com>
747
748 * floatformat.c (floatformat_arm_ext_big): Delete definition.
749
50d4562d
DD
7502002-03-04 Phil Edwards <pme@gcc.gnu.org>
751
752 * configure.in: Add --enable-install-libiberty option.
753 * Makefile.in (INSTALLED_HEADERS): New variable.
754 (install_to_libdir): Possibly also copy headers.
755 * configure: Regenerated.
756
7572002-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
758
759 * xmalloc.c (xmalloc_fail): Clarify error message further.
760
6e9980f5
DD
7612002-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
762
763 * xmalloc.c (xmalloc_fail): Clarify error message.
764
18893690 7652002-02-22 Jim Blandy <jimb@redhat.com>
2bbcdae9
JB
766
767 * splay-tree.c (splay_tree_xmalloc_allocate,
768 splay_tree_xmalloc_deallocate): New functions.
769 (splay_tree_new): Call splay_tree_new_with_allocator, passing the
770 above functions and a dummy data pointer.
771 (splay_tree_new_with_allocator): New function.
772 (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
773 splay_tree_remove): Use the splay tree's allocation and
774 deallocation functions.
775
59ea9fe7
DD
7762002-02-19 Scott Snyder <snyder@fnal.gov>
777
778 * testsuite/demangle-expected: Add test case for infinite loop in
779 demangler.
780 * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
781 if do_type() doesn't make any progress --- prevents an infinite
782 loop.
783
6f848550
DD
7842002-02-18 Carlo Wood <carlo@gnu.org>
785
786 PR c++/5390
787 * cplus-dem.c (demangle_integral_value): Accept multi-digit
788 numbers that do not start with an underscore; This is needed
789 for integer template parameters. This doesn't break anything
790 because multi-digit numbers are never followed by a digit.
791 * testsuite/demangle-expected: Corrected all mangled test
792 cases with multi-digit template parameters: g++ 2.95.x does
793 not generate underscores around these parameters.
794
44354ae1
DD
7952002-02-05 Jason Merrill <jason@redhat.com>
796
797 * cplus-dem.c (flags): Add DMGL_VERBOSE
798 (cplus_demangle_v3_p): Remove.
799 (demangle_it): Add DMGL_TYPES to passed flags.
800 * cp-demangle.c (cplus_demangle_v3_all): Remove.
801 (cplus_demangle_v3_type): Remove.
802 (cplus_demangle_v3): Add options parm.
803
42da15d6
DD
8042002-02-02 H.J. Lu (hjl@gnu.org)
805
806 * cp-demangle.c (cp_demangle_type): Do not protect with
807 IN_LIBGCC2.
808 (cplus_demangle_v3_all): New.
809 (cplus_demangle_v3): Call cplus_demangle_v3_all.
810 (cplus_demangle_v3_type): Call cplus_demangle_v3_all.
811
812 * cplus-dem.c (cplus_demangle_v3_p): New function pointer.
813 Initialized to cplus_demangle_v3.
814 (cplus_demangle_with_style): Call cplus_demangle_v3_p instead
815 of cplus_demangle_v3.
816 (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
817 command line symbol.
818
819 * testsuite/regress-demangle: Pass the mangled name at the
820 command line.
821
b117c158
DD
8222002-02-01 H.J. Lu <hjl@gnu.org>
823
824 * cp-demangle.c (cp_demangle_type): Call demangling_new with
825 DMGL_GNU_V3.
826
c78d91b1
DD
8272002-01-31 Phil Edwards <pme@gcc.gnu.org>
828
829 * cp-demangle.c: Revert yesterday's change.
830
bef8b55d
DD
8312002-01-31 Adam Megacz <adam@xwt.org>
832
833 * gcc/libiberty/configure.in: Treat mingw the same as cywin
834 wrt HAVE_SYS_ERRLIST.
835
2c955b8b
DD
8362002-01-30 Phil Edwards <pme@gcc.gnu.org>
837
838 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
839 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on
840 cp_demangle_type.
841 * testsuite/demangle-expected: New gnu-v3 test.
842
58b1717a
RH
8432002-01-22 Momchil Velikov <velco@fadata.bg>
844
845 * configure.in (variable detection): Use arrays of unspecified
846 size instead of plain integers.
847
cc096b71
DD
8482002-01-18 DJ Delorie <dj@redhat.com>
849
850 * Makefile.in (TESTLIB): New. This library is for future
851 testsuites.
852 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
853 break down by letter.
854 (REQUIRED_OFILES): List long-to-compile files first.
855 (maint-deps): New, target for updating dependencies.
856 (dependencies): Update.
857 * maint-tool: Add dependency-generating option.
858 * configure.in: Check for _doprnt even if we're not providing it.
859 * configure: Regenerate.
860
861 * _doprnt.c: Modifications to allow compiling on any platform.
862 * copysign.c: Likewise.
863 * putenv.c: Likewise.
864 * setenv.c: Likewise.
865 * vsprintf.c: Likewise.
866
8672002-01-15 Douglas B Rupp <rupp@gnat.com>
868
869 * mkstemps.c (mkstemps): On VMS, open temp file with option
870 that causes it to be deleted when closed.
871
20d54542
DD
8722002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
873
c23795e2
DD
874 * cp-demangle.c (long_options): Const-ify.
875 * cplus-dem.c (long_options): Likewise.
876
20d54542
DD
877 * cplus-dem.c (mystrstr): Delete. All callers changed to use
878 strstr instead.
879
f348a7b1
DD
8802001-12-31 Ira Ruben <ira@apple.com>
881
882 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
883 * configure: Regenerated.
884
d86cd745
DD
8852001-12-24 Douglas B. Rupp <rupp@gnat.com>
886
887 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
888 * configure: Regenerated.
889
ae533646
DD
8902001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
891
892 PR other/2719
893 * cplus-dem.c (consume_count): Treat negative count as an error.
894 * testsuite/demangle-expected: Added testcase.
895
c0eb281b
DD
896Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
897
898 * configure.in: Hardcode that vfork works on VMS host.
899 * configure: Regenerated.
900
2da4c07f
RH
9012001-12-06 Richard Henderson <rth@redhat.com>
902
903 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
904 (cplus_demangle): Support no_demangling.
905
24acd898
DD
9062001-11-27 Zack Weinberg <zack@codesourcery.com>
907
908 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
909 in libiberty context. Fix typo in leading comment.
910 * configure.in: Fix various AC_DEFINEs so autoheader works.
911 If any of vprintf, vsprintf, vfprintf is missing from libc,
912 then AC_REPLACE_FUNCS(_doprnt).
913
fec50157 9142001-11-26 DJ Delorie <dj@redhat.com>
d86cd745 915 Daniel Jacobowitz <drow@mvista.com>
fec50157
DD
916
917 * Makefile.in (stamp-h): Depend on Makefile for proper
918 serialization.
919 (*-subdir): Depend on config.h for proper serialization.
920
5527febf
DD
9212001-11-26 DJ Delorie <dj@redhat.com>
922
923 * configure.in: Check for alloca.h (for regex.c and putenv.c).
924 * configure: Regenerate.
925 * config.h: Add HAVE_ALLOCA_H.
926
941d74a0
DD
9272001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
928
929 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
930 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
931 is available.
932
dc579051
DD
933Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
934
935 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
936 * configure.in (HAVE_UINTPTR_T): Test for system defining
937 uintptr_t and define HAVE_UINTPTR_T appropriately.
938 * regex.c (uintptr_t): Do not provide a definition if the
939 system provided one.
940
941 * regex.c (PREFIX): Provide an alternate definition for
942 non-ANSI/ISO compilers.
943 (ARG_PREFIX): Likewise.
944
1a78a35a
DD
9452001-11-12 Jim Meyering <meyering@lucent.com>
946
947 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
948 this code would end up calling gettext even in packages built
949 with --disable-nls.
950 * getopt.c (_): Likewise.
951 * regex.c (_): Likewise.
952
4e55c4b6
DD
9532001-11-03 Alan Modra <amodra@bigpond.net.au>
954
955 * configure.in: Cope with missing makeinfo.
956 * configure: Regenerate.
957
d311a83a
DD
9582001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
959
960 * hex.c (hex_init): Provide empty stub.
961
962 * hex.c (hex_init): Delete.
963 (_hex_value): Const-ify and initialize at compile-time.
964
3bc62f91
DD
9652001-10-19 H.J. Lu <hjl@gnu.org>
966
967 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
968 necessary.
969
5d852400
DD
9702001-10-17 DJ Delorie <dj@redhat.com>
971
972 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
973 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
5527febf 974 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
5d852400
DD
975 Improve manual formatting.
976 * functions.texi: Regenerate.
977
ba19b94f
DD
9782001-10-15 DJ Delorie <dj@redhat.com>
979
980 * Makefile.in (TEXIFILES): Add fnmatch.txh.
981 (maint-undoc): New.
982 maint-tool: Add "undoc" tool.
983 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
984 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
985 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
986 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
987 documentation.
988 * fnmatch.txh: New.
989 * functions.texi: Regenerate.
990
56056af5
DD
9912001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
992
993 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
994 * strtod.c: Use "ISO C" instead of "ANSI C".
995 * functions.texi: Regenerate.
996
99b58139
DD
9972001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
998
999 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
1000 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
1001 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
1002 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
1003 spelling. Give names to function arguments in documentation. Use
1004 (void) prototypes in documentation.
1005 * functions.texi: Regenerate.
1006
e6450fe5
DD
10072001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1008
1009 * argv.c (buildargv, tests, main): Const-ify.
1010 * cp-demangle.c (operator_code): Likewise.
1011 * cplus-dem.c (optable, libiberty_demanglers,
1012 cplus_demangle_set_style, cplus_demangle_name_to_style,
1013 print_demangler_list): Likewise.
1014 * hashtab.c (higher_prime_number): Likewise.
1015 * strcasecmp.c (charmap): Likewise.
1016 * strerror.c (error_info, strerror, main): Likewise.
1017 * strncasecmp.c (charmap): Likewise.
1018 * strsignal.c (signal_info): Likewise.
1019
da191b5b
DD
10202001-09-29 DJ Delorie <dj@redhat.com>
1021
1022 * configure: Regenerate.
1023
916aaa12
DD
10242001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1025
1026 * concat.c: Include stdlib.h.
1027
fa9f0e33
DD
10282001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
1029
1030 * libiberty.texi: (Top level): Add syncodeindex pg. Add
1031 @dircategory and @direntry directives. Add @finalout.
1032 (many nodes): Lose the next,prev,up pointers on the @nide line.
1033 (Using, Supplemental Functions, Replacement Functions): Fix
1034 markup.
1035 (Functions): Move around, to allow makeinfo to build the manual
1036 without next,prev,up pointers in thye node lines.
1037 (Licenses): Fix typos.
1038
1039 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
1040 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
1041 * functions.texi: Regenerate.
1042
1043 * copying-lib.texi: Lose the next,prev,up pointers on the @node
1044 line.
1045
10462001-09-27 DJ Delorie <dj@redhat.com>
1047
1048 * configure.in: Don't use in-tree texinfo, because libiberty must
1049 be built before it. Check for makeinfo version 4 or higher.
1050 * functions.texi: Regenerate.
1051
39423523
DD
10522001-09-20 DJ Delorie <dj@redhat.com>
1053 Phil Edwards <pedwards@disaster.jaj.com>
1054
1055 * configure.in (MAKEINFO, PERL): Detect these.
1056 (--enable-maintainer-mode): Add.
1057 * configure: Regenerate.
1058 * Makefile.in (MAKEINFO, PERL): Define.
1059 (libiberty.info, libiberty.dvi, libiberty.html): New.
1060 (CFILES): Add bsearch.c.
1061 (CONFIGURED_OFILES): New, list of objects configure might add.
1062 (maint-missing, maint-buildall): New, for maintainers only.
1063 (clean, mostlyclean): Add info/dvi/html files.
1064 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
1065 * gather-docs: New, for maintainers.
1066 * maint-tool: New, for maintainers.
1067 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
1068 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
1069 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
1070 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
1071 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
1072 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
1073 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
1074 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
1075 documentation.
1076
66c94e19
DD
10772001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1078
1079 * concat.c (reconcat): Fix for traditional C.
1080
99ee3a8f
DD
10812001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1082
1083 * concat.c (reconcat): New function.
1084
54c20242
DD
10852001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1086
1087 * concat.c (vconcat_length, vconcat_copy, concat_length,
1088 concat_copy, concat_copy2): New functions.
1089 (concat): Use vconcat_length/vconcat_copy.
1090
1091 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
1092 Define.
1093
843f21be
DD
10942001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1095
1096 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
1097 VA_FIXEDARG & VA_CLOSE.
1098
1099 * vasprintf.c: Check HAVE_STRING_H when including string.h.
1100 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
1101 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
1102
8a423cb3
DD
11032001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1104
1105 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
1106
dc676635
DD
11072001-08-23 Ulrich Drepper <drepper@redhat.com>
1108
1109 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
1110
11112001-08-23 Ulrich Drepper <drepper@redhat.com>
1112
1113 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
1114 instead of mbrtowc.
1115 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
1116 wcslen, and __wcscoll instead of wcscoll.
1117
f080c76d
DD
11182001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1119
3ebf1f59
DD
1120 * fibheap.c (fibheap_init, fibnode_init): Remove.
1121 (fibheap_new, fibnode_new): Use xcalloc to allocate and
1122 initialize memory.
1123 (fibheap_insert): Remove check for node allocation failure.
f080c76d 1124
f01b59ed
DD
11252001-08-21 Richard Henderson <rth@redhat.com>
1126
1127 * Makefile.in (fibheap.o): Depend on config.h.
1128 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
1129 functions for inlining.
1130
1131Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
1132
1133 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
1134 hosting on cygwin.
1135 * configure: Regenerate.
1136
eb828599
AC
11372001-08-20 Andrew Cagney <ac131313@redhat.com>
1138
1139 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
1140 HARRIS_FLOAT_FORMAT.
1141 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
1142 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
1143 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
1144 (floatformat_m88110_harris_ext): New float formats.
1145
4e55c4b6
DD
11462001-08-20 Daniel Berlin <dan@cgsoftware.com>
1147
1148 * fibheap.c: New file. Fibonacci heap.
1149
1150 * Makefile.in (CFILES): Add fibheap.c.
1151 (REQUIRED_OFILES): Add fibheap.o.
1152 (fibheap.o): Add dependencies for fibheap.o.
1153
68a41de7
DD
11542001-08-17 Christopher Faylor <cgf@cygnus.com>
1155
1156 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
1157 * configure: Regenerate.
1158
8fc34799
DD
11592001-08-16 Richard Henderson <rth@redhat.com>
1160
1161 * hashtab.c (htab_hash_string): New.
1162
16bad250
AC
11632001-08-13 Andrew Cagney <ac131313@redhat.com>
1164
1165 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
1166 name.
1167
a9022147
DD
11682001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
1169
1170 * regex.c (wcs_regex_compile): Use appropriate string
1171 to compare with collating element.
1172 Fix the padding for the alignment.
1173
8aefe91a 11742001-08-10 Andrew Cagney <ac131313@redhat.com>
3ea71002
AC
1175
1176 * lbasename.c (lbasename): Change function definition to return a
1177 const char pointer.
1178
e7e9b069
DD
11792001-08-07 Jason Merrill <jason_merrill@redhat.com>
1180
1181 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
1182 for".
1183
cc5144f8
DD
11842001-08-03 Richard Henderson <rth@redhat.com>
1185
1186 * Makefile.in (concat.o): Depend on config.h.
1187
8aefe91a
DD
11882001-07-30 Andreas Jaeger <aj@suse.de>
1189
1190 * concat.c: Include "config.h".
1191
86710ce2
DD
11922001-07-30 Andreas Jaeger <aj@suse.de>
1193
1194 * regex.c: Declare wcs functions only if compiling with
1195 MBS_SUPPORT.
1196 Don't use #elif for traditional C.
1197
11982001-07-23 Ulrich Drepper <drepper@redhat.com>
1199
1200 * regex.c: Revamp memory allocation for WCHAR functions to
1201 not use too much stack.
1202
12032001-07-30 Andreas Jaeger <aj@suse.de>
1204
1205 * regex.c: Declare wcs functions only if compiling with
1206 MBS_SUPPORT.
1207 Don't use #elif for traditional C.
1208
a5d8f731
DD
12092001-07-25 Daniel Jacobowitz <drow@mvista.com>
1210
1211 * Makefile.in (regex.o): Add dependency on config.h.
1212
6ad8a379
DD
12132001-07-18 Andreas Schwab <schwab@suse.de>
1214
1215 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
1216 underscore character.
1217
12182001-07-18 Ulrich Drepper <drepper@redhat.com>
1219
1220 * regex.c: Limit string length printed in debug messages to 100
1221 chars.
1222
12232001-07-18 Andreas Jaeger <aj@suse.de>
1224
1225 * regex.c: Place under LGPL version 2.1.
1226
2a6ef469
DD
12272001-07-10 Jeff Johnston <jjohnstn@redhat.com>
1228
1229 * Makefile.in: Add support for regex code.
1230 * regex.c: New file.
1231
7b78baae
DD
12322001-07-05 Mark Klein <mklein@dis.com>
1233
1234 * Makefile.in: Add ffs.c dependency.
1235 * configure.in: Add ffs.c.
1236 * ffs.c: New file.
1237
926150e2
DD
12382001-06-18 Richard Henderson <rth@redhat.com>
1239
1240 * concat.c: Include <sys/types.h>.
1241
11f6f21d
DD
12422001-06-11 Loren J. Rittle <ljrittle@acm.org>
1243
1244 bootstrap/3106
1245 * strerror.c (sys_nerr): Hide the OS header version.
1246 * strsignal.c (sys_nsig): Likewise.
1247
d42dae6c
DD
12482001-06-10 Richard Henderson <rth@redhat.com>
1249
1250 * concat.c: Include string.h. Fix int vs size_t usage.
1251 Simplify the iteration loops. Use memcpy.
1252
e05c6d27
DD
12532001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1254
1255 * partition.c: Fix misspelling of `implementation'.
1256
b50c4073
DD
12572001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1258
1259 * md5.c (md5_init_ctx): Declare constants as unsigned.
1260 (md5_process_block): Likewise.
1261
457161bf
DD
12622001-05-07 Zack Weinberg <zackw@stanford.edu>
1263
1264 * cp-demangle.c (demangle_v3_with_details,
1265 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
1266 function definition.
1267 * ternary.c: Use K+R style function definitions. Use PTR, not
1268 void *. Make arguments constant where possible.
1269
e00bc6a7
DD
12702001-05-07 Mark Mitchell <mark@codesourcery.com>
1271
1272 * splay-tree.h (splay_tree_max): New function.
1273 (splay_tree_min): Likewise.
1274
400ee7e1
DB
12752001-04-15 Daniel Berlin <dan@cgsoftware.com>
1276
1277 * ternary.c: New file - Ternary search tree implementation.
a5dd804e
DB
1278
1279 * Makefile.in: Add ternary.o, and ternary.c dependencies.
400ee7e1 1280
d9697354
DD
12812001-04-03 Zack Weinberg <zackw@stanford.edu>
1282
1283 * make-temp-file.c (try): Inline.
1284
a7bf099b
DD
12852001-02-28 Richard Henderson <rth@redhat.com>
1286
1287 * Makefile.in (make-temp-file.o): Depend on config.h.
1288
30a1def2
DD
12892001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1290
1291 * memchr.c (memchr): Adjust condition to avoid infinite loop.
1292
079c672a
DD
12932001-03-23 Jakub Jelinek <jakub@redhat.com>
1294
1295 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
1296 `_' not followed by a digit is invalid.
1297
a88e356a
JB
12982001-03-22 Jim Blandy <jimb@redhat.com>
1299
1300 * cp-demangle.c (string_list_delete): Use dyn_string_delete
1301 instead of free, to free the contents as well as the string
1302 structure.
1303
1dffcc66
DD
13042001-03-21 Zack Weinberg <zackw@stanford.edu>
1305
1306 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
1307 Don't default P_tmpdir to anything. Try /var/tmp before
1308 /usr/tmp.
1309
13102001-03-20 Zack Weinberg <zackw@stanford.edu>
1311
1312 * choose-temp.c: Split off make_temp_file, and the code
1313 duplicated between it and choose_temp_base, into...
1314 * make-temp-file.c: ... here; new file.
1315
1316 * Makefile.in (CFILES): Add make-temp-file.c.
1317 (REQUIRED_OFILES): Add make-temp-file.o.
1318
e61231f1
JB
13192001-03-20 Jim Blandy <jimb@redhat.com>
1320
1321 * cp-demangle.c (struct demangling_def): New fields:
1322 is_constructor and is_destructor.
1323 (demangling_new): Initialize them.
1324 (demangle_ctor_dtor_name): Set them, if we detect a constructor
1325 or destructor.
1326 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
1327 is_gnu_v3_mangled_dtor): New functions.
1328
a9cbbe6d
DD
13292001-03-20 Jason Merrill <jason@redhat.com>
1330
1331 * cplus-dem.c (main): Skip initial $.
1332
b1e51b3c
DD
13332001-03-15 Michael Meissner <meissner@redhat.com>
1334
1335 * hashtab.c (higher_prime_number): Silence warning that 4294967291
1336 might be a signed integer under pre-ISO C systems.
1337
8aa30e60 13382001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
fa03f0a7 1339 John David Anglin <dave@hiauly1.hia.nrc.ca>
8aa30e60 1340
8aa30e60
DD
1341 * libiberty/lbasename.c: New file.
1342 * libiberty/Makefile.in: Update for lbasename.
8aefe91a 1343
30673bf5
DD
13442001-03-06 Zack Weinberg <zackw@stanford.edu>
1345
1346 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
1347 * configure.in: Replace all alloca logic with a simple use of
1348 the above new macro.
1349 * config.table: Kill *-*-beos* entry.
1350 * config/mh-beos: Delete.
1351 * configure, config.in: Regenerate.
fa03f0a7 1352
30673bf5
DD
1353 * Makefile.in (ALLOCA, HFILES): Kill.
1354 (REQUIRED_OFILES): Add alloca.o.
1355 (alloca.o): Depend on libiberty.h.
1356 (argv.o): Don't depend on alloca-conf.h.
1357 * alloca-conf.h: Delete.
1358 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
1359 blocks. Provide the C alloca unconditionally. Use PTR where
1360 appropriate. Make i00afunc static.
1361 * argv.c: Don't include alloca-conf.h.
fa03f0a7 1362
5810f394
DD
13632001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1364
1365 * cplus-dem.c (main): Cast enum style to int.
fa03f0a7 1366
a9db032a
DD
13672001-02-16 Loren J. Rittle <ljrittle@acm.org>
1368
1369 * cplus-dem.c (main): Initialize style.
fa03f0a7 1370
8aefe91a
DD
13712001-02-02 Phil Edwards <pme@sources.redhat.com>
1372
1373 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
1374
bc9bf259
DD
13752001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
1376
1377 Add support for Java demangling under the v3 ABI:
1378 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
1379 (struct demangling_def): Add `style' field.
1380 (demangling_new): New parameter `style'. Set it in demangling_t.
1381 (demangle_prefix): Use NAMESPACE_SEPARATOR.
1382 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
1383 (cp_demangle): New parameter `style'. Pass it to demangling_new().
1384 (main): Call cp_demangle with extra parameter.
1385 (java_demangle_v3): New function.
1386 (java_builtin_type_names): New. Table of primitive type names used
1387 for Java demangling.
1388 (demangle_builtin_type): Look up in java_builtin_type_names if doing
1389 Java output.
1390 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
1391 demangling.
1392 (long_options): Remove obsolete `java' option.
1393 (main): Remove explicit handling of `java' option. Instead, pass style
1394 parameter in cplus_demangle flags as gdb does.
1395 * testsuite/demangle.expected: Add some Java test cases.
fa03f0a7 1396
f6528837
DD
13972000-12-29 DJ Delorie <dj@redhat.com>
1398
1399 * fnmatch.c: Make the note about the origins of this file more
1400 accurate, at least until we can sync with glibc.
1401 * getopt.c: Ditto.
1402 * getopt1.c: Ditto.
1403 * md5.c: Ditto.
1404 * obstack.c: Ditto.
9d969b59 1405
c6da642e
DD
14062000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1407
1408 * bsearch.c: New file.
1409 * configure.in (funcs): Add bsearch.
1410 (AC_CHECK_FUNCS): Likewise.
1411 * configure, config.in: Regenerate.
1412
ae7d06ad 14132000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
1414
1415 * safe-ctype.c: #include "ansidecl.h".
1416 * strtod.c: Likewise.
1417
ae7d06ad 14182000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
1419
1420 * strtoul.c: Include safe-ctype.h, not ctype.h.
1421
ac424eb3
DD
14222000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
1423
1424 * safe-ctype.c: New file.
1425 * Makefile.in (CFILES): Add safe-ctype.c.
1426 (REQUIRED_OFILES): Add safe-ctype.o.
1427
1428 * argv.c: Define ISBLANK and use it, not isspace.
1429 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
1430 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
1431 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
1432 before calling TOLOWER(c)/TOUPPER(c).
1433
4415a860
DD
14342000-12-07 Mike Stump <mrs@wrs.com>
1435
1436 * Makefile.in (distclean): When cleaning, remove testsuite.
1437
849ee224
DD
14382000-12-05 Jason Merrill <jason@redhat.com>
1439
1440 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
1441 name before allocating the dyn_string.
1442
ae7d06ad 14432000-12-04 Jason Merrill <jason@redhat.com>
e49a569c
DD
1444
1445 * cp-demangle.c: s/new_abi/v3/.
1446 * cplus-dem.c: Likewise.
1447 (current_demangling_style): Now auto_demangling.
1448 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
ae7d06ad 1449 (main): Use standard symbol chars for auto_demangling.
e49a569c 1450
ae7d06ad 14512000-11-26 Mark Mitchell <mark@codesourcery.com>
5ca0f83d
DD
1452
1453 * hashtab.c (higher_prime_number): Use a table, rather than a
1454 seive, to find the next prime.
ae7d06ad
NC
1455
14562000-11-22 H.J. Lu <hjl@gnu.org>
1457
1458 * cplus-dem.c (main): Handle gnat_demangling.
1459
14602000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
2ea7befd
DD
1461
1462 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
1463 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
1464 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
1465 argument form of AC_DEFINE in dummy definitions block. Use
1466 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
1467 in dummy block. Preload cache variables instead of bypassing
1468 tests, where possible.
1469 * acconfig.h: Removed.
ae7d06ad 1470
2ea7befd
DD
1471 * xmalloc.c (xmalloc_failed): New function, does error
1472 reporting on failed allocation.
1473 (xmalloc, xcalloc, xrealloc): Use it.
9c26dc82 1474
f1775526
HPN
14752000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
1476
1477 * cplus-dem.c (cplus_demangle): Fix formatting.
1478 (grow_vect): Ditto.
1479 (ada_demangle): Ditto.
1480 (internal_cplus_demangle): Ditto.
1481 (mop_up): Ditto.
1482
14832000-11-21 H.J. Lu <hjl@gnu.org>
1484
1485 * cplus-dem.c (main): Handle java_demangling.
1486
ae7d06ad 14872000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
f1775526
HPN
1488
1489 * cplus-dem.c (grow_vect): Prototype.
1490 (ada_demangle): Cast the arg of ctype macros to unsigned char.
1491
5dd42ef4
HPN
14922000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
1493
1494 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
1495 parameter `option'.
1496
296731c1
DD
14972000-11-15 Kenneth Block <kenneth.block@compaq.com>
1498
8944fb9d 1499 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
296731c1
DD
1500 be used in GCC.
1501
6e53a714 15022000-11-15 Kenneth Block <kenneth.block@compaq.com>
16e85745 1503
5dd42ef4 1504 * cplus-dem.c: Add gnat demangler. Add java to demangle style
16e85745
HPN
1505 list.
1506
99a4c1bd
HPN
15072000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
1508
1509 * hashtab.c (htab_expand): Change to return int. Use calloc or
8aefe91a
DD
1510 xcalloc depending on htab->return_allocation_failure. Return zero
1511 if calloc fails.
99a4c1bd
HPN
1512 (htab_create): Update comment to cover memory allocation.
1513 (htab_try_create): New.
1514 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
8aefe91a 1515 Update comment to cover this.
99a4c1bd 1516
e0f3df8f
HPN
15172000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
1518
1519 * hashtab.c: Change void * to PTR where necessary.
1520 (htab_create, htab_expand): Correct formatting of comment before
1521 function.
1522
ae7d06ad 15232000-10-22 Alex Samuel <samuel@codesourcery.com>
59666b35
DD
1524
1525 * cp-demangle.c (string_list_def): Add caret_position and comments.
1526 (result_caret_pos): New macro.
1527 (result_append_string): Rename to...
1528 (result_add_string): ... this, and insert at caret position.
ae7d06ad 1529 Rename throughout.
59666b35
DD
1530 (result_append): Rename to...
1531 (result_add): ... this, and insert at caret position. Rename
ae7d06ad 1532 throughout.
59666b35
DD
1533 (result_append_char): Rename to...
1534 (result_add_char): ... this, and insert at caret position. Rename
ae7d06ad 1535 throughout.
59666b35
DD
1536 (result_append_space): Remove.
1537 (string_list_new): Initialize caret position.
1538 (result_add_separated_char): Use caret position.
1539 (result_get_caret): New funtion.
1540 (result_set_caret): Likewise.
1541 (result_shift_caret): Likewise.
1542 (result_previous_char_is_space): Likewise.
1543 (substitution_start): Use caret position.
1544 (substitution_add): Likewise.
1545 (demangling_new): Initialize caret position.
1546 (demangle_encoding): Use caret position.
ae7d06ad 1547 (demanglin_nested_name): Put CV qualifiers after name.
59666b35
DD
1548 (demangle_type_ptr): Use switch statement. Handle pointers to
1549 arrays. Don't use result_append_space. Use caret position.
1550 (demangle_type): Emit CV qualifiers after underlying type. Adjust
ae7d06ad
NC
1551 call to demangle_array_type.
1552 (demangle_array_type): Add parameter to handle pointers to arrays.
74bcd529 1553
ae7d06ad 15542000-10-01 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
1555
1556 * splay-tree.c (splay_tree_insert): Fix formatting.
ae7d06ad
NC
1557
15582000-09-16 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
1559
1560 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
ae7d06ad
NC
1561
15622000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1563
1564 * splay-tree.c: #include <stdio.h>.
1565
15662000-09-14 Hans-Peter Nilsson <hp@axis.com>
1567
1568 * testsuite/demangle-expected: Add two tests for anonymous
1569 namespaces.
1570 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
1571
15722000-09-10 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
1573
1574 * splay-tree.c (splay_tree_predecessor): New function.
1575 (splay_tree_successor): Likewise.
ae7d06ad
NC
1576
15772000-09-10 Hans-Peter Nilsson <hp@axis.com>
1578
1579 * testsuite/demangle-expected: Add four tests for type_info
1580 mangling.
1581 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
1582 for a non-template non-qualified type_info function or node.
1583
15842000-09-08 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1585
1586 * cp-demangle.c: Fix copyright banner.
ae7d06ad
NC
1587
15882000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1589
1590 * md5.c: #include "ansidecl.h".
1591
15922000-09-06 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1593
1594 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
1595 (demangle_type): Handle substitution candidates correctly in the
1596 face of special substitutions.
ae7d06ad
NC
1597
15982000-09-05 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1599
1600 * cp-demangle.c (demangle_encoding): Rename variable.
1601 (demangle_name): Rename parameter. Handle return type
1602 suppression.
1603 (demangle_nested_name): Rename parameter.
1604 (demangle_prefix): Likewise. Change return type suppression.
1605 (demangle_unqualified_name): Add parameter. Flag constructors and
1606 conversion operators.
1607 (demangle_special_name): Fix comment.
1608 (demangle_type): Rename variable.
1609 (demangle_bare_function_type): Check for missing return type and
1610 parameter.
1611 (demangle_class_enum_type): Rename parameter.
1612 (demangle_discriminator): Fix misspelling in comment.
ae7d06ad
NC
1613
16142000-08-31 DJ Delorie <dj@redhat.com>
1615
1616 * configure.in (Cygwin): special case cygwin only when we're
1617 building cygwin, not when we're hosting cygwin.
1618
16192000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1620
1621 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
1622 <expression>.
ae7d06ad
NC
1623
16242000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1625
1626 * cp-demangle.c (demangle_type_ptr): Increment position past
1627 pointer and reference characters.
ae7d06ad
NC
1628
16292000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1630
1631 * cp-demangle.c (demangle_nv_offset): New function.
1632 (demangle_v_offset): Likewise.
1633 (demangle_call_offset): Likewise.
1634 (demangle_special_name): Update thunk demangling to comply with
1635 ABI changes.
ae7d06ad
NC
1636
16372000-09-03 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1638
1639 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
1640 (substitution_def): Remove template_parm_number.
1641 (NOT_TEMPLATE_PARM): Remove.
1642 (result_insert_string): New macro.
1643 (result_insert): Likewise.
1644 (result_insert_char): Likewise.
1645 (substitution_add): Remove last parameter. Don't store template
1646 parm number.
1647 (BFT_NO_RETURN_TYPE): Define as NULL.
1648 (demangle_encoding): Adjust call to demangle_bare_function_type.
1649 (demangle_name): Adjust substitution. Adjust call to
1650 substitution_add.
1651 (demangle_prefix): Adjust call to substitution_add.
1652 (demangle_identifier): Handle anonymous namespaces.
1653 (demangle_operator_name): Change demangling of vendor-extended
1654 operator to match ABI changes.
1655 (demangle_type_ptr): Change parameters. Make recursive. Handle
1656 substitutions here.
1657 (demangle_type): Adjust calls to demangle_template_param,
1658 substitution_add, and demangle_type_ptr. Fix substitution of
1659 templated types.
1660 (demangle_function_type): Change parameter to a pointer.
1661 (demangle_bare_function_type): Likewise. Adjust insertion point.
1662 (demangle_template_param): Remove last parameter.
1663 (demangle_expr_primary): Remove unused variable. Adjust call to
1664 demangle_template_param.
1665 (is_mangled_char): Accept `$' and `.'.
1666 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
1667 * dyn-string.c (dyn_string_insert_char): New function.
ae7d06ad
NC
1668
16692000-08-31 Hans-Peter Nilsson <hp@axis.com>
1670
1671 * testsuite/demangle-expected: Add nine tests for
1672 underscore-after-number followed by five tests for name-signature
1673 delimiter.
1674
16752000-08-28 Richard Henderson <rth@cygnus.com>
74bcd529
DD
1676
1677 * Makefile.in (md5.o): Depend on config.h.
ae7d06ad
NC
1678
16792000-08-28 Jason Merrill <jason@redhat.com>
1680
1681 * Makefile.in (REQUIRED_OFILES): Add md5.o.
1682 (CFILES): Add md5.c.
1683 * md5.c: New file.
1684
16852000-08-27 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1686
1687 * cp-demangle.c (demangle_name): Initialize template_p in local
1688 name case. Don't re-add substitutions as candidates.
1689 (demangle_nested_name): Use <unqualified-name>.
1690 (demangle_prefix): Likewise. Don't add template names as
1691 substitution candidates twice, or re-add a substitution or the
1692 last prefix component.
1693 (demangle_local_name): Adjust output format.
ae7d06ad
NC
1694
16952000-08-25 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1696
1697 * cp-demangle.c (result_add_separated_char): Change parameter to
1698 int.
1699 (substitution_add): Don't check for duplicates. Check if
1700 previously allocated size is zero.
1701 (demangle_name): Remove duplicate check for std substitution.
1702 Clear template flag appropriately.
1703 (demangle_prefix): Remove argument to demangle_substitution.
1704 Don't check that template flag is already set.
1705 (demangle_operator_name): Add pt operator.
1706 (demangle_type): Don't treat r as built-in type. Remove argument
1707 to demangle_substitution. Fix substitution candidate mechanics.
1708 Handle <template-template-parm>s. Improve comments.
1709 (demangle_template_param): Don't handle template arg lists here.
1710 (demangle_substitution): Remove parameter.
1711 (print_usage): Remove extra fprintf option.
ae7d06ad
NC
1712
17132000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
1714
1715 * libiberty/random.c (end_ptr): Revert previous change.
ae7d06ad
NC
1716
17172000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
1718
1719 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
1720 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
1721 * libiberty/random.c (end_ptr): Likewise.
ae7d06ad
NC
1722
17232000-08-23 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1724
1725 * cp-demangle.c (result_close_template_list): Remove function.
1726 (result_add_separated_char): New function.
1727 (result_open_template_list): New macro.
1728 (result_close_template_list): Likewise.
1729 (demangle_prefix): Don't set template_p if the
1730 prefix ends with a ctor name.
1731 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
1732 (demangle_type): Check for template args after substitution.
1733 (demangle_template_args): Use result_open_template_list.
d3e85005 1734
ae7d06ad 17352000-08-02 Zack Weinberg <zack@wolery.cumb.org>
64e3a659 1736
ae7d06ad 1737 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
050823ca 1738
ae7d06ad 17392000-07-26 Dave Pitts <dpitts@cozx.com>
d6e83f5f
JL
1740
1741 * config/mh-openedition.h: Added -DLE370 definition.
1742
a9f34fb6
JL
17432000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
1744
1745 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
1746 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
1747 Cast program to 'char *' in errmsg_arg assignment.
1748 (PWAIT_ERROR): Define.
1749 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
1750 to DJGPP's WIF* macros.
1751
90aaccd1 17522000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
ae7d06ad 1753 Jeff Law <law@cygnus.com>
90aaccd1 1754
ae7d06ad 1755 * getcwd.c: Include string.h, stdlib.h for prototypes
443519c1 1756
90aaccd1 1757 * Makefile.in (rename.o, waitpid.o): Depend on config.h
ae7d06ad
NC
1758 * rename.c: Include config.h, unistd.h
1759 * waitpid.c: Include config.h, sys/wait.h
90aaccd1 1760
6ef554e3
HPN
17612000-07-24 Hans-Peter Nilsson <hp@axis.com>
1762
1763 * cplus-dem.c (work_stuff_copy_to_from): New.
1764 (delete_non_B_K_work_stuff): New.
1765 (delete_work_stuff): New.
1766 (mop_up): Break out work_stuff partly destruction to
1767 delete_non_B_K_work_stuff.
1768 (iterate_demangle_function): New.
1769 (demangle_prefix): Call iterate_demangle_function instead of
1770 demangle_function_name. Leave handling of name-signature
1771 __-delimiters to iterate_demangle_function.
1772 (demangle_integral_value): Strip an optional
1773 following underscore cautiously. Handle negative numbers.
1774
ae7d06ad 17752000-07-24 Daniel Berlin <dberlin@redhat.com>
e8865c28 1776
ae7d06ad 1777 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
e8865c28
DB
1778 if (AUTO_DEMANGLING || GNU_DEMANGLING)
1779
ae7d06ad
NC
17802000-07-21 Alex Samuel <samuel@codesourcery.com>
1781
1782 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
1783 allocating ctor mangling.
1784 (demangle_array_type): Handle empty and non-constant array length.
1785
b1233257 17862000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
62df2065
JL
1787 Jeff Law <law@cygnus.com>
1788
1789 * configure.in (AC_CHECK_HEADERS): Add time.h.
1790 (AC_HEADER_TIME): Add check.
1791 * configure, config.in: Regenerate.
1792 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
1793
1794 * configure.in (AC_CHECK_HEADERS): Add limits.h.
1795 * configure, config.in: Regenerate.
1796 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
1797 * strtol.c, strtoul.c: #include "config.h". Portably #include
1798 <limits.h> and/or <sys/param.h>.
1799 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
b1233257 1800
7d3ffcaf
JL
1801 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
1802 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
1803 * configure, config.in: Regenerate.
1804 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
1805
b1233257
JL
1806 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
1807
ae7d06ad
NC
18082000-07-21 Mike Stump <mrs@wrs.com>
1809
1810 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
1811 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
1812
18132000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1814
1815 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
1816
1817 * setenv.c (setenv): Initialize variable `ep'.
1818
1819 * sigsetmask.c (abort): Prototype.
1820
1821 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
1822 __STDC__ for stdarg.h include.
1823 (int_vasprintf): Prototype.
1824 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
1825 definition. Cast `global_total_width' in comparison.
1826 (main): Prototype. Return a value.
1827
1828 * vfork.c (fork): Prototype.
1829
1830 * xexit.c: Include config.h.
1831
9adf30b2
JL
18322000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
1833
1834 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
1835 and print it with %u.
1836
2ed78d1b
HPN
18372000-07-17 Hans-Peter Nilsson <hp@axis.com>
1838
1839 * testsuite/regress-demangle (failed test): Show result and
1840 expected output.
1841
0473bdf7
AH
18422000-07-07 Andrew Haley <aph@cygnus.com>
1843
1844 * cplus-dem.c (main): fflush() after emitting last char before
1845 waiting for input.
1846
03d5f569
JM
18472000-06-28 Alex Samuel <samuel@codesourcery.com>
1848
1849 * cp-demangle.c (demangle_encoding): Accept no substitutions.
1850 (demangle_name): Handle <substitution> followed by
1851 <unqualified-template-name>.
1852 (demangle_type): Follow special substitutions with
1853 <class-enum-type>
1854 (demangle_subtitution): Set template_p for special substitutions.
1855 (main): Fix typos.
ae7d06ad 1856
03d5f569
JM
18572000-06-27 Alex Samuel <samuel@codesourcery.com>
1858
1859 * cp-demangle.c (demangle_special_name): Swap base and derived
1860 class when demangling construction vtables.
1861
18622000-06-21 Alex Samuel <samuel@codesourcery.com>
1863
1864 * cp-demangle.c: Don't include ctype.h.
1865 (IS_DIGIT): New macro.
1866 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
1867 instead of isdigit and isalpanum.
1868 (demangling_def): Make name and next const pointers.
1869 (STATUS_ALLOCATION_FAILED): New status code.
1870 (dyn_string_append_space): Handle failure in
1871 dyn_string_append_char.
1872 (int_to_dyn_string): Likewise. Change return value to status_t.
1873 (string_list_new): Handle failure of dyn_string_init.
1874 (result_close_template_list): Change return type to status_t.
1875 Handle failure in dyn_string_append.
1876 (result_push): Change return value to status_t. Handle failure in
1877 string_list_new. Handle failure of result_push throughout.
1878 (substitution_add): Change return value to status_t. Handle
1879 dyn_string failures. Handle failure of substitution_add
1880 throughout.
1881 (template_arg_list_new): Return NULL on allocation failure.
1882 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
1883 Handle error result throughout.
1884 (result_append): Likewise.
1885 (result_append_char): Likewise.
1886 (result_append_space): Likewise.
1887 (demangling_new): Make argument a const pointer. Handle
1888 allocation failures.
1889 (demangle_template_args): Handle failure in template_arg_list_new
1890 and result_close_template_list.
1891 (demangle_discriminator): Return if int_to_dyn_string fails.
1892 (cp_demangle): Likewise.
1893 (cp_demangle_type): New function.
1894 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
1895 memory allocation failure.
1896 (main): Likewise.
1897 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
1898 IN_LIBGCC2.
1899 (dyn_string_init): Change return value to int. Handle
1900 RETURN_ON_ALLOCATION_FAILURE case.
1901 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
1902 (dyn_string_release): Delete the dyn_string.
1903 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
1904 (dyn_string_copy): Change return type to int.
1905 (dyn_string_copy_cstr): Likewise.
1906 (dyn_string_prepend): Likewise.
1907 (dyn_string_prepend_cstr): Likewise.
1908 (dyn_string_insert): Likewise.
1909 (dyn_string_insert_cstr): Likewise.
1910 (dyn_string_append): Likewise.
1911 (dyn_string_append_cstr): Likewise.
1912 (dyn_string_append_char): Likewise.
1913 (dyn_string_substring): Likewise.
ae7d06ad 1914
eb383413 19152000-06-09 Zack Weinberg <zack@wolery.cumb.org>
9cc28cc8 1916
eb383413
L
1917 * cp-demangle.c (demangle_operator_name): Add spaces before
1918 names beginning with a letter: delete, delete[], new, new[],
1919 sizeof.
1920 (demangle_special_name): Handle TF <type> and TJ <type>.
9cc28cc8 1921
eb383413
L
1922Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
1923
1924 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
1925
1926Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
1927
1928 * cp-demangle.c (stdio.h): File included unconditionaly.
1929 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
1930 * dyn-string.c (stdio.h): File included.
1931 * partition.c (partition_print): No `&' needed to take the address of
1932 a function.
1933
19342000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1935
1936 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
ae7d06ad 1937
eb383413
L
1938 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
1939
1940 * cp-demangle.c (demangle_char): Change parameter from char to int.
1941 (demangle_expression, demangle_expr_primary): Remove extra
1942 semi-colon in prototype.
1943
1944 * dyn-string.c (dyn_string_append_char): Change parameter from
1945 char to int.
1946
1947 * memcmp.c (memcmp): Constify.
1948
1949 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
1950 __extension__.
1951
1952 * partition.c (elem_compare): Prototype. Don't cast away
1953 const-ness.
1954
1955 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
ae7d06ad 1956
eb383413
L
19572000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1958
1959 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
1960
1961 * cp-demangle.c: Include demangle.h.
1962 (template_arg_list_new): DeANSIfy.
1963 (cp_demangle): Make static and add prototype.
1964 (operator_code, operators): Constify.
1965 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
1966
19672000-06-05 Alex Samuel <samuel@codesourcery.com>
1968
1969 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
1970 unsigned char.
1971 (demangle_unqualified_name): Likewise.
1972 (demangle_number_literally): Likewise.
1973 (demangle_type): Likewise.
1974 (demangle_substitution): Likewise.
1975 (is_mangled_char): Likewise, for isalnum.
1976
19772000-06-04 Alex Samuel <samuel@codesourcery.com>
1978
1979 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
1980 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
1981 (cp-demangle.o): New dependency.
1982 (dyn-string.o): Likewise.
1983
1984 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
1985
1986 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
1987 demangler.
1988 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
1989 demangling mode.
1990 (gnu_new_abi_symbol_characters): New function.
1991 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
1992 file.
1993 * cp-demangle.c: New file.
ae7d06ad 1994
f03aa80d
AC
1995Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
1996
1997 * floatformat.c: Add name to each floatformat field.
1998
77bfb694
JL
1999Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
2000
2001 * Makefile.in (objalloc.o): Depend on config.h
2002
5c82d20a
ZW
20032000-05-29 Zack Weinberg <zack@wolery.cumb.org>
2004
eb383413 2005 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
5c82d20a
ZW
2006 if HAVE_STRING_H.
2007 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
2008 * objalloc.c: Include config.h. Include stdlib.h and don't
2009 declare malloc or free if HAVE_STDLIB_H.
2010 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
2011 else declare malloc without prototype. Include string.h if
2012 HAVE_STRING_H, else declare memset without prototype. Don't
2013 include stddef.h.
2014
eb383413
L
20152000-05-23 Mike Stump <mrs@wrs.com>
2016
2017 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
8aefe91a 2018 -j3.
eb383413
L
2019
20202000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
2021
2022 * xmalloc.c: Include config.h for HAVE_SBRK definition.
2023
20242000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
2025
ae7d06ad 2026 * hashtab.c (hash_pointer): Delete low-order bits which are
eb383413
L
2027 probably zero, also eliminate a warning on alpha.
2028
20292000-05-15 David Edelsohn <edelsohn@gnu.org>
2030
2031 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
2032 on $(enable_shared).
2033
20342000-05-10 Jakub Jelinek <jakub@redhat.com>
2035
2036 * config.table: Use mh-sparcpic for sparc*-*-*.
2037
20382000-05-08 Nick Clifton <nickc@cygnus.com>
2039
2040 * Makefile.in (CFILES): Add strncmp.c.
2041 (NEEDED): Add strncmp.
2042
20432000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5c82d20a 2044
eb383413
L
2045 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
2046 Cast the arguments to `islower' to `unsigned char'.
2047 (print_demangler_list): Prototype.
2048
2049Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
2050
2051 * sort.c (UCHAR_MAX): Provide fallback definition.
2052
20532000-04-29 Alexandre Oliva <aoliva@cygnus.com>
010c70e1
AO
2054
2055 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
2056 SUBDIRS.
2057
eb383413
L
20582000-04-28 Kenneth Block <block@zk3.dec.com>
2059 Jason Merrill <jason@casey.cygnus.com>
2060
ae7d06ad
NC
2061 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
2062 (cplus_demangle_set_style): New function for setting style.
2063 (cplus_demangle_name_to_style): New function to translate name.
eb383413
L
2064
20652000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2066
2067 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
2068
2069 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
2070 (libiberty_AC_FUNC_STRNCMP): Invoke.
2071
2072 * strncmp.c: New file.
2073
2074Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
2075
2076 * hashtab.c (htab_expand): Add prototype.
2077 (find_empty_slot_for_expand): Likewise.
2078
20792000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2080
2081 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
2082 match prototype.
2083 (htab_expand): Cast the return value of xcalloc.
2084
20852000-04-24 Mark Mitchell <mark@codesourcery.com>
2086
2087 * hashtab.c (hash_pointer): New function.
2088 (eq_pointer): Likewise.
2089 (htab_hash_pointer): New variable.
2090 (htab_eq_pointer): Likewise.
2091
20922000-04-23 Mark Mitchell <mark@codesourcery.com>
2093
2094 * sort.c (sort_pointers): Fix endianness bugs.
2095
2096 * sort.c: New file.
2097 * Makefile.in (CFILES): Add sort.c
2098 (REQUIRED_OFILES): Add sort.o.
2099 (sort.o): New target.
2100
19be4303
JL
21012000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2102
2103 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
2104 4.3BSD systems.
2105
eb383413
L
2106Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2107
2108 * hashtab.c: Various minor cleanups.
2109 (htab_find_slot_with_hash): INSERT is now enum insert_option.
2110 (htab_find_slot): Likewise.
2111
21122000-04-16 Dave Pitts <dpitts@cozx.com>
2113
2114 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
ae7d06ad 2115
afe36a78
RH
21162000-04-05 Richard Henderson <rth@cygnus.com>
2117
2118 * splay-tree.c (splay_tree_remove): New.
2119
eb383413
L
21202000-03-30 Mark Mitchell <mark@codesourcery.com>
2121
2122 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
2123 codes.
2124 (htab_find_with_hash): Likewise.
2125 (htab_find_slot_with_hash): Likewise.
ae7d06ad 2126
eb383413
L
21272000-03-29 Zack Weinberg <zack@wolery.cumb.org>
2128
2129 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
2130 unless it will be used. Rearrange loop for better
2131 optimization.
2132 (higher_prime_number): Add static prototype.
2133
b4fe2683
JM
2134Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
2135
2136 * Makefile.in (partition.o): Depend on config.h
2137
21382000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
2139
2140 * hashtab.c (find_empty_slot_for_expand): New function.
2141 (htab_expand): Use it instead of htab_find_slot.
2142 (htab_find_with_hash): Renamed from htab_find; now accepts extra
2143 argument HASH.
2144 (htab_find_slot_with_hash): Likewise for htab_find_slot.
2145 (htab_find): New wrapper function.
2146 (htab_find_slot): Likewise.
2147 (htab_traverse): Pass slot, not entry, to called function.
2148
21492000-03-09 Alex Samuel <samuel@codesourcery.com>
2150
2151 * Makefile.in (CFILES): Add partition.c.
2152 (REQUIRED_OFILES): Add partition.o.
2153 (partition.o): New rule.
2154 * partition.c: New file.
ae7d06ad 2155
b4fe2683
JM
21562000-03-09 Zack Weinberg <zack@wolery.cumb.org>
2157
2158 * hashtab.c (htab_create): Set del_f.
2159 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
2160 Use it.
2161
21622000-03-08 Zack Weinberg <zack@wolery.cumb.org>
2163
2164 * hashtab.c: Remove debugging variables (all_searches,
2165 all_collisions, all_expansions). Delete
2166 all_hash_table_collisions.
2167 (create_hash_table, delete_hash_table, empty_hash_table,
2168 find_hash_table_entry, remove_element_from_hash_table_entry,
2169 clear_hash_table_slot, traverse_hash_table, hash_table_size,
2170 hash_table_elements_number, hash_table_collisions): Rename to:
2171 htab_create, htab_delete, htab_empty, htab_find_slot,
2172 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
2173 htab_elements, htab_collisions.
2174 (htab_find): New function, handles common case where you don't
2175 plan to add or delete an entry.
2176 (htab_expand): Don't create a whole new table, just a new
2177 entry vector.
2178 (htab_find_slot): Simplify logic.
2179
08372f14
ILT
21801999-08-03 Ian Lance Taylor <ian@zembu.com>
2181
2182 * floatformat.c: Add casts to avoid signed/unsigned warnings.
2183 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
2184
2185 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
2186 $(TARGETLIB)n so it works on MSDOS.
2187 (install_to_tooldir): Likewise.
2188
9c8ac5a9
ILT
21891999-07-21 Ian Lance Taylor <ian@zembu.com>
2190
2191 From Mark Elbrecht:
2192 * makefile.dos: Remove; obsolete.
8f36e47c 2193 * configure.bat: Remove; obsolete.
9c8ac5a9 2194
0c0a36a4
ILT
21951999-07-11 Ian Lance Taylor <ian@zembu.com>
2196
2197 * splay-tree.c (splay_tree_insert): Add initialization to avoid
2198 warning.
2199
22002000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2201
2202 * pexecute.c: Conditionally include string.h.
b4fe2683 2203 (fix_argv): Handle embedded whitespace in args for Mingw32.
0c0a36a4
ILT
2204
22052000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2206
2207 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
2208 we're using gcc.
2209
2210 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
2211
22121999-12-27 Geoff Keating <geoffk@cygnus.com>
2213
2214 * vasprintf.c (int_vasprintf): Don't re-read the format character
2215 as this mishandles strings like '%%s'.
2216
22171999-12-05 Mark Mitchell <mark@codesourcery.com>
2218
2219 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
2220 rather than struct splay_tree_node.
2221 (splay_tree_insert): Use struct splay_tree_s rather than struct
2222 splay_tree.
2223
2224Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
2225
2226 * hashtab.c (sys/types.h): File included.
2227
22281999-11-22 Jason Merrill <jason@casey.cygnus.com>
2229
2230 * strtoul.c, strtol.c, random.c: Remove advertising clause from
2231 BSD license, pursuant with
2232
2233 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
2234
2235Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
2236
2237 * hashtab.c: Include stdio.h.
2238
2239Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
2240
2241 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
2242
2243Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
2244
2245 * xstrdup (sys/types.h): Include this file.
2246
22471999-10-28 Nathan Sidwell <nathan@acm.org>
2248
2249 * Makefile.in (SUBDIRS): New macro.
2250 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
2251 avoid multiple subdirectory cleaning.
2252 (*-subdir): Use SUBDIRS.
2253
22541999-10-25 Jim Kingdon <http://developer.redhat.com/>
2255
2256 * cplus-dem.c: Move declarations of standard_symbol_characters and
2257 hp_symbol_characters inside #ifdef MAIN to avoid compiler
2258 warnings.
2259
22601999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
2261
2262 * hashtab.c (find_hash_table_entry): When returning a
2263 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
2264 (clear_hash_table_slot): New function which deletes an entry
2265 by its position in the table, not its value.
2266 (traverse_hash_table): New function which calls a hook
2267 function for every live entry in the table.
2268
22691999-10-19 Mark Mitchell <mark@codesourcery.com>
2270
2271 * cplus-dem.c (INTBUF_SIZE): New macro.
2272 (string_append_template_idx): New function.
2273 (demangle_expression): Likewise.
2274 (demangle_integral_value): Use it.
2275 (demangle_real_value): New function, split out from ...
2276 (demangle_template_value_parm): ... here. Use
2277 string_append_template_idx. Use demangle_real_value.
2278 (demangle_template): Use string_append_template_idx.
2279 (demangle_qualified): Use consume_count_with_underscores.
2280 (get_count): Tweak formatting.
2281 (do_type): Use string_append_template_idx.
b4fe2683 2282
0c0a36a4
ILT
22831999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2284
2285 * calloc.c: Add a public domain notice.
2286
2287Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
2288
2289 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
2290
2291Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
2292
2293 * Makefile.in (CFILES): Add hashtab.c
2294 (REQUIRED_OFILES): Add hashtab.o
2295 (hashtab.o): Add dependencies.
2296 * hashtab.c: New file
2297
2298Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
2299
2300 * basename.c (DIR_SEPARATOR): New macro.
2301 (DIR_SEPARATOR_2): Likewise.
2302 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
2303 (IS_DIR_SEPARATOR): Likewise.
2304 (main): Handle MSDOS style pathname.
2305
23061999-10-11 Mark Mitchell <mark@codesourcery.com>
2307
2308 * cplus-dem.c (do_type): Handle pointer to member types whose
2309 enclosing classes have namespace scope.
2310
2311Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
2312
2313 * config.table: Provide a backup shell for executing move-if-change.
2314
23151999-10-02 Mark Mitchell <mark@codesourcery.com>
2316
2317 * xmalloc.c (xmalloc): Fix spelling error.
2318 (xcalloc, xrealloc): Likewise.
2319
23201999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2321
2322 * cplus-dem.c (fancy_abort, demangle_integral_value,
2323 demangle_arm_hp_template, recursively_demangle,
2324 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
2325 (program_name, program_version, fatal): Constify a char*.
2326 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
2327 (main): Call return, not exit.
2328
23291999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2330
2331 * choose-temp.c: Remove obsolete comment about gcc.
2332 (make_temp_file): Constify a char*.
2333
2334Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2335
2336 * xmemdup.c: Include sys/types.h.
2337
23381999-09-07 Jeff Garzik <jgarzik@pobox.com>
2339
2340 * xmemdup.c: New xmemdup function.
2341 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
2342
2343Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
2344
b4fe2683 2345 * config.table: Add openedition target.
0c0a36a4
ILT
2346 * config/mh-openedition: New file.
2347
2348Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
2349
2350 * pexecute.c (pexecute): Fill in temp_base when needed.
2351
23521999-08-31 Richard Henderson <rth@cygnus.com>
2353
2354 * getpwd.c: Check HAVE_GETCWD before defining it away.
2355
23561999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2357
2358 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
2359 (REQUIRED_OFILES): Add getpwd.o.
2360 (getpwd.o): Add target.
2361
2362 * configure.in (AC_PREREQ): Bump to 2.13.
2363 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
2364
2365 * getpwd.c: New file, moved here from gcc.
2366
23671999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2368
2369 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
2370 comparing against a signed quantity.
2371 (arm_special): Likewise.
2372 (demangle_fund_type): Likewise.
2373 (do_hpacc_template_const_value): Mark parameter `work' with
b4fe2683 2374 ATTRIBUTE_UNUSED.
0c0a36a4
ILT
2375 (main): Constify variable `valid_symbols'.
2376
2377Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
2378
2379 * strtoul.c (strtoul): Add parentheses around && within ||.
2380
2381Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
2382
2383 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
2384 libdir, libsubdir and tooldir.
2385
23861999-08-01 Mark Mitchell <mark@codesourcery.com>
2387
2388 * splay-tree.c (splay_tree_insert): Return the new node.
2389
35ca97ea
RH
23901999-07-14 Richard Henderson <rth@cygnus.com>
2391
b4fe2683 2392 * argv.c: Include stdlib.h and string.h instead of
35ca97ea
RH
2393 prototyping directly.
2394 * choose-temp.c: Conditionally include string.h.
2395
0c0a36a4
ILT
23961999-07-12 Jason Merrill <jason@yorick.cygnus.com>
2397
2398 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
2399
af32ff69
ILT
24001999-07-11 Ian Lance Taylor <ian@zembu.com>
2401
2402 * splay-tree.c (splay_tree_insert): Add initialization to avoid
2403 warning.
2404
0c0a36a4
ILT
24051999-07-07 Jason Merrill <jason@yorick.cygnus.com>
2406
2407 * Makefile.in (needed-list): Only include stuff we actually need
2408 for libstdc++.
2409
24101999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2411
2412 * configure.in (checkfuncs): Add gettimeofday.
2413 * config.in, configure: Regenerated.
2414
2415Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
2416
2417 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
2418 the test fails.
2419 * configure: Regenerate.
2420
24211999-06-10 Mike Stump <mrs@wrs.com>
2422
2423 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
2424 parallel builds.
2425
24261999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2427
2428 * putenv.c: Include ansidecl.h to define `const'.
2429 * setenv.c: Likewise.
2430
2431Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
2432
2433 * Makefile.in (CFILES): Add putenv.c and setenv.c.
2434 * configure.in (funcs): Add putenv and setenv.
2435 (AC_CHECK_FUNCS): Check for putenv and setenv.
2436 * configure: Rebuilt.
2437 * putenv.c setenv.c: New files.
2438
2439 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
2440 bytes of space using malloc.
2441
2442Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
2443
2444 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
2445 the *mangled pointer beyond the end of the string. Clean up code to
2446 match prevailing coding style.
2447
24481999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2449
2450 * tmpnam.c (L_tmpnam): Fix typo.
2451
2452Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
2453
2454 * cplus-dem.c (standard_symbol_characters): Renamed from
2455 standard_symbol_alphabet. No longer modify TABLE.
2456 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
2457 modify TABLE.
2458 (main): Corresponding changes. Use strchr to determine if a
2459 character is valid.
2460
e9868447
JB
24611999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
2462
2463 * cplus-dem.c (main): Use table lookup to distinguish identifier
2464 characters from non-identifier characters.
2465 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
2466
33fbbfbc
RH
2467Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
2468
2469 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
2470 * getruntime.c: Only attempt to include sys/resource.h and
2471 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
2472 are defined.
2473
0c0a36a4
ILT
2474Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
2475
2476 * configure.in (alloca detection): Handle alloca directly for interix.
2477 * configure: Rebuilt.
2478
2479Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
2480
2481 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
2482
252b5132
RH
24831999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
2484
2485 Fix from Dale Hawkins:
b4fe2683 2486 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
252b5132
RH
2487 reallocated properly if we use it again.
2488
2489 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
2490 stricter about syntax. Always null-terminate string.
2491
c1687039
ILT
2492Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
2493
2494 * configure.in (checkfuncs): Check for sbrk.
2495 * config.in: Rebuilt.
2496 * configure: Likewise.
2497 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
2498
0c0a36a4
ILT
24991999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
2500
2501 Fix from Marcus Daniels:
2502 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
2503 identifier looking for another underscore.
2504
2505Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
2506
2507 * pexecute.c: Change all references to __UWIN__ to _UWIN.
2508 * xmalloc.c: Likewise.
2509 (xcalloc): UWIN has sbrk.
2510 (xrealloc): Fix guard macro.
2511
252b5132
RH
25121999-04-11 Richard Henderson <rth@cygnus.com>
2513
2514 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
2515 or <alloca.h>.
2516 * clock.c (GNU_HZ): New definition.
2517 (clock): Use it.
2518 * getruntime.c: Likewise.
2519
2520 * config.table: Use mh-beos.
2521 * config/mh-beos: New file.
2522
0c0a36a4
ILT
25231999-04-11 Mark Mitchell <mark@codesourcery.com>
2524
2525 * cplus-dem.c (demangle_template_value_parm): Handle
2526 pointers-to-members.
2527 (do_type): Handle template parameters as qualifiers.
2528
252b5132
RH
25291999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
2530
2531 * cplus-dem.c: Attempt to handle overflows in counts with some
2532 semblance of grace.
2533 (consume_count): Detect overflows. Return -1 to indicate errors,
2534 instead of zero.
2535 (demangle_template_value_parm, demangle_template): Handle change
2536 to consume_count's return convention.
2537
0c0a36a4
ILT
25381999-04-05 Tom Tromey <tromey@cygnus.com>
2539
2540 * testsuite/regress-demangle: New file.
2541 * testsuite/demangle-expected: New file.
252b5132 2542
0c0a36a4
ILT
2543 * Makefile.in (all, check, installcheck, info, install-info,
2544 clean-info, dvi, install, etags, tags, mostlyclean, clean,
2545 distclean, maintainer-clean, realclean): Depend on corresponding
2546 `-subdir' target.
2547 (all-subdir check-subdir installcheck-subdir info-subdir
2548 install-info-subdir clean-info-subdir dvi-subdir
2549 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
2550 distclean-subdir maintainer-clean-subdir): New target.
2551 * testsuite/Makefile.in: New file.
2552 * configure: Rebuilt.
2553 * configure.in: Create testsuite/Makefile.
252b5132
RH
2554
25551999-04-02 Mark Mitchell <mark@codesourcery.com>
2556
2557 * splay-tree.h (splay_tree_compare_pointers): Define.
2558
25591999-03-30 Mark Mitchell <mark@codesourcery.com>
2560
2561 * splay-tree.c (splay_tree_compare_ints): Define.
2562
25631999-03-30 Tom Tromey <tromey@cygnus.com>
2564
2565 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
2566 don't advance input pointer.
2567 (demangle_class_name): If consume_count didn't find a count, do
2568 nothing. Don't bother with `strlen' sanity check; consume_count
2569 does it for us.
2570
25711999-03-16 Stan Shebs <shebs@andros.cygnus.com>
2572
2573 From Art Haas <ahaas@neosoft.com>:
2574 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
2575 when doing arm or hp style.
2576 (demangle_nested_args): Decr forgetting_types field when done.
b4fe2683 2577
252b5132
RH
2578Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
2579
2580 * pexecute.c (__CYGWIN32__): Rename to
2581 (__CYGWIN__): this.
2582 * xmalloc.c: Likewise.
2583
2584 Changes to support i386-pc-uwin.
2585 * configure.in (*-*-uwin*): Workaround for vfork bug.
2586 * configure: Regenerate.
2587 * pexecute.c (pexecute): Be like standard Unix.
2588 (pwait): Likewise.
2589 * xmalloc.c (first_break): Define.
2590 (xmalloc_set_program_name): Use.
2591 (xmalloc): Use.
2592
2593Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2594
2595 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
2596
2597Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
2598
2599 * config.table: Check cygwin*, not cygwin32*.
2600
2601Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
2602
2603 * Makefile.in: Change mkstemp -> mkstemps.
2604
2605Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
2606
2607 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
2608 * configure.in (funcs): Check for and conditionally add mkstemps to
2609 the list of functions libiberty will provide.
2610 * configure: Rebuilt.
b4fe2683 2611
252b5132
RH
2612Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
2613
b4fe2683 2614 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
252b5132
RH
2615 platforms that don't have HZ.
2616 * getruntime.c (HZ): Likewise.
2617
2618Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
2619
2620 * Makefile.in (xstrdup.o): Depend on config.h.
2621
2622Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
2623
2624 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
2625 freeing it.
2626
2627Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2628
2629 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
2630
2631Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2632
2633 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
2634 splay-tree.o.
2635
26361999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
2637
2638 * configure.in: Require autoconf 2.12.1 or higher.
2639
26401998-12-30 Michael Meissner <meissner@cygnus.com>
2641
2642 * random.c (NULL): Don't redefine NULL if it is already defined.
2643
2644Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2645
2646 * argv.c (buildargv): Cast the result of alloca in assignment.
2647
2648 * choose-temp.c: Include stdlib.h.
2649
2650 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
8aefe91a
DD
2651 (snarf_numeric_literal): Constify first parameter.
2652 (code_for_qualifier): Avoid a gcc extension, make the parameter an
2653 int, not a char.
252b5132
RH
2654 (demangle_qualifier): Likewise.
2655 (demangle_signature): Cast the argument of a ctype function to
2656 unsigned char.
2657 (arm_pt): Add parens around assignment used as truth value.
2658 (demangle_arm_hp_template): Constify variable `args'.
2659 (do_hpacc_template_const_value): Cast the argument of a ctype
2660 function to unsigned char.
2661 (do_hpacc_template_literal): Remove unused variable `i'.
2662 (snarf_numeric_literal): Constify parameter `args'.
2663 Cast the argument of a ctype function to unsigned char.
2664
2665 * floatformat.c (floatformat_to_double): Add explicit braces to
8aefe91a 2666 avoid ambiguous `else'.
252b5132
RH
2667
2668 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
8aefe91a
DD
2669 `cstart' and `cend' to unsigned char. Cast the argument of macro
2670 `FOLD', which uses ctype functions, to unsigned char.
252b5132
RH
2671
2672 * objalloc.c (free): Add prototype.
2673
2674Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
2675
2676 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
2677
2678Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
2679
2680 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
8aefe91a 2681 doesn't exist.
252b5132 2682 (do_hpacc_template_literal): remove unused variable `i'.
b4fe2683 2683
252b5132
RH
2684Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2685
2686 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
2687 bumping the pointer we read from. Also prepend these codes,
2688 as we do in other places.
2689
26901998-12-18 Nick Clifton <nickc@cygnus.com>
2691
2692 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
2693 'const char *' in order to match its usage when calling siblings.
2694 (snarf_numeric_literal): Make first arg 'const char **' in order
2695 to match usage.
2696
2697Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2698
2699 * choose-temp.c: Don't check IN_GCC anymore.
2700
2701 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
2702 * memchr.c (memchr): Likewise.
2703 * memcpy.c (memcpy): Likewise.
2704 * memmove.c (memmove): Likewise.
2705
2706 * mkstemp.c: Don't check IN_GCC anymore.
2707 * pexecute.c: Likewise.
2708 * splay-tree.c: Likewise.
2709
2710 * strchr.c (strchr): Use `const', not `CONST'.
2711 * strrchr.c (strrchr): Likewise.
2712 * strtol.c (strtol): Likewise.
2713 * strtoul.c (strtoul): Likewise.
2714
2715Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
2716 Elena Zannoni <ezannoni@cygnus.com>
2717 Stan Shebs <shebs@cygnus.com>
2718 Edith Epstein <eepstein@cygnus.com>
2719 Andres MacLeod <amacleod@cygnus.com>
2720 Satish Pai <pai@apollo.hp.com>
2721
2722 * HP aCC demangling support.
2723 * cplus-dem.c
2724 (main): Remove default to HP style demangling, set to EDG
8aefe91a
DD
2725 demangling correctly when -edg specified; set the demangling style
2726 when user specifies 'edg'. Set strip_underscore to
2727 prepends_underscore, if not HPUXHPPA. Set
2728 current_demangling_style to hp_demangling if HPUXHPPA. Set
2729 current demangling style correctly if the switch is hp. Read
2730 label correctly also in the HP style case.
252b5132 2731 (work_stuff): add temp_start field; add field for volatile member
8aefe91a 2732 function.
252b5132 2733 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
8aefe91a 2734 style for this case is the same as ARM.
252b5132
RH
2735 (demangle_args): handle EDG_DEMANGLING style; support HP style.
2736 (demangle_arm_hp_template): new function. (It was
8aefe91a
DD
2737 demangle_arm_pt.); check and set value of temp_start field in
2738 multiple places. Also, when ceching for end of template args,
2739 check to see if at end of static member of template class.
252b5132 2740 (demangle_class): new local variable : save_class_name_end Don't
8aefe91a 2741 include template args in string defining class.
252b5132
RH
2742 (demangle_class_name): use demangel_arm_hp_template.
2743 (demangle_function_name): handle case where demangling style is
8aefe91a
DD
2744 HP_DEMANGLING and currently point at an 'X' in the mangled name.
2745 Handle EDG_DEMANGLING style. Handle constructor and destructor
2746 ops for HP style.
252b5132 2747 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
8aefe91a
DD
2748 styles. global destructor and constructor for HP style are same
2749 as for ARM style. Same for local variables.
252b5132
RH
2750 (demangle_qualified): handle EDG_DEMANGLING style.
2751 (demangle_signature): add case for volatile member function. For
8aefe91a
DD
2752 cases '1' - '9' : initialize the temp_start field to -1 and handle
2753 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
2754 and AUTO_DEMANGLING styles. If expecting a function and managed
2755 to demangle the funct args, then handle the LUCID_DEMANGLING,
2756 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
2757 class name after "Lnnn_ in HP style case. HP style too needs to
2758 forget types. _nnn is OK for HP style, so don't report failure.
252b5132 2759 (do_hpacc_template_const_value): new function. Handle template's
8aefe91a 2760 value param for HP/aCC.
252b5132 2761 (do_hpacc_template_literal): new function. Handle a template's
8aefe91a 2762 literal parameter for HP aCC.
252b5132
RH
2763 (recursively_demangle): new function
2764 (snarf_numeric_literal): new function.
2765 (usage): add 'edg' to the list of demangling styles; add hp switch
8aefe91a 2766 to message.
252b5132
RH
2767
2768Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
2769
2770 * pexecute.c: Remove obsolete ifdefed cygwin code.
2771
2772Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2773
2774 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
2775 * cplus-dem.c: Likewise. Conform to libiberty.h.
2776 * pexecute.c: Likewise.
2777 * splay-tree.c: Likewise.
2778
27791998-11-25 Mike Stump <mrs@wrs.com>
2780
2781 * Makefile.in (splay-tree.o): Add config.h dependency.
2782
2783Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2784
2785 * configure.in: Use AC_PREREQ(2.12.1).
2786
27871998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
2788
b4fe2683 2789 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
252b5132
RH
2790
2791Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
2792
2793 * mpw.c (mpw_access): Add missing parens.
2794
2795Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2796
2797 * configure.in: Call AC_HEADER_SYS_WAIT.
2798
2799 * pexecute.c: Include sys/wait.h when !IN_GCC.
2800
2801Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
2802
2803 * pexecute.c: revert back to checking old Cygwin
2804 preprocessor symbol until some time has passed.
2805
2806Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
2807
2808 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
2809 since it will now support similar constructs.
2810
2811Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2812
2813 * configure.in: Check for calloc.
2814
2815 * calloc.c: New file.
2816
2817 * xmalloc.c (xcalloc): New function.
2818
2819Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2820
2821 *cplus-dem.c (demangle_prefix): Use the last "__"
2822 in the mangled name when looking for the signature. This allows
2823 template names to begin with "__".
2824
28251998-11-08 Mark Mitchell <mark@markmitchell.com>
2826
2827 * cplus-dem.c (type_kind_t): Add tk_reference.
2828 (demangle_template_value_parm): Handle it.
2829 (do_type): Use it for references, instead of tk_pointer.
2830
2831 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
2832 not internal_cplus_demangle.
2833
2834Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2835
2836 * choose-temp.c: Don't include gansidecl.h.
2837 * mkstemp.c: Likewise.
2838 * pexecute.c: Likewise.
2839
2840Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
2841
b4fe2683
JM
2842 * configure.in: detect cygwin* instead of cygwin32*
2843 * configure: regenerate
252b5132
RH
2844
2845Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2846
2847 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
8aefe91a
DD
2848 whether to include config.h. Possibly include unistd.h in the
2849 !IN_GCC case. Define VFORK_STRING as a printable function call
2850 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
2851 defined, include vfork.h. If VMS is defined, define vfork()
2852 appropriately. Remove vfork check on USG, we're using autoconf.
2853 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
2854 locally what string to use.
252b5132
RH
2855
28561998-10-26 Mark Mitchell <mark@markmitchell.com>
2857
2858 * splay-tree.c: Tweak include directives to make sure declarations of
2859 xmalloc and free are available.
2860
28611998-10-25 Mark Mitchell <mark@markmitchell.com>
2862
2863 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
2864 anonymous namespaces.
2865
28661998-10-23 Mark Mitchell <mark@markmitchell.com>
2867
2868 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
2869 with type_quals.
2870 (TYPE_UNQUALIFIED): New macro.
2871 (TYPE_QUAL_CONST): Likewise.
2872 (TYPE_QUAL_VOLATILE): Likewise.
2873 (TYPE_QUAL_RESTRICT): Likewise.
2874 (code_for_qualifier): New function.
2875 (qualifier_string): Likewise.
2876 (demangle_qualifier): Likewise.
2877 (internal_cplus_demangle): Use them.
2878 (demangle_signature): Likewise.
2879 (demangle_template_value_parm): Likewise.
2880 (do_type): Likewise.
2881 (demangle_fund_type)): Likewise.
2882
2883Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2884
2885 * splay-tree.c (splay_tree_foreach_helper): Make definition static
2886 to match prototype.
2887
28881998-10-21 Mark Mitchell <mark@markmitchell.com>
2889
2890 * splay-tree.c: New file.
2891 * Makefile.in (CFILES): Add it.
2892 (REQUIRED_OFILES): Likewise.
2893 (splay-tree.o): Add dependencies.
2894
2895Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2896
2897 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
2898 range of 'K' index.
2899
2900Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2901
2902 * choose-temp.c: Prototype mkstemps() when IN_GCC.
2903
2904 * cplus-dem.c (consume_count): Cast argument of ctype macro to
2905 `unsigned char'.
2906 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
2907 comparing against one.
2908 (cplus_mangle_opname): Likewise.
2909 (demangle_integral_value): Cast argument of ctype macro to
2910 `unsigned char'.
2911 (demangle_template_value_parm): Likewise.
2912 (demangle_template): Initialize variable `bindex'. Cast the
2913 result of `strlen' to (int) when comparing against one. Remove
2914 unused variable `start_of_value_parm'.
2915 (demangle_class_name): Cast the result of `strlen' to (int) when
2916 comparing against one.
2917 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
2918 (gnu_special): Likewise. Cast the result of `strlen' to (int)
2919 when comparing against one.
2920 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
2921 (get_count): Likewise.
2922 (do_type): Likewise. Cast the result of `strlen' to (int) when
2923 comparing against one.
2924 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
2925 (demangle_function_name): Cast the result of `strlen' to (int)
2926 when comparing against one.
2927
2928 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
2929 comparing against one.
2930
2931Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
2932
b4fe2683
JM
2933 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
2934 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
2935 * config.in, configure: Rebuilt.
252b5132
RH
2936
2937 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
2938 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
2939 * config.in, configure: Rebuilt.
2940
2941Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
2942
b4fe2683 2943 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
252b5132
RH
2944
2945Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
2946
2947 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
2948
2949Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
2950
2951 * Merge egcs & devo libiberty.
2952