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