]> git.ipfire.org Git - thirdparty/gcc.git/blame - libiberty/ChangeLog
cris.md: Remove lingering EGCS reference.
[thirdparty/gcc.git] / libiberty / ChangeLog
CommitLineData
3bf27822
MM
12003-03-03 Mark Mitchell <mark@codesourcery.com>
2
3 * cplus-dem.c: Add license exception to copyright notice.
4
434fa0b8
KG
52003-02-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6
7 * physmem.c: Formatting changes from upstream.
8
ed935c35
DS
92003-02-24 Danny Smith <dannysmith@users.source.forge.net>
10
11 * physmem.c (physmem_total): Add _WIN32 support.
12 (physmem_available): Likewise.
13
7f9fc006
RO
142003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15
16 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
17 GSI_PHYSMEM.
18 (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS.
19
d47f75c4
KG
202003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21
22 * configure.in: Check for sys/systemcfg.h and
23 _system_configuration.
24 * physmem.c: Add support for AIX. Tweek formatting as per
25 upstream coreutils beta.
26
170230b7
KG
272003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
28 Richard Earnshaw <rearnsha@arm.com>
29 Geoffrey Keating <geoffk@apple.com>
30
31 * configure.in: Check for sys/sysctl.h and sysctl.
32 * physmem.c: Add support for *bsd and darwin.
33 * Makefile.in: Generate depedency for physmem.o.
34
4a06f7f2
RO
352003-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
36
37 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on
38 Tru64 UNIX.
39 (physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on
40 Tru64 UNIX.
41
42 * configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h,
43 machine/hal_sysinfo.h, sys/table.h.
44 (checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table.
45 * configure, config.in: Regenerate.
46
64c7e556
KG
472003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
48
49 * configure.in: Check for sys/sysmp.h and sysmp.
50 * physmem.c: Pull upstream copy, add support for irix6.
51
52 * config.in, configure: Regenerated.
53
e9019af6
KG
542003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
55
56 * physmem.c (physmem_total, physmem_available): De-ANSI-fy.
57 * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and
58 pstat_getdynamic.
59
a354191e
KG
602003-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
61
62 * Makefile.in (CFILES): Add physmem.c.
63 (REQUIRED_OFILES): Add physmem.o.
64 * configure.in: Check for sys/pstat.h.
65 (checkfuncs): Add pstat_getstatic and pstat_getdynamic.
66 * physmem.c: New file, copied from textutils.
67
68 * config.in, configure: Regenerated.
69
4876b2b4
DJ
702003-02-20 Daniel Jacobowitz <drow@mvista.com>
71
72 * Makefile.in (CFILES): Add lrealpath.c.
73 (REQUIRED_OFILES): Add lrealpath.o.
74 (lrealpath.o): Add rule.
75 * aclocal.m4 (libiberty_NEED_DECLARATION): Add.
76 * configure.in: Add realpath and canonicalize_file_name to
77 checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION
78 for canonicalize_file_name.
79 * lrealpath.c: New file.
80 * make-relative-prefix.c: Update documentation.
81 (make_relative_prefix): Simplify. Use lbasename and lrealpath.
82 * config.in: Regenerated.
83 * configure: Regenerated.
84 * functions.texi: Regenerated.
85
e182f0a3 862003-02-20 jmc <jmc@prioris.mini.pw.edu.pl>
87
88 * cplus_dem.c: Fix typo: intializes -> initializes.
89
3343fdd2
AO
902003-02-20 Alexandre Oliva <aoliva@redhat.com>
91
92 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
93 config.status.
94 * configure: Rebuilt.
95
902cf50c
DJ
962003-02-13 Daniel Jacobowitz <drow@mvista.com>
97
98 Fix PR c++/7612.
99 * cplus-dem.c (demangle_signature): Call string_delete.
100 Remove extra string_init.
101 (demangle_arm_hp_template): Call string_delete instead of
102 string_clear. Add missing string_delete call.
103 (demangle_qualified): Add missing string_delete call.
104 (do_type): Remove unused variable btype. Add missing string_delete
105 call. Call string_delete instead of string_clear.
106 (demangle_fund_type): Move variable btype inside of the switch
107 statement. Add missing string_delete call.
108 (do_arg): Call string_delete instead of string_clear. Remove extra
109 string_init.
110 (demangle_nested_args): Free work->previous_argument.
111
7ac27e08
KG
1122003-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
113
114 * acconfig.h: New file. Add uintptr_t.
115 * config.in: Regenerated.
116
b3a8389d
JM
1172003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
118
119 * libiberty.texi: Update to GFDL 1.2.
120
d8c22ce7
CC
1212003-01-30 Christian Cornelssen <ccorn@cs.tu-berlin.de>
122
123 * Makefile.in (libiberty_topdir): New subst.
124 (mkinstalldirs): Redefine in terms of the above.
125 * configure.in: AC_SUBST it.
126 * configure: Regenerate.
127
4ce1921a
CC
1282003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de>
129
130 * Makefile.in (all-subdir, check-subdir, installcheck-subdir)
131 (info-subdir, install-info-subdir, clean-info-subdir)
132 (dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
133 (clean-subdir, distclean-subdir, maintainer-clean-subdir):
134 Pass $(FLAGS_TO_PASS).
135
93239fdb
AO
1362003-01-27 Alexandre Oliva <aoliva@redhat.com>
137
138 * Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
139 /`$$CC -print-multi-os-directory`.
140
74828682
DJ
1412003-01-26 Daniel Jacobowitz <drow@mvista.com>
142
143 * hashtab.c (htab_create_alloc_ex): New function.
144 (hatab_set_functions_ex): New function.
145 (htab_delete, htab_expand): Support alternate allocation functions.
146
ece0e59f
CF
1472003-01-24 Christopher Faylor <cgf@redhat.com>
148
149 * configure.in: Remove special pex-cygwin consideration.
150 * configure: Regenerate.
151 * pex-cygwin.c: Remove.
152 * Makefile.in: Remove pex-cygwin.[co] lines.
153
55d0e5e0
ZW
1542003-01-24 Zack Weinberg <zack@codesourcery.com>
155
156 * Makefile.in (CFILES): Add pex-*.c.
157 (REQUIRED_OFILES): Change pexecute.o to @pexecute@
158 (CONFIGURED_OFILES): Add pex-*.o.
159 (TEXIFILES): Add pexecute.txh.
160 (pexecute.o): Delete rule.
161 (pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o,
162 pex-unix.o, pex-win32.o): New rules.
163 * configure.in: Change AC_INIT argument to xmalloc.c.
164 Compute appropriate pexecute implementation and substitute it
165 as @pexecute@.
166
167 * pexecute.c: Split up into...
168 * pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c,
169 pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these
170 new files.
171
172 * functions.texi: Regenerate.
173 * configure: Regenerate.
174
120cdf68
JZ
1752003-01-20 Josef Zlomek <zlomekj@suse.cz>
176
177 * hashtab.c (htab_expand): Fix allocation of new entries.
178
90e5b39f
CC
1792003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
180
181 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
182
d7082cd7
CC
183 * Makefile.in (install_to_libdir, install_to_tooldir): Add a
184 mkinstalldirs command.
185
eaed9290
DS
1862002-12-04 Danny Smith <dannysmith@users.sourceforge.net>
187
188 * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
189 Define for hosts with HOST_EXECUTABLE_SUFFIX.
190
ef4e4181
NC
1912002-11-24 Nick Clifton <nickc@redhat.com>
192
193 * make-relative-prefix.c (make_relative_prefix): Ensure return
194 string is empty before using strcat to construct it.
195
42766f8d
DJ
1962002-11-22 Daniel Jacobowitz <drow@mvista.com>
197
198 * Makefile.in: Add make-relative-prefix.c.
199 * make-relative-prefix.c: New file.
200 * functions.texi: Rebuilt.
201
783080ab
JJ
2022002-11-16 Jakub Jelinek <jakub@redhat.com>
203
204 * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
205 used with arguments in traditional C' warnings.
206
7da64d7a
JJ
2072002-10-16 Jakub Jelinek <jakub@redhat.com>
208
209 * config.table: Use mh-s390pic for s390x too.
210
de78f58b
AJ
2112002-10-06 Andreas Jaeger <aj@suse.de>
212
213 * libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded
214 variable and of strict-aliasing warning.
215 (grow_vect): Use char as first parameter.
216
6c5d742e
KG
2172002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
218
219 * Makefile.in (all): Fix multilib parallel build.
220
f08b7eee
JDA
2212002-09-19 John David Anglin <dave@hiuly1.hia.nrc.ca>
222
223 * cp-demangle.c (demangling_new): Cast 0 to enum.
224 (demangle_char): Cast return of strdup to char *.
225 (is_gnu_v3_mangled_ctor): Cast 0 to enum.
226 (is_gnu_v3_mangled_dtor): Likewise.
227 * cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
228 (work_stuff_copy_to_from): Cast return of xmalloc to char **.
229 * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
230 * md5.c (md5_process_bytes): Cast results back to const void *.
231 (md5_process_block): Add cast to const md5_uint32 *.
232 * regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
233 * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
234 unsigned short.
235 * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
236 to void *.
237 * vasprintf.c (int_vasprintf): Cast return of malloc to char *.
238
8d87f295
NC
2392002-09-19 Nick Clifton <nickc@redhat.com>
240
241 * README: Update email addresses for bugs and patches.
242
6eedb9ca
MS
2432002-09-10 Mike Stump <mrs@apple.com>
244
245 * splay-tree.c (splay_tree_successor): Fix comments.
246
3fd9d606
ZW
2472002-09-11 Zack Weinberg <zack@codesourcery.com>
248
b2196e8f 249 * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
3fd9d606
ZW
250 * testsuite/Makefile.in: Adjust for test-demangle.
251 * testsuite/regress-demangle: Deleted.
252 * testsuite/test-demangle.c: New file.
253 * testsuite/demangle-expected: Change \$ to $ throughout, now that
254 this file is not being read by a shell script.
255
70c4e67a
RS
2562002-09-05 Roger Sayle <roger@eyesopen.com>
257
258 * regex.c: Only use "#pragma alloca" on AIX when not using gcc.
259
65b91091
DD
2602002-08-07 DJ Delorie <dj@redhat.com>
261
262 * regex.c (re_error_msgid): Just use a simple array of strings.
263 (re_compile_pattern): Compensate.
264 (re_comp): Likewise.
265 (re_comp): Likewise.
266 (regerror): Likewise.
267
437974a9
NB
2682002-07-29 Neil Booth <neil@daikokuya.co.uk>
269
270 * cplus-dem.c (PREPEND_BLANK): Remove.
de78f58b 271
28a34ec1
JM
2722002-07-10 Jason Merrill <jason@redhat.com>
273
274 * cp-demangle.c (demangle_identifier): Support extended Unicode
275 characters.
276
84326592
KG
2772002-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
278
279 * cp-demangle.c (demangle_v3_with_details): Wrap in
de78f58b 280 !defined IN_GLIBCPP_V3.
84326592 281
5d69ba1f
MM
2822002-07-01 Mark Mitchell <mark@codesourcery.com>
283
284 * cp-demangle.c (demangle_operator_name): Add type_arg parameter.
285 Set it for the "st" operator.
286 (demangle_expression): Handle expressions with types as arguments.
287
7fda878c
DR
2882002-06-30 Douglas Rupp <rupp@gnat.com>
289
290 * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
291 * Makefile.in (OUTPUT_OPTION): Use.
292
112bae77
PB
2932002-06-22 Peter Breitenlohner <peb@mppmu.mpg.de>
294
295 * Makefile.in (install_to_libdir): Add $(DESTDIR).
296 (install_to_tooldir): Likewise.
297
53309d5c
DR
2982002-06-17 Douglas Rupp <rupp@gnat.com>
299
300 * lbasename.c: Add 2002 to copyright.
301 (IS_DIR_SEPARATOR): Remove VMS junk.
302
045b3a49
GK
3032002-06-05 Geoffrey Keating <geoffk@redhat.com>
304
305 * hashtab.c (htab_create): New stub function for backward
306 compatibility.
307 (htab_try_create): Likewise.
308
e2500fed
GK
3092002-06-03 Geoffrey Keating <geoffk@redhat.com>
310
311 * hashtab.c (htab_create): Delete.
312 (htab_try_create): Delete.
313 (htab_create_alloc): New.
314 (htab_delete): Support user-specified memory allocation.
315 (htab_expand): Likewise.
316
9f3dbd92
RL
3172002-05-22 Roman Lechtchinsky <rl@cs.tu-berlin.de>
318
319 * configure.in: Fix typo in the code checking for sys_errlist.
320 * configure: Regenerated.
321
e4723404
AS
3222002-05-13 Andreas Schwab <schwab@suse.de>
323
324 * config.table: Use mh-x86pic also for x86-64.
325
6706f116
AO
3262002-05-08 Alexandre Oliva <aoliva@redhat.com>
327
328 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
329 script entry, and set LD to it when configuring multilibs.
330 * configure: Rebuilt.
331
deae2ed9
MM
3322002-05-07 Mark Mitchell <mark@codesourcery.com>
333
334 * configure.in (AC_TYPE_PID_T): Use it.
335 * configure: Regenerated.
336 * getruntime.c: Include <sys/types.h>.
337 * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid".
338
4fc4e478
RH
3392002-04-09 Richard Henderson <rth@redhat.com>
340
341 * hashtab.c (higher_prime_number): Use 7 as minimum.
342 (find_empty_slot_for_expand): Don't compute hash2 unless needed.
343 (htab_find_slot_with_hash): Likewise.
344
bd7e6f2d
PE
3452002-04-01 Phil Edwards <pme@gcc.gnu.org>
346
347 * cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
348 (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally
349 not compile if IN_GLIBCPP_V3 defined.
350 * dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme.
351
a8f55e51
BM
3522002-03-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
353
de78f58b 354 * cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
a8f55e51
BM
355 if it is NULL.
356
96adcacb
DD
3572002-03-27 DJ Delorie <dj@redhat.com>
358
359 * hex.c: Add documentation.
360 (_hex_value): Provide non-ASCII empty table.
361 (hex_init): Initialize the non-ASCII table.
362 * functions.texi: Regenerate.
363
2b613c6a
MM
3642002-03-27 Mark Mitchell <mark@codesourcery.com>
365
366 * dyn-string.c: Add libgcc exception to copyright notice.
367
cd862df8
L
3682002-03-26 H.J. Lu (hjl@gnu.org)
369
370 * config.table: Support --with-build-subdir.
371 * configure.in: Likewise.
372 * configure: Rebuild.
373
ed300793
SG
3742002-03-18 Stuart Griffith <Stuart_Griffith@credence.com>
375
376 * strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
377 seen.
378
b3dd43df
MM
3792002-03-12 Mark Mitchell <mark@codesourcery.com>
380
381 * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
382 notice.
383
50c74579
DR
3842002-03-11 Douglas B Rupp <rupp@gnat.com>
385
386 * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
387
957978a4
JB
3882002-03-06 Jim Blandy <jimb@redhat.com>
389
390 * splay-tree.c (splay_tree_xmalloc_allocate,
391 splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
392 prototyped definitions. Mark `data' arguments as unused.
393
ccc49bed
AC
3942002-03-06 Andrew Cagney <ac131313@redhat.com>
395
396 * floatformat.c (floatformat_arm_ext_big): Delete definition.
397
48d7db63
PE
3982002-03-04 Phil Edwards <pme@gcc.gnu.org>
399
400 * configure.in: Add --enable-install-libiberty option.
401 * Makefile.in (INSTALLED_HEADERS): New variable.
402 (install_to_libdir): Possibly also copy headers.
403 * configure: Regenerated.
404
af18e951
NB
4052002-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
406
407 * xmalloc.c (xmalloc_fail): Clarify error message further.
408
d8d7c3c3
NB
4092002-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
410
411 * xmalloc.c (xmalloc_fail): Clarify error message.
412
00c2f96f
JB
4132002-02-22 Jim Blandy <jimb@redhat.com>
414
415 * splay-tree.c (splay_tree_xmalloc_allocate,
416 splay_tree_xmalloc_deallocate): New functions.
417 (splay_tree_new): Call splay_tree_new_with_allocator, passing the
418 above functions and a dummy data pointer.
419 (splay_tree_new_with_allocator): New function.
420 (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
421 splay_tree_remove): Use the splay tree's allocation and
422 deallocation functions.
423
b1c1a22f
SS
4242002-02-19 Scott Snyder <snyder@fnal.gov>
425
426 * testsuite/demangle-expected: Add test case for infinite loop in
427 demangler.
428 * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
429 if do_type() doesn't make any progress --- prevents an infinite
430 loop.
431
336669e7
CW
4322002-02-18 Carlo Wood <carlo@gnu.org>
433
434 PR c++/5390
435 * cplus-dem.c (demangle_integral_value): Accept multi-digit
436 numbers that do not start with an underscore; This is needed
437 for integer template parameters. This doesn't break anything
438 because multi-digit numbers are never followed by a digit.
439 * testsuite/demangle-expected: Corrected all mangled test
440 cases with multi-digit template parameters: g++ 2.95.x does
441 not generate underscores around these parameters.
442
c13db5d1
JM
4432002-02-05 Jason Merrill <jason@redhat.com>
444
445 * cplus-dem.c (flags): Add DMGL_VERBOSE
446 (cplus_demangle_v3_p): Remove.
447 (demangle_it): Add DMGL_TYPES to passed flags.
448 * cp-demangle.c (cplus_demangle_v3_all): Remove.
449 (cplus_demangle_v3_type): Remove.
450 (cplus_demangle_v3): Add options parm.
451
d74697b8
L
4522002-02-02 H.J. Lu (hjl@gnu.org)
453
454 * cp-demangle.c (cp_demangle_type): Do not protect with
455 IN_LIBGCC2.
456 (cplus_demangle_v3_all): New.
457 (cplus_demangle_v3): Call cplus_demangle_v3_all.
458 (cplus_demangle_v3_type): Call cplus_demangle_v3_all.
459
460 * cplus-dem.c (cplus_demangle_v3_p): New function pointer.
461 Initialized to cplus_demangle_v3.
462 (cplus_demangle_with_style): Call cplus_demangle_v3_p instead
463 of cplus_demangle_v3.
464 (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
465 command line symbol.
466
467 * testsuite/regress-demangle: Pass the mangled name at the
468 command line.
469
3a441e38
L
4702002-02-01 H.J. Lu <hjl@gnu.org>
471
472 * cp-demangle.c (cp_demangle_type): Call demangling_new with
473 DMGL_GNU_V3.
474
6d747e63
PE
4752002-01-31 Phil Edwards <pme@gcc.gnu.org>
476
477 * cp-demangle.c: Revert yesterday's change.
478
46af757b
AM
4792002-01-31 Adam Megacz <adam@xwt.org>
480
481 * gcc/libiberty/configure.in: Treat mingw the same as cywin
482 wrt HAVE_SYS_ERRLIST.
483
46ab74b1
PE
4842002-01-30 Phil Edwards <pme@gcc.gnu.org>
485
486 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
487 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on
488 cp_demangle_type.
489 * testsuite/demangle-expected: New gnu-v3 test.
490
e64d0626
MV
4912002-01-22 Momchil Velikov <velco@fadata.bg>
492
493 * configure.in (variable detection): Use arrays of unspecified
494 size instead of plain integers.
495
9ce3f7e5
DD
4962002-01-18 DJ Delorie <dj@redhat.com>
497
498 * Makefile.in (TESTLIB): New. This library is for future
499 testsuites.
500 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
501 break down by letter.
502 (REQUIRED_OFILES): List long-to-compile files first.
503 (maint-deps): New, target for updating dependencies.
504 (dependencies): Update.
505 * maint-tool: Add dependency-generating option.
506 * configure.in: Check for _doprnt even if we're not providing it.
507 * configure: Regenerate.
508
509 * _doprnt.c: Modifications to allow compiling on any platform.
510 * copysign.c: Likewise.
511 * putenv.c: Likewise.
512 * setenv.c: Likewise.
513 * vsprintf.c: Likewise.
514
0e83ceb1
DR
5152002-01-15 Douglas B Rupp <rupp@gnat.com>
516
517 * mkstemps.c (mkstemps): On VMS, open temp file with option
518 that causes it to be deleted when closed.
519
adddf5bf
KG
5202002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
521
5e65297b
KG
522 * cp-demangle.c (long_options): Const-ify.
523 * cplus-dem.c (long_options): Likewise.
524
adddf5bf
KG
525 * cplus-dem.c (mystrstr): Delete. All callers changed to use
526 strstr instead.
527
a4219437
IR
5282001-12-31 Ira Ruben <ira@apple.com>
529
530 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
531 * configure: Regenerated.
af328d8d
DR
532
5332001-12-24 Douglas B. Rupp <rupp@gnat.com>
534
535 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
536 * configure: Regenerated.
a4219437 537
63de15a4
CR
5382001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
539
540 PR other/2719
541 * cplus-dem.c (consume_count): Treat negative count as an error.
542 * testsuite/demangle-expected: Added testcase.
543
ee262b6f
DR
544Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
545
546 * configure.in: Hardcode that vfork works on VMS host.
547 * configure: Regenerated.
548
d06ba3c7
RH
5492001-12-06 Richard Henderson <rth@redhat.com>
550
551 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
552 (cplus_demangle): Support no_demangling.
553
e490616e
ZW
5542001-11-27 Zack Weinberg <zack@codesourcery.com>
555
556 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
557 in libiberty context. Fix typo in leading comment.
558 * configure.in: Fix various AC_DEFINEs so autoheader works.
559 If any of vprintf, vsprintf, vfprintf is missing from libc,
560 then AC_REPLACE_FUNCS(_doprnt).
561
97e620cf 5622001-11-26 DJ Delorie <dj@redhat.com>
e490616e 563 Daniel Jacobowitz <drow@mvista.com>
97e620cf
DD
564
565 * Makefile.in (stamp-h): Depend on Makefile for proper
566 serialization.
567 (*-subdir): Depend on config.h for proper serialization.
568
c3bb7df0
DD
5692001-11-26 DJ Delorie <dj@redhat.com>
570
571 * configure.in: Check for alloca.h (for regex.c and putenv.c).
572 * configure: Regenerate.
573 * config.h: Add HAVE_ALLOCA_H.
574
23850d35
KG
5752001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
576
2c47b56b
KG
577 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
578 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
579 is available.
23850d35 580
7ddfb651
JL
581Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
582
d3982b71
JL
583 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
584 * configure.in (HAVE_UINTPTR_T): Test for system defining
585 uintptr_t and define HAVE_UINTPTR_T appropriately.
586 * regex.c (uintptr_t): Do not provide a definition if the
587 system provided one.
588
7ddfb651
JL
589 * regex.c (PREFIX): Provide an alternate definition for
590 non-ANSI/ISO compilers.
591 (ARG_PREFIX): Likewise.
592
2e683037
JM
5932001-11-12 Jim Meyering <meyering@lucent.com>
594
595 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
596 this code would end up calling gettext even in packages built
597 with --disable-nls.
598 * getopt.c (_): Likewise.
599 * regex.c (_): Likewise.
600
f749bd83
AM
6012001-11-03 Alan Modra <amodra@bigpond.net.au>
602
603 * configure.in: Cope with missing makeinfo.
55a10d7c 604 * configure: Regenerate.
f749bd83 605
26ad2982
KG
6062001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
607
e5969ba6
KG
608 * hex.c (hex_init): Provide empty stub.
609
26ad2982
KG
610 * hex.c (hex_init): Delete.
611 (_hex_value): Const-ify and initialize at compile-time.
612
afb649d5
L
6132001-10-19 H.J. Lu <hjl@gnu.org>
614
615 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
616 necessary.
617
5bed56d9
DD
6182001-10-17 DJ Delorie <dj@redhat.com>
619
620 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
621 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
4dcc42a3 622 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
5bed56d9
DD
623 Improve manual formatting.
624 * functions.texi: Regenerate.
625
aac04c15
DD
6262001-10-15 DJ Delorie <dj@redhat.com>
627
628 * Makefile.in (TEXIFILES): Add fnmatch.txh.
629 (maint-undoc): New.
630 maint-tool: Add "undoc" tool.
631 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
632 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
633 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
634 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
635 documentation.
636 * fnmatch.txh: New.
637 * functions.texi: Regenerate.
fae8182a 638
0e4e9e8f
JM
6392001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
640
641 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
642 * strtod.c: Use "ISO C" instead of "ANSI C".
643 * functions.texi: Regenerate.
644
7f8fa05d
JM
6452001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
646
647 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
648 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
649 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
650 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
651 spelling. Give names to function arguments in documentation. Use
652 (void) prototypes in documentation.
653 * functions.texi: Regenerate.
654
0be6abca
KG
6552001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
656
657 * argv.c (buildargv, tests, main): Const-ify.
658 * cp-demangle.c (operator_code): Likewise.
659 * cplus-dem.c (optable, libiberty_demanglers,
660 cplus_demangle_set_style, cplus_demangle_name_to_style,
661 print_demangler_list): Likewise.
662 * hashtab.c (higher_prime_number): Likewise.
663 * strcasecmp.c (charmap): Likewise.
664 * strerror.c (error_info, strerror, main): Likewise.
665 * strncasecmp.c (charmap): Likewise.
666 * strsignal.c (signal_info): Likewise.
667
0e30ffc5
DD
6682001-09-29 DJ Delorie <dj@redhat.com>
669
670 * configure: Regenerate.
671
576fb787
KG
6722001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
673
674 * concat.c: Include stdlib.h.
675
e922f978
EZ
6762001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
677
678 * libiberty.texi: (Top level): Add syncodeindex pg. Add
679 @dircategory and @direntry directives. Add @finalout.
680 (many nodes): Lose the next,prev,up pointers on the @nide line.
681 (Using, Supplemental Functions, Replacement Functions): Fix
682 markup.
683 (Functions): Move around, to allow makeinfo to build the manual
684 without next,prev,up pointers in thye node lines.
685 (Licenses): Fix typos.
686
687 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
688 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
689 * functions.texi: Regenerate.
690
691 * copying-lib.texi: Lose the next,prev,up pointers on the @node
692 line.
693
ae9092da
DD
6942001-09-27 DJ Delorie <dj@redhat.com>
695
696 * configure.in: Don't use in-tree texinfo, because libiberty must
697 be built before it. Check for makeinfo version 4 or higher.
698 * functions.texi: Regenerate.
fae8182a 699
aaa5f039
DD
7002001-09-20 DJ Delorie <dj@redhat.com>
701 Phil Edwards <pedwards@disaster.jaj.com>
fae8182a 702
aaa5f039
DD
703 * configure.in (MAKEINFO, PERL): Detect these.
704 (--enable-maintainer-mode): Add.
705 * configure: Regenerate.
706 * Makefile.in (MAKEINFO, PERL): Define.
707 (libiberty.info, libiberty.dvi, libiberty.html): New.
708 (CFILES): Add bsearch.c.
709 (CONFIGURED_OFILES): New, list of objects configure might add.
710 (maint-missing, maint-buildall): New, for maintainers only.
711 (clean, mostlyclean): Add info/dvi/html files.
712 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
713 * gather-docs: New, for maintainers.
714 * maint-tool: New, for maintainers.
715 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
716 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
717 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
718 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
719 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
720 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
721 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
722 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
723 documentation.
fae8182a 724
c1766881
KG
7252001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
726
727 * concat.c (reconcat): Fix for traditional C.
728
ad43d46f
KG
7292001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
730
731 * concat.c (reconcat): New function.
732
c1d49704
KG
7332001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
734
c793eea7
KG
735 * concat.c (vconcat_length, vconcat_copy, concat_length,
736 concat_copy, concat_copy2): New functions.
737 (concat): Use vconcat_length/vconcat_copy.
738
c1d49704
KG
739 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
740 Define.
741
7a98d9b2
KG
7422001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
743
744 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
745 VA_FIXEDARG & VA_CLOSE.
fae8182a 746
7a98d9b2
KG
747 * vasprintf.c: Check HAVE_STRING_H when including string.h.
748 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
749 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
750
e2dff3f2
KG
7512001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
752
753 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
754
d0708dc1
UD
7552001-08-23 Ulrich Drepper <drepper@redhat.com>
756
757 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
758
7592001-08-23 Ulrich Drepper <drepper@redhat.com>
760
761 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
762 instead of mbrtowc.
763 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
764 wcslen, and __wcscoll instead of wcscoll.
765
ffb9435b
MK
7662001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
767
de78f58b
AJ
768 * fibheap.c (fibheap_init, fibnode_init): Remove.
769 (fibheap_new, fibnode_new): Use xcalloc to allocate and
770 initialize memory.
771 (fibheap_insert): Remove check for node allocation failure.
ffb9435b 772
f379eac3
RH
7732001-08-21 Richard Henderson <rth@redhat.com>
774
775 * Makefile.in (fibheap.o): Depend on config.h.
776 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
777 functions for inlining.
778
b1c45ae4
CF
779Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
780
781 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
782 hosting on cygwin.
783 * configure: Regenerate.
784
0310e5ac
AC
7852001-08-20 Andrew Cagney <ac131313@redhat.com>
786
787 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
788 HARRIS_FLOAT_FORMAT.
789 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
790 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
791 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
792 (floatformat_m88110_harris_ext): New float formats.
793
8c23e0a4
DB
7942001-08-20 Daniel Berlin <dan@cgsoftware.com>
795
796 * fibheap.c: New file. Fibonacci heap.
797
798 * Makefile.in (CFILES): Add fibheap.c.
799 (REQUIRED_OFILES): Add fibheap.o.
800 (fibheap.o): Add dependencies for fibheap.o.
801
91625004
CF
8022001-08-17 Christopher Faylor <cgf@cygnus.com>
803
804 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
805 * configure: Regenerate.
806
9e0ba685
RH
8072001-08-16 Richard Henderson <rth@redhat.com>
808
809 * hashtab.c (htab_hash_string): New.
810
d80dedbe
AC
8112001-08-13 Andrew Cagney <ac131313@redhat.com>
812
813 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
814 name.
815
ccea0d85
IH
8162001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
817
818 * regex.c (wcs_regex_compile): Use appropriate string
819 to compare with collating element.
820 Fix the padding for the alignment.
821
b0e9bc8c 8222001-08-10 Andrew Cagney <ac131313@redhat.com>
0ef5547d
AC
823
824 * lbasename.c (lbasename): Change function definition to return a
825 const char pointer.
826
056400f1
JM
8272001-08-07 Jason Merrill <jason_merrill@redhat.com>
828
829 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
830 for".
831
4e627c41
RH
8322001-08-03 Richard Henderson <rth@redhat.com>
833
834 * Makefile.in (concat.o): Depend on config.h.
835
b6a2f884
AJ
8362001-07-30 Andreas Jaeger <aj@suse.de>
837
838 * concat.c: Include "config.h".
839
c4b9cfe0
AJ
8402001-07-30 Andreas Jaeger <aj@suse.de>
841
842 * regex.c: Declare wcs functions only if compiling with
843 MBS_SUPPORT.
844 Don't use #elif for traditional C.
845
8462001-07-23 Ulrich Drepper <drepper@redhat.com>
847
848 * regex.c: Revamp memory allocation for WCHAR functions to
849 not use too much stack.
850
8512001-07-30 Andreas Jaeger <aj@suse.de>
852
853 * regex.c: Declare wcs functions only if compiling with
854 MBS_SUPPORT.
855 Don't use #elif for traditional C.
856
2cf50fd3
DJ
8572001-07-25 Daniel Jacobowitz <drow@mvista.com>
858
859 * Makefile.in (regex.o): Add dependency on config.h.
860
27ffc806
DD
8612001-07-18 Andreas Schwab <schwab@suse.de>
862
863 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
864 underscore character.
865
8662001-07-18 Ulrich Drepper <drepper@redhat.com>
867
868 * regex.c: Limit string length printed in debug messages to 100
869 chars.
870
8712001-07-18 Andreas Jaeger <aj@suse.de>
872
873 * regex.c: Place under LGPL version 2.1.
874
dd771632
JJ
8752001-07-10 Jeff Johnston <jjohnstn@redhat.com>
876
877 * Makefile.in: Add support for regex code.
878 * regex.c: New file.
879
29650b2b
MK
8802001-07-05 Mark Klein <mklein@dis.com>
881
882 * Makefile.in: Add ffs.c dependency.
883 * configure.in: Add ffs.c.
884 * ffs.c: New file.
885
c8b28221
RH
8862001-06-18 Richard Henderson <rth@redhat.com>
887
888 * concat.c: Include <sys/types.h>.
889
473c2d0b
LR
8902001-06-11 Loren J. Rittle <ljrittle@acm.org>
891
a4c03da2 892 bootstrap/3106
473c2d0b
LR
893 * strerror.c (sys_nerr): Hide the OS header version.
894 * strsignal.c (sys_nsig): Likewise.
895
0bdcca68
RH
8962001-06-10 Richard Henderson <rth@redhat.com>
897
898 * concat.c: Include string.h. Fix int vs size_t usage.
899 Simplify the iteration loops. Use memcpy.
900
6de133d3
MK
9012001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
902
903 * partition.c: Fix misspelling of `implementation'.
904
8a153288
TS
9052001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
906
907 * md5.c (md5_init_ctx): Declare constants as unsigned.
908 (md5_process_block): Likewise.
909
641b2721
ZW
9102001-05-07 Zack Weinberg <zackw@stanford.edu>
911
912 * cp-demangle.c (demangle_v3_with_details,
913 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
914 function definition.
915 * ternary.c: Use K+R style function definitions. Use PTR, not
916 void *. Make arguments constant where possible.
917
5cdba4ff
MM
9182001-05-07 Mark Mitchell <mark@codesourcery.com>
919
920 * splay-tree.h (splay_tree_max): New function.
921 (splay_tree_min): Likewise.
922
9dab060e
DB
9232001-04-15 Daniel Berlin <dan@cgsoftware.com>
924
925 * ternary.c: New file - Ternary search tree implementation.
926
927 * Makefile.in: Add ternary.o, and ternary.c dependencies.
928
d02af173
ZW
9292001-04-03 Zack Weinberg <zackw@stanford.edu>
930
931 * make-temp-file.c (try): Inline.
932
94b68558
RH
9332001-02-28 Richard Henderson <rth@redhat.com>
934
935 * Makefile.in (make-temp-file.o): Depend on config.h.
936
27f66c0b
KG
9372001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
938
939 * memchr.c (memchr): Adjust condition to avoid infinite loop.
940
f1a0345c
JJ
9412001-03-23 Jakub Jelinek <jakub@redhat.com>
942
943 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
944 `_' not followed by a digit is invalid.
945
a519fba6
JB
9462001-03-22 Jim Blandy <jimb@redhat.com>
947
948 * cp-demangle.c (string_list_delete): Use dyn_string_delete
949 instead of free, to free the contents as well as the string
950 structure.
951
49ee944b
ZW
9522001-03-21 Zack Weinberg <zackw@stanford.edu>
953
954 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
955 Don't default P_tmpdir to anything. Try /var/tmp before
956 /usr/tmp.
957
33437dc7
ZW
9582001-03-20 Zack Weinberg <zackw@stanford.edu>
959
960 * choose-temp.c: Split off make_temp_file, and the code
961 duplicated between it and choose_temp_base, into...
962 * make-temp-file.c: ... here; new file.
963
964 * Makefile.in (CFILES): Add make-temp-file.c.
965 (REQUIRED_OFILES): Add make-temp-file.o.
966
7dce2eff
JB
9672001-03-20 Jim Blandy <jimb@redhat.com>
968
969 * cp-demangle.c (struct demangling_def): New fields:
970 is_constructor and is_destructor.
971 (demangling_new): Initialize them.
972 (demangle_ctor_dtor_name): Set them, if we detect a constructor
973 or destructor.
974 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
975 is_gnu_v3_mangled_dtor): New functions.
976
e03a61f1
JM
9772001-03-20 Jason Merrill <jason@redhat.com>
978
979 * cplus-dem.c (main): Skip initial $.
980
8860ddab
MM
9812001-03-15 Michael Meissner <meissner@redhat.com>
982
983 * hashtab.c (higher_prime_number): Silence warning that 4294967291
984 might be a signed integer under pre-ISO C systems.
985
2b757d51
NB
9862001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
987 John David Anglin <dave@hiauly1.hia.nrc.ca>
988
989 * libiberty/lbasename.c: New file.
990 * libiberty/Makefile.in: Update for lbasename.
991
1f50aafb
ZW
9922001-03-06 Zack Weinberg <zackw@stanford.edu>
993
994 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
995 * configure.in: Replace all alloca logic with a simple use of
996 the above new macro.
997 * config.table: Kill *-*-beos* entry.
998 * config/mh-beos: Delete.
999 * configure, config.in: Regenerate.
1000
1001 * Makefile.in (ALLOCA, HFILES): Kill.
1002 (REQUIRED_OFILES): Add alloca.o.
1003 (alloca.o): Depend on libiberty.h.
1004 (argv.o): Don't depend on alloca-conf.h.
1005 * alloca-conf.h: Delete.
1006 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
1007 blocks. Provide the C alloca unconditionally. Use PTR where
1008 appropriate. Make i00afunc static.
1009 * argv.c: Don't include alloca-conf.h.
1010
d9fd5aae
JDA
10112001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1012
1013 * cplus-dem.c (main): Cast enum style to int.
1014
4031ed65
LR
10152001-02-16 Loren J. Rittle <ljrittle@acm.org>
1016
1017 * cplus-dem.c (main): Initialize style.
1018
2ca46e8a
PE
10192001-02-02 Phil Edwards <pme@sources.redhat.com>
1020
1021 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
1022
3b60dd8e
BM
10232001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
1024
1025 Add support for Java demangling under the v3 ABI:
1026 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
1027 (struct demangling_def): Add `style' field.
1028 (demangling_new): New parameter `style'. Set it in demangling_t.
1029 (demangle_prefix): Use NAMESPACE_SEPARATOR.
1030 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
1031 (cp_demangle): New parameter `style'. Pass it to demangling_new().
1032 (main): Call cp_demangle with extra parameter.
1033 (java_demangle_v3): New function.
1034 (java_builtin_type_names): New. Table of primitive type names used
1035 for Java demangling.
1036 (demangle_builtin_type): Look up in java_builtin_type_names if doing
1037 Java output.
1f50aafb 1038 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
3b60dd8e
BM
1039 demangling.
1040 (long_options): Remove obsolete `java' option.
1041 (main): Remove explicit handling of `java' option. Instead, pass style
1042 parameter in cplus_demangle flags as gdb does.
1043 * testsuite/demangle.expected: Add some Java test cases.
1044
584932e9
DD
10452000-12-29 DJ Delorie <dj@redhat.com>
1046
1047 * fnmatch.c: Make the note about the origins of this file more
1048 accurate, at least until we can sync with glibc.
1049 * getopt.c: Ditto.
1050 * getopt1.c: Ditto.
1051 * md5.c: Ditto.
1052 * obstack.c: Ditto.
1053
dac45916
MS
10542000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1055
1056 * bsearch.c: New file.
1057 * configure.in (funcs): Add bsearch.
1058 (AC_CHECK_FUNCS): Likewise.
1059 * configure, config.in: Regenerate.
1060
a8e4a997
MS
10612000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1062
1063 * safe-ctype.c: #include "ansidecl.h".
1064 * strtod.c: Likewise.
1065
75444da7
MS
10662000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1067
1068 * strtoul.c: Include safe-ctype.h, not ctype.h.
1069
f6bbde28
ZW
10702000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
1071
1072 * safe-ctype.c: New file.
1073 * Makefile.in (CFILES): Add safe-ctype.c.
1074 (REQUIRED_OFILES): Add safe-ctype.o.
1075
1076 * argv.c: Define ISBLANK and use it, not isspace.
1077 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
1078 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
1079 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
1080 before calling TOLOWER(c)/TOUPPER(c).
1081
6c1ce62b 10822000-12-07 Mike Stump <mrs@wrs.com>
b25a8973
MS
1083
1084 * Makefile.in (distclean): When cleaning, remove testsuite.
1085
b5d1497d
JM
10862000-12-05 Jason Merrill <jason@redhat.com>
1087
1088 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
1089 name before allocating the dyn_string.
1090
c6e13630
JM
10912000-12-04 Jason Merrill <jason@redhat.com>
1092
1093 * cp-demangle.c: s/new_abi/v3/.
1094 * cplus-dem.c: Likewise.
1095 (current_demangling_style): Now auto_demangling.
1096 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
f6bbde28 1097 (main): Use standard symbol chars for auto_demangling.
c6e13630 1098
a4c9b97e
MM
10992000-11-26 Mark Mitchell <mark@codesourcery.com>
1100
1101 * hashtab.c (higher_prime_number): Use a table, rather than a
1102 seive, to find the next prime.
1103
3b3bd9a7
L
11042000-11-22 H.J. Lu <hjl@gnu.org>
1105
1106 * cplus-dem.c (main): Handle gnat_demangling.
1107
d1209685
ZW
11082000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
1109
1110 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
1111 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
1112 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
1113 argument form of AC_DEFINE in dummy definitions block. Use
1114 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
1115 in dummy block. Preload cache variables instead of bypassing
1116 tests, where possible.
1117 * acconfig.h: Removed.
1118
1119 * xmalloc.c (xmalloc_failed): New function, does error
1120 reporting on failed allocation.
1121 (xmalloc, xcalloc, xrealloc): Use it.
1122
cf183ac2
HPN
11232000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
1124
1125 * cplus-dem.c (cplus_demangle): Fix formatting.
1126 (grow_vect): Ditto.
1127 (ada_demangle): Ditto.
1128 (internal_cplus_demangle): Ditto.
1129 (mop_up): Ditto.
1130
11312000-11-21 H.J. Lu <hjl@gnu.org>
1132
1133 * cplus-dem.c (main): Handle java_demangling.
1134
8bcc782c
KG
11352000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1136
1137 * cplus-dem.c (grow_vect): Prototype.
1138 (ada_demangle): Cast the arg of ctype macros to unsigned char.
1139
29120f44
HPN
11402000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
1141
1142 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
1143 parameter `option'.
1144
0437a5a8
KB
11452000-11-15 Kenneth Block <kenneth.block@compaq.com>
1146
9e038f71 1147 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
0437a5a8
KB
1148 be used in GCC.
1149
eab0c1ab 11502000-11-15 Kenneth Block <kenneth.block@compaq.com>
61ab980a 1151
29120f44 1152 * cplus-dem.c: Add gnat demangler. Add java to demangle style
61ab980a
KB
1153 list.
1154
d50d20ec
HPN
11552000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
1156
1157 * hashtab.c (htab_expand): Change to return int. Use calloc or
c4b9cfe0
AJ
1158 xcalloc depending on htab->return_allocation_failure. Return zero
1159 if calloc fails.
d50d20ec
HPN
1160 (htab_create): Update comment to cover memory allocation.
1161 (htab_try_create): New.
1162 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
c4b9cfe0 1163 Update comment to cover this.
d50d20ec 1164
35e9340f
HPN
11652000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
1166
1167 * hashtab.c: Change void * to PTR where necessary.
1168 (htab_create, htab_expand): Correct formatting of comment before
1169 function.
1170
ea343d1a 11712000-10-22 Alex Samuel <samuel@codesourcery.com>
0870bfd6
AS
1172
1173 * cp-demangle.c (string_list_def): Add caret_position and comments.
1174 (result_caret_pos): New macro.
1175 (result_append_string): Rename to...
1176 (result_add_string): ... this, and insert at caret position.
d1209685 1177 Rename throughout.
0870bfd6
AS
1178 (result_append): Rename to...
1179 (result_add): ... this, and insert at caret position. Rename
d1209685 1180 throughout.
0870bfd6
AS
1181 (result_append_char): Rename to...
1182 (result_add_char): ... this, and insert at caret position. Rename
d1209685 1183 throughout.
0870bfd6
AS
1184 (result_append_space): Remove.
1185 (string_list_new): Initialize caret position.
1186 (result_add_separated_char): Use caret position.
1187 (result_get_caret): New funtion.
1188 (result_set_caret): Likewise.
1189 (result_shift_caret): Likewise.
1190 (result_previous_char_is_space): Likewise.
1191 (substitution_start): Use caret position.
1192 (substitution_add): Likewise.
1193 (demangling_new): Initialize caret position.
1194 (demangle_encoding): Use caret position.
d1209685 1195 (demanglin_nested_name): Put CV qualifiers after name.
0870bfd6
AS
1196 (demangle_type_ptr): Use switch statement. Handle pointers to
1197 arrays. Don't use result_append_space. Use caret position.
1198 (demangle_type): Emit CV qualifiers after underlying type. Adjust
d1209685
ZW
1199 call to demangle_array_type.
1200 (demangle_array_type): Add parameter to handle pointers to arrays.
1201
f15b9af9
MM
12022000-10-01 Mark Mitchell <mark@codesourcery.com>
1203
1204 * splay-tree.c (splay_tree_insert): Fix formatting.
1205
8f17b5c5
MM
12062000-09-16 Mark Mitchell <mark@codesourcery.com>
1207
1208 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
1209
4eaa189a
MS
12102000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1211
1212 * splay-tree.c: #include <stdio.h>.
1213
29791078
HPN
12142000-09-14 Hans-Peter Nilsson <hp@axis.com>
1215
1216 * testsuite/demangle-expected: Add two tests for anonymous
1217 namespaces.
1218 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
1219
2c9f4db7
MM
12202000-09-10 Mark Mitchell <mark@codesourcery.com>
1221
1222 * splay-tree.c (splay_tree_predecessor): New function.
1223 (splay_tree_successor): Likewise.
1224
bb22da4b
HPN
12252000-09-10 Hans-Peter Nilsson <hp@axis.com>
1226
1227 * testsuite/demangle-expected: Add four tests for type_info
1228 mangling.
bb22da4b
HPN
1229 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
1230 for a non-template non-qualified type_info function or node.
1231
759e8187
AS
12322000-09-08 Alex Samuel <samuel@codesourcery.com>
1233
1234 * cp-demangle.c: Fix copyright banner.
1235
2ecd81ef
MS
12362000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1237
1238 * md5.c: #include "ansidecl.h".
1239
d93998ec
AS
12402000-09-06 Alex Samuel <samuel@codesourcery.com>
1241
1242 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
1243 (demangle_type): Handle substitution candidates correctly in the
1244 face of special substitutions.
1245
1056d228
AS
12462000-09-05 Alex Samuel <samuel@codesourcery.com>
1247
1248 * cp-demangle.c (demangle_encoding): Rename variable.
1249 (demangle_name): Rename parameter. Handle return type
1250 suppression.
1251 (demangle_nested_name): Rename parameter.
1252 (demangle_prefix): Likewise. Change return type suppression.
1253 (demangle_unqualified_name): Add parameter. Flag constructors and
1254 conversion operators.
1255 (demangle_special_name): Fix comment.
1256 (demangle_type): Rename variable.
1257 (demangle_bare_function_type): Check for missing return type and
d1209685 1258 parameter.
1056d228
AS
1259 (demangle_class_enum_type): Rename parameter.
1260 (demangle_discriminator): Fix misspelling in comment.
1261
2f31ed7e
DD
12622000-08-31 DJ Delorie <dj@redhat.com>
1263
1264 * configure.in (Cygwin): special case cygwin only when we're
1265 building cygwin, not when we're hosting cygwin.
1266
02bcb9c6
AS
12672000-09-04 Alex Samuel <samuel@codesourcery.com>
1268
1269 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
d1209685
ZW
1270 <expression>.
1271
aee749cf
AS
12722000-09-04 Alex Samuel <samuel@codesourcery.com>
1273
1274 * cp-demangle.c (demangle_type_ptr): Increment position past
1275 pointer and reference characters.
1276
92a16bbe
AS
12772000-09-04 Alex Samuel <samuel@codesourcery.com>
1278
1279 * cp-demangle.c (demangle_nv_offset): New function.
1280 (demangle_v_offset): Likewise.
1281 (demangle_call_offset): Likewise.
1282 (demangle_special_name): Update thunk demangling to comply with
1283 ABI changes.
d1209685 1284
31e0ab1f
AS
12852000-09-03 Alex Samuel <samuel@codesourcery.com>
1286
1287 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
1288 (substitution_def): Remove template_parm_number.
1289 (NOT_TEMPLATE_PARM): Remove.
1290 (result_insert_string): New macro.
1291 (result_insert): Likewise.
1292 (result_insert_char): Likewise.
1293 (substitution_add): Remove last parameter. Don't store template
d1209685 1294 parm number.
31e0ab1f
AS
1295 (BFT_NO_RETURN_TYPE): Define as NULL.
1296 (demangle_encoding): Adjust call to demangle_bare_function_type.
1297 (demangle_name): Adjust substitution. Adjust call to
d1209685 1298 substitution_add.
31e0ab1f
AS
1299 (demangle_prefix): Adjust call to substitution_add.
1300 (demangle_identifier): Handle anonymous namespaces.
1301 (demangle_operator_name): Change demangling of vendor-extended
1302 operator to match ABI changes.
1303 (demangle_type_ptr): Change parameters. Make recursive. Handle
d1209685 1304 substitutions here.
31e0ab1f
AS
1305 (demangle_type): Adjust calls to demangle_template_param,
1306 substitution_add, and demangle_type_ptr. Fix substitution of
1307 templated types.
1308 (demangle_function_type): Change parameter to a pointer.
1309 (demangle_bare_function_type): Likewise. Adjust insertion point.
1310 (demangle_template_param): Remove last parameter.
1311 (demangle_expr_primary): Remove unused variable. Adjust call to
d1209685 1312 demangle_template_param.
31e0ab1f
AS
1313 (is_mangled_char): Accept `$' and `.'.
1314 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
1315 * dyn-string.c (dyn_string_insert_char): New function.
1316
ccbc3eb7
HPN
13172000-08-31 Hans-Peter Nilsson <hp@axis.com>
1318
1319 * testsuite/demangle-expected: Add nine tests for
1320 underscore-after-number followed by five tests for name-signature
1321 delimiter.
1322
53dce582
RH
13232000-08-28 Richard Henderson <rth@cygnus.com>
1324
1325 * Makefile.in (md5.o): Depend on config.h.
1326
881c6935
JM
13272000-08-28 Jason Merrill <jason@redhat.com>
1328
1329 * Makefile.in (REQUIRED_OFILES): Add md5.o.
1330 (CFILES): Add md5.c.
1331 * md5.c: New file.
1332
a440fd19
AS
13332000-08-27 Alex Samuel <samuel@codesourcery.com>
1334
1335 * cp-demangle.c (demangle_name): Initialize template_p in local
1336 name case. Don't re-add substitutions as candidates.
1337 (demangle_nested_name): Use <unqualified-name>.
1338 (demangle_prefix): Likewise. Don't add template names as
1339 substitution candidates twice, or re-add a substitution or the
1340 last prefix component.
1341 (demangle_local_name): Adjust output format.
1342
d01ce591
AS
13432000-08-25 Alex Samuel <samuel@codesourcery.com>
1344
1345 * cp-demangle.c (result_add_separated_char): Change parameter to
1346 int.
1347 (substitution_add): Don't check for duplicates. Check if
1348 previously allocated size is zero.
1349 (demangle_name): Remove duplicate check for std substitution.
1350 Clear template flag appropriately.
1351 (demangle_prefix): Remove argument to demangle_substitution.
1352 Don't check that template flag is already set.
1353 (demangle_operator_name): Add pt operator.
1354 (demangle_type): Don't treat r as built-in type. Remove argument
1355 to demangle_substitution. Fix substitution candidate mechanics.
1356 Handle <template-template-parm>s. Improve comments.
d1209685 1357 (demangle_template_param): Don't handle template arg lists here.
d01ce591
AS
1358 (demangle_substitution): Remove parameter.
1359 (print_usage): Remove extra fprintf option.
1360
2f59c8eb
GM
13612000-08-24 Greg McGary <greg@mcgary.org>
1362
1363 * libiberty/random.c (end_ptr): Revert previous change.
1364
2f26c11d
GM
13652000-08-24 Greg McGary <greg@mcgary.org>
1366
1367 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
1368 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
1369 * libiberty/random.c (end_ptr): Likewise.
1370
e282c9c9
AS
13712000-08-23 Alex Samuel <samuel@codesourcery.com>
1372
1373 * cp-demangle.c (result_close_template_list): Remove function.
1374 (result_add_separated_char): New function.
1375 (result_open_template_list): New macro.
1376 (result_close_template_list): Likewise.
1377 (demangle_prefix): Don't set template_p if the
1378 prefix ends with a ctor name.
1379 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
1380 (demangle_type): Check for template args after substitution.
1381 (demangle_template_args): Use result_open_template_list.
d1209685 1382
c9b6494a
ZW
13832000-08-02 Zack Weinberg <zack@wolery.cumb.org>
1384
1385 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
1386
d1209685 13872000-07-26 Dave Pitts <dpitts@cozx.com>
4f21e377
DP
1388
1389 * config/mh-openedition.h: Added -DLE370 definition.
1390
0aab2795
ME
13912000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
1392
1393 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
1394 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
1395 Cast program to 'char *' in errmsg_arg assignment.
1396 (PWAIT_ERROR): Define.
1397 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
1398 to DJGPP's WIF* macros.
1399
c2f275e4
RB
14002000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
1401 Jeff Law <law@cygnus.com>
1402
73aa9564
RB
1403 * getcwd.c: Include string.h, stdlib.h for prototypes
1404
c2f275e4 1405 * Makefile.in (rename.o, waitpid.o): Depend on config.h
73aa9564
RB
1406 * rename.c: Include config.h, unistd.h
1407 * waitpid.c: Include config.h, sys/wait.h
c2f275e4 1408
ccbc3eb7
HPN
14092000-07-24 Hans-Peter Nilsson <hp@axis.com>
1410
1411 * cplus-dem.c (work_stuff_copy_to_from): New.
1412 (delete_non_B_K_work_stuff): New.
1413 (delete_work_stuff): New.
1414 (mop_up): Break out work_stuff partly destruction to
1415 delete_non_B_K_work_stuff.
1416 (iterate_demangle_function): New.
1417 (demangle_prefix): Call iterate_demangle_function instead of
1418 demangle_function_name. Leave handling of name-signature
1419 __-delimiters to iterate_demangle_function.
1420 (demangle_integral_value): Strip an optional
1421 following underscore cautiously. Handle negative numbers.
1422
3388651c
DB
14232000-07-24 Daniel Berlin <dberlin@redhat.com>
1424
d1209685 1425 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
3388651c
DB
1426 if (AUTO_DEMANGLING || GNU_DEMANGLING)
1427
0fac482e
AS
14282000-07-21 Alex Samuel <samuel@codesourcery.com>
1429
1430 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
1431 allocating ctor mangling.
1432 (demangle_array_type): Handle empty and non-constant array length.
1433
8502a100 14342000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
cd447360
MS
1435 Jeff Law <law@cygnus.com>
1436
c6451ce1
MS
1437 * configure.in (AC_CHECK_HEADERS): Add time.h.
1438 (AC_HEADER_TIME): Add check.
1439 * configure, config.in: Regenerate.
1440 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
1441
cd447360
MS
1442 * configure.in (AC_CHECK_HEADERS): Add limits.h.
1443 * configure, config.in: Regenerate.
1444 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
1445 * strtol.c, strtoul.c: #include "config.h". Portably #include
1446 <limits.h> and/or <sys/param.h>.
1447 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
8502a100 1448
3b58c099
MS
1449 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
1450 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
1451 * configure, config.in: Regenerate.
1452 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
1453
8502a100
MS
1454 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
1455
da0c7743
MS
14562000-07-21 Mike Stump <mrs@wrs.com>
1457
1458 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
0c978c46 1459 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
da0c7743 1460
838f8562
KG
14612000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1462
1463 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
1464
1465 * setenv.c (setenv): Initialize variable `ep'.
1466
1467 * sigsetmask.c (abort): Prototype.
1468
1469 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
1470 __STDC__ for stdarg.h include.
1471 (int_vasprintf): Prototype.
1472 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
1473 definition. Cast `global_total_width' in comparison.
1474 (main): Prototype. Return a value.
1475
1476 * vfork.c (fork): Prototype.
1477
1478 * xexit.c: Include config.h.
1479
e9958132
JM
14802000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
1481
1482 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
1483 and print it with %u.
1484
39a6492f
HPN
14852000-07-17 Hans-Peter Nilsson <hp@axis.com>
1486
1487 * testsuite/regress-demangle (failed test): Show result and
1488 expected output.
1489
6d0be369
AH
14902000-07-07 Andrew Haley <aph@cygnus.com>
1491
1492 * cplus-dem.c (main): fflush() after emitting last char before
1493 waiting for input.
1494
bece74bd
AS
14952000-06-28 Alex Samuel <samuel@codesourcery.com>
1496
1497 * cp-demangle.c (demangle_encoding): Accept no substitutions.
1498 (demangle_name): Handle <substitution> followed by
1499 <unqualified-template-name>.
1500 (demangle_type): Follow special substitutions with
1501 <class-enum-type>
1502 (demangle_subtitution): Set template_p for special substitutions.
1503 (main): Fix typos.
d1209685 1504
229b8ec7
AS
15052000-06-27 Alex Samuel <samuel@codesourcery.com>
1506
1507 * cp-demangle.c (demangle_special_name): Swap base and derived
1508 class when demangling construction vtables.
1509
051664b0
AS
15102000-06-21 Alex Samuel <samuel@codesourcery.com>
1511
1512 * cp-demangle.c: Don't include ctype.h.
1513 (IS_DIGIT): New macro.
1514 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
1515 instead of isdigit and isalpanum.
1516 (demangling_def): Make name and next const pointers.
1517 (STATUS_ALLOCATION_FAILED): New status code.
1518 (dyn_string_append_space): Handle failure in
1519 dyn_string_append_char.
1520 (int_to_dyn_string): Likewise. Change return value to status_t.
1521 (string_list_new): Handle failure of dyn_string_init.
1522 (result_close_template_list): Change return type to status_t.
1523 Handle failure in dyn_string_append.
1524 (result_push): Change return value to status_t. Handle failure in
1525 string_list_new. Handle failure of result_push throughout.
1526 (substitution_add): Change return value to status_t. Handle
1527 dyn_string failures. Handle failure of substitution_add
1528 throughout.
1529 (template_arg_list_new): Return NULL on allocation failure.
1530 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
1531 Handle error result throughout.
1532 (result_append): Likewise.
1533 (result_append_char): Likewise.
1534 (result_append_space): Likewise.
1535 (demangling_new): Make argument a const pointer. Handle
1536 allocation failures.
1537 (demangle_template_args): Handle failure in template_arg_list_new
1538 and result_close_template_list.
1539 (demangle_discriminator): Return if int_to_dyn_string fails.
1540 (cp_demangle): Likewise.
1541 (cp_demangle_type): New function.
1542 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
1543 memory allocation failure.
1544 (main): Likewise.
1545 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
1546 IN_LIBGCC2.
1547 (dyn_string_init): Change return value to int. Handle
1548 RETURN_ON_ALLOCATION_FAILURE case.
1549 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
1550 (dyn_string_release): Delete the dyn_string.
1551 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
1552 (dyn_string_copy): Change return type to int.
1553 (dyn_string_copy_cstr): Likewise.
1554 (dyn_string_prepend): Likewise.
1555 (dyn_string_prepend_cstr): Likewise.
1556 (dyn_string_insert): Likewise.
1557 (dyn_string_insert_cstr): Likewise.
1558 (dyn_string_append): Likewise.
1559 (dyn_string_append_cstr): Likewise.
1560 (dyn_string_append_char): Likewise.
1561 (dyn_string_substring): Likewise.
d1209685 1562
fe06b696
ZW
15632000-06-09 Zack Weinberg <zack@wolery.cumb.org>
1564
1565 * cp-demangle.c (demangle_operator_name): Add spaces before
1566 names beginning with a letter: delete, delete[], new, new[],
1567 sizeof.
1568 (demangle_special_name): Handle TF <type> and TJ <type>.
1569
6223e158
PDM
1570Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
1571
1572 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
1573
48f3e29b
PDM
1574Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
1575
1576 * cp-demangle.c (stdio.h): File included unconditionaly.
1577 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
1578 * dyn-string.c (stdio.h): File included.
1579 * partition.c (partition_print): No `&' needed to take the address of
1580 a function.
1581
69197e7e
KG
15822000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1583
1584 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
d1209685 1585
69197e7e
KG
1586 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
1587
1588 * cp-demangle.c (demangle_char): Change parameter from char to int.
1589 (demangle_expression, demangle_expr_primary): Remove extra
1590 semi-colon in prototype.
1591
1592 * dyn-string.c (dyn_string_append_char): Change parameter from
1593 char to int.
1594
1595 * memcmp.c (memcmp): Constify.
1596
1597 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
1598 __extension__.
1599
1600 * partition.c (elem_compare): Prototype. Don't cast away
1601 const-ness.
1602
1603 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
d1209685 1604
7eb23b1f
KG
16052000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1606
1607 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
1608
1609 * cp-demangle.c: Include demangle.h.
1610 (template_arg_list_new): DeANSIfy.
1611 (cp_demangle): Make static and add prototype.
1612 (operator_code, operators): Constify.
1613 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
1614
3faa108c
AS
16152000-06-05 Alex Samuel <samuel@codesourcery.com>
1616
1617 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
1618 unsigned char.
1619 (demangle_unqualified_name): Likewise.
1620 (demangle_number_literally): Likewise.
1621 (demangle_type): Likewise.
1622 (demangle_substitution): Likewise.
1623 (is_mangled_char): Likewise, for isalnum.
1624
69afa80d
AS
16252000-06-04 Alex Samuel <samuel@codesourcery.com>
1626
1627 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
1628 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
1629 (cp-demangle.o): New dependency.
1630 (dyn-string.o): Likewise.
1631
1632 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
1633
1634 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
1635 demangler.
1636 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
1637 demangling mode.
1638 (gnu_new_abi_symbol_characters): New function.
1639 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
1640 file.
1641 * cp-demangle.c: New file.
d1209685 1642
0b72c3df
AC
1643Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
1644
1645 * floatformat.c: Add name to each floatformat field.
1646
270cea06
JL
1647Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
1648
1649 * Makefile.in (objalloc.o): Depend on config.h
1650
d11ec6f0
ZW
16512000-05-29 Zack Weinberg <zack@wolery.cumb.org>
1652
1653 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
1654 if HAVE_STRING_H.
1655 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
1656 * objalloc.c: Include config.h. Include stdlib.h and don't
1657 declare malloc or free if HAVE_STDLIB_H.
1658 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
1659 else declare malloc without prototype. Include string.h if
1660 HAVE_STRING_H, else declare memset without prototype. Don't
1661 include stddef.h.
1662
f8e2da56
MS
16632000-05-23 Mike Stump <mrs@wrs.com>
1664
1665 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
c4b9cfe0 1666 -j3.
f8e2da56 1667
650f3068
DA
16682000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
1669
1670 * xmalloc.c: Include config.h for HAVE_SBRK definition.
1671
1d2da2e1
HB
16722000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
1673
d1209685 1674 * hashtab.c (hash_pointer): Delete low-order bits which are
1d2da2e1
HB
1675 probably zero, also eliminate a warning on alpha.
1676
47668d0a
DE
16772000-05-15 David Edelsohn <edelsohn@gnu.org>
1678
c7a79a32 1679 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
47668d0a
DE
1680 on $(enable_shared).
1681
36348eab
JJ
16822000-05-10 Jakub Jelinek <jakub@redhat.com>
1683
1684 * config.table: Use mh-sparcpic for sparc*-*-*.
1685
209bbe34
NC
16862000-05-08 Nick Clifton <nickc@cygnus.com>
1687
1688 * Makefile.in (CFILES): Add strncmp.c.
1689 (NEEDED): Add strncmp.
1690
a85a47fb
KG
16912000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1692
1693 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
1694 Cast the arguments to `islower' to `unsigned char'.
1695 (print_demangler_list): Prototype.
1696
4aef973c
PDM
1697Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
1698
1699 * sort.c (UCHAR_MAX): Provide fallback definition.
1700
3b94497c
AO
17012000-04-29 Alexandre Oliva <aoliva@cygnus.com>
1702
1703 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
1704 SUBDIRS.
1705
24eaa47a
KB
17062000-04-28 Kenneth Block <block@zk3.dec.com>
1707 Jason Merrill <jason@casey.cygnus.com>
1708
d1209685
ZW
1709 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
1710 (cplus_demangle_set_style): New function for setting style.
1711 (cplus_demangle_name_to_style): New function to translate name.
24eaa47a 1712
a9266bfa
KG
17132000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1714
1715 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
1716
1717 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
1718 (libiberty_AC_FUNC_STRNCMP): Invoke.
1719
1720 * strncmp.c: New file.
1721
8e02c4d0
JH
1722Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
1723
1724 * hashtab.c (htab_expand): Add prototype.
1725 (find_empty_slot_for_expand): Likewise.
1726
4feeaae3
KG
17272000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1728
1729 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
1730 match prototype.
1731 (htab_expand): Cast the return value of xcalloc.
1732
18a94a2f
MM
17332000-04-24 Mark Mitchell <mark@codesourcery.com>
1734
1735 * hashtab.c (hash_pointer): New function.
1736 (eq_pointer): Likewise.
1737 (htab_hash_pointer): New variable.
1738 (htab_eq_pointer): Likewise.
1739
eeb0656f
MM
17402000-04-23 Mark Mitchell <mark@codesourcery.com>
1741
b51024fc
MM
1742 * sort.c (sort_pointers): Fix endianness bugs.
1743
eeb0656f
MM
1744 * sort.c: New file.
1745 * Makefile.in (CFILES): Add sort.c
1746 (REQUIRED_OFILES): Add sort.o.
1747 (sort.o): New target.
1748
7277f72d
MS
17492000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1750
1751 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
1752 4.3BSD systems.
1753
e38992e8
RK
1754Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1755
1756 * hashtab.c: Various minor cleanups.
1757 (htab_find_slot_with_hash): INSERT is now enum insert_option.
1758 (htab_find_slot): Likewise.
1759
498e1ab1
DP
17602000-04-16 Dave Pitts <dpitts@cozx.com>
1761
1762 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
d1209685 1763
dc17cc7b
RH
17642000-04-05 Richard Henderson <rth@cygnus.com>
1765
1766 * splay-tree.c (splay_tree_remove): New.
1767
b13eb66b
MM
17682000-03-30 Mark Mitchell <mark@codesourcery.com>
1769
1770 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
1771 codes.
1772 (htab_find_with_hash): Likewise.
1773 (htab_find_slot_with_hash): Likewise.
d1209685 1774
0194e877
ZW
17752000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1776
1777 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
1778 unless it will be used. Rearrange loop for better
1779 optimization.
1780 (higher_prime_number): Add static prototype.
1781
abc61fd4
JL
1782Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
1783
1784 * Makefile.in (partition.o): Depend on config.h
1785
8c5d513f
BS
17862000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
1787
1788 * hashtab.c (find_empty_slot_for_expand): New function.
1789 (htab_expand): Use it instead of htab_find_slot.
1790 (htab_find_with_hash): Renamed from htab_find; now accepts extra
1791 argument HASH.
1792 (htab_find_slot_with_hash): Likewise for htab_find_slot.
1793 (htab_find): New wrapper function.
1794 (htab_find_slot): Likewise.
1795 (htab_traverse): Pass slot, not entry, to called function.
1796
d9d4fb43
AS
17972000-03-09 Alex Samuel <samuel@codesourcery.com>
1798
1799 * Makefile.in (CFILES): Add partition.c.
1800 (REQUIRED_OFILES): Add partition.o.
1801 (partition.o): New rule.
1802 * partition.c: New file.
d1209685 1803
5dc9cffd
ZW
18042000-03-09 Zack Weinberg <zack@wolery.cumb.org>
1805
1806 * hashtab.c (htab_create): Set del_f.
1807 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
1808 Use it.
1809
5194cf08
ZW
18102000-03-08 Zack Weinberg <zack@wolery.cumb.org>
1811
1812 * hashtab.c: Remove debugging variables (all_searches,
1813 all_collisions, all_expansions). Delete
1814 all_hash_table_collisions.
1815 (create_hash_table, delete_hash_table, empty_hash_table,
1816 find_hash_table_entry, remove_element_from_hash_table_entry,
1817 clear_hash_table_slot, traverse_hash_table, hash_table_size,
1818 hash_table_elements_number, hash_table_collisions): Rename to:
1819 htab_create, htab_delete, htab_empty, htab_find_slot,
1820 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
1821 htab_elements, htab_collisions.
1822 (htab_find): New function, handles common case where you don't
1823 plan to add or delete an entry.
1824 (htab_expand): Don't create a whole new table, just a new
1825 entry vector.
1826 (htab_find_slot): Simplify logic.
1827
5ad5a984
ILT
18281999-08-03 Ian Lance Taylor <ian@zembu.com>
1829
1830 * floatformat.c: Add casts to avoid signed/unsigned warnings.
1831 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
1832
1833 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
1834 $(TARGETLIB)n so it works on MSDOS.
1835 (install_to_tooldir): Likewise.
1836
18371999-07-21 Ian Lance Taylor <ian@zembu.com>
1838
1839 From Mark Elbrecht:
1840 * makefile.dos: Remove; obsolete.
1841 * configure.bat: Remove; obsolete.
1842
18431999-07-11 Ian Lance Taylor <ian@zembu.com>
1844
1845 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1846 warning.
1847
aeecce42
MK
18482000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1849
1850 * pexecute.c: Conditionally include string.h.
5194cf08 1851 (fix_argv): Handle embedded whitespace in args for Mingw32.
aeecce42 1852
1eaf7d9c
KG
18532000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1854
1855 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
1856 we're using gcc.
1857
1858 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
1859
0fadedb2
GK
18601999-12-27 Geoff Keating <geoffk@cygnus.com>
1861
1862 * vasprintf.c (int_vasprintf): Don't re-read the format character
1863 as this mishandles strings like '%%s'.
1864
08230f26
MM
18651999-12-05 Mark Mitchell <mark@codesourcery.com>
1866
1867 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
1868 rather than struct splay_tree_node.
1869 (splay_tree_insert): Use struct splay_tree_s rather than struct
1870 splay_tree.
1871
6de9b8ff
PDM
1872Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
1873
1874 * hashtab.c (sys/types.h): File included.
1875
f3636679
JM
18761999-11-22 Jason Merrill <jason@casey.cygnus.com>
1877
1878 * strtoul.c, strtol.c, random.c: Remove advertising clause from
1879 BSD license, pursuant with
1880
1881 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
1882
36dd3a44
JL
1883Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
1884
1885 * hashtab.c: Include stdio.h.
1886
6e300472
JL
1887Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
1888
1889 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
1890
df548dfc
PDM
1891Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
1892
1893 * xstrdup (sys/types.h): Include this file.
1894
2c375143
NS
18951999-10-28 Nathan Sidwell <nathan@acm.org>
1896
1897 * Makefile.in (SUBDIRS): New macro.
1898 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
1899 avoid multiple subdirectory cleaning.
1900 (*-subdir): Use SUBDIRS.
1901
a82cecda
JK
19021999-10-25 Jim Kingdon <http://developer.redhat.com/>
1903
1904 * cplus-dem.c: Move declarations of standard_symbol_characters and
1905 hp_symbol_characters inside #ifdef MAIN to avoid compiler
1906 warnings.
1907
ed38f5d5
ZW
19081999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
1909
1910 * hashtab.c (find_hash_table_entry): When returning a
1911 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
1912 (clear_hash_table_slot): New function which deletes an entry
1913 by its position in the table, not its value.
1914 (traverse_hash_table): New function which calls a hook
1915 function for every live entry in the table.
1916
b60fe4a7
MM
19171999-10-19 Mark Mitchell <mark@codesourcery.com>
1918
1919 * cplus-dem.c (INTBUF_SIZE): New macro.
1920 (string_append_template_idx): New function.
1921 (demangle_expression): Likewise.
1922 (demangle_integral_value): Use it.
1923 (demangle_real_value): New function, split out from ...
1924 (demangle_template_value_parm): ... here. Use
1925 string_append_template_idx. Use demangle_real_value.
1926 (demangle_template): Use string_append_template_idx.
1927 (demangle_qualified): Use consume_count_with_underscores.
1928 (get_count): Tweak formatting.
1929 (do_type): Use string_append_template_idx.
5194cf08 1930
3da5522a
KG
19311999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1932
1933 * calloc.c: Add a public domain notice.
1934
d7d36ea8
PDM
1935Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
1936
1937 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
1938
a2f945c6
VM
1939Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
1940
1941 * Makefile.in (CFILES): Add hashtab.c
1942 (REQUIRED_OFILES): Add hashtab.o
1943 (hashtab.o): Add dependencies.
1944 * hashtab.c: New file
1945
7f22ec2e
MK
1946Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
1947
1948 * basename.c (DIR_SEPARATOR): New macro.
1949 (DIR_SEPARATOR_2): Likewise.
1950 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
1951 (IS_DIR_SEPARATOR): Likewise.
1952 (main): Handle MSDOS style pathname.
1953
7c56a6ce
MM
19541999-10-11 Mark Mitchell <mark@codesourcery.com>
1955
1956 * cplus-dem.c (do_type): Handle pointer to member types whose
1957 enclosing classes have namespace scope.
1958
cd32188b
ME
1959Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
1960
1961 * config.table: Provide a backup shell for executing move-if-change.
1962
fc232f7a
MM
19631999-10-02 Mark Mitchell <mark@codesourcery.com>
1964
1965 * xmalloc.c (xmalloc): Fix spelling error.
1966 (xcalloc, xrealloc): Likewise.
1967
2a138827
KG
19681999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1969
1970 * cplus-dem.c (fancy_abort, demangle_integral_value,
1971 demangle_arm_hp_template, recursively_demangle,
1972 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
1973 (program_name, program_version, fatal): Constify a char*.
1974 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
1975 (main): Call return, not exit.
1976
5a657fc3
KG
19771999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1978
1979 * choose-temp.c: Remove obsolete comment about gcc.
1980 (make_temp_file): Constify a char*.
1981
33c5ddcd
KG
1982Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1983
1984 * xmemdup.c: Include sys/types.h.
1985
b10647f1
JG
19861999-09-07 Jeff Garzik <jgarzik@pobox.com>
1987
1988 * xmemdup.c: New xmemdup function.
1989 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
1990
3dd6c3af
LV
1991Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
1992
5194cf08 1993 * config.table: Add openedition target.
3dd6c3af
LV
1994 * config/mh-openedition: New file.
1995
19e28e2a
ME
1996Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
1997
1998 * pexecute.c (pexecute): Fill in temp_base when needed.
1999
4dfeccf9
RH
20001999-08-31 Richard Henderson <rth@cygnus.com>
2001
2002 * getpwd.c: Check HAVE_GETCWD before defining it away.
2003
4ac3cb83
KG
20041999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2005
2006 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
2007 (REQUIRED_OFILES): Add getpwd.o.
2008 (getpwd.o): Add target.
2009
2010 * configure.in (AC_PREREQ): Bump to 2.13.
2011 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
2012
2013 * getpwd.c: New file, moved here from gcc.
2014
e797ff70
KG
20151999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2016
2017 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
2018 comparing against a signed quantity.
2019 (arm_special): Likewise.
2020 (demangle_fund_type): Likewise.
2021 (do_hpacc_template_const_value): Mark parameter `work' with
5194cf08 2022 ATTRIBUTE_UNUSED.
e797ff70
KG
2023 (main): Constify variable `valid_symbols'.
2024
55247fce
PDM
2025Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
2026
2027 * strtoul.c (strtoul): Add parentheses around && within ||.
2028
76632dd0
DJ
2029Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
2030
2031 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
2032 libdir, libsubdir and tooldir.
2033
d080bbfa
MM
20341999-08-01 Mark Mitchell <mark@codesourcery.com>
2035
2036 * splay-tree.c (splay_tree_insert): Return the new node.
2037
a81c752a
RH
20381999-07-14 Richard Henderson <rth@cygnus.com>
2039
5194cf08 2040 * argv.c: Include stdlib.h and string.h instead of
a81c752a
RH
2041 prototyping directly.
2042 * choose-temp.c: Conditionally include string.h.
2043
8f1824d9
JM
20441999-07-12 Jason Merrill <jason@yorick.cygnus.com>
2045
2046 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
2047
652374d3
ILT
20481999-07-11 Ian Lance Taylor <ian@zembu.com>
2049
2050 * splay-tree.c (splay_tree_insert): Add initialization to avoid
2051 warning.
2052
a4494286
JM
20531999-07-07 Jason Merrill <jason@yorick.cygnus.com>
2054
2055 * Makefile.in (needed-list): Only include stuff we actually need
2056 for libstdc++.
2057
90e72e20
AS
20581999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2059
2060 * configure.in (checkfuncs): Add gettimeofday.
2061 * config.in, configure: Regenerated.
2062
b569200e
MK
2063Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
2064
2065 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
2066 the test fails.
2067 * configure: Regenerate.
2068
73919448
MS
20691999-06-10 Mike Stump <mrs@wrs.com>
2070
2071 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
2072 parallel builds.
2073
fee9125c
KG
20741999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2075
2076 * putenv.c: Include ansidecl.h to define `const'.
2077 * setenv.c: Likewise.
2078
71cce721
MN
2079Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
2080
a7c9637f
JL
2081 * Makefile.in (CFILES): Add putenv.c and setenv.c.
2082 * configure.in (funcs): Add putenv and setenv.
2083 (AC_CHECK_FUNCS): Check for putenv and setenv.
2084 * configure: Rebuilt.
2085 * putenv.c setenv.c: New files.
2086
71cce721
MN
2087 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
2088 bytes of space using malloc.
2089
53504016
SG
2090Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
2091
2092 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
2093 the *mangled pointer beyond the end of the string. Clean up code to
2094 match prevailing coding style.
2095
34842539
MH
20961999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2097
2098 * tmpnam.c (L_tmpnam): Fix typo.
2099
3a08531d
ME
2100Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
2101
2102 * cplus-dem.c (standard_symbol_characters): Renamed from
2103 standard_symbol_alphabet. No longer modify TABLE.
2104 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
2105 modify TABLE.
2106 (main): Corresponding changes. Use strchr to determine if a
2107 character is valid.
2108
8db9d08b
JB
21091999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
2110
2111 * cplus-dem.c (main): Use table lookup to distinguish identifier
2112 characters from non-identifier characters.
2113 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
2114
6a071f4a
FF
2115Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
2116
2117 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
2118 * getruntime.c: Only attempt to include sys/resource.h and
2119 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
2120 are defined.
2121
7dd88617
DT
2122Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
2123
2124 * configure.in (alloca detection): Handle alloca directly for interix.
2125 * configure: Rebuilt.
2126
7a1528bc
MK
2127Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
2128
2129 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
2130
76409268
JB
21311999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
2132
2133 Fix from Dale Hawkins:
5194cf08 2134 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
76409268
JB
2135 reallocated properly if we use it again.
2136
2137 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
2138 stricter about syntax. Always null-terminate string.
2139
acbbd80a
MK
2140Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
2141
2142 * configure.in (checkfuncs): Check for sbrk.
2143 * config.in: Rebuilt.
2144 * configure: Likewise.
2145 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
2146
92523551
JB
21471999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
2148
2149 Fix from Marcus Daniels:
2150 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
2151 identifier looking for another underscore.
2152
36eb4217
MK
2153Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
2154
2155 * pexecute.c: Change all references to __UWIN__ to _UWIN.
2156 * xmalloc.c: Likewise.
2157 (xcalloc): UWIN has sbrk.
2158 (xrealloc): Fix guard macro.
2159
2c45d1a0
RH
21601999-04-11 Richard Henderson <rth@cygnus.com>
2161
2162 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
2163 or <alloca.h>.
2164 * clock.c (GNU_HZ): New definition.
2165 (clock): Use it.
2166 * getruntime.c: Likewise.
2167
2168 * config.table: Use mh-beos.
2169 * config/mh-beos: New file.
2170
391cdef0
MM
21711999-04-11 Mark Mitchell <mark@codesourcery.com>
2172
2173 * cplus-dem.c (demangle_template_value_parm): Handle
2174 pointers-to-members.
2175 (do_type): Handle template parameters as qualifiers.
2176
9d229989
JB
21771999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
2178
2179 * cplus-dem.c: Attempt to handle overflows in counts with some
2180 semblance of grace.
2181 (consume_count): Detect overflows. Return -1 to indicate errors,
2182 instead of zero.
2183 (demangle_template_value_parm, demangle_template): Handle change
2184 to consume_count's return convention.
2185
7c72138a
TT
21861999-04-05 Tom Tromey <tromey@cygnus.com>
2187
2188 * testsuite/regress-demangle: New file.
2189 * testsuite/demangle-expected: New file.
2190
2191 * Makefile.in (all, check, installcheck, info, install-info,
2192 clean-info, dvi, install, etags, tags, mostlyclean, clean,
2193 distclean, maintainer-clean, realclean): Depend on corresponding
2194 `-subdir' target.
2195 (all-subdir check-subdir installcheck-subdir info-subdir
2196 install-info-subdir clean-info-subdir dvi-subdir
2197 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
2198 distclean-subdir maintainer-clean-subdir): New target.
2199 * testsuite/Makefile.in: New file.
2200 * configure: Rebuilt.
2201 * configure.in: Create testsuite/Makefile.
2202
ae7f7270
MM
22031999-04-02 Mark Mitchell <mark@codesourcery.com>
2204
2205 * splay-tree.h (splay_tree_compare_pointers): Define.
2206
30f72379
MM
22071999-03-30 Mark Mitchell <mark@codesourcery.com>
2208
2209 * splay-tree.c (splay_tree_compare_ints): Define.
2210
4cc48683
TT
22111999-03-30 Tom Tromey <tromey@cygnus.com>
2212
2213 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
2214 don't advance input pointer.
2215 (demangle_class_name): If consume_count didn't find a count, do
2216 nothing. Don't bother with `strlen' sanity check; consume_count
2217 does it for us.
2218
3510075c
JL
22191999-03-16 Stan Shebs <shebs@andros.cygnus.com>
2220
2221 From Art Haas <ahaas@neosoft.com>:
2222 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
2223 when doing arm or hp style.
2224 (demangle_nested_args): Decr forgetting_types field when done.
5194cf08 2225
89f602a7
MK
2226Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
2227
2228 * pexecute.c (__CYGWIN32__): Rename to
2229 (__CYGWIN__): this.
2230 * xmalloc.c: Likewise.
2231
2232 Changes to support i386-pc-uwin.
2233 * configure.in (*-*-uwin*): Workaround for vfork bug.
2234 * configure: Regenerate.
2235 * pexecute.c (pexecute): Be like standard Unix.
2236 (pwait): Likewise.
2237 * xmalloc.c (first_break): Define.
2238 (xmalloc_set_program_name): Use.
2239 (xmalloc): Use.
2240
9346c824
FS
2241Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2242
2243 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
2244
3510075c
JL
2245Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
2246
2247 * config.table: Check cygwin*, not cygwin32*.
2248
8ec65f13
DB
2249Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
2250
2251 * Makefile.in: Change mkstemp -> mkstemps.
2252
687361c8
ME
2253Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
2254
2255 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
2256 * configure.in (funcs): Check for and conditionally add mkstemps to
2257 the list of functions libiberty will provide.
2258 * configure: Rebuilt.
5194cf08 2259
b207e09c
MK
2260Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
2261
5194cf08 2262 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
b207e09c
MK
2263 platforms that don't have HZ.
2264 * getruntime.c (HZ): Likewise.
2265
16b4c15e
RH
2266Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
2267
2268 * Makefile.in (xstrdup.o): Depend on config.h.
2269
38beb75c
UD
2270Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
2271
2272 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
2273 freeing it.
2274
7e4311a3
KG
2275Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2276
2277 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
2278
3510075c
JL
2279Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2280
2281 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
2282 splay-tree.o.
2283
22841999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
2285
2286 * configure.in: Require autoconf 2.12.1 or higher.
2287
fb9939b8
MM
22881998-12-30 Michael Meissner <meissner@cygnus.com>
2289
2290 * random.c (NULL): Don't redefine NULL if it is already defined.
2291
087aa398
KG
2292Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2293
2294 * argv.c (buildargv): Cast the result of alloca in assignment.
2295
2296 * choose-temp.c: Include stdlib.h.
38beb75c 2297
087aa398 2298 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
c4b9cfe0
AJ
2299 (snarf_numeric_literal): Constify first parameter.
2300 (code_for_qualifier): Avoid a gcc extension, make the parameter an
2301 int, not a char.
087aa398
KG
2302 (demangle_qualifier): Likewise.
2303 (demangle_signature): Cast the argument of a ctype function to
2304 unsigned char.
2305 (arm_pt): Add parens around assignment used as truth value.
2306 (demangle_arm_hp_template): Constify variable `args'.
2307 (do_hpacc_template_const_value): Cast the argument of a ctype
2308 function to unsigned char.
2309 (do_hpacc_template_literal): Remove unused variable `i'.
2310 (snarf_numeric_literal): Constify parameter `args'.
2311 Cast the argument of a ctype function to unsigned char.
2312
2313 * floatformat.c (floatformat_to_double): Add explicit braces to
c4b9cfe0 2314 avoid ambiguous `else'.
38beb75c 2315
087aa398 2316 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
c4b9cfe0
AJ
2317 `cstart' and `cend' to unsigned char. Cast the argument of macro
2318 `FOLD', which uses ctype functions, to unsigned char.
087aa398
KG
2319
2320 * objalloc.c (free): Add prototype.
2321
21f2174d
HPN
2322Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
2323
2324 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
2325
3510075c
JL
2326Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
2327
2328 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
c4b9cfe0 2329 doesn't exist.
3510075c 2330 (do_hpacc_template_literal): remove unused variable `i'.
5194cf08 2331
e8fc8222
AM
2332Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2333
2334 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
2335 bumping the pointer we read from. Also prepend these codes,
2336 as we do in other places.
2337
3510075c
JL
23381998-12-18 Nick Clifton <nickc@cygnus.com>
2339
2340 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
2341 'const char *' in order to match its usage when calling siblings.
2342 (snarf_numeric_literal): Make first arg 'const char **' in order
2343 to match usage.
11a0bb74 2344
f4f30aa1
JL
2345Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2346
11a0bb74
KG
2347 * choose-temp.c: Don't check IN_GCC anymore.
2348
2349 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
2350 * memchr.c (memchr): Likewise.
2351 * memcpy.c (memcpy): Likewise.
2352 * memmove.c (memmove): Likewise.
38beb75c 2353
11a0bb74
KG
2354 * mkstemp.c: Don't check IN_GCC anymore.
2355 * pexecute.c: Likewise.
2356 * splay-tree.c: Likewise.
38beb75c 2357
11a0bb74
KG
2358 * strchr.c (strchr): Use `const', not `CONST'.
2359 * strrchr.c (strrchr): Likewise.
2360 * strtol.c (strtol): Likewise.
2361 * strtoul.c (strtoul): Likewise.
2362
70d5ccef
DT
2363Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
2364 Elena Zannoni <ezannoni@cygnus.com>
2365 Stan Shebs <shebs@cygnus.com>
2366 Edith Epstein <eepstein@cygnus.com>
2367 Andres MacLeod <amacleod@cygnus.com>
2368 Satish Pai <pai@apollo.hp.com>
2369
2370 * HP aCC demangling support.
2371 * cplus-dem.c
2372 (main): Remove default to HP style demangling, set to EDG
c4b9cfe0
AJ
2373 demangling correctly when -edg specified; set the demangling style
2374 when user specifies 'edg'. Set strip_underscore to
2375 prepends_underscore, if not HPUXHPPA. Set
2376 current_demangling_style to hp_demangling if HPUXHPPA. Set
2377 current demangling style correctly if the switch is hp. Read
2378 label correctly also in the HP style case.
70d5ccef 2379 (work_stuff): add temp_start field; add field for volatile member
c4b9cfe0 2380 function.
70d5ccef 2381 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
c4b9cfe0 2382 style for this case is the same as ARM.
70d5ccef
DT
2383 (demangle_args): handle EDG_DEMANGLING style; support HP style.
2384 (demangle_arm_hp_template): new function. (It was
c4b9cfe0
AJ
2385 demangle_arm_pt.); check and set value of temp_start field in
2386 multiple places. Also, when ceching for end of template args,
2387 check to see if at end of static member of template class.
70d5ccef 2388 (demangle_class): new local variable : save_class_name_end Don't
c4b9cfe0 2389 include template args in string defining class.
70d5ccef
DT
2390 (demangle_class_name): use demangel_arm_hp_template.
2391 (demangle_function_name): handle case where demangling style is
c4b9cfe0
AJ
2392 HP_DEMANGLING and currently point at an 'X' in the mangled name.
2393 Handle EDG_DEMANGLING style. Handle constructor and destructor
2394 ops for HP style.
70d5ccef 2395 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
c4b9cfe0
AJ
2396 styles. global destructor and constructor for HP style are same
2397 as for ARM style. Same for local variables.
70d5ccef
DT
2398 (demangle_qualified): handle EDG_DEMANGLING style.
2399 (demangle_signature): add case for volatile member function. For
c4b9cfe0
AJ
2400 cases '1' - '9' : initialize the temp_start field to -1 and handle
2401 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
2402 and AUTO_DEMANGLING styles. If expecting a function and managed
2403 to demangle the funct args, then handle the LUCID_DEMANGLING,
2404 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
2405 class name after "Lnnn_ in HP style case. HP style too needs to
2406 forget types. _nnn is OK for HP style, so don't report failure.
70d5ccef 2407 (do_hpacc_template_const_value): new function. Handle template's
c4b9cfe0 2408 value param for HP/aCC.
70d5ccef 2409 (do_hpacc_template_literal): new function. Handle a template's
c4b9cfe0 2410 literal parameter for HP aCC.
70d5ccef
DT
2411 (recursively_demangle): new function
2412 (snarf_numeric_literal): new function.
2413 (usage): add 'edg' to the list of demangling styles; add hp switch
c4b9cfe0 2414 to message.
70d5ccef 2415
8d525fa8
CF
2416Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
2417
2418 * pexecute.c: Remove obsolete ifdefed cygwin code.
2419
9b1a92d8
KG
2420Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2421
2422 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
2423 * cplus-dem.c: Likewise. Conform to libiberty.h.
2424 * pexecute.c: Likewise.
2425 * splay-tree.c: Likewise.
2426
c85c3232
MS
24271998-11-25 Mike Stump <mrs@wrs.com>
2428
2429 * Makefile.in (splay-tree.o): Add config.h dependency.
2430
35a6cd99
KG
2431Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2432
2433 * configure.in: Use AC_PREREQ(2.12.1).
2434
6e6e34b7
BK
24351998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
2436
5194cf08 2437 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
6e6e34b7 2438
59b67c11
JL
2439Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
2440
2441 * mpw.c (mpw_access): Add missing parens.
2442
a6458d1d
KG
2443Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2444
2445 * configure.in: Call AC_HEADER_SYS_WAIT.
2446
2447 * pexecute.c: Include sys/wait.h when !IN_GCC.
2448
3510075c
JL
2449Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
2450
2451 * pexecute.c: revert back to checking old Cygwin
2452 preprocessor symbol until some time has passed.
2453
2454Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
2455
2456 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
2457 since it will now support similar constructs.
2458
a9acf741
KG
2459Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2460
2461 * configure.in: Check for calloc.
2462
2463 * calloc.c: New file.
2464
2465 * xmalloc.c (xcalloc): New function.
2466
a49fb37a
AM
2467Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2468
2469 *cplus-dem.c (demangle_prefix): Use the last "__"
2470 in the mangled name when looking for the signature. This allows
2471 template names to begin with "__".
2472
0e714131
MM
24731998-11-08 Mark Mitchell <mark@markmitchell.com>
2474
ec2288ff
MM
2475 * cplus-dem.c (type_kind_t): Add tk_reference.
2476 (demangle_template_value_parm): Handle it.
2477 (do_type): Use it for references, instead of tk_pointer.
2478
0e714131
MM
2479 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
2480 not internal_cplus_demangle.
2481
2931b6d4
KG
2482Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2483
2484 * choose-temp.c: Don't include gansidecl.h.
2485 * mkstemp.c: Likewise.
2486 * pexecute.c: Likewise.
2487
dd8f3ed5
GN
2488Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
2489
5194cf08
ZW
2490 * configure.in: detect cygwin* instead of cygwin32*
2491 * configure: regenerate
dd8f3ed5 2492
c5f7c445
KG
2493Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2494
2495 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
c4b9cfe0
AJ
2496 whether to include config.h. Possibly include unistd.h in the
2497 !IN_GCC case. Define VFORK_STRING as a printable function call
2498 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
2499 defined, include vfork.h. If VMS is defined, define vfork()
2500 appropriately. Remove vfork check on USG, we're using autoconf.
2501 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
2502 locally what string to use.
c5f7c445 2503
ad3ef78e
MM
25041998-10-26 Mark Mitchell <mark@markmitchell.com>
2505
2506 * splay-tree.c: Tweak include directives to make sure declarations of
2507 xmalloc and free are available.
2508
224301c1
MM
25091998-10-25 Mark Mitchell <mark@markmitchell.com>
2510
2511 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
2512 anonymous namespaces.
38beb75c 2513
d9db46fd
MM
25141998-10-23 Mark Mitchell <mark@markmitchell.com>
2515
2516 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
2517 with type_quals.
2518 (TYPE_UNQUALIFIED): New macro.
2519 (TYPE_QUAL_CONST): Likewise.
2520 (TYPE_QUAL_VOLATILE): Likewise.
2521 (TYPE_QUAL_RESTRICT): Likewise.
2522 (code_for_qualifier): New function.
2523 (qualifier_string): Likewise.
2524 (demangle_qualifier): Likewise.
2525 (internal_cplus_demangle): Use them.
2526 (demangle_signature): Likewise.
2527 (demangle_template_value_parm): Likewise.
2528 (do_type): Likewise.
2529 (demangle_fund_type)): Likewise.
224301c1 2530
b056ad1c
KG
2531Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2532
2533 * splay-tree.c (splay_tree_foreach_helper): Make definition static
2534 to match prototype.
2535
ed87f9c8
MM
25361998-10-21 Mark Mitchell <mark@markmitchell.com>
2537
2538 * splay-tree.c: New file.
2539 * Makefile.in (CFILES): Add it.
2540 (REQUIRED_OFILES): Likewise.
2541 (splay-tree.o): Add dependencies.
2542
e0c13971
AS
2543Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2544
2545 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
2546 range of 'K' index.
2547
91e0f659
KG
2548Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2549
2550 * choose-temp.c: Prototype mkstemps() when IN_GCC.
2551
2552 * cplus-dem.c (consume_count): Cast argument of ctype macro to
2553 `unsigned char'.
2554 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
2555 comparing against one.
2556 (cplus_mangle_opname): Likewise.
2557 (demangle_integral_value): Cast argument of ctype macro to
2558 `unsigned char'.
2559 (demangle_template_value_parm): Likewise.
2560 (demangle_template): Initialize variable `bindex'. Cast the
2561 result of `strlen' to (int) when comparing against one. Remove
2562 unused variable `start_of_value_parm'.
2563 (demangle_class_name): Cast the result of `strlen' to (int) when
2564 comparing against one.
2565 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
2566 (gnu_special): Likewise. Cast the result of `strlen' to (int)
2567 when comparing against one.
2568 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
2569 (get_count): Likewise.
2570 (do_type): Likewise. Cast the result of `strlen' to (int) when
2571 comparing against one.
2572 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
2573 (demangle_function_name): Cast the result of `strlen' to (int)
2574 when comparing against one.
2575
2576 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
2577 comparing against one.
2578
73aeb2ff
JL
2579Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
2580
5194cf08
ZW
2581 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
2582 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
2583 * config.in, configure: Rebuilt.
ae76f1be 2584
73aeb2ff
JL
2585 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
2586 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
2587 * config.in, configure: Rebuilt.
2588
dd8f3ed5
GN
2589Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
2590
5194cf08 2591 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
dd8f3ed5 2592
f77d8413
MT
2593Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
2594
2595 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
2596
ca6b370d
JL
2597Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
2598
2599 * Merge egcs & devo libiberty.
2600
ab4856b1
ML
2601