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