Make ``show mips abi'' actually show the abi in use.
[deliverable/binutils-gdb.git] / libiberty / ChangeLog
CommitLineData
181fa229
DD
12003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2
3 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
4 GSI_PHYSMEM.
5 (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS.
6
cc529274
DD
72003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8
9 * configure.in: Check for sys/systemcfg.h and
10 _system_configuration.
11 * physmem.c: Add support for AIX. Tweek formatting as per
12 upstream coreutils beta.
13
142003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15 Richard Earnshaw <rearnsha@arm.com>
16 Geoffrey Keating <geoffk@apple.com>
17
18 * configure.in: Check for sys/sysctl.h and sysctl.
19 * physmem.c: Add support for *bsd and darwin.
20 * Makefile.in: Generate depedency for physmem.o.
21
192cbe66
DD
222003-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
23
24 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on
25 Tru64 UNIX.
26 (physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on
27 Tru64 UNIX.
28
29 * configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h,
30 machine/hal_sysinfo.h, sys/table.h.
31 (checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table.
32 * configure, config.in: Regenerate.
33
900d2082
DD
342003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
35
36 * physmem.c (physmem_total, physmem_available): De-ANSI-fy.
37 * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and
38 pstat_getdynamic.
39
4938384a
DD
402003-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
41
42 * Makefile.in (CFILES): Add physmem.c.
43 (REQUIRED_OFILES): Add physmem.o.
44 * configure.in: Check for sys/pstat.h.
45 (checkfuncs): Add pstat_getstatic and pstat_getdynamic.
46 * physmem.c: New file, copied from textutils.
47
48 * config.in, configure: Regenerated.
49
ba61a412
DJ
502003-02-20 Daniel Jacobowitz <drow@mvista.com>
51
52 * Makefile.in (CFILES): Add lrealpath.c.
53 (REQUIRED_OFILES): Add lrealpath.o.
54 (lrealpath.o): Add rule.
55 * aclocal.m4 (libiberty_NEED_DECLARATION): Add.
56 * configure.in: Add realpath and canonicalize_file_name to
57 checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION
58 for canonicalize_file_name.
59 * lrealpath.c: New file.
60 * make-relative-prefix.c: Update documentation.
61 (make_relative_prefix): Simplify. Use lbasename and lrealpath.
62 * config.in: Regenerated.
63 * configure: Regenerated.
64 * functions.texi: Regenerated.
65
25dfe0ac
DD
662003-02-20 jmc <jmc@prioris.mini.pw.edu.pl>
67
68 * cplus_dem.c: Fix typo: intializes -> initializes.
69
8b90eef4
AO
702003-02-20 Alexandre Oliva <aoliva@redhat.com>
71
72 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
73 config.status.
74 * configure: Rebuilt.
75
fcd7c7c9
DD
762003-02-13 Daniel Jacobowitz <drow@mvista.com>
77
78 Fix PR c++/7612.
79 * cplus-dem.c (demangle_signature): Call string_delete.
80 Remove extra string_init.
81 (demangle_arm_hp_template): Call string_delete instead of
82 string_clear. Add missing string_delete call.
83 (demangle_qualified): Add missing string_delete call.
84 (do_type): Remove unused variable btype. Add missing string_delete
85 call. Call string_delete instead of string_clear.
86 (demangle_fund_type): Move variable btype inside of the switch
87 statement. Add missing string_delete call.
88 (do_arg): Call string_delete instead of string_clear. Remove extra
89 string_init.
90 (demangle_nested_args): Free work->previous_argument.
91
073c427b
DD
922003-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
93
94 * acconfig.h: New file. Add uintptr_t.
95 * config.in: Regenerated.
96
f8bd3000
DD
972003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
98
99 * libiberty.texi: Update to GFDL 1.2.
100
85b9a938
DD
1012003-01-30 Christian Cornelssen <ccorn@cs.tu-berlin.de>
102
103 * Makefile.in (libiberty_topdir): New subst.
104 (mkinstalldirs): Redefine in terms of the above.
105 * configure.in: AC_SUBST it.
106 * configure: Regenerate.
107
578460f2
AO
1082003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de>
109
110 * Makefile.in (all-subdir, check-subdir, installcheck-subdir)
111 (info-subdir, install-info-subdir, clean-info-subdir)
112 (dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
113 (clean-subdir, distclean-subdir, maintainer-clean-subdir):
114 Pass $(FLAGS_TO_PASS).
115
7f285245
AO
1162003-01-27 Alexandre Oliva <aoliva@redhat.com>
117
118 * Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
119 /`$$CC -print-multi-os-directory`.
120
5f9624e3
DJ
1212003-01-26 Daniel Jacobowitz <drow@mvista.com>
122
123 * hashtab.c (htab_create_alloc_ex): New function.
124 (hatab_set_functions_ex): New function.
125 (htab_delete, htab_expand): Support alternate allocation functions.
126
9c2259b8
DD
1272003-01-24 Christopher Faylor <cgf@redhat.com>
128
129 * configure.in: Remove special pex-cygwin consideration.
130 * configure: Regenerate.
131 * pex-cygwin.c: Remove.
132 * Makefile.in: Remove pex-cygwin.[co] lines.
133
5a17353c
DD
1342003-01-24 Zack Weinberg <zack@codesourcery.com>
135
136 * Makefile.in (CFILES): Add pex-*.c.
137 (REQUIRED_OFILES): Change pexecute.o to @pexecute@
138 (CONFIGURED_OFILES): Add pex-*.o.
139 (TEXIFILES): Add pexecute.txh.
140 (pexecute.o): Delete rule.
141 (pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o,
142 pex-unix.o, pex-win32.o): New rules.
143 * configure.in: Change AC_INIT argument to xmalloc.c.
144 Compute appropriate pexecute implementation and substitute it
145 as @pexecute@.
146
147 * pexecute.c: Split up into...
148 * pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c,
149 pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these
150 new files.
151
152 * functions.texi: Regenerate.
153 * configure: Regenerate.
154
eed2b28c
DD
1552003-01-20 Josef Zlomek <zlomekj@suse.cz>
156
157 * hashtab.c (htab_expand): Fix allocation of new entries.
158
27a39a5f
DD
1592003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
160
161 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
162
163 * Makefile.in (install_to_libdir, install_to_tooldir): Add a
164 mkinstalldirs command.
165
b51c1553
DD
1662002-12-04 Danny Smith <dannysmith@users.sourceforge.net>
167
168 * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
169 Define for hosts with HOST_EXECUTABLE_SUFFIX.
170
756954c3
DD
1712002-11-24 Nick Clifton <nickc@redhat.com>
172
173 * make-relative-prefix.c (make_relative_prefix): Ensure return
174 string is empty before using strcat to construct it.
175
2a80c0a4
DD
1762002-11-22 Daniel Jacobowitz <drow@mvista.com>
177
178 * Makefile.in: Add make-relative-prefix.c.
179 * make-relative-prefix.c: New file.
180 * functions.texi: Rebuilt.
181
768b20d8
JJ
1822002-11-16 Jakub Jelinek <jakub@redhat.com>
183
184 * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
185 used with arguments in traditional C' warnings.
186
f52d1d64
JJ
1872002-10-16 Jakub Jelinek <jakub@redhat.com>
188
189 * config.table: Use mh-s390pic for s390x too.
190
0d3deb8d
DD
1912002-10-06 Andreas Jaeger <aj@suse.de>
192
193 * libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded
194 variable and of strict-aliasing warning.
195 (grow_vect): Use char as first parameter.
196
1b67de92
DD
1972002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
198
199 * Makefile.in (all): Fix multilib parallel build.
200
585cc78f
DD
2012002-09-19 John David Anglin <dave@hiuly1.hia.nrc.ca>
202
203 * cp-demangle.c (demangling_new): Cast 0 to enum.
204 (demangle_char): Cast return of strdup to char *.
205 (is_gnu_v3_mangled_ctor): Cast 0 to enum.
206 (is_gnu_v3_mangled_dtor): Likewise.
207 * cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
208 (work_stuff_copy_to_from): Cast return of xmalloc to char **.
209 * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
210 * md5.c (md5_process_bytes): Cast results back to const void *.
211 (md5_process_block): Add cast to const md5_uint32 *.
212 * regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
213 * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
214 unsigned short.
215 * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
216 to void *.
217 * vasprintf.c (int_vasprintf): Cast return of malloc to char *.
218
e21b0cc1
NC
2192002-09-19 Nick Clifton <nickc@redhat.com>
220
221 * README: Update email addresses for bugs and patches.
222
a54ba43f
DD
2232002-09-10 Mike Stump <mrs@apple.com>
224
225 * splay-tree.c (splay_tree_successor): Fix comments.
226
2272002-09-11 Zack Weinberg <zack@codesourcery.com>
228
229 * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
230 * testsuite/Makefile.in: Adjust for test-demangle.
231 * testsuite/regress-demangle: Deleted.
232 * testsuite/test-demangle.c: New file.
233 * testsuite/demangle-expected: Change \$ to $ throughout, now that
234 this file is not being read by a shell script.
235
01cea699
DD
2362002-09-05 Roger Sayle <roger@eyesopen.com>
237
238 * regex.c: Only use "#pragma alloca" on AIX when not using gcc.
239
a2832523
DD
2402002-08-07 DJ Delorie <dj@redhat.com>
241
242 * regex.c (re_error_msgid): Just use a simple array of strings.
243 (re_compile_pattern): Compensate.
244 (re_comp): Likewise.
245 (re_comp): Likewise.
246 (regerror): Likewise.
247
1e3f0be0
DD
2482002-07-29 Neil Booth <neil@daikokuya.co.uk>
249
250 * cplus-dem.c (PREPEND_BLANK): Remove.
251
b851d07b
DD
2522002-07-10 Jason Merrill <jason@redhat.com>
253
254 * cp-demangle.c (demangle_identifier): Support extended Unicode
255 characters.
256
2a9dffbf
DD
2572002-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
258
259 * cp-demangle.c (demangle_v3_with_details): Wrap in
260 !defined IN_GLIBCPP_V3.
261
793011ca
DD
2622002-07-01 Mark Mitchell <mark@codesourcery.com>
263
264 * cp-demangle.c (demangle_operator_name): Add type_arg parameter.
265 Set it for the "st" operator.
266 (demangle_expression): Handle expressions with types as arguments.
267
b39b76b8
DD
2682002-06-30 Douglas Rupp <rupp@gnat.com>
269
270 * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
271 * Makefile.in (OUTPUT_OPTION): Use.
272
4748c6d8
DD
2732002-06-22 Peter Breitenlohner <peb@mppmu.mpg.de>
274
275 * Makefile.in (install_to_libdir): Add $(DESTDIR).
276 (install_to_tooldir): Likewise.
277
f9c3326a
DD
2782002-06-17 Douglas Rupp <rupp@gnat.com>
279
280 * lbasename.c: Add 2002 to copyright.
281 (IS_DIR_SEPARATOR): Remove VMS junk.
282
18893690
DD
2832002-06-05 Geoffrey Keating <geoffk@redhat.com>
284
285 * hashtab.c (htab_create): New stub function for backward
286 compatibility.
287 (htab_try_create): Likewise.
288
2892002-06-03 Geoffrey Keating <geoffk@redhat.com>
290
291 * hashtab.c (htab_create): Delete.
292 (htab_try_create): Delete.
293 (htab_create_alloc): New.
294 (htab_delete): Support user-specified memory allocation.
295 (htab_expand): Likewise.
296
2972002-05-22 Roman Lechtchinsky <rl@cs.tu-berlin.de>
298
299 * configure.in: Fix typo in the code checking for sys_errlist.
300 * configure: Regenerated.
301
9296c8b2
DD
3022002-05-13 Andreas Schwab <schwab@suse.de>
303
304 * config.table: Use mh-x86pic also for x86-64.
305
52d98c2d
DD
3062002-05-08 Alexandre Oliva <aoliva@redhat.com>
307
308 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
309 script entry, and set LD to it when configuring multilibs.
310 * configure: Rebuilt.
311
cafa3917
DD
3122002-05-07 Mark Mitchell <mark@codesourcery.com>
313
314 * configure.in (AC_TYPE_PID_T): Use it.
315 * configure: Regenerated.
316 * getruntime.c: Include <sys/types.h>.
317 * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid".
318
b1c933fc
RH
3192002-04-09 Richard Henderson <rth@redhat.com>
320
321 * hashtab.c (higher_prime_number): Use 7 as minimum.
322 (find_empty_slot_for_expand): Don't compute hash2 unless needed.
323 (htab_find_slot_with_hash): Likewise.
324
0c4460bb
DD
3252002-04-01 Phil Edwards <pme@gcc.gnu.org>
326
327 * cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
328 (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally
329 not compile if IN_GLIBCPP_V3 defined.
330 * dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme.
331
f2160d2b
DD
3322002-03-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
333
3ebf1f59 334 * cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
f2160d2b
DD
335 if it is NULL.
336
7dd4d42a
DD
3372002-03-27 DJ Delorie <dj@redhat.com>
338
339 * hex.c: Add documentation.
340 (_hex_value): Provide non-ASCII empty table.
341 (hex_init): Initialize the non-ASCII table.
342 * functions.texi: Regenerate.
343
38e57a35
DD
3442002-03-27 Mark Mitchell <mark@codesourcery.com>
345
346 * dyn-string.c: Add libgcc exception to copyright notice.
347
cfed0715
DD
3482002-03-26 H.J. Lu (hjl@gnu.org)
349
350 * config.table: Support --with-build-subdir.
351 * configure.in: Likewise.
352 * configure: Rebuild.
353
1504972f
DD
3542002-03-18 Stuart Griffith <Stuart_Griffith@credence.com>
355
356 * strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
357 seen.
358
35efcd67
DD
3592002-03-12 Mark Mitchell <mark@codesourcery.com>
360
361 * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
362 notice.
363
dabc64ea
DD
3642002-03-11 Douglas B Rupp <rupp@gnat.com>
365
366 * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
367
3ddbd84c
JB
3682002-03-06 Jim Blandy <jimb@redhat.com>
369
370 * splay-tree.c (splay_tree_xmalloc_allocate,
371 splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
372 prototyped definitions. Mark `data' arguments as unused.
373
efdab807
AC
3742002-03-06 Andrew Cagney <ac131313@redhat.com>
375
376 * floatformat.c (floatformat_arm_ext_big): Delete definition.
377
50d4562d
DD
3782002-03-04 Phil Edwards <pme@gcc.gnu.org>
379
380 * configure.in: Add --enable-install-libiberty option.
381 * Makefile.in (INSTALLED_HEADERS): New variable.
382 (install_to_libdir): Possibly also copy headers.
383 * configure: Regenerated.
384
3852002-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
386
387 * xmalloc.c (xmalloc_fail): Clarify error message further.
388
6e9980f5
DD
3892002-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
390
391 * xmalloc.c (xmalloc_fail): Clarify error message.
392
18893690 3932002-02-22 Jim Blandy <jimb@redhat.com>
2bbcdae9
JB
394
395 * splay-tree.c (splay_tree_xmalloc_allocate,
396 splay_tree_xmalloc_deallocate): New functions.
397 (splay_tree_new): Call splay_tree_new_with_allocator, passing the
398 above functions and a dummy data pointer.
399 (splay_tree_new_with_allocator): New function.
400 (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
401 splay_tree_remove): Use the splay tree's allocation and
402 deallocation functions.
403
59ea9fe7
DD
4042002-02-19 Scott Snyder <snyder@fnal.gov>
405
406 * testsuite/demangle-expected: Add test case for infinite loop in
407 demangler.
408 * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
409 if do_type() doesn't make any progress --- prevents an infinite
410 loop.
411
6f848550
DD
4122002-02-18 Carlo Wood <carlo@gnu.org>
413
414 PR c++/5390
415 * cplus-dem.c (demangle_integral_value): Accept multi-digit
416 numbers that do not start with an underscore; This is needed
417 for integer template parameters. This doesn't break anything
418 because multi-digit numbers are never followed by a digit.
419 * testsuite/demangle-expected: Corrected all mangled test
420 cases with multi-digit template parameters: g++ 2.95.x does
421 not generate underscores around these parameters.
422
44354ae1
DD
4232002-02-05 Jason Merrill <jason@redhat.com>
424
425 * cplus-dem.c (flags): Add DMGL_VERBOSE
426 (cplus_demangle_v3_p): Remove.
427 (demangle_it): Add DMGL_TYPES to passed flags.
428 * cp-demangle.c (cplus_demangle_v3_all): Remove.
429 (cplus_demangle_v3_type): Remove.
430 (cplus_demangle_v3): Add options parm.
431
42da15d6
DD
4322002-02-02 H.J. Lu (hjl@gnu.org)
433
434 * cp-demangle.c (cp_demangle_type): Do not protect with
435 IN_LIBGCC2.
436 (cplus_demangle_v3_all): New.
437 (cplus_demangle_v3): Call cplus_demangle_v3_all.
438 (cplus_demangle_v3_type): Call cplus_demangle_v3_all.
439
440 * cplus-dem.c (cplus_demangle_v3_p): New function pointer.
441 Initialized to cplus_demangle_v3.
442 (cplus_demangle_with_style): Call cplus_demangle_v3_p instead
443 of cplus_demangle_v3.
444 (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
445 command line symbol.
446
447 * testsuite/regress-demangle: Pass the mangled name at the
448 command line.
449
b117c158
DD
4502002-02-01 H.J. Lu <hjl@gnu.org>
451
452 * cp-demangle.c (cp_demangle_type): Call demangling_new with
453 DMGL_GNU_V3.
454
c78d91b1
DD
4552002-01-31 Phil Edwards <pme@gcc.gnu.org>
456
457 * cp-demangle.c: Revert yesterday's change.
458
bef8b55d
DD
4592002-01-31 Adam Megacz <adam@xwt.org>
460
461 * gcc/libiberty/configure.in: Treat mingw the same as cywin
462 wrt HAVE_SYS_ERRLIST.
463
2c955b8b
DD
4642002-01-30 Phil Edwards <pme@gcc.gnu.org>
465
466 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
467 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on
468 cp_demangle_type.
469 * testsuite/demangle-expected: New gnu-v3 test.
470
58b1717a
RH
4712002-01-22 Momchil Velikov <velco@fadata.bg>
472
473 * configure.in (variable detection): Use arrays of unspecified
474 size instead of plain integers.
475
cc096b71
DD
4762002-01-18 DJ Delorie <dj@redhat.com>
477
478 * Makefile.in (TESTLIB): New. This library is for future
479 testsuites.
480 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
481 break down by letter.
482 (REQUIRED_OFILES): List long-to-compile files first.
483 (maint-deps): New, target for updating dependencies.
484 (dependencies): Update.
485 * maint-tool: Add dependency-generating option.
486 * configure.in: Check for _doprnt even if we're not providing it.
487 * configure: Regenerate.
488
489 * _doprnt.c: Modifications to allow compiling on any platform.
490 * copysign.c: Likewise.
491 * putenv.c: Likewise.
492 * setenv.c: Likewise.
493 * vsprintf.c: Likewise.
494
4952002-01-15 Douglas B Rupp <rupp@gnat.com>
496
497 * mkstemps.c (mkstemps): On VMS, open temp file with option
498 that causes it to be deleted when closed.
499
20d54542
DD
5002002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
501
c23795e2
DD
502 * cp-demangle.c (long_options): Const-ify.
503 * cplus-dem.c (long_options): Likewise.
504
20d54542
DD
505 * cplus-dem.c (mystrstr): Delete. All callers changed to use
506 strstr instead.
507
f348a7b1
DD
5082001-12-31 Ira Ruben <ira@apple.com>
509
510 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
511 * configure: Regenerated.
512
d86cd745
DD
5132001-12-24 Douglas B. Rupp <rupp@gnat.com>
514
515 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
516 * configure: Regenerated.
517
ae533646
DD
5182001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
519
520 PR other/2719
521 * cplus-dem.c (consume_count): Treat negative count as an error.
522 * testsuite/demangle-expected: Added testcase.
523
c0eb281b
DD
524Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
525
526 * configure.in: Hardcode that vfork works on VMS host.
527 * configure: Regenerated.
528
2da4c07f
RH
5292001-12-06 Richard Henderson <rth@redhat.com>
530
531 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
532 (cplus_demangle): Support no_demangling.
533
24acd898
DD
5342001-11-27 Zack Weinberg <zack@codesourcery.com>
535
536 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
537 in libiberty context. Fix typo in leading comment.
538 * configure.in: Fix various AC_DEFINEs so autoheader works.
539 If any of vprintf, vsprintf, vfprintf is missing from libc,
540 then AC_REPLACE_FUNCS(_doprnt).
541
fec50157 5422001-11-26 DJ Delorie <dj@redhat.com>
d86cd745 543 Daniel Jacobowitz <drow@mvista.com>
fec50157
DD
544
545 * Makefile.in (stamp-h): Depend on Makefile for proper
546 serialization.
547 (*-subdir): Depend on config.h for proper serialization.
548
5527febf
DD
5492001-11-26 DJ Delorie <dj@redhat.com>
550
551 * configure.in: Check for alloca.h (for regex.c and putenv.c).
552 * configure: Regenerate.
553 * config.h: Add HAVE_ALLOCA_H.
554
941d74a0
DD
5552001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
556
557 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
558 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
559 is available.
560
dc579051
DD
561Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
562
563 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
564 * configure.in (HAVE_UINTPTR_T): Test for system defining
565 uintptr_t and define HAVE_UINTPTR_T appropriately.
566 * regex.c (uintptr_t): Do not provide a definition if the
567 system provided one.
568
569 * regex.c (PREFIX): Provide an alternate definition for
570 non-ANSI/ISO compilers.
571 (ARG_PREFIX): Likewise.
572
1a78a35a
DD
5732001-11-12 Jim Meyering <meyering@lucent.com>
574
575 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
576 this code would end up calling gettext even in packages built
577 with --disable-nls.
578 * getopt.c (_): Likewise.
579 * regex.c (_): Likewise.
580
4e55c4b6
DD
5812001-11-03 Alan Modra <amodra@bigpond.net.au>
582
583 * configure.in: Cope with missing makeinfo.
584 * configure: Regenerate.
585
d311a83a
DD
5862001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
587
588 * hex.c (hex_init): Provide empty stub.
589
590 * hex.c (hex_init): Delete.
591 (_hex_value): Const-ify and initialize at compile-time.
592
3bc62f91
DD
5932001-10-19 H.J. Lu <hjl@gnu.org>
594
595 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
596 necessary.
597
5d852400
DD
5982001-10-17 DJ Delorie <dj@redhat.com>
599
600 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
601 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
5527febf 602 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
5d852400
DD
603 Improve manual formatting.
604 * functions.texi: Regenerate.
605
ba19b94f
DD
6062001-10-15 DJ Delorie <dj@redhat.com>
607
608 * Makefile.in (TEXIFILES): Add fnmatch.txh.
609 (maint-undoc): New.
610 maint-tool: Add "undoc" tool.
611 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
612 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
613 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
614 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
615 documentation.
616 * fnmatch.txh: New.
617 * functions.texi: Regenerate.
618
56056af5
DD
6192001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
620
621 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
622 * strtod.c: Use "ISO C" instead of "ANSI C".
623 * functions.texi: Regenerate.
624
99b58139
DD
6252001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
626
627 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
628 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
629 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
630 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
631 spelling. Give names to function arguments in documentation. Use
632 (void) prototypes in documentation.
633 * functions.texi: Regenerate.
634
e6450fe5
DD
6352001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
636
637 * argv.c (buildargv, tests, main): Const-ify.
638 * cp-demangle.c (operator_code): Likewise.
639 * cplus-dem.c (optable, libiberty_demanglers,
640 cplus_demangle_set_style, cplus_demangle_name_to_style,
641 print_demangler_list): Likewise.
642 * hashtab.c (higher_prime_number): Likewise.
643 * strcasecmp.c (charmap): Likewise.
644 * strerror.c (error_info, strerror, main): Likewise.
645 * strncasecmp.c (charmap): Likewise.
646 * strsignal.c (signal_info): Likewise.
647
da191b5b
DD
6482001-09-29 DJ Delorie <dj@redhat.com>
649
650 * configure: Regenerate.
651
916aaa12
DD
6522001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
653
654 * concat.c: Include stdlib.h.
655
fa9f0e33
DD
6562001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
657
658 * libiberty.texi: (Top level): Add syncodeindex pg. Add
659 @dircategory and @direntry directives. Add @finalout.
660 (many nodes): Lose the next,prev,up pointers on the @nide line.
661 (Using, Supplemental Functions, Replacement Functions): Fix
662 markup.
663 (Functions): Move around, to allow makeinfo to build the manual
664 without next,prev,up pointers in thye node lines.
665 (Licenses): Fix typos.
666
667 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
668 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
669 * functions.texi: Regenerate.
670
671 * copying-lib.texi: Lose the next,prev,up pointers on the @node
672 line.
673
6742001-09-27 DJ Delorie <dj@redhat.com>
675
676 * configure.in: Don't use in-tree texinfo, because libiberty must
677 be built before it. Check for makeinfo version 4 or higher.
678 * functions.texi: Regenerate.
679
39423523
DD
6802001-09-20 DJ Delorie <dj@redhat.com>
681 Phil Edwards <pedwards@disaster.jaj.com>
682
683 * configure.in (MAKEINFO, PERL): Detect these.
684 (--enable-maintainer-mode): Add.
685 * configure: Regenerate.
686 * Makefile.in (MAKEINFO, PERL): Define.
687 (libiberty.info, libiberty.dvi, libiberty.html): New.
688 (CFILES): Add bsearch.c.
689 (CONFIGURED_OFILES): New, list of objects configure might add.
690 (maint-missing, maint-buildall): New, for maintainers only.
691 (clean, mostlyclean): Add info/dvi/html files.
692 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
693 * gather-docs: New, for maintainers.
694 * maint-tool: New, for maintainers.
695 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
696 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
697 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
698 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
699 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
700 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
701 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
702 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
703 documentation.
704
66c94e19
DD
7052001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
706
707 * concat.c (reconcat): Fix for traditional C.
708
99ee3a8f
DD
7092001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
710
711 * concat.c (reconcat): New function.
712
54c20242
DD
7132001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
714
715 * concat.c (vconcat_length, vconcat_copy, concat_length,
716 concat_copy, concat_copy2): New functions.
717 (concat): Use vconcat_length/vconcat_copy.
718
719 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
720 Define.
721
843f21be
DD
7222001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
723
724 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
725 VA_FIXEDARG & VA_CLOSE.
726
727 * vasprintf.c: Check HAVE_STRING_H when including string.h.
728 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
729 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
730
8a423cb3
DD
7312001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
732
733 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
734
dc676635
DD
7352001-08-23 Ulrich Drepper <drepper@redhat.com>
736
737 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
738
7392001-08-23 Ulrich Drepper <drepper@redhat.com>
740
741 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
742 instead of mbrtowc.
743 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
744 wcslen, and __wcscoll instead of wcscoll.
745
f080c76d
DD
7462001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
747
3ebf1f59
DD
748 * fibheap.c (fibheap_init, fibnode_init): Remove.
749 (fibheap_new, fibnode_new): Use xcalloc to allocate and
750 initialize memory.
751 (fibheap_insert): Remove check for node allocation failure.
f080c76d 752
f01b59ed
DD
7532001-08-21 Richard Henderson <rth@redhat.com>
754
755 * Makefile.in (fibheap.o): Depend on config.h.
756 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
757 functions for inlining.
758
759Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
760
761 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
762 hosting on cygwin.
763 * configure: Regenerate.
764
eb828599
AC
7652001-08-20 Andrew Cagney <ac131313@redhat.com>
766
767 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
768 HARRIS_FLOAT_FORMAT.
769 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
770 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
771 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
772 (floatformat_m88110_harris_ext): New float formats.
773
4e55c4b6
DD
7742001-08-20 Daniel Berlin <dan@cgsoftware.com>
775
776 * fibheap.c: New file. Fibonacci heap.
777
778 * Makefile.in (CFILES): Add fibheap.c.
779 (REQUIRED_OFILES): Add fibheap.o.
780 (fibheap.o): Add dependencies for fibheap.o.
781
68a41de7
DD
7822001-08-17 Christopher Faylor <cgf@cygnus.com>
783
784 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
785 * configure: Regenerate.
786
8fc34799
DD
7872001-08-16 Richard Henderson <rth@redhat.com>
788
789 * hashtab.c (htab_hash_string): New.
790
16bad250
AC
7912001-08-13 Andrew Cagney <ac131313@redhat.com>
792
793 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
794 name.
795
a9022147
DD
7962001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
797
798 * regex.c (wcs_regex_compile): Use appropriate string
799 to compare with collating element.
800 Fix the padding for the alignment.
801
8aefe91a 8022001-08-10 Andrew Cagney <ac131313@redhat.com>
3ea71002
AC
803
804 * lbasename.c (lbasename): Change function definition to return a
805 const char pointer.
806
e7e9b069
DD
8072001-08-07 Jason Merrill <jason_merrill@redhat.com>
808
809 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
810 for".
811
cc5144f8
DD
8122001-08-03 Richard Henderson <rth@redhat.com>
813
814 * Makefile.in (concat.o): Depend on config.h.
815
8aefe91a
DD
8162001-07-30 Andreas Jaeger <aj@suse.de>
817
818 * concat.c: Include "config.h".
819
86710ce2
DD
8202001-07-30 Andreas Jaeger <aj@suse.de>
821
822 * regex.c: Declare wcs functions only if compiling with
823 MBS_SUPPORT.
824 Don't use #elif for traditional C.
825
8262001-07-23 Ulrich Drepper <drepper@redhat.com>
827
828 * regex.c: Revamp memory allocation for WCHAR functions to
829 not use too much stack.
830
8312001-07-30 Andreas Jaeger <aj@suse.de>
832
833 * regex.c: Declare wcs functions only if compiling with
834 MBS_SUPPORT.
835 Don't use #elif for traditional C.
836
a5d8f731
DD
8372001-07-25 Daniel Jacobowitz <drow@mvista.com>
838
839 * Makefile.in (regex.o): Add dependency on config.h.
840
6ad8a379
DD
8412001-07-18 Andreas Schwab <schwab@suse.de>
842
843 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
844 underscore character.
845
8462001-07-18 Ulrich Drepper <drepper@redhat.com>
847
848 * regex.c: Limit string length printed in debug messages to 100
849 chars.
850
8512001-07-18 Andreas Jaeger <aj@suse.de>
852
853 * regex.c: Place under LGPL version 2.1.
854
2a6ef469
DD
8552001-07-10 Jeff Johnston <jjohnstn@redhat.com>
856
857 * Makefile.in: Add support for regex code.
858 * regex.c: New file.
859
7b78baae
DD
8602001-07-05 Mark Klein <mklein@dis.com>
861
862 * Makefile.in: Add ffs.c dependency.
863 * configure.in: Add ffs.c.
864 * ffs.c: New file.
865
926150e2
DD
8662001-06-18 Richard Henderson <rth@redhat.com>
867
868 * concat.c: Include <sys/types.h>.
869
11f6f21d
DD
8702001-06-11 Loren J. Rittle <ljrittle@acm.org>
871
872 bootstrap/3106
873 * strerror.c (sys_nerr): Hide the OS header version.
874 * strsignal.c (sys_nsig): Likewise.
875
d42dae6c
DD
8762001-06-10 Richard Henderson <rth@redhat.com>
877
878 * concat.c: Include string.h. Fix int vs size_t usage.
879 Simplify the iteration loops. Use memcpy.
880
e05c6d27
DD
8812001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
882
883 * partition.c: Fix misspelling of `implementation'.
884
b50c4073
DD
8852001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
886
887 * md5.c (md5_init_ctx): Declare constants as unsigned.
888 (md5_process_block): Likewise.
889
457161bf
DD
8902001-05-07 Zack Weinberg <zackw@stanford.edu>
891
892 * cp-demangle.c (demangle_v3_with_details,
893 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
894 function definition.
895 * ternary.c: Use K+R style function definitions. Use PTR, not
896 void *. Make arguments constant where possible.
897
e00bc6a7
DD
8982001-05-07 Mark Mitchell <mark@codesourcery.com>
899
900 * splay-tree.h (splay_tree_max): New function.
901 (splay_tree_min): Likewise.
902
400ee7e1
DB
9032001-04-15 Daniel Berlin <dan@cgsoftware.com>
904
905 * ternary.c: New file - Ternary search tree implementation.
a5dd804e
DB
906
907 * Makefile.in: Add ternary.o, and ternary.c dependencies.
400ee7e1 908
d9697354
DD
9092001-04-03 Zack Weinberg <zackw@stanford.edu>
910
911 * make-temp-file.c (try): Inline.
912
a7bf099b
DD
9132001-02-28 Richard Henderson <rth@redhat.com>
914
915 * Makefile.in (make-temp-file.o): Depend on config.h.
916
30a1def2
DD
9172001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
918
919 * memchr.c (memchr): Adjust condition to avoid infinite loop.
920
079c672a
DD
9212001-03-23 Jakub Jelinek <jakub@redhat.com>
922
923 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
924 `_' not followed by a digit is invalid.
925
a88e356a
JB
9262001-03-22 Jim Blandy <jimb@redhat.com>
927
928 * cp-demangle.c (string_list_delete): Use dyn_string_delete
929 instead of free, to free the contents as well as the string
930 structure.
931
1dffcc66
DD
9322001-03-21 Zack Weinberg <zackw@stanford.edu>
933
934 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
935 Don't default P_tmpdir to anything. Try /var/tmp before
936 /usr/tmp.
937
9382001-03-20 Zack Weinberg <zackw@stanford.edu>
939
940 * choose-temp.c: Split off make_temp_file, and the code
941 duplicated between it and choose_temp_base, into...
942 * make-temp-file.c: ... here; new file.
943
944 * Makefile.in (CFILES): Add make-temp-file.c.
945 (REQUIRED_OFILES): Add make-temp-file.o.
946
e61231f1
JB
9472001-03-20 Jim Blandy <jimb@redhat.com>
948
949 * cp-demangle.c (struct demangling_def): New fields:
950 is_constructor and is_destructor.
951 (demangling_new): Initialize them.
952 (demangle_ctor_dtor_name): Set them, if we detect a constructor
953 or destructor.
954 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
955 is_gnu_v3_mangled_dtor): New functions.
956
a9cbbe6d
DD
9572001-03-20 Jason Merrill <jason@redhat.com>
958
959 * cplus-dem.c (main): Skip initial $.
960
b1e51b3c
DD
9612001-03-15 Michael Meissner <meissner@redhat.com>
962
963 * hashtab.c (higher_prime_number): Silence warning that 4294967291
964 might be a signed integer under pre-ISO C systems.
965
8aa30e60 9662001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
fa03f0a7 967 John David Anglin <dave@hiauly1.hia.nrc.ca>
8aa30e60 968
8aa30e60
DD
969 * libiberty/lbasename.c: New file.
970 * libiberty/Makefile.in: Update for lbasename.
8aefe91a 971
30673bf5
DD
9722001-03-06 Zack Weinberg <zackw@stanford.edu>
973
974 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
975 * configure.in: Replace all alloca logic with a simple use of
976 the above new macro.
977 * config.table: Kill *-*-beos* entry.
978 * config/mh-beos: Delete.
979 * configure, config.in: Regenerate.
fa03f0a7 980
30673bf5
DD
981 * Makefile.in (ALLOCA, HFILES): Kill.
982 (REQUIRED_OFILES): Add alloca.o.
983 (alloca.o): Depend on libiberty.h.
984 (argv.o): Don't depend on alloca-conf.h.
985 * alloca-conf.h: Delete.
986 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
987 blocks. Provide the C alloca unconditionally. Use PTR where
988 appropriate. Make i00afunc static.
989 * argv.c: Don't include alloca-conf.h.
fa03f0a7 990
5810f394
DD
9912001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
992
993 * cplus-dem.c (main): Cast enum style to int.
fa03f0a7 994
a9db032a
DD
9952001-02-16 Loren J. Rittle <ljrittle@acm.org>
996
997 * cplus-dem.c (main): Initialize style.
fa03f0a7 998
8aefe91a
DD
9992001-02-02 Phil Edwards <pme@sources.redhat.com>
1000
1001 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
1002
bc9bf259
DD
10032001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
1004
1005 Add support for Java demangling under the v3 ABI:
1006 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
1007 (struct demangling_def): Add `style' field.
1008 (demangling_new): New parameter `style'. Set it in demangling_t.
1009 (demangle_prefix): Use NAMESPACE_SEPARATOR.
1010 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
1011 (cp_demangle): New parameter `style'. Pass it to demangling_new().
1012 (main): Call cp_demangle with extra parameter.
1013 (java_demangle_v3): New function.
1014 (java_builtin_type_names): New. Table of primitive type names used
1015 for Java demangling.
1016 (demangle_builtin_type): Look up in java_builtin_type_names if doing
1017 Java output.
1018 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
1019 demangling.
1020 (long_options): Remove obsolete `java' option.
1021 (main): Remove explicit handling of `java' option. Instead, pass style
1022 parameter in cplus_demangle flags as gdb does.
1023 * testsuite/demangle.expected: Add some Java test cases.
fa03f0a7 1024
f6528837
DD
10252000-12-29 DJ Delorie <dj@redhat.com>
1026
1027 * fnmatch.c: Make the note about the origins of this file more
1028 accurate, at least until we can sync with glibc.
1029 * getopt.c: Ditto.
1030 * getopt1.c: Ditto.
1031 * md5.c: Ditto.
1032 * obstack.c: Ditto.
9d969b59 1033
c6da642e
DD
10342000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1035
1036 * bsearch.c: New file.
1037 * configure.in (funcs): Add bsearch.
1038 (AC_CHECK_FUNCS): Likewise.
1039 * configure, config.in: Regenerate.
1040
ae7d06ad 10412000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
1042
1043 * safe-ctype.c: #include "ansidecl.h".
1044 * strtod.c: Likewise.
1045
ae7d06ad 10462000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
1047
1048 * strtoul.c: Include safe-ctype.h, not ctype.h.
1049
ac424eb3
DD
10502000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
1051
1052 * safe-ctype.c: New file.
1053 * Makefile.in (CFILES): Add safe-ctype.c.
1054 (REQUIRED_OFILES): Add safe-ctype.o.
1055
1056 * argv.c: Define ISBLANK and use it, not isspace.
1057 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
1058 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
1059 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
1060 before calling TOLOWER(c)/TOUPPER(c).
1061
4415a860
DD
10622000-12-07 Mike Stump <mrs@wrs.com>
1063
1064 * Makefile.in (distclean): When cleaning, remove testsuite.
1065
849ee224
DD
10662000-12-05 Jason Merrill <jason@redhat.com>
1067
1068 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
1069 name before allocating the dyn_string.
1070
ae7d06ad 10712000-12-04 Jason Merrill <jason@redhat.com>
e49a569c
DD
1072
1073 * cp-demangle.c: s/new_abi/v3/.
1074 * cplus-dem.c: Likewise.
1075 (current_demangling_style): Now auto_demangling.
1076 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
ae7d06ad 1077 (main): Use standard symbol chars for auto_demangling.
e49a569c 1078
ae7d06ad 10792000-11-26 Mark Mitchell <mark@codesourcery.com>
5ca0f83d
DD
1080
1081 * hashtab.c (higher_prime_number): Use a table, rather than a
1082 seive, to find the next prime.
ae7d06ad
NC
1083
10842000-11-22 H.J. Lu <hjl@gnu.org>
1085
1086 * cplus-dem.c (main): Handle gnat_demangling.
1087
10882000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
2ea7befd
DD
1089
1090 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
1091 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
1092 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
1093 argument form of AC_DEFINE in dummy definitions block. Use
1094 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
1095 in dummy block. Preload cache variables instead of bypassing
1096 tests, where possible.
1097 * acconfig.h: Removed.
ae7d06ad 1098
2ea7befd
DD
1099 * xmalloc.c (xmalloc_failed): New function, does error
1100 reporting on failed allocation.
1101 (xmalloc, xcalloc, xrealloc): Use it.
9c26dc82 1102
f1775526
HPN
11032000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
1104
1105 * cplus-dem.c (cplus_demangle): Fix formatting.
1106 (grow_vect): Ditto.
1107 (ada_demangle): Ditto.
1108 (internal_cplus_demangle): Ditto.
1109 (mop_up): Ditto.
1110
11112000-11-21 H.J. Lu <hjl@gnu.org>
1112
1113 * cplus-dem.c (main): Handle java_demangling.
1114
ae7d06ad 11152000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
f1775526
HPN
1116
1117 * cplus-dem.c (grow_vect): Prototype.
1118 (ada_demangle): Cast the arg of ctype macros to unsigned char.
1119
5dd42ef4
HPN
11202000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
1121
1122 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
1123 parameter `option'.
1124
296731c1
DD
11252000-11-15 Kenneth Block <kenneth.block@compaq.com>
1126
8944fb9d 1127 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
296731c1
DD
1128 be used in GCC.
1129
6e53a714 11302000-11-15 Kenneth Block <kenneth.block@compaq.com>
16e85745 1131
5dd42ef4 1132 * cplus-dem.c: Add gnat demangler. Add java to demangle style
16e85745
HPN
1133 list.
1134
99a4c1bd
HPN
11352000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
1136
1137 * hashtab.c (htab_expand): Change to return int. Use calloc or
8aefe91a
DD
1138 xcalloc depending on htab->return_allocation_failure. Return zero
1139 if calloc fails.
99a4c1bd
HPN
1140 (htab_create): Update comment to cover memory allocation.
1141 (htab_try_create): New.
1142 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
8aefe91a 1143 Update comment to cover this.
99a4c1bd 1144
e0f3df8f
HPN
11452000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
1146
1147 * hashtab.c: Change void * to PTR where necessary.
1148 (htab_create, htab_expand): Correct formatting of comment before
1149 function.
1150
ae7d06ad 11512000-10-22 Alex Samuel <samuel@codesourcery.com>
59666b35
DD
1152
1153 * cp-demangle.c (string_list_def): Add caret_position and comments.
1154 (result_caret_pos): New macro.
1155 (result_append_string): Rename to...
1156 (result_add_string): ... this, and insert at caret position.
ae7d06ad 1157 Rename throughout.
59666b35
DD
1158 (result_append): Rename to...
1159 (result_add): ... this, and insert at caret position. Rename
ae7d06ad 1160 throughout.
59666b35
DD
1161 (result_append_char): Rename to...
1162 (result_add_char): ... this, and insert at caret position. Rename
ae7d06ad 1163 throughout.
59666b35
DD
1164 (result_append_space): Remove.
1165 (string_list_new): Initialize caret position.
1166 (result_add_separated_char): Use caret position.
1167 (result_get_caret): New funtion.
1168 (result_set_caret): Likewise.
1169 (result_shift_caret): Likewise.
1170 (result_previous_char_is_space): Likewise.
1171 (substitution_start): Use caret position.
1172 (substitution_add): Likewise.
1173 (demangling_new): Initialize caret position.
1174 (demangle_encoding): Use caret position.
ae7d06ad 1175 (demanglin_nested_name): Put CV qualifiers after name.
59666b35
DD
1176 (demangle_type_ptr): Use switch statement. Handle pointers to
1177 arrays. Don't use result_append_space. Use caret position.
1178 (demangle_type): Emit CV qualifiers after underlying type. Adjust
ae7d06ad
NC
1179 call to demangle_array_type.
1180 (demangle_array_type): Add parameter to handle pointers to arrays.
74bcd529 1181
ae7d06ad 11822000-10-01 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
1183
1184 * splay-tree.c (splay_tree_insert): Fix formatting.
ae7d06ad
NC
1185
11862000-09-16 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
1187
1188 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
ae7d06ad
NC
1189
11902000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1191
1192 * splay-tree.c: #include <stdio.h>.
1193
11942000-09-14 Hans-Peter Nilsson <hp@axis.com>
1195
1196 * testsuite/demangle-expected: Add two tests for anonymous
1197 namespaces.
1198 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
1199
12002000-09-10 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
1201
1202 * splay-tree.c (splay_tree_predecessor): New function.
1203 (splay_tree_successor): Likewise.
ae7d06ad
NC
1204
12052000-09-10 Hans-Peter Nilsson <hp@axis.com>
1206
1207 * testsuite/demangle-expected: Add four tests for type_info
1208 mangling.
1209 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
1210 for a non-template non-qualified type_info function or node.
1211
12122000-09-08 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1213
1214 * cp-demangle.c: Fix copyright banner.
ae7d06ad
NC
1215
12162000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1217
1218 * md5.c: #include "ansidecl.h".
1219
12202000-09-06 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1221
1222 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
1223 (demangle_type): Handle substitution candidates correctly in the
1224 face of special substitutions.
ae7d06ad
NC
1225
12262000-09-05 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1227
1228 * cp-demangle.c (demangle_encoding): Rename variable.
1229 (demangle_name): Rename parameter. Handle return type
1230 suppression.
1231 (demangle_nested_name): Rename parameter.
1232 (demangle_prefix): Likewise. Change return type suppression.
1233 (demangle_unqualified_name): Add parameter. Flag constructors and
1234 conversion operators.
1235 (demangle_special_name): Fix comment.
1236 (demangle_type): Rename variable.
1237 (demangle_bare_function_type): Check for missing return type and
1238 parameter.
1239 (demangle_class_enum_type): Rename parameter.
1240 (demangle_discriminator): Fix misspelling in comment.
ae7d06ad
NC
1241
12422000-08-31 DJ Delorie <dj@redhat.com>
1243
1244 * configure.in (Cygwin): special case cygwin only when we're
1245 building cygwin, not when we're hosting cygwin.
1246
12472000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1248
1249 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
1250 <expression>.
ae7d06ad
NC
1251
12522000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1253
1254 * cp-demangle.c (demangle_type_ptr): Increment position past
1255 pointer and reference characters.
ae7d06ad
NC
1256
12572000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1258
1259 * cp-demangle.c (demangle_nv_offset): New function.
1260 (demangle_v_offset): Likewise.
1261 (demangle_call_offset): Likewise.
1262 (demangle_special_name): Update thunk demangling to comply with
1263 ABI changes.
ae7d06ad
NC
1264
12652000-09-03 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1266
1267 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
1268 (substitution_def): Remove template_parm_number.
1269 (NOT_TEMPLATE_PARM): Remove.
1270 (result_insert_string): New macro.
1271 (result_insert): Likewise.
1272 (result_insert_char): Likewise.
1273 (substitution_add): Remove last parameter. Don't store template
1274 parm number.
1275 (BFT_NO_RETURN_TYPE): Define as NULL.
1276 (demangle_encoding): Adjust call to demangle_bare_function_type.
1277 (demangle_name): Adjust substitution. Adjust call to
1278 substitution_add.
1279 (demangle_prefix): Adjust call to substitution_add.
1280 (demangle_identifier): Handle anonymous namespaces.
1281 (demangle_operator_name): Change demangling of vendor-extended
1282 operator to match ABI changes.
1283 (demangle_type_ptr): Change parameters. Make recursive. Handle
1284 substitutions here.
1285 (demangle_type): Adjust calls to demangle_template_param,
1286 substitution_add, and demangle_type_ptr. Fix substitution of
1287 templated types.
1288 (demangle_function_type): Change parameter to a pointer.
1289 (demangle_bare_function_type): Likewise. Adjust insertion point.
1290 (demangle_template_param): Remove last parameter.
1291 (demangle_expr_primary): Remove unused variable. Adjust call to
1292 demangle_template_param.
1293 (is_mangled_char): Accept `$' and `.'.
1294 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
1295 * dyn-string.c (dyn_string_insert_char): New function.
ae7d06ad
NC
1296
12972000-08-31 Hans-Peter Nilsson <hp@axis.com>
1298
1299 * testsuite/demangle-expected: Add nine tests for
1300 underscore-after-number followed by five tests for name-signature
1301 delimiter.
1302
13032000-08-28 Richard Henderson <rth@cygnus.com>
74bcd529
DD
1304
1305 * Makefile.in (md5.o): Depend on config.h.
ae7d06ad
NC
1306
13072000-08-28 Jason Merrill <jason@redhat.com>
1308
1309 * Makefile.in (REQUIRED_OFILES): Add md5.o.
1310 (CFILES): Add md5.c.
1311 * md5.c: New file.
1312
13132000-08-27 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1314
1315 * cp-demangle.c (demangle_name): Initialize template_p in local
1316 name case. Don't re-add substitutions as candidates.
1317 (demangle_nested_name): Use <unqualified-name>.
1318 (demangle_prefix): Likewise. Don't add template names as
1319 substitution candidates twice, or re-add a substitution or the
1320 last prefix component.
1321 (demangle_local_name): Adjust output format.
ae7d06ad
NC
1322
13232000-08-25 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1324
1325 * cp-demangle.c (result_add_separated_char): Change parameter to
1326 int.
1327 (substitution_add): Don't check for duplicates. Check if
1328 previously allocated size is zero.
1329 (demangle_name): Remove duplicate check for std substitution.
1330 Clear template flag appropriately.
1331 (demangle_prefix): Remove argument to demangle_substitution.
1332 Don't check that template flag is already set.
1333 (demangle_operator_name): Add pt operator.
1334 (demangle_type): Don't treat r as built-in type. Remove argument
1335 to demangle_substitution. Fix substitution candidate mechanics.
1336 Handle <template-template-parm>s. Improve comments.
1337 (demangle_template_param): Don't handle template arg lists here.
1338 (demangle_substitution): Remove parameter.
1339 (print_usage): Remove extra fprintf option.
ae7d06ad
NC
1340
13412000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
1342
1343 * libiberty/random.c (end_ptr): Revert previous change.
ae7d06ad
NC
1344
13452000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
1346
1347 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
1348 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
1349 * libiberty/random.c (end_ptr): Likewise.
ae7d06ad
NC
1350
13512000-08-23 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1352
1353 * cp-demangle.c (result_close_template_list): Remove function.
1354 (result_add_separated_char): New function.
1355 (result_open_template_list): New macro.
1356 (result_close_template_list): Likewise.
1357 (demangle_prefix): Don't set template_p if the
1358 prefix ends with a ctor name.
1359 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
1360 (demangle_type): Check for template args after substitution.
1361 (demangle_template_args): Use result_open_template_list.
d3e85005 1362
ae7d06ad 13632000-08-02 Zack Weinberg <zack@wolery.cumb.org>
64e3a659 1364
ae7d06ad 1365 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
050823ca 1366
ae7d06ad 13672000-07-26 Dave Pitts <dpitts@cozx.com>
d6e83f5f
JL
1368
1369 * config/mh-openedition.h: Added -DLE370 definition.
1370
a9f34fb6
JL
13712000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
1372
1373 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
1374 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
1375 Cast program to 'char *' in errmsg_arg assignment.
1376 (PWAIT_ERROR): Define.
1377 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
1378 to DJGPP's WIF* macros.
1379
90aaccd1 13802000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
ae7d06ad 1381 Jeff Law <law@cygnus.com>
90aaccd1 1382
ae7d06ad 1383 * getcwd.c: Include string.h, stdlib.h for prototypes
443519c1 1384
90aaccd1 1385 * Makefile.in (rename.o, waitpid.o): Depend on config.h
ae7d06ad
NC
1386 * rename.c: Include config.h, unistd.h
1387 * waitpid.c: Include config.h, sys/wait.h
90aaccd1 1388
6ef554e3
HPN
13892000-07-24 Hans-Peter Nilsson <hp@axis.com>
1390
1391 * cplus-dem.c (work_stuff_copy_to_from): New.
1392 (delete_non_B_K_work_stuff): New.
1393 (delete_work_stuff): New.
1394 (mop_up): Break out work_stuff partly destruction to
1395 delete_non_B_K_work_stuff.
1396 (iterate_demangle_function): New.
1397 (demangle_prefix): Call iterate_demangle_function instead of
1398 demangle_function_name. Leave handling of name-signature
1399 __-delimiters to iterate_demangle_function.
1400 (demangle_integral_value): Strip an optional
1401 following underscore cautiously. Handle negative numbers.
1402
ae7d06ad 14032000-07-24 Daniel Berlin <dberlin@redhat.com>
e8865c28 1404
ae7d06ad 1405 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
e8865c28
DB
1406 if (AUTO_DEMANGLING || GNU_DEMANGLING)
1407
ae7d06ad
NC
14082000-07-21 Alex Samuel <samuel@codesourcery.com>
1409
1410 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
1411 allocating ctor mangling.
1412 (demangle_array_type): Handle empty and non-constant array length.
1413
b1233257 14142000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
62df2065
JL
1415 Jeff Law <law@cygnus.com>
1416
1417 * configure.in (AC_CHECK_HEADERS): Add time.h.
1418 (AC_HEADER_TIME): Add check.
1419 * configure, config.in: Regenerate.
1420 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
1421
1422 * configure.in (AC_CHECK_HEADERS): Add limits.h.
1423 * configure, config.in: Regenerate.
1424 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
1425 * strtol.c, strtoul.c: #include "config.h". Portably #include
1426 <limits.h> and/or <sys/param.h>.
1427 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
b1233257 1428
7d3ffcaf
JL
1429 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
1430 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
1431 * configure, config.in: Regenerate.
1432 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
1433
b1233257
JL
1434 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
1435
ae7d06ad
NC
14362000-07-21 Mike Stump <mrs@wrs.com>
1437
1438 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
1439 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
1440
14412000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1442
1443 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
1444
1445 * setenv.c (setenv): Initialize variable `ep'.
1446
1447 * sigsetmask.c (abort): Prototype.
1448
1449 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
1450 __STDC__ for stdarg.h include.
1451 (int_vasprintf): Prototype.
1452 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
1453 definition. Cast `global_total_width' in comparison.
1454 (main): Prototype. Return a value.
1455
1456 * vfork.c (fork): Prototype.
1457
1458 * xexit.c: Include config.h.
1459
9adf30b2
JL
14602000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
1461
1462 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
1463 and print it with %u.
1464
2ed78d1b
HPN
14652000-07-17 Hans-Peter Nilsson <hp@axis.com>
1466
1467 * testsuite/regress-demangle (failed test): Show result and
1468 expected output.
1469
0473bdf7
AH
14702000-07-07 Andrew Haley <aph@cygnus.com>
1471
1472 * cplus-dem.c (main): fflush() after emitting last char before
1473 waiting for input.
1474
03d5f569
JM
14752000-06-28 Alex Samuel <samuel@codesourcery.com>
1476
1477 * cp-demangle.c (demangle_encoding): Accept no substitutions.
1478 (demangle_name): Handle <substitution> followed by
1479 <unqualified-template-name>.
1480 (demangle_type): Follow special substitutions with
1481 <class-enum-type>
1482 (demangle_subtitution): Set template_p for special substitutions.
1483 (main): Fix typos.
ae7d06ad 1484
03d5f569
JM
14852000-06-27 Alex Samuel <samuel@codesourcery.com>
1486
1487 * cp-demangle.c (demangle_special_name): Swap base and derived
1488 class when demangling construction vtables.
1489
14902000-06-21 Alex Samuel <samuel@codesourcery.com>
1491
1492 * cp-demangle.c: Don't include ctype.h.
1493 (IS_DIGIT): New macro.
1494 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
1495 instead of isdigit and isalpanum.
1496 (demangling_def): Make name and next const pointers.
1497 (STATUS_ALLOCATION_FAILED): New status code.
1498 (dyn_string_append_space): Handle failure in
1499 dyn_string_append_char.
1500 (int_to_dyn_string): Likewise. Change return value to status_t.
1501 (string_list_new): Handle failure of dyn_string_init.
1502 (result_close_template_list): Change return type to status_t.
1503 Handle failure in dyn_string_append.
1504 (result_push): Change return value to status_t. Handle failure in
1505 string_list_new. Handle failure of result_push throughout.
1506 (substitution_add): Change return value to status_t. Handle
1507 dyn_string failures. Handle failure of substitution_add
1508 throughout.
1509 (template_arg_list_new): Return NULL on allocation failure.
1510 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
1511 Handle error result throughout.
1512 (result_append): Likewise.
1513 (result_append_char): Likewise.
1514 (result_append_space): Likewise.
1515 (demangling_new): Make argument a const pointer. Handle
1516 allocation failures.
1517 (demangle_template_args): Handle failure in template_arg_list_new
1518 and result_close_template_list.
1519 (demangle_discriminator): Return if int_to_dyn_string fails.
1520 (cp_demangle): Likewise.
1521 (cp_demangle_type): New function.
1522 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
1523 memory allocation failure.
1524 (main): Likewise.
1525 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
1526 IN_LIBGCC2.
1527 (dyn_string_init): Change return value to int. Handle
1528 RETURN_ON_ALLOCATION_FAILURE case.
1529 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
1530 (dyn_string_release): Delete the dyn_string.
1531 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
1532 (dyn_string_copy): Change return type to int.
1533 (dyn_string_copy_cstr): Likewise.
1534 (dyn_string_prepend): Likewise.
1535 (dyn_string_prepend_cstr): Likewise.
1536 (dyn_string_insert): Likewise.
1537 (dyn_string_insert_cstr): Likewise.
1538 (dyn_string_append): Likewise.
1539 (dyn_string_append_cstr): Likewise.
1540 (dyn_string_append_char): Likewise.
1541 (dyn_string_substring): Likewise.
ae7d06ad 1542
eb383413 15432000-06-09 Zack Weinberg <zack@wolery.cumb.org>
9cc28cc8 1544
eb383413
L
1545 * cp-demangle.c (demangle_operator_name): Add spaces before
1546 names beginning with a letter: delete, delete[], new, new[],
1547 sizeof.
1548 (demangle_special_name): Handle TF <type> and TJ <type>.
9cc28cc8 1549
eb383413
L
1550Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
1551
1552 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
1553
1554Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
1555
1556 * cp-demangle.c (stdio.h): File included unconditionaly.
1557 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
1558 * dyn-string.c (stdio.h): File included.
1559 * partition.c (partition_print): No `&' needed to take the address of
1560 a function.
1561
15622000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1563
1564 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
ae7d06ad 1565
eb383413
L
1566 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
1567
1568 * cp-demangle.c (demangle_char): Change parameter from char to int.
1569 (demangle_expression, demangle_expr_primary): Remove extra
1570 semi-colon in prototype.
1571
1572 * dyn-string.c (dyn_string_append_char): Change parameter from
1573 char to int.
1574
1575 * memcmp.c (memcmp): Constify.
1576
1577 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
1578 __extension__.
1579
1580 * partition.c (elem_compare): Prototype. Don't cast away
1581 const-ness.
1582
1583 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
ae7d06ad 1584
eb383413
L
15852000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1586
1587 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
1588
1589 * cp-demangle.c: Include demangle.h.
1590 (template_arg_list_new): DeANSIfy.
1591 (cp_demangle): Make static and add prototype.
1592 (operator_code, operators): Constify.
1593 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
1594
15952000-06-05 Alex Samuel <samuel@codesourcery.com>
1596
1597 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
1598 unsigned char.
1599 (demangle_unqualified_name): Likewise.
1600 (demangle_number_literally): Likewise.
1601 (demangle_type): Likewise.
1602 (demangle_substitution): Likewise.
1603 (is_mangled_char): Likewise, for isalnum.
1604
16052000-06-04 Alex Samuel <samuel@codesourcery.com>
1606
1607 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
1608 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
1609 (cp-demangle.o): New dependency.
1610 (dyn-string.o): Likewise.
1611
1612 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
1613
1614 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
1615 demangler.
1616 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
1617 demangling mode.
1618 (gnu_new_abi_symbol_characters): New function.
1619 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
1620 file.
1621 * cp-demangle.c: New file.
ae7d06ad 1622
f03aa80d
AC
1623Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
1624
1625 * floatformat.c: Add name to each floatformat field.
1626
77bfb694
JL
1627Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
1628
1629 * Makefile.in (objalloc.o): Depend on config.h
1630
5c82d20a
ZW
16312000-05-29 Zack Weinberg <zack@wolery.cumb.org>
1632
eb383413 1633 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
5c82d20a
ZW
1634 if HAVE_STRING_H.
1635 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
1636 * objalloc.c: Include config.h. Include stdlib.h and don't
1637 declare malloc or free if HAVE_STDLIB_H.
1638 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
1639 else declare malloc without prototype. Include string.h if
1640 HAVE_STRING_H, else declare memset without prototype. Don't
1641 include stddef.h.
1642
eb383413
L
16432000-05-23 Mike Stump <mrs@wrs.com>
1644
1645 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
8aefe91a 1646 -j3.
eb383413
L
1647
16482000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
1649
1650 * xmalloc.c: Include config.h for HAVE_SBRK definition.
1651
16522000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
1653
ae7d06ad 1654 * hashtab.c (hash_pointer): Delete low-order bits which are
eb383413
L
1655 probably zero, also eliminate a warning on alpha.
1656
16572000-05-15 David Edelsohn <edelsohn@gnu.org>
1658
1659 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
1660 on $(enable_shared).
1661
16622000-05-10 Jakub Jelinek <jakub@redhat.com>
1663
1664 * config.table: Use mh-sparcpic for sparc*-*-*.
1665
16662000-05-08 Nick Clifton <nickc@cygnus.com>
1667
1668 * Makefile.in (CFILES): Add strncmp.c.
1669 (NEEDED): Add strncmp.
1670
16712000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5c82d20a 1672
eb383413
L
1673 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
1674 Cast the arguments to `islower' to `unsigned char'.
1675 (print_demangler_list): Prototype.
1676
1677Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
1678
1679 * sort.c (UCHAR_MAX): Provide fallback definition.
1680
16812000-04-29 Alexandre Oliva <aoliva@cygnus.com>
010c70e1
AO
1682
1683 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
1684 SUBDIRS.
1685
eb383413
L
16862000-04-28 Kenneth Block <block@zk3.dec.com>
1687 Jason Merrill <jason@casey.cygnus.com>
1688
ae7d06ad
NC
1689 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
1690 (cplus_demangle_set_style): New function for setting style.
1691 (cplus_demangle_name_to_style): New function to translate name.
eb383413
L
1692
16932000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1694
1695 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
1696
1697 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
1698 (libiberty_AC_FUNC_STRNCMP): Invoke.
1699
1700 * strncmp.c: New file.
1701
1702Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
1703
1704 * hashtab.c (htab_expand): Add prototype.
1705 (find_empty_slot_for_expand): Likewise.
1706
17072000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1708
1709 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
1710 match prototype.
1711 (htab_expand): Cast the return value of xcalloc.
1712
17132000-04-24 Mark Mitchell <mark@codesourcery.com>
1714
1715 * hashtab.c (hash_pointer): New function.
1716 (eq_pointer): Likewise.
1717 (htab_hash_pointer): New variable.
1718 (htab_eq_pointer): Likewise.
1719
17202000-04-23 Mark Mitchell <mark@codesourcery.com>
1721
1722 * sort.c (sort_pointers): Fix endianness bugs.
1723
1724 * sort.c: New file.
1725 * Makefile.in (CFILES): Add sort.c
1726 (REQUIRED_OFILES): Add sort.o.
1727 (sort.o): New target.
1728
19be4303
JL
17292000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1730
1731 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
1732 4.3BSD systems.
1733
eb383413
L
1734Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1735
1736 * hashtab.c: Various minor cleanups.
1737 (htab_find_slot_with_hash): INSERT is now enum insert_option.
1738 (htab_find_slot): Likewise.
1739
17402000-04-16 Dave Pitts <dpitts@cozx.com>
1741
1742 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
ae7d06ad 1743
afe36a78
RH
17442000-04-05 Richard Henderson <rth@cygnus.com>
1745
1746 * splay-tree.c (splay_tree_remove): New.
1747
eb383413
L
17482000-03-30 Mark Mitchell <mark@codesourcery.com>
1749
1750 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
1751 codes.
1752 (htab_find_with_hash): Likewise.
1753 (htab_find_slot_with_hash): Likewise.
ae7d06ad 1754
eb383413
L
17552000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1756
1757 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
1758 unless it will be used. Rearrange loop for better
1759 optimization.
1760 (higher_prime_number): Add static prototype.
1761
b4fe2683
JM
1762Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
1763
1764 * Makefile.in (partition.o): Depend on config.h
1765
17662000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
1767
1768 * hashtab.c (find_empty_slot_for_expand): New function.
1769 (htab_expand): Use it instead of htab_find_slot.
1770 (htab_find_with_hash): Renamed from htab_find; now accepts extra
1771 argument HASH.
1772 (htab_find_slot_with_hash): Likewise for htab_find_slot.
1773 (htab_find): New wrapper function.
1774 (htab_find_slot): Likewise.
1775 (htab_traverse): Pass slot, not entry, to called function.
1776
17772000-03-09 Alex Samuel <samuel@codesourcery.com>
1778
1779 * Makefile.in (CFILES): Add partition.c.
1780 (REQUIRED_OFILES): Add partition.o.
1781 (partition.o): New rule.
1782 * partition.c: New file.
ae7d06ad 1783
b4fe2683
JM
17842000-03-09 Zack Weinberg <zack@wolery.cumb.org>
1785
1786 * hashtab.c (htab_create): Set del_f.
1787 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
1788 Use it.
1789
17902000-03-08 Zack Weinberg <zack@wolery.cumb.org>
1791
1792 * hashtab.c: Remove debugging variables (all_searches,
1793 all_collisions, all_expansions). Delete
1794 all_hash_table_collisions.
1795 (create_hash_table, delete_hash_table, empty_hash_table,
1796 find_hash_table_entry, remove_element_from_hash_table_entry,
1797 clear_hash_table_slot, traverse_hash_table, hash_table_size,
1798 hash_table_elements_number, hash_table_collisions): Rename to:
1799 htab_create, htab_delete, htab_empty, htab_find_slot,
1800 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
1801 htab_elements, htab_collisions.
1802 (htab_find): New function, handles common case where you don't
1803 plan to add or delete an entry.
1804 (htab_expand): Don't create a whole new table, just a new
1805 entry vector.
1806 (htab_find_slot): Simplify logic.
1807
08372f14
ILT
18081999-08-03 Ian Lance Taylor <ian@zembu.com>
1809
1810 * floatformat.c: Add casts to avoid signed/unsigned warnings.
1811 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
1812
1813 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
1814 $(TARGETLIB)n so it works on MSDOS.
1815 (install_to_tooldir): Likewise.
1816
9c8ac5a9
ILT
18171999-07-21 Ian Lance Taylor <ian@zembu.com>
1818
1819 From Mark Elbrecht:
1820 * makefile.dos: Remove; obsolete.
8f36e47c 1821 * configure.bat: Remove; obsolete.
9c8ac5a9 1822
0c0a36a4
ILT
18231999-07-11 Ian Lance Taylor <ian@zembu.com>
1824
1825 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1826 warning.
1827
18282000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1829
1830 * pexecute.c: Conditionally include string.h.
b4fe2683 1831 (fix_argv): Handle embedded whitespace in args for Mingw32.
0c0a36a4
ILT
1832
18332000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1834
1835 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
1836 we're using gcc.
1837
1838 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
1839
18401999-12-27 Geoff Keating <geoffk@cygnus.com>
1841
1842 * vasprintf.c (int_vasprintf): Don't re-read the format character
1843 as this mishandles strings like '%%s'.
1844
18451999-12-05 Mark Mitchell <mark@codesourcery.com>
1846
1847 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
1848 rather than struct splay_tree_node.
1849 (splay_tree_insert): Use struct splay_tree_s rather than struct
1850 splay_tree.
1851
1852Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
1853
1854 * hashtab.c (sys/types.h): File included.
1855
18561999-11-22 Jason Merrill <jason@casey.cygnus.com>
1857
1858 * strtoul.c, strtol.c, random.c: Remove advertising clause from
1859 BSD license, pursuant with
1860
1861 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
1862
1863Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
1864
1865 * hashtab.c: Include stdio.h.
1866
1867Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
1868
1869 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
1870
1871Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
1872
1873 * xstrdup (sys/types.h): Include this file.
1874
18751999-10-28 Nathan Sidwell <nathan@acm.org>
1876
1877 * Makefile.in (SUBDIRS): New macro.
1878 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
1879 avoid multiple subdirectory cleaning.
1880 (*-subdir): Use SUBDIRS.
1881
18821999-10-25 Jim Kingdon <http://developer.redhat.com/>
1883
1884 * cplus-dem.c: Move declarations of standard_symbol_characters and
1885 hp_symbol_characters inside #ifdef MAIN to avoid compiler
1886 warnings.
1887
18881999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
1889
1890 * hashtab.c (find_hash_table_entry): When returning a
1891 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
1892 (clear_hash_table_slot): New function which deletes an entry
1893 by its position in the table, not its value.
1894 (traverse_hash_table): New function which calls a hook
1895 function for every live entry in the table.
1896
18971999-10-19 Mark Mitchell <mark@codesourcery.com>
1898
1899 * cplus-dem.c (INTBUF_SIZE): New macro.
1900 (string_append_template_idx): New function.
1901 (demangle_expression): Likewise.
1902 (demangle_integral_value): Use it.
1903 (demangle_real_value): New function, split out from ...
1904 (demangle_template_value_parm): ... here. Use
1905 string_append_template_idx. Use demangle_real_value.
1906 (demangle_template): Use string_append_template_idx.
1907 (demangle_qualified): Use consume_count_with_underscores.
1908 (get_count): Tweak formatting.
1909 (do_type): Use string_append_template_idx.
b4fe2683 1910
0c0a36a4
ILT
19111999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1912
1913 * calloc.c: Add a public domain notice.
1914
1915Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
1916
1917 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
1918
1919Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
1920
1921 * Makefile.in (CFILES): Add hashtab.c
1922 (REQUIRED_OFILES): Add hashtab.o
1923 (hashtab.o): Add dependencies.
1924 * hashtab.c: New file
1925
1926Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
1927
1928 * basename.c (DIR_SEPARATOR): New macro.
1929 (DIR_SEPARATOR_2): Likewise.
1930 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
1931 (IS_DIR_SEPARATOR): Likewise.
1932 (main): Handle MSDOS style pathname.
1933
19341999-10-11 Mark Mitchell <mark@codesourcery.com>
1935
1936 * cplus-dem.c (do_type): Handle pointer to member types whose
1937 enclosing classes have namespace scope.
1938
1939Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
1940
1941 * config.table: Provide a backup shell for executing move-if-change.
1942
19431999-10-02 Mark Mitchell <mark@codesourcery.com>
1944
1945 * xmalloc.c (xmalloc): Fix spelling error.
1946 (xcalloc, xrealloc): Likewise.
1947
19481999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1949
1950 * cplus-dem.c (fancy_abort, demangle_integral_value,
1951 demangle_arm_hp_template, recursively_demangle,
1952 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
1953 (program_name, program_version, fatal): Constify a char*.
1954 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
1955 (main): Call return, not exit.
1956
19571999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1958
1959 * choose-temp.c: Remove obsolete comment about gcc.
1960 (make_temp_file): Constify a char*.
1961
1962Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1963
1964 * xmemdup.c: Include sys/types.h.
1965
19661999-09-07 Jeff Garzik <jgarzik@pobox.com>
1967
1968 * xmemdup.c: New xmemdup function.
1969 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
1970
1971Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
1972
b4fe2683 1973 * config.table: Add openedition target.
0c0a36a4
ILT
1974 * config/mh-openedition: New file.
1975
1976Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
1977
1978 * pexecute.c (pexecute): Fill in temp_base when needed.
1979
19801999-08-31 Richard Henderson <rth@cygnus.com>
1981
1982 * getpwd.c: Check HAVE_GETCWD before defining it away.
1983
19841999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1985
1986 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
1987 (REQUIRED_OFILES): Add getpwd.o.
1988 (getpwd.o): Add target.
1989
1990 * configure.in (AC_PREREQ): Bump to 2.13.
1991 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
1992
1993 * getpwd.c: New file, moved here from gcc.
1994
19951999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1996
1997 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
1998 comparing against a signed quantity.
1999 (arm_special): Likewise.
2000 (demangle_fund_type): Likewise.
2001 (do_hpacc_template_const_value): Mark parameter `work' with
b4fe2683 2002 ATTRIBUTE_UNUSED.
0c0a36a4
ILT
2003 (main): Constify variable `valid_symbols'.
2004
2005Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
2006
2007 * strtoul.c (strtoul): Add parentheses around && within ||.
2008
2009Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
2010
2011 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
2012 libdir, libsubdir and tooldir.
2013
20141999-08-01 Mark Mitchell <mark@codesourcery.com>
2015
2016 * splay-tree.c (splay_tree_insert): Return the new node.
2017
35ca97ea
RH
20181999-07-14 Richard Henderson <rth@cygnus.com>
2019
b4fe2683 2020 * argv.c: Include stdlib.h and string.h instead of
35ca97ea
RH
2021 prototyping directly.
2022 * choose-temp.c: Conditionally include string.h.
2023
0c0a36a4
ILT
20241999-07-12 Jason Merrill <jason@yorick.cygnus.com>
2025
2026 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
2027
af32ff69
ILT
20281999-07-11 Ian Lance Taylor <ian@zembu.com>
2029
2030 * splay-tree.c (splay_tree_insert): Add initialization to avoid
2031 warning.
2032
0c0a36a4
ILT
20331999-07-07 Jason Merrill <jason@yorick.cygnus.com>
2034
2035 * Makefile.in (needed-list): Only include stuff we actually need
2036 for libstdc++.
2037
20381999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2039
2040 * configure.in (checkfuncs): Add gettimeofday.
2041 * config.in, configure: Regenerated.
2042
2043Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
2044
2045 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
2046 the test fails.
2047 * configure: Regenerate.
2048
20491999-06-10 Mike Stump <mrs@wrs.com>
2050
2051 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
2052 parallel builds.
2053
20541999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2055
2056 * putenv.c: Include ansidecl.h to define `const'.
2057 * setenv.c: Likewise.
2058
2059Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
2060
2061 * Makefile.in (CFILES): Add putenv.c and setenv.c.
2062 * configure.in (funcs): Add putenv and setenv.
2063 (AC_CHECK_FUNCS): Check for putenv and setenv.
2064 * configure: Rebuilt.
2065 * putenv.c setenv.c: New files.
2066
2067 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
2068 bytes of space using malloc.
2069
2070Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
2071
2072 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
2073 the *mangled pointer beyond the end of the string. Clean up code to
2074 match prevailing coding style.
2075
20761999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2077
2078 * tmpnam.c (L_tmpnam): Fix typo.
2079
2080Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
2081
2082 * cplus-dem.c (standard_symbol_characters): Renamed from
2083 standard_symbol_alphabet. No longer modify TABLE.
2084 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
2085 modify TABLE.
2086 (main): Corresponding changes. Use strchr to determine if a
2087 character is valid.
2088
e9868447
JB
20891999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
2090
2091 * cplus-dem.c (main): Use table lookup to distinguish identifier
2092 characters from non-identifier characters.
2093 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
2094
33fbbfbc
RH
2095Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
2096
2097 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
2098 * getruntime.c: Only attempt to include sys/resource.h and
2099 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
2100 are defined.
2101
0c0a36a4
ILT
2102Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
2103
2104 * configure.in (alloca detection): Handle alloca directly for interix.
2105 * configure: Rebuilt.
2106
2107Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
2108
2109 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
2110
252b5132
RH
21111999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
2112
2113 Fix from Dale Hawkins:
b4fe2683 2114 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
252b5132
RH
2115 reallocated properly if we use it again.
2116
2117 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
2118 stricter about syntax. Always null-terminate string.
2119
c1687039
ILT
2120Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
2121
2122 * configure.in (checkfuncs): Check for sbrk.
2123 * config.in: Rebuilt.
2124 * configure: Likewise.
2125 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
2126
0c0a36a4
ILT
21271999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
2128
2129 Fix from Marcus Daniels:
2130 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
2131 identifier looking for another underscore.
2132
2133Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
2134
2135 * pexecute.c: Change all references to __UWIN__ to _UWIN.
2136 * xmalloc.c: Likewise.
2137 (xcalloc): UWIN has sbrk.
2138 (xrealloc): Fix guard macro.
2139
252b5132
RH
21401999-04-11 Richard Henderson <rth@cygnus.com>
2141
2142 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
2143 or <alloca.h>.
2144 * clock.c (GNU_HZ): New definition.
2145 (clock): Use it.
2146 * getruntime.c: Likewise.
2147
2148 * config.table: Use mh-beos.
2149 * config/mh-beos: New file.
2150
0c0a36a4
ILT
21511999-04-11 Mark Mitchell <mark@codesourcery.com>
2152
2153 * cplus-dem.c (demangle_template_value_parm): Handle
2154 pointers-to-members.
2155 (do_type): Handle template parameters as qualifiers.
2156
252b5132
RH
21571999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
2158
2159 * cplus-dem.c: Attempt to handle overflows in counts with some
2160 semblance of grace.
2161 (consume_count): Detect overflows. Return -1 to indicate errors,
2162 instead of zero.
2163 (demangle_template_value_parm, demangle_template): Handle change
2164 to consume_count's return convention.
2165
0c0a36a4
ILT
21661999-04-05 Tom Tromey <tromey@cygnus.com>
2167
2168 * testsuite/regress-demangle: New file.
2169 * testsuite/demangle-expected: New file.
252b5132 2170
0c0a36a4
ILT
2171 * Makefile.in (all, check, installcheck, info, install-info,
2172 clean-info, dvi, install, etags, tags, mostlyclean, clean,
2173 distclean, maintainer-clean, realclean): Depend on corresponding
2174 `-subdir' target.
2175 (all-subdir check-subdir installcheck-subdir info-subdir
2176 install-info-subdir clean-info-subdir dvi-subdir
2177 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
2178 distclean-subdir maintainer-clean-subdir): New target.
2179 * testsuite/Makefile.in: New file.
2180 * configure: Rebuilt.
2181 * configure.in: Create testsuite/Makefile.
252b5132
RH
2182
21831999-04-02 Mark Mitchell <mark@codesourcery.com>
2184
2185 * splay-tree.h (splay_tree_compare_pointers): Define.
2186
21871999-03-30 Mark Mitchell <mark@codesourcery.com>
2188
2189 * splay-tree.c (splay_tree_compare_ints): Define.
2190
21911999-03-30 Tom Tromey <tromey@cygnus.com>
2192
2193 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
2194 don't advance input pointer.
2195 (demangle_class_name): If consume_count didn't find a count, do
2196 nothing. Don't bother with `strlen' sanity check; consume_count
2197 does it for us.
2198
21991999-03-16 Stan Shebs <shebs@andros.cygnus.com>
2200
2201 From Art Haas <ahaas@neosoft.com>:
2202 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
2203 when doing arm or hp style.
2204 (demangle_nested_args): Decr forgetting_types field when done.
b4fe2683 2205
252b5132
RH
2206Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
2207
2208 * pexecute.c (__CYGWIN32__): Rename to
2209 (__CYGWIN__): this.
2210 * xmalloc.c: Likewise.
2211
2212 Changes to support i386-pc-uwin.
2213 * configure.in (*-*-uwin*): Workaround for vfork bug.
2214 * configure: Regenerate.
2215 * pexecute.c (pexecute): Be like standard Unix.
2216 (pwait): Likewise.
2217 * xmalloc.c (first_break): Define.
2218 (xmalloc_set_program_name): Use.
2219 (xmalloc): Use.
2220
2221Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2222
2223 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
2224
2225Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
2226
2227 * config.table: Check cygwin*, not cygwin32*.
2228
2229Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
2230
2231 * Makefile.in: Change mkstemp -> mkstemps.
2232
2233Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
2234
2235 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
2236 * configure.in (funcs): Check for and conditionally add mkstemps to
2237 the list of functions libiberty will provide.
2238 * configure: Rebuilt.
b4fe2683 2239
252b5132
RH
2240Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
2241
b4fe2683 2242 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
252b5132
RH
2243 platforms that don't have HZ.
2244 * getruntime.c (HZ): Likewise.
2245
2246Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
2247
2248 * Makefile.in (xstrdup.o): Depend on config.h.
2249
2250Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
2251
2252 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
2253 freeing it.
2254
2255Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2256
2257 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
2258
2259Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2260
2261 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
2262 splay-tree.o.
2263
22641999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
2265
2266 * configure.in: Require autoconf 2.12.1 or higher.
2267
22681998-12-30 Michael Meissner <meissner@cygnus.com>
2269
2270 * random.c (NULL): Don't redefine NULL if it is already defined.
2271
2272Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2273
2274 * argv.c (buildargv): Cast the result of alloca in assignment.
2275
2276 * choose-temp.c: Include stdlib.h.
2277
2278 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
8aefe91a
DD
2279 (snarf_numeric_literal): Constify first parameter.
2280 (code_for_qualifier): Avoid a gcc extension, make the parameter an
2281 int, not a char.
252b5132
RH
2282 (demangle_qualifier): Likewise.
2283 (demangle_signature): Cast the argument of a ctype function to
2284 unsigned char.
2285 (arm_pt): Add parens around assignment used as truth value.
2286 (demangle_arm_hp_template): Constify variable `args'.
2287 (do_hpacc_template_const_value): Cast the argument of a ctype
2288 function to unsigned char.
2289 (do_hpacc_template_literal): Remove unused variable `i'.
2290 (snarf_numeric_literal): Constify parameter `args'.
2291 Cast the argument of a ctype function to unsigned char.
2292
2293 * floatformat.c (floatformat_to_double): Add explicit braces to
8aefe91a 2294 avoid ambiguous `else'.
252b5132
RH
2295
2296 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
8aefe91a
DD
2297 `cstart' and `cend' to unsigned char. Cast the argument of macro
2298 `FOLD', which uses ctype functions, to unsigned char.
252b5132
RH
2299
2300 * objalloc.c (free): Add prototype.
2301
2302Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
2303
2304 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
2305
2306Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
2307
2308 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
8aefe91a 2309 doesn't exist.
252b5132 2310 (do_hpacc_template_literal): remove unused variable `i'.
b4fe2683 2311
252b5132
RH
2312Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2313
2314 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
2315 bumping the pointer we read from. Also prepend these codes,
2316 as we do in other places.
2317
23181998-12-18 Nick Clifton <nickc@cygnus.com>
2319
2320 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
2321 'const char *' in order to match its usage when calling siblings.
2322 (snarf_numeric_literal): Make first arg 'const char **' in order
2323 to match usage.
2324
2325Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2326
2327 * choose-temp.c: Don't check IN_GCC anymore.
2328
2329 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
2330 * memchr.c (memchr): Likewise.
2331 * memcpy.c (memcpy): Likewise.
2332 * memmove.c (memmove): Likewise.
2333
2334 * mkstemp.c: Don't check IN_GCC anymore.
2335 * pexecute.c: Likewise.
2336 * splay-tree.c: Likewise.
2337
2338 * strchr.c (strchr): Use `const', not `CONST'.
2339 * strrchr.c (strrchr): Likewise.
2340 * strtol.c (strtol): Likewise.
2341 * strtoul.c (strtoul): Likewise.
2342
2343Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
2344 Elena Zannoni <ezannoni@cygnus.com>
2345 Stan Shebs <shebs@cygnus.com>
2346 Edith Epstein <eepstein@cygnus.com>
2347 Andres MacLeod <amacleod@cygnus.com>
2348 Satish Pai <pai@apollo.hp.com>
2349
2350 * HP aCC demangling support.
2351 * cplus-dem.c
2352 (main): Remove default to HP style demangling, set to EDG
8aefe91a
DD
2353 demangling correctly when -edg specified; set the demangling style
2354 when user specifies 'edg'. Set strip_underscore to
2355 prepends_underscore, if not HPUXHPPA. Set
2356 current_demangling_style to hp_demangling if HPUXHPPA. Set
2357 current demangling style correctly if the switch is hp. Read
2358 label correctly also in the HP style case.
252b5132 2359 (work_stuff): add temp_start field; add field for volatile member
8aefe91a 2360 function.
252b5132 2361 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
8aefe91a 2362 style for this case is the same as ARM.
252b5132
RH
2363 (demangle_args): handle EDG_DEMANGLING style; support HP style.
2364 (demangle_arm_hp_template): new function. (It was
8aefe91a
DD
2365 demangle_arm_pt.); check and set value of temp_start field in
2366 multiple places. Also, when ceching for end of template args,
2367 check to see if at end of static member of template class.
252b5132 2368 (demangle_class): new local variable : save_class_name_end Don't
8aefe91a 2369 include template args in string defining class.
252b5132
RH
2370 (demangle_class_name): use demangel_arm_hp_template.
2371 (demangle_function_name): handle case where demangling style is
8aefe91a
DD
2372 HP_DEMANGLING and currently point at an 'X' in the mangled name.
2373 Handle EDG_DEMANGLING style. Handle constructor and destructor
2374 ops for HP style.
252b5132 2375 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
8aefe91a
DD
2376 styles. global destructor and constructor for HP style are same
2377 as for ARM style. Same for local variables.
252b5132
RH
2378 (demangle_qualified): handle EDG_DEMANGLING style.
2379 (demangle_signature): add case for volatile member function. For
8aefe91a
DD
2380 cases '1' - '9' : initialize the temp_start field to -1 and handle
2381 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
2382 and AUTO_DEMANGLING styles. If expecting a function and managed
2383 to demangle the funct args, then handle the LUCID_DEMANGLING,
2384 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
2385 class name after "Lnnn_ in HP style case. HP style too needs to
2386 forget types. _nnn is OK for HP style, so don't report failure.
252b5132 2387 (do_hpacc_template_const_value): new function. Handle template's
8aefe91a 2388 value param for HP/aCC.
252b5132 2389 (do_hpacc_template_literal): new function. Handle a template's
8aefe91a 2390 literal parameter for HP aCC.
252b5132
RH
2391 (recursively_demangle): new function
2392 (snarf_numeric_literal): new function.
2393 (usage): add 'edg' to the list of demangling styles; add hp switch
8aefe91a 2394 to message.
252b5132
RH
2395
2396Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
2397
2398 * pexecute.c: Remove obsolete ifdefed cygwin code.
2399
2400Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2401
2402 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
2403 * cplus-dem.c: Likewise. Conform to libiberty.h.
2404 * pexecute.c: Likewise.
2405 * splay-tree.c: Likewise.
2406
24071998-11-25 Mike Stump <mrs@wrs.com>
2408
2409 * Makefile.in (splay-tree.o): Add config.h dependency.
2410
2411Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2412
2413 * configure.in: Use AC_PREREQ(2.12.1).
2414
24151998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
2416
b4fe2683 2417 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
252b5132
RH
2418
2419Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
2420
2421 * mpw.c (mpw_access): Add missing parens.
2422
2423Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2424
2425 * configure.in: Call AC_HEADER_SYS_WAIT.
2426
2427 * pexecute.c: Include sys/wait.h when !IN_GCC.
2428
2429Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
2430
2431 * pexecute.c: revert back to checking old Cygwin
2432 preprocessor symbol until some time has passed.
2433
2434Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
2435
2436 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
2437 since it will now support similar constructs.
2438
2439Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2440
2441 * configure.in: Check for calloc.
2442
2443 * calloc.c: New file.
2444
2445 * xmalloc.c (xcalloc): New function.
2446
2447Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2448
2449 *cplus-dem.c (demangle_prefix): Use the last "__"
2450 in the mangled name when looking for the signature. This allows
2451 template names to begin with "__".
2452
24531998-11-08 Mark Mitchell <mark@markmitchell.com>
2454
2455 * cplus-dem.c (type_kind_t): Add tk_reference.
2456 (demangle_template_value_parm): Handle it.
2457 (do_type): Use it for references, instead of tk_pointer.
2458
2459 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
2460 not internal_cplus_demangle.
2461
2462Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2463
2464 * choose-temp.c: Don't include gansidecl.h.
2465 * mkstemp.c: Likewise.
2466 * pexecute.c: Likewise.
2467
2468Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
2469
b4fe2683
JM
2470 * configure.in: detect cygwin* instead of cygwin32*
2471 * configure: regenerate
252b5132
RH
2472
2473Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2474
2475 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
8aefe91a
DD
2476 whether to include config.h. Possibly include unistd.h in the
2477 !IN_GCC case. Define VFORK_STRING as a printable function call
2478 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
2479 defined, include vfork.h. If VMS is defined, define vfork()
2480 appropriately. Remove vfork check on USG, we're using autoconf.
2481 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
2482 locally what string to use.
252b5132
RH
2483
24841998-10-26 Mark Mitchell <mark@markmitchell.com>
2485
2486 * splay-tree.c: Tweak include directives to make sure declarations of
2487 xmalloc and free are available.
2488
24891998-10-25 Mark Mitchell <mark@markmitchell.com>
2490
2491 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
2492 anonymous namespaces.
2493
24941998-10-23 Mark Mitchell <mark@markmitchell.com>
2495
2496 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
2497 with type_quals.
2498 (TYPE_UNQUALIFIED): New macro.
2499 (TYPE_QUAL_CONST): Likewise.
2500 (TYPE_QUAL_VOLATILE): Likewise.
2501 (TYPE_QUAL_RESTRICT): Likewise.
2502 (code_for_qualifier): New function.
2503 (qualifier_string): Likewise.
2504 (demangle_qualifier): Likewise.
2505 (internal_cplus_demangle): Use them.
2506 (demangle_signature): Likewise.
2507 (demangle_template_value_parm): Likewise.
2508 (do_type): Likewise.
2509 (demangle_fund_type)): Likewise.
2510
2511Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2512
2513 * splay-tree.c (splay_tree_foreach_helper): Make definition static
2514 to match prototype.
2515
25161998-10-21 Mark Mitchell <mark@markmitchell.com>
2517
2518 * splay-tree.c: New file.
2519 * Makefile.in (CFILES): Add it.
2520 (REQUIRED_OFILES): Likewise.
2521 (splay-tree.o): Add dependencies.
2522
2523Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2524
2525 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
2526 range of 'K' index.
2527
2528Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2529
2530 * choose-temp.c: Prototype mkstemps() when IN_GCC.
2531
2532 * cplus-dem.c (consume_count): Cast argument of ctype macro to
2533 `unsigned char'.
2534 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
2535 comparing against one.
2536 (cplus_mangle_opname): Likewise.
2537 (demangle_integral_value): Cast argument of ctype macro to
2538 `unsigned char'.
2539 (demangle_template_value_parm): Likewise.
2540 (demangle_template): Initialize variable `bindex'. Cast the
2541 result of `strlen' to (int) when comparing against one. Remove
2542 unused variable `start_of_value_parm'.
2543 (demangle_class_name): Cast the result of `strlen' to (int) when
2544 comparing against one.
2545 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
2546 (gnu_special): Likewise. Cast the result of `strlen' to (int)
2547 when comparing against one.
2548 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
2549 (get_count): Likewise.
2550 (do_type): Likewise. Cast the result of `strlen' to (int) when
2551 comparing against one.
2552 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
2553 (demangle_function_name): Cast the result of `strlen' to (int)
2554 when comparing against one.
2555
2556 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
2557 comparing against one.
2558
2559Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
2560
b4fe2683
JM
2561 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
2562 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
2563 * config.in, configure: Rebuilt.
252b5132
RH
2564
2565 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
2566 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
2567 * config.in, configure: Rebuilt.
2568
2569Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
2570
b4fe2683 2571 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
252b5132
RH
2572
2573Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
2574
2575 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
2576
2577Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
2578
2579 * Merge egcs & devo libiberty.
2580