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