* configure.in: Handle arm-*-rtems* and thumb-*rtems*.
[deliverable/binutils-gdb.git] / libiberty / ChangeLog
CommitLineData
3f2aacaf
DJ
12003-09-15 Daniel Jacobowitz <drow@mvista.com>
2
3 * floatformat.c (floatformat_is_valid): New function.
4 (get_field, put_field): Correct comments.
5
aae66b9f
DD
62003-09-06 Josef Zlomek <zlomekj@suse.cz>
7
8 * fibheap.c (fibheap_replace_key_data): Change type of OKEY to
9 FIBHEAPKEY_T.
10
60b04ee8
DD
112003-09-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
12
13 PR bootstrap/12100
14 * aclocal.m4 (AC_LANG_FUNC_LINK_TRY): Define.
15 * configure: Rebuilt.
16
2299a76d
DJ
172003-08-27 Daniel Jacobowitz <drow@mvista.com>
18
19 * aclocal.m4: Include acx.m4 and no-executables.m4.
20 (libiberty_AC_FUNC_STRNCMP): Use AC_LIBOBJ.
21 (LIB_AC_PROG_CC): Remove.
22 * configure.in: Update AC_PREREQ to 2.57. Use GCC_NO_EXECUTABLES.
23 Use AC_PROG_CC and set ac_libiberty_warn_cflags instead of using
24 LIB_AC_PROG_CC. Use AC_LIBOBJ. Call AC_ISC_POSIX later, only if
25 performing link tests.
26 * configure: Regenerated.
27
9ad1aa29
DD
282003-08-12 Nathanael Nerode <neroden@gcc.gnu.org>
29
30 * cp-demangle.c: Clarify what package(s) this is part of.
31
dbb9d0f3
DD
322003-07-05 Danny Smith <dannysmith@users.sourceforge.net>
33
34 * pex-win32.c (pexecute): Mark parameters this_pname and
35 temp_base as unused. Remove unused variables retries,
36 sleep_interval. Initialize org_stdin, org_stdout.
37 (pwait): Mark parameter flags as unused.
38
392003-07-02 Danny Smith <dannysmith@users.sourceforge.net>
ab8c7bb1
DD
40
41 * pex-win32.c (fix_argv): Ensure that the executable pathname
42 uses Win32 backslashes.
43 (pexecute): Cast away constness when assigning *errmsg_arg.
44
78c5b0a5
L
452003-06-26 H.J. Lu <hongjiu.lu@intel.com>
46
47 * testsuite/demangle-expected: Add more GNU V3 testcases.
48
70ecf948
DD
492003-06-22 Zack Weinberg <zack@codesourcery.com>
50
51 * safe-ctype.c: Use HOST_CHARSET_ASCII and HOST_CHARSET_EBCDIC,
52 not HC_ASCII and HC_EBCDIC.
53 Add documentation in form expected by gather-docs.
54 * hex.c: Use HOST_CHARSET, not hand-coded check of character set.
55 * Makefile.in, functions.texi: Regenerate.
56
cbc0188b
DD
572003-06-21 Zack Weinberg <zack@codesourcery.com>
58
59 * safe-ctype.c: Separate out EOF==-1 check. Use HOST_CHARSET
60 for charset determination.
61
5f73c378
DD
622003-06-19 Dara Hazeghi <dhazeghi@yahoo.com>
63
64 * configure.in: Add check for malloc.h needed by
65 m68k for function free().
66 * configure: Regenerated.
67 * config.in: Add HAVE_MALLOC_H.
68 * hashtab.c: include malloc.h were available for
69 free().
70
e69f6c8c 712003-06-09 Albert Chin-A-Young <china@thewrittenword.com>
cbc0188b 72
e69f6c8c
DD
73 PR bootstrap/10974
74 * physmem.c: Update comment.
75 * configure.in: Modify test for _system_configuration for older
76 AIX systems.
77
78 * config.in, configure: Regenerated.
cbc0188b 79
54c60684
DD
802003-06-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
81
82 PR other/10810
83 * test-demangle.c (getline): Fix fence-post error.
84
5a4e47bd
NC
852003-06-03 Nick Clifton <nickc@redhat.com>
86
87 * asprintf.c: Change comment to note that -1 is returned upon
88 error.
89 * vasprintf.c: Likewise.
90 (vasprintf): Return -1 upon error.
91 * functions.texi: Document changes to asprintf and vasprintf.
92
916f5d13
DD
932003-05-19 Kelley Cook <kelleycook@wideopenwest.com>
94
95 * config.table: Accept i[345867]86 variant.
96
e4f79046
JB
972003-05-15 Jim Blandy <jimb@redhat.com>
98
99 * hex.c (_hex_value): Make this unsigned.
100 (hex_value): Update documentation for new return type. hex_value
101 now expands to an unsigned int expression, to avoid unexpected
102 sign extension when we store it in a bfd_vma, which is larger than
103 int on some platforms.
104 * functions.texi: Regenerated.
105
0f3538e7
DD
1062003-05-07 Josef Zlomek <zlomekj@suse.cz>
107
108 * splay-tree.c (splay_tree_predecessor): Fix comment.
109 (splay_tree_successor): Fix comment.
110
7108c5dc
JM
1112003-05-07 Jason Merrill <jason@redhat.com>
112
eafaf5eb 113 * hashtab.c (iterative_hash): New fn.
7108c5dc
JM
114 * configure.in: Add AC_C_BIGENDIAN_CROSS.
115 * aclocal.m4: Include accross.m4.
116 * configure, config.in: Regenerate.
117
0b555173
DD
1182003-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
119
120 * configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
121 * configure: Regenerate.
122
8730135a
DD
1232003-05-03 Carlo Wood <carlo@alinoe.com>
124
125 * cp-demangle.c: Fix typo in "char_traints" string-literal.
126
341eccbc
DD
1272003-04-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
128
129 * vsnprintf.c (vsnprintf): Don't pad string with extra nulls.
130 (main): Test that we don't write too much data.
131
2ed1e5cc
DD
1322003-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
133
134 * configure.in (funcs, AC_CHECK_FUNCS): Add snprintf and
135 vsnprintf.
136 * snprintf.c, vsnprintf.c: New files.
137 * Makefile.in (CFILES): Add snprintf.c and vsnprintf.c.
138 (CONFIGURED_OFILES): Add snprintf.o and vsnprintf.o.
139 Regenerate dependencies.
140
141 * functions.texi, configure, config.in: Regenerated.
142
10b57b38
DD
1432003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
144
145 * mempcpy.c, stpcpy.c, stpncpy.c: New files.
146 * configure.in (funcs, AC_CHECK_FUNCS): Add mempcpy, stpcpy
147 and stpncpy.
148 * Makefile.in (CFILES): Add mempcpy.c, stpcpy.c and stpncpy.c.
149 (CONFIGURED_OFILES): Add mempcpy.o, stpcpy.o and stpncpy.o.
150 Regenerate dependencies.
151
152 * functions.texi, configure, config.in: Regenerated.
153
ff773b85
DD
1542003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
155
156 * argv.c: Fix comments.
157 * calloc.c: Don't unnecessarily include "libiberty.h".
158 (bzero): Add prototype.
159 * floatformat.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
160 * getcwd.c (getcwd): Use standard definition to avoid conflicts
161 with system headers.
162 * hashtab.c (htab_traverse): Delete unused variables.
163 * rename.c: Include "ansidecl.h".
164 (rename): Use standard definition to avoid conflicts with system
165 headers.
166 * strsignal.c: Rely on ANSI_PROTOTYPES.
167 * strstr.c: Check GNUC >= 2, not GNUC == 2.
168 * vfprintf.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
169 * vprintf.c: Include "ansidecl.h" earlier, rely on
170 ANSI_PROTOTYPES.
171 * vsprintf.c: Include "ansidecl.h" earlier, rely on
172 ANSI_PROTOTYPES and possibly include <stdarg.h>.
cbc0188b 173
ff773b85
DD
174 * Makefile.in: Regenerate dependencies.
175
bb325820
DD
1762003-04-15 DJ Delorie <dj@redhat.com>
177
178 * maint-tool (deps): Scan for headers in $srcdir also.
179
258a4893
DD
1802003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
181
182 PR target/10338
183 PR bootstrap/10198
184 PR bootstrap/10140
185 * getopt.c (exchange, _getopt_initialize): Use mempcpy not
186 __mempcpy.
187 * regex.c (regerror): Likewise.
188
ff773b85
DD
1892003-04-14 Roger Sayle <roger@eyesopen.com>
190
191 * argv.c: Use ANSI_PROTOTYPES instead of __STDC__.
192 * memchr.c: Likewise.
193 * strcasecmp.c: Likewise.
194 * strncasecmp.c: Likewise.
195 * strncmp.c: Likewise.
196 * xatexit.c: Likewise.
197 * xmalloc.c: Likewise.
198
199 * copysign.c: Use traditional function declaration instead of DEFUN.
200 * sigsetmask.c: Likewise.
201
202 * memcmp.c: Both of the above, ANSI_PROTOTYPES and DEFUN.
203 * memset.c: Likewise.
204
205 * memcpy.c: ANSI_PROTOTYPES, DEFUN and prototype bcopy.
206 * memmove.c: Likewise.
207
eec539c7
DD
2082003-04-14 Roger Sayle <roger@eyesopen.com>
209
210 * strdup.c (strdup): Tweak implementation to use memcpy.
211
daf7c4ad
DD
2122003-04-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
213
214 * configure.in (HAVE_UINTPTR_T): Always define.
215 * configure: Regenerated.
216
aa072e59
AO
2172003-03-23 Alexandre Oliva <aoliva@redhat.com>
218
219 * Makefile.in (MULTIOSDIR): New macro. Use $(CC) $(LIBCFLAGS)
220 instead of $$CC alone.
221 (install_to_tooldir): Use it.
222
f77ed96c
DD
2232003-17-03 Jan Hubicka <jh@suse.cz>
224
225 * hashtab.c (htab_traverse_noresize): Break out from ...
226 * hashtab.c (htab_traverse): ... here.
227
2336e177
DD
2282003-12-03 Jan Hubicka <jh@suse.cz>
229
230 * hashtab.c (htab_expand): Fix warning.
231
232 * hashtab.c (htab_expand): Compute the size of hashtable based
233 on the number of elements actually used.
234 (htab_traverse): Call htab_expand when table is too empty.
235
d8cbbf95
DD
2362003-03-11 Carlo Wood <carlo@gnu.org>
237
238 * cplus-dem.c (demangle_integral_value): Correction to reflect
239 patch of 2002-01-10 in order to also make negative multi-digits
240 without leading underscore work.
241
a01fefeb
DD
2422003-03-03 Mark Mitchell <mark@codesourcery.com>
243
244 * cplus-dem.c: Add license exception to copyright notice.
245
638ceb1a
DD
2462003-02-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
247
248 * physmem.c: Formatting changes from upstream.
249
ef803806
DD
2502003-02-24 Danny Smith <dannysmith@users.source.forge.net>
251
252 * physmem.c (physmem_total): Add _WIN32 support.
253 (physmem_available): Likewise.
254
181fa229
DD
2552003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
256
257 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
258 GSI_PHYSMEM.
259 (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS.
260
cc529274
DD
2612003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
262
263 * configure.in: Check for sys/systemcfg.h and
264 _system_configuration.
265 * physmem.c: Add support for AIX. Tweek formatting as per
266 upstream coreutils beta.
267
2682003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
269 Richard Earnshaw <rearnsha@arm.com>
270 Geoffrey Keating <geoffk@apple.com>
cbc0188b 271
cc529274
DD
272 * configure.in: Check for sys/sysctl.h and sysctl.
273 * physmem.c: Add support for *bsd and darwin.
274 * Makefile.in: Generate depedency for physmem.o.
275
192cbe66
DD
2762003-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
277
278 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on
279 Tru64 UNIX.
280 (physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on
281 Tru64 UNIX.
282
283 * configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h,
284 machine/hal_sysinfo.h, sys/table.h.
285 (checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table.
286 * configure, config.in: Regenerate.
287
ff773b85
DD
2882003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
289
290 * configure.in: Check for sys/sysmp.h and sysmp.
291 * physmem.c: Pull upstream copy, add support for irix6.
292
293 * config.in, configure: Regenerated.
294
900d2082
DD
2952003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
296
297 * physmem.c (physmem_total, physmem_available): De-ANSI-fy.
298 * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and
299 pstat_getdynamic.
cbc0188b 300
4938384a
DD
3012003-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
302
303 * Makefile.in (CFILES): Add physmem.c.
304 (REQUIRED_OFILES): Add physmem.o.
305 * configure.in: Check for sys/pstat.h.
306 (checkfuncs): Add pstat_getstatic and pstat_getdynamic.
307 * physmem.c: New file, copied from textutils.
308
309 * config.in, configure: Regenerated.
310
ba61a412
DJ
3112003-02-20 Daniel Jacobowitz <drow@mvista.com>
312
313 * Makefile.in (CFILES): Add lrealpath.c.
314 (REQUIRED_OFILES): Add lrealpath.o.
315 (lrealpath.o): Add rule.
316 * aclocal.m4 (libiberty_NEED_DECLARATION): Add.
317 * configure.in: Add realpath and canonicalize_file_name to
318 checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION
319 for canonicalize_file_name.
320 * lrealpath.c: New file.
321 * make-relative-prefix.c: Update documentation.
322 (make_relative_prefix): Simplify. Use lbasename and lrealpath.
323 * config.in: Regenerated.
324 * configure: Regenerated.
325 * functions.texi: Regenerated.
326
25dfe0ac
DD
3272003-02-20 jmc <jmc@prioris.mini.pw.edu.pl>
328
329 * cplus_dem.c: Fix typo: intializes -> initializes.
330
8b90eef4
AO
3312003-02-20 Alexandre Oliva <aoliva@redhat.com>
332
333 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
334 config.status.
335 * configure: Rebuilt.
336
fcd7c7c9
DD
3372003-02-13 Daniel Jacobowitz <drow@mvista.com>
338
339 Fix PR c++/7612.
340 * cplus-dem.c (demangle_signature): Call string_delete.
341 Remove extra string_init.
342 (demangle_arm_hp_template): Call string_delete instead of
343 string_clear. Add missing string_delete call.
344 (demangle_qualified): Add missing string_delete call.
345 (do_type): Remove unused variable btype. Add missing string_delete
346 call. Call string_delete instead of string_clear.
347 (demangle_fund_type): Move variable btype inside of the switch
348 statement. Add missing string_delete call.
349 (do_arg): Call string_delete instead of string_clear. Remove extra
350 string_init.
351 (demangle_nested_args): Free work->previous_argument.
352
073c427b
DD
3532003-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
354
355 * acconfig.h: New file. Add uintptr_t.
356 * config.in: Regenerated.
357
f8bd3000
DD
3582003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
359
360 * libiberty.texi: Update to GFDL 1.2.
361
85b9a938
DD
3622003-01-30 Christian Cornelssen <ccorn@cs.tu-berlin.de>
363
364 * Makefile.in (libiberty_topdir): New subst.
365 (mkinstalldirs): Redefine in terms of the above.
366 * configure.in: AC_SUBST it.
367 * configure: Regenerate.
368
578460f2
AO
3692003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de>
370
371 * Makefile.in (all-subdir, check-subdir, installcheck-subdir)
372 (info-subdir, install-info-subdir, clean-info-subdir)
373 (dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
374 (clean-subdir, distclean-subdir, maintainer-clean-subdir):
375 Pass $(FLAGS_TO_PASS).
376
7f285245
AO
3772003-01-27 Alexandre Oliva <aoliva@redhat.com>
378
379 * Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
380 /`$$CC -print-multi-os-directory`.
381
5f9624e3
DJ
3822003-01-26 Daniel Jacobowitz <drow@mvista.com>
383
384 * hashtab.c (htab_create_alloc_ex): New function.
385 (hatab_set_functions_ex): New function.
386 (htab_delete, htab_expand): Support alternate allocation functions.
387
9c2259b8
DD
3882003-01-24 Christopher Faylor <cgf@redhat.com>
389
390 * configure.in: Remove special pex-cygwin consideration.
391 * configure: Regenerate.
392 * pex-cygwin.c: Remove.
393 * Makefile.in: Remove pex-cygwin.[co] lines.
394
5a17353c
DD
3952003-01-24 Zack Weinberg <zack@codesourcery.com>
396
397 * Makefile.in (CFILES): Add pex-*.c.
398 (REQUIRED_OFILES): Change pexecute.o to @pexecute@
399 (CONFIGURED_OFILES): Add pex-*.o.
400 (TEXIFILES): Add pexecute.txh.
401 (pexecute.o): Delete rule.
402 (pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o,
403 pex-unix.o, pex-win32.o): New rules.
404 * configure.in: Change AC_INIT argument to xmalloc.c.
405 Compute appropriate pexecute implementation and substitute it
406 as @pexecute@.
407
408 * pexecute.c: Split up into...
409 * pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c,
410 pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these
411 new files.
412
413 * functions.texi: Regenerate.
414 * configure: Regenerate.
415
eed2b28c
DD
4162003-01-20 Josef Zlomek <zlomekj@suse.cz>
417
418 * hashtab.c (htab_expand): Fix allocation of new entries.
419
27a39a5f
DD
4202003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
421
422 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
423
424 * Makefile.in (install_to_libdir, install_to_tooldir): Add a
425 mkinstalldirs command.
426
b51c1553
DD
4272002-12-04 Danny Smith <dannysmith@users.sourceforge.net>
428
429 * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
430 Define for hosts with HOST_EXECUTABLE_SUFFIX.
431
756954c3
DD
4322002-11-24 Nick Clifton <nickc@redhat.com>
433
434 * make-relative-prefix.c (make_relative_prefix): Ensure return
435 string is empty before using strcat to construct it.
436
2a80c0a4
DD
4372002-11-22 Daniel Jacobowitz <drow@mvista.com>
438
439 * Makefile.in: Add make-relative-prefix.c.
440 * make-relative-prefix.c: New file.
441 * functions.texi: Rebuilt.
442
768b20d8
JJ
4432002-11-16 Jakub Jelinek <jakub@redhat.com>
444
445 * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
446 used with arguments in traditional C' warnings.
447
f52d1d64
JJ
4482002-10-16 Jakub Jelinek <jakub@redhat.com>
449
450 * config.table: Use mh-s390pic for s390x too.
451
0d3deb8d
DD
4522002-10-06 Andreas Jaeger <aj@suse.de>
453
454 * libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded
455 variable and of strict-aliasing warning.
456 (grow_vect): Use char as first parameter.
457
1b67de92
DD
4582002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
459
460 * Makefile.in (all): Fix multilib parallel build.
461
585cc78f
DD
4622002-09-19 John David Anglin <dave@hiuly1.hia.nrc.ca>
463
464 * cp-demangle.c (demangling_new): Cast 0 to enum.
465 (demangle_char): Cast return of strdup to char *.
466 (is_gnu_v3_mangled_ctor): Cast 0 to enum.
467 (is_gnu_v3_mangled_dtor): Likewise.
468 * cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
469 (work_stuff_copy_to_from): Cast return of xmalloc to char **.
470 * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
471 * md5.c (md5_process_bytes): Cast results back to const void *.
472 (md5_process_block): Add cast to const md5_uint32 *.
473 * regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
474 * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
475 unsigned short.
476 * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
477 to void *.
478 * vasprintf.c (int_vasprintf): Cast return of malloc to char *.
479
e21b0cc1
NC
4802002-09-19 Nick Clifton <nickc@redhat.com>
481
482 * README: Update email addresses for bugs and patches.
483
a54ba43f
DD
4842002-09-10 Mike Stump <mrs@apple.com>
485
486 * splay-tree.c (splay_tree_successor): Fix comments.
487
4882002-09-11 Zack Weinberg <zack@codesourcery.com>
489
490 * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
491 * testsuite/Makefile.in: Adjust for test-demangle.
492 * testsuite/regress-demangle: Deleted.
493 * testsuite/test-demangle.c: New file.
494 * testsuite/demangle-expected: Change \$ to $ throughout, now that
495 this file is not being read by a shell script.
496
01cea699
DD
4972002-09-05 Roger Sayle <roger@eyesopen.com>
498
499 * regex.c: Only use "#pragma alloca" on AIX when not using gcc.
500
a2832523
DD
5012002-08-07 DJ Delorie <dj@redhat.com>
502
503 * regex.c (re_error_msgid): Just use a simple array of strings.
504 (re_compile_pattern): Compensate.
505 (re_comp): Likewise.
506 (re_comp): Likewise.
507 (regerror): Likewise.
508
1e3f0be0
DD
5092002-07-29 Neil Booth <neil@daikokuya.co.uk>
510
511 * cplus-dem.c (PREPEND_BLANK): Remove.
512
b851d07b
DD
5132002-07-10 Jason Merrill <jason@redhat.com>
514
515 * cp-demangle.c (demangle_identifier): Support extended Unicode
516 characters.
517
2a9dffbf
DD
5182002-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
519
520 * cp-demangle.c (demangle_v3_with_details): Wrap in
521 !defined IN_GLIBCPP_V3.
522
793011ca
DD
5232002-07-01 Mark Mitchell <mark@codesourcery.com>
524
525 * cp-demangle.c (demangle_operator_name): Add type_arg parameter.
526 Set it for the "st" operator.
527 (demangle_expression): Handle expressions with types as arguments.
528
b39b76b8
DD
5292002-06-30 Douglas Rupp <rupp@gnat.com>
530
531 * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
532 * Makefile.in (OUTPUT_OPTION): Use.
533
4748c6d8
DD
5342002-06-22 Peter Breitenlohner <peb@mppmu.mpg.de>
535
536 * Makefile.in (install_to_libdir): Add $(DESTDIR).
537 (install_to_tooldir): Likewise.
538
f9c3326a
DD
5392002-06-17 Douglas Rupp <rupp@gnat.com>
540
541 * lbasename.c: Add 2002 to copyright.
542 (IS_DIR_SEPARATOR): Remove VMS junk.
543
18893690
DD
5442002-06-05 Geoffrey Keating <geoffk@redhat.com>
545
546 * hashtab.c (htab_create): New stub function for backward
547 compatibility.
548 (htab_try_create): Likewise.
549
5502002-06-03 Geoffrey Keating <geoffk@redhat.com>
551
552 * hashtab.c (htab_create): Delete.
553 (htab_try_create): Delete.
554 (htab_create_alloc): New.
555 (htab_delete): Support user-specified memory allocation.
556 (htab_expand): Likewise.
557
5582002-05-22 Roman Lechtchinsky <rl@cs.tu-berlin.de>
559
560 * configure.in: Fix typo in the code checking for sys_errlist.
561 * configure: Regenerated.
562
9296c8b2
DD
5632002-05-13 Andreas Schwab <schwab@suse.de>
564
565 * config.table: Use mh-x86pic also for x86-64.
566
52d98c2d
DD
5672002-05-08 Alexandre Oliva <aoliva@redhat.com>
568
569 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
570 script entry, and set LD to it when configuring multilibs.
571 * configure: Rebuilt.
572
cafa3917
DD
5732002-05-07 Mark Mitchell <mark@codesourcery.com>
574
575 * configure.in (AC_TYPE_PID_T): Use it.
576 * configure: Regenerated.
577 * getruntime.c: Include <sys/types.h>.
578 * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid".
579
b1c933fc
RH
5802002-04-09 Richard Henderson <rth@redhat.com>
581
582 * hashtab.c (higher_prime_number): Use 7 as minimum.
583 (find_empty_slot_for_expand): Don't compute hash2 unless needed.
584 (htab_find_slot_with_hash): Likewise.
585
0c4460bb
DD
5862002-04-01 Phil Edwards <pme@gcc.gnu.org>
587
588 * cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
589 (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally
590 not compile if IN_GLIBCPP_V3 defined.
591 * dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme.
592
f2160d2b
DD
5932002-03-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
594
3ebf1f59 595 * cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
f2160d2b
DD
596 if it is NULL.
597
7dd4d42a
DD
5982002-03-27 DJ Delorie <dj@redhat.com>
599
600 * hex.c: Add documentation.
601 (_hex_value): Provide non-ASCII empty table.
602 (hex_init): Initialize the non-ASCII table.
603 * functions.texi: Regenerate.
604
38e57a35
DD
6052002-03-27 Mark Mitchell <mark@codesourcery.com>
606
607 * dyn-string.c: Add libgcc exception to copyright notice.
608
cfed0715
DD
6092002-03-26 H.J. Lu (hjl@gnu.org)
610
611 * config.table: Support --with-build-subdir.
612 * configure.in: Likewise.
613 * configure: Rebuild.
614
1504972f
DD
6152002-03-18 Stuart Griffith <Stuart_Griffith@credence.com>
616
617 * strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
618 seen.
619
35efcd67
DD
6202002-03-12 Mark Mitchell <mark@codesourcery.com>
621
622 * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
623 notice.
624
dabc64ea
DD
6252002-03-11 Douglas B Rupp <rupp@gnat.com>
626
627 * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
628
3ddbd84c
JB
6292002-03-06 Jim Blandy <jimb@redhat.com>
630
631 * splay-tree.c (splay_tree_xmalloc_allocate,
632 splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
633 prototyped definitions. Mark `data' arguments as unused.
634
efdab807
AC
6352002-03-06 Andrew Cagney <ac131313@redhat.com>
636
637 * floatformat.c (floatformat_arm_ext_big): Delete definition.
638
50d4562d
DD
6392002-03-04 Phil Edwards <pme@gcc.gnu.org>
640
641 * configure.in: Add --enable-install-libiberty option.
642 * Makefile.in (INSTALLED_HEADERS): New variable.
643 (install_to_libdir): Possibly also copy headers.
644 * configure: Regenerated.
645
6462002-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
647
648 * xmalloc.c (xmalloc_fail): Clarify error message further.
649
6e9980f5
DD
6502002-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
651
652 * xmalloc.c (xmalloc_fail): Clarify error message.
653
18893690 6542002-02-22 Jim Blandy <jimb@redhat.com>
2bbcdae9
JB
655
656 * splay-tree.c (splay_tree_xmalloc_allocate,
657 splay_tree_xmalloc_deallocate): New functions.
658 (splay_tree_new): Call splay_tree_new_with_allocator, passing the
659 above functions and a dummy data pointer.
660 (splay_tree_new_with_allocator): New function.
661 (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
662 splay_tree_remove): Use the splay tree's allocation and
663 deallocation functions.
664
59ea9fe7
DD
6652002-02-19 Scott Snyder <snyder@fnal.gov>
666
667 * testsuite/demangle-expected: Add test case for infinite loop in
668 demangler.
669 * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
670 if do_type() doesn't make any progress --- prevents an infinite
671 loop.
672
6f848550
DD
6732002-02-18 Carlo Wood <carlo@gnu.org>
674
675 PR c++/5390
676 * cplus-dem.c (demangle_integral_value): Accept multi-digit
677 numbers that do not start with an underscore; This is needed
678 for integer template parameters. This doesn't break anything
679 because multi-digit numbers are never followed by a digit.
680 * testsuite/demangle-expected: Corrected all mangled test
681 cases with multi-digit template parameters: g++ 2.95.x does
682 not generate underscores around these parameters.
683
44354ae1
DD
6842002-02-05 Jason Merrill <jason@redhat.com>
685
686 * cplus-dem.c (flags): Add DMGL_VERBOSE
687 (cplus_demangle_v3_p): Remove.
688 (demangle_it): Add DMGL_TYPES to passed flags.
689 * cp-demangle.c (cplus_demangle_v3_all): Remove.
690 (cplus_demangle_v3_type): Remove.
691 (cplus_demangle_v3): Add options parm.
692
42da15d6
DD
6932002-02-02 H.J. Lu (hjl@gnu.org)
694
695 * cp-demangle.c (cp_demangle_type): Do not protect with
696 IN_LIBGCC2.
697 (cplus_demangle_v3_all): New.
698 (cplus_demangle_v3): Call cplus_demangle_v3_all.
699 (cplus_demangle_v3_type): Call cplus_demangle_v3_all.
700
701 * cplus-dem.c (cplus_demangle_v3_p): New function pointer.
702 Initialized to cplus_demangle_v3.
703 (cplus_demangle_with_style): Call cplus_demangle_v3_p instead
704 of cplus_demangle_v3.
705 (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
706 command line symbol.
707
708 * testsuite/regress-demangle: Pass the mangled name at the
709 command line.
710
b117c158
DD
7112002-02-01 H.J. Lu <hjl@gnu.org>
712
713 * cp-demangle.c (cp_demangle_type): Call demangling_new with
714 DMGL_GNU_V3.
715
c78d91b1
DD
7162002-01-31 Phil Edwards <pme@gcc.gnu.org>
717
718 * cp-demangle.c: Revert yesterday's change.
719
bef8b55d
DD
7202002-01-31 Adam Megacz <adam@xwt.org>
721
722 * gcc/libiberty/configure.in: Treat mingw the same as cywin
723 wrt HAVE_SYS_ERRLIST.
724
2c955b8b
DD
7252002-01-30 Phil Edwards <pme@gcc.gnu.org>
726
727 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
728 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on
729 cp_demangle_type.
730 * testsuite/demangle-expected: New gnu-v3 test.
731
58b1717a
RH
7322002-01-22 Momchil Velikov <velco@fadata.bg>
733
734 * configure.in (variable detection): Use arrays of unspecified
735 size instead of plain integers.
736
cc096b71
DD
7372002-01-18 DJ Delorie <dj@redhat.com>
738
739 * Makefile.in (TESTLIB): New. This library is for future
740 testsuites.
741 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
742 break down by letter.
743 (REQUIRED_OFILES): List long-to-compile files first.
744 (maint-deps): New, target for updating dependencies.
745 (dependencies): Update.
746 * maint-tool: Add dependency-generating option.
747 * configure.in: Check for _doprnt even if we're not providing it.
748 * configure: Regenerate.
749
750 * _doprnt.c: Modifications to allow compiling on any platform.
751 * copysign.c: Likewise.
752 * putenv.c: Likewise.
753 * setenv.c: Likewise.
754 * vsprintf.c: Likewise.
755
7562002-01-15 Douglas B Rupp <rupp@gnat.com>
757
758 * mkstemps.c (mkstemps): On VMS, open temp file with option
759 that causes it to be deleted when closed.
760
20d54542
DD
7612002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
762
c23795e2
DD
763 * cp-demangle.c (long_options): Const-ify.
764 * cplus-dem.c (long_options): Likewise.
765
20d54542
DD
766 * cplus-dem.c (mystrstr): Delete. All callers changed to use
767 strstr instead.
768
f348a7b1
DD
7692001-12-31 Ira Ruben <ira@apple.com>
770
771 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
772 * configure: Regenerated.
773
d86cd745
DD
7742001-12-24 Douglas B. Rupp <rupp@gnat.com>
775
776 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
777 * configure: Regenerated.
778
ae533646
DD
7792001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
780
781 PR other/2719
782 * cplus-dem.c (consume_count): Treat negative count as an error.
783 * testsuite/demangle-expected: Added testcase.
784
c0eb281b
DD
785Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
786
787 * configure.in: Hardcode that vfork works on VMS host.
788 * configure: Regenerated.
789
2da4c07f
RH
7902001-12-06 Richard Henderson <rth@redhat.com>
791
792 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
793 (cplus_demangle): Support no_demangling.
794
24acd898
DD
7952001-11-27 Zack Weinberg <zack@codesourcery.com>
796
797 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
798 in libiberty context. Fix typo in leading comment.
799 * configure.in: Fix various AC_DEFINEs so autoheader works.
800 If any of vprintf, vsprintf, vfprintf is missing from libc,
801 then AC_REPLACE_FUNCS(_doprnt).
802
fec50157 8032001-11-26 DJ Delorie <dj@redhat.com>
d86cd745 804 Daniel Jacobowitz <drow@mvista.com>
fec50157
DD
805
806 * Makefile.in (stamp-h): Depend on Makefile for proper
807 serialization.
808 (*-subdir): Depend on config.h for proper serialization.
809
5527febf
DD
8102001-11-26 DJ Delorie <dj@redhat.com>
811
812 * configure.in: Check for alloca.h (for regex.c and putenv.c).
813 * configure: Regenerate.
814 * config.h: Add HAVE_ALLOCA_H.
815
941d74a0
DD
8162001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
817
818 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
819 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
820 is available.
821
dc579051
DD
822Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
823
824 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
825 * configure.in (HAVE_UINTPTR_T): Test for system defining
826 uintptr_t and define HAVE_UINTPTR_T appropriately.
827 * regex.c (uintptr_t): Do not provide a definition if the
828 system provided one.
829
830 * regex.c (PREFIX): Provide an alternate definition for
831 non-ANSI/ISO compilers.
832 (ARG_PREFIX): Likewise.
833
1a78a35a
DD
8342001-11-12 Jim Meyering <meyering@lucent.com>
835
836 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
837 this code would end up calling gettext even in packages built
838 with --disable-nls.
839 * getopt.c (_): Likewise.
840 * regex.c (_): Likewise.
841
4e55c4b6
DD
8422001-11-03 Alan Modra <amodra@bigpond.net.au>
843
844 * configure.in: Cope with missing makeinfo.
845 * configure: Regenerate.
846
d311a83a
DD
8472001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
848
849 * hex.c (hex_init): Provide empty stub.
850
851 * hex.c (hex_init): Delete.
852 (_hex_value): Const-ify and initialize at compile-time.
853
3bc62f91
DD
8542001-10-19 H.J. Lu <hjl@gnu.org>
855
856 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
857 necessary.
858
5d852400
DD
8592001-10-17 DJ Delorie <dj@redhat.com>
860
861 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
862 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
5527febf 863 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
5d852400
DD
864 Improve manual formatting.
865 * functions.texi: Regenerate.
866
ba19b94f
DD
8672001-10-15 DJ Delorie <dj@redhat.com>
868
869 * Makefile.in (TEXIFILES): Add fnmatch.txh.
870 (maint-undoc): New.
871 maint-tool: Add "undoc" tool.
872 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
873 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
874 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
875 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
876 documentation.
877 * fnmatch.txh: New.
878 * functions.texi: Regenerate.
879
56056af5
DD
8802001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
881
882 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
883 * strtod.c: Use "ISO C" instead of "ANSI C".
884 * functions.texi: Regenerate.
885
99b58139
DD
8862001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
887
888 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
889 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
890 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
891 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
892 spelling. Give names to function arguments in documentation. Use
893 (void) prototypes in documentation.
894 * functions.texi: Regenerate.
895
e6450fe5
DD
8962001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
897
898 * argv.c (buildargv, tests, main): Const-ify.
899 * cp-demangle.c (operator_code): Likewise.
900 * cplus-dem.c (optable, libiberty_demanglers,
901 cplus_demangle_set_style, cplus_demangle_name_to_style,
902 print_demangler_list): Likewise.
903 * hashtab.c (higher_prime_number): Likewise.
904 * strcasecmp.c (charmap): Likewise.
905 * strerror.c (error_info, strerror, main): Likewise.
906 * strncasecmp.c (charmap): Likewise.
907 * strsignal.c (signal_info): Likewise.
908
da191b5b
DD
9092001-09-29 DJ Delorie <dj@redhat.com>
910
911 * configure: Regenerate.
912
916aaa12
DD
9132001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
914
915 * concat.c: Include stdlib.h.
916
fa9f0e33
DD
9172001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
918
919 * libiberty.texi: (Top level): Add syncodeindex pg. Add
920 @dircategory and @direntry directives. Add @finalout.
921 (many nodes): Lose the next,prev,up pointers on the @nide line.
922 (Using, Supplemental Functions, Replacement Functions): Fix
923 markup.
924 (Functions): Move around, to allow makeinfo to build the manual
925 without next,prev,up pointers in thye node lines.
926 (Licenses): Fix typos.
927
928 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
929 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
930 * functions.texi: Regenerate.
931
932 * copying-lib.texi: Lose the next,prev,up pointers on the @node
933 line.
934
9352001-09-27 DJ Delorie <dj@redhat.com>
936
937 * configure.in: Don't use in-tree texinfo, because libiberty must
938 be built before it. Check for makeinfo version 4 or higher.
939 * functions.texi: Regenerate.
940
39423523
DD
9412001-09-20 DJ Delorie <dj@redhat.com>
942 Phil Edwards <pedwards@disaster.jaj.com>
943
944 * configure.in (MAKEINFO, PERL): Detect these.
945 (--enable-maintainer-mode): Add.
946 * configure: Regenerate.
947 * Makefile.in (MAKEINFO, PERL): Define.
948 (libiberty.info, libiberty.dvi, libiberty.html): New.
949 (CFILES): Add bsearch.c.
950 (CONFIGURED_OFILES): New, list of objects configure might add.
951 (maint-missing, maint-buildall): New, for maintainers only.
952 (clean, mostlyclean): Add info/dvi/html files.
953 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
954 * gather-docs: New, for maintainers.
955 * maint-tool: New, for maintainers.
956 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
957 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
958 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
959 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
960 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
961 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
962 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
963 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
964 documentation.
965
66c94e19
DD
9662001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
967
968 * concat.c (reconcat): Fix for traditional C.
969
99ee3a8f
DD
9702001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
971
972 * concat.c (reconcat): New function.
973
54c20242
DD
9742001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
975
976 * concat.c (vconcat_length, vconcat_copy, concat_length,
977 concat_copy, concat_copy2): New functions.
978 (concat): Use vconcat_length/vconcat_copy.
979
980 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
981 Define.
982
843f21be
DD
9832001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
984
985 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
986 VA_FIXEDARG & VA_CLOSE.
987
988 * vasprintf.c: Check HAVE_STRING_H when including string.h.
989 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
990 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
991
8a423cb3
DD
9922001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
993
994 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
995
dc676635
DD
9962001-08-23 Ulrich Drepper <drepper@redhat.com>
997
998 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
999
10002001-08-23 Ulrich Drepper <drepper@redhat.com>
1001
1002 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
1003 instead of mbrtowc.
1004 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
1005 wcslen, and __wcscoll instead of wcscoll.
1006
f080c76d
DD
10072001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1008
3ebf1f59
DD
1009 * fibheap.c (fibheap_init, fibnode_init): Remove.
1010 (fibheap_new, fibnode_new): Use xcalloc to allocate and
1011 initialize memory.
1012 (fibheap_insert): Remove check for node allocation failure.
f080c76d 1013
f01b59ed
DD
10142001-08-21 Richard Henderson <rth@redhat.com>
1015
1016 * Makefile.in (fibheap.o): Depend on config.h.
1017 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
1018 functions for inlining.
1019
1020Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
1021
1022 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
1023 hosting on cygwin.
1024 * configure: Regenerate.
1025
eb828599
AC
10262001-08-20 Andrew Cagney <ac131313@redhat.com>
1027
1028 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
1029 HARRIS_FLOAT_FORMAT.
1030 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
1031 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
1032 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
1033 (floatformat_m88110_harris_ext): New float formats.
1034
4e55c4b6
DD
10352001-08-20 Daniel Berlin <dan@cgsoftware.com>
1036
1037 * fibheap.c: New file. Fibonacci heap.
1038
1039 * Makefile.in (CFILES): Add fibheap.c.
1040 (REQUIRED_OFILES): Add fibheap.o.
1041 (fibheap.o): Add dependencies for fibheap.o.
1042
68a41de7
DD
10432001-08-17 Christopher Faylor <cgf@cygnus.com>
1044
1045 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
1046 * configure: Regenerate.
1047
8fc34799
DD
10482001-08-16 Richard Henderson <rth@redhat.com>
1049
1050 * hashtab.c (htab_hash_string): New.
1051
16bad250
AC
10522001-08-13 Andrew Cagney <ac131313@redhat.com>
1053
1054 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
1055 name.
1056
a9022147
DD
10572001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
1058
1059 * regex.c (wcs_regex_compile): Use appropriate string
1060 to compare with collating element.
1061 Fix the padding for the alignment.
1062
8aefe91a 10632001-08-10 Andrew Cagney <ac131313@redhat.com>
3ea71002
AC
1064
1065 * lbasename.c (lbasename): Change function definition to return a
1066 const char pointer.
1067
e7e9b069
DD
10682001-08-07 Jason Merrill <jason_merrill@redhat.com>
1069
1070 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
1071 for".
1072
cc5144f8
DD
10732001-08-03 Richard Henderson <rth@redhat.com>
1074
1075 * Makefile.in (concat.o): Depend on config.h.
1076
8aefe91a
DD
10772001-07-30 Andreas Jaeger <aj@suse.de>
1078
1079 * concat.c: Include "config.h".
1080
86710ce2
DD
10812001-07-30 Andreas Jaeger <aj@suse.de>
1082
1083 * regex.c: Declare wcs functions only if compiling with
1084 MBS_SUPPORT.
1085 Don't use #elif for traditional C.
1086
10872001-07-23 Ulrich Drepper <drepper@redhat.com>
1088
1089 * regex.c: Revamp memory allocation for WCHAR functions to
1090 not use too much stack.
1091
10922001-07-30 Andreas Jaeger <aj@suse.de>
1093
1094 * regex.c: Declare wcs functions only if compiling with
1095 MBS_SUPPORT.
1096 Don't use #elif for traditional C.
1097
a5d8f731
DD
10982001-07-25 Daniel Jacobowitz <drow@mvista.com>
1099
1100 * Makefile.in (regex.o): Add dependency on config.h.
1101
6ad8a379
DD
11022001-07-18 Andreas Schwab <schwab@suse.de>
1103
1104 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
1105 underscore character.
1106
11072001-07-18 Ulrich Drepper <drepper@redhat.com>
1108
1109 * regex.c: Limit string length printed in debug messages to 100
1110 chars.
1111
11122001-07-18 Andreas Jaeger <aj@suse.de>
1113
1114 * regex.c: Place under LGPL version 2.1.
1115
2a6ef469
DD
11162001-07-10 Jeff Johnston <jjohnstn@redhat.com>
1117
1118 * Makefile.in: Add support for regex code.
1119 * regex.c: New file.
1120
7b78baae
DD
11212001-07-05 Mark Klein <mklein@dis.com>
1122
1123 * Makefile.in: Add ffs.c dependency.
1124 * configure.in: Add ffs.c.
1125 * ffs.c: New file.
1126
926150e2
DD
11272001-06-18 Richard Henderson <rth@redhat.com>
1128
1129 * concat.c: Include <sys/types.h>.
1130
11f6f21d
DD
11312001-06-11 Loren J. Rittle <ljrittle@acm.org>
1132
1133 bootstrap/3106
1134 * strerror.c (sys_nerr): Hide the OS header version.
1135 * strsignal.c (sys_nsig): Likewise.
1136
d42dae6c
DD
11372001-06-10 Richard Henderson <rth@redhat.com>
1138
1139 * concat.c: Include string.h. Fix int vs size_t usage.
1140 Simplify the iteration loops. Use memcpy.
1141
e05c6d27
DD
11422001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1143
1144 * partition.c: Fix misspelling of `implementation'.
1145
b50c4073
DD
11462001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1147
1148 * md5.c (md5_init_ctx): Declare constants as unsigned.
1149 (md5_process_block): Likewise.
1150
457161bf
DD
11512001-05-07 Zack Weinberg <zackw@stanford.edu>
1152
1153 * cp-demangle.c (demangle_v3_with_details,
1154 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
1155 function definition.
1156 * ternary.c: Use K+R style function definitions. Use PTR, not
1157 void *. Make arguments constant where possible.
1158
e00bc6a7
DD
11592001-05-07 Mark Mitchell <mark@codesourcery.com>
1160
1161 * splay-tree.h (splay_tree_max): New function.
1162 (splay_tree_min): Likewise.
1163
400ee7e1
DB
11642001-04-15 Daniel Berlin <dan@cgsoftware.com>
1165
1166 * ternary.c: New file - Ternary search tree implementation.
a5dd804e
DB
1167
1168 * Makefile.in: Add ternary.o, and ternary.c dependencies.
400ee7e1 1169
d9697354
DD
11702001-04-03 Zack Weinberg <zackw@stanford.edu>
1171
1172 * make-temp-file.c (try): Inline.
1173
a7bf099b
DD
11742001-02-28 Richard Henderson <rth@redhat.com>
1175
1176 * Makefile.in (make-temp-file.o): Depend on config.h.
1177
30a1def2
DD
11782001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1179
1180 * memchr.c (memchr): Adjust condition to avoid infinite loop.
1181
079c672a
DD
11822001-03-23 Jakub Jelinek <jakub@redhat.com>
1183
1184 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
1185 `_' not followed by a digit is invalid.
1186
a88e356a
JB
11872001-03-22 Jim Blandy <jimb@redhat.com>
1188
1189 * cp-demangle.c (string_list_delete): Use dyn_string_delete
1190 instead of free, to free the contents as well as the string
1191 structure.
1192
1dffcc66
DD
11932001-03-21 Zack Weinberg <zackw@stanford.edu>
1194
1195 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
1196 Don't default P_tmpdir to anything. Try /var/tmp before
1197 /usr/tmp.
1198
11992001-03-20 Zack Weinberg <zackw@stanford.edu>
1200
1201 * choose-temp.c: Split off make_temp_file, and the code
1202 duplicated between it and choose_temp_base, into...
1203 * make-temp-file.c: ... here; new file.
1204
1205 * Makefile.in (CFILES): Add make-temp-file.c.
1206 (REQUIRED_OFILES): Add make-temp-file.o.
1207
e61231f1
JB
12082001-03-20 Jim Blandy <jimb@redhat.com>
1209
1210 * cp-demangle.c (struct demangling_def): New fields:
1211 is_constructor and is_destructor.
1212 (demangling_new): Initialize them.
1213 (demangle_ctor_dtor_name): Set them, if we detect a constructor
1214 or destructor.
1215 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
1216 is_gnu_v3_mangled_dtor): New functions.
1217
a9cbbe6d
DD
12182001-03-20 Jason Merrill <jason@redhat.com>
1219
1220 * cplus-dem.c (main): Skip initial $.
1221
b1e51b3c
DD
12222001-03-15 Michael Meissner <meissner@redhat.com>
1223
1224 * hashtab.c (higher_prime_number): Silence warning that 4294967291
1225 might be a signed integer under pre-ISO C systems.
1226
8aa30e60 12272001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
fa03f0a7 1228 John David Anglin <dave@hiauly1.hia.nrc.ca>
8aa30e60 1229
8aa30e60
DD
1230 * libiberty/lbasename.c: New file.
1231 * libiberty/Makefile.in: Update for lbasename.
8aefe91a 1232
30673bf5
DD
12332001-03-06 Zack Weinberg <zackw@stanford.edu>
1234
1235 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
1236 * configure.in: Replace all alloca logic with a simple use of
1237 the above new macro.
1238 * config.table: Kill *-*-beos* entry.
1239 * config/mh-beos: Delete.
1240 * configure, config.in: Regenerate.
fa03f0a7 1241
30673bf5
DD
1242 * Makefile.in (ALLOCA, HFILES): Kill.
1243 (REQUIRED_OFILES): Add alloca.o.
1244 (alloca.o): Depend on libiberty.h.
1245 (argv.o): Don't depend on alloca-conf.h.
1246 * alloca-conf.h: Delete.
1247 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
1248 blocks. Provide the C alloca unconditionally. Use PTR where
1249 appropriate. Make i00afunc static.
1250 * argv.c: Don't include alloca-conf.h.
fa03f0a7 1251
5810f394
DD
12522001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1253
1254 * cplus-dem.c (main): Cast enum style to int.
fa03f0a7 1255
a9db032a
DD
12562001-02-16 Loren J. Rittle <ljrittle@acm.org>
1257
1258 * cplus-dem.c (main): Initialize style.
fa03f0a7 1259
8aefe91a
DD
12602001-02-02 Phil Edwards <pme@sources.redhat.com>
1261
1262 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
1263
bc9bf259
DD
12642001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
1265
1266 Add support for Java demangling under the v3 ABI:
1267 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
1268 (struct demangling_def): Add `style' field.
1269 (demangling_new): New parameter `style'. Set it in demangling_t.
1270 (demangle_prefix): Use NAMESPACE_SEPARATOR.
1271 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
1272 (cp_demangle): New parameter `style'. Pass it to demangling_new().
1273 (main): Call cp_demangle with extra parameter.
1274 (java_demangle_v3): New function.
1275 (java_builtin_type_names): New. Table of primitive type names used
1276 for Java demangling.
1277 (demangle_builtin_type): Look up in java_builtin_type_names if doing
1278 Java output.
1279 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
1280 demangling.
1281 (long_options): Remove obsolete `java' option.
1282 (main): Remove explicit handling of `java' option. Instead, pass style
1283 parameter in cplus_demangle flags as gdb does.
1284 * testsuite/demangle.expected: Add some Java test cases.
fa03f0a7 1285
f6528837
DD
12862000-12-29 DJ Delorie <dj@redhat.com>
1287
1288 * fnmatch.c: Make the note about the origins of this file more
1289 accurate, at least until we can sync with glibc.
1290 * getopt.c: Ditto.
1291 * getopt1.c: Ditto.
1292 * md5.c: Ditto.
1293 * obstack.c: Ditto.
9d969b59 1294
c6da642e
DD
12952000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1296
1297 * bsearch.c: New file.
1298 * configure.in (funcs): Add bsearch.
1299 (AC_CHECK_FUNCS): Likewise.
1300 * configure, config.in: Regenerate.
1301
ae7d06ad 13022000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
1303
1304 * safe-ctype.c: #include "ansidecl.h".
1305 * strtod.c: Likewise.
1306
ae7d06ad 13072000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
1308
1309 * strtoul.c: Include safe-ctype.h, not ctype.h.
1310
ac424eb3
DD
13112000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
1312
1313 * safe-ctype.c: New file.
1314 * Makefile.in (CFILES): Add safe-ctype.c.
1315 (REQUIRED_OFILES): Add safe-ctype.o.
1316
1317 * argv.c: Define ISBLANK and use it, not isspace.
1318 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
1319 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
1320 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
1321 before calling TOLOWER(c)/TOUPPER(c).
1322
4415a860
DD
13232000-12-07 Mike Stump <mrs@wrs.com>
1324
1325 * Makefile.in (distclean): When cleaning, remove testsuite.
1326
849ee224
DD
13272000-12-05 Jason Merrill <jason@redhat.com>
1328
1329 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
1330 name before allocating the dyn_string.
1331
ae7d06ad 13322000-12-04 Jason Merrill <jason@redhat.com>
e49a569c
DD
1333
1334 * cp-demangle.c: s/new_abi/v3/.
1335 * cplus-dem.c: Likewise.
1336 (current_demangling_style): Now auto_demangling.
1337 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
ae7d06ad 1338 (main): Use standard symbol chars for auto_demangling.
e49a569c 1339
ae7d06ad 13402000-11-26 Mark Mitchell <mark@codesourcery.com>
5ca0f83d
DD
1341
1342 * hashtab.c (higher_prime_number): Use a table, rather than a
1343 seive, to find the next prime.
ae7d06ad
NC
1344
13452000-11-22 H.J. Lu <hjl@gnu.org>
1346
1347 * cplus-dem.c (main): Handle gnat_demangling.
1348
13492000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
2ea7befd
DD
1350
1351 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
1352 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
1353 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
1354 argument form of AC_DEFINE in dummy definitions block. Use
1355 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
1356 in dummy block. Preload cache variables instead of bypassing
1357 tests, where possible.
1358 * acconfig.h: Removed.
ae7d06ad 1359
2ea7befd
DD
1360 * xmalloc.c (xmalloc_failed): New function, does error
1361 reporting on failed allocation.
1362 (xmalloc, xcalloc, xrealloc): Use it.
9c26dc82 1363
f1775526
HPN
13642000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
1365
1366 * cplus-dem.c (cplus_demangle): Fix formatting.
1367 (grow_vect): Ditto.
1368 (ada_demangle): Ditto.
1369 (internal_cplus_demangle): Ditto.
1370 (mop_up): Ditto.
1371
13722000-11-21 H.J. Lu <hjl@gnu.org>
1373
1374 * cplus-dem.c (main): Handle java_demangling.
1375
ae7d06ad 13762000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
f1775526
HPN
1377
1378 * cplus-dem.c (grow_vect): Prototype.
1379 (ada_demangle): Cast the arg of ctype macros to unsigned char.
1380
5dd42ef4
HPN
13812000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
1382
1383 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
1384 parameter `option'.
1385
296731c1
DD
13862000-11-15 Kenneth Block <kenneth.block@compaq.com>
1387
8944fb9d 1388 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
296731c1
DD
1389 be used in GCC.
1390
6e53a714 13912000-11-15 Kenneth Block <kenneth.block@compaq.com>
16e85745 1392
5dd42ef4 1393 * cplus-dem.c: Add gnat demangler. Add java to demangle style
16e85745
HPN
1394 list.
1395
99a4c1bd
HPN
13962000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
1397
1398 * hashtab.c (htab_expand): Change to return int. Use calloc or
8aefe91a
DD
1399 xcalloc depending on htab->return_allocation_failure. Return zero
1400 if calloc fails.
99a4c1bd
HPN
1401 (htab_create): Update comment to cover memory allocation.
1402 (htab_try_create): New.
1403 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
8aefe91a 1404 Update comment to cover this.
99a4c1bd 1405
e0f3df8f
HPN
14062000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
1407
1408 * hashtab.c: Change void * to PTR where necessary.
1409 (htab_create, htab_expand): Correct formatting of comment before
1410 function.
1411
ae7d06ad 14122000-10-22 Alex Samuel <samuel@codesourcery.com>
59666b35
DD
1413
1414 * cp-demangle.c (string_list_def): Add caret_position and comments.
1415 (result_caret_pos): New macro.
1416 (result_append_string): Rename to...
1417 (result_add_string): ... this, and insert at caret position.
ae7d06ad 1418 Rename throughout.
59666b35
DD
1419 (result_append): Rename to...
1420 (result_add): ... this, and insert at caret position. Rename
ae7d06ad 1421 throughout.
59666b35
DD
1422 (result_append_char): Rename to...
1423 (result_add_char): ... this, and insert at caret position. Rename
ae7d06ad 1424 throughout.
59666b35
DD
1425 (result_append_space): Remove.
1426 (string_list_new): Initialize caret position.
1427 (result_add_separated_char): Use caret position.
1428 (result_get_caret): New funtion.
1429 (result_set_caret): Likewise.
1430 (result_shift_caret): Likewise.
1431 (result_previous_char_is_space): Likewise.
1432 (substitution_start): Use caret position.
1433 (substitution_add): Likewise.
1434 (demangling_new): Initialize caret position.
1435 (demangle_encoding): Use caret position.
ae7d06ad 1436 (demanglin_nested_name): Put CV qualifiers after name.
59666b35
DD
1437 (demangle_type_ptr): Use switch statement. Handle pointers to
1438 arrays. Don't use result_append_space. Use caret position.
1439 (demangle_type): Emit CV qualifiers after underlying type. Adjust
ae7d06ad
NC
1440 call to demangle_array_type.
1441 (demangle_array_type): Add parameter to handle pointers to arrays.
74bcd529 1442
ae7d06ad 14432000-10-01 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
1444
1445 * splay-tree.c (splay_tree_insert): Fix formatting.
ae7d06ad
NC
1446
14472000-09-16 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
1448
1449 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
ae7d06ad
NC
1450
14512000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1452
1453 * splay-tree.c: #include <stdio.h>.
1454
14552000-09-14 Hans-Peter Nilsson <hp@axis.com>
1456
1457 * testsuite/demangle-expected: Add two tests for anonymous
1458 namespaces.
1459 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
1460
14612000-09-10 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
1462
1463 * splay-tree.c (splay_tree_predecessor): New function.
1464 (splay_tree_successor): Likewise.
ae7d06ad
NC
1465
14662000-09-10 Hans-Peter Nilsson <hp@axis.com>
1467
1468 * testsuite/demangle-expected: Add four tests for type_info
1469 mangling.
1470 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
1471 for a non-template non-qualified type_info function or node.
1472
14732000-09-08 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1474
1475 * cp-demangle.c: Fix copyright banner.
ae7d06ad
NC
1476
14772000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1478
1479 * md5.c: #include "ansidecl.h".
1480
14812000-09-06 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1482
1483 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
1484 (demangle_type): Handle substitution candidates correctly in the
1485 face of special substitutions.
ae7d06ad
NC
1486
14872000-09-05 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1488
1489 * cp-demangle.c (demangle_encoding): Rename variable.
1490 (demangle_name): Rename parameter. Handle return type
1491 suppression.
1492 (demangle_nested_name): Rename parameter.
1493 (demangle_prefix): Likewise. Change return type suppression.
1494 (demangle_unqualified_name): Add parameter. Flag constructors and
1495 conversion operators.
1496 (demangle_special_name): Fix comment.
1497 (demangle_type): Rename variable.
1498 (demangle_bare_function_type): Check for missing return type and
1499 parameter.
1500 (demangle_class_enum_type): Rename parameter.
1501 (demangle_discriminator): Fix misspelling in comment.
ae7d06ad
NC
1502
15032000-08-31 DJ Delorie <dj@redhat.com>
1504
1505 * configure.in (Cygwin): special case cygwin only when we're
1506 building cygwin, not when we're hosting cygwin.
1507
15082000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1509
1510 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
1511 <expression>.
ae7d06ad
NC
1512
15132000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1514
1515 * cp-demangle.c (demangle_type_ptr): Increment position past
1516 pointer and reference characters.
ae7d06ad
NC
1517
15182000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1519
1520 * cp-demangle.c (demangle_nv_offset): New function.
1521 (demangle_v_offset): Likewise.
1522 (demangle_call_offset): Likewise.
1523 (demangle_special_name): Update thunk demangling to comply with
1524 ABI changes.
ae7d06ad
NC
1525
15262000-09-03 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1527
1528 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
1529 (substitution_def): Remove template_parm_number.
1530 (NOT_TEMPLATE_PARM): Remove.
1531 (result_insert_string): New macro.
1532 (result_insert): Likewise.
1533 (result_insert_char): Likewise.
1534 (substitution_add): Remove last parameter. Don't store template
1535 parm number.
1536 (BFT_NO_RETURN_TYPE): Define as NULL.
1537 (demangle_encoding): Adjust call to demangle_bare_function_type.
1538 (demangle_name): Adjust substitution. Adjust call to
1539 substitution_add.
1540 (demangle_prefix): Adjust call to substitution_add.
1541 (demangle_identifier): Handle anonymous namespaces.
1542 (demangle_operator_name): Change demangling of vendor-extended
1543 operator to match ABI changes.
1544 (demangle_type_ptr): Change parameters. Make recursive. Handle
1545 substitutions here.
1546 (demangle_type): Adjust calls to demangle_template_param,
1547 substitution_add, and demangle_type_ptr. Fix substitution of
1548 templated types.
1549 (demangle_function_type): Change parameter to a pointer.
1550 (demangle_bare_function_type): Likewise. Adjust insertion point.
1551 (demangle_template_param): Remove last parameter.
1552 (demangle_expr_primary): Remove unused variable. Adjust call to
1553 demangle_template_param.
1554 (is_mangled_char): Accept `$' and `.'.
1555 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
1556 * dyn-string.c (dyn_string_insert_char): New function.
ae7d06ad
NC
1557
15582000-08-31 Hans-Peter Nilsson <hp@axis.com>
1559
1560 * testsuite/demangle-expected: Add nine tests for
1561 underscore-after-number followed by five tests for name-signature
1562 delimiter.
1563
15642000-08-28 Richard Henderson <rth@cygnus.com>
74bcd529
DD
1565
1566 * Makefile.in (md5.o): Depend on config.h.
ae7d06ad
NC
1567
15682000-08-28 Jason Merrill <jason@redhat.com>
1569
1570 * Makefile.in (REQUIRED_OFILES): Add md5.o.
1571 (CFILES): Add md5.c.
1572 * md5.c: New file.
1573
15742000-08-27 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1575
1576 * cp-demangle.c (demangle_name): Initialize template_p in local
1577 name case. Don't re-add substitutions as candidates.
1578 (demangle_nested_name): Use <unqualified-name>.
1579 (demangle_prefix): Likewise. Don't add template names as
1580 substitution candidates twice, or re-add a substitution or the
1581 last prefix component.
1582 (demangle_local_name): Adjust output format.
ae7d06ad
NC
1583
15842000-08-25 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1585
1586 * cp-demangle.c (result_add_separated_char): Change parameter to
1587 int.
1588 (substitution_add): Don't check for duplicates. Check if
1589 previously allocated size is zero.
1590 (demangle_name): Remove duplicate check for std substitution.
1591 Clear template flag appropriately.
1592 (demangle_prefix): Remove argument to demangle_substitution.
1593 Don't check that template flag is already set.
1594 (demangle_operator_name): Add pt operator.
1595 (demangle_type): Don't treat r as built-in type. Remove argument
1596 to demangle_substitution. Fix substitution candidate mechanics.
1597 Handle <template-template-parm>s. Improve comments.
1598 (demangle_template_param): Don't handle template arg lists here.
1599 (demangle_substitution): Remove parameter.
1600 (print_usage): Remove extra fprintf option.
ae7d06ad
NC
1601
16022000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
1603
1604 * libiberty/random.c (end_ptr): Revert previous change.
ae7d06ad
NC
1605
16062000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
1607
1608 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
1609 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
1610 * libiberty/random.c (end_ptr): Likewise.
ae7d06ad
NC
1611
16122000-08-23 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1613
1614 * cp-demangle.c (result_close_template_list): Remove function.
1615 (result_add_separated_char): New function.
1616 (result_open_template_list): New macro.
1617 (result_close_template_list): Likewise.
1618 (demangle_prefix): Don't set template_p if the
1619 prefix ends with a ctor name.
1620 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
1621 (demangle_type): Check for template args after substitution.
1622 (demangle_template_args): Use result_open_template_list.
d3e85005 1623
ae7d06ad 16242000-08-02 Zack Weinberg <zack@wolery.cumb.org>
64e3a659 1625
ae7d06ad 1626 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
050823ca 1627
ae7d06ad 16282000-07-26 Dave Pitts <dpitts@cozx.com>
d6e83f5f
JL
1629
1630 * config/mh-openedition.h: Added -DLE370 definition.
1631
a9f34fb6
JL
16322000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
1633
1634 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
1635 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
1636 Cast program to 'char *' in errmsg_arg assignment.
1637 (PWAIT_ERROR): Define.
1638 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
1639 to DJGPP's WIF* macros.
1640
90aaccd1 16412000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
ae7d06ad 1642 Jeff Law <law@cygnus.com>
90aaccd1 1643
ae7d06ad 1644 * getcwd.c: Include string.h, stdlib.h for prototypes
443519c1 1645
90aaccd1 1646 * Makefile.in (rename.o, waitpid.o): Depend on config.h
ae7d06ad
NC
1647 * rename.c: Include config.h, unistd.h
1648 * waitpid.c: Include config.h, sys/wait.h
90aaccd1 1649
6ef554e3
HPN
16502000-07-24 Hans-Peter Nilsson <hp@axis.com>
1651
1652 * cplus-dem.c (work_stuff_copy_to_from): New.
1653 (delete_non_B_K_work_stuff): New.
1654 (delete_work_stuff): New.
1655 (mop_up): Break out work_stuff partly destruction to
1656 delete_non_B_K_work_stuff.
1657 (iterate_demangle_function): New.
1658 (demangle_prefix): Call iterate_demangle_function instead of
1659 demangle_function_name. Leave handling of name-signature
1660 __-delimiters to iterate_demangle_function.
1661 (demangle_integral_value): Strip an optional
1662 following underscore cautiously. Handle negative numbers.
1663
ae7d06ad 16642000-07-24 Daniel Berlin <dberlin@redhat.com>
e8865c28 1665
ae7d06ad 1666 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
e8865c28
DB
1667 if (AUTO_DEMANGLING || GNU_DEMANGLING)
1668
ae7d06ad
NC
16692000-07-21 Alex Samuel <samuel@codesourcery.com>
1670
1671 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
1672 allocating ctor mangling.
1673 (demangle_array_type): Handle empty and non-constant array length.
1674
b1233257 16752000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
62df2065
JL
1676 Jeff Law <law@cygnus.com>
1677
1678 * configure.in (AC_CHECK_HEADERS): Add time.h.
1679 (AC_HEADER_TIME): Add check.
1680 * configure, config.in: Regenerate.
1681 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
1682
1683 * configure.in (AC_CHECK_HEADERS): Add limits.h.
1684 * configure, config.in: Regenerate.
1685 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
1686 * strtol.c, strtoul.c: #include "config.h". Portably #include
1687 <limits.h> and/or <sys/param.h>.
1688 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
b1233257 1689
7d3ffcaf
JL
1690 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
1691 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
1692 * configure, config.in: Regenerate.
1693 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
1694
b1233257
JL
1695 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
1696
ae7d06ad
NC
16972000-07-21 Mike Stump <mrs@wrs.com>
1698
1699 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
1700 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
1701
17022000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1703
1704 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
1705
1706 * setenv.c (setenv): Initialize variable `ep'.
1707
1708 * sigsetmask.c (abort): Prototype.
1709
1710 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
1711 __STDC__ for stdarg.h include.
1712 (int_vasprintf): Prototype.
1713 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
1714 definition. Cast `global_total_width' in comparison.
1715 (main): Prototype. Return a value.
1716
1717 * vfork.c (fork): Prototype.
1718
1719 * xexit.c: Include config.h.
1720
9adf30b2
JL
17212000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
1722
1723 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
1724 and print it with %u.
1725
2ed78d1b
HPN
17262000-07-17 Hans-Peter Nilsson <hp@axis.com>
1727
1728 * testsuite/regress-demangle (failed test): Show result and
1729 expected output.
1730
0473bdf7
AH
17312000-07-07 Andrew Haley <aph@cygnus.com>
1732
1733 * cplus-dem.c (main): fflush() after emitting last char before
1734 waiting for input.
1735
03d5f569
JM
17362000-06-28 Alex Samuel <samuel@codesourcery.com>
1737
1738 * cp-demangle.c (demangle_encoding): Accept no substitutions.
1739 (demangle_name): Handle <substitution> followed by
1740 <unqualified-template-name>.
1741 (demangle_type): Follow special substitutions with
1742 <class-enum-type>
1743 (demangle_subtitution): Set template_p for special substitutions.
1744 (main): Fix typos.
ae7d06ad 1745
03d5f569
JM
17462000-06-27 Alex Samuel <samuel@codesourcery.com>
1747
1748 * cp-demangle.c (demangle_special_name): Swap base and derived
1749 class when demangling construction vtables.
1750
17512000-06-21 Alex Samuel <samuel@codesourcery.com>
1752
1753 * cp-demangle.c: Don't include ctype.h.
1754 (IS_DIGIT): New macro.
1755 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
1756 instead of isdigit and isalpanum.
1757 (demangling_def): Make name and next const pointers.
1758 (STATUS_ALLOCATION_FAILED): New status code.
1759 (dyn_string_append_space): Handle failure in
1760 dyn_string_append_char.
1761 (int_to_dyn_string): Likewise. Change return value to status_t.
1762 (string_list_new): Handle failure of dyn_string_init.
1763 (result_close_template_list): Change return type to status_t.
1764 Handle failure in dyn_string_append.
1765 (result_push): Change return value to status_t. Handle failure in
1766 string_list_new. Handle failure of result_push throughout.
1767 (substitution_add): Change return value to status_t. Handle
1768 dyn_string failures. Handle failure of substitution_add
1769 throughout.
1770 (template_arg_list_new): Return NULL on allocation failure.
1771 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
1772 Handle error result throughout.
1773 (result_append): Likewise.
1774 (result_append_char): Likewise.
1775 (result_append_space): Likewise.
1776 (demangling_new): Make argument a const pointer. Handle
1777 allocation failures.
1778 (demangle_template_args): Handle failure in template_arg_list_new
1779 and result_close_template_list.
1780 (demangle_discriminator): Return if int_to_dyn_string fails.
1781 (cp_demangle): Likewise.
1782 (cp_demangle_type): New function.
1783 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
1784 memory allocation failure.
1785 (main): Likewise.
1786 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
1787 IN_LIBGCC2.
1788 (dyn_string_init): Change return value to int. Handle
1789 RETURN_ON_ALLOCATION_FAILURE case.
1790 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
1791 (dyn_string_release): Delete the dyn_string.
1792 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
1793 (dyn_string_copy): Change return type to int.
1794 (dyn_string_copy_cstr): Likewise.
1795 (dyn_string_prepend): Likewise.
1796 (dyn_string_prepend_cstr): Likewise.
1797 (dyn_string_insert): Likewise.
1798 (dyn_string_insert_cstr): Likewise.
1799 (dyn_string_append): Likewise.
1800 (dyn_string_append_cstr): Likewise.
1801 (dyn_string_append_char): Likewise.
1802 (dyn_string_substring): Likewise.
ae7d06ad 1803
eb383413 18042000-06-09 Zack Weinberg <zack@wolery.cumb.org>
9cc28cc8 1805
eb383413
L
1806 * cp-demangle.c (demangle_operator_name): Add spaces before
1807 names beginning with a letter: delete, delete[], new, new[],
1808 sizeof.
1809 (demangle_special_name): Handle TF <type> and TJ <type>.
9cc28cc8 1810
eb383413
L
1811Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
1812
1813 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
1814
1815Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
1816
1817 * cp-demangle.c (stdio.h): File included unconditionaly.
1818 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
1819 * dyn-string.c (stdio.h): File included.
1820 * partition.c (partition_print): No `&' needed to take the address of
1821 a function.
1822
18232000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1824
1825 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
ae7d06ad 1826
eb383413
L
1827 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
1828
1829 * cp-demangle.c (demangle_char): Change parameter from char to int.
1830 (demangle_expression, demangle_expr_primary): Remove extra
1831 semi-colon in prototype.
1832
1833 * dyn-string.c (dyn_string_append_char): Change parameter from
1834 char to int.
1835
1836 * memcmp.c (memcmp): Constify.
1837
1838 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
1839 __extension__.
1840
1841 * partition.c (elem_compare): Prototype. Don't cast away
1842 const-ness.
1843
1844 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
ae7d06ad 1845
eb383413
L
18462000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1847
1848 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
1849
1850 * cp-demangle.c: Include demangle.h.
1851 (template_arg_list_new): DeANSIfy.
1852 (cp_demangle): Make static and add prototype.
1853 (operator_code, operators): Constify.
1854 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
1855
18562000-06-05 Alex Samuel <samuel@codesourcery.com>
1857
1858 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
1859 unsigned char.
1860 (demangle_unqualified_name): Likewise.
1861 (demangle_number_literally): Likewise.
1862 (demangle_type): Likewise.
1863 (demangle_substitution): Likewise.
1864 (is_mangled_char): Likewise, for isalnum.
1865
18662000-06-04 Alex Samuel <samuel@codesourcery.com>
1867
1868 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
1869 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
1870 (cp-demangle.o): New dependency.
1871 (dyn-string.o): Likewise.
1872
1873 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
1874
1875 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
1876 demangler.
1877 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
1878 demangling mode.
1879 (gnu_new_abi_symbol_characters): New function.
1880 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
1881 file.
1882 * cp-demangle.c: New file.
ae7d06ad 1883
f03aa80d
AC
1884Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
1885
1886 * floatformat.c: Add name to each floatformat field.
1887
77bfb694
JL
1888Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
1889
1890 * Makefile.in (objalloc.o): Depend on config.h
1891
5c82d20a
ZW
18922000-05-29 Zack Weinberg <zack@wolery.cumb.org>
1893
eb383413 1894 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
5c82d20a
ZW
1895 if HAVE_STRING_H.
1896 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
1897 * objalloc.c: Include config.h. Include stdlib.h and don't
1898 declare malloc or free if HAVE_STDLIB_H.
1899 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
1900 else declare malloc without prototype. Include string.h if
1901 HAVE_STRING_H, else declare memset without prototype. Don't
1902 include stddef.h.
1903
eb383413
L
19042000-05-23 Mike Stump <mrs@wrs.com>
1905
1906 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
8aefe91a 1907 -j3.
eb383413
L
1908
19092000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
1910
1911 * xmalloc.c: Include config.h for HAVE_SBRK definition.
1912
19132000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
1914
ae7d06ad 1915 * hashtab.c (hash_pointer): Delete low-order bits which are
eb383413
L
1916 probably zero, also eliminate a warning on alpha.
1917
19182000-05-15 David Edelsohn <edelsohn@gnu.org>
1919
1920 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
1921 on $(enable_shared).
1922
19232000-05-10 Jakub Jelinek <jakub@redhat.com>
1924
1925 * config.table: Use mh-sparcpic for sparc*-*-*.
1926
19272000-05-08 Nick Clifton <nickc@cygnus.com>
1928
1929 * Makefile.in (CFILES): Add strncmp.c.
1930 (NEEDED): Add strncmp.
1931
19322000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5c82d20a 1933
eb383413
L
1934 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
1935 Cast the arguments to `islower' to `unsigned char'.
1936 (print_demangler_list): Prototype.
1937
1938Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
1939
1940 * sort.c (UCHAR_MAX): Provide fallback definition.
1941
19422000-04-29 Alexandre Oliva <aoliva@cygnus.com>
010c70e1
AO
1943
1944 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
1945 SUBDIRS.
1946
eb383413
L
19472000-04-28 Kenneth Block <block@zk3.dec.com>
1948 Jason Merrill <jason@casey.cygnus.com>
1949
ae7d06ad
NC
1950 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
1951 (cplus_demangle_set_style): New function for setting style.
1952 (cplus_demangle_name_to_style): New function to translate name.
eb383413
L
1953
19542000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1955
1956 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
1957
1958 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
1959 (libiberty_AC_FUNC_STRNCMP): Invoke.
1960
1961 * strncmp.c: New file.
1962
1963Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
1964
1965 * hashtab.c (htab_expand): Add prototype.
1966 (find_empty_slot_for_expand): Likewise.
1967
19682000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1969
1970 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
1971 match prototype.
1972 (htab_expand): Cast the return value of xcalloc.
1973
19742000-04-24 Mark Mitchell <mark@codesourcery.com>
1975
1976 * hashtab.c (hash_pointer): New function.
1977 (eq_pointer): Likewise.
1978 (htab_hash_pointer): New variable.
1979 (htab_eq_pointer): Likewise.
1980
19812000-04-23 Mark Mitchell <mark@codesourcery.com>
1982
1983 * sort.c (sort_pointers): Fix endianness bugs.
1984
1985 * sort.c: New file.
1986 * Makefile.in (CFILES): Add sort.c
1987 (REQUIRED_OFILES): Add sort.o.
1988 (sort.o): New target.
1989
19be4303
JL
19902000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1991
1992 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
1993 4.3BSD systems.
1994
eb383413
L
1995Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1996
1997 * hashtab.c: Various minor cleanups.
1998 (htab_find_slot_with_hash): INSERT is now enum insert_option.
1999 (htab_find_slot): Likewise.
2000
20012000-04-16 Dave Pitts <dpitts@cozx.com>
2002
2003 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
ae7d06ad 2004
afe36a78
RH
20052000-04-05 Richard Henderson <rth@cygnus.com>
2006
2007 * splay-tree.c (splay_tree_remove): New.
2008
eb383413
L
20092000-03-30 Mark Mitchell <mark@codesourcery.com>
2010
2011 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
2012 codes.
2013 (htab_find_with_hash): Likewise.
2014 (htab_find_slot_with_hash): Likewise.
ae7d06ad 2015
eb383413
L
20162000-03-29 Zack Weinberg <zack@wolery.cumb.org>
2017
2018 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
2019 unless it will be used. Rearrange loop for better
2020 optimization.
2021 (higher_prime_number): Add static prototype.
2022
b4fe2683
JM
2023Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
2024
2025 * Makefile.in (partition.o): Depend on config.h
2026
20272000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
2028
2029 * hashtab.c (find_empty_slot_for_expand): New function.
2030 (htab_expand): Use it instead of htab_find_slot.
2031 (htab_find_with_hash): Renamed from htab_find; now accepts extra
2032 argument HASH.
2033 (htab_find_slot_with_hash): Likewise for htab_find_slot.
2034 (htab_find): New wrapper function.
2035 (htab_find_slot): Likewise.
2036 (htab_traverse): Pass slot, not entry, to called function.
2037
20382000-03-09 Alex Samuel <samuel@codesourcery.com>
2039
2040 * Makefile.in (CFILES): Add partition.c.
2041 (REQUIRED_OFILES): Add partition.o.
2042 (partition.o): New rule.
2043 * partition.c: New file.
ae7d06ad 2044
b4fe2683
JM
20452000-03-09 Zack Weinberg <zack@wolery.cumb.org>
2046
2047 * hashtab.c (htab_create): Set del_f.
2048 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
2049 Use it.
2050
20512000-03-08 Zack Weinberg <zack@wolery.cumb.org>
2052
2053 * hashtab.c: Remove debugging variables (all_searches,
2054 all_collisions, all_expansions). Delete
2055 all_hash_table_collisions.
2056 (create_hash_table, delete_hash_table, empty_hash_table,
2057 find_hash_table_entry, remove_element_from_hash_table_entry,
2058 clear_hash_table_slot, traverse_hash_table, hash_table_size,
2059 hash_table_elements_number, hash_table_collisions): Rename to:
2060 htab_create, htab_delete, htab_empty, htab_find_slot,
2061 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
2062 htab_elements, htab_collisions.
2063 (htab_find): New function, handles common case where you don't
2064 plan to add or delete an entry.
2065 (htab_expand): Don't create a whole new table, just a new
2066 entry vector.
2067 (htab_find_slot): Simplify logic.
2068
08372f14
ILT
20691999-08-03 Ian Lance Taylor <ian@zembu.com>
2070
2071 * floatformat.c: Add casts to avoid signed/unsigned warnings.
2072 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
2073
2074 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
2075 $(TARGETLIB)n so it works on MSDOS.
2076 (install_to_tooldir): Likewise.
2077
9c8ac5a9
ILT
20781999-07-21 Ian Lance Taylor <ian@zembu.com>
2079
2080 From Mark Elbrecht:
2081 * makefile.dos: Remove; obsolete.
8f36e47c 2082 * configure.bat: Remove; obsolete.
9c8ac5a9 2083
0c0a36a4
ILT
20841999-07-11 Ian Lance Taylor <ian@zembu.com>
2085
2086 * splay-tree.c (splay_tree_insert): Add initialization to avoid
2087 warning.
2088
20892000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2090
2091 * pexecute.c: Conditionally include string.h.
b4fe2683 2092 (fix_argv): Handle embedded whitespace in args for Mingw32.
0c0a36a4
ILT
2093
20942000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2095
2096 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
2097 we're using gcc.
2098
2099 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
2100
21011999-12-27 Geoff Keating <geoffk@cygnus.com>
2102
2103 * vasprintf.c (int_vasprintf): Don't re-read the format character
2104 as this mishandles strings like '%%s'.
2105
21061999-12-05 Mark Mitchell <mark@codesourcery.com>
2107
2108 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
2109 rather than struct splay_tree_node.
2110 (splay_tree_insert): Use struct splay_tree_s rather than struct
2111 splay_tree.
2112
2113Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
2114
2115 * hashtab.c (sys/types.h): File included.
2116
21171999-11-22 Jason Merrill <jason@casey.cygnus.com>
2118
2119 * strtoul.c, strtol.c, random.c: Remove advertising clause from
2120 BSD license, pursuant with
2121
2122 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
2123
2124Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
2125
2126 * hashtab.c: Include stdio.h.
2127
2128Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
2129
2130 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
2131
2132Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
2133
2134 * xstrdup (sys/types.h): Include this file.
2135
21361999-10-28 Nathan Sidwell <nathan@acm.org>
2137
2138 * Makefile.in (SUBDIRS): New macro.
2139 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
2140 avoid multiple subdirectory cleaning.
2141 (*-subdir): Use SUBDIRS.
2142
21431999-10-25 Jim Kingdon <http://developer.redhat.com/>
2144
2145 * cplus-dem.c: Move declarations of standard_symbol_characters and
2146 hp_symbol_characters inside #ifdef MAIN to avoid compiler
2147 warnings.
2148
21491999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
2150
2151 * hashtab.c (find_hash_table_entry): When returning a
2152 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
2153 (clear_hash_table_slot): New function which deletes an entry
2154 by its position in the table, not its value.
2155 (traverse_hash_table): New function which calls a hook
2156 function for every live entry in the table.
2157
21581999-10-19 Mark Mitchell <mark@codesourcery.com>
2159
2160 * cplus-dem.c (INTBUF_SIZE): New macro.
2161 (string_append_template_idx): New function.
2162 (demangle_expression): Likewise.
2163 (demangle_integral_value): Use it.
2164 (demangle_real_value): New function, split out from ...
2165 (demangle_template_value_parm): ... here. Use
2166 string_append_template_idx. Use demangle_real_value.
2167 (demangle_template): Use string_append_template_idx.
2168 (demangle_qualified): Use consume_count_with_underscores.
2169 (get_count): Tweak formatting.
2170 (do_type): Use string_append_template_idx.
b4fe2683 2171
0c0a36a4
ILT
21721999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2173
2174 * calloc.c: Add a public domain notice.
2175
2176Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
2177
2178 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
2179
2180Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
2181
2182 * Makefile.in (CFILES): Add hashtab.c
2183 (REQUIRED_OFILES): Add hashtab.o
2184 (hashtab.o): Add dependencies.
2185 * hashtab.c: New file
2186
2187Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
2188
2189 * basename.c (DIR_SEPARATOR): New macro.
2190 (DIR_SEPARATOR_2): Likewise.
2191 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
2192 (IS_DIR_SEPARATOR): Likewise.
2193 (main): Handle MSDOS style pathname.
2194
21951999-10-11 Mark Mitchell <mark@codesourcery.com>
2196
2197 * cplus-dem.c (do_type): Handle pointer to member types whose
2198 enclosing classes have namespace scope.
2199
2200Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
2201
2202 * config.table: Provide a backup shell for executing move-if-change.
2203
22041999-10-02 Mark Mitchell <mark@codesourcery.com>
2205
2206 * xmalloc.c (xmalloc): Fix spelling error.
2207 (xcalloc, xrealloc): Likewise.
2208
22091999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2210
2211 * cplus-dem.c (fancy_abort, demangle_integral_value,
2212 demangle_arm_hp_template, recursively_demangle,
2213 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
2214 (program_name, program_version, fatal): Constify a char*.
2215 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
2216 (main): Call return, not exit.
2217
22181999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2219
2220 * choose-temp.c: Remove obsolete comment about gcc.
2221 (make_temp_file): Constify a char*.
2222
2223Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2224
2225 * xmemdup.c: Include sys/types.h.
2226
22271999-09-07 Jeff Garzik <jgarzik@pobox.com>
2228
2229 * xmemdup.c: New xmemdup function.
2230 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
2231
2232Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
2233
b4fe2683 2234 * config.table: Add openedition target.
0c0a36a4
ILT
2235 * config/mh-openedition: New file.
2236
2237Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
2238
2239 * pexecute.c (pexecute): Fill in temp_base when needed.
2240
22411999-08-31 Richard Henderson <rth@cygnus.com>
2242
2243 * getpwd.c: Check HAVE_GETCWD before defining it away.
2244
22451999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2246
2247 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
2248 (REQUIRED_OFILES): Add getpwd.o.
2249 (getpwd.o): Add target.
2250
2251 * configure.in (AC_PREREQ): Bump to 2.13.
2252 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
2253
2254 * getpwd.c: New file, moved here from gcc.
2255
22561999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2257
2258 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
2259 comparing against a signed quantity.
2260 (arm_special): Likewise.
2261 (demangle_fund_type): Likewise.
2262 (do_hpacc_template_const_value): Mark parameter `work' with
b4fe2683 2263 ATTRIBUTE_UNUSED.
0c0a36a4
ILT
2264 (main): Constify variable `valid_symbols'.
2265
2266Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
2267
2268 * strtoul.c (strtoul): Add parentheses around && within ||.
2269
2270Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
2271
2272 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
2273 libdir, libsubdir and tooldir.
2274
22751999-08-01 Mark Mitchell <mark@codesourcery.com>
2276
2277 * splay-tree.c (splay_tree_insert): Return the new node.
2278
35ca97ea
RH
22791999-07-14 Richard Henderson <rth@cygnus.com>
2280
b4fe2683 2281 * argv.c: Include stdlib.h and string.h instead of
35ca97ea
RH
2282 prototyping directly.
2283 * choose-temp.c: Conditionally include string.h.
2284
0c0a36a4
ILT
22851999-07-12 Jason Merrill <jason@yorick.cygnus.com>
2286
2287 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
2288
af32ff69
ILT
22891999-07-11 Ian Lance Taylor <ian@zembu.com>
2290
2291 * splay-tree.c (splay_tree_insert): Add initialization to avoid
2292 warning.
2293
0c0a36a4
ILT
22941999-07-07 Jason Merrill <jason@yorick.cygnus.com>
2295
2296 * Makefile.in (needed-list): Only include stuff we actually need
2297 for libstdc++.
2298
22991999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2300
2301 * configure.in (checkfuncs): Add gettimeofday.
2302 * config.in, configure: Regenerated.
2303
2304Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
2305
2306 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
2307 the test fails.
2308 * configure: Regenerate.
2309
23101999-06-10 Mike Stump <mrs@wrs.com>
2311
2312 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
2313 parallel builds.
2314
23151999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2316
2317 * putenv.c: Include ansidecl.h to define `const'.
2318 * setenv.c: Likewise.
2319
2320Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
2321
2322 * Makefile.in (CFILES): Add putenv.c and setenv.c.
2323 * configure.in (funcs): Add putenv and setenv.
2324 (AC_CHECK_FUNCS): Check for putenv and setenv.
2325 * configure: Rebuilt.
2326 * putenv.c setenv.c: New files.
2327
2328 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
2329 bytes of space using malloc.
2330
2331Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
2332
2333 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
2334 the *mangled pointer beyond the end of the string. Clean up code to
2335 match prevailing coding style.
2336
23371999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2338
2339 * tmpnam.c (L_tmpnam): Fix typo.
2340
2341Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
2342
2343 * cplus-dem.c (standard_symbol_characters): Renamed from
2344 standard_symbol_alphabet. No longer modify TABLE.
2345 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
2346 modify TABLE.
2347 (main): Corresponding changes. Use strchr to determine if a
2348 character is valid.
2349
e9868447
JB
23501999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
2351
2352 * cplus-dem.c (main): Use table lookup to distinguish identifier
2353 characters from non-identifier characters.
2354 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
2355
33fbbfbc
RH
2356Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
2357
2358 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
2359 * getruntime.c: Only attempt to include sys/resource.h and
2360 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
2361 are defined.
2362
0c0a36a4
ILT
2363Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
2364
2365 * configure.in (alloca detection): Handle alloca directly for interix.
2366 * configure: Rebuilt.
2367
2368Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
2369
2370 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
2371
252b5132
RH
23721999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
2373
2374 Fix from Dale Hawkins:
b4fe2683 2375 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
252b5132
RH
2376 reallocated properly if we use it again.
2377
2378 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
2379 stricter about syntax. Always null-terminate string.
2380
c1687039
ILT
2381Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
2382
2383 * configure.in (checkfuncs): Check for sbrk.
2384 * config.in: Rebuilt.
2385 * configure: Likewise.
2386 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
2387
0c0a36a4
ILT
23881999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
2389
2390 Fix from Marcus Daniels:
2391 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
2392 identifier looking for another underscore.
2393
2394Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
2395
2396 * pexecute.c: Change all references to __UWIN__ to _UWIN.
2397 * xmalloc.c: Likewise.
2398 (xcalloc): UWIN has sbrk.
2399 (xrealloc): Fix guard macro.
2400
252b5132
RH
24011999-04-11 Richard Henderson <rth@cygnus.com>
2402
2403 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
2404 or <alloca.h>.
2405 * clock.c (GNU_HZ): New definition.
2406 (clock): Use it.
2407 * getruntime.c: Likewise.
2408
2409 * config.table: Use mh-beos.
2410 * config/mh-beos: New file.
2411
0c0a36a4
ILT
24121999-04-11 Mark Mitchell <mark@codesourcery.com>
2413
2414 * cplus-dem.c (demangle_template_value_parm): Handle
2415 pointers-to-members.
2416 (do_type): Handle template parameters as qualifiers.
2417
252b5132
RH
24181999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
2419
2420 * cplus-dem.c: Attempt to handle overflows in counts with some
2421 semblance of grace.
2422 (consume_count): Detect overflows. Return -1 to indicate errors,
2423 instead of zero.
2424 (demangle_template_value_parm, demangle_template): Handle change
2425 to consume_count's return convention.
2426
0c0a36a4
ILT
24271999-04-05 Tom Tromey <tromey@cygnus.com>
2428
2429 * testsuite/regress-demangle: New file.
2430 * testsuite/demangle-expected: New file.
252b5132 2431
0c0a36a4
ILT
2432 * Makefile.in (all, check, installcheck, info, install-info,
2433 clean-info, dvi, install, etags, tags, mostlyclean, clean,
2434 distclean, maintainer-clean, realclean): Depend on corresponding
2435 `-subdir' target.
2436 (all-subdir check-subdir installcheck-subdir info-subdir
2437 install-info-subdir clean-info-subdir dvi-subdir
2438 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
2439 distclean-subdir maintainer-clean-subdir): New target.
2440 * testsuite/Makefile.in: New file.
2441 * configure: Rebuilt.
2442 * configure.in: Create testsuite/Makefile.
252b5132
RH
2443
24441999-04-02 Mark Mitchell <mark@codesourcery.com>
2445
2446 * splay-tree.h (splay_tree_compare_pointers): Define.
2447
24481999-03-30 Mark Mitchell <mark@codesourcery.com>
2449
2450 * splay-tree.c (splay_tree_compare_ints): Define.
2451
24521999-03-30 Tom Tromey <tromey@cygnus.com>
2453
2454 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
2455 don't advance input pointer.
2456 (demangle_class_name): If consume_count didn't find a count, do
2457 nothing. Don't bother with `strlen' sanity check; consume_count
2458 does it for us.
2459
24601999-03-16 Stan Shebs <shebs@andros.cygnus.com>
2461
2462 From Art Haas <ahaas@neosoft.com>:
2463 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
2464 when doing arm or hp style.
2465 (demangle_nested_args): Decr forgetting_types field when done.
b4fe2683 2466
252b5132
RH
2467Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
2468
2469 * pexecute.c (__CYGWIN32__): Rename to
2470 (__CYGWIN__): this.
2471 * xmalloc.c: Likewise.
2472
2473 Changes to support i386-pc-uwin.
2474 * configure.in (*-*-uwin*): Workaround for vfork bug.
2475 * configure: Regenerate.
2476 * pexecute.c (pexecute): Be like standard Unix.
2477 (pwait): Likewise.
2478 * xmalloc.c (first_break): Define.
2479 (xmalloc_set_program_name): Use.
2480 (xmalloc): Use.
2481
2482Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2483
2484 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
2485
2486Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
2487
2488 * config.table: Check cygwin*, not cygwin32*.
2489
2490Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
2491
2492 * Makefile.in: Change mkstemp -> mkstemps.
2493
2494Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
2495
2496 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
2497 * configure.in (funcs): Check for and conditionally add mkstemps to
2498 the list of functions libiberty will provide.
2499 * configure: Rebuilt.
b4fe2683 2500
252b5132
RH
2501Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
2502
b4fe2683 2503 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
252b5132
RH
2504 platforms that don't have HZ.
2505 * getruntime.c (HZ): Likewise.
2506
2507Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
2508
2509 * Makefile.in (xstrdup.o): Depend on config.h.
2510
2511Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
2512
2513 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
2514 freeing it.
2515
2516Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2517
2518 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
2519
2520Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2521
2522 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
2523 splay-tree.o.
2524
25251999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
2526
2527 * configure.in: Require autoconf 2.12.1 or higher.
2528
25291998-12-30 Michael Meissner <meissner@cygnus.com>
2530
2531 * random.c (NULL): Don't redefine NULL if it is already defined.
2532
2533Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2534
2535 * argv.c (buildargv): Cast the result of alloca in assignment.
2536
2537 * choose-temp.c: Include stdlib.h.
2538
2539 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
8aefe91a
DD
2540 (snarf_numeric_literal): Constify first parameter.
2541 (code_for_qualifier): Avoid a gcc extension, make the parameter an
2542 int, not a char.
252b5132
RH
2543 (demangle_qualifier): Likewise.
2544 (demangle_signature): Cast the argument of a ctype function to
2545 unsigned char.
2546 (arm_pt): Add parens around assignment used as truth value.
2547 (demangle_arm_hp_template): Constify variable `args'.
2548 (do_hpacc_template_const_value): Cast the argument of a ctype
2549 function to unsigned char.
2550 (do_hpacc_template_literal): Remove unused variable `i'.
2551 (snarf_numeric_literal): Constify parameter `args'.
2552 Cast the argument of a ctype function to unsigned char.
2553
2554 * floatformat.c (floatformat_to_double): Add explicit braces to
8aefe91a 2555 avoid ambiguous `else'.
252b5132
RH
2556
2557 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
8aefe91a
DD
2558 `cstart' and `cend' to unsigned char. Cast the argument of macro
2559 `FOLD', which uses ctype functions, to unsigned char.
252b5132
RH
2560
2561 * objalloc.c (free): Add prototype.
2562
2563Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
2564
2565 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
2566
2567Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
2568
2569 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
8aefe91a 2570 doesn't exist.
252b5132 2571 (do_hpacc_template_literal): remove unused variable `i'.
b4fe2683 2572
252b5132
RH
2573Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2574
2575 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
2576 bumping the pointer we read from. Also prepend these codes,
2577 as we do in other places.
2578
25791998-12-18 Nick Clifton <nickc@cygnus.com>
2580
2581 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
2582 'const char *' in order to match its usage when calling siblings.
2583 (snarf_numeric_literal): Make first arg 'const char **' in order
2584 to match usage.
2585
2586Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2587
2588 * choose-temp.c: Don't check IN_GCC anymore.
2589
2590 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
2591 * memchr.c (memchr): Likewise.
2592 * memcpy.c (memcpy): Likewise.
2593 * memmove.c (memmove): Likewise.
2594
2595 * mkstemp.c: Don't check IN_GCC anymore.
2596 * pexecute.c: Likewise.
2597 * splay-tree.c: Likewise.
2598
2599 * strchr.c (strchr): Use `const', not `CONST'.
2600 * strrchr.c (strrchr): Likewise.
2601 * strtol.c (strtol): Likewise.
2602 * strtoul.c (strtoul): Likewise.
2603
2604Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
2605 Elena Zannoni <ezannoni@cygnus.com>
2606 Stan Shebs <shebs@cygnus.com>
2607 Edith Epstein <eepstein@cygnus.com>
2608 Andres MacLeod <amacleod@cygnus.com>
2609 Satish Pai <pai@apollo.hp.com>
2610
2611 * HP aCC demangling support.
2612 * cplus-dem.c
2613 (main): Remove default to HP style demangling, set to EDG
8aefe91a
DD
2614 demangling correctly when -edg specified; set the demangling style
2615 when user specifies 'edg'. Set strip_underscore to
2616 prepends_underscore, if not HPUXHPPA. Set
2617 current_demangling_style to hp_demangling if HPUXHPPA. Set
2618 current demangling style correctly if the switch is hp. Read
2619 label correctly also in the HP style case.
252b5132 2620 (work_stuff): add temp_start field; add field for volatile member
8aefe91a 2621 function.
252b5132 2622 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
8aefe91a 2623 style for this case is the same as ARM.
252b5132
RH
2624 (demangle_args): handle EDG_DEMANGLING style; support HP style.
2625 (demangle_arm_hp_template): new function. (It was
8aefe91a
DD
2626 demangle_arm_pt.); check and set value of temp_start field in
2627 multiple places. Also, when ceching for end of template args,
2628 check to see if at end of static member of template class.
252b5132 2629 (demangle_class): new local variable : save_class_name_end Don't
8aefe91a 2630 include template args in string defining class.
252b5132
RH
2631 (demangle_class_name): use demangel_arm_hp_template.
2632 (demangle_function_name): handle case where demangling style is
8aefe91a
DD
2633 HP_DEMANGLING and currently point at an 'X' in the mangled name.
2634 Handle EDG_DEMANGLING style. Handle constructor and destructor
2635 ops for HP style.
252b5132 2636 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
8aefe91a
DD
2637 styles. global destructor and constructor for HP style are same
2638 as for ARM style. Same for local variables.
252b5132
RH
2639 (demangle_qualified): handle EDG_DEMANGLING style.
2640 (demangle_signature): add case for volatile member function. For
8aefe91a
DD
2641 cases '1' - '9' : initialize the temp_start field to -1 and handle
2642 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
2643 and AUTO_DEMANGLING styles. If expecting a function and managed
2644 to demangle the funct args, then handle the LUCID_DEMANGLING,
2645 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
2646 class name after "Lnnn_ in HP style case. HP style too needs to
2647 forget types. _nnn is OK for HP style, so don't report failure.
252b5132 2648 (do_hpacc_template_const_value): new function. Handle template's
8aefe91a 2649 value param for HP/aCC.
252b5132 2650 (do_hpacc_template_literal): new function. Handle a template's
8aefe91a 2651 literal parameter for HP aCC.
252b5132
RH
2652 (recursively_demangle): new function
2653 (snarf_numeric_literal): new function.
2654 (usage): add 'edg' to the list of demangling styles; add hp switch
8aefe91a 2655 to message.
252b5132
RH
2656
2657Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
2658
2659 * pexecute.c: Remove obsolete ifdefed cygwin code.
2660
2661Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2662
2663 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
2664 * cplus-dem.c: Likewise. Conform to libiberty.h.
2665 * pexecute.c: Likewise.
2666 * splay-tree.c: Likewise.
2667
26681998-11-25 Mike Stump <mrs@wrs.com>
2669
2670 * Makefile.in (splay-tree.o): Add config.h dependency.
2671
2672Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2673
2674 * configure.in: Use AC_PREREQ(2.12.1).
2675
26761998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
2677
b4fe2683 2678 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
252b5132
RH
2679
2680Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
2681
2682 * mpw.c (mpw_access): Add missing parens.
2683
2684Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2685
2686 * configure.in: Call AC_HEADER_SYS_WAIT.
2687
2688 * pexecute.c: Include sys/wait.h when !IN_GCC.
2689
2690Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
2691
2692 * pexecute.c: revert back to checking old Cygwin
2693 preprocessor symbol until some time has passed.
2694
2695Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
2696
2697 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
2698 since it will now support similar constructs.
2699
2700Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2701
2702 * configure.in: Check for calloc.
2703
2704 * calloc.c: New file.
2705
2706 * xmalloc.c (xcalloc): New function.
2707
2708Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2709
2710 *cplus-dem.c (demangle_prefix): Use the last "__"
2711 in the mangled name when looking for the signature. This allows
2712 template names to begin with "__".
2713
27141998-11-08 Mark Mitchell <mark@markmitchell.com>
2715
2716 * cplus-dem.c (type_kind_t): Add tk_reference.
2717 (demangle_template_value_parm): Handle it.
2718 (do_type): Use it for references, instead of tk_pointer.
2719
2720 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
2721 not internal_cplus_demangle.
2722
2723Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2724
2725 * choose-temp.c: Don't include gansidecl.h.
2726 * mkstemp.c: Likewise.
2727 * pexecute.c: Likewise.
2728
2729Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
2730
b4fe2683
JM
2731 * configure.in: detect cygwin* instead of cygwin32*
2732 * configure: regenerate
252b5132
RH
2733
2734Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2735
2736 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
8aefe91a
DD
2737 whether to include config.h. Possibly include unistd.h in the
2738 !IN_GCC case. Define VFORK_STRING as a printable function call
2739 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
2740 defined, include vfork.h. If VMS is defined, define vfork()
2741 appropriately. Remove vfork check on USG, we're using autoconf.
2742 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
2743 locally what string to use.
252b5132
RH
2744
27451998-10-26 Mark Mitchell <mark@markmitchell.com>
2746
2747 * splay-tree.c: Tweak include directives to make sure declarations of
2748 xmalloc and free are available.
2749
27501998-10-25 Mark Mitchell <mark@markmitchell.com>
2751
2752 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
2753 anonymous namespaces.
2754
27551998-10-23 Mark Mitchell <mark@markmitchell.com>
2756
2757 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
2758 with type_quals.
2759 (TYPE_UNQUALIFIED): New macro.
2760 (TYPE_QUAL_CONST): Likewise.
2761 (TYPE_QUAL_VOLATILE): Likewise.
2762 (TYPE_QUAL_RESTRICT): Likewise.
2763 (code_for_qualifier): New function.
2764 (qualifier_string): Likewise.
2765 (demangle_qualifier): Likewise.
2766 (internal_cplus_demangle): Use them.
2767 (demangle_signature): Likewise.
2768 (demangle_template_value_parm): Likewise.
2769 (do_type): Likewise.
2770 (demangle_fund_type)): Likewise.
2771
2772Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2773
2774 * splay-tree.c (splay_tree_foreach_helper): Make definition static
2775 to match prototype.
2776
27771998-10-21 Mark Mitchell <mark@markmitchell.com>
2778
2779 * splay-tree.c: New file.
2780 * Makefile.in (CFILES): Add it.
2781 (REQUIRED_OFILES): Likewise.
2782 (splay-tree.o): Add dependencies.
2783
2784Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2785
2786 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
2787 range of 'K' index.
2788
2789Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2790
2791 * choose-temp.c: Prototype mkstemps() when IN_GCC.
2792
2793 * cplus-dem.c (consume_count): Cast argument of ctype macro to
2794 `unsigned char'.
2795 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
2796 comparing against one.
2797 (cplus_mangle_opname): Likewise.
2798 (demangle_integral_value): Cast argument of ctype macro to
2799 `unsigned char'.
2800 (demangle_template_value_parm): Likewise.
2801 (demangle_template): Initialize variable `bindex'. Cast the
2802 result of `strlen' to (int) when comparing against one. Remove
2803 unused variable `start_of_value_parm'.
2804 (demangle_class_name): Cast the result of `strlen' to (int) when
2805 comparing against one.
2806 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
2807 (gnu_special): Likewise. Cast the result of `strlen' to (int)
2808 when comparing against one.
2809 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
2810 (get_count): Likewise.
2811 (do_type): Likewise. Cast the result of `strlen' to (int) when
2812 comparing against one.
2813 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
2814 (demangle_function_name): Cast the result of `strlen' to (int)
2815 when comparing against one.
2816
2817 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
2818 comparing against one.
2819
2820Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
2821
b4fe2683
JM
2822 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
2823 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
2824 * config.in, configure: Rebuilt.
252b5132
RH
2825
2826 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
2827 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
2828 * config.in, configure: Rebuilt.
2829
2830Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
2831
b4fe2683 2832 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
252b5132
RH
2833
2834Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
2835
2836 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
2837
2838Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
2839
2840 * Merge egcs & devo libiberty.
2841