Reset R_XSTORMY16_16 reloc to ignore overflows.
[deliverable/binutils-gdb.git] / libiberty / ChangeLog
CommitLineData
0b555173
DD
12003-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2
3 * configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
4 * configure: Regenerate.
5
8730135a
DD
62003-05-03 Carlo Wood <carlo@alinoe.com>
7
8 * cp-demangle.c: Fix typo in "char_traints" string-literal.
9
341eccbc
DD
102003-04-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11
12 * vsnprintf.c (vsnprintf): Don't pad string with extra nulls.
13 (main): Test that we don't write too much data.
14
2ed1e5cc
DD
152003-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16
17 * configure.in (funcs, AC_CHECK_FUNCS): Add snprintf and
18 vsnprintf.
19 * snprintf.c, vsnprintf.c: New files.
20 * Makefile.in (CFILES): Add snprintf.c and vsnprintf.c.
21 (CONFIGURED_OFILES): Add snprintf.o and vsnprintf.o.
22 Regenerate dependencies.
23
24 * functions.texi, configure, config.in: Regenerated.
25
10b57b38
DD
262003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
27
28 * mempcpy.c, stpcpy.c, stpncpy.c: New files.
29 * configure.in (funcs, AC_CHECK_FUNCS): Add mempcpy, stpcpy
30 and stpncpy.
31 * Makefile.in (CFILES): Add mempcpy.c, stpcpy.c and stpncpy.c.
32 (CONFIGURED_OFILES): Add mempcpy.o, stpcpy.o and stpncpy.o.
33 Regenerate dependencies.
34
35 * functions.texi, configure, config.in: Regenerated.
36
ff773b85
DD
372003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
38
39 * argv.c: Fix comments.
40 * calloc.c: Don't unnecessarily include "libiberty.h".
41 (bzero): Add prototype.
42 * floatformat.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
43 * getcwd.c (getcwd): Use standard definition to avoid conflicts
44 with system headers.
45 * hashtab.c (htab_traverse): Delete unused variables.
46 * rename.c: Include "ansidecl.h".
47 (rename): Use standard definition to avoid conflicts with system
48 headers.
49 * strsignal.c: Rely on ANSI_PROTOTYPES.
50 * strstr.c: Check GNUC >= 2, not GNUC == 2.
51 * vfprintf.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
52 * vprintf.c: Include "ansidecl.h" earlier, rely on
53 ANSI_PROTOTYPES.
54 * vsprintf.c: Include "ansidecl.h" earlier, rely on
55 ANSI_PROTOTYPES and possibly include <stdarg.h>.
56
57 * Makefile.in: Regenerate dependencies.
58
bb325820
DD
592003-04-15 DJ Delorie <dj@redhat.com>
60
61 * maint-tool (deps): Scan for headers in $srcdir also.
62
258a4893
DD
632003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
64
65 PR target/10338
66 PR bootstrap/10198
67 PR bootstrap/10140
68 * getopt.c (exchange, _getopt_initialize): Use mempcpy not
69 __mempcpy.
70 * regex.c (regerror): Likewise.
71
ff773b85
DD
722003-04-14 Roger Sayle <roger@eyesopen.com>
73
74 * argv.c: Use ANSI_PROTOTYPES instead of __STDC__.
75 * memchr.c: Likewise.
76 * strcasecmp.c: Likewise.
77 * strncasecmp.c: Likewise.
78 * strncmp.c: Likewise.
79 * xatexit.c: Likewise.
80 * xmalloc.c: Likewise.
81
82 * copysign.c: Use traditional function declaration instead of DEFUN.
83 * sigsetmask.c: Likewise.
84
85 * memcmp.c: Both of the above, ANSI_PROTOTYPES and DEFUN.
86 * memset.c: Likewise.
87
88 * memcpy.c: ANSI_PROTOTYPES, DEFUN and prototype bcopy.
89 * memmove.c: Likewise.
90
eec539c7
DD
912003-04-14 Roger Sayle <roger@eyesopen.com>
92
93 * strdup.c (strdup): Tweak implementation to use memcpy.
94
daf7c4ad
DD
952003-04-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
96
97 * configure.in (HAVE_UINTPTR_T): Always define.
98 * configure: Regenerated.
99
aa072e59
AO
1002003-03-23 Alexandre Oliva <aoliva@redhat.com>
101
102 * Makefile.in (MULTIOSDIR): New macro. Use $(CC) $(LIBCFLAGS)
103 instead of $$CC alone.
104 (install_to_tooldir): Use it.
105
f77ed96c
DD
1062003-17-03 Jan Hubicka <jh@suse.cz>
107
108 * hashtab.c (htab_traverse_noresize): Break out from ...
109 * hashtab.c (htab_traverse): ... here.
110
2336e177
DD
1112003-12-03 Jan Hubicka <jh@suse.cz>
112
113 * hashtab.c (htab_expand): Fix warning.
114
115 * hashtab.c (htab_expand): Compute the size of hashtable based
116 on the number of elements actually used.
117 (htab_traverse): Call htab_expand when table is too empty.
118
d8cbbf95
DD
1192003-03-11 Carlo Wood <carlo@gnu.org>
120
121 * cplus-dem.c (demangle_integral_value): Correction to reflect
122 patch of 2002-01-10 in order to also make negative multi-digits
123 without leading underscore work.
124
a01fefeb
DD
1252003-03-03 Mark Mitchell <mark@codesourcery.com>
126
127 * cplus-dem.c: Add license exception to copyright notice.
128
638ceb1a
DD
1292003-02-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
130
131 * physmem.c: Formatting changes from upstream.
132
ef803806
DD
1332003-02-24 Danny Smith <dannysmith@users.source.forge.net>
134
135 * physmem.c (physmem_total): Add _WIN32 support.
136 (physmem_available): Likewise.
137
181fa229
DD
1382003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
139
140 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
141 GSI_PHYSMEM.
142 (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS.
143
cc529274
DD
1442003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
145
146 * configure.in: Check for sys/systemcfg.h and
147 _system_configuration.
148 * physmem.c: Add support for AIX. Tweek formatting as per
149 upstream coreutils beta.
150
1512003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
152 Richard Earnshaw <rearnsha@arm.com>
153 Geoffrey Keating <geoffk@apple.com>
ff773b85 154
cc529274
DD
155 * configure.in: Check for sys/sysctl.h and sysctl.
156 * physmem.c: Add support for *bsd and darwin.
157 * Makefile.in: Generate depedency for physmem.o.
158
192cbe66
DD
1592003-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
160
161 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on
162 Tru64 UNIX.
163 (physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on
164 Tru64 UNIX.
165
166 * configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h,
167 machine/hal_sysinfo.h, sys/table.h.
168 (checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table.
169 * configure, config.in: Regenerate.
170
ff773b85
DD
1712003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
172
173 * configure.in: Check for sys/sysmp.h and sysmp.
174 * physmem.c: Pull upstream copy, add support for irix6.
175
176 * config.in, configure: Regenerated.
177
900d2082
DD
1782003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
179
180 * physmem.c (physmem_total, physmem_available): De-ANSI-fy.
181 * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and
182 pstat_getdynamic.
ff773b85 183
4938384a
DD
1842003-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
185
186 * Makefile.in (CFILES): Add physmem.c.
187 (REQUIRED_OFILES): Add physmem.o.
188 * configure.in: Check for sys/pstat.h.
189 (checkfuncs): Add pstat_getstatic and pstat_getdynamic.
190 * physmem.c: New file, copied from textutils.
191
192 * config.in, configure: Regenerated.
193
ba61a412
DJ
1942003-02-20 Daniel Jacobowitz <drow@mvista.com>
195
196 * Makefile.in (CFILES): Add lrealpath.c.
197 (REQUIRED_OFILES): Add lrealpath.o.
198 (lrealpath.o): Add rule.
199 * aclocal.m4 (libiberty_NEED_DECLARATION): Add.
200 * configure.in: Add realpath and canonicalize_file_name to
201 checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION
202 for canonicalize_file_name.
203 * lrealpath.c: New file.
204 * make-relative-prefix.c: Update documentation.
205 (make_relative_prefix): Simplify. Use lbasename and lrealpath.
206 * config.in: Regenerated.
207 * configure: Regenerated.
208 * functions.texi: Regenerated.
209
25dfe0ac
DD
2102003-02-20 jmc <jmc@prioris.mini.pw.edu.pl>
211
212 * cplus_dem.c: Fix typo: intializes -> initializes.
213
8b90eef4
AO
2142003-02-20 Alexandre Oliva <aoliva@redhat.com>
215
216 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
217 config.status.
218 * configure: Rebuilt.
219
fcd7c7c9
DD
2202003-02-13 Daniel Jacobowitz <drow@mvista.com>
221
222 Fix PR c++/7612.
223 * cplus-dem.c (demangle_signature): Call string_delete.
224 Remove extra string_init.
225 (demangle_arm_hp_template): Call string_delete instead of
226 string_clear. Add missing string_delete call.
227 (demangle_qualified): Add missing string_delete call.
228 (do_type): Remove unused variable btype. Add missing string_delete
229 call. Call string_delete instead of string_clear.
230 (demangle_fund_type): Move variable btype inside of the switch
231 statement. Add missing string_delete call.
232 (do_arg): Call string_delete instead of string_clear. Remove extra
233 string_init.
234 (demangle_nested_args): Free work->previous_argument.
235
073c427b
DD
2362003-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
237
238 * acconfig.h: New file. Add uintptr_t.
239 * config.in: Regenerated.
240
f8bd3000
DD
2412003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
242
243 * libiberty.texi: Update to GFDL 1.2.
244
85b9a938
DD
2452003-01-30 Christian Cornelssen <ccorn@cs.tu-berlin.de>
246
247 * Makefile.in (libiberty_topdir): New subst.
248 (mkinstalldirs): Redefine in terms of the above.
249 * configure.in: AC_SUBST it.
250 * configure: Regenerate.
251
578460f2
AO
2522003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de>
253
254 * Makefile.in (all-subdir, check-subdir, installcheck-subdir)
255 (info-subdir, install-info-subdir, clean-info-subdir)
256 (dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
257 (clean-subdir, distclean-subdir, maintainer-clean-subdir):
258 Pass $(FLAGS_TO_PASS).
259
7f285245
AO
2602003-01-27 Alexandre Oliva <aoliva@redhat.com>
261
262 * Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
263 /`$$CC -print-multi-os-directory`.
264
5f9624e3
DJ
2652003-01-26 Daniel Jacobowitz <drow@mvista.com>
266
267 * hashtab.c (htab_create_alloc_ex): New function.
268 (hatab_set_functions_ex): New function.
269 (htab_delete, htab_expand): Support alternate allocation functions.
270
9c2259b8
DD
2712003-01-24 Christopher Faylor <cgf@redhat.com>
272
273 * configure.in: Remove special pex-cygwin consideration.
274 * configure: Regenerate.
275 * pex-cygwin.c: Remove.
276 * Makefile.in: Remove pex-cygwin.[co] lines.
277
5a17353c
DD
2782003-01-24 Zack Weinberg <zack@codesourcery.com>
279
280 * Makefile.in (CFILES): Add pex-*.c.
281 (REQUIRED_OFILES): Change pexecute.o to @pexecute@
282 (CONFIGURED_OFILES): Add pex-*.o.
283 (TEXIFILES): Add pexecute.txh.
284 (pexecute.o): Delete rule.
285 (pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o,
286 pex-unix.o, pex-win32.o): New rules.
287 * configure.in: Change AC_INIT argument to xmalloc.c.
288 Compute appropriate pexecute implementation and substitute it
289 as @pexecute@.
290
291 * pexecute.c: Split up into...
292 * pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c,
293 pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these
294 new files.
295
296 * functions.texi: Regenerate.
297 * configure: Regenerate.
298
eed2b28c
DD
2992003-01-20 Josef Zlomek <zlomekj@suse.cz>
300
301 * hashtab.c (htab_expand): Fix allocation of new entries.
302
27a39a5f
DD
3032003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
304
305 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
306
307 * Makefile.in (install_to_libdir, install_to_tooldir): Add a
308 mkinstalldirs command.
309
b51c1553
DD
3102002-12-04 Danny Smith <dannysmith@users.sourceforge.net>
311
312 * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
313 Define for hosts with HOST_EXECUTABLE_SUFFIX.
314
756954c3
DD
3152002-11-24 Nick Clifton <nickc@redhat.com>
316
317 * make-relative-prefix.c (make_relative_prefix): Ensure return
318 string is empty before using strcat to construct it.
319
2a80c0a4
DD
3202002-11-22 Daniel Jacobowitz <drow@mvista.com>
321
322 * Makefile.in: Add make-relative-prefix.c.
323 * make-relative-prefix.c: New file.
324 * functions.texi: Rebuilt.
325
768b20d8
JJ
3262002-11-16 Jakub Jelinek <jakub@redhat.com>
327
328 * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
329 used with arguments in traditional C' warnings.
330
f52d1d64
JJ
3312002-10-16 Jakub Jelinek <jakub@redhat.com>
332
333 * config.table: Use mh-s390pic for s390x too.
334
0d3deb8d
DD
3352002-10-06 Andreas Jaeger <aj@suse.de>
336
337 * libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded
338 variable and of strict-aliasing warning.
339 (grow_vect): Use char as first parameter.
340
1b67de92
DD
3412002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
342
343 * Makefile.in (all): Fix multilib parallel build.
344
585cc78f
DD
3452002-09-19 John David Anglin <dave@hiuly1.hia.nrc.ca>
346
347 * cp-demangle.c (demangling_new): Cast 0 to enum.
348 (demangle_char): Cast return of strdup to char *.
349 (is_gnu_v3_mangled_ctor): Cast 0 to enum.
350 (is_gnu_v3_mangled_dtor): Likewise.
351 * cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
352 (work_stuff_copy_to_from): Cast return of xmalloc to char **.
353 * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
354 * md5.c (md5_process_bytes): Cast results back to const void *.
355 (md5_process_block): Add cast to const md5_uint32 *.
356 * regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
357 * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
358 unsigned short.
359 * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
360 to void *.
361 * vasprintf.c (int_vasprintf): Cast return of malloc to char *.
362
e21b0cc1
NC
3632002-09-19 Nick Clifton <nickc@redhat.com>
364
365 * README: Update email addresses for bugs and patches.
366
a54ba43f
DD
3672002-09-10 Mike Stump <mrs@apple.com>
368
369 * splay-tree.c (splay_tree_successor): Fix comments.
370
3712002-09-11 Zack Weinberg <zack@codesourcery.com>
372
373 * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
374 * testsuite/Makefile.in: Adjust for test-demangle.
375 * testsuite/regress-demangle: Deleted.
376 * testsuite/test-demangle.c: New file.
377 * testsuite/demangle-expected: Change \$ to $ throughout, now that
378 this file is not being read by a shell script.
379
01cea699
DD
3802002-09-05 Roger Sayle <roger@eyesopen.com>
381
382 * regex.c: Only use "#pragma alloca" on AIX when not using gcc.
383
a2832523
DD
3842002-08-07 DJ Delorie <dj@redhat.com>
385
386 * regex.c (re_error_msgid): Just use a simple array of strings.
387 (re_compile_pattern): Compensate.
388 (re_comp): Likewise.
389 (re_comp): Likewise.
390 (regerror): Likewise.
391
1e3f0be0
DD
3922002-07-29 Neil Booth <neil@daikokuya.co.uk>
393
394 * cplus-dem.c (PREPEND_BLANK): Remove.
395
b851d07b
DD
3962002-07-10 Jason Merrill <jason@redhat.com>
397
398 * cp-demangle.c (demangle_identifier): Support extended Unicode
399 characters.
400
2a9dffbf
DD
4012002-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
402
403 * cp-demangle.c (demangle_v3_with_details): Wrap in
404 !defined IN_GLIBCPP_V3.
405
793011ca
DD
4062002-07-01 Mark Mitchell <mark@codesourcery.com>
407
408 * cp-demangle.c (demangle_operator_name): Add type_arg parameter.
409 Set it for the "st" operator.
410 (demangle_expression): Handle expressions with types as arguments.
411
b39b76b8
DD
4122002-06-30 Douglas Rupp <rupp@gnat.com>
413
414 * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
415 * Makefile.in (OUTPUT_OPTION): Use.
416
4748c6d8
DD
4172002-06-22 Peter Breitenlohner <peb@mppmu.mpg.de>
418
419 * Makefile.in (install_to_libdir): Add $(DESTDIR).
420 (install_to_tooldir): Likewise.
421
f9c3326a
DD
4222002-06-17 Douglas Rupp <rupp@gnat.com>
423
424 * lbasename.c: Add 2002 to copyright.
425 (IS_DIR_SEPARATOR): Remove VMS junk.
426
18893690
DD
4272002-06-05 Geoffrey Keating <geoffk@redhat.com>
428
429 * hashtab.c (htab_create): New stub function for backward
430 compatibility.
431 (htab_try_create): Likewise.
432
4332002-06-03 Geoffrey Keating <geoffk@redhat.com>
434
435 * hashtab.c (htab_create): Delete.
436 (htab_try_create): Delete.
437 (htab_create_alloc): New.
438 (htab_delete): Support user-specified memory allocation.
439 (htab_expand): Likewise.
440
4412002-05-22 Roman Lechtchinsky <rl@cs.tu-berlin.de>
442
443 * configure.in: Fix typo in the code checking for sys_errlist.
444 * configure: Regenerated.
445
9296c8b2
DD
4462002-05-13 Andreas Schwab <schwab@suse.de>
447
448 * config.table: Use mh-x86pic also for x86-64.
449
52d98c2d
DD
4502002-05-08 Alexandre Oliva <aoliva@redhat.com>
451
452 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
453 script entry, and set LD to it when configuring multilibs.
454 * configure: Rebuilt.
455
cafa3917
DD
4562002-05-07 Mark Mitchell <mark@codesourcery.com>
457
458 * configure.in (AC_TYPE_PID_T): Use it.
459 * configure: Regenerated.
460 * getruntime.c: Include <sys/types.h>.
461 * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid".
462
b1c933fc
RH
4632002-04-09 Richard Henderson <rth@redhat.com>
464
465 * hashtab.c (higher_prime_number): Use 7 as minimum.
466 (find_empty_slot_for_expand): Don't compute hash2 unless needed.
467 (htab_find_slot_with_hash): Likewise.
468
0c4460bb
DD
4692002-04-01 Phil Edwards <pme@gcc.gnu.org>
470
471 * cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
472 (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally
473 not compile if IN_GLIBCPP_V3 defined.
474 * dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme.
475
f2160d2b
DD
4762002-03-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
477
3ebf1f59 478 * cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
f2160d2b
DD
479 if it is NULL.
480
7dd4d42a
DD
4812002-03-27 DJ Delorie <dj@redhat.com>
482
483 * hex.c: Add documentation.
484 (_hex_value): Provide non-ASCII empty table.
485 (hex_init): Initialize the non-ASCII table.
486 * functions.texi: Regenerate.
487
38e57a35
DD
4882002-03-27 Mark Mitchell <mark@codesourcery.com>
489
490 * dyn-string.c: Add libgcc exception to copyright notice.
491
cfed0715
DD
4922002-03-26 H.J. Lu (hjl@gnu.org)
493
494 * config.table: Support --with-build-subdir.
495 * configure.in: Likewise.
496 * configure: Rebuild.
497
1504972f
DD
4982002-03-18 Stuart Griffith <Stuart_Griffith@credence.com>
499
500 * strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
501 seen.
502
35efcd67
DD
5032002-03-12 Mark Mitchell <mark@codesourcery.com>
504
505 * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
506 notice.
507
dabc64ea
DD
5082002-03-11 Douglas B Rupp <rupp@gnat.com>
509
510 * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
511
3ddbd84c
JB
5122002-03-06 Jim Blandy <jimb@redhat.com>
513
514 * splay-tree.c (splay_tree_xmalloc_allocate,
515 splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
516 prototyped definitions. Mark `data' arguments as unused.
517
efdab807
AC
5182002-03-06 Andrew Cagney <ac131313@redhat.com>
519
520 * floatformat.c (floatformat_arm_ext_big): Delete definition.
521
50d4562d
DD
5222002-03-04 Phil Edwards <pme@gcc.gnu.org>
523
524 * configure.in: Add --enable-install-libiberty option.
525 * Makefile.in (INSTALLED_HEADERS): New variable.
526 (install_to_libdir): Possibly also copy headers.
527 * configure: Regenerated.
528
5292002-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
530
531 * xmalloc.c (xmalloc_fail): Clarify error message further.
532
6e9980f5
DD
5332002-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
534
535 * xmalloc.c (xmalloc_fail): Clarify error message.
536
18893690 5372002-02-22 Jim Blandy <jimb@redhat.com>
2bbcdae9
JB
538
539 * splay-tree.c (splay_tree_xmalloc_allocate,
540 splay_tree_xmalloc_deallocate): New functions.
541 (splay_tree_new): Call splay_tree_new_with_allocator, passing the
542 above functions and a dummy data pointer.
543 (splay_tree_new_with_allocator): New function.
544 (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
545 splay_tree_remove): Use the splay tree's allocation and
546 deallocation functions.
547
59ea9fe7
DD
5482002-02-19 Scott Snyder <snyder@fnal.gov>
549
550 * testsuite/demangle-expected: Add test case for infinite loop in
551 demangler.
552 * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
553 if do_type() doesn't make any progress --- prevents an infinite
554 loop.
555
6f848550
DD
5562002-02-18 Carlo Wood <carlo@gnu.org>
557
558 PR c++/5390
559 * cplus-dem.c (demangle_integral_value): Accept multi-digit
560 numbers that do not start with an underscore; This is needed
561 for integer template parameters. This doesn't break anything
562 because multi-digit numbers are never followed by a digit.
563 * testsuite/demangle-expected: Corrected all mangled test
564 cases with multi-digit template parameters: g++ 2.95.x does
565 not generate underscores around these parameters.
566
44354ae1
DD
5672002-02-05 Jason Merrill <jason@redhat.com>
568
569 * cplus-dem.c (flags): Add DMGL_VERBOSE
570 (cplus_demangle_v3_p): Remove.
571 (demangle_it): Add DMGL_TYPES to passed flags.
572 * cp-demangle.c (cplus_demangle_v3_all): Remove.
573 (cplus_demangle_v3_type): Remove.
574 (cplus_demangle_v3): Add options parm.
575
42da15d6
DD
5762002-02-02 H.J. Lu (hjl@gnu.org)
577
578 * cp-demangle.c (cp_demangle_type): Do not protect with
579 IN_LIBGCC2.
580 (cplus_demangle_v3_all): New.
581 (cplus_demangle_v3): Call cplus_demangle_v3_all.
582 (cplus_demangle_v3_type): Call cplus_demangle_v3_all.
583
584 * cplus-dem.c (cplus_demangle_v3_p): New function pointer.
585 Initialized to cplus_demangle_v3.
586 (cplus_demangle_with_style): Call cplus_demangle_v3_p instead
587 of cplus_demangle_v3.
588 (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
589 command line symbol.
590
591 * testsuite/regress-demangle: Pass the mangled name at the
592 command line.
593
b117c158
DD
5942002-02-01 H.J. Lu <hjl@gnu.org>
595
596 * cp-demangle.c (cp_demangle_type): Call demangling_new with
597 DMGL_GNU_V3.
598
c78d91b1
DD
5992002-01-31 Phil Edwards <pme@gcc.gnu.org>
600
601 * cp-demangle.c: Revert yesterday's change.
602
bef8b55d
DD
6032002-01-31 Adam Megacz <adam@xwt.org>
604
605 * gcc/libiberty/configure.in: Treat mingw the same as cywin
606 wrt HAVE_SYS_ERRLIST.
607
2c955b8b
DD
6082002-01-30 Phil Edwards <pme@gcc.gnu.org>
609
610 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
611 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on
612 cp_demangle_type.
613 * testsuite/demangle-expected: New gnu-v3 test.
614
58b1717a
RH
6152002-01-22 Momchil Velikov <velco@fadata.bg>
616
617 * configure.in (variable detection): Use arrays of unspecified
618 size instead of plain integers.
619
cc096b71
DD
6202002-01-18 DJ Delorie <dj@redhat.com>
621
622 * Makefile.in (TESTLIB): New. This library is for future
623 testsuites.
624 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
625 break down by letter.
626 (REQUIRED_OFILES): List long-to-compile files first.
627 (maint-deps): New, target for updating dependencies.
628 (dependencies): Update.
629 * maint-tool: Add dependency-generating option.
630 * configure.in: Check for _doprnt even if we're not providing it.
631 * configure: Regenerate.
632
633 * _doprnt.c: Modifications to allow compiling on any platform.
634 * copysign.c: Likewise.
635 * putenv.c: Likewise.
636 * setenv.c: Likewise.
637 * vsprintf.c: Likewise.
638
6392002-01-15 Douglas B Rupp <rupp@gnat.com>
640
641 * mkstemps.c (mkstemps): On VMS, open temp file with option
642 that causes it to be deleted when closed.
643
20d54542
DD
6442002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
645
c23795e2
DD
646 * cp-demangle.c (long_options): Const-ify.
647 * cplus-dem.c (long_options): Likewise.
648
20d54542
DD
649 * cplus-dem.c (mystrstr): Delete. All callers changed to use
650 strstr instead.
651
f348a7b1
DD
6522001-12-31 Ira Ruben <ira@apple.com>
653
654 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
655 * configure: Regenerated.
656
d86cd745
DD
6572001-12-24 Douglas B. Rupp <rupp@gnat.com>
658
659 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
660 * configure: Regenerated.
661
ae533646
DD
6622001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
663
664 PR other/2719
665 * cplus-dem.c (consume_count): Treat negative count as an error.
666 * testsuite/demangle-expected: Added testcase.
667
c0eb281b
DD
668Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
669
670 * configure.in: Hardcode that vfork works on VMS host.
671 * configure: Regenerated.
672
2da4c07f
RH
6732001-12-06 Richard Henderson <rth@redhat.com>
674
675 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
676 (cplus_demangle): Support no_demangling.
677
24acd898
DD
6782001-11-27 Zack Weinberg <zack@codesourcery.com>
679
680 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
681 in libiberty context. Fix typo in leading comment.
682 * configure.in: Fix various AC_DEFINEs so autoheader works.
683 If any of vprintf, vsprintf, vfprintf is missing from libc,
684 then AC_REPLACE_FUNCS(_doprnt).
685
fec50157 6862001-11-26 DJ Delorie <dj@redhat.com>
d86cd745 687 Daniel Jacobowitz <drow@mvista.com>
fec50157
DD
688
689 * Makefile.in (stamp-h): Depend on Makefile for proper
690 serialization.
691 (*-subdir): Depend on config.h for proper serialization.
692
5527febf
DD
6932001-11-26 DJ Delorie <dj@redhat.com>
694
695 * configure.in: Check for alloca.h (for regex.c and putenv.c).
696 * configure: Regenerate.
697 * config.h: Add HAVE_ALLOCA_H.
698
941d74a0
DD
6992001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
700
701 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
702 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
703 is available.
704
dc579051
DD
705Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
706
707 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
708 * configure.in (HAVE_UINTPTR_T): Test for system defining
709 uintptr_t and define HAVE_UINTPTR_T appropriately.
710 * regex.c (uintptr_t): Do not provide a definition if the
711 system provided one.
712
713 * regex.c (PREFIX): Provide an alternate definition for
714 non-ANSI/ISO compilers.
715 (ARG_PREFIX): Likewise.
716
1a78a35a
DD
7172001-11-12 Jim Meyering <meyering@lucent.com>
718
719 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
720 this code would end up calling gettext even in packages built
721 with --disable-nls.
722 * getopt.c (_): Likewise.
723 * regex.c (_): Likewise.
724
4e55c4b6
DD
7252001-11-03 Alan Modra <amodra@bigpond.net.au>
726
727 * configure.in: Cope with missing makeinfo.
728 * configure: Regenerate.
729
d311a83a
DD
7302001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
731
732 * hex.c (hex_init): Provide empty stub.
733
734 * hex.c (hex_init): Delete.
735 (_hex_value): Const-ify and initialize at compile-time.
736
3bc62f91
DD
7372001-10-19 H.J. Lu <hjl@gnu.org>
738
739 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
740 necessary.
741
5d852400
DD
7422001-10-17 DJ Delorie <dj@redhat.com>
743
744 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
745 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
5527febf 746 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
5d852400
DD
747 Improve manual formatting.
748 * functions.texi: Regenerate.
749
ba19b94f
DD
7502001-10-15 DJ Delorie <dj@redhat.com>
751
752 * Makefile.in (TEXIFILES): Add fnmatch.txh.
753 (maint-undoc): New.
754 maint-tool: Add "undoc" tool.
755 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
756 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
757 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
758 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
759 documentation.
760 * fnmatch.txh: New.
761 * functions.texi: Regenerate.
762
56056af5
DD
7632001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
764
765 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
766 * strtod.c: Use "ISO C" instead of "ANSI C".
767 * functions.texi: Regenerate.
768
99b58139
DD
7692001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
770
771 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
772 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
773 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
774 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
775 spelling. Give names to function arguments in documentation. Use
776 (void) prototypes in documentation.
777 * functions.texi: Regenerate.
778
e6450fe5
DD
7792001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
780
781 * argv.c (buildargv, tests, main): Const-ify.
782 * cp-demangle.c (operator_code): Likewise.
783 * cplus-dem.c (optable, libiberty_demanglers,
784 cplus_demangle_set_style, cplus_demangle_name_to_style,
785 print_demangler_list): Likewise.
786 * hashtab.c (higher_prime_number): Likewise.
787 * strcasecmp.c (charmap): Likewise.
788 * strerror.c (error_info, strerror, main): Likewise.
789 * strncasecmp.c (charmap): Likewise.
790 * strsignal.c (signal_info): Likewise.
791
da191b5b
DD
7922001-09-29 DJ Delorie <dj@redhat.com>
793
794 * configure: Regenerate.
795
916aaa12
DD
7962001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
797
798 * concat.c: Include stdlib.h.
799
fa9f0e33
DD
8002001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
801
802 * libiberty.texi: (Top level): Add syncodeindex pg. Add
803 @dircategory and @direntry directives. Add @finalout.
804 (many nodes): Lose the next,prev,up pointers on the @nide line.
805 (Using, Supplemental Functions, Replacement Functions): Fix
806 markup.
807 (Functions): Move around, to allow makeinfo to build the manual
808 without next,prev,up pointers in thye node lines.
809 (Licenses): Fix typos.
810
811 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
812 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
813 * functions.texi: Regenerate.
814
815 * copying-lib.texi: Lose the next,prev,up pointers on the @node
816 line.
817
8182001-09-27 DJ Delorie <dj@redhat.com>
819
820 * configure.in: Don't use in-tree texinfo, because libiberty must
821 be built before it. Check for makeinfo version 4 or higher.
822 * functions.texi: Regenerate.
823
39423523
DD
8242001-09-20 DJ Delorie <dj@redhat.com>
825 Phil Edwards <pedwards@disaster.jaj.com>
826
827 * configure.in (MAKEINFO, PERL): Detect these.
828 (--enable-maintainer-mode): Add.
829 * configure: Regenerate.
830 * Makefile.in (MAKEINFO, PERL): Define.
831 (libiberty.info, libiberty.dvi, libiberty.html): New.
832 (CFILES): Add bsearch.c.
833 (CONFIGURED_OFILES): New, list of objects configure might add.
834 (maint-missing, maint-buildall): New, for maintainers only.
835 (clean, mostlyclean): Add info/dvi/html files.
836 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
837 * gather-docs: New, for maintainers.
838 * maint-tool: New, for maintainers.
839 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
840 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
841 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
842 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
843 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
844 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
845 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
846 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
847 documentation.
848
66c94e19
DD
8492001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
850
851 * concat.c (reconcat): Fix for traditional C.
852
99ee3a8f
DD
8532001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
854
855 * concat.c (reconcat): New function.
856
54c20242
DD
8572001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
858
859 * concat.c (vconcat_length, vconcat_copy, concat_length,
860 concat_copy, concat_copy2): New functions.
861 (concat): Use vconcat_length/vconcat_copy.
862
863 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
864 Define.
865
843f21be
DD
8662001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
867
868 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
869 VA_FIXEDARG & VA_CLOSE.
870
871 * vasprintf.c: Check HAVE_STRING_H when including string.h.
872 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
873 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
874
8a423cb3
DD
8752001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
876
877 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
878
dc676635
DD
8792001-08-23 Ulrich Drepper <drepper@redhat.com>
880
881 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
882
8832001-08-23 Ulrich Drepper <drepper@redhat.com>
884
885 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
886 instead of mbrtowc.
887 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
888 wcslen, and __wcscoll instead of wcscoll.
889
f080c76d
DD
8902001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
891
3ebf1f59
DD
892 * fibheap.c (fibheap_init, fibnode_init): Remove.
893 (fibheap_new, fibnode_new): Use xcalloc to allocate and
894 initialize memory.
895 (fibheap_insert): Remove check for node allocation failure.
f080c76d 896
f01b59ed
DD
8972001-08-21 Richard Henderson <rth@redhat.com>
898
899 * Makefile.in (fibheap.o): Depend on config.h.
900 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
901 functions for inlining.
902
903Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
904
905 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
906 hosting on cygwin.
907 * configure: Regenerate.
908
eb828599
AC
9092001-08-20 Andrew Cagney <ac131313@redhat.com>
910
911 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
912 HARRIS_FLOAT_FORMAT.
913 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
914 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
915 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
916 (floatformat_m88110_harris_ext): New float formats.
917
4e55c4b6
DD
9182001-08-20 Daniel Berlin <dan@cgsoftware.com>
919
920 * fibheap.c: New file. Fibonacci heap.
921
922 * Makefile.in (CFILES): Add fibheap.c.
923 (REQUIRED_OFILES): Add fibheap.o.
924 (fibheap.o): Add dependencies for fibheap.o.
925
68a41de7
DD
9262001-08-17 Christopher Faylor <cgf@cygnus.com>
927
928 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
929 * configure: Regenerate.
930
8fc34799
DD
9312001-08-16 Richard Henderson <rth@redhat.com>
932
933 * hashtab.c (htab_hash_string): New.
934
16bad250
AC
9352001-08-13 Andrew Cagney <ac131313@redhat.com>
936
937 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
938 name.
939
a9022147
DD
9402001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
941
942 * regex.c (wcs_regex_compile): Use appropriate string
943 to compare with collating element.
944 Fix the padding for the alignment.
945
8aefe91a 9462001-08-10 Andrew Cagney <ac131313@redhat.com>
3ea71002
AC
947
948 * lbasename.c (lbasename): Change function definition to return a
949 const char pointer.
950
e7e9b069
DD
9512001-08-07 Jason Merrill <jason_merrill@redhat.com>
952
953 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
954 for".
955
cc5144f8
DD
9562001-08-03 Richard Henderson <rth@redhat.com>
957
958 * Makefile.in (concat.o): Depend on config.h.
959
8aefe91a
DD
9602001-07-30 Andreas Jaeger <aj@suse.de>
961
962 * concat.c: Include "config.h".
963
86710ce2
DD
9642001-07-30 Andreas Jaeger <aj@suse.de>
965
966 * regex.c: Declare wcs functions only if compiling with
967 MBS_SUPPORT.
968 Don't use #elif for traditional C.
969
9702001-07-23 Ulrich Drepper <drepper@redhat.com>
971
972 * regex.c: Revamp memory allocation for WCHAR functions to
973 not use too much stack.
974
9752001-07-30 Andreas Jaeger <aj@suse.de>
976
977 * regex.c: Declare wcs functions only if compiling with
978 MBS_SUPPORT.
979 Don't use #elif for traditional C.
980
a5d8f731
DD
9812001-07-25 Daniel Jacobowitz <drow@mvista.com>
982
983 * Makefile.in (regex.o): Add dependency on config.h.
984
6ad8a379
DD
9852001-07-18 Andreas Schwab <schwab@suse.de>
986
987 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
988 underscore character.
989
9902001-07-18 Ulrich Drepper <drepper@redhat.com>
991
992 * regex.c: Limit string length printed in debug messages to 100
993 chars.
994
9952001-07-18 Andreas Jaeger <aj@suse.de>
996
997 * regex.c: Place under LGPL version 2.1.
998
2a6ef469
DD
9992001-07-10 Jeff Johnston <jjohnstn@redhat.com>
1000
1001 * Makefile.in: Add support for regex code.
1002 * regex.c: New file.
1003
7b78baae
DD
10042001-07-05 Mark Klein <mklein@dis.com>
1005
1006 * Makefile.in: Add ffs.c dependency.
1007 * configure.in: Add ffs.c.
1008 * ffs.c: New file.
1009
926150e2
DD
10102001-06-18 Richard Henderson <rth@redhat.com>
1011
1012 * concat.c: Include <sys/types.h>.
1013
11f6f21d
DD
10142001-06-11 Loren J. Rittle <ljrittle@acm.org>
1015
1016 bootstrap/3106
1017 * strerror.c (sys_nerr): Hide the OS header version.
1018 * strsignal.c (sys_nsig): Likewise.
1019
d42dae6c
DD
10202001-06-10 Richard Henderson <rth@redhat.com>
1021
1022 * concat.c: Include string.h. Fix int vs size_t usage.
1023 Simplify the iteration loops. Use memcpy.
1024
e05c6d27
DD
10252001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1026
1027 * partition.c: Fix misspelling of `implementation'.
1028
b50c4073
DD
10292001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1030
1031 * md5.c (md5_init_ctx): Declare constants as unsigned.
1032 (md5_process_block): Likewise.
1033
457161bf
DD
10342001-05-07 Zack Weinberg <zackw@stanford.edu>
1035
1036 * cp-demangle.c (demangle_v3_with_details,
1037 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
1038 function definition.
1039 * ternary.c: Use K+R style function definitions. Use PTR, not
1040 void *. Make arguments constant where possible.
1041
e00bc6a7
DD
10422001-05-07 Mark Mitchell <mark@codesourcery.com>
1043
1044 * splay-tree.h (splay_tree_max): New function.
1045 (splay_tree_min): Likewise.
1046
400ee7e1
DB
10472001-04-15 Daniel Berlin <dan@cgsoftware.com>
1048
1049 * ternary.c: New file - Ternary search tree implementation.
a5dd804e
DB
1050
1051 * Makefile.in: Add ternary.o, and ternary.c dependencies.
400ee7e1 1052
d9697354
DD
10532001-04-03 Zack Weinberg <zackw@stanford.edu>
1054
1055 * make-temp-file.c (try): Inline.
1056
a7bf099b
DD
10572001-02-28 Richard Henderson <rth@redhat.com>
1058
1059 * Makefile.in (make-temp-file.o): Depend on config.h.
1060
30a1def2
DD
10612001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1062
1063 * memchr.c (memchr): Adjust condition to avoid infinite loop.
1064
079c672a
DD
10652001-03-23 Jakub Jelinek <jakub@redhat.com>
1066
1067 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
1068 `_' not followed by a digit is invalid.
1069
a88e356a
JB
10702001-03-22 Jim Blandy <jimb@redhat.com>
1071
1072 * cp-demangle.c (string_list_delete): Use dyn_string_delete
1073 instead of free, to free the contents as well as the string
1074 structure.
1075
1dffcc66
DD
10762001-03-21 Zack Weinberg <zackw@stanford.edu>
1077
1078 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
1079 Don't default P_tmpdir to anything. Try /var/tmp before
1080 /usr/tmp.
1081
10822001-03-20 Zack Weinberg <zackw@stanford.edu>
1083
1084 * choose-temp.c: Split off make_temp_file, and the code
1085 duplicated between it and choose_temp_base, into...
1086 * make-temp-file.c: ... here; new file.
1087
1088 * Makefile.in (CFILES): Add make-temp-file.c.
1089 (REQUIRED_OFILES): Add make-temp-file.o.
1090
e61231f1
JB
10912001-03-20 Jim Blandy <jimb@redhat.com>
1092
1093 * cp-demangle.c (struct demangling_def): New fields:
1094 is_constructor and is_destructor.
1095 (demangling_new): Initialize them.
1096 (demangle_ctor_dtor_name): Set them, if we detect a constructor
1097 or destructor.
1098 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
1099 is_gnu_v3_mangled_dtor): New functions.
1100
a9cbbe6d
DD
11012001-03-20 Jason Merrill <jason@redhat.com>
1102
1103 * cplus-dem.c (main): Skip initial $.
1104
b1e51b3c
DD
11052001-03-15 Michael Meissner <meissner@redhat.com>
1106
1107 * hashtab.c (higher_prime_number): Silence warning that 4294967291
1108 might be a signed integer under pre-ISO C systems.
1109
8aa30e60 11102001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
fa03f0a7 1111 John David Anglin <dave@hiauly1.hia.nrc.ca>
8aa30e60 1112
8aa30e60
DD
1113 * libiberty/lbasename.c: New file.
1114 * libiberty/Makefile.in: Update for lbasename.
8aefe91a 1115
30673bf5
DD
11162001-03-06 Zack Weinberg <zackw@stanford.edu>
1117
1118 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
1119 * configure.in: Replace all alloca logic with a simple use of
1120 the above new macro.
1121 * config.table: Kill *-*-beos* entry.
1122 * config/mh-beos: Delete.
1123 * configure, config.in: Regenerate.
fa03f0a7 1124
30673bf5
DD
1125 * Makefile.in (ALLOCA, HFILES): Kill.
1126 (REQUIRED_OFILES): Add alloca.o.
1127 (alloca.o): Depend on libiberty.h.
1128 (argv.o): Don't depend on alloca-conf.h.
1129 * alloca-conf.h: Delete.
1130 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
1131 blocks. Provide the C alloca unconditionally. Use PTR where
1132 appropriate. Make i00afunc static.
1133 * argv.c: Don't include alloca-conf.h.
fa03f0a7 1134
5810f394
DD
11352001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1136
1137 * cplus-dem.c (main): Cast enum style to int.
fa03f0a7 1138
a9db032a
DD
11392001-02-16 Loren J. Rittle <ljrittle@acm.org>
1140
1141 * cplus-dem.c (main): Initialize style.
fa03f0a7 1142
8aefe91a
DD
11432001-02-02 Phil Edwards <pme@sources.redhat.com>
1144
1145 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
1146
bc9bf259
DD
11472001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
1148
1149 Add support for Java demangling under the v3 ABI:
1150 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
1151 (struct demangling_def): Add `style' field.
1152 (demangling_new): New parameter `style'. Set it in demangling_t.
1153 (demangle_prefix): Use NAMESPACE_SEPARATOR.
1154 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
1155 (cp_demangle): New parameter `style'. Pass it to demangling_new().
1156 (main): Call cp_demangle with extra parameter.
1157 (java_demangle_v3): New function.
1158 (java_builtin_type_names): New. Table of primitive type names used
1159 for Java demangling.
1160 (demangle_builtin_type): Look up in java_builtin_type_names if doing
1161 Java output.
1162 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
1163 demangling.
1164 (long_options): Remove obsolete `java' option.
1165 (main): Remove explicit handling of `java' option. Instead, pass style
1166 parameter in cplus_demangle flags as gdb does.
1167 * testsuite/demangle.expected: Add some Java test cases.
fa03f0a7 1168
f6528837
DD
11692000-12-29 DJ Delorie <dj@redhat.com>
1170
1171 * fnmatch.c: Make the note about the origins of this file more
1172 accurate, at least until we can sync with glibc.
1173 * getopt.c: Ditto.
1174 * getopt1.c: Ditto.
1175 * md5.c: Ditto.
1176 * obstack.c: Ditto.
9d969b59 1177
c6da642e
DD
11782000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1179
1180 * bsearch.c: New file.
1181 * configure.in (funcs): Add bsearch.
1182 (AC_CHECK_FUNCS): Likewise.
1183 * configure, config.in: Regenerate.
1184
ae7d06ad 11852000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
1186
1187 * safe-ctype.c: #include "ansidecl.h".
1188 * strtod.c: Likewise.
1189
ae7d06ad 11902000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
1191
1192 * strtoul.c: Include safe-ctype.h, not ctype.h.
1193
ac424eb3
DD
11942000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
1195
1196 * safe-ctype.c: New file.
1197 * Makefile.in (CFILES): Add safe-ctype.c.
1198 (REQUIRED_OFILES): Add safe-ctype.o.
1199
1200 * argv.c: Define ISBLANK and use it, not isspace.
1201 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
1202 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
1203 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
1204 before calling TOLOWER(c)/TOUPPER(c).
1205
4415a860
DD
12062000-12-07 Mike Stump <mrs@wrs.com>
1207
1208 * Makefile.in (distclean): When cleaning, remove testsuite.
1209
849ee224
DD
12102000-12-05 Jason Merrill <jason@redhat.com>
1211
1212 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
1213 name before allocating the dyn_string.
1214
ae7d06ad 12152000-12-04 Jason Merrill <jason@redhat.com>
e49a569c
DD
1216
1217 * cp-demangle.c: s/new_abi/v3/.
1218 * cplus-dem.c: Likewise.
1219 (current_demangling_style): Now auto_demangling.
1220 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
ae7d06ad 1221 (main): Use standard symbol chars for auto_demangling.
e49a569c 1222
ae7d06ad 12232000-11-26 Mark Mitchell <mark@codesourcery.com>
5ca0f83d
DD
1224
1225 * hashtab.c (higher_prime_number): Use a table, rather than a
1226 seive, to find the next prime.
ae7d06ad
NC
1227
12282000-11-22 H.J. Lu <hjl@gnu.org>
1229
1230 * cplus-dem.c (main): Handle gnat_demangling.
1231
12322000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
2ea7befd
DD
1233
1234 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
1235 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
1236 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
1237 argument form of AC_DEFINE in dummy definitions block. Use
1238 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
1239 in dummy block. Preload cache variables instead of bypassing
1240 tests, where possible.
1241 * acconfig.h: Removed.
ae7d06ad 1242
2ea7befd
DD
1243 * xmalloc.c (xmalloc_failed): New function, does error
1244 reporting on failed allocation.
1245 (xmalloc, xcalloc, xrealloc): Use it.
9c26dc82 1246
f1775526
HPN
12472000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
1248
1249 * cplus-dem.c (cplus_demangle): Fix formatting.
1250 (grow_vect): Ditto.
1251 (ada_demangle): Ditto.
1252 (internal_cplus_demangle): Ditto.
1253 (mop_up): Ditto.
1254
12552000-11-21 H.J. Lu <hjl@gnu.org>
1256
1257 * cplus-dem.c (main): Handle java_demangling.
1258
ae7d06ad 12592000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
f1775526
HPN
1260
1261 * cplus-dem.c (grow_vect): Prototype.
1262 (ada_demangle): Cast the arg of ctype macros to unsigned char.
1263
5dd42ef4
HPN
12642000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
1265
1266 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
1267 parameter `option'.
1268
296731c1
DD
12692000-11-15 Kenneth Block <kenneth.block@compaq.com>
1270
8944fb9d 1271 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
296731c1
DD
1272 be used in GCC.
1273
6e53a714 12742000-11-15 Kenneth Block <kenneth.block@compaq.com>
16e85745 1275
5dd42ef4 1276 * cplus-dem.c: Add gnat demangler. Add java to demangle style
16e85745
HPN
1277 list.
1278
99a4c1bd
HPN
12792000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
1280
1281 * hashtab.c (htab_expand): Change to return int. Use calloc or
8aefe91a
DD
1282 xcalloc depending on htab->return_allocation_failure. Return zero
1283 if calloc fails.
99a4c1bd
HPN
1284 (htab_create): Update comment to cover memory allocation.
1285 (htab_try_create): New.
1286 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
8aefe91a 1287 Update comment to cover this.
99a4c1bd 1288
e0f3df8f
HPN
12892000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
1290
1291 * hashtab.c: Change void * to PTR where necessary.
1292 (htab_create, htab_expand): Correct formatting of comment before
1293 function.
1294
ae7d06ad 12952000-10-22 Alex Samuel <samuel@codesourcery.com>
59666b35
DD
1296
1297 * cp-demangle.c (string_list_def): Add caret_position and comments.
1298 (result_caret_pos): New macro.
1299 (result_append_string): Rename to...
1300 (result_add_string): ... this, and insert at caret position.
ae7d06ad 1301 Rename throughout.
59666b35
DD
1302 (result_append): Rename to...
1303 (result_add): ... this, and insert at caret position. Rename
ae7d06ad 1304 throughout.
59666b35
DD
1305 (result_append_char): Rename to...
1306 (result_add_char): ... this, and insert at caret position. Rename
ae7d06ad 1307 throughout.
59666b35
DD
1308 (result_append_space): Remove.
1309 (string_list_new): Initialize caret position.
1310 (result_add_separated_char): Use caret position.
1311 (result_get_caret): New funtion.
1312 (result_set_caret): Likewise.
1313 (result_shift_caret): Likewise.
1314 (result_previous_char_is_space): Likewise.
1315 (substitution_start): Use caret position.
1316 (substitution_add): Likewise.
1317 (demangling_new): Initialize caret position.
1318 (demangle_encoding): Use caret position.
ae7d06ad 1319 (demanglin_nested_name): Put CV qualifiers after name.
59666b35
DD
1320 (demangle_type_ptr): Use switch statement. Handle pointers to
1321 arrays. Don't use result_append_space. Use caret position.
1322 (demangle_type): Emit CV qualifiers after underlying type. Adjust
ae7d06ad
NC
1323 call to demangle_array_type.
1324 (demangle_array_type): Add parameter to handle pointers to arrays.
74bcd529 1325
ae7d06ad 13262000-10-01 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
1327
1328 * splay-tree.c (splay_tree_insert): Fix formatting.
ae7d06ad
NC
1329
13302000-09-16 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
1331
1332 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
ae7d06ad
NC
1333
13342000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1335
1336 * splay-tree.c: #include <stdio.h>.
1337
13382000-09-14 Hans-Peter Nilsson <hp@axis.com>
1339
1340 * testsuite/demangle-expected: Add two tests for anonymous
1341 namespaces.
1342 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
1343
13442000-09-10 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
1345
1346 * splay-tree.c (splay_tree_predecessor): New function.
1347 (splay_tree_successor): Likewise.
ae7d06ad
NC
1348
13492000-09-10 Hans-Peter Nilsson <hp@axis.com>
1350
1351 * testsuite/demangle-expected: Add four tests for type_info
1352 mangling.
1353 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
1354 for a non-template non-qualified type_info function or node.
1355
13562000-09-08 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1357
1358 * cp-demangle.c: Fix copyright banner.
ae7d06ad
NC
1359
13602000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1361
1362 * md5.c: #include "ansidecl.h".
1363
13642000-09-06 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1365
1366 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
1367 (demangle_type): Handle substitution candidates correctly in the
1368 face of special substitutions.
ae7d06ad
NC
1369
13702000-09-05 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1371
1372 * cp-demangle.c (demangle_encoding): Rename variable.
1373 (demangle_name): Rename parameter. Handle return type
1374 suppression.
1375 (demangle_nested_name): Rename parameter.
1376 (demangle_prefix): Likewise. Change return type suppression.
1377 (demangle_unqualified_name): Add parameter. Flag constructors and
1378 conversion operators.
1379 (demangle_special_name): Fix comment.
1380 (demangle_type): Rename variable.
1381 (demangle_bare_function_type): Check for missing return type and
1382 parameter.
1383 (demangle_class_enum_type): Rename parameter.
1384 (demangle_discriminator): Fix misspelling in comment.
ae7d06ad
NC
1385
13862000-08-31 DJ Delorie <dj@redhat.com>
1387
1388 * configure.in (Cygwin): special case cygwin only when we're
1389 building cygwin, not when we're hosting cygwin.
1390
13912000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1392
1393 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
1394 <expression>.
ae7d06ad
NC
1395
13962000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1397
1398 * cp-demangle.c (demangle_type_ptr): Increment position past
1399 pointer and reference characters.
ae7d06ad
NC
1400
14012000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1402
1403 * cp-demangle.c (demangle_nv_offset): New function.
1404 (demangle_v_offset): Likewise.
1405 (demangle_call_offset): Likewise.
1406 (demangle_special_name): Update thunk demangling to comply with
1407 ABI changes.
ae7d06ad
NC
1408
14092000-09-03 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1410
1411 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
1412 (substitution_def): Remove template_parm_number.
1413 (NOT_TEMPLATE_PARM): Remove.
1414 (result_insert_string): New macro.
1415 (result_insert): Likewise.
1416 (result_insert_char): Likewise.
1417 (substitution_add): Remove last parameter. Don't store template
1418 parm number.
1419 (BFT_NO_RETURN_TYPE): Define as NULL.
1420 (demangle_encoding): Adjust call to demangle_bare_function_type.
1421 (demangle_name): Adjust substitution. Adjust call to
1422 substitution_add.
1423 (demangle_prefix): Adjust call to substitution_add.
1424 (demangle_identifier): Handle anonymous namespaces.
1425 (demangle_operator_name): Change demangling of vendor-extended
1426 operator to match ABI changes.
1427 (demangle_type_ptr): Change parameters. Make recursive. Handle
1428 substitutions here.
1429 (demangle_type): Adjust calls to demangle_template_param,
1430 substitution_add, and demangle_type_ptr. Fix substitution of
1431 templated types.
1432 (demangle_function_type): Change parameter to a pointer.
1433 (demangle_bare_function_type): Likewise. Adjust insertion point.
1434 (demangle_template_param): Remove last parameter.
1435 (demangle_expr_primary): Remove unused variable. Adjust call to
1436 demangle_template_param.
1437 (is_mangled_char): Accept `$' and `.'.
1438 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
1439 * dyn-string.c (dyn_string_insert_char): New function.
ae7d06ad
NC
1440
14412000-08-31 Hans-Peter Nilsson <hp@axis.com>
1442
1443 * testsuite/demangle-expected: Add nine tests for
1444 underscore-after-number followed by five tests for name-signature
1445 delimiter.
1446
14472000-08-28 Richard Henderson <rth@cygnus.com>
74bcd529
DD
1448
1449 * Makefile.in (md5.o): Depend on config.h.
ae7d06ad
NC
1450
14512000-08-28 Jason Merrill <jason@redhat.com>
1452
1453 * Makefile.in (REQUIRED_OFILES): Add md5.o.
1454 (CFILES): Add md5.c.
1455 * md5.c: New file.
1456
14572000-08-27 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1458
1459 * cp-demangle.c (demangle_name): Initialize template_p in local
1460 name case. Don't re-add substitutions as candidates.
1461 (demangle_nested_name): Use <unqualified-name>.
1462 (demangle_prefix): Likewise. Don't add template names as
1463 substitution candidates twice, or re-add a substitution or the
1464 last prefix component.
1465 (demangle_local_name): Adjust output format.
ae7d06ad
NC
1466
14672000-08-25 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1468
1469 * cp-demangle.c (result_add_separated_char): Change parameter to
1470 int.
1471 (substitution_add): Don't check for duplicates. Check if
1472 previously allocated size is zero.
1473 (demangle_name): Remove duplicate check for std substitution.
1474 Clear template flag appropriately.
1475 (demangle_prefix): Remove argument to demangle_substitution.
1476 Don't check that template flag is already set.
1477 (demangle_operator_name): Add pt operator.
1478 (demangle_type): Don't treat r as built-in type. Remove argument
1479 to demangle_substitution. Fix substitution candidate mechanics.
1480 Handle <template-template-parm>s. Improve comments.
1481 (demangle_template_param): Don't handle template arg lists here.
1482 (demangle_substitution): Remove parameter.
1483 (print_usage): Remove extra fprintf option.
ae7d06ad
NC
1484
14852000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
1486
1487 * libiberty/random.c (end_ptr): Revert previous change.
ae7d06ad
NC
1488
14892000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
1490
1491 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
1492 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
1493 * libiberty/random.c (end_ptr): Likewise.
ae7d06ad
NC
1494
14952000-08-23 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1496
1497 * cp-demangle.c (result_close_template_list): Remove function.
1498 (result_add_separated_char): New function.
1499 (result_open_template_list): New macro.
1500 (result_close_template_list): Likewise.
1501 (demangle_prefix): Don't set template_p if the
1502 prefix ends with a ctor name.
1503 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
1504 (demangle_type): Check for template args after substitution.
1505 (demangle_template_args): Use result_open_template_list.
d3e85005 1506
ae7d06ad 15072000-08-02 Zack Weinberg <zack@wolery.cumb.org>
64e3a659 1508
ae7d06ad 1509 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
050823ca 1510
ae7d06ad 15112000-07-26 Dave Pitts <dpitts@cozx.com>
d6e83f5f
JL
1512
1513 * config/mh-openedition.h: Added -DLE370 definition.
1514
a9f34fb6
JL
15152000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
1516
1517 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
1518 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
1519 Cast program to 'char *' in errmsg_arg assignment.
1520 (PWAIT_ERROR): Define.
1521 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
1522 to DJGPP's WIF* macros.
1523
90aaccd1 15242000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
ae7d06ad 1525 Jeff Law <law@cygnus.com>
90aaccd1 1526
ae7d06ad 1527 * getcwd.c: Include string.h, stdlib.h for prototypes
443519c1 1528
90aaccd1 1529 * Makefile.in (rename.o, waitpid.o): Depend on config.h
ae7d06ad
NC
1530 * rename.c: Include config.h, unistd.h
1531 * waitpid.c: Include config.h, sys/wait.h
90aaccd1 1532
6ef554e3
HPN
15332000-07-24 Hans-Peter Nilsson <hp@axis.com>
1534
1535 * cplus-dem.c (work_stuff_copy_to_from): New.
1536 (delete_non_B_K_work_stuff): New.
1537 (delete_work_stuff): New.
1538 (mop_up): Break out work_stuff partly destruction to
1539 delete_non_B_K_work_stuff.
1540 (iterate_demangle_function): New.
1541 (demangle_prefix): Call iterate_demangle_function instead of
1542 demangle_function_name. Leave handling of name-signature
1543 __-delimiters to iterate_demangle_function.
1544 (demangle_integral_value): Strip an optional
1545 following underscore cautiously. Handle negative numbers.
1546
ae7d06ad 15472000-07-24 Daniel Berlin <dberlin@redhat.com>
e8865c28 1548
ae7d06ad 1549 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
e8865c28
DB
1550 if (AUTO_DEMANGLING || GNU_DEMANGLING)
1551
ae7d06ad
NC
15522000-07-21 Alex Samuel <samuel@codesourcery.com>
1553
1554 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
1555 allocating ctor mangling.
1556 (demangle_array_type): Handle empty and non-constant array length.
1557
b1233257 15582000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
62df2065
JL
1559 Jeff Law <law@cygnus.com>
1560
1561 * configure.in (AC_CHECK_HEADERS): Add time.h.
1562 (AC_HEADER_TIME): Add check.
1563 * configure, config.in: Regenerate.
1564 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
1565
1566 * configure.in (AC_CHECK_HEADERS): Add limits.h.
1567 * configure, config.in: Regenerate.
1568 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
1569 * strtol.c, strtoul.c: #include "config.h". Portably #include
1570 <limits.h> and/or <sys/param.h>.
1571 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
b1233257 1572
7d3ffcaf
JL
1573 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
1574 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
1575 * configure, config.in: Regenerate.
1576 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
1577
b1233257
JL
1578 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
1579
ae7d06ad
NC
15802000-07-21 Mike Stump <mrs@wrs.com>
1581
1582 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
1583 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
1584
15852000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1586
1587 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
1588
1589 * setenv.c (setenv): Initialize variable `ep'.
1590
1591 * sigsetmask.c (abort): Prototype.
1592
1593 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
1594 __STDC__ for stdarg.h include.
1595 (int_vasprintf): Prototype.
1596 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
1597 definition. Cast `global_total_width' in comparison.
1598 (main): Prototype. Return a value.
1599
1600 * vfork.c (fork): Prototype.
1601
1602 * xexit.c: Include config.h.
1603
9adf30b2
JL
16042000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
1605
1606 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
1607 and print it with %u.
1608
2ed78d1b
HPN
16092000-07-17 Hans-Peter Nilsson <hp@axis.com>
1610
1611 * testsuite/regress-demangle (failed test): Show result and
1612 expected output.
1613
0473bdf7
AH
16142000-07-07 Andrew Haley <aph@cygnus.com>
1615
1616 * cplus-dem.c (main): fflush() after emitting last char before
1617 waiting for input.
1618
03d5f569
JM
16192000-06-28 Alex Samuel <samuel@codesourcery.com>
1620
1621 * cp-demangle.c (demangle_encoding): Accept no substitutions.
1622 (demangle_name): Handle <substitution> followed by
1623 <unqualified-template-name>.
1624 (demangle_type): Follow special substitutions with
1625 <class-enum-type>
1626 (demangle_subtitution): Set template_p for special substitutions.
1627 (main): Fix typos.
ae7d06ad 1628
03d5f569
JM
16292000-06-27 Alex Samuel <samuel@codesourcery.com>
1630
1631 * cp-demangle.c (demangle_special_name): Swap base and derived
1632 class when demangling construction vtables.
1633
16342000-06-21 Alex Samuel <samuel@codesourcery.com>
1635
1636 * cp-demangle.c: Don't include ctype.h.
1637 (IS_DIGIT): New macro.
1638 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
1639 instead of isdigit and isalpanum.
1640 (demangling_def): Make name and next const pointers.
1641 (STATUS_ALLOCATION_FAILED): New status code.
1642 (dyn_string_append_space): Handle failure in
1643 dyn_string_append_char.
1644 (int_to_dyn_string): Likewise. Change return value to status_t.
1645 (string_list_new): Handle failure of dyn_string_init.
1646 (result_close_template_list): Change return type to status_t.
1647 Handle failure in dyn_string_append.
1648 (result_push): Change return value to status_t. Handle failure in
1649 string_list_new. Handle failure of result_push throughout.
1650 (substitution_add): Change return value to status_t. Handle
1651 dyn_string failures. Handle failure of substitution_add
1652 throughout.
1653 (template_arg_list_new): Return NULL on allocation failure.
1654 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
1655 Handle error result throughout.
1656 (result_append): Likewise.
1657 (result_append_char): Likewise.
1658 (result_append_space): Likewise.
1659 (demangling_new): Make argument a const pointer. Handle
1660 allocation failures.
1661 (demangle_template_args): Handle failure in template_arg_list_new
1662 and result_close_template_list.
1663 (demangle_discriminator): Return if int_to_dyn_string fails.
1664 (cp_demangle): Likewise.
1665 (cp_demangle_type): New function.
1666 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
1667 memory allocation failure.
1668 (main): Likewise.
1669 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
1670 IN_LIBGCC2.
1671 (dyn_string_init): Change return value to int. Handle
1672 RETURN_ON_ALLOCATION_FAILURE case.
1673 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
1674 (dyn_string_release): Delete the dyn_string.
1675 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
1676 (dyn_string_copy): Change return type to int.
1677 (dyn_string_copy_cstr): Likewise.
1678 (dyn_string_prepend): Likewise.
1679 (dyn_string_prepend_cstr): Likewise.
1680 (dyn_string_insert): Likewise.
1681 (dyn_string_insert_cstr): Likewise.
1682 (dyn_string_append): Likewise.
1683 (dyn_string_append_cstr): Likewise.
1684 (dyn_string_append_char): Likewise.
1685 (dyn_string_substring): Likewise.
ae7d06ad 1686
eb383413 16872000-06-09 Zack Weinberg <zack@wolery.cumb.org>
9cc28cc8 1688
eb383413
L
1689 * cp-demangle.c (demangle_operator_name): Add spaces before
1690 names beginning with a letter: delete, delete[], new, new[],
1691 sizeof.
1692 (demangle_special_name): Handle TF <type> and TJ <type>.
9cc28cc8 1693
eb383413
L
1694Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
1695
1696 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
1697
1698Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
1699
1700 * cp-demangle.c (stdio.h): File included unconditionaly.
1701 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
1702 * dyn-string.c (stdio.h): File included.
1703 * partition.c (partition_print): No `&' needed to take the address of
1704 a function.
1705
17062000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1707
1708 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
ae7d06ad 1709
eb383413
L
1710 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
1711
1712 * cp-demangle.c (demangle_char): Change parameter from char to int.
1713 (demangle_expression, demangle_expr_primary): Remove extra
1714 semi-colon in prototype.
1715
1716 * dyn-string.c (dyn_string_append_char): Change parameter from
1717 char to int.
1718
1719 * memcmp.c (memcmp): Constify.
1720
1721 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
1722 __extension__.
1723
1724 * partition.c (elem_compare): Prototype. Don't cast away
1725 const-ness.
1726
1727 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
ae7d06ad 1728
eb383413
L
17292000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1730
1731 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
1732
1733 * cp-demangle.c: Include demangle.h.
1734 (template_arg_list_new): DeANSIfy.
1735 (cp_demangle): Make static and add prototype.
1736 (operator_code, operators): Constify.
1737 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
1738
17392000-06-05 Alex Samuel <samuel@codesourcery.com>
1740
1741 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
1742 unsigned char.
1743 (demangle_unqualified_name): Likewise.
1744 (demangle_number_literally): Likewise.
1745 (demangle_type): Likewise.
1746 (demangle_substitution): Likewise.
1747 (is_mangled_char): Likewise, for isalnum.
1748
17492000-06-04 Alex Samuel <samuel@codesourcery.com>
1750
1751 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
1752 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
1753 (cp-demangle.o): New dependency.
1754 (dyn-string.o): Likewise.
1755
1756 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
1757
1758 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
1759 demangler.
1760 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
1761 demangling mode.
1762 (gnu_new_abi_symbol_characters): New function.
1763 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
1764 file.
1765 * cp-demangle.c: New file.
ae7d06ad 1766
f03aa80d
AC
1767Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
1768
1769 * floatformat.c: Add name to each floatformat field.
1770
77bfb694
JL
1771Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
1772
1773 * Makefile.in (objalloc.o): Depend on config.h
1774
5c82d20a
ZW
17752000-05-29 Zack Weinberg <zack@wolery.cumb.org>
1776
eb383413 1777 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
5c82d20a
ZW
1778 if HAVE_STRING_H.
1779 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
1780 * objalloc.c: Include config.h. Include stdlib.h and don't
1781 declare malloc or free if HAVE_STDLIB_H.
1782 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
1783 else declare malloc without prototype. Include string.h if
1784 HAVE_STRING_H, else declare memset without prototype. Don't
1785 include stddef.h.
1786
eb383413
L
17872000-05-23 Mike Stump <mrs@wrs.com>
1788
1789 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
8aefe91a 1790 -j3.
eb383413
L
1791
17922000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
1793
1794 * xmalloc.c: Include config.h for HAVE_SBRK definition.
1795
17962000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
1797
ae7d06ad 1798 * hashtab.c (hash_pointer): Delete low-order bits which are
eb383413
L
1799 probably zero, also eliminate a warning on alpha.
1800
18012000-05-15 David Edelsohn <edelsohn@gnu.org>
1802
1803 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
1804 on $(enable_shared).
1805
18062000-05-10 Jakub Jelinek <jakub@redhat.com>
1807
1808 * config.table: Use mh-sparcpic for sparc*-*-*.
1809
18102000-05-08 Nick Clifton <nickc@cygnus.com>
1811
1812 * Makefile.in (CFILES): Add strncmp.c.
1813 (NEEDED): Add strncmp.
1814
18152000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5c82d20a 1816
eb383413
L
1817 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
1818 Cast the arguments to `islower' to `unsigned char'.
1819 (print_demangler_list): Prototype.
1820
1821Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
1822
1823 * sort.c (UCHAR_MAX): Provide fallback definition.
1824
18252000-04-29 Alexandre Oliva <aoliva@cygnus.com>
010c70e1
AO
1826
1827 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
1828 SUBDIRS.
1829
eb383413
L
18302000-04-28 Kenneth Block <block@zk3.dec.com>
1831 Jason Merrill <jason@casey.cygnus.com>
1832
ae7d06ad
NC
1833 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
1834 (cplus_demangle_set_style): New function for setting style.
1835 (cplus_demangle_name_to_style): New function to translate name.
eb383413
L
1836
18372000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1838
1839 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
1840
1841 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
1842 (libiberty_AC_FUNC_STRNCMP): Invoke.
1843
1844 * strncmp.c: New file.
1845
1846Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
1847
1848 * hashtab.c (htab_expand): Add prototype.
1849 (find_empty_slot_for_expand): Likewise.
1850
18512000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1852
1853 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
1854 match prototype.
1855 (htab_expand): Cast the return value of xcalloc.
1856
18572000-04-24 Mark Mitchell <mark@codesourcery.com>
1858
1859 * hashtab.c (hash_pointer): New function.
1860 (eq_pointer): Likewise.
1861 (htab_hash_pointer): New variable.
1862 (htab_eq_pointer): Likewise.
1863
18642000-04-23 Mark Mitchell <mark@codesourcery.com>
1865
1866 * sort.c (sort_pointers): Fix endianness bugs.
1867
1868 * sort.c: New file.
1869 * Makefile.in (CFILES): Add sort.c
1870 (REQUIRED_OFILES): Add sort.o.
1871 (sort.o): New target.
1872
19be4303
JL
18732000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1874
1875 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
1876 4.3BSD systems.
1877
eb383413
L
1878Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1879
1880 * hashtab.c: Various minor cleanups.
1881 (htab_find_slot_with_hash): INSERT is now enum insert_option.
1882 (htab_find_slot): Likewise.
1883
18842000-04-16 Dave Pitts <dpitts@cozx.com>
1885
1886 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
ae7d06ad 1887
afe36a78
RH
18882000-04-05 Richard Henderson <rth@cygnus.com>
1889
1890 * splay-tree.c (splay_tree_remove): New.
1891
eb383413
L
18922000-03-30 Mark Mitchell <mark@codesourcery.com>
1893
1894 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
1895 codes.
1896 (htab_find_with_hash): Likewise.
1897 (htab_find_slot_with_hash): Likewise.
ae7d06ad 1898
eb383413
L
18992000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1900
1901 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
1902 unless it will be used. Rearrange loop for better
1903 optimization.
1904 (higher_prime_number): Add static prototype.
1905
b4fe2683
JM
1906Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
1907
1908 * Makefile.in (partition.o): Depend on config.h
1909
19102000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
1911
1912 * hashtab.c (find_empty_slot_for_expand): New function.
1913 (htab_expand): Use it instead of htab_find_slot.
1914 (htab_find_with_hash): Renamed from htab_find; now accepts extra
1915 argument HASH.
1916 (htab_find_slot_with_hash): Likewise for htab_find_slot.
1917 (htab_find): New wrapper function.
1918 (htab_find_slot): Likewise.
1919 (htab_traverse): Pass slot, not entry, to called function.
1920
19212000-03-09 Alex Samuel <samuel@codesourcery.com>
1922
1923 * Makefile.in (CFILES): Add partition.c.
1924 (REQUIRED_OFILES): Add partition.o.
1925 (partition.o): New rule.
1926 * partition.c: New file.
ae7d06ad 1927
b4fe2683
JM
19282000-03-09 Zack Weinberg <zack@wolery.cumb.org>
1929
1930 * hashtab.c (htab_create): Set del_f.
1931 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
1932 Use it.
1933
19342000-03-08 Zack Weinberg <zack@wolery.cumb.org>
1935
1936 * hashtab.c: Remove debugging variables (all_searches,
1937 all_collisions, all_expansions). Delete
1938 all_hash_table_collisions.
1939 (create_hash_table, delete_hash_table, empty_hash_table,
1940 find_hash_table_entry, remove_element_from_hash_table_entry,
1941 clear_hash_table_slot, traverse_hash_table, hash_table_size,
1942 hash_table_elements_number, hash_table_collisions): Rename to:
1943 htab_create, htab_delete, htab_empty, htab_find_slot,
1944 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
1945 htab_elements, htab_collisions.
1946 (htab_find): New function, handles common case where you don't
1947 plan to add or delete an entry.
1948 (htab_expand): Don't create a whole new table, just a new
1949 entry vector.
1950 (htab_find_slot): Simplify logic.
1951
08372f14
ILT
19521999-08-03 Ian Lance Taylor <ian@zembu.com>
1953
1954 * floatformat.c: Add casts to avoid signed/unsigned warnings.
1955 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
1956
1957 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
1958 $(TARGETLIB)n so it works on MSDOS.
1959 (install_to_tooldir): Likewise.
1960
9c8ac5a9
ILT
19611999-07-21 Ian Lance Taylor <ian@zembu.com>
1962
1963 From Mark Elbrecht:
1964 * makefile.dos: Remove; obsolete.
8f36e47c 1965 * configure.bat: Remove; obsolete.
9c8ac5a9 1966
0c0a36a4
ILT
19671999-07-11 Ian Lance Taylor <ian@zembu.com>
1968
1969 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1970 warning.
1971
19722000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1973
1974 * pexecute.c: Conditionally include string.h.
b4fe2683 1975 (fix_argv): Handle embedded whitespace in args for Mingw32.
0c0a36a4
ILT
1976
19772000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1978
1979 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
1980 we're using gcc.
1981
1982 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
1983
19841999-12-27 Geoff Keating <geoffk@cygnus.com>
1985
1986 * vasprintf.c (int_vasprintf): Don't re-read the format character
1987 as this mishandles strings like '%%s'.
1988
19891999-12-05 Mark Mitchell <mark@codesourcery.com>
1990
1991 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
1992 rather than struct splay_tree_node.
1993 (splay_tree_insert): Use struct splay_tree_s rather than struct
1994 splay_tree.
1995
1996Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
1997
1998 * hashtab.c (sys/types.h): File included.
1999
20001999-11-22 Jason Merrill <jason@casey.cygnus.com>
2001
2002 * strtoul.c, strtol.c, random.c: Remove advertising clause from
2003 BSD license, pursuant with
2004
2005 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
2006
2007Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
2008
2009 * hashtab.c: Include stdio.h.
2010
2011Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
2012
2013 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
2014
2015Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
2016
2017 * xstrdup (sys/types.h): Include this file.
2018
20191999-10-28 Nathan Sidwell <nathan@acm.org>
2020
2021 * Makefile.in (SUBDIRS): New macro.
2022 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
2023 avoid multiple subdirectory cleaning.
2024 (*-subdir): Use SUBDIRS.
2025
20261999-10-25 Jim Kingdon <http://developer.redhat.com/>
2027
2028 * cplus-dem.c: Move declarations of standard_symbol_characters and
2029 hp_symbol_characters inside #ifdef MAIN to avoid compiler
2030 warnings.
2031
20321999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
2033
2034 * hashtab.c (find_hash_table_entry): When returning a
2035 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
2036 (clear_hash_table_slot): New function which deletes an entry
2037 by its position in the table, not its value.
2038 (traverse_hash_table): New function which calls a hook
2039 function for every live entry in the table.
2040
20411999-10-19 Mark Mitchell <mark@codesourcery.com>
2042
2043 * cplus-dem.c (INTBUF_SIZE): New macro.
2044 (string_append_template_idx): New function.
2045 (demangle_expression): Likewise.
2046 (demangle_integral_value): Use it.
2047 (demangle_real_value): New function, split out from ...
2048 (demangle_template_value_parm): ... here. Use
2049 string_append_template_idx. Use demangle_real_value.
2050 (demangle_template): Use string_append_template_idx.
2051 (demangle_qualified): Use consume_count_with_underscores.
2052 (get_count): Tweak formatting.
2053 (do_type): Use string_append_template_idx.
b4fe2683 2054
0c0a36a4
ILT
20551999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2056
2057 * calloc.c: Add a public domain notice.
2058
2059Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
2060
2061 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
2062
2063Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
2064
2065 * Makefile.in (CFILES): Add hashtab.c
2066 (REQUIRED_OFILES): Add hashtab.o
2067 (hashtab.o): Add dependencies.
2068 * hashtab.c: New file
2069
2070Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
2071
2072 * basename.c (DIR_SEPARATOR): New macro.
2073 (DIR_SEPARATOR_2): Likewise.
2074 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
2075 (IS_DIR_SEPARATOR): Likewise.
2076 (main): Handle MSDOS style pathname.
2077
20781999-10-11 Mark Mitchell <mark@codesourcery.com>
2079
2080 * cplus-dem.c (do_type): Handle pointer to member types whose
2081 enclosing classes have namespace scope.
2082
2083Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
2084
2085 * config.table: Provide a backup shell for executing move-if-change.
2086
20871999-10-02 Mark Mitchell <mark@codesourcery.com>
2088
2089 * xmalloc.c (xmalloc): Fix spelling error.
2090 (xcalloc, xrealloc): Likewise.
2091
20921999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2093
2094 * cplus-dem.c (fancy_abort, demangle_integral_value,
2095 demangle_arm_hp_template, recursively_demangle,
2096 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
2097 (program_name, program_version, fatal): Constify a char*.
2098 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
2099 (main): Call return, not exit.
2100
21011999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2102
2103 * choose-temp.c: Remove obsolete comment about gcc.
2104 (make_temp_file): Constify a char*.
2105
2106Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2107
2108 * xmemdup.c: Include sys/types.h.
2109
21101999-09-07 Jeff Garzik <jgarzik@pobox.com>
2111
2112 * xmemdup.c: New xmemdup function.
2113 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
2114
2115Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
2116
b4fe2683 2117 * config.table: Add openedition target.
0c0a36a4
ILT
2118 * config/mh-openedition: New file.
2119
2120Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
2121
2122 * pexecute.c (pexecute): Fill in temp_base when needed.
2123
21241999-08-31 Richard Henderson <rth@cygnus.com>
2125
2126 * getpwd.c: Check HAVE_GETCWD before defining it away.
2127
21281999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2129
2130 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
2131 (REQUIRED_OFILES): Add getpwd.o.
2132 (getpwd.o): Add target.
2133
2134 * configure.in (AC_PREREQ): Bump to 2.13.
2135 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
2136
2137 * getpwd.c: New file, moved here from gcc.
2138
21391999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2140
2141 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
2142 comparing against a signed quantity.
2143 (arm_special): Likewise.
2144 (demangle_fund_type): Likewise.
2145 (do_hpacc_template_const_value): Mark parameter `work' with
b4fe2683 2146 ATTRIBUTE_UNUSED.
0c0a36a4
ILT
2147 (main): Constify variable `valid_symbols'.
2148
2149Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
2150
2151 * strtoul.c (strtoul): Add parentheses around && within ||.
2152
2153Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
2154
2155 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
2156 libdir, libsubdir and tooldir.
2157
21581999-08-01 Mark Mitchell <mark@codesourcery.com>
2159
2160 * splay-tree.c (splay_tree_insert): Return the new node.
2161
35ca97ea
RH
21621999-07-14 Richard Henderson <rth@cygnus.com>
2163
b4fe2683 2164 * argv.c: Include stdlib.h and string.h instead of
35ca97ea
RH
2165 prototyping directly.
2166 * choose-temp.c: Conditionally include string.h.
2167
0c0a36a4
ILT
21681999-07-12 Jason Merrill <jason@yorick.cygnus.com>
2169
2170 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
2171
af32ff69
ILT
21721999-07-11 Ian Lance Taylor <ian@zembu.com>
2173
2174 * splay-tree.c (splay_tree_insert): Add initialization to avoid
2175 warning.
2176
0c0a36a4
ILT
21771999-07-07 Jason Merrill <jason@yorick.cygnus.com>
2178
2179 * Makefile.in (needed-list): Only include stuff we actually need
2180 for libstdc++.
2181
21821999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2183
2184 * configure.in (checkfuncs): Add gettimeofday.
2185 * config.in, configure: Regenerated.
2186
2187Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
2188
2189 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
2190 the test fails.
2191 * configure: Regenerate.
2192
21931999-06-10 Mike Stump <mrs@wrs.com>
2194
2195 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
2196 parallel builds.
2197
21981999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2199
2200 * putenv.c: Include ansidecl.h to define `const'.
2201 * setenv.c: Likewise.
2202
2203Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
2204
2205 * Makefile.in (CFILES): Add putenv.c and setenv.c.
2206 * configure.in (funcs): Add putenv and setenv.
2207 (AC_CHECK_FUNCS): Check for putenv and setenv.
2208 * configure: Rebuilt.
2209 * putenv.c setenv.c: New files.
2210
2211 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
2212 bytes of space using malloc.
2213
2214Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
2215
2216 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
2217 the *mangled pointer beyond the end of the string. Clean up code to
2218 match prevailing coding style.
2219
22201999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2221
2222 * tmpnam.c (L_tmpnam): Fix typo.
2223
2224Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
2225
2226 * cplus-dem.c (standard_symbol_characters): Renamed from
2227 standard_symbol_alphabet. No longer modify TABLE.
2228 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
2229 modify TABLE.
2230 (main): Corresponding changes. Use strchr to determine if a
2231 character is valid.
2232
e9868447
JB
22331999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
2234
2235 * cplus-dem.c (main): Use table lookup to distinguish identifier
2236 characters from non-identifier characters.
2237 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
2238
33fbbfbc
RH
2239Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
2240
2241 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
2242 * getruntime.c: Only attempt to include sys/resource.h and
2243 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
2244 are defined.
2245
0c0a36a4
ILT
2246Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
2247
2248 * configure.in (alloca detection): Handle alloca directly for interix.
2249 * configure: Rebuilt.
2250
2251Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
2252
2253 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
2254
252b5132
RH
22551999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
2256
2257 Fix from Dale Hawkins:
b4fe2683 2258 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
252b5132
RH
2259 reallocated properly if we use it again.
2260
2261 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
2262 stricter about syntax. Always null-terminate string.
2263
c1687039
ILT
2264Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
2265
2266 * configure.in (checkfuncs): Check for sbrk.
2267 * config.in: Rebuilt.
2268 * configure: Likewise.
2269 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
2270
0c0a36a4
ILT
22711999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
2272
2273 Fix from Marcus Daniels:
2274 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
2275 identifier looking for another underscore.
2276
2277Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
2278
2279 * pexecute.c: Change all references to __UWIN__ to _UWIN.
2280 * xmalloc.c: Likewise.
2281 (xcalloc): UWIN has sbrk.
2282 (xrealloc): Fix guard macro.
2283
252b5132
RH
22841999-04-11 Richard Henderson <rth@cygnus.com>
2285
2286 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
2287 or <alloca.h>.
2288 * clock.c (GNU_HZ): New definition.
2289 (clock): Use it.
2290 * getruntime.c: Likewise.
2291
2292 * config.table: Use mh-beos.
2293 * config/mh-beos: New file.
2294
0c0a36a4
ILT
22951999-04-11 Mark Mitchell <mark@codesourcery.com>
2296
2297 * cplus-dem.c (demangle_template_value_parm): Handle
2298 pointers-to-members.
2299 (do_type): Handle template parameters as qualifiers.
2300
252b5132
RH
23011999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
2302
2303 * cplus-dem.c: Attempt to handle overflows in counts with some
2304 semblance of grace.
2305 (consume_count): Detect overflows. Return -1 to indicate errors,
2306 instead of zero.
2307 (demangle_template_value_parm, demangle_template): Handle change
2308 to consume_count's return convention.
2309
0c0a36a4
ILT
23101999-04-05 Tom Tromey <tromey@cygnus.com>
2311
2312 * testsuite/regress-demangle: New file.
2313 * testsuite/demangle-expected: New file.
252b5132 2314
0c0a36a4
ILT
2315 * Makefile.in (all, check, installcheck, info, install-info,
2316 clean-info, dvi, install, etags, tags, mostlyclean, clean,
2317 distclean, maintainer-clean, realclean): Depend on corresponding
2318 `-subdir' target.
2319 (all-subdir check-subdir installcheck-subdir info-subdir
2320 install-info-subdir clean-info-subdir dvi-subdir
2321 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
2322 distclean-subdir maintainer-clean-subdir): New target.
2323 * testsuite/Makefile.in: New file.
2324 * configure: Rebuilt.
2325 * configure.in: Create testsuite/Makefile.
252b5132
RH
2326
23271999-04-02 Mark Mitchell <mark@codesourcery.com>
2328
2329 * splay-tree.h (splay_tree_compare_pointers): Define.
2330
23311999-03-30 Mark Mitchell <mark@codesourcery.com>
2332
2333 * splay-tree.c (splay_tree_compare_ints): Define.
2334
23351999-03-30 Tom Tromey <tromey@cygnus.com>
2336
2337 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
2338 don't advance input pointer.
2339 (demangle_class_name): If consume_count didn't find a count, do
2340 nothing. Don't bother with `strlen' sanity check; consume_count
2341 does it for us.
2342
23431999-03-16 Stan Shebs <shebs@andros.cygnus.com>
2344
2345 From Art Haas <ahaas@neosoft.com>:
2346 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
2347 when doing arm or hp style.
2348 (demangle_nested_args): Decr forgetting_types field when done.
b4fe2683 2349
252b5132
RH
2350Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
2351
2352 * pexecute.c (__CYGWIN32__): Rename to
2353 (__CYGWIN__): this.
2354 * xmalloc.c: Likewise.
2355
2356 Changes to support i386-pc-uwin.
2357 * configure.in (*-*-uwin*): Workaround for vfork bug.
2358 * configure: Regenerate.
2359 * pexecute.c (pexecute): Be like standard Unix.
2360 (pwait): Likewise.
2361 * xmalloc.c (first_break): Define.
2362 (xmalloc_set_program_name): Use.
2363 (xmalloc): Use.
2364
2365Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2366
2367 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
2368
2369Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
2370
2371 * config.table: Check cygwin*, not cygwin32*.
2372
2373Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
2374
2375 * Makefile.in: Change mkstemp -> mkstemps.
2376
2377Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
2378
2379 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
2380 * configure.in (funcs): Check for and conditionally add mkstemps to
2381 the list of functions libiberty will provide.
2382 * configure: Rebuilt.
b4fe2683 2383
252b5132
RH
2384Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
2385
b4fe2683 2386 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
252b5132
RH
2387 platforms that don't have HZ.
2388 * getruntime.c (HZ): Likewise.
2389
2390Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
2391
2392 * Makefile.in (xstrdup.o): Depend on config.h.
2393
2394Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
2395
2396 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
2397 freeing it.
2398
2399Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2400
2401 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
2402
2403Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2404
2405 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
2406 splay-tree.o.
2407
24081999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
2409
2410 * configure.in: Require autoconf 2.12.1 or higher.
2411
24121998-12-30 Michael Meissner <meissner@cygnus.com>
2413
2414 * random.c (NULL): Don't redefine NULL if it is already defined.
2415
2416Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2417
2418 * argv.c (buildargv): Cast the result of alloca in assignment.
2419
2420 * choose-temp.c: Include stdlib.h.
2421
2422 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
8aefe91a
DD
2423 (snarf_numeric_literal): Constify first parameter.
2424 (code_for_qualifier): Avoid a gcc extension, make the parameter an
2425 int, not a char.
252b5132
RH
2426 (demangle_qualifier): Likewise.
2427 (demangle_signature): Cast the argument of a ctype function to
2428 unsigned char.
2429 (arm_pt): Add parens around assignment used as truth value.
2430 (demangle_arm_hp_template): Constify variable `args'.
2431 (do_hpacc_template_const_value): Cast the argument of a ctype
2432 function to unsigned char.
2433 (do_hpacc_template_literal): Remove unused variable `i'.
2434 (snarf_numeric_literal): Constify parameter `args'.
2435 Cast the argument of a ctype function to unsigned char.
2436
2437 * floatformat.c (floatformat_to_double): Add explicit braces to
8aefe91a 2438 avoid ambiguous `else'.
252b5132
RH
2439
2440 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
8aefe91a
DD
2441 `cstart' and `cend' to unsigned char. Cast the argument of macro
2442 `FOLD', which uses ctype functions, to unsigned char.
252b5132
RH
2443
2444 * objalloc.c (free): Add prototype.
2445
2446Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
2447
2448 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
2449
2450Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
2451
2452 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
8aefe91a 2453 doesn't exist.
252b5132 2454 (do_hpacc_template_literal): remove unused variable `i'.
b4fe2683 2455
252b5132
RH
2456Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2457
2458 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
2459 bumping the pointer we read from. Also prepend these codes,
2460 as we do in other places.
2461
24621998-12-18 Nick Clifton <nickc@cygnus.com>
2463
2464 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
2465 'const char *' in order to match its usage when calling siblings.
2466 (snarf_numeric_literal): Make first arg 'const char **' in order
2467 to match usage.
2468
2469Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2470
2471 * choose-temp.c: Don't check IN_GCC anymore.
2472
2473 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
2474 * memchr.c (memchr): Likewise.
2475 * memcpy.c (memcpy): Likewise.
2476 * memmove.c (memmove): Likewise.
2477
2478 * mkstemp.c: Don't check IN_GCC anymore.
2479 * pexecute.c: Likewise.
2480 * splay-tree.c: Likewise.
2481
2482 * strchr.c (strchr): Use `const', not `CONST'.
2483 * strrchr.c (strrchr): Likewise.
2484 * strtol.c (strtol): Likewise.
2485 * strtoul.c (strtoul): Likewise.
2486
2487Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
2488 Elena Zannoni <ezannoni@cygnus.com>
2489 Stan Shebs <shebs@cygnus.com>
2490 Edith Epstein <eepstein@cygnus.com>
2491 Andres MacLeod <amacleod@cygnus.com>
2492 Satish Pai <pai@apollo.hp.com>
2493
2494 * HP aCC demangling support.
2495 * cplus-dem.c
2496 (main): Remove default to HP style demangling, set to EDG
8aefe91a
DD
2497 demangling correctly when -edg specified; set the demangling style
2498 when user specifies 'edg'. Set strip_underscore to
2499 prepends_underscore, if not HPUXHPPA. Set
2500 current_demangling_style to hp_demangling if HPUXHPPA. Set
2501 current demangling style correctly if the switch is hp. Read
2502 label correctly also in the HP style case.
252b5132 2503 (work_stuff): add temp_start field; add field for volatile member
8aefe91a 2504 function.
252b5132 2505 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
8aefe91a 2506 style for this case is the same as ARM.
252b5132
RH
2507 (demangle_args): handle EDG_DEMANGLING style; support HP style.
2508 (demangle_arm_hp_template): new function. (It was
8aefe91a
DD
2509 demangle_arm_pt.); check and set value of temp_start field in
2510 multiple places. Also, when ceching for end of template args,
2511 check to see if at end of static member of template class.
252b5132 2512 (demangle_class): new local variable : save_class_name_end Don't
8aefe91a 2513 include template args in string defining class.
252b5132
RH
2514 (demangle_class_name): use demangel_arm_hp_template.
2515 (demangle_function_name): handle case where demangling style is
8aefe91a
DD
2516 HP_DEMANGLING and currently point at an 'X' in the mangled name.
2517 Handle EDG_DEMANGLING style. Handle constructor and destructor
2518 ops for HP style.
252b5132 2519 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
8aefe91a
DD
2520 styles. global destructor and constructor for HP style are same
2521 as for ARM style. Same for local variables.
252b5132
RH
2522 (demangle_qualified): handle EDG_DEMANGLING style.
2523 (demangle_signature): add case for volatile member function. For
8aefe91a
DD
2524 cases '1' - '9' : initialize the temp_start field to -1 and handle
2525 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
2526 and AUTO_DEMANGLING styles. If expecting a function and managed
2527 to demangle the funct args, then handle the LUCID_DEMANGLING,
2528 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
2529 class name after "Lnnn_ in HP style case. HP style too needs to
2530 forget types. _nnn is OK for HP style, so don't report failure.
252b5132 2531 (do_hpacc_template_const_value): new function. Handle template's
8aefe91a 2532 value param for HP/aCC.
252b5132 2533 (do_hpacc_template_literal): new function. Handle a template's
8aefe91a 2534 literal parameter for HP aCC.
252b5132
RH
2535 (recursively_demangle): new function
2536 (snarf_numeric_literal): new function.
2537 (usage): add 'edg' to the list of demangling styles; add hp switch
8aefe91a 2538 to message.
252b5132
RH
2539
2540Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
2541
2542 * pexecute.c: Remove obsolete ifdefed cygwin code.
2543
2544Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2545
2546 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
2547 * cplus-dem.c: Likewise. Conform to libiberty.h.
2548 * pexecute.c: Likewise.
2549 * splay-tree.c: Likewise.
2550
25511998-11-25 Mike Stump <mrs@wrs.com>
2552
2553 * Makefile.in (splay-tree.o): Add config.h dependency.
2554
2555Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2556
2557 * configure.in: Use AC_PREREQ(2.12.1).
2558
25591998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
2560
b4fe2683 2561 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
252b5132
RH
2562
2563Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
2564
2565 * mpw.c (mpw_access): Add missing parens.
2566
2567Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2568
2569 * configure.in: Call AC_HEADER_SYS_WAIT.
2570
2571 * pexecute.c: Include sys/wait.h when !IN_GCC.
2572
2573Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
2574
2575 * pexecute.c: revert back to checking old Cygwin
2576 preprocessor symbol until some time has passed.
2577
2578Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
2579
2580 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
2581 since it will now support similar constructs.
2582
2583Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2584
2585 * configure.in: Check for calloc.
2586
2587 * calloc.c: New file.
2588
2589 * xmalloc.c (xcalloc): New function.
2590
2591Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2592
2593 *cplus-dem.c (demangle_prefix): Use the last "__"
2594 in the mangled name when looking for the signature. This allows
2595 template names to begin with "__".
2596
25971998-11-08 Mark Mitchell <mark@markmitchell.com>
2598
2599 * cplus-dem.c (type_kind_t): Add tk_reference.
2600 (demangle_template_value_parm): Handle it.
2601 (do_type): Use it for references, instead of tk_pointer.
2602
2603 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
2604 not internal_cplus_demangle.
2605
2606Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2607
2608 * choose-temp.c: Don't include gansidecl.h.
2609 * mkstemp.c: Likewise.
2610 * pexecute.c: Likewise.
2611
2612Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
2613
b4fe2683
JM
2614 * configure.in: detect cygwin* instead of cygwin32*
2615 * configure: regenerate
252b5132
RH
2616
2617Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2618
2619 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
8aefe91a
DD
2620 whether to include config.h. Possibly include unistd.h in the
2621 !IN_GCC case. Define VFORK_STRING as a printable function call
2622 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
2623 defined, include vfork.h. If VMS is defined, define vfork()
2624 appropriately. Remove vfork check on USG, we're using autoconf.
2625 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
2626 locally what string to use.
252b5132
RH
2627
26281998-10-26 Mark Mitchell <mark@markmitchell.com>
2629
2630 * splay-tree.c: Tweak include directives to make sure declarations of
2631 xmalloc and free are available.
2632
26331998-10-25 Mark Mitchell <mark@markmitchell.com>
2634
2635 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
2636 anonymous namespaces.
2637
26381998-10-23 Mark Mitchell <mark@markmitchell.com>
2639
2640 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
2641 with type_quals.
2642 (TYPE_UNQUALIFIED): New macro.
2643 (TYPE_QUAL_CONST): Likewise.
2644 (TYPE_QUAL_VOLATILE): Likewise.
2645 (TYPE_QUAL_RESTRICT): Likewise.
2646 (code_for_qualifier): New function.
2647 (qualifier_string): Likewise.
2648 (demangle_qualifier): Likewise.
2649 (internal_cplus_demangle): Use them.
2650 (demangle_signature): Likewise.
2651 (demangle_template_value_parm): Likewise.
2652 (do_type): Likewise.
2653 (demangle_fund_type)): Likewise.
2654
2655Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2656
2657 * splay-tree.c (splay_tree_foreach_helper): Make definition static
2658 to match prototype.
2659
26601998-10-21 Mark Mitchell <mark@markmitchell.com>
2661
2662 * splay-tree.c: New file.
2663 * Makefile.in (CFILES): Add it.
2664 (REQUIRED_OFILES): Likewise.
2665 (splay-tree.o): Add dependencies.
2666
2667Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2668
2669 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
2670 range of 'K' index.
2671
2672Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2673
2674 * choose-temp.c: Prototype mkstemps() when IN_GCC.
2675
2676 * cplus-dem.c (consume_count): Cast argument of ctype macro to
2677 `unsigned char'.
2678 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
2679 comparing against one.
2680 (cplus_mangle_opname): Likewise.
2681 (demangle_integral_value): Cast argument of ctype macro to
2682 `unsigned char'.
2683 (demangle_template_value_parm): Likewise.
2684 (demangle_template): Initialize variable `bindex'. Cast the
2685 result of `strlen' to (int) when comparing against one. Remove
2686 unused variable `start_of_value_parm'.
2687 (demangle_class_name): Cast the result of `strlen' to (int) when
2688 comparing against one.
2689 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
2690 (gnu_special): Likewise. Cast the result of `strlen' to (int)
2691 when comparing against one.
2692 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
2693 (get_count): Likewise.
2694 (do_type): Likewise. Cast the result of `strlen' to (int) when
2695 comparing against one.
2696 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
2697 (demangle_function_name): Cast the result of `strlen' to (int)
2698 when comparing against one.
2699
2700 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
2701 comparing against one.
2702
2703Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
2704
b4fe2683
JM
2705 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
2706 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
2707 * config.in, configure: Rebuilt.
252b5132
RH
2708
2709 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
2710 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
2711 * config.in, configure: Rebuilt.
2712
2713Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
2714
b4fe2683 2715 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
252b5132
RH
2716
2717Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
2718
2719 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
2720
2721Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
2722
2723 * Merge egcs & devo libiberty.
2724