]> git.ipfire.org Git - thirdparty/gcc.git/blame - libiberty/ChangeLog
cp-demangle.c (d_encoding): Add top_level parameter.
[thirdparty/gcc.git] / libiberty / ChangeLog
CommitLineData
ad07f5e5
ILT
12003-11-22 Ian Lance Taylor <ian@wasabisystems.com>
2
3 * cp-demangle.c (d_encoding): Add top_level parameter. Change all
4 callers.
5 (print_usage): Display new -p option.
6 (long_options): Add --no-params.
7 (main): Accept and handle -p.
8
0ba5c8a2
ILT
92003-11-21 Ian Lance Taylor <ian@wasabisystems.com>
10
11 * cp-demangle.c (has_return_type): Skip qualifiers when checking
12 whether we have a template.
13 * testsuite/demangle-expected: Add four new tests.
14
bd6946d1
ILT
152003-11-20 Ian Lance Taylor <ian@wasabisystems.com>
16
9cca376f
ILT
17 * testsuite/demangle-expected: Minor changes to match output of
18 new demangler: adjust whitespace in four tests, and change order
19 of qualifiers in one test.
20
bd6946d1
ILT
21 * cp-demangle.c: Complete rewrite.
22
6df5a5c7
MM
232003-11-19 Mark Mitchell <mark@codesourcery.com>
24
25 * cp-demangle.c (demangle_type): Correct thinko in substitution
26 processing.
27
a9b571f2
ILT
282003-11-18 Ian Lance Taylor <ian@wasabisystems.com>
29
820555e6
ILT
30 * cp-demangle.c (demangle_operator_name): Remove space before
31 "sizeof".
32 (demangle_type_ptr): Put qualifiers in the right place. Handle
33 qualifiers in pointer to member specially.
34 (demangle_type): Handle qualifiers for pointer or reference
35 specially. Handle function type.
36 (demangle_local_name): Save and restore caret around demangling of
37 initial encoding.
38
c4328d32
ILT
39 * testsuite/test-demangle.c (main): Don't pass DMGL_VERBOSE to
40 cplus_demangle.
41
a9b571f2
ILT
42 * testsuite/Makefile.in (test-demangle): Depend upon libiberty.a.
43
ad37274a
AJ
442003-10-31 Andreas Jaeger <aj@suse.de>
45
46 * floatformat.c (floatformat_always_valid): Add unused attribute.
47
27eb8ab1
JZ
482003-10-30 Josef Zlomek <zlomekj@suse.cz>
49
50 Jan Hubicka <jh@suse.cz>
51 * vasprintf.c (int_vasprintf): Pass va_list by value.
52 Use va_copy for copying va_list.
53 (vasprintf): Pass va_list by value.
54
e0432c1c
JZ
552003-10-30 Josef Zlomek <zlomekj@suse.cz>
56
57 * hashtab.c (htab_find_slot_with_hash): Decrease n_deleted
58 instead of increasing n_elements when inserting to deleted slot.
59
08c5b96d
B
602003-10-20 J. Brobecker <brobecker@gnat.com>
61
62 * cplus-dem.c (demangle_template): Register a new Btype only
63 when needed.
64 * testsuite/demangle-expected: Add a new test.
65
968e3f93
L
662003-10-16 H.J. Lu <hongjiu.lu@intel.com>
67
68 * testsuite/demangle-expected: Update the expected output of
69 _GLOBAL__I__Z2fnv.
70
bca48dc6
DJ
712003-10-02 Daniel Jacobowitz <drow@mvista.com>
72
73 * strerror.c: Revert last change. Declare static sys_nerr
74 and sys_errlist using different names.
75
b9e8f4b3
DJ
762003-10-01 Daniel Jacobowitz <drow@mvista.com>
77
78 * strerror.c: Don't provide or reference sys_errlist if
79 strerror is available.
80
c0590bfd
L
812003-10-01 H.J. Lu <hongjiu.lu@intel.com>
82
83 * configure.in: Check if $MAKEINFO is missing.
84 * configure: Regenerated.
85
b033df90
DJ
862003-09-24 Daniel Jacobowitz <drow@mvista.com>
87
88 * configure.in: Use AC_PROG_CPP_WERROR.
89 * configure: Regenerated.
90
83c07342
AC
912003-09-22 Andrew Cagney <cagney@redhat.com>
92
93 * floatformat.c (floatformat_i387_ext_is_valid): New function.
94 (floatformat_always_valid): New function.
95 (floatformat_i387_ext): Initialize new "is_valid" field to
96 "floatformat_i387_ext_is_valid".
97 (floatformat_ieee_single_little): Initialize "is_valid" field to
98 floatformat_always_valid.
99 (floatformat_ieee_double_big): Ditto.
100 (floatformat_ieee_double_little): Ditto.
101 (floatformat_ieee_double_little): Ditto.
102 (floatformat_ieee_double_littlebyte_bigword): Ditto.
103 (floatformat_i960_ext): Ditto.
104 (floatformat_m88110_ext): Ditto.
105 (floatformat_m88110_harris_ext): Ditto.
106 (floatformat_arm_ext_big): Ditto.
107 (floatformat_arm_ext_littlebyte_bigword): Ditto.
108 (floatformat_ia64_spill_big): Ditto.
109 (floatformat_ia64_spill_little): Ditto.
110 (floatformat_ia64_quad_big): Ditto.
111 (floatformat_ia64_quad_little): Ditto.
112 (floatformat_ia64_quad_little): Ditto.
113 (floatformat_is_valid): Call "is_valid".
114
c9fbef12
AC
1152003-09-15 Andrew Cagney <cagney@redhat.com>
116
117 * floatformat.c (get_field): Make "data" constant.
118 (floatformat_is_valid, floatformat_to_double): Make "from"
119 constant, fix casts.
120 (floatformat_from_double): Make "from" constant.
121
9c8860c3
DJ
1222003-09-15 Daniel Jacobowitz <drow@mvista.com>
123
124 * floatformat.c (floatformat_is_valid): New function.
125 (get_field, put_field): Correct comments.
126
13f7d3a1
JZ
1272003-09-06 Josef Zlomek <zlomekj@suse.cz>
128
129 * fibheap.c (fibheap_replace_key_data): Change type of OKEY to
130 FIBHEAPKEY_T.
131
03eec143 1322003-09-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
86d75906
JDA
133
134 PR bootstrap/12100
135 * aclocal.m4 (AC_LANG_FUNC_LINK_TRY): Define.
136 * configure: Rebuilt.
137
238235ef
DJ
1382003-08-27 Daniel Jacobowitz <drow@mvista.com>
139
140 * aclocal.m4: Include acx.m4 and no-executables.m4.
141 (libiberty_AC_FUNC_STRNCMP): Use AC_LIBOBJ.
142 (LIB_AC_PROG_CC): Remove.
143 * configure.in: Update AC_PREREQ to 2.57. Use GCC_NO_EXECUTABLES.
144 Use AC_PROG_CC and set ac_libiberty_warn_cflags instead of using
145 LIB_AC_PROG_CC. Use AC_LIBOBJ. Call AC_ISC_POSIX later, only if
146 performing link tests.
147 * configure: Regenerated.
148
2b81b2c9
NN
1492003-08-12 Nathanael Nerode <neroden@gcc.gnu.org>
150
151 * cp-demangle.c: Clarify what package(s) this is part of.
152
7b96f3e4
DS
1532003-07-05 Danny Smith <dannysmith@users.sourceforge.net>
154
155 * pex-win32.c (pexecute): Mark parameters this_pname and
156 temp_base as unused. Remove unused variables retries,
157 sleep_interval. Initialize org_stdin, org_stdout.
158 (pwait): Mark parameter flags as unused.
159
1602003-07-02 Danny Smith <dannysmith@users.sourceforge.net>
bacb96b2
DS
161
162 * pex-win32.c (fix_argv): Ensure that the executable pathname
163 uses Win32 backslashes.
164 (pexecute): Cast away constness when assigning *errmsg_arg.
165
6f8507b1
L
1662003-06-26 H.J. Lu <hongjiu.lu@intel.com>
167
168 * testsuite/demangle-expected: Add more GNU V3 testcases.
169
21299dbd
ZW
1702003-06-22 Zack Weinberg <zack@codesourcery.com>
171
172 * safe-ctype.c: Use HOST_CHARSET_ASCII and HOST_CHARSET_EBCDIC,
173 not HC_ASCII and HC_EBCDIC.
174 Add documentation in form expected by gather-docs.
175 * hex.c: Use HOST_CHARSET, not hand-coded check of character set.
176 * Makefile.in, functions.texi: Regenerate.
177
7468e0b5
ZW
1782003-06-21 Zack Weinberg <zack@codesourcery.com>
179
180 * safe-ctype.c: Separate out EOF==-1 check. Use HOST_CHARSET
181 for charset determination.
182
cf8e4b78
DH
1832003-06-19 Dara Hazeghi <dhazeghi@yahoo.com>
184
185 * configure.in: Add check for malloc.h needed by
186 m68k for function free().
187 * configure: Regenerated.
188 * config.in: Add HAVE_MALLOC_H.
189 * hashtab.c: include malloc.h were available for
190 free().
191
aa9dc53d 1922003-06-09 Albert Chin-A-Young <china@thewrittenword.com>
7468e0b5 193
aa9dc53d
ACY
194 PR bootstrap/10974
195 * physmem.c: Update comment.
196 * configure.in: Modify test for _system_configuration for older
197 AIX systems.
198
199 * config.in, configure: Regenerated.
7468e0b5 200
8191fe81
JDA
2012003-06-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
202
203 PR other/10810
204 * test-demangle.c (getline): Fix fence-post error.
205
8d398258
NC
2062003-06-03 Nick Clifton <nickc@redhat.com>
207
208 * asprintf.c: Change comment to note that -1 is returned upon
209 error.
210 * vasprintf.c: Likewise.
211 (vasprintf): Return -1 upon error.
212 * functions.texi: Document changes to asprintf and vasprintf.
213
29ad6d3f
KC
2142003-05-19 Kelley Cook <kelleycook@wideopenwest.com>
215
216 * config.table: Accept i[345867]86 variant.
217
49a19cfd
JB
2182003-05-15 Jim Blandy <jimb@redhat.com>
219
220 * hex.c (_hex_value): Make this unsigned.
221 (hex_value): Update documentation for new return type. hex_value
222 now expands to an unsigned int expression, to avoid unexpected
223 sign extension when we store it in a bfd_vma, which is larger than
224 int on some platforms.
225 * functions.texi: Regenerated.
226
d5d4eae2
JZ
2272003-05-07 Josef Zlomek <zlomekj@suse.cz>
228
229 * splay-tree.c (splay_tree_predecessor): Fix comment.
230 (splay_tree_successor): Fix comment.
231
5cc5a0d0
JM
2322003-05-07 Jason Merrill <jason@redhat.com>
233
9d70d418 234 * hashtab.c (iterative_hash): New fn.
5cc5a0d0
JM
235 * configure.in: Add AC_C_BIGENDIAN_CROSS.
236 * aclocal.m4: Include accross.m4.
237 * configure, config.in: Regenerate.
238
05c30f22
KG
2392003-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
240
241 * configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
242 * configure: Regenerate.
243
41fe9404
CW
2442003-05-03 Carlo Wood <carlo@alinoe.com>
245
246 * cp-demangle.c: Fix typo in "char_traints" string-literal.
247
52dd3224
KG
2482003-04-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
249
250 * vsnprintf.c (vsnprintf): Don't pad string with extra nulls.
251 (main): Test that we don't write too much data.
252
bd3fbc6b
KG
2532003-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
254
255 * configure.in (funcs, AC_CHECK_FUNCS): Add snprintf and
256 vsnprintf.
257 * snprintf.c, vsnprintf.c: New files.
258 * Makefile.in (CFILES): Add snprintf.c and vsnprintf.c.
259 (CONFIGURED_OFILES): Add snprintf.o and vsnprintf.o.
260 Regenerate dependencies.
261
262 * functions.texi, configure, config.in: Regenerated.
263
029bcc09
KG
2642003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
265
266 * mempcpy.c, stpcpy.c, stpncpy.c: New files.
267 * configure.in (funcs, AC_CHECK_FUNCS): Add mempcpy, stpcpy
268 and stpncpy.
269 * Makefile.in (CFILES): Add mempcpy.c, stpcpy.c and stpncpy.c.
270 (CONFIGURED_OFILES): Add mempcpy.o, stpcpy.o and stpncpy.o.
271 Regenerate dependencies.
272
273 * functions.texi, configure, config.in: Regenerated.
274
c9ac9147
KG
2752003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
276
277 * argv.c: Fix comments.
278 * calloc.c: Don't unnecessarily include "libiberty.h".
279 (bzero): Add prototype.
280 * floatformat.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
281 * getcwd.c (getcwd): Use standard definition to avoid conflicts
282 with system headers.
283 * hashtab.c (htab_traverse): Delete unused variables.
284 * rename.c: Include "ansidecl.h".
285 (rename): Use standard definition to avoid conflicts with system
286 headers.
287 * strsignal.c: Rely on ANSI_PROTOTYPES.
288 * strstr.c: Check GNUC >= 2, not GNUC == 2.
289 * vfprintf.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
290 * vprintf.c: Include "ansidecl.h" earlier, rely on
291 ANSI_PROTOTYPES.
292 * vsprintf.c: Include "ansidecl.h" earlier, rely on
293 ANSI_PROTOTYPES and possibly include <stdarg.h>.
7468e0b5 294
c9ac9147
KG
295 * Makefile.in: Regenerate dependencies.
296
98475c57
DD
2972003-04-15 DJ Delorie <dj@redhat.com>
298
299 * maint-tool (deps): Scan for headers in $srcdir also.
300
55adc7bd
KG
3012003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
302
303 PR target/10338
304 PR bootstrap/10198
305 PR bootstrap/10140
306 * getopt.c (exchange, _getopt_initialize): Use mempcpy not
307 __mempcpy.
308 * regex.c (regerror): Likewise.
309
0ae0f1b0
RS
3102003-04-14 Roger Sayle <roger@eyesopen.com>
311
312 * argv.c: Use ANSI_PROTOTYPES instead of __STDC__.
313 * memchr.c: Likewise.
314 * strcasecmp.c: Likewise.
315 * strncasecmp.c: Likewise.
316 * strncmp.c: Likewise.
317 * xatexit.c: Likewise.
318 * xmalloc.c: Likewise.
319
320 * copysign.c: Use traditional function declaration instead of DEFUN.
321 * sigsetmask.c: Likewise.
322
323 * memcmp.c: Both of the above, ANSI_PROTOTYPES and DEFUN.
324 * memset.c: Likewise.
325
326 * memcpy.c: ANSI_PROTOTYPES, DEFUN and prototype bcopy.
327 * memmove.c: Likewise.
328
88702c45
RS
3292003-04-14 Roger Sayle <roger@eyesopen.com>
330
331 * strdup.c (strdup): Tweak implementation to use memcpy.
332
39e8d049
KG
3332003-04-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
334
335 * configure.in (HAVE_UINTPTR_T): Always define.
336 * configure: Regenerated.
337
9f2e0608
AO
3382003-03-23 Alexandre Oliva <aoliva@redhat.com>
339
340 * Makefile.in (MULTIOSDIR): New macro. Use $(CC) $(LIBCFLAGS)
341 instead of $$CC alone.
342 (install_to_tooldir): Use it.
343
dbccdc42
JH
3442003-17-03 Jan Hubicka <jh@suse.cz>
345
346 * hashtab.c (htab_traverse_noresize): Break out from ...
347 * hashtab.c (htab_traverse): ... here.
348
0a8e3de3
JH
3492003-12-03 Jan Hubicka <jh@suse.cz>
350
cd22e4af
JH
351 * hashtab.c (htab_expand): Fix warning.
352
0a8e3de3
JH
353 * hashtab.c (htab_expand): Compute the size of hashtable based
354 on the number of elements actually used.
355 (htab_traverse): Call htab_expand when table is too empty.
356
8fe85775
CW
3572003-03-11 Carlo Wood <carlo@gnu.org>
358
359 * cplus-dem.c (demangle_integral_value): Correction to reflect
360 patch of 2002-01-10 in order to also make negative multi-digits
361 without leading underscore work.
362
3bf27822
MM
3632003-03-03 Mark Mitchell <mark@codesourcery.com>
364
365 * cplus-dem.c: Add license exception to copyright notice.
366
434fa0b8
KG
3672003-02-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
368
369 * physmem.c: Formatting changes from upstream.
370
ed935c35
DS
3712003-02-24 Danny Smith <dannysmith@users.source.forge.net>
372
373 * physmem.c (physmem_total): Add _WIN32 support.
374 (physmem_available): Likewise.
375
7f9fc006
RO
3762003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
377
378 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
379 GSI_PHYSMEM.
380 (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS.
381
d47f75c4
KG
3822003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
383
384 * configure.in: Check for sys/systemcfg.h and
385 _system_configuration.
386 * physmem.c: Add support for AIX. Tweek formatting as per
387 upstream coreutils beta.
388
170230b7
KG
3892003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
390 Richard Earnshaw <rearnsha@arm.com>
391 Geoffrey Keating <geoffk@apple.com>
7468e0b5 392
170230b7
KG
393 * configure.in: Check for sys/sysctl.h and sysctl.
394 * physmem.c: Add support for *bsd and darwin.
395 * Makefile.in: Generate depedency for physmem.o.
396
4a06f7f2
RO
3972003-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
398
399 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on
400 Tru64 UNIX.
401 (physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on
402 Tru64 UNIX.
403
404 * configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h,
405 machine/hal_sysinfo.h, sys/table.h.
406 (checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table.
407 * configure, config.in: Regenerate.
408
64c7e556
KG
4092003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
410
411 * configure.in: Check for sys/sysmp.h and sysmp.
412 * physmem.c: Pull upstream copy, add support for irix6.
413
414 * config.in, configure: Regenerated.
415
e9019af6
KG
4162003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
417
418 * physmem.c (physmem_total, physmem_available): De-ANSI-fy.
419 * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and
420 pstat_getdynamic.
7468e0b5 421
a354191e
KG
4222003-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
423
424 * Makefile.in (CFILES): Add physmem.c.
425 (REQUIRED_OFILES): Add physmem.o.
426 * configure.in: Check for sys/pstat.h.
427 (checkfuncs): Add pstat_getstatic and pstat_getdynamic.
428 * physmem.c: New file, copied from textutils.
429
430 * config.in, configure: Regenerated.
431
4876b2b4
DJ
4322003-02-20 Daniel Jacobowitz <drow@mvista.com>
433
434 * Makefile.in (CFILES): Add lrealpath.c.
435 (REQUIRED_OFILES): Add lrealpath.o.
436 (lrealpath.o): Add rule.
437 * aclocal.m4 (libiberty_NEED_DECLARATION): Add.
438 * configure.in: Add realpath and canonicalize_file_name to
439 checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION
440 for canonicalize_file_name.
441 * lrealpath.c: New file.
442 * make-relative-prefix.c: Update documentation.
443 (make_relative_prefix): Simplify. Use lbasename and lrealpath.
444 * config.in: Regenerated.
445 * configure: Regenerated.
446 * functions.texi: Regenerated.
447
e182f0a3 4482003-02-20 jmc <jmc@prioris.mini.pw.edu.pl>
449
450 * cplus_dem.c: Fix typo: intializes -> initializes.
451
3343fdd2
AO
4522003-02-20 Alexandre Oliva <aoliva@redhat.com>
453
454 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
455 config.status.
456 * configure: Rebuilt.
457
902cf50c
DJ
4582003-02-13 Daniel Jacobowitz <drow@mvista.com>
459
460 Fix PR c++/7612.
461 * cplus-dem.c (demangle_signature): Call string_delete.
462 Remove extra string_init.
463 (demangle_arm_hp_template): Call string_delete instead of
464 string_clear. Add missing string_delete call.
465 (demangle_qualified): Add missing string_delete call.
466 (do_type): Remove unused variable btype. Add missing string_delete
467 call. Call string_delete instead of string_clear.
468 (demangle_fund_type): Move variable btype inside of the switch
469 statement. Add missing string_delete call.
470 (do_arg): Call string_delete instead of string_clear. Remove extra
471 string_init.
472 (demangle_nested_args): Free work->previous_argument.
473
7ac27e08
KG
4742003-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
475
476 * acconfig.h: New file. Add uintptr_t.
477 * config.in: Regenerated.
478
b3a8389d
JM
4792003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
480
481 * libiberty.texi: Update to GFDL 1.2.
482
d8c22ce7
CC
4832003-01-30 Christian Cornelssen <ccorn@cs.tu-berlin.de>
484
485 * Makefile.in (libiberty_topdir): New subst.
486 (mkinstalldirs): Redefine in terms of the above.
487 * configure.in: AC_SUBST it.
488 * configure: Regenerate.
489
4ce1921a
CC
4902003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de>
491
492 * Makefile.in (all-subdir, check-subdir, installcheck-subdir)
493 (info-subdir, install-info-subdir, clean-info-subdir)
494 (dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
495 (clean-subdir, distclean-subdir, maintainer-clean-subdir):
496 Pass $(FLAGS_TO_PASS).
497
93239fdb
AO
4982003-01-27 Alexandre Oliva <aoliva@redhat.com>
499
500 * Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
501 /`$$CC -print-multi-os-directory`.
502
74828682
DJ
5032003-01-26 Daniel Jacobowitz <drow@mvista.com>
504
505 * hashtab.c (htab_create_alloc_ex): New function.
506 (hatab_set_functions_ex): New function.
507 (htab_delete, htab_expand): Support alternate allocation functions.
508
ece0e59f
CF
5092003-01-24 Christopher Faylor <cgf@redhat.com>
510
511 * configure.in: Remove special pex-cygwin consideration.
512 * configure: Regenerate.
513 * pex-cygwin.c: Remove.
514 * Makefile.in: Remove pex-cygwin.[co] lines.
515
55d0e5e0
ZW
5162003-01-24 Zack Weinberg <zack@codesourcery.com>
517
518 * Makefile.in (CFILES): Add pex-*.c.
519 (REQUIRED_OFILES): Change pexecute.o to @pexecute@
520 (CONFIGURED_OFILES): Add pex-*.o.
521 (TEXIFILES): Add pexecute.txh.
522 (pexecute.o): Delete rule.
523 (pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o,
524 pex-unix.o, pex-win32.o): New rules.
525 * configure.in: Change AC_INIT argument to xmalloc.c.
526 Compute appropriate pexecute implementation and substitute it
527 as @pexecute@.
528
529 * pexecute.c: Split up into...
530 * pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c,
531 pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these
532 new files.
533
534 * functions.texi: Regenerate.
535 * configure: Regenerate.
536
120cdf68
JZ
5372003-01-20 Josef Zlomek <zlomekj@suse.cz>
538
539 * hashtab.c (htab_expand): Fix allocation of new entries.
540
90e5b39f
CC
5412003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
542
543 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
544
d7082cd7
CC
545 * Makefile.in (install_to_libdir, install_to_tooldir): Add a
546 mkinstalldirs command.
547
eaed9290
DS
5482002-12-04 Danny Smith <dannysmith@users.sourceforge.net>
549
550 * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
551 Define for hosts with HOST_EXECUTABLE_SUFFIX.
552
ef4e4181
NC
5532002-11-24 Nick Clifton <nickc@redhat.com>
554
555 * make-relative-prefix.c (make_relative_prefix): Ensure return
556 string is empty before using strcat to construct it.
557
42766f8d
DJ
5582002-11-22 Daniel Jacobowitz <drow@mvista.com>
559
560 * Makefile.in: Add make-relative-prefix.c.
561 * make-relative-prefix.c: New file.
562 * functions.texi: Rebuilt.
563
783080ab
JJ
5642002-11-16 Jakub Jelinek <jakub@redhat.com>
565
566 * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
567 used with arguments in traditional C' warnings.
568
7da64d7a
JJ
5692002-10-16 Jakub Jelinek <jakub@redhat.com>
570
571 * config.table: Use mh-s390pic for s390x too.
572
de78f58b
AJ
5732002-10-06 Andreas Jaeger <aj@suse.de>
574
575 * libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded
576 variable and of strict-aliasing warning.
577 (grow_vect): Use char as first parameter.
578
6c5d742e
KG
5792002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
580
581 * Makefile.in (all): Fix multilib parallel build.
582
f08b7eee
JDA
5832002-09-19 John David Anglin <dave@hiuly1.hia.nrc.ca>
584
585 * cp-demangle.c (demangling_new): Cast 0 to enum.
586 (demangle_char): Cast return of strdup to char *.
587 (is_gnu_v3_mangled_ctor): Cast 0 to enum.
588 (is_gnu_v3_mangled_dtor): Likewise.
589 * cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
590 (work_stuff_copy_to_from): Cast return of xmalloc to char **.
591 * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
592 * md5.c (md5_process_bytes): Cast results back to const void *.
593 (md5_process_block): Add cast to const md5_uint32 *.
594 * regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
595 * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
596 unsigned short.
597 * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
598 to void *.
599 * vasprintf.c (int_vasprintf): Cast return of malloc to char *.
600
8d87f295
NC
6012002-09-19 Nick Clifton <nickc@redhat.com>
602
603 * README: Update email addresses for bugs and patches.
604
6eedb9ca
MS
6052002-09-10 Mike Stump <mrs@apple.com>
606
607 * splay-tree.c (splay_tree_successor): Fix comments.
608
3fd9d606
ZW
6092002-09-11 Zack Weinberg <zack@codesourcery.com>
610
b2196e8f 611 * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
3fd9d606
ZW
612 * testsuite/Makefile.in: Adjust for test-demangle.
613 * testsuite/regress-demangle: Deleted.
614 * testsuite/test-demangle.c: New file.
615 * testsuite/demangle-expected: Change \$ to $ throughout, now that
616 this file is not being read by a shell script.
617
70c4e67a
RS
6182002-09-05 Roger Sayle <roger@eyesopen.com>
619
620 * regex.c: Only use "#pragma alloca" on AIX when not using gcc.
621
65b91091
DD
6222002-08-07 DJ Delorie <dj@redhat.com>
623
624 * regex.c (re_error_msgid): Just use a simple array of strings.
625 (re_compile_pattern): Compensate.
626 (re_comp): Likewise.
627 (re_comp): Likewise.
628 (regerror): Likewise.
629
437974a9
NB
6302002-07-29 Neil Booth <neil@daikokuya.co.uk>
631
632 * cplus-dem.c (PREPEND_BLANK): Remove.
de78f58b 633
28a34ec1
JM
6342002-07-10 Jason Merrill <jason@redhat.com>
635
636 * cp-demangle.c (demangle_identifier): Support extended Unicode
637 characters.
638
84326592
KG
6392002-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
640
641 * cp-demangle.c (demangle_v3_with_details): Wrap in
de78f58b 642 !defined IN_GLIBCPP_V3.
84326592 643
5d69ba1f
MM
6442002-07-01 Mark Mitchell <mark@codesourcery.com>
645
646 * cp-demangle.c (demangle_operator_name): Add type_arg parameter.
647 Set it for the "st" operator.
648 (demangle_expression): Handle expressions with types as arguments.
649
7fda878c
DR
6502002-06-30 Douglas Rupp <rupp@gnat.com>
651
652 * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
653 * Makefile.in (OUTPUT_OPTION): Use.
654
112bae77
PB
6552002-06-22 Peter Breitenlohner <peb@mppmu.mpg.de>
656
657 * Makefile.in (install_to_libdir): Add $(DESTDIR).
658 (install_to_tooldir): Likewise.
659
53309d5c
DR
6602002-06-17 Douglas Rupp <rupp@gnat.com>
661
662 * lbasename.c: Add 2002 to copyright.
663 (IS_DIR_SEPARATOR): Remove VMS junk.
664
045b3a49
GK
6652002-06-05 Geoffrey Keating <geoffk@redhat.com>
666
667 * hashtab.c (htab_create): New stub function for backward
668 compatibility.
669 (htab_try_create): Likewise.
670
e2500fed
GK
6712002-06-03 Geoffrey Keating <geoffk@redhat.com>
672
673 * hashtab.c (htab_create): Delete.
674 (htab_try_create): Delete.
675 (htab_create_alloc): New.
676 (htab_delete): Support user-specified memory allocation.
677 (htab_expand): Likewise.
678
9f3dbd92
RL
6792002-05-22 Roman Lechtchinsky <rl@cs.tu-berlin.de>
680
681 * configure.in: Fix typo in the code checking for sys_errlist.
682 * configure: Regenerated.
683
e4723404
AS
6842002-05-13 Andreas Schwab <schwab@suse.de>
685
686 * config.table: Use mh-x86pic also for x86-64.
687
6706f116
AO
6882002-05-08 Alexandre Oliva <aoliva@redhat.com>
689
690 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
691 script entry, and set LD to it when configuring multilibs.
692 * configure: Rebuilt.
693
deae2ed9
MM
6942002-05-07 Mark Mitchell <mark@codesourcery.com>
695
696 * configure.in (AC_TYPE_PID_T): Use it.
697 * configure: Regenerated.
698 * getruntime.c: Include <sys/types.h>.
699 * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid".
700
4fc4e478
RH
7012002-04-09 Richard Henderson <rth@redhat.com>
702
703 * hashtab.c (higher_prime_number): Use 7 as minimum.
704 (find_empty_slot_for_expand): Don't compute hash2 unless needed.
705 (htab_find_slot_with_hash): Likewise.
706
bd7e6f2d
PE
7072002-04-01 Phil Edwards <pme@gcc.gnu.org>
708
709 * cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
710 (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally
711 not compile if IN_GLIBCPP_V3 defined.
712 * dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme.
713
a8f55e51
BM
7142002-03-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
715
de78f58b 716 * cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
a8f55e51
BM
717 if it is NULL.
718
96adcacb
DD
7192002-03-27 DJ Delorie <dj@redhat.com>
720
721 * hex.c: Add documentation.
722 (_hex_value): Provide non-ASCII empty table.
723 (hex_init): Initialize the non-ASCII table.
724 * functions.texi: Regenerate.
725
2b613c6a
MM
7262002-03-27 Mark Mitchell <mark@codesourcery.com>
727
728 * dyn-string.c: Add libgcc exception to copyright notice.
729
cd862df8
L
7302002-03-26 H.J. Lu (hjl@gnu.org)
731
732 * config.table: Support --with-build-subdir.
733 * configure.in: Likewise.
734 * configure: Rebuild.
735
ed300793
SG
7362002-03-18 Stuart Griffith <Stuart_Griffith@credence.com>
737
738 * strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
739 seen.
740
b3dd43df
MM
7412002-03-12 Mark Mitchell <mark@codesourcery.com>
742
743 * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
744 notice.
745
50c74579
DR
7462002-03-11 Douglas B Rupp <rupp@gnat.com>
747
748 * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
749
957978a4
JB
7502002-03-06 Jim Blandy <jimb@redhat.com>
751
752 * splay-tree.c (splay_tree_xmalloc_allocate,
753 splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
754 prototyped definitions. Mark `data' arguments as unused.
755
ccc49bed
AC
7562002-03-06 Andrew Cagney <ac131313@redhat.com>
757
758 * floatformat.c (floatformat_arm_ext_big): Delete definition.
759
48d7db63
PE
7602002-03-04 Phil Edwards <pme@gcc.gnu.org>
761
762 * configure.in: Add --enable-install-libiberty option.
763 * Makefile.in (INSTALLED_HEADERS): New variable.
764 (install_to_libdir): Possibly also copy headers.
765 * configure: Regenerated.
766
af18e951
NB
7672002-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
768
769 * xmalloc.c (xmalloc_fail): Clarify error message further.
770
d8d7c3c3
NB
7712002-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
772
773 * xmalloc.c (xmalloc_fail): Clarify error message.
774
00c2f96f
JB
7752002-02-22 Jim Blandy <jimb@redhat.com>
776
777 * splay-tree.c (splay_tree_xmalloc_allocate,
778 splay_tree_xmalloc_deallocate): New functions.
779 (splay_tree_new): Call splay_tree_new_with_allocator, passing the
780 above functions and a dummy data pointer.
781 (splay_tree_new_with_allocator): New function.
782 (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
783 splay_tree_remove): Use the splay tree's allocation and
784 deallocation functions.
785
b1c1a22f
SS
7862002-02-19 Scott Snyder <snyder@fnal.gov>
787
788 * testsuite/demangle-expected: Add test case for infinite loop in
789 demangler.
790 * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
791 if do_type() doesn't make any progress --- prevents an infinite
792 loop.
793
336669e7
CW
7942002-02-18 Carlo Wood <carlo@gnu.org>
795
796 PR c++/5390
797 * cplus-dem.c (demangle_integral_value): Accept multi-digit
798 numbers that do not start with an underscore; This is needed
799 for integer template parameters. This doesn't break anything
800 because multi-digit numbers are never followed by a digit.
801 * testsuite/demangle-expected: Corrected all mangled test
802 cases with multi-digit template parameters: g++ 2.95.x does
803 not generate underscores around these parameters.
804
c13db5d1
JM
8052002-02-05 Jason Merrill <jason@redhat.com>
806
807 * cplus-dem.c (flags): Add DMGL_VERBOSE
808 (cplus_demangle_v3_p): Remove.
809 (demangle_it): Add DMGL_TYPES to passed flags.
810 * cp-demangle.c (cplus_demangle_v3_all): Remove.
811 (cplus_demangle_v3_type): Remove.
812 (cplus_demangle_v3): Add options parm.
813
d74697b8
L
8142002-02-02 H.J. Lu (hjl@gnu.org)
815
816 * cp-demangle.c (cp_demangle_type): Do not protect with
817 IN_LIBGCC2.
818 (cplus_demangle_v3_all): New.
819 (cplus_demangle_v3): Call cplus_demangle_v3_all.
820 (cplus_demangle_v3_type): Call cplus_demangle_v3_all.
821
822 * cplus-dem.c (cplus_demangle_v3_p): New function pointer.
823 Initialized to cplus_demangle_v3.
824 (cplus_demangle_with_style): Call cplus_demangle_v3_p instead
825 of cplus_demangle_v3.
826 (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
827 command line symbol.
828
829 * testsuite/regress-demangle: Pass the mangled name at the
830 command line.
831
3a441e38
L
8322002-02-01 H.J. Lu <hjl@gnu.org>
833
834 * cp-demangle.c (cp_demangle_type): Call demangling_new with
835 DMGL_GNU_V3.
836
6d747e63
PE
8372002-01-31 Phil Edwards <pme@gcc.gnu.org>
838
839 * cp-demangle.c: Revert yesterday's change.
840
46af757b
AM
8412002-01-31 Adam Megacz <adam@xwt.org>
842
843 * gcc/libiberty/configure.in: Treat mingw the same as cywin
844 wrt HAVE_SYS_ERRLIST.
845
46ab74b1
PE
8462002-01-30 Phil Edwards <pme@gcc.gnu.org>
847
848 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
849 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on
850 cp_demangle_type.
851 * testsuite/demangle-expected: New gnu-v3 test.
852
e64d0626
MV
8532002-01-22 Momchil Velikov <velco@fadata.bg>
854
855 * configure.in (variable detection): Use arrays of unspecified
856 size instead of plain integers.
857
9ce3f7e5
DD
8582002-01-18 DJ Delorie <dj@redhat.com>
859
860 * Makefile.in (TESTLIB): New. This library is for future
861 testsuites.
862 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
863 break down by letter.
864 (REQUIRED_OFILES): List long-to-compile files first.
865 (maint-deps): New, target for updating dependencies.
866 (dependencies): Update.
867 * maint-tool: Add dependency-generating option.
868 * configure.in: Check for _doprnt even if we're not providing it.
869 * configure: Regenerate.
870
871 * _doprnt.c: Modifications to allow compiling on any platform.
872 * copysign.c: Likewise.
873 * putenv.c: Likewise.
874 * setenv.c: Likewise.
875 * vsprintf.c: Likewise.
876
0e83ceb1
DR
8772002-01-15 Douglas B Rupp <rupp@gnat.com>
878
879 * mkstemps.c (mkstemps): On VMS, open temp file with option
880 that causes it to be deleted when closed.
881
adddf5bf
KG
8822002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
883
5e65297b
KG
884 * cp-demangle.c (long_options): Const-ify.
885 * cplus-dem.c (long_options): Likewise.
886
adddf5bf
KG
887 * cplus-dem.c (mystrstr): Delete. All callers changed to use
888 strstr instead.
889
a4219437
IR
8902001-12-31 Ira Ruben <ira@apple.com>
891
892 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
893 * configure: Regenerated.
af328d8d
DR
894
8952001-12-24 Douglas B. Rupp <rupp@gnat.com>
896
897 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
898 * configure: Regenerated.
a4219437 899
63de15a4
CR
9002001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
901
902 PR other/2719
903 * cplus-dem.c (consume_count): Treat negative count as an error.
904 * testsuite/demangle-expected: Added testcase.
905
ee262b6f
DR
906Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
907
908 * configure.in: Hardcode that vfork works on VMS host.
909 * configure: Regenerated.
910
d06ba3c7
RH
9112001-12-06 Richard Henderson <rth@redhat.com>
912
913 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
914 (cplus_demangle): Support no_demangling.
915
e490616e
ZW
9162001-11-27 Zack Weinberg <zack@codesourcery.com>
917
918 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
919 in libiberty context. Fix typo in leading comment.
920 * configure.in: Fix various AC_DEFINEs so autoheader works.
921 If any of vprintf, vsprintf, vfprintf is missing from libc,
922 then AC_REPLACE_FUNCS(_doprnt).
923
97e620cf 9242001-11-26 DJ Delorie <dj@redhat.com>
e490616e 925 Daniel Jacobowitz <drow@mvista.com>
97e620cf
DD
926
927 * Makefile.in (stamp-h): Depend on Makefile for proper
928 serialization.
929 (*-subdir): Depend on config.h for proper serialization.
930
c3bb7df0
DD
9312001-11-26 DJ Delorie <dj@redhat.com>
932
933 * configure.in: Check for alloca.h (for regex.c and putenv.c).
934 * configure: Regenerate.
935 * config.h: Add HAVE_ALLOCA_H.
936
23850d35
KG
9372001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
938
2c47b56b
KG
939 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
940 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
941 is available.
23850d35 942
7ddfb651
JL
943Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
944
d3982b71
JL
945 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
946 * configure.in (HAVE_UINTPTR_T): Test for system defining
947 uintptr_t and define HAVE_UINTPTR_T appropriately.
948 * regex.c (uintptr_t): Do not provide a definition if the
949 system provided one.
950
7ddfb651
JL
951 * regex.c (PREFIX): Provide an alternate definition for
952 non-ANSI/ISO compilers.
953 (ARG_PREFIX): Likewise.
954
2e683037
JM
9552001-11-12 Jim Meyering <meyering@lucent.com>
956
957 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
958 this code would end up calling gettext even in packages built
959 with --disable-nls.
960 * getopt.c (_): Likewise.
961 * regex.c (_): Likewise.
962
f749bd83
AM
9632001-11-03 Alan Modra <amodra@bigpond.net.au>
964
965 * configure.in: Cope with missing makeinfo.
55a10d7c 966 * configure: Regenerate.
f749bd83 967
26ad2982
KG
9682001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
969
e5969ba6
KG
970 * hex.c (hex_init): Provide empty stub.
971
26ad2982
KG
972 * hex.c (hex_init): Delete.
973 (_hex_value): Const-ify and initialize at compile-time.
974
afb649d5
L
9752001-10-19 H.J. Lu <hjl@gnu.org>
976
977 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
978 necessary.
979
5bed56d9
DD
9802001-10-17 DJ Delorie <dj@redhat.com>
981
982 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
983 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
4dcc42a3 984 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
5bed56d9
DD
985 Improve manual formatting.
986 * functions.texi: Regenerate.
987
aac04c15
DD
9882001-10-15 DJ Delorie <dj@redhat.com>
989
990 * Makefile.in (TEXIFILES): Add fnmatch.txh.
991 (maint-undoc): New.
992 maint-tool: Add "undoc" tool.
993 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
994 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
995 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
996 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
997 documentation.
998 * fnmatch.txh: New.
999 * functions.texi: Regenerate.
fae8182a 1000
0e4e9e8f
JM
10012001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
1002
1003 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
1004 * strtod.c: Use "ISO C" instead of "ANSI C".
1005 * functions.texi: Regenerate.
1006
7f8fa05d
JM
10072001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
1008
1009 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
1010 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
1011 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
1012 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
1013 spelling. Give names to function arguments in documentation. Use
1014 (void) prototypes in documentation.
1015 * functions.texi: Regenerate.
1016
0be6abca
KG
10172001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1018
1019 * argv.c (buildargv, tests, main): Const-ify.
1020 * cp-demangle.c (operator_code): Likewise.
1021 * cplus-dem.c (optable, libiberty_demanglers,
1022 cplus_demangle_set_style, cplus_demangle_name_to_style,
1023 print_demangler_list): Likewise.
1024 * hashtab.c (higher_prime_number): Likewise.
1025 * strcasecmp.c (charmap): Likewise.
1026 * strerror.c (error_info, strerror, main): Likewise.
1027 * strncasecmp.c (charmap): Likewise.
1028 * strsignal.c (signal_info): Likewise.
1029
0e30ffc5
DD
10302001-09-29 DJ Delorie <dj@redhat.com>
1031
1032 * configure: Regenerate.
1033
576fb787
KG
10342001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1035
1036 * concat.c: Include stdlib.h.
1037
e922f978
EZ
10382001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
1039
1040 * libiberty.texi: (Top level): Add syncodeindex pg. Add
1041 @dircategory and @direntry directives. Add @finalout.
1042 (many nodes): Lose the next,prev,up pointers on the @nide line.
1043 (Using, Supplemental Functions, Replacement Functions): Fix
1044 markup.
1045 (Functions): Move around, to allow makeinfo to build the manual
1046 without next,prev,up pointers in thye node lines.
1047 (Licenses): Fix typos.
1048
1049 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
1050 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
1051 * functions.texi: Regenerate.
1052
1053 * copying-lib.texi: Lose the next,prev,up pointers on the @node
1054 line.
1055
ae9092da
DD
10562001-09-27 DJ Delorie <dj@redhat.com>
1057
1058 * configure.in: Don't use in-tree texinfo, because libiberty must
1059 be built before it. Check for makeinfo version 4 or higher.
1060 * functions.texi: Regenerate.
fae8182a 1061
aaa5f039
DD
10622001-09-20 DJ Delorie <dj@redhat.com>
1063 Phil Edwards <pedwards@disaster.jaj.com>
fae8182a 1064
aaa5f039
DD
1065 * configure.in (MAKEINFO, PERL): Detect these.
1066 (--enable-maintainer-mode): Add.
1067 * configure: Regenerate.
1068 * Makefile.in (MAKEINFO, PERL): Define.
1069 (libiberty.info, libiberty.dvi, libiberty.html): New.
1070 (CFILES): Add bsearch.c.
1071 (CONFIGURED_OFILES): New, list of objects configure might add.
1072 (maint-missing, maint-buildall): New, for maintainers only.
1073 (clean, mostlyclean): Add info/dvi/html files.
1074 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
1075 * gather-docs: New, for maintainers.
1076 * maint-tool: New, for maintainers.
1077 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
1078 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
1079 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
1080 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
1081 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
1082 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
1083 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
1084 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
1085 documentation.
fae8182a 1086
c1766881
KG
10872001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1088
1089 * concat.c (reconcat): Fix for traditional C.
1090
ad43d46f
KG
10912001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1092
1093 * concat.c (reconcat): New function.
1094
c1d49704
KG
10952001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1096
c793eea7
KG
1097 * concat.c (vconcat_length, vconcat_copy, concat_length,
1098 concat_copy, concat_copy2): New functions.
1099 (concat): Use vconcat_length/vconcat_copy.
1100
c1d49704
KG
1101 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
1102 Define.
1103
7a98d9b2
KG
11042001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1105
1106 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
1107 VA_FIXEDARG & VA_CLOSE.
fae8182a 1108
7a98d9b2
KG
1109 * vasprintf.c: Check HAVE_STRING_H when including string.h.
1110 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
1111 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
1112
e2dff3f2
KG
11132001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1114
1115 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
1116
d0708dc1
UD
11172001-08-23 Ulrich Drepper <drepper@redhat.com>
1118
1119 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
1120
11212001-08-23 Ulrich Drepper <drepper@redhat.com>
1122
1123 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
1124 instead of mbrtowc.
1125 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
1126 wcslen, and __wcscoll instead of wcscoll.
1127
ffb9435b
MK
11282001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1129
de78f58b
AJ
1130 * fibheap.c (fibheap_init, fibnode_init): Remove.
1131 (fibheap_new, fibnode_new): Use xcalloc to allocate and
1132 initialize memory.
1133 (fibheap_insert): Remove check for node allocation failure.
ffb9435b 1134
f379eac3
RH
11352001-08-21 Richard Henderson <rth@redhat.com>
1136
1137 * Makefile.in (fibheap.o): Depend on config.h.
1138 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
1139 functions for inlining.
1140
b1c45ae4
CF
1141Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
1142
1143 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
1144 hosting on cygwin.
1145 * configure: Regenerate.
1146
0310e5ac
AC
11472001-08-20 Andrew Cagney <ac131313@redhat.com>
1148
1149 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
1150 HARRIS_FLOAT_FORMAT.
1151 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
1152 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
1153 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
1154 (floatformat_m88110_harris_ext): New float formats.
1155
8c23e0a4
DB
11562001-08-20 Daniel Berlin <dan@cgsoftware.com>
1157
1158 * fibheap.c: New file. Fibonacci heap.
1159
1160 * Makefile.in (CFILES): Add fibheap.c.
1161 (REQUIRED_OFILES): Add fibheap.o.
1162 (fibheap.o): Add dependencies for fibheap.o.
1163
91625004
CF
11642001-08-17 Christopher Faylor <cgf@cygnus.com>
1165
1166 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
1167 * configure: Regenerate.
1168
9e0ba685
RH
11692001-08-16 Richard Henderson <rth@redhat.com>
1170
1171 * hashtab.c (htab_hash_string): New.
1172
d80dedbe
AC
11732001-08-13 Andrew Cagney <ac131313@redhat.com>
1174
1175 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
1176 name.
1177
ccea0d85
IH
11782001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
1179
1180 * regex.c (wcs_regex_compile): Use appropriate string
1181 to compare with collating element.
1182 Fix the padding for the alignment.
1183
b0e9bc8c 11842001-08-10 Andrew Cagney <ac131313@redhat.com>
0ef5547d
AC
1185
1186 * lbasename.c (lbasename): Change function definition to return a
1187 const char pointer.
1188
056400f1
JM
11892001-08-07 Jason Merrill <jason_merrill@redhat.com>
1190
1191 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
1192 for".
1193
4e627c41
RH
11942001-08-03 Richard Henderson <rth@redhat.com>
1195
1196 * Makefile.in (concat.o): Depend on config.h.
1197
b6a2f884
AJ
11982001-07-30 Andreas Jaeger <aj@suse.de>
1199
1200 * concat.c: Include "config.h".
1201
c4b9cfe0
AJ
12022001-07-30 Andreas Jaeger <aj@suse.de>
1203
1204 * regex.c: Declare wcs functions only if compiling with
1205 MBS_SUPPORT.
1206 Don't use #elif for traditional C.
1207
12082001-07-23 Ulrich Drepper <drepper@redhat.com>
1209
1210 * regex.c: Revamp memory allocation for WCHAR functions to
1211 not use too much stack.
1212
12132001-07-30 Andreas Jaeger <aj@suse.de>
1214
1215 * regex.c: Declare wcs functions only if compiling with
1216 MBS_SUPPORT.
1217 Don't use #elif for traditional C.
1218
2cf50fd3
DJ
12192001-07-25 Daniel Jacobowitz <drow@mvista.com>
1220
1221 * Makefile.in (regex.o): Add dependency on config.h.
1222
27ffc806
DD
12232001-07-18 Andreas Schwab <schwab@suse.de>
1224
1225 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
1226 underscore character.
1227
12282001-07-18 Ulrich Drepper <drepper@redhat.com>
1229
1230 * regex.c: Limit string length printed in debug messages to 100
1231 chars.
1232
12332001-07-18 Andreas Jaeger <aj@suse.de>
1234
1235 * regex.c: Place under LGPL version 2.1.
1236
dd771632
JJ
12372001-07-10 Jeff Johnston <jjohnstn@redhat.com>
1238
1239 * Makefile.in: Add support for regex code.
1240 * regex.c: New file.
1241
29650b2b
MK
12422001-07-05 Mark Klein <mklein@dis.com>
1243
1244 * Makefile.in: Add ffs.c dependency.
1245 * configure.in: Add ffs.c.
1246 * ffs.c: New file.
1247
c8b28221
RH
12482001-06-18 Richard Henderson <rth@redhat.com>
1249
1250 * concat.c: Include <sys/types.h>.
1251
473c2d0b
LR
12522001-06-11 Loren J. Rittle <ljrittle@acm.org>
1253
a4c03da2 1254 bootstrap/3106
473c2d0b
LR
1255 * strerror.c (sys_nerr): Hide the OS header version.
1256 * strsignal.c (sys_nsig): Likewise.
1257
0bdcca68
RH
12582001-06-10 Richard Henderson <rth@redhat.com>
1259
1260 * concat.c: Include string.h. Fix int vs size_t usage.
1261 Simplify the iteration loops. Use memcpy.
1262
6de133d3
MK
12632001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1264
1265 * partition.c: Fix misspelling of `implementation'.
1266
8a153288
TS
12672001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1268
1269 * md5.c (md5_init_ctx): Declare constants as unsigned.
1270 (md5_process_block): Likewise.
1271
641b2721
ZW
12722001-05-07 Zack Weinberg <zackw@stanford.edu>
1273
1274 * cp-demangle.c (demangle_v3_with_details,
1275 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
1276 function definition.
1277 * ternary.c: Use K+R style function definitions. Use PTR, not
1278 void *. Make arguments constant where possible.
1279
5cdba4ff
MM
12802001-05-07 Mark Mitchell <mark@codesourcery.com>
1281
1282 * splay-tree.h (splay_tree_max): New function.
1283 (splay_tree_min): Likewise.
1284
9dab060e
DB
12852001-04-15 Daniel Berlin <dan@cgsoftware.com>
1286
1287 * ternary.c: New file - Ternary search tree implementation.
1288
1289 * Makefile.in: Add ternary.o, and ternary.c dependencies.
1290
d02af173
ZW
12912001-04-03 Zack Weinberg <zackw@stanford.edu>
1292
1293 * make-temp-file.c (try): Inline.
1294
94b68558
RH
12952001-02-28 Richard Henderson <rth@redhat.com>
1296
1297 * Makefile.in (make-temp-file.o): Depend on config.h.
1298
27f66c0b
KG
12992001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1300
1301 * memchr.c (memchr): Adjust condition to avoid infinite loop.
1302
f1a0345c
JJ
13032001-03-23 Jakub Jelinek <jakub@redhat.com>
1304
1305 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
1306 `_' not followed by a digit is invalid.
1307
a519fba6
JB
13082001-03-22 Jim Blandy <jimb@redhat.com>
1309
1310 * cp-demangle.c (string_list_delete): Use dyn_string_delete
1311 instead of free, to free the contents as well as the string
1312 structure.
1313
49ee944b
ZW
13142001-03-21 Zack Weinberg <zackw@stanford.edu>
1315
1316 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
1317 Don't default P_tmpdir to anything. Try /var/tmp before
1318 /usr/tmp.
1319
33437dc7
ZW
13202001-03-20 Zack Weinberg <zackw@stanford.edu>
1321
1322 * choose-temp.c: Split off make_temp_file, and the code
1323 duplicated between it and choose_temp_base, into...
1324 * make-temp-file.c: ... here; new file.
1325
1326 * Makefile.in (CFILES): Add make-temp-file.c.
1327 (REQUIRED_OFILES): Add make-temp-file.o.
1328
7dce2eff
JB
13292001-03-20 Jim Blandy <jimb@redhat.com>
1330
1331 * cp-demangle.c (struct demangling_def): New fields:
1332 is_constructor and is_destructor.
1333 (demangling_new): Initialize them.
1334 (demangle_ctor_dtor_name): Set them, if we detect a constructor
1335 or destructor.
1336 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
1337 is_gnu_v3_mangled_dtor): New functions.
1338
e03a61f1
JM
13392001-03-20 Jason Merrill <jason@redhat.com>
1340
1341 * cplus-dem.c (main): Skip initial $.
1342
8860ddab
MM
13432001-03-15 Michael Meissner <meissner@redhat.com>
1344
1345 * hashtab.c (higher_prime_number): Silence warning that 4294967291
1346 might be a signed integer under pre-ISO C systems.
1347
2b757d51
NB
13482001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
1349 John David Anglin <dave@hiauly1.hia.nrc.ca>
1350
1351 * libiberty/lbasename.c: New file.
1352 * libiberty/Makefile.in: Update for lbasename.
1353
1f50aafb
ZW
13542001-03-06 Zack Weinberg <zackw@stanford.edu>
1355
1356 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
1357 * configure.in: Replace all alloca logic with a simple use of
1358 the above new macro.
1359 * config.table: Kill *-*-beos* entry.
1360 * config/mh-beos: Delete.
1361 * configure, config.in: Regenerate.
1362
1363 * Makefile.in (ALLOCA, HFILES): Kill.
1364 (REQUIRED_OFILES): Add alloca.o.
1365 (alloca.o): Depend on libiberty.h.
1366 (argv.o): Don't depend on alloca-conf.h.
1367 * alloca-conf.h: Delete.
1368 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
1369 blocks. Provide the C alloca unconditionally. Use PTR where
1370 appropriate. Make i00afunc static.
1371 * argv.c: Don't include alloca-conf.h.
1372
d9fd5aae
JDA
13732001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1374
1375 * cplus-dem.c (main): Cast enum style to int.
1376
4031ed65
LR
13772001-02-16 Loren J. Rittle <ljrittle@acm.org>
1378
1379 * cplus-dem.c (main): Initialize style.
1380
2ca46e8a
PE
13812001-02-02 Phil Edwards <pme@sources.redhat.com>
1382
1383 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
1384
3b60dd8e
BM
13852001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
1386
1387 Add support for Java demangling under the v3 ABI:
1388 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
1389 (struct demangling_def): Add `style' field.
1390 (demangling_new): New parameter `style'. Set it in demangling_t.
1391 (demangle_prefix): Use NAMESPACE_SEPARATOR.
1392 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
1393 (cp_demangle): New parameter `style'. Pass it to demangling_new().
1394 (main): Call cp_demangle with extra parameter.
1395 (java_demangle_v3): New function.
1396 (java_builtin_type_names): New. Table of primitive type names used
1397 for Java demangling.
1398 (demangle_builtin_type): Look up in java_builtin_type_names if doing
1399 Java output.
1f50aafb 1400 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
3b60dd8e
BM
1401 demangling.
1402 (long_options): Remove obsolete `java' option.
1403 (main): Remove explicit handling of `java' option. Instead, pass style
1404 parameter in cplus_demangle flags as gdb does.
1405 * testsuite/demangle.expected: Add some Java test cases.
1406
584932e9
DD
14072000-12-29 DJ Delorie <dj@redhat.com>
1408
1409 * fnmatch.c: Make the note about the origins of this file more
1410 accurate, at least until we can sync with glibc.
1411 * getopt.c: Ditto.
1412 * getopt1.c: Ditto.
1413 * md5.c: Ditto.
1414 * obstack.c: Ditto.
1415
dac45916
MS
14162000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1417
1418 * bsearch.c: New file.
1419 * configure.in (funcs): Add bsearch.
1420 (AC_CHECK_FUNCS): Likewise.
1421 * configure, config.in: Regenerate.
1422
a8e4a997
MS
14232000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1424
1425 * safe-ctype.c: #include "ansidecl.h".
1426 * strtod.c: Likewise.
1427
75444da7
MS
14282000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1429
1430 * strtoul.c: Include safe-ctype.h, not ctype.h.
1431
f6bbde28
ZW
14322000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
1433
1434 * safe-ctype.c: New file.
1435 * Makefile.in (CFILES): Add safe-ctype.c.
1436 (REQUIRED_OFILES): Add safe-ctype.o.
1437
1438 * argv.c: Define ISBLANK and use it, not isspace.
1439 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
1440 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
1441 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
1442 before calling TOLOWER(c)/TOUPPER(c).
1443
6c1ce62b 14442000-12-07 Mike Stump <mrs@wrs.com>
b25a8973
MS
1445
1446 * Makefile.in (distclean): When cleaning, remove testsuite.
1447
b5d1497d
JM
14482000-12-05 Jason Merrill <jason@redhat.com>
1449
1450 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
1451 name before allocating the dyn_string.
1452
c6e13630
JM
14532000-12-04 Jason Merrill <jason@redhat.com>
1454
1455 * cp-demangle.c: s/new_abi/v3/.
1456 * cplus-dem.c: Likewise.
1457 (current_demangling_style): Now auto_demangling.
1458 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
f6bbde28 1459 (main): Use standard symbol chars for auto_demangling.
c6e13630 1460
a4c9b97e
MM
14612000-11-26 Mark Mitchell <mark@codesourcery.com>
1462
1463 * hashtab.c (higher_prime_number): Use a table, rather than a
1464 seive, to find the next prime.
1465
3b3bd9a7
L
14662000-11-22 H.J. Lu <hjl@gnu.org>
1467
1468 * cplus-dem.c (main): Handle gnat_demangling.
1469
d1209685
ZW
14702000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
1471
1472 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
1473 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
1474 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
1475 argument form of AC_DEFINE in dummy definitions block. Use
1476 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
1477 in dummy block. Preload cache variables instead of bypassing
1478 tests, where possible.
1479 * acconfig.h: Removed.
1480
1481 * xmalloc.c (xmalloc_failed): New function, does error
1482 reporting on failed allocation.
1483 (xmalloc, xcalloc, xrealloc): Use it.
1484
cf183ac2
HPN
14852000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
1486
1487 * cplus-dem.c (cplus_demangle): Fix formatting.
1488 (grow_vect): Ditto.
1489 (ada_demangle): Ditto.
1490 (internal_cplus_demangle): Ditto.
1491 (mop_up): Ditto.
1492
14932000-11-21 H.J. Lu <hjl@gnu.org>
1494
1495 * cplus-dem.c (main): Handle java_demangling.
1496
8bcc782c
KG
14972000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1498
1499 * cplus-dem.c (grow_vect): Prototype.
1500 (ada_demangle): Cast the arg of ctype macros to unsigned char.
1501
29120f44
HPN
15022000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
1503
1504 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
1505 parameter `option'.
1506
0437a5a8
KB
15072000-11-15 Kenneth Block <kenneth.block@compaq.com>
1508
9e038f71 1509 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
0437a5a8
KB
1510 be used in GCC.
1511
eab0c1ab 15122000-11-15 Kenneth Block <kenneth.block@compaq.com>
61ab980a 1513
29120f44 1514 * cplus-dem.c: Add gnat demangler. Add java to demangle style
61ab980a
KB
1515 list.
1516
d50d20ec
HPN
15172000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
1518
1519 * hashtab.c (htab_expand): Change to return int. Use calloc or
c4b9cfe0
AJ
1520 xcalloc depending on htab->return_allocation_failure. Return zero
1521 if calloc fails.
d50d20ec
HPN
1522 (htab_create): Update comment to cover memory allocation.
1523 (htab_try_create): New.
1524 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
c4b9cfe0 1525 Update comment to cover this.
d50d20ec 1526
35e9340f
HPN
15272000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
1528
1529 * hashtab.c: Change void * to PTR where necessary.
1530 (htab_create, htab_expand): Correct formatting of comment before
1531 function.
1532
ea343d1a 15332000-10-22 Alex Samuel <samuel@codesourcery.com>
0870bfd6
AS
1534
1535 * cp-demangle.c (string_list_def): Add caret_position and comments.
1536 (result_caret_pos): New macro.
1537 (result_append_string): Rename to...
1538 (result_add_string): ... this, and insert at caret position.
d1209685 1539 Rename throughout.
0870bfd6
AS
1540 (result_append): Rename to...
1541 (result_add): ... this, and insert at caret position. Rename
d1209685 1542 throughout.
0870bfd6
AS
1543 (result_append_char): Rename to...
1544 (result_add_char): ... this, and insert at caret position. Rename
d1209685 1545 throughout.
0870bfd6
AS
1546 (result_append_space): Remove.
1547 (string_list_new): Initialize caret position.
1548 (result_add_separated_char): Use caret position.
1549 (result_get_caret): New funtion.
1550 (result_set_caret): Likewise.
1551 (result_shift_caret): Likewise.
1552 (result_previous_char_is_space): Likewise.
1553 (substitution_start): Use caret position.
1554 (substitution_add): Likewise.
1555 (demangling_new): Initialize caret position.
1556 (demangle_encoding): Use caret position.
d1209685 1557 (demanglin_nested_name): Put CV qualifiers after name.
0870bfd6
AS
1558 (demangle_type_ptr): Use switch statement. Handle pointers to
1559 arrays. Don't use result_append_space. Use caret position.
1560 (demangle_type): Emit CV qualifiers after underlying type. Adjust
d1209685
ZW
1561 call to demangle_array_type.
1562 (demangle_array_type): Add parameter to handle pointers to arrays.
1563
f15b9af9
MM
15642000-10-01 Mark Mitchell <mark@codesourcery.com>
1565
1566 * splay-tree.c (splay_tree_insert): Fix formatting.
1567
8f17b5c5
MM
15682000-09-16 Mark Mitchell <mark@codesourcery.com>
1569
1570 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
1571
4eaa189a
MS
15722000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1573
1574 * splay-tree.c: #include <stdio.h>.
1575
29791078
HPN
15762000-09-14 Hans-Peter Nilsson <hp@axis.com>
1577
1578 * testsuite/demangle-expected: Add two tests for anonymous
1579 namespaces.
1580 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
1581
2c9f4db7
MM
15822000-09-10 Mark Mitchell <mark@codesourcery.com>
1583
1584 * splay-tree.c (splay_tree_predecessor): New function.
1585 (splay_tree_successor): Likewise.
1586
bb22da4b
HPN
15872000-09-10 Hans-Peter Nilsson <hp@axis.com>
1588
1589 * testsuite/demangle-expected: Add four tests for type_info
1590 mangling.
bb22da4b
HPN
1591 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
1592 for a non-template non-qualified type_info function or node.
1593
759e8187
AS
15942000-09-08 Alex Samuel <samuel@codesourcery.com>
1595
1596 * cp-demangle.c: Fix copyright banner.
1597
2ecd81ef
MS
15982000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1599
1600 * md5.c: #include "ansidecl.h".
1601
d93998ec
AS
16022000-09-06 Alex Samuel <samuel@codesourcery.com>
1603
1604 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
1605 (demangle_type): Handle substitution candidates correctly in the
1606 face of special substitutions.
1607
1056d228
AS
16082000-09-05 Alex Samuel <samuel@codesourcery.com>
1609
1610 * cp-demangle.c (demangle_encoding): Rename variable.
1611 (demangle_name): Rename parameter. Handle return type
1612 suppression.
1613 (demangle_nested_name): Rename parameter.
1614 (demangle_prefix): Likewise. Change return type suppression.
1615 (demangle_unqualified_name): Add parameter. Flag constructors and
1616 conversion operators.
1617 (demangle_special_name): Fix comment.
1618 (demangle_type): Rename variable.
1619 (demangle_bare_function_type): Check for missing return type and
d1209685 1620 parameter.
1056d228
AS
1621 (demangle_class_enum_type): Rename parameter.
1622 (demangle_discriminator): Fix misspelling in comment.
1623
2f31ed7e
DD
16242000-08-31 DJ Delorie <dj@redhat.com>
1625
1626 * configure.in (Cygwin): special case cygwin only when we're
1627 building cygwin, not when we're hosting cygwin.
1628
02bcb9c6
AS
16292000-09-04 Alex Samuel <samuel@codesourcery.com>
1630
1631 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
d1209685
ZW
1632 <expression>.
1633
aee749cf
AS
16342000-09-04 Alex Samuel <samuel@codesourcery.com>
1635
1636 * cp-demangle.c (demangle_type_ptr): Increment position past
1637 pointer and reference characters.
1638
92a16bbe
AS
16392000-09-04 Alex Samuel <samuel@codesourcery.com>
1640
1641 * cp-demangle.c (demangle_nv_offset): New function.
1642 (demangle_v_offset): Likewise.
1643 (demangle_call_offset): Likewise.
1644 (demangle_special_name): Update thunk demangling to comply with
1645 ABI changes.
d1209685 1646
31e0ab1f
AS
16472000-09-03 Alex Samuel <samuel@codesourcery.com>
1648
1649 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
1650 (substitution_def): Remove template_parm_number.
1651 (NOT_TEMPLATE_PARM): Remove.
1652 (result_insert_string): New macro.
1653 (result_insert): Likewise.
1654 (result_insert_char): Likewise.
1655 (substitution_add): Remove last parameter. Don't store template
d1209685 1656 parm number.
31e0ab1f
AS
1657 (BFT_NO_RETURN_TYPE): Define as NULL.
1658 (demangle_encoding): Adjust call to demangle_bare_function_type.
1659 (demangle_name): Adjust substitution. Adjust call to
d1209685 1660 substitution_add.
31e0ab1f
AS
1661 (demangle_prefix): Adjust call to substitution_add.
1662 (demangle_identifier): Handle anonymous namespaces.
1663 (demangle_operator_name): Change demangling of vendor-extended
1664 operator to match ABI changes.
1665 (demangle_type_ptr): Change parameters. Make recursive. Handle
d1209685 1666 substitutions here.
31e0ab1f
AS
1667 (demangle_type): Adjust calls to demangle_template_param,
1668 substitution_add, and demangle_type_ptr. Fix substitution of
1669 templated types.
1670 (demangle_function_type): Change parameter to a pointer.
1671 (demangle_bare_function_type): Likewise. Adjust insertion point.
1672 (demangle_template_param): Remove last parameter.
1673 (demangle_expr_primary): Remove unused variable. Adjust call to
d1209685 1674 demangle_template_param.
31e0ab1f
AS
1675 (is_mangled_char): Accept `$' and `.'.
1676 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
1677 * dyn-string.c (dyn_string_insert_char): New function.
1678
ccbc3eb7
HPN
16792000-08-31 Hans-Peter Nilsson <hp@axis.com>
1680
1681 * testsuite/demangle-expected: Add nine tests for
1682 underscore-after-number followed by five tests for name-signature
1683 delimiter.
1684
53dce582
RH
16852000-08-28 Richard Henderson <rth@cygnus.com>
1686
1687 * Makefile.in (md5.o): Depend on config.h.
1688
881c6935
JM
16892000-08-28 Jason Merrill <jason@redhat.com>
1690
1691 * Makefile.in (REQUIRED_OFILES): Add md5.o.
1692 (CFILES): Add md5.c.
1693 * md5.c: New file.
1694
a440fd19
AS
16952000-08-27 Alex Samuel <samuel@codesourcery.com>
1696
1697 * cp-demangle.c (demangle_name): Initialize template_p in local
1698 name case. Don't re-add substitutions as candidates.
1699 (demangle_nested_name): Use <unqualified-name>.
1700 (demangle_prefix): Likewise. Don't add template names as
1701 substitution candidates twice, or re-add a substitution or the
1702 last prefix component.
1703 (demangle_local_name): Adjust output format.
1704
d01ce591
AS
17052000-08-25 Alex Samuel <samuel@codesourcery.com>
1706
1707 * cp-demangle.c (result_add_separated_char): Change parameter to
1708 int.
1709 (substitution_add): Don't check for duplicates. Check if
1710 previously allocated size is zero.
1711 (demangle_name): Remove duplicate check for std substitution.
1712 Clear template flag appropriately.
1713 (demangle_prefix): Remove argument to demangle_substitution.
1714 Don't check that template flag is already set.
1715 (demangle_operator_name): Add pt operator.
1716 (demangle_type): Don't treat r as built-in type. Remove argument
1717 to demangle_substitution. Fix substitution candidate mechanics.
1718 Handle <template-template-parm>s. Improve comments.
d1209685 1719 (demangle_template_param): Don't handle template arg lists here.
d01ce591
AS
1720 (demangle_substitution): Remove parameter.
1721 (print_usage): Remove extra fprintf option.
1722
2f59c8eb
GM
17232000-08-24 Greg McGary <greg@mcgary.org>
1724
1725 * libiberty/random.c (end_ptr): Revert previous change.
1726
2f26c11d
GM
17272000-08-24 Greg McGary <greg@mcgary.org>
1728
1729 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
1730 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
1731 * libiberty/random.c (end_ptr): Likewise.
1732
e282c9c9
AS
17332000-08-23 Alex Samuel <samuel@codesourcery.com>
1734
1735 * cp-demangle.c (result_close_template_list): Remove function.
1736 (result_add_separated_char): New function.
1737 (result_open_template_list): New macro.
1738 (result_close_template_list): Likewise.
1739 (demangle_prefix): Don't set template_p if the
1740 prefix ends with a ctor name.
1741 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
1742 (demangle_type): Check for template args after substitution.
1743 (demangle_template_args): Use result_open_template_list.
d1209685 1744
c9b6494a
ZW
17452000-08-02 Zack Weinberg <zack@wolery.cumb.org>
1746
1747 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
1748
d1209685 17492000-07-26 Dave Pitts <dpitts@cozx.com>
4f21e377
DP
1750
1751 * config/mh-openedition.h: Added -DLE370 definition.
1752
0aab2795
ME
17532000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
1754
1755 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
1756 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
1757 Cast program to 'char *' in errmsg_arg assignment.
1758 (PWAIT_ERROR): Define.
1759 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
1760 to DJGPP's WIF* macros.
1761
c2f275e4
RB
17622000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
1763 Jeff Law <law@cygnus.com>
1764
73aa9564
RB
1765 * getcwd.c: Include string.h, stdlib.h for prototypes
1766
c2f275e4 1767 * Makefile.in (rename.o, waitpid.o): Depend on config.h
73aa9564
RB
1768 * rename.c: Include config.h, unistd.h
1769 * waitpid.c: Include config.h, sys/wait.h
c2f275e4 1770
ccbc3eb7
HPN
17712000-07-24 Hans-Peter Nilsson <hp@axis.com>
1772
1773 * cplus-dem.c (work_stuff_copy_to_from): New.
1774 (delete_non_B_K_work_stuff): New.
1775 (delete_work_stuff): New.
1776 (mop_up): Break out work_stuff partly destruction to
1777 delete_non_B_K_work_stuff.
1778 (iterate_demangle_function): New.
1779 (demangle_prefix): Call iterate_demangle_function instead of
1780 demangle_function_name. Leave handling of name-signature
1781 __-delimiters to iterate_demangle_function.
1782 (demangle_integral_value): Strip an optional
1783 following underscore cautiously. Handle negative numbers.
1784
3388651c
DB
17852000-07-24 Daniel Berlin <dberlin@redhat.com>
1786
d1209685 1787 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
3388651c
DB
1788 if (AUTO_DEMANGLING || GNU_DEMANGLING)
1789
0fac482e
AS
17902000-07-21 Alex Samuel <samuel@codesourcery.com>
1791
1792 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
1793 allocating ctor mangling.
1794 (demangle_array_type): Handle empty and non-constant array length.
1795
8502a100 17962000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
cd447360
MS
1797 Jeff Law <law@cygnus.com>
1798
c6451ce1
MS
1799 * configure.in (AC_CHECK_HEADERS): Add time.h.
1800 (AC_HEADER_TIME): Add check.
1801 * configure, config.in: Regenerate.
1802 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
1803
cd447360
MS
1804 * configure.in (AC_CHECK_HEADERS): Add limits.h.
1805 * configure, config.in: Regenerate.
1806 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
1807 * strtol.c, strtoul.c: #include "config.h". Portably #include
1808 <limits.h> and/or <sys/param.h>.
1809 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
8502a100 1810
3b58c099
MS
1811 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
1812 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
1813 * configure, config.in: Regenerate.
1814 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
1815
8502a100
MS
1816 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
1817
da0c7743
MS
18182000-07-21 Mike Stump <mrs@wrs.com>
1819
1820 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
0c978c46 1821 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
da0c7743 1822
838f8562
KG
18232000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1824
1825 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
1826
1827 * setenv.c (setenv): Initialize variable `ep'.
1828
1829 * sigsetmask.c (abort): Prototype.
1830
1831 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
1832 __STDC__ for stdarg.h include.
1833 (int_vasprintf): Prototype.
1834 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
1835 definition. Cast `global_total_width' in comparison.
1836 (main): Prototype. Return a value.
1837
1838 * vfork.c (fork): Prototype.
1839
1840 * xexit.c: Include config.h.
1841
e9958132
JM
18422000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
1843
1844 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
1845 and print it with %u.
1846
39a6492f
HPN
18472000-07-17 Hans-Peter Nilsson <hp@axis.com>
1848
1849 * testsuite/regress-demangle (failed test): Show result and
1850 expected output.
1851
6d0be369
AH
18522000-07-07 Andrew Haley <aph@cygnus.com>
1853
1854 * cplus-dem.c (main): fflush() after emitting last char before
1855 waiting for input.
1856
bece74bd
AS
18572000-06-28 Alex Samuel <samuel@codesourcery.com>
1858
1859 * cp-demangle.c (demangle_encoding): Accept no substitutions.
1860 (demangle_name): Handle <substitution> followed by
1861 <unqualified-template-name>.
1862 (demangle_type): Follow special substitutions with
1863 <class-enum-type>
1864 (demangle_subtitution): Set template_p for special substitutions.
1865 (main): Fix typos.
d1209685 1866
229b8ec7
AS
18672000-06-27 Alex Samuel <samuel@codesourcery.com>
1868
1869 * cp-demangle.c (demangle_special_name): Swap base and derived
1870 class when demangling construction vtables.
1871
051664b0
AS
18722000-06-21 Alex Samuel <samuel@codesourcery.com>
1873
1874 * cp-demangle.c: Don't include ctype.h.
1875 (IS_DIGIT): New macro.
1876 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
1877 instead of isdigit and isalpanum.
1878 (demangling_def): Make name and next const pointers.
1879 (STATUS_ALLOCATION_FAILED): New status code.
1880 (dyn_string_append_space): Handle failure in
1881 dyn_string_append_char.
1882 (int_to_dyn_string): Likewise. Change return value to status_t.
1883 (string_list_new): Handle failure of dyn_string_init.
1884 (result_close_template_list): Change return type to status_t.
1885 Handle failure in dyn_string_append.
1886 (result_push): Change return value to status_t. Handle failure in
1887 string_list_new. Handle failure of result_push throughout.
1888 (substitution_add): Change return value to status_t. Handle
1889 dyn_string failures. Handle failure of substitution_add
1890 throughout.
1891 (template_arg_list_new): Return NULL on allocation failure.
1892 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
1893 Handle error result throughout.
1894 (result_append): Likewise.
1895 (result_append_char): Likewise.
1896 (result_append_space): Likewise.
1897 (demangling_new): Make argument a const pointer. Handle
1898 allocation failures.
1899 (demangle_template_args): Handle failure in template_arg_list_new
1900 and result_close_template_list.
1901 (demangle_discriminator): Return if int_to_dyn_string fails.
1902 (cp_demangle): Likewise.
1903 (cp_demangle_type): New function.
1904 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
1905 memory allocation failure.
1906 (main): Likewise.
1907 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
1908 IN_LIBGCC2.
1909 (dyn_string_init): Change return value to int. Handle
1910 RETURN_ON_ALLOCATION_FAILURE case.
1911 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
1912 (dyn_string_release): Delete the dyn_string.
1913 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
1914 (dyn_string_copy): Change return type to int.
1915 (dyn_string_copy_cstr): Likewise.
1916 (dyn_string_prepend): Likewise.
1917 (dyn_string_prepend_cstr): Likewise.
1918 (dyn_string_insert): Likewise.
1919 (dyn_string_insert_cstr): Likewise.
1920 (dyn_string_append): Likewise.
1921 (dyn_string_append_cstr): Likewise.
1922 (dyn_string_append_char): Likewise.
1923 (dyn_string_substring): Likewise.
d1209685 1924
fe06b696
ZW
19252000-06-09 Zack Weinberg <zack@wolery.cumb.org>
1926
1927 * cp-demangle.c (demangle_operator_name): Add spaces before
1928 names beginning with a letter: delete, delete[], new, new[],
1929 sizeof.
1930 (demangle_special_name): Handle TF <type> and TJ <type>.
1931
6223e158
PDM
1932Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
1933
1934 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
1935
48f3e29b
PDM
1936Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
1937
1938 * cp-demangle.c (stdio.h): File included unconditionaly.
1939 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
1940 * dyn-string.c (stdio.h): File included.
1941 * partition.c (partition_print): No `&' needed to take the address of
1942 a function.
1943
69197e7e
KG
19442000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1945
1946 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
d1209685 1947
69197e7e
KG
1948 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
1949
1950 * cp-demangle.c (demangle_char): Change parameter from char to int.
1951 (demangle_expression, demangle_expr_primary): Remove extra
1952 semi-colon in prototype.
1953
1954 * dyn-string.c (dyn_string_append_char): Change parameter from
1955 char to int.
1956
1957 * memcmp.c (memcmp): Constify.
1958
1959 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
1960 __extension__.
1961
1962 * partition.c (elem_compare): Prototype. Don't cast away
1963 const-ness.
1964
1965 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
d1209685 1966
7eb23b1f
KG
19672000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1968
1969 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
1970
1971 * cp-demangle.c: Include demangle.h.
1972 (template_arg_list_new): DeANSIfy.
1973 (cp_demangle): Make static and add prototype.
1974 (operator_code, operators): Constify.
1975 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
1976
3faa108c
AS
19772000-06-05 Alex Samuel <samuel@codesourcery.com>
1978
1979 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
1980 unsigned char.
1981 (demangle_unqualified_name): Likewise.
1982 (demangle_number_literally): Likewise.
1983 (demangle_type): Likewise.
1984 (demangle_substitution): Likewise.
1985 (is_mangled_char): Likewise, for isalnum.
1986
69afa80d
AS
19872000-06-04 Alex Samuel <samuel@codesourcery.com>
1988
1989 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
1990 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
1991 (cp-demangle.o): New dependency.
1992 (dyn-string.o): Likewise.
1993
1994 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
1995
1996 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
1997 demangler.
1998 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
1999 demangling mode.
2000 (gnu_new_abi_symbol_characters): New function.
2001 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
2002 file.
2003 * cp-demangle.c: New file.
d1209685 2004
0b72c3df
AC
2005Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
2006
2007 * floatformat.c: Add name to each floatformat field.
2008
270cea06
JL
2009Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
2010
2011 * Makefile.in (objalloc.o): Depend on config.h
2012
d11ec6f0
ZW
20132000-05-29 Zack Weinberg <zack@wolery.cumb.org>
2014
2015 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
2016 if HAVE_STRING_H.
2017 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
2018 * objalloc.c: Include config.h. Include stdlib.h and don't
2019 declare malloc or free if HAVE_STDLIB_H.
2020 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
2021 else declare malloc without prototype. Include string.h if
2022 HAVE_STRING_H, else declare memset without prototype. Don't
2023 include stddef.h.
2024
f8e2da56
MS
20252000-05-23 Mike Stump <mrs@wrs.com>
2026
2027 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
c4b9cfe0 2028 -j3.
f8e2da56 2029
650f3068
DA
20302000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
2031
2032 * xmalloc.c: Include config.h for HAVE_SBRK definition.
2033
1d2da2e1
HB
20342000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
2035
d1209685 2036 * hashtab.c (hash_pointer): Delete low-order bits which are
1d2da2e1
HB
2037 probably zero, also eliminate a warning on alpha.
2038
47668d0a
DE
20392000-05-15 David Edelsohn <edelsohn@gnu.org>
2040
c7a79a32 2041 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
47668d0a
DE
2042 on $(enable_shared).
2043
36348eab
JJ
20442000-05-10 Jakub Jelinek <jakub@redhat.com>
2045
2046 * config.table: Use mh-sparcpic for sparc*-*-*.
2047
209bbe34
NC
20482000-05-08 Nick Clifton <nickc@cygnus.com>
2049
2050 * Makefile.in (CFILES): Add strncmp.c.
2051 (NEEDED): Add strncmp.
2052
a85a47fb
KG
20532000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2054
2055 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
2056 Cast the arguments to `islower' to `unsigned char'.
2057 (print_demangler_list): Prototype.
2058
4aef973c
PDM
2059Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
2060
2061 * sort.c (UCHAR_MAX): Provide fallback definition.
2062
3b94497c
AO
20632000-04-29 Alexandre Oliva <aoliva@cygnus.com>
2064
2065 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
2066 SUBDIRS.
2067
24eaa47a
KB
20682000-04-28 Kenneth Block <block@zk3.dec.com>
2069 Jason Merrill <jason@casey.cygnus.com>
2070
d1209685
ZW
2071 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
2072 (cplus_demangle_set_style): New function for setting style.
2073 (cplus_demangle_name_to_style): New function to translate name.
24eaa47a 2074
a9266bfa
KG
20752000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2076
2077 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
2078
2079 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
2080 (libiberty_AC_FUNC_STRNCMP): Invoke.
2081
2082 * strncmp.c: New file.
2083
8e02c4d0
JH
2084Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
2085
2086 * hashtab.c (htab_expand): Add prototype.
2087 (find_empty_slot_for_expand): Likewise.
2088
4feeaae3
KG
20892000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2090
2091 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
2092 match prototype.
2093 (htab_expand): Cast the return value of xcalloc.
2094
18a94a2f
MM
20952000-04-24 Mark Mitchell <mark@codesourcery.com>
2096
2097 * hashtab.c (hash_pointer): New function.
2098 (eq_pointer): Likewise.
2099 (htab_hash_pointer): New variable.
2100 (htab_eq_pointer): Likewise.
2101
eeb0656f
MM
21022000-04-23 Mark Mitchell <mark@codesourcery.com>
2103
b51024fc
MM
2104 * sort.c (sort_pointers): Fix endianness bugs.
2105
eeb0656f
MM
2106 * sort.c: New file.
2107 * Makefile.in (CFILES): Add sort.c
2108 (REQUIRED_OFILES): Add sort.o.
2109 (sort.o): New target.
2110
7277f72d
MS
21112000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2112
2113 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
2114 4.3BSD systems.
2115
e38992e8
RK
2116Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2117
2118 * hashtab.c: Various minor cleanups.
2119 (htab_find_slot_with_hash): INSERT is now enum insert_option.
2120 (htab_find_slot): Likewise.
2121
498e1ab1
DP
21222000-04-16 Dave Pitts <dpitts@cozx.com>
2123
2124 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
d1209685 2125
dc17cc7b
RH
21262000-04-05 Richard Henderson <rth@cygnus.com>
2127
2128 * splay-tree.c (splay_tree_remove): New.
2129
b13eb66b
MM
21302000-03-30 Mark Mitchell <mark@codesourcery.com>
2131
2132 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
2133 codes.
2134 (htab_find_with_hash): Likewise.
2135 (htab_find_slot_with_hash): Likewise.
d1209685 2136
0194e877
ZW
21372000-03-29 Zack Weinberg <zack@wolery.cumb.org>
2138
2139 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
2140 unless it will be used. Rearrange loop for better
2141 optimization.
2142 (higher_prime_number): Add static prototype.
2143
abc61fd4
JL
2144Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
2145
2146 * Makefile.in (partition.o): Depend on config.h
2147
8c5d513f
BS
21482000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
2149
2150 * hashtab.c (find_empty_slot_for_expand): New function.
2151 (htab_expand): Use it instead of htab_find_slot.
2152 (htab_find_with_hash): Renamed from htab_find; now accepts extra
2153 argument HASH.
2154 (htab_find_slot_with_hash): Likewise for htab_find_slot.
2155 (htab_find): New wrapper function.
2156 (htab_find_slot): Likewise.
2157 (htab_traverse): Pass slot, not entry, to called function.
2158
d9d4fb43
AS
21592000-03-09 Alex Samuel <samuel@codesourcery.com>
2160
2161 * Makefile.in (CFILES): Add partition.c.
2162 (REQUIRED_OFILES): Add partition.o.
2163 (partition.o): New rule.
2164 * partition.c: New file.
d1209685 2165
5dc9cffd
ZW
21662000-03-09 Zack Weinberg <zack@wolery.cumb.org>
2167
2168 * hashtab.c (htab_create): Set del_f.
2169 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
2170 Use it.
2171
5194cf08
ZW
21722000-03-08 Zack Weinberg <zack@wolery.cumb.org>
2173
2174 * hashtab.c: Remove debugging variables (all_searches,
2175 all_collisions, all_expansions). Delete
2176 all_hash_table_collisions.
2177 (create_hash_table, delete_hash_table, empty_hash_table,
2178 find_hash_table_entry, remove_element_from_hash_table_entry,
2179 clear_hash_table_slot, traverse_hash_table, hash_table_size,
2180 hash_table_elements_number, hash_table_collisions): Rename to:
2181 htab_create, htab_delete, htab_empty, htab_find_slot,
2182 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
2183 htab_elements, htab_collisions.
2184 (htab_find): New function, handles common case where you don't
2185 plan to add or delete an entry.
2186 (htab_expand): Don't create a whole new table, just a new
2187 entry vector.
2188 (htab_find_slot): Simplify logic.
2189
5ad5a984
ILT
21901999-08-03 Ian Lance Taylor <ian@zembu.com>
2191
2192 * floatformat.c: Add casts to avoid signed/unsigned warnings.
2193 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
2194
2195 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
2196 $(TARGETLIB)n so it works on MSDOS.
2197 (install_to_tooldir): Likewise.
2198
21991999-07-21 Ian Lance Taylor <ian@zembu.com>
2200
2201 From Mark Elbrecht:
2202 * makefile.dos: Remove; obsolete.
2203 * configure.bat: Remove; obsolete.
2204
22051999-07-11 Ian Lance Taylor <ian@zembu.com>
2206
2207 * splay-tree.c (splay_tree_insert): Add initialization to avoid
2208 warning.
2209
aeecce42
MK
22102000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2211
2212 * pexecute.c: Conditionally include string.h.
5194cf08 2213 (fix_argv): Handle embedded whitespace in args for Mingw32.
aeecce42 2214
1eaf7d9c
KG
22152000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2216
2217 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
2218 we're using gcc.
2219
2220 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
2221
0fadedb2
GK
22221999-12-27 Geoff Keating <geoffk@cygnus.com>
2223
2224 * vasprintf.c (int_vasprintf): Don't re-read the format character
2225 as this mishandles strings like '%%s'.
2226
08230f26
MM
22271999-12-05 Mark Mitchell <mark@codesourcery.com>
2228
2229 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
2230 rather than struct splay_tree_node.
2231 (splay_tree_insert): Use struct splay_tree_s rather than struct
2232 splay_tree.
2233
6de9b8ff
PDM
2234Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
2235
2236 * hashtab.c (sys/types.h): File included.
2237
f3636679
JM
22381999-11-22 Jason Merrill <jason@casey.cygnus.com>
2239
2240 * strtoul.c, strtol.c, random.c: Remove advertising clause from
2241 BSD license, pursuant with
2242
2243 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
2244
36dd3a44
JL
2245Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
2246
2247 * hashtab.c: Include stdio.h.
2248
6e300472
JL
2249Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
2250
2251 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
2252
df548dfc
PDM
2253Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
2254
2255 * xstrdup (sys/types.h): Include this file.
2256
2c375143
NS
22571999-10-28 Nathan Sidwell <nathan@acm.org>
2258
2259 * Makefile.in (SUBDIRS): New macro.
2260 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
2261 avoid multiple subdirectory cleaning.
2262 (*-subdir): Use SUBDIRS.
2263
a82cecda
JK
22641999-10-25 Jim Kingdon <http://developer.redhat.com/>
2265
2266 * cplus-dem.c: Move declarations of standard_symbol_characters and
2267 hp_symbol_characters inside #ifdef MAIN to avoid compiler
2268 warnings.
2269
ed38f5d5
ZW
22701999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
2271
2272 * hashtab.c (find_hash_table_entry): When returning a
2273 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
2274 (clear_hash_table_slot): New function which deletes an entry
2275 by its position in the table, not its value.
2276 (traverse_hash_table): New function which calls a hook
2277 function for every live entry in the table.
2278
b60fe4a7
MM
22791999-10-19 Mark Mitchell <mark@codesourcery.com>
2280
2281 * cplus-dem.c (INTBUF_SIZE): New macro.
2282 (string_append_template_idx): New function.
2283 (demangle_expression): Likewise.
2284 (demangle_integral_value): Use it.
2285 (demangle_real_value): New function, split out from ...
2286 (demangle_template_value_parm): ... here. Use
2287 string_append_template_idx. Use demangle_real_value.
2288 (demangle_template): Use string_append_template_idx.
2289 (demangle_qualified): Use consume_count_with_underscores.
2290 (get_count): Tweak formatting.
2291 (do_type): Use string_append_template_idx.
5194cf08 2292
3da5522a
KG
22931999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2294
2295 * calloc.c: Add a public domain notice.
2296
d7d36ea8
PDM
2297Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
2298
2299 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
2300
a2f945c6
VM
2301Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
2302
2303 * Makefile.in (CFILES): Add hashtab.c
2304 (REQUIRED_OFILES): Add hashtab.o
2305 (hashtab.o): Add dependencies.
2306 * hashtab.c: New file
2307
7f22ec2e
MK
2308Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
2309
2310 * basename.c (DIR_SEPARATOR): New macro.
2311 (DIR_SEPARATOR_2): Likewise.
2312 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
2313 (IS_DIR_SEPARATOR): Likewise.
2314 (main): Handle MSDOS style pathname.
2315
7c56a6ce
MM
23161999-10-11 Mark Mitchell <mark@codesourcery.com>
2317
2318 * cplus-dem.c (do_type): Handle pointer to member types whose
2319 enclosing classes have namespace scope.
2320
cd32188b
ME
2321Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
2322
2323 * config.table: Provide a backup shell for executing move-if-change.
2324
fc232f7a
MM
23251999-10-02 Mark Mitchell <mark@codesourcery.com>
2326
2327 * xmalloc.c (xmalloc): Fix spelling error.
2328 (xcalloc, xrealloc): Likewise.
2329
2a138827
KG
23301999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2331
2332 * cplus-dem.c (fancy_abort, demangle_integral_value,
2333 demangle_arm_hp_template, recursively_demangle,
2334 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
2335 (program_name, program_version, fatal): Constify a char*.
2336 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
2337 (main): Call return, not exit.
2338
5a657fc3
KG
23391999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2340
2341 * choose-temp.c: Remove obsolete comment about gcc.
2342 (make_temp_file): Constify a char*.
2343
33c5ddcd
KG
2344Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2345
2346 * xmemdup.c: Include sys/types.h.
2347
b10647f1
JG
23481999-09-07 Jeff Garzik <jgarzik@pobox.com>
2349
2350 * xmemdup.c: New xmemdup function.
2351 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
2352
3dd6c3af
LV
2353Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
2354
5194cf08 2355 * config.table: Add openedition target.
3dd6c3af
LV
2356 * config/mh-openedition: New file.
2357
19e28e2a
ME
2358Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
2359
2360 * pexecute.c (pexecute): Fill in temp_base when needed.
2361
4dfeccf9
RH
23621999-08-31 Richard Henderson <rth@cygnus.com>
2363
2364 * getpwd.c: Check HAVE_GETCWD before defining it away.
2365
4ac3cb83
KG
23661999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2367
2368 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
2369 (REQUIRED_OFILES): Add getpwd.o.
2370 (getpwd.o): Add target.
2371
2372 * configure.in (AC_PREREQ): Bump to 2.13.
2373 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
2374
2375 * getpwd.c: New file, moved here from gcc.
2376
e797ff70
KG
23771999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2378
2379 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
2380 comparing against a signed quantity.
2381 (arm_special): Likewise.
2382 (demangle_fund_type): Likewise.
2383 (do_hpacc_template_const_value): Mark parameter `work' with
5194cf08 2384 ATTRIBUTE_UNUSED.
e797ff70
KG
2385 (main): Constify variable `valid_symbols'.
2386
55247fce
PDM
2387Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
2388
2389 * strtoul.c (strtoul): Add parentheses around && within ||.
2390
76632dd0
DJ
2391Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
2392
2393 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
2394 libdir, libsubdir and tooldir.
2395
d080bbfa
MM
23961999-08-01 Mark Mitchell <mark@codesourcery.com>
2397
2398 * splay-tree.c (splay_tree_insert): Return the new node.
2399
a81c752a
RH
24001999-07-14 Richard Henderson <rth@cygnus.com>
2401
5194cf08 2402 * argv.c: Include stdlib.h and string.h instead of
a81c752a
RH
2403 prototyping directly.
2404 * choose-temp.c: Conditionally include string.h.
2405
8f1824d9
JM
24061999-07-12 Jason Merrill <jason@yorick.cygnus.com>
2407
2408 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
2409
652374d3
ILT
24101999-07-11 Ian Lance Taylor <ian@zembu.com>
2411
2412 * splay-tree.c (splay_tree_insert): Add initialization to avoid
2413 warning.
2414
a4494286
JM
24151999-07-07 Jason Merrill <jason@yorick.cygnus.com>
2416
2417 * Makefile.in (needed-list): Only include stuff we actually need
2418 for libstdc++.
2419
90e72e20
AS
24201999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2421
2422 * configure.in (checkfuncs): Add gettimeofday.
2423 * config.in, configure: Regenerated.
2424
b569200e
MK
2425Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
2426
2427 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
2428 the test fails.
2429 * configure: Regenerate.
2430
73919448
MS
24311999-06-10 Mike Stump <mrs@wrs.com>
2432
2433 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
2434 parallel builds.
2435
fee9125c
KG
24361999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2437
2438 * putenv.c: Include ansidecl.h to define `const'.
2439 * setenv.c: Likewise.
2440
71cce721
MN
2441Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
2442
a7c9637f
JL
2443 * Makefile.in (CFILES): Add putenv.c and setenv.c.
2444 * configure.in (funcs): Add putenv and setenv.
2445 (AC_CHECK_FUNCS): Check for putenv and setenv.
2446 * configure: Rebuilt.
2447 * putenv.c setenv.c: New files.
2448
71cce721
MN
2449 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
2450 bytes of space using malloc.
2451
53504016
SG
2452Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
2453
2454 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
2455 the *mangled pointer beyond the end of the string. Clean up code to
2456 match prevailing coding style.
2457
34842539
MH
24581999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2459
2460 * tmpnam.c (L_tmpnam): Fix typo.
2461
3a08531d
ME
2462Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
2463
2464 * cplus-dem.c (standard_symbol_characters): Renamed from
2465 standard_symbol_alphabet. No longer modify TABLE.
2466 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
2467 modify TABLE.
2468 (main): Corresponding changes. Use strchr to determine if a
2469 character is valid.
2470
8db9d08b
JB
24711999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
2472
2473 * cplus-dem.c (main): Use table lookup to distinguish identifier
2474 characters from non-identifier characters.
2475 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
2476
6a071f4a
FF
2477Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
2478
2479 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
2480 * getruntime.c: Only attempt to include sys/resource.h and
2481 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
2482 are defined.
2483
7dd88617
DT
2484Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
2485
2486 * configure.in (alloca detection): Handle alloca directly for interix.
2487 * configure: Rebuilt.
2488
7a1528bc
MK
2489Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
2490
2491 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
2492
76409268
JB
24931999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
2494
2495 Fix from Dale Hawkins:
5194cf08 2496 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
76409268
JB
2497 reallocated properly if we use it again.
2498
2499 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
2500 stricter about syntax. Always null-terminate string.
2501
acbbd80a
MK
2502Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
2503
2504 * configure.in (checkfuncs): Check for sbrk.
2505 * config.in: Rebuilt.
2506 * configure: Likewise.
2507 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
2508
92523551
JB
25091999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
2510
2511 Fix from Marcus Daniels:
2512 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
2513 identifier looking for another underscore.
2514
36eb4217
MK
2515Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
2516
2517 * pexecute.c: Change all references to __UWIN__ to _UWIN.
2518 * xmalloc.c: Likewise.
2519 (xcalloc): UWIN has sbrk.
2520 (xrealloc): Fix guard macro.
2521
2c45d1a0
RH
25221999-04-11 Richard Henderson <rth@cygnus.com>
2523
2524 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
2525 or <alloca.h>.
2526 * clock.c (GNU_HZ): New definition.
2527 (clock): Use it.
2528 * getruntime.c: Likewise.
2529
2530 * config.table: Use mh-beos.
2531 * config/mh-beos: New file.
2532
391cdef0
MM
25331999-04-11 Mark Mitchell <mark@codesourcery.com>
2534
2535 * cplus-dem.c (demangle_template_value_parm): Handle
2536 pointers-to-members.
2537 (do_type): Handle template parameters as qualifiers.
2538
9d229989
JB
25391999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
2540
2541 * cplus-dem.c: Attempt to handle overflows in counts with some
2542 semblance of grace.
2543 (consume_count): Detect overflows. Return -1 to indicate errors,
2544 instead of zero.
2545 (demangle_template_value_parm, demangle_template): Handle change
2546 to consume_count's return convention.
2547
7c72138a
TT
25481999-04-05 Tom Tromey <tromey@cygnus.com>
2549
2550 * testsuite/regress-demangle: New file.
2551 * testsuite/demangle-expected: New file.
2552
2553 * Makefile.in (all, check, installcheck, info, install-info,
2554 clean-info, dvi, install, etags, tags, mostlyclean, clean,
2555 distclean, maintainer-clean, realclean): Depend on corresponding
2556 `-subdir' target.
2557 (all-subdir check-subdir installcheck-subdir info-subdir
2558 install-info-subdir clean-info-subdir dvi-subdir
2559 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
2560 distclean-subdir maintainer-clean-subdir): New target.
2561 * testsuite/Makefile.in: New file.
2562 * configure: Rebuilt.
2563 * configure.in: Create testsuite/Makefile.
2564
ae7f7270
MM
25651999-04-02 Mark Mitchell <mark@codesourcery.com>
2566
2567 * splay-tree.h (splay_tree_compare_pointers): Define.
2568
30f72379
MM
25691999-03-30 Mark Mitchell <mark@codesourcery.com>
2570
2571 * splay-tree.c (splay_tree_compare_ints): Define.
2572
4cc48683
TT
25731999-03-30 Tom Tromey <tromey@cygnus.com>
2574
2575 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
2576 don't advance input pointer.
2577 (demangle_class_name): If consume_count didn't find a count, do
2578 nothing. Don't bother with `strlen' sanity check; consume_count
2579 does it for us.
2580
3510075c
JL
25811999-03-16 Stan Shebs <shebs@andros.cygnus.com>
2582
2583 From Art Haas <ahaas@neosoft.com>:
2584 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
2585 when doing arm or hp style.
2586 (demangle_nested_args): Decr forgetting_types field when done.
5194cf08 2587
89f602a7
MK
2588Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
2589
2590 * pexecute.c (__CYGWIN32__): Rename to
2591 (__CYGWIN__): this.
2592 * xmalloc.c: Likewise.
2593
2594 Changes to support i386-pc-uwin.
2595 * configure.in (*-*-uwin*): Workaround for vfork bug.
2596 * configure: Regenerate.
2597 * pexecute.c (pexecute): Be like standard Unix.
2598 (pwait): Likewise.
2599 * xmalloc.c (first_break): Define.
2600 (xmalloc_set_program_name): Use.
2601 (xmalloc): Use.
2602
9346c824
FS
2603Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2604
2605 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
2606
3510075c
JL
2607Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
2608
2609 * config.table: Check cygwin*, not cygwin32*.
2610
8ec65f13
DB
2611Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
2612
2613 * Makefile.in: Change mkstemp -> mkstemps.
2614
687361c8
ME
2615Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
2616
2617 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
2618 * configure.in (funcs): Check for and conditionally add mkstemps to
2619 the list of functions libiberty will provide.
2620 * configure: Rebuilt.
5194cf08 2621
b207e09c
MK
2622Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
2623
5194cf08 2624 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
b207e09c
MK
2625 platforms that don't have HZ.
2626 * getruntime.c (HZ): Likewise.
2627
16b4c15e
RH
2628Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
2629
2630 * Makefile.in (xstrdup.o): Depend on config.h.
2631
38beb75c
UD
2632Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
2633
2634 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
2635 freeing it.
2636
7e4311a3
KG
2637Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2638
2639 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
2640
3510075c
JL
2641Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2642
2643 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
2644 splay-tree.o.
2645
26461999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
2647
2648 * configure.in: Require autoconf 2.12.1 or higher.
2649
fb9939b8
MM
26501998-12-30 Michael Meissner <meissner@cygnus.com>
2651
2652 * random.c (NULL): Don't redefine NULL if it is already defined.
2653
087aa398
KG
2654Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2655
2656 * argv.c (buildargv): Cast the result of alloca in assignment.
2657
2658 * choose-temp.c: Include stdlib.h.
38beb75c 2659
087aa398 2660 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
c4b9cfe0
AJ
2661 (snarf_numeric_literal): Constify first parameter.
2662 (code_for_qualifier): Avoid a gcc extension, make the parameter an
2663 int, not a char.
087aa398
KG
2664 (demangle_qualifier): Likewise.
2665 (demangle_signature): Cast the argument of a ctype function to
2666 unsigned char.
2667 (arm_pt): Add parens around assignment used as truth value.
2668 (demangle_arm_hp_template): Constify variable `args'.
2669 (do_hpacc_template_const_value): Cast the argument of a ctype
2670 function to unsigned char.
2671 (do_hpacc_template_literal): Remove unused variable `i'.
2672 (snarf_numeric_literal): Constify parameter `args'.
2673 Cast the argument of a ctype function to unsigned char.
2674
2675 * floatformat.c (floatformat_to_double): Add explicit braces to
c4b9cfe0 2676 avoid ambiguous `else'.
38beb75c 2677
087aa398 2678 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
c4b9cfe0
AJ
2679 `cstart' and `cend' to unsigned char. Cast the argument of macro
2680 `FOLD', which uses ctype functions, to unsigned char.
087aa398
KG
2681
2682 * objalloc.c (free): Add prototype.
2683
21f2174d
HPN
2684Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
2685
2686 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
2687
3510075c
JL
2688Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
2689
2690 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
c4b9cfe0 2691 doesn't exist.
3510075c 2692 (do_hpacc_template_literal): remove unused variable `i'.
5194cf08 2693
e8fc8222
AM
2694Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2695
2696 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
2697 bumping the pointer we read from. Also prepend these codes,
2698 as we do in other places.
2699
3510075c
JL
27001998-12-18 Nick Clifton <nickc@cygnus.com>
2701
2702 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
2703 'const char *' in order to match its usage when calling siblings.
2704 (snarf_numeric_literal): Make first arg 'const char **' in order
2705 to match usage.
11a0bb74 2706
f4f30aa1
JL
2707Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2708
11a0bb74
KG
2709 * choose-temp.c: Don't check IN_GCC anymore.
2710
2711 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
2712 * memchr.c (memchr): Likewise.
2713 * memcpy.c (memcpy): Likewise.
2714 * memmove.c (memmove): Likewise.
38beb75c 2715
11a0bb74
KG
2716 * mkstemp.c: Don't check IN_GCC anymore.
2717 * pexecute.c: Likewise.
2718 * splay-tree.c: Likewise.
38beb75c 2719
11a0bb74
KG
2720 * strchr.c (strchr): Use `const', not `CONST'.
2721 * strrchr.c (strrchr): Likewise.
2722 * strtol.c (strtol): Likewise.
2723 * strtoul.c (strtoul): Likewise.
2724
70d5ccef
DT
2725Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
2726 Elena Zannoni <ezannoni@cygnus.com>
2727 Stan Shebs <shebs@cygnus.com>
2728 Edith Epstein <eepstein@cygnus.com>
2729 Andres MacLeod <amacleod@cygnus.com>
2730 Satish Pai <pai@apollo.hp.com>
2731
2732 * HP aCC demangling support.
2733 * cplus-dem.c
2734 (main): Remove default to HP style demangling, set to EDG
c4b9cfe0
AJ
2735 demangling correctly when -edg specified; set the demangling style
2736 when user specifies 'edg'. Set strip_underscore to
2737 prepends_underscore, if not HPUXHPPA. Set
2738 current_demangling_style to hp_demangling if HPUXHPPA. Set
2739 current demangling style correctly if the switch is hp. Read
2740 label correctly also in the HP style case.
70d5ccef 2741 (work_stuff): add temp_start field; add field for volatile member
c4b9cfe0 2742 function.
70d5ccef 2743 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
c4b9cfe0 2744 style for this case is the same as ARM.
70d5ccef
DT
2745 (demangle_args): handle EDG_DEMANGLING style; support HP style.
2746 (demangle_arm_hp_template): new function. (It was
c4b9cfe0
AJ
2747 demangle_arm_pt.); check and set value of temp_start field in
2748 multiple places. Also, when ceching for end of template args,
2749 check to see if at end of static member of template class.
70d5ccef 2750 (demangle_class): new local variable : save_class_name_end Don't
c4b9cfe0 2751 include template args in string defining class.
70d5ccef
DT
2752 (demangle_class_name): use demangel_arm_hp_template.
2753 (demangle_function_name): handle case where demangling style is
c4b9cfe0
AJ
2754 HP_DEMANGLING and currently point at an 'X' in the mangled name.
2755 Handle EDG_DEMANGLING style. Handle constructor and destructor
2756 ops for HP style.
70d5ccef 2757 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
c4b9cfe0
AJ
2758 styles. global destructor and constructor for HP style are same
2759 as for ARM style. Same for local variables.
70d5ccef
DT
2760 (demangle_qualified): handle EDG_DEMANGLING style.
2761 (demangle_signature): add case for volatile member function. For
c4b9cfe0
AJ
2762 cases '1' - '9' : initialize the temp_start field to -1 and handle
2763 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
2764 and AUTO_DEMANGLING styles. If expecting a function and managed
2765 to demangle the funct args, then handle the LUCID_DEMANGLING,
2766 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
2767 class name after "Lnnn_ in HP style case. HP style too needs to
2768 forget types. _nnn is OK for HP style, so don't report failure.
70d5ccef 2769 (do_hpacc_template_const_value): new function. Handle template's
c4b9cfe0 2770 value param for HP/aCC.
70d5ccef 2771 (do_hpacc_template_literal): new function. Handle a template's
c4b9cfe0 2772 literal parameter for HP aCC.
70d5ccef
DT
2773 (recursively_demangle): new function
2774 (snarf_numeric_literal): new function.
2775 (usage): add 'edg' to the list of demangling styles; add hp switch
c4b9cfe0 2776 to message.
70d5ccef 2777
8d525fa8
CF
2778Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
2779
2780 * pexecute.c: Remove obsolete ifdefed cygwin code.
2781
9b1a92d8
KG
2782Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2783
2784 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
2785 * cplus-dem.c: Likewise. Conform to libiberty.h.
2786 * pexecute.c: Likewise.
2787 * splay-tree.c: Likewise.
2788
c85c3232
MS
27891998-11-25 Mike Stump <mrs@wrs.com>
2790
2791 * Makefile.in (splay-tree.o): Add config.h dependency.
2792
35a6cd99
KG
2793Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2794
2795 * configure.in: Use AC_PREREQ(2.12.1).
2796
6e6e34b7
BK
27971998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
2798
5194cf08 2799 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
6e6e34b7 2800
59b67c11
JL
2801Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
2802
2803 * mpw.c (mpw_access): Add missing parens.
2804
a6458d1d
KG
2805Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2806
2807 * configure.in: Call AC_HEADER_SYS_WAIT.
2808
2809 * pexecute.c: Include sys/wait.h when !IN_GCC.
2810
3510075c
JL
2811Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
2812
2813 * pexecute.c: revert back to checking old Cygwin
2814 preprocessor symbol until some time has passed.
2815
2816Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
2817
2818 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
2819 since it will now support similar constructs.
2820
a9acf741
KG
2821Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2822
2823 * configure.in: Check for calloc.
2824
2825 * calloc.c: New file.
2826
2827 * xmalloc.c (xcalloc): New function.
2828
a49fb37a
AM
2829Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2830
2831 *cplus-dem.c (demangle_prefix): Use the last "__"
2832 in the mangled name when looking for the signature. This allows
2833 template names to begin with "__".
2834
0e714131
MM
28351998-11-08 Mark Mitchell <mark@markmitchell.com>
2836
ec2288ff
MM
2837 * cplus-dem.c (type_kind_t): Add tk_reference.
2838 (demangle_template_value_parm): Handle it.
2839 (do_type): Use it for references, instead of tk_pointer.
2840
0e714131
MM
2841 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
2842 not internal_cplus_demangle.
2843
2931b6d4
KG
2844Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2845
2846 * choose-temp.c: Don't include gansidecl.h.
2847 * mkstemp.c: Likewise.
2848 * pexecute.c: Likewise.
2849
dd8f3ed5
GN
2850Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
2851
5194cf08
ZW
2852 * configure.in: detect cygwin* instead of cygwin32*
2853 * configure: regenerate
dd8f3ed5 2854
c5f7c445
KG
2855Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2856
2857 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
c4b9cfe0
AJ
2858 whether to include config.h. Possibly include unistd.h in the
2859 !IN_GCC case. Define VFORK_STRING as a printable function call
2860 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
2861 defined, include vfork.h. If VMS is defined, define vfork()
2862 appropriately. Remove vfork check on USG, we're using autoconf.
2863 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
2864 locally what string to use.
c5f7c445 2865
ad3ef78e
MM
28661998-10-26 Mark Mitchell <mark@markmitchell.com>
2867
2868 * splay-tree.c: Tweak include directives to make sure declarations of
2869 xmalloc and free are available.
2870
224301c1
MM
28711998-10-25 Mark Mitchell <mark@markmitchell.com>
2872
2873 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
2874 anonymous namespaces.
38beb75c 2875
d9db46fd
MM
28761998-10-23 Mark Mitchell <mark@markmitchell.com>
2877
2878 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
2879 with type_quals.
2880 (TYPE_UNQUALIFIED): New macro.
2881 (TYPE_QUAL_CONST): Likewise.
2882 (TYPE_QUAL_VOLATILE): Likewise.
2883 (TYPE_QUAL_RESTRICT): Likewise.
2884 (code_for_qualifier): New function.
2885 (qualifier_string): Likewise.
2886 (demangle_qualifier): Likewise.
2887 (internal_cplus_demangle): Use them.
2888 (demangle_signature): Likewise.
2889 (demangle_template_value_parm): Likewise.
2890 (do_type): Likewise.
2891 (demangle_fund_type)): Likewise.
224301c1 2892
b056ad1c
KG
2893Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2894
2895 * splay-tree.c (splay_tree_foreach_helper): Make definition static
2896 to match prototype.
2897
ed87f9c8
MM
28981998-10-21 Mark Mitchell <mark@markmitchell.com>
2899
2900 * splay-tree.c: New file.
2901 * Makefile.in (CFILES): Add it.
2902 (REQUIRED_OFILES): Likewise.
2903 (splay-tree.o): Add dependencies.
2904
e0c13971
AS
2905Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2906
2907 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
2908 range of 'K' index.
2909
91e0f659
KG
2910Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2911
2912 * choose-temp.c: Prototype mkstemps() when IN_GCC.
2913
2914 * cplus-dem.c (consume_count): Cast argument of ctype macro to
2915 `unsigned char'.
2916 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
2917 comparing against one.
2918 (cplus_mangle_opname): Likewise.
2919 (demangle_integral_value): Cast argument of ctype macro to
2920 `unsigned char'.
2921 (demangle_template_value_parm): Likewise.
2922 (demangle_template): Initialize variable `bindex'. Cast the
2923 result of `strlen' to (int) when comparing against one. Remove
2924 unused variable `start_of_value_parm'.
2925 (demangle_class_name): Cast the result of `strlen' to (int) when
2926 comparing against one.
2927 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
2928 (gnu_special): Likewise. Cast the result of `strlen' to (int)
2929 when comparing against one.
2930 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
2931 (get_count): Likewise.
2932 (do_type): Likewise. Cast the result of `strlen' to (int) when
2933 comparing against one.
2934 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
2935 (demangle_function_name): Cast the result of `strlen' to (int)
2936 when comparing against one.
2937
2938 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
2939 comparing against one.
2940
73aeb2ff
JL
2941Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
2942
5194cf08
ZW
2943 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
2944 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
2945 * config.in, configure: Rebuilt.
ae76f1be 2946
73aeb2ff
JL
2947 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
2948 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
2949 * config.in, configure: Rebuilt.
2950
dd8f3ed5
GN
2951Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
2952
5194cf08 2953 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
dd8f3ed5 2954
f77d8413
MT
2955Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
2956
2957 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
2958
ca6b370d
JL
2959Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
2960
2961 * Merge egcs & devo libiberty.
2962
ab4856b1
ML
2963