source: trunk/src/gcc/libiberty/ChangeLog@ 1567

Last change on this file since 1567 was 1475, checked in by bird, 21 years ago

This commit was generated by cvs2svn to compensate for changes in r1474,
which included commits to RCS files with non-trunk default branches.

  • Property cvs2svn:cvs-rev set to 1.1.1.3
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 178.7 KB
Line 
12004-05-31 Release Manager
2
3 * GCC 3.3.4 Released.
4
52004-02-14 Release Manager
6
7 * GCC 3.3.3 Released.
8
92003-11-12 Daniel Jacobowitz <drow@mvista.com>
10
11 Backport from mainline:
12 2003-02-20 Daniel Jacobowitz <drow@mvista.com>
13
14 * Makefile.in (CFILES): Add lrealpath.c.
15 (REQUIRED_OFILES): Add lrealpath.o.
16 (lrealpath.o): Add rule.
17 * aclocal.m4 (libiberty_NEED_DECLARATION): Add.
18 * configure.in: Add realpath and canonicalize_file_name to
19 checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION
20 for canonicalize_file_name.
21 * lrealpath.c: New file.
22 * make-relative-prefix.c: Update documentation.
23 (make_relative_prefix): Simplify. Use lbasename and lrealpath.
24 * config.in: Regenerated.
25 * configure: Regenerated.
26 * functions.texi: Regenerated.
27
282003-10-16 Release Manager
29
30 * GCC 3.3.2 Released.
31
322003-08-04 Release Manager
33
34 * GCC 3.3.1 Released.
35
362003-08-04 Release Manager
37
38 * GCC 3.3.1 Released.
39
402003-06-19 Dara Hazeghi <dhazeghi@yahoo.com>
41
42 * configure.in: Add check for malloc.h needed by
43 m68k for function free().
44 * configure: Regenerated.
45 * config.in: Add HAVE_MALLOC_H.
46 * hashtab.c: include malloc.h were available for
47 free().
48
492003-06-09 Albert Chin-A-Young <china@thewrittenword.com>
50
51 PR bootstrap/10974
52 * physmem.c: Update comment.
53 * configure.in: Modify test for _system_configuration for older
54 AIX systems.
55
56 * config.in, configure: Regenerated.
57
582003-06-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
59
60 PR other/10810
61 * test-demangle.c (getline): Fix fence-post error.
62
632003-05-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
64
65 Backport from mainline:
66 2003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
67
68 * vsprintf.c: Include "ansidecl.h" earlier, rely on
69 ANSI_PROTOTYPES and possibly include <stdarg.h>.
70
712003-05-14 Carlo Wood <carlo@alinoe.com>
72
73 * cp-demangle.c: Fix typo in "char_traints" string-literal.
74
752003-05-13 Release Manager
76
77 * GCC 3.3 Released.
78
792003-05-13 Release Manager
80
81 * GCC 3.3 Released.
82
832003-05-13 Release Manager
84
85 * GCC 3.3 Released.
86
872003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
88
89 PR target/10338
90 PR bootstrap/10198
91 PR bootstrap/10140
92 * getopt.c (exchange, _getopt_initialize): Use mempcpy not
93 __mempcpy.
94 * regex.c (regerror): Likewise.
95
962003-04-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
97
98 * configure.in (HAVE_UINTPTR_T): Always define.
99 * configure: Regenerated.
100
1012003-03-23 Alexandre Oliva <aoliva@redhat.com>
102
103 * Makefile.in (MULTIOSDIR): New macro. Use $(CC) $(LIBCFLAGS)
104 instead of $$CC alone.
105 (install_to_tooldir): Use it.
106
1072003-03-03 Mark Mitchell <mark@codesourcery.com>
108
109 * cplus-dem.c: Add license exception to copyright notice.
110
1112003-02-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
112
113 * physmem.c: Formatting changes from upstream.
114
1152003-02-24 Danny Smith <dannysmith@users.source.forge.net>
116
117 * physmem.c (physmem_total): Add _WIN32 support.
118 (physmem_available): Likewise.
119
1202003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
121
122 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
123 GSI_PHYSMEM.
124 (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS.
125
1262003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
127
128 * configure.in: Check for sys/systemcfg.h and
129 _system_configuration.
130 * physmem.c: Add support for AIX. Tweek formatting as per
131 upstream coreutils beta.
132
1332003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
134 Richard Earnshaw <rearnsha@arm.com>
135 Geoffrey Keating <geoffk@apple.com>
136
137 * configure.in: Check for sys/sysctl.h and sysctl.
138 * physmem.c: Add support for *bsd and darwin.
139 * Makefile.in: Generate depedency for physmem.o.
140
1412003-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
142
143 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on
144 Tru64 UNIX.
145 (physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on
146 Tru64 UNIX.
147
148 * configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h,
149 machine/hal_sysinfo.h, sys/table.h.
150 (checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table.
151 * configure, config.in: Regenerate.
152
1532003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
154
155 * configure.in: Check for sys/sysmp.h and sysmp.
156 * physmem.c: Pull upstream copy, add support for irix6.
157
158 * config.in, configure: Regenerated.
159
1602003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
161
162 * physmem.c (physmem_total, physmem_available): De-ANSI-fy.
163 * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and
164 pstat_getdynamic.
165
1662003-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
167
168 * Makefile.in (CFILES): Add physmem.c.
169 (REQUIRED_OFILES): Add physmem.o.
170 * configure.in: Check for sys/pstat.h.
171 (checkfuncs): Add pstat_getstatic and pstat_getdynamic.
172 * physmem.c: New file, copied from textutils.
173
174 * config.in, configure: Regenerated.
175
1762003-02-20 Alexandre Oliva <aoliva@redhat.com>
177
178 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
179 config.status.
180 * configure: Rebuilt.
181
1822003-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
183
184 * acconfig.h: New file. Add uintptr_t.
185 * config.in: Regenerated.
186
1872003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
188
189 * libiberty.texi: Update to GFDL 1.2.
190
1912003-02-02 Christian Cornelssen <ccorn@cs.tu-berlin.de>
192
193 * Makefile.in (libiberty_topdir): New subst.
194 (mkinstalldirs): Redefine in terms of the above.
195 * configure.in: AC_SUBST it.
196 * configure: Regenerate.
197
1982003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de>
199
200 * Makefile.in (all-subdir, check-subdir, installcheck-subdir)
201 (info-subdir, install-info-subdir, clean-info-subdir)
202 (dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
203 (clean-subdir, distclean-subdir, maintainer-clean-subdir):
204 Pass $(FLAGS_TO_PASS).
205
2062003-01-27 Alexandre Oliva <aoliva@redhat.com>
207
208 * Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
209 /`$$CC -print-multi-os-directory`.
210
2112003-01-26 Christian Cornelssen <ccorn@cs.tu-berlin.de>
212
213 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
214 (install_to_libdir, install_to_tooldir): Add a mkinstalldirs
215 command.
216
2172003-01-20 Josef Zlomek <zlomekj@suse.cz>
218
219 * hashtab.c (htab_expand): Fix allocation of new entries.
220
2212002-12-04 Danny Smith <dannysmith@users.sourceforge.net>
222
223 * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
224 Define for hosts with HOST_EXECUTABLE_SUFFIX.
225
2262002-11-24 Nick Clifton <nickc@redhat.com>
227
228 * make-relative-prefix.c (make_relative_prefix): Ensure return
229 string is empty before using strcat to construct it.
230
2312002-11-22 Daniel Jacobowitz <drow@mvista.com>
232
233 * Makefile.in: Add make-relative-prefix.c.
234 * make-relative-prefix.c: New file.
235 * functions.texi: Rebuilt.
236
2372002-11-16 Jakub Jelinek <jakub@redhat.com>
238
239 * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
240 used with arguments in traditional C' warnings.
241
2422002-10-16 Jakub Jelinek <jakub@redhat.com>
243
244 * config.table: Use mh-s390pic for s390x too.
245
2462002-10-06 Andreas Jaeger <aj@suse.de>
247
248 * libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded
249 variable and of strict-aliasing warning.
250 (grow_vect): Use char as first parameter.
251
2522002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
253
254 * Makefile.in (all): Fix multilib parallel build.
255
2562002-09-19 John David Anglin <dave@hiuly1.hia.nrc.ca>
257
258 * cp-demangle.c (demangling_new): Cast 0 to enum.
259 (demangle_char): Cast return of strdup to char *.
260 (is_gnu_v3_mangled_ctor): Cast 0 to enum.
261 (is_gnu_v3_mangled_dtor): Likewise.
262 * cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
263 (work_stuff_copy_to_from): Cast return of xmalloc to char **.
264 * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
265 * md5.c (md5_process_bytes): Cast results back to const void *.
266 (md5_process_block): Add cast to const md5_uint32 *.
267 * regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
268 * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
269 unsigned short.
270 * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
271 to void *.
272 * vasprintf.c (int_vasprintf): Cast return of malloc to char *.
273
2742002-09-19 Nick Clifton <nickc@redhat.com>
275
276 * README: Update email addresses for bugs and patches.
277
2782002-09-10 Mike Stump <mrs@apple.com>
279
280 * splay-tree.c (splay_tree_successor): Fix comments.
281
2822002-09-11 Zack Weinberg <zack@codesourcery.com>
283
284 * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
285 * testsuite/Makefile.in: Adjust for test-demangle.
286 * testsuite/regress-demangle: Deleted.
287 * testsuite/test-demangle.c: New file.
288 * testsuite/demangle-expected: Change \$ to $ throughout, now that
289 this file is not being read by a shell script.
290
2912002-09-05 Roger Sayle <roger@eyesopen.com>
292
293 * regex.c: Only use "#pragma alloca" on AIX when not using gcc.
294
2952002-08-07 DJ Delorie <dj@redhat.com>
296
297 * regex.c (re_error_msgid): Just use a simple array of strings.
298 (re_compile_pattern): Compensate.
299 (re_comp): Likewise.
300 (re_comp): Likewise.
301 (regerror): Likewise.
302
3032002-07-29 Neil Booth <neil@daikokuya.co.uk>
304
305 * cplus-dem.c (PREPEND_BLANK): Remove.
306
3072002-07-10 Jason Merrill <jason@redhat.com>
308
309 * cp-demangle.c (demangle_identifier): Support extended Unicode
310 characters.
311
3122002-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
313
314 * cp-demangle.c (demangle_v3_with_details): Wrap in
315 !defined IN_GLIBCPP_V3.
316
3172002-07-01 Mark Mitchell <mark@codesourcery.com>
318
319 * cp-demangle.c (demangle_operator_name): Add type_arg parameter.
320 Set it for the "st" operator.
321 (demangle_expression): Handle expressions with types as arguments.
322
3232002-06-30 Douglas Rupp <rupp@gnat.com>
324
325 * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
326 * Makefile.in (OUTPUT_OPTION): Use.
327
3282002-06-22 Peter Breitenlohner <peb@mppmu.mpg.de>
329
330 * Makefile.in (install_to_libdir): Add $(DESTDIR).
331 (install_to_tooldir): Likewise.
332
3332002-06-17 Douglas Rupp <rupp@gnat.com>
334
335 * lbasename.c: Add 2002 to copyright.
336 (IS_DIR_SEPARATOR): Remove VMS junk.
337
3382002-06-05 Geoffrey Keating <geoffk@redhat.com>
339
340 * hashtab.c (htab_create): New stub function for backward
341 compatibility.
342 (htab_try_create): Likewise.
343
3442002-06-03 Geoffrey Keating <geoffk@redhat.com>
345
346 * hashtab.c (htab_create): Delete.
347 (htab_try_create): Delete.
348 (htab_create_alloc): New.
349 (htab_delete): Support user-specified memory allocation.
350 (htab_expand): Likewise.
351
3522002-05-22 Roman Lechtchinsky <rl@cs.tu-berlin.de>
353
354 * configure.in: Fix typo in the code checking for sys_errlist.
355 * configure: Regenerated.
356
3572002-05-13 Andreas Schwab <schwab@suse.de>
358
359 * config.table: Use mh-x86pic also for x86-64.
360
3612002-05-08 Alexandre Oliva <aoliva@redhat.com>
362
363 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
364 script entry, and set LD to it when configuring multilibs.
365 * configure: Rebuilt.
366
3672002-05-07 Mark Mitchell <mark@codesourcery.com>
368
369 * configure.in (AC_TYPE_PID_T): Use it.
370 * configure: Regenerated.
371 * getruntime.c: Include <sys/types.h>.
372 * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid".
373
3742002-04-09 Richard Henderson <rth@redhat.com>
375
376 * hashtab.c (higher_prime_number): Use 7 as minimum.
377 (find_empty_slot_for_expand): Don't compute hash2 unless needed.
378 (htab_find_slot_with_hash): Likewise.
379
3802002-04-01 Phil Edwards <pme@gcc.gnu.org>
381
382 * cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
383 (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally
384 not compile if IN_GLIBCPP_V3 defined.
385 * dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme.
386
3872002-03-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
388
389 * cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
390 if it is NULL.
391
3922002-03-27 DJ Delorie <dj@redhat.com>
393
394 * hex.c: Add documentation.
395 (_hex_value): Provide non-ASCII empty table.
396 (hex_init): Initialize the non-ASCII table.
397 * functions.texi: Regenerate.
398
3992002-03-27 Mark Mitchell <mark@codesourcery.com>
400
401 * dyn-string.c: Add libgcc exception to copyright notice.
402
4032002-03-26 H.J. Lu (hjl@gnu.org)
404
405 * config.table: Support --with-build-subdir.
406 * configure.in: Likewise.
407 * configure: Rebuild.
408
4092002-03-18 Stuart Griffith <Stuart_Griffith@credence.com>
410
411 * strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
412 seen.
413
4142002-03-12 Mark Mitchell <mark@codesourcery.com>
415
416 * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
417 notice.
418
4192002-03-11 Douglas B Rupp <rupp@gnat.com>
420
421 * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
422
4232002-03-06 Jim Blandy <jimb@redhat.com>
424
425 * splay-tree.c (splay_tree_xmalloc_allocate,
426 splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
427 prototyped definitions. Mark `data' arguments as unused.
428
4292002-03-06 Andrew Cagney <ac131313@redhat.com>
430
431 * floatformat.c (floatformat_arm_ext_big): Delete definition.
432
4332002-03-04 Phil Edwards <pme@gcc.gnu.org>
434
435 * configure.in: Add --enable-install-libiberty option.
436 * Makefile.in (INSTALLED_HEADERS): New variable.
437 (install_to_libdir): Possibly also copy headers.
438 * configure: Regenerated.
439
4402002-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
441
442 * xmalloc.c (xmalloc_fail): Clarify error message further.
443
4442002-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
445
446 * xmalloc.c (xmalloc_fail): Clarify error message.
447
4482002-02-22 Jim Blandy <jimb@redhat.com>
449
450 * splay-tree.c (splay_tree_xmalloc_allocate,
451 splay_tree_xmalloc_deallocate): New functions.
452 (splay_tree_new): Call splay_tree_new_with_allocator, passing the
453 above functions and a dummy data pointer.
454 (splay_tree_new_with_allocator): New function.
455 (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
456 splay_tree_remove): Use the splay tree's allocation and
457 deallocation functions.
458
4592002-02-19 Scott Snyder <snyder@fnal.gov>
460
461 * testsuite/demangle-expected: Add test case for infinite loop in
462 demangler.
463 * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
464 if do_type() doesn't make any progress --- prevents an infinite
465 loop.
466
4672002-02-18 Carlo Wood <carlo@gnu.org>
468
469 PR c++/5390
470 * cplus-dem.c (demangle_integral_value): Accept multi-digit
471 numbers that do not start with an underscore; This is needed
472 for integer template parameters. This doesn't break anything
473 because multi-digit numbers are never followed by a digit.
474 * testsuite/demangle-expected: Corrected all mangled test
475 cases with multi-digit template parameters: g++ 2.95.x does
476 not generate underscores around these parameters.
477
4782002-02-05 Jason Merrill <jason@redhat.com>
479
480 * cplus-dem.c (flags): Add DMGL_VERBOSE
481 (cplus_demangle_v3_p): Remove.
482 (demangle_it): Add DMGL_TYPES to passed flags.
483 * cp-demangle.c (cplus_demangle_v3_all): Remove.
484 (cplus_demangle_v3_type): Remove.
485 (cplus_demangle_v3): Add options parm.
486
4872002-02-02 H.J. Lu (hjl@gnu.org)
488
489 * cp-demangle.c (cp_demangle_type): Do not protect with
490 IN_LIBGCC2.
491 (cplus_demangle_v3_all): New.
492 (cplus_demangle_v3): Call cplus_demangle_v3_all.
493 (cplus_demangle_v3_type): Call cplus_demangle_v3_all.
494
495 * cplus-dem.c (cplus_demangle_v3_p): New function pointer.
496 Initialized to cplus_demangle_v3.
497 (cplus_demangle_with_style): Call cplus_demangle_v3_p instead
498 of cplus_demangle_v3.
499 (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
500 command line symbol.
501
502 * testsuite/regress-demangle: Pass the mangled name at the
503 command line.
504
5052002-02-01 H.J. Lu <hjl@gnu.org>
506
507 * cp-demangle.c (cp_demangle_type): Call demangling_new with
508 DMGL_GNU_V3.
509
5102002-01-31 Phil Edwards <pme@gcc.gnu.org>
511
512 * cp-demangle.c: Revert yesterday's change.
513
5142002-01-31 Adam Megacz <adam@xwt.org>
515
516 * gcc/libiberty/configure.in: Treat mingw the same as cywin
517 wrt HAVE_SYS_ERRLIST.
518
5192002-01-30 Phil Edwards <pme@gcc.gnu.org>
520
521 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
522 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on
523 cp_demangle_type.
524 * testsuite/demangle-expected: New gnu-v3 test.
525
5262002-01-22 Momchil Velikov <velco@fadata.bg>
527
528 * configure.in (variable detection): Use arrays of unspecified
529 size instead of plain integers.
530
5312002-01-18 DJ Delorie <dj@redhat.com>
532
533 * Makefile.in (TESTLIB): New. This library is for future
534 testsuites.
535 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
536 break down by letter.
537 (REQUIRED_OFILES): List long-to-compile files first.
538 (maint-deps): New, target for updating dependencies.
539 (dependencies): Update.
540 * maint-tool: Add dependency-generating option.
541 * configure.in: Check for _doprnt even if we're not providing it.
542 * configure: Regenerate.
543
544 * _doprnt.c: Modifications to allow compiling on any platform.
545 * copysign.c: Likewise.
546 * putenv.c: Likewise.
547 * setenv.c: Likewise.
548 * vsprintf.c: Likewise.
549
5502002-01-15 Douglas B Rupp <rupp@gnat.com>
551
552 * mkstemps.c (mkstemps): On VMS, open temp file with option
553 that causes it to be deleted when closed.
554
5552002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
556
557 * cp-demangle.c (long_options): Const-ify.
558 * cplus-dem.c (long_options): Likewise.
559
560 * cplus-dem.c (mystrstr): Delete. All callers changed to use
561 strstr instead.
562
5632001-12-31 Ira Ruben <ira@apple.com>
564
565 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
566 * configure: Regenerated.
567
5682001-12-24 Douglas B. Rupp <rupp@gnat.com>
569
570 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
571 * configure: Regenerated.
572
5732001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
574
575 PR other/2719
576 * cplus-dem.c (consume_count): Treat negative count as an error.
577 * testsuite/demangle-expected: Added testcase.
578
579Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
580
581 * configure.in: Hardcode that vfork works on VMS host.
582 * configure: Regenerated.
583
5842001-12-06 Richard Henderson <rth@redhat.com>
585
586 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
587 (cplus_demangle): Support no_demangling.
588
5892001-11-27 Zack Weinberg <zack@codesourcery.com>
590
591 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
592 in libiberty context. Fix typo in leading comment.
593 * configure.in: Fix various AC_DEFINEs so autoheader works.
594 If any of vprintf, vsprintf, vfprintf is missing from libc,
595 then AC_REPLACE_FUNCS(_doprnt).
596
5972001-11-26 DJ Delorie <dj@redhat.com>
598 Daniel Jacobowitz <drow@mvista.com>
599
600 * Makefile.in (stamp-h): Depend on Makefile for proper
601 serialization.
602 (*-subdir): Depend on config.h for proper serialization.
603
6042001-11-26 DJ Delorie <dj@redhat.com>
605
606 * configure.in: Check for alloca.h (for regex.c and putenv.c).
607 * configure: Regenerate.
608 * config.h: Add HAVE_ALLOCA_H.
609
6102001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
611
612 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
613 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
614 is available.
615
616Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
617
618 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
619 * configure.in (HAVE_UINTPTR_T): Test for system defining
620 uintptr_t and define HAVE_UINTPTR_T appropriately.
621 * regex.c (uintptr_t): Do not provide a definition if the
622 system provided one.
623
624 * regex.c (PREFIX): Provide an alternate definition for
625 non-ANSI/ISO compilers.
626 (ARG_PREFIX): Likewise.
627
6282001-11-12 Jim Meyering <meyering@lucent.com>
629
630 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
631 this code would end up calling gettext even in packages built
632 with --disable-nls.
633 * getopt.c (_): Likewise.
634 * regex.c (_): Likewise.
635
6362001-11-03 Alan Modra <amodra@bigpond.net.au>
637
638 * configure.in: Cope with missing makeinfo.
639 * configure: Regenerate.
640
6412001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
642
643 * hex.c (hex_init): Provide empty stub.
644
645 * hex.c (hex_init): Delete.
646 (_hex_value): Const-ify and initialize at compile-time.
647
6482001-10-19 H.J. Lu <hjl@gnu.org>
649
650 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
651 necessary.
652
6532001-10-17 DJ Delorie <dj@redhat.com>
654
655 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
656 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
657 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
658 Improve manual formatting.
659 * functions.texi: Regenerate.
660
6612001-10-15 DJ Delorie <dj@redhat.com>
662
663 * Makefile.in (TEXIFILES): Add fnmatch.txh.
664 (maint-undoc): New.
665 maint-tool: Add "undoc" tool.
666 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
667 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
668 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
669 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
670 documentation.
671 * fnmatch.txh: New.
672 * functions.texi: Regenerate.
673
6742001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
675
676 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
677 * strtod.c: Use "ISO C" instead of "ANSI C".
678 * functions.texi: Regenerate.
679
6802001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
681
682 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
683 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
684 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
685 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
686 spelling. Give names to function arguments in documentation. Use
687 (void) prototypes in documentation.
688 * functions.texi: Regenerate.
689
6902001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
691
692 * argv.c (buildargv, tests, main): Const-ify.
693 * cp-demangle.c (operator_code): Likewise.
694 * cplus-dem.c (optable, libiberty_demanglers,
695 cplus_demangle_set_style, cplus_demangle_name_to_style,
696 print_demangler_list): Likewise.
697 * hashtab.c (higher_prime_number): Likewise.
698 * strcasecmp.c (charmap): Likewise.
699 * strerror.c (error_info, strerror, main): Likewise.
700 * strncasecmp.c (charmap): Likewise.
701 * strsignal.c (signal_info): Likewise.
702
7032001-09-29 DJ Delorie <dj@redhat.com>
704
705 * configure: Regenerate.
706
7072001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
708
709 * concat.c: Include stdlib.h.
710
7112001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
712
713 * libiberty.texi: (Top level): Add syncodeindex pg. Add
714 @dircategory and @direntry directives. Add @finalout.
715 (many nodes): Lose the next,prev,up pointers on the @nide line.
716 (Using, Supplemental Functions, Replacement Functions): Fix
717 markup.
718 (Functions): Move around, to allow makeinfo to build the manual
719 without next,prev,up pointers in thye node lines.
720 (Licenses): Fix typos.
721
722 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
723 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
724 * functions.texi: Regenerate.
725
726 * copying-lib.texi: Lose the next,prev,up pointers on the @node
727 line.
728
7292001-09-27 DJ Delorie <dj@redhat.com>
730
731 * configure.in: Don't use in-tree texinfo, because libiberty must
732 be built before it. Check for makeinfo version 4 or higher.
733 * functions.texi: Regenerate.
734
7352001-09-20 DJ Delorie <dj@redhat.com>
736 Phil Edwards <pedwards@disaster.jaj.com>
737
738 * configure.in (MAKEINFO, PERL): Detect these.
739 (--enable-maintainer-mode): Add.
740 * configure: Regenerate.
741 * Makefile.in (MAKEINFO, PERL): Define.
742 (libiberty.info, libiberty.dvi, libiberty.html): New.
743 (CFILES): Add bsearch.c.
744 (CONFIGURED_OFILES): New, list of objects configure might add.
745 (maint-missing, maint-buildall): New, for maintainers only.
746 (clean, mostlyclean): Add info/dvi/html files.
747 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
748 * gather-docs: New, for maintainers.
749 * maint-tool: New, for maintainers.
750 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
751 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
752 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
753 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
754 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
755 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
756 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
757 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
758 documentation.
759
7602001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
761
762 * concat.c (reconcat): Fix for traditional C.
763
7642001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
765
766 * concat.c (reconcat): New function.
767
7682001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
769
770 * concat.c (vconcat_length, vconcat_copy, concat_length,
771 concat_copy, concat_copy2): New functions.
772 (concat): Use vconcat_length/vconcat_copy.
773
774 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
775 Define.
776
7772001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
778
779 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
780 VA_FIXEDARG & VA_CLOSE.
781
782 * vasprintf.c: Check HAVE_STRING_H when including string.h.
783 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
784 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
785
7862001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
787
788 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
789
7902001-08-23 Ulrich Drepper <drepper@redhat.com>
791
792 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
793
7942001-08-23 Ulrich Drepper <drepper@redhat.com>
795
796 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
797 instead of mbrtowc.
798 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
799 wcslen, and __wcscoll instead of wcscoll.
800
8012001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
802
803 * fibheap.c (fibheap_init, fibnode_init): Remove.
804 (fibheap_new, fibnode_new): Use xcalloc to allocate and
805 initialize memory.
806 (fibheap_insert): Remove check for node allocation failure.
807
8082001-08-21 Richard Henderson <rth@redhat.com>
809
810 * Makefile.in (fibheap.o): Depend on config.h.
811 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
812 functions for inlining.
813
814Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
815
816 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
817 hosting on cygwin.
818 * configure: Regenerate.
819
8202001-08-20 Andrew Cagney <ac131313@redhat.com>
821
822 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
823 HARRIS_FLOAT_FORMAT.
824 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
825 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
826 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
827 (floatformat_m88110_harris_ext): New float formats.
828
8292001-08-20 Daniel Berlin <dan@cgsoftware.com>
830
831 * fibheap.c: New file. Fibonacci heap.
832
833 * Makefile.in (CFILES): Add fibheap.c.
834 (REQUIRED_OFILES): Add fibheap.o.
835 (fibheap.o): Add dependencies for fibheap.o.
836
8372001-08-17 Christopher Faylor <cgf@cygnus.com>
838
839 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
840 * configure: Regenerate.
841
8422001-08-16 Richard Henderson <rth@redhat.com>
843
844 * hashtab.c (htab_hash_string): New.
845
8462001-08-13 Andrew Cagney <ac131313@redhat.com>
847
848 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
849 name.
850
8512001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
852
853 * regex.c (wcs_regex_compile): Use appropriate string
854 to compare with collating element.
855 Fix the padding for the alignment.
856
8572001-08-10 Andrew Cagney <ac131313@redhat.com>
858
859 * lbasename.c (lbasename): Change function definition to return a
860 const char pointer.
861
8622001-08-07 Jason Merrill <jason_merrill@redhat.com>
863
864 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
865 for".
866
8672001-08-03 Richard Henderson <rth@redhat.com>
868
869 * Makefile.in (concat.o): Depend on config.h.
870
8712001-07-30 Andreas Jaeger <aj@suse.de>
872
873 * concat.c: Include "config.h".
874
8752001-07-30 Andreas Jaeger <aj@suse.de>
876
877 * regex.c: Declare wcs functions only if compiling with
878 MBS_SUPPORT.
879 Don't use #elif for traditional C.
880
8812001-07-23 Ulrich Drepper <drepper@redhat.com>
882
883 * regex.c: Revamp memory allocation for WCHAR functions to
884 not use too much stack.
885
8862001-07-30 Andreas Jaeger <aj@suse.de>
887
888 * regex.c: Declare wcs functions only if compiling with
889 MBS_SUPPORT.
890 Don't use #elif for traditional C.
891
8922001-07-25 Daniel Jacobowitz <drow@mvista.com>
893
894 * Makefile.in (regex.o): Add dependency on config.h.
895
8962001-07-18 Andreas Schwab <schwab@suse.de>
897
898 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
899 underscore character.
900
9012001-07-18 Ulrich Drepper <drepper@redhat.com>
902
903 * regex.c: Limit string length printed in debug messages to 100
904 chars.
905
9062001-07-18 Andreas Jaeger <aj@suse.de>
907
908 * regex.c: Place under LGPL version 2.1.
909
9102001-07-10 Jeff Johnston <jjohnstn@redhat.com>
911
912 * Makefile.in: Add support for regex code.
913 * regex.c: New file.
914
9152001-07-05 Mark Klein <mklein@dis.com>
916
917 * Makefile.in: Add ffs.c dependency.
918 * configure.in: Add ffs.c.
919 * ffs.c: New file.
920
9212001-06-18 Richard Henderson <rth@redhat.com>
922
923 * concat.c: Include <sys/types.h>.
924
9252001-06-11 Loren J. Rittle <ljrittle@acm.org>
926
927 bootstrap/3106
928 * strerror.c (sys_nerr): Hide the OS header version.
929 * strsignal.c (sys_nsig): Likewise.
930
9312001-06-10 Richard Henderson <rth@redhat.com>
932
933 * concat.c: Include string.h. Fix int vs size_t usage.
934 Simplify the iteration loops. Use memcpy.
935
9362001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
937
938 * partition.c: Fix misspelling of `implementation'.
939
9402001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
941
942 * md5.c (md5_init_ctx): Declare constants as unsigned.
943 (md5_process_block): Likewise.
944
9452001-05-07 Zack Weinberg <zackw@stanford.edu>
946
947 * cp-demangle.c (demangle_v3_with_details,
948 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
949 function definition.
950 * ternary.c: Use K+R style function definitions. Use PTR, not
951 void *. Make arguments constant where possible.
952
9532001-05-07 Mark Mitchell <mark@codesourcery.com>
954
955 * splay-tree.h (splay_tree_max): New function.
956 (splay_tree_min): Likewise.
957
9582001-04-15 Daniel Berlin <dan@cgsoftware.com>
959
960 * ternary.c: New file - Ternary search tree implementation.
961
962 * Makefile.in: Add ternary.o, and ternary.c dependencies.
963
9642001-04-03 Zack Weinberg <zackw@stanford.edu>
965
966 * make-temp-file.c (try): Inline.
967
9682001-02-28 Richard Henderson <rth@redhat.com>
969
970 * Makefile.in (make-temp-file.o): Depend on config.h.
971
9722001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
973
974 * memchr.c (memchr): Adjust condition to avoid infinite loop.
975
9762001-03-23 Jakub Jelinek <jakub@redhat.com>
977
978 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
979 `_' not followed by a digit is invalid.
980
9812001-03-22 Jim Blandy <jimb@redhat.com>
982
983 * cp-demangle.c (string_list_delete): Use dyn_string_delete
984 instead of free, to free the contents as well as the string
985 structure.
986
9872001-03-21 Zack Weinberg <zackw@stanford.edu>
988
989 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
990 Don't default P_tmpdir to anything. Try /var/tmp before
991 /usr/tmp.
992
9932001-03-20 Zack Weinberg <zackw@stanford.edu>
994
995 * choose-temp.c: Split off make_temp_file, and the code
996 duplicated between it and choose_temp_base, into...
997 * make-temp-file.c: ... here; new file.
998
999 * Makefile.in (CFILES): Add make-temp-file.c.
1000 (REQUIRED_OFILES): Add make-temp-file.o.
1001
10022001-03-20 Jim Blandy <jimb@redhat.com>
1003
1004 * cp-demangle.c (struct demangling_def): New fields:
1005 is_constructor and is_destructor.
1006 (demangling_new): Initialize them.
1007 (demangle_ctor_dtor_name): Set them, if we detect a constructor
1008 or destructor.
1009 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
1010 is_gnu_v3_mangled_dtor): New functions.
1011
10122001-03-20 Jason Merrill <jason@redhat.com>
1013
1014 * cplus-dem.c (main): Skip initial $.
1015
10162001-03-15 Michael Meissner <meissner@redhat.com>
1017
1018 * hashtab.c (higher_prime_number): Silence warning that 4294967291
1019 might be a signed integer under pre-ISO C systems.
1020
10212001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
1022 John David Anglin <dave@hiauly1.hia.nrc.ca>
1023
1024 * libiberty/lbasename.c: New file.
1025 * libiberty/Makefile.in: Update for lbasename.
1026
10272001-03-06 Zack Weinberg <zackw@stanford.edu>
1028
1029 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
1030 * configure.in: Replace all alloca logic with a simple use of
1031 the above new macro.
1032 * config.table: Kill *-*-beos* entry.
1033 * config/mh-beos: Delete.
1034 * configure, config.in: Regenerate.
1035
1036 * Makefile.in (ALLOCA, HFILES): Kill.
1037 (REQUIRED_OFILES): Add alloca.o.
1038 (alloca.o): Depend on libiberty.h.
1039 (argv.o): Don't depend on alloca-conf.h.
1040 * alloca-conf.h: Delete.
1041 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
1042 blocks. Provide the C alloca unconditionally. Use PTR where
1043 appropriate. Make i00afunc static.
1044 * argv.c: Don't include alloca-conf.h.
1045
10462001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1047
1048 * cplus-dem.c (main): Cast enum style to int.
1049
10502001-02-16 Loren J. Rittle <ljrittle@acm.org>
1051
1052 * cplus-dem.c (main): Initialize style.
1053
10542001-02-02 Phil Edwards <pme@sources.redhat.com>
1055
1056 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
1057
10582001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
1059
1060 Add support for Java demangling under the v3 ABI:
1061 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
1062 (struct demangling_def): Add `style' field.
1063 (demangling_new): New parameter `style'. Set it in demangling_t.
1064 (demangle_prefix): Use NAMESPACE_SEPARATOR.
1065 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
1066 (cp_demangle): New parameter `style'. Pass it to demangling_new().
1067 (main): Call cp_demangle with extra parameter.
1068 (java_demangle_v3): New function.
1069 (java_builtin_type_names): New. Table of primitive type names used
1070 for Java demangling.
1071 (demangle_builtin_type): Look up in java_builtin_type_names if doing
1072 Java output.
1073 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
1074 demangling.
1075 (long_options): Remove obsolete `java' option.
1076 (main): Remove explicit handling of `java' option. Instead, pass style
1077 parameter in cplus_demangle flags as gdb does.
1078 * testsuite/demangle.expected: Add some Java test cases.
1079
10802000-12-29 DJ Delorie <dj@redhat.com>
1081
1082 * fnmatch.c: Make the note about the origins of this file more
1083 accurate, at least until we can sync with glibc.
1084 * getopt.c: Ditto.
1085 * getopt1.c: Ditto.
1086 * md5.c: Ditto.
1087 * obstack.c: Ditto.
1088
10892000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1090
1091 * bsearch.c: New file.
1092 * configure.in (funcs): Add bsearch.
1093 (AC_CHECK_FUNCS): Likewise.
1094 * configure, config.in: Regenerate.
1095
10962000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1097
1098 * safe-ctype.c: #include "ansidecl.h".
1099 * strtod.c: Likewise.
1100
11012000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1102
1103 * strtoul.c: Include safe-ctype.h, not ctype.h.
1104
11052000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
1106
1107 * safe-ctype.c: New file.
1108 * Makefile.in (CFILES): Add safe-ctype.c.
1109 (REQUIRED_OFILES): Add safe-ctype.o.
1110
1111 * argv.c: Define ISBLANK and use it, not isspace.
1112 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
1113 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
1114 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
1115 before calling TOLOWER(c)/TOUPPER(c).
1116
11172000-12-07 Mike Stump <mrs@wrs.com>
1118
1119 * Makefile.in (distclean): When cleaning, remove testsuite.
1120
11212000-12-05 Jason Merrill <jason@redhat.com>
1122
1123 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
1124 name before allocating the dyn_string.
1125
11262000-12-04 Jason Merrill <jason@redhat.com>
1127
1128 * cp-demangle.c: s/new_abi/v3/.
1129 * cplus-dem.c: Likewise.
1130 (current_demangling_style): Now auto_demangling.
1131 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
1132 (main): Use standard symbol chars for auto_demangling.
1133
11342000-11-26 Mark Mitchell <mark@codesourcery.com>
1135
1136 * hashtab.c (higher_prime_number): Use a table, rather than a
1137 seive, to find the next prime.
1138
11392000-11-22 H.J. Lu <hjl@gnu.org>
1140
1141 * cplus-dem.c (main): Handle gnat_demangling.
1142
11432000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
1144
1145 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
1146 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
1147 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
1148 argument form of AC_DEFINE in dummy definitions block. Use
1149 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
1150 in dummy block. Preload cache variables instead of bypassing
1151 tests, where possible.
1152 * acconfig.h: Removed.
1153
1154 * xmalloc.c (xmalloc_failed): New function, does error
1155 reporting on failed allocation.
1156 (xmalloc, xcalloc, xrealloc): Use it.
1157
11582000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
1159
1160 * cplus-dem.c (cplus_demangle): Fix formatting.
1161 (grow_vect): Ditto.
1162 (ada_demangle): Ditto.
1163 (internal_cplus_demangle): Ditto.
1164 (mop_up): Ditto.
1165
11662000-11-21 H.J. Lu <hjl@gnu.org>
1167
1168 * cplus-dem.c (main): Handle java_demangling.
1169
11702000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1171
1172 * cplus-dem.c (grow_vect): Prototype.
1173 (ada_demangle): Cast the arg of ctype macros to unsigned char.
1174
11752000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
1176
1177 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
1178 parameter `option'.
1179
11802000-11-15 Kenneth Block <kenneth.block@compaq.com>
1181
1182 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
1183 be used in GCC.
1184
11852000-11-15 Kenneth Block <kenneth.block@compaq.com>
1186
1187 * cplus-dem.c: Add gnat demangler. Add java to demangle style
1188 list.
1189
11902000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
1191
1192 * hashtab.c (htab_expand): Change to return int. Use calloc or
1193 xcalloc depending on htab->return_allocation_failure. Return zero
1194 if calloc fails.
1195 (htab_create): Update comment to cover memory allocation.
1196 (htab_try_create): New.
1197 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
1198 Update comment to cover this.
1199
12002000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
1201
1202 * hashtab.c: Change void * to PTR where necessary.
1203 (htab_create, htab_expand): Correct formatting of comment before
1204 function.
1205
12062000-10-22 Alex Samuel <samuel@codesourcery.com>
1207
1208 * cp-demangle.c (string_list_def): Add caret_position and comments.
1209 (result_caret_pos): New macro.
1210 (result_append_string): Rename to...
1211 (result_add_string): ... this, and insert at caret position.
1212 Rename throughout.
1213 (result_append): Rename to...
1214 (result_add): ... this, and insert at caret position. Rename
1215 throughout.
1216 (result_append_char): Rename to...
1217 (result_add_char): ... this, and insert at caret position. Rename
1218 throughout.
1219 (result_append_space): Remove.
1220 (string_list_new): Initialize caret position.
1221 (result_add_separated_char): Use caret position.
1222 (result_get_caret): New funtion.
1223 (result_set_caret): Likewise.
1224 (result_shift_caret): Likewise.
1225 (result_previous_char_is_space): Likewise.
1226 (substitution_start): Use caret position.
1227 (substitution_add): Likewise.
1228 (demangling_new): Initialize caret position.
1229 (demangle_encoding): Use caret position.
1230 (demanglin_nested_name): Put CV qualifiers after name.
1231 (demangle_type_ptr): Use switch statement. Handle pointers to
1232 arrays. Don't use result_append_space. Use caret position.
1233 (demangle_type): Emit CV qualifiers after underlying type. Adjust
1234 call to demangle_array_type.
1235 (demangle_array_type): Add parameter to handle pointers to arrays.
1236
12372000-10-01 Mark Mitchell <mark@codesourcery.com>
1238
1239 * splay-tree.c (splay_tree_insert): Fix formatting.
1240
12412000-09-16 Mark Mitchell <mark@codesourcery.com>
1242
1243 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
1244
12452000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1246
1247 * splay-tree.c: #include <stdio.h>.
1248
12492000-09-14 Hans-Peter Nilsson <hp@axis.com>
1250
1251 * testsuite/demangle-expected: Add two tests for anonymous
1252 namespaces.
1253 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
1254
12552000-09-10 Mark Mitchell <mark@codesourcery.com>
1256
1257 * splay-tree.c (splay_tree_predecessor): New function.
1258 (splay_tree_successor): Likewise.
1259
12602000-09-10 Hans-Peter Nilsson <hp@axis.com>
1261
1262 * testsuite/demangle-expected: Add four tests for type_info
1263 mangling.
1264 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
1265 for a non-template non-qualified type_info function or node.
1266
12672000-09-08 Alex Samuel <samuel@codesourcery.com>
1268
1269 * cp-demangle.c: Fix copyright banner.
1270
12712000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1272
1273 * md5.c: #include "ansidecl.h".
1274
12752000-09-06 Alex Samuel <samuel@codesourcery.com>
1276
1277 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
1278 (demangle_type): Handle substitution candidates correctly in the
1279 face of special substitutions.
1280
12812000-09-05 Alex Samuel <samuel@codesourcery.com>
1282
1283 * cp-demangle.c (demangle_encoding): Rename variable.
1284 (demangle_name): Rename parameter. Handle return type
1285 suppression.
1286 (demangle_nested_name): Rename parameter.
1287 (demangle_prefix): Likewise. Change return type suppression.
1288 (demangle_unqualified_name): Add parameter. Flag constructors and
1289 conversion operators.
1290 (demangle_special_name): Fix comment.
1291 (demangle_type): Rename variable.
1292 (demangle_bare_function_type): Check for missing return type and
1293 parameter.
1294 (demangle_class_enum_type): Rename parameter.
1295 (demangle_discriminator): Fix misspelling in comment.
1296
12972000-08-31 DJ Delorie <dj@redhat.com>
1298
1299 * configure.in (Cygwin): special case cygwin only when we're
1300 building cygwin, not when we're hosting cygwin.
1301
13022000-09-04 Alex Samuel <samuel@codesourcery.com>
1303
1304 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
1305 <expression>.
1306
13072000-09-04 Alex Samuel <samuel@codesourcery.com>
1308
1309 * cp-demangle.c (demangle_type_ptr): Increment position past
1310 pointer and reference characters.
1311
13122000-09-04 Alex Samuel <samuel@codesourcery.com>
1313
1314 * cp-demangle.c (demangle_nv_offset): New function.
1315 (demangle_v_offset): Likewise.
1316 (demangle_call_offset): Likewise.
1317 (demangle_special_name): Update thunk demangling to comply with
1318 ABI changes.
1319
13202000-09-03 Alex Samuel <samuel@codesourcery.com>
1321
1322 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
1323 (substitution_def): Remove template_parm_number.
1324 (NOT_TEMPLATE_PARM): Remove.
1325 (result_insert_string): New macro.
1326 (result_insert): Likewise.
1327 (result_insert_char): Likewise.
1328 (substitution_add): Remove last parameter. Don't store template
1329 parm number.
1330 (BFT_NO_RETURN_TYPE): Define as NULL.
1331 (demangle_encoding): Adjust call to demangle_bare_function_type.
1332 (demangle_name): Adjust substitution. Adjust call to
1333 substitution_add.
1334 (demangle_prefix): Adjust call to substitution_add.
1335 (demangle_identifier): Handle anonymous namespaces.
1336 (demangle_operator_name): Change demangling of vendor-extended
1337 operator to match ABI changes.
1338 (demangle_type_ptr): Change parameters. Make recursive. Handle
1339 substitutions here.
1340 (demangle_type): Adjust calls to demangle_template_param,
1341 substitution_add, and demangle_type_ptr. Fix substitution of
1342 templated types.
1343 (demangle_function_type): Change parameter to a pointer.
1344 (demangle_bare_function_type): Likewise. Adjust insertion point.
1345 (demangle_template_param): Remove last parameter.
1346 (demangle_expr_primary): Remove unused variable. Adjust call to
1347 demangle_template_param.
1348 (is_mangled_char): Accept `$' and `.'.
1349 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
1350 * dyn-string.c (dyn_string_insert_char): New function.
1351
13522000-08-31 Hans-Peter Nilsson <hp@axis.com>
1353
1354 * testsuite/demangle-expected: Add nine tests for
1355 underscore-after-number followed by five tests for name-signature
1356 delimiter.
1357
13582000-08-28 Richard Henderson <rth@cygnus.com>
1359
1360 * Makefile.in (md5.o): Depend on config.h.
1361
13622000-08-28 Jason Merrill <jason@redhat.com>
1363
1364 * Makefile.in (REQUIRED_OFILES): Add md5.o.
1365 (CFILES): Add md5.c.
1366 * md5.c: New file.
1367
13682000-08-27 Alex Samuel <samuel@codesourcery.com>
1369
1370 * cp-demangle.c (demangle_name): Initialize template_p in local
1371 name case. Don't re-add substitutions as candidates.
1372 (demangle_nested_name): Use <unqualified-name>.
1373 (demangle_prefix): Likewise. Don't add template names as
1374 substitution candidates twice, or re-add a substitution or the
1375 last prefix component.
1376 (demangle_local_name): Adjust output format.
1377
13782000-08-25 Alex Samuel <samuel@codesourcery.com>
1379
1380 * cp-demangle.c (result_add_separated_char): Change parameter to
1381 int.
1382 (substitution_add): Don't check for duplicates. Check if
1383 previously allocated size is zero.
1384 (demangle_name): Remove duplicate check for std substitution.
1385 Clear template flag appropriately.
1386 (demangle_prefix): Remove argument to demangle_substitution.
1387 Don't check that template flag is already set.
1388 (demangle_operator_name): Add pt operator.
1389 (demangle_type): Don't treat r as built-in type. Remove argument
1390 to demangle_substitution. Fix substitution candidate mechanics.
1391 Handle <template-template-parm>s. Improve comments.
1392 (demangle_template_param): Don't handle template arg lists here.
1393 (demangle_substitution): Remove parameter.
1394 (print_usage): Remove extra fprintf option.
1395
13962000-08-24 Greg McGary <greg@mcgary.org>
1397
1398 * libiberty/random.c (end_ptr): Revert previous change.
1399
14002000-08-24 Greg McGary <greg@mcgary.org>
1401
1402 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
1403 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
1404 * libiberty/random.c (end_ptr): Likewise.
1405
14062000-08-23 Alex Samuel <samuel@codesourcery.com>
1407
1408 * cp-demangle.c (result_close_template_list): Remove function.
1409 (result_add_separated_char): New function.
1410 (result_open_template_list): New macro.
1411 (result_close_template_list): Likewise.
1412 (demangle_prefix): Don't set template_p if the
1413 prefix ends with a ctor name.
1414 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
1415 (demangle_type): Check for template args after substitution.
1416 (demangle_template_args): Use result_open_template_list.
1417
14182000-08-02 Zack Weinberg <zack@wolery.cumb.org>
1419
1420 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
1421
14222000-07-26 Dave Pitts <dpitts@cozx.com>
1423
1424 * config/mh-openedition.h: Added -DLE370 definition.
1425
14262000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
1427
1428 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
1429 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
1430 Cast program to 'char *' in errmsg_arg assignment.
1431 (PWAIT_ERROR): Define.
1432 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
1433 to DJGPP's WIF* macros.
1434
14352000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
1436 Jeff Law <law@cygnus.com>
1437
1438 * getcwd.c: Include string.h, stdlib.h for prototypes
1439
1440 * Makefile.in (rename.o, waitpid.o): Depend on config.h
1441 * rename.c: Include config.h, unistd.h
1442 * waitpid.c: Include config.h, sys/wait.h
1443
14442000-07-24 Hans-Peter Nilsson <hp@axis.com>
1445
1446 * cplus-dem.c (work_stuff_copy_to_from): New.
1447 (delete_non_B_K_work_stuff): New.
1448 (delete_work_stuff): New.
1449 (mop_up): Break out work_stuff partly destruction to
1450 delete_non_B_K_work_stuff.
1451 (iterate_demangle_function): New.
1452 (demangle_prefix): Call iterate_demangle_function instead of
1453 demangle_function_name. Leave handling of name-signature
1454 __-delimiters to iterate_demangle_function.
1455 (demangle_integral_value): Strip an optional
1456 following underscore cautiously. Handle negative numbers.
1457
14582000-07-24 Daniel Berlin <dberlin@redhat.com>
1459
1460 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
1461 if (AUTO_DEMANGLING || GNU_DEMANGLING)
1462
14632000-07-21 Alex Samuel <samuel@codesourcery.com>
1464
1465 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
1466 allocating ctor mangling.
1467 (demangle_array_type): Handle empty and non-constant array length.
1468
14692000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1470 Jeff Law <law@cygnus.com>
1471
1472 * configure.in (AC_CHECK_HEADERS): Add time.h.
1473 (AC_HEADER_TIME): Add check.
1474 * configure, config.in: Regenerate.
1475 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
1476
1477 * configure.in (AC_CHECK_HEADERS): Add limits.h.
1478 * configure, config.in: Regenerate.
1479 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
1480 * strtol.c, strtoul.c: #include "config.h". Portably #include
1481 <limits.h> and/or <sys/param.h>.
1482 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
1483
1484 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
1485 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
1486 * configure, config.in: Regenerate.
1487 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
1488
1489 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
1490
14912000-07-21 Mike Stump <mrs@wrs.com>
1492
1493 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
1494 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
1495
14962000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1497
1498 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
1499
1500 * setenv.c (setenv): Initialize variable `ep'.
1501
1502 * sigsetmask.c (abort): Prototype.
1503
1504 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
1505 __STDC__ for stdarg.h include.
1506 (int_vasprintf): Prototype.
1507 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
1508 definition. Cast `global_total_width' in comparison.
1509 (main): Prototype. Return a value.
1510
1511 * vfork.c (fork): Prototype.
1512
1513 * xexit.c: Include config.h.
1514
15152000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
1516
1517 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
1518 and print it with %u.
1519
15202000-07-17 Hans-Peter Nilsson <hp@axis.com>
1521
1522 * testsuite/regress-demangle (failed test): Show result and
1523 expected output.
1524
15252000-07-07 Andrew Haley <aph@cygnus.com>
1526
1527 * cplus-dem.c (main): fflush() after emitting last char before
1528 waiting for input.
1529
15302000-06-28 Alex Samuel <samuel@codesourcery.com>
1531
1532 * cp-demangle.c (demangle_encoding): Accept no substitutions.
1533 (demangle_name): Handle <substitution> followed by
1534 <unqualified-template-name>.
1535 (demangle_type): Follow special substitutions with
1536 <class-enum-type>
1537 (demangle_subtitution): Set template_p for special substitutions.
1538 (main): Fix typos.
1539
15402000-06-27 Alex Samuel <samuel@codesourcery.com>
1541
1542 * cp-demangle.c (demangle_special_name): Swap base and derived
1543 class when demangling construction vtables.
1544
15452000-06-21 Alex Samuel <samuel@codesourcery.com>
1546
1547 * cp-demangle.c: Don't include ctype.h.
1548 (IS_DIGIT): New macro.
1549 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
1550 instead of isdigit and isalpanum.
1551 (demangling_def): Make name and next const pointers.
1552 (STATUS_ALLOCATION_FAILED): New status code.
1553 (dyn_string_append_space): Handle failure in
1554 dyn_string_append_char.
1555 (int_to_dyn_string): Likewise. Change return value to status_t.
1556 (string_list_new): Handle failure of dyn_string_init.
1557 (result_close_template_list): Change return type to status_t.
1558 Handle failure in dyn_string_append.
1559 (result_push): Change return value to status_t. Handle failure in
1560 string_list_new. Handle failure of result_push throughout.
1561 (substitution_add): Change return value to status_t. Handle
1562 dyn_string failures. Handle failure of substitution_add
1563 throughout.
1564 (template_arg_list_new): Return NULL on allocation failure.
1565 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
1566 Handle error result throughout.
1567 (result_append): Likewise.
1568 (result_append_char): Likewise.
1569 (result_append_space): Likewise.
1570 (demangling_new): Make argument a const pointer. Handle
1571 allocation failures.
1572 (demangle_template_args): Handle failure in template_arg_list_new
1573 and result_close_template_list.
1574 (demangle_discriminator): Return if int_to_dyn_string fails.
1575 (cp_demangle): Likewise.
1576 (cp_demangle_type): New function.
1577 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
1578 memory allocation failure.
1579 (main): Likewise.
1580 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
1581 IN_LIBGCC2.
1582 (dyn_string_init): Change return value to int. Handle
1583 RETURN_ON_ALLOCATION_FAILURE case.
1584 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
1585 (dyn_string_release): Delete the dyn_string.
1586 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
1587 (dyn_string_copy): Change return type to int.
1588 (dyn_string_copy_cstr): Likewise.
1589 (dyn_string_prepend): Likewise.
1590 (dyn_string_prepend_cstr): Likewise.
1591 (dyn_string_insert): Likewise.
1592 (dyn_string_insert_cstr): Likewise.
1593 (dyn_string_append): Likewise.
1594 (dyn_string_append_cstr): Likewise.
1595 (dyn_string_append_char): Likewise.
1596 (dyn_string_substring): Likewise.
1597
15982000-06-09 Zack Weinberg <zack@wolery.cumb.org>
1599
1600 * cp-demangle.c (demangle_operator_name): Add spaces before
1601 names beginning with a letter: delete, delete[], new, new[],
1602 sizeof.
1603 (demangle_special_name): Handle TF <type> and TJ <type>.
1604
1605Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
1606
1607 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
1608
1609Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
1610
1611 * cp-demangle.c (stdio.h): File included unconditionaly.
1612 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
1613 * dyn-string.c (stdio.h): File included.
1614 * partition.c (partition_print): No `&' needed to take the address of
1615 a function.
1616
16172000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1618
1619 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
1620
1621 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
1622
1623 * cp-demangle.c (demangle_char): Change parameter from char to int.
1624 (demangle_expression, demangle_expr_primary): Remove extra
1625 semi-colon in prototype.
1626
1627 * dyn-string.c (dyn_string_append_char): Change parameter from
1628 char to int.
1629
1630 * memcmp.c (memcmp): Constify.
1631
1632 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
1633 __extension__.
1634
1635 * partition.c (elem_compare): Prototype. Don't cast away
1636 const-ness.
1637
1638 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
1639
16402000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1641
1642 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
1643
1644 * cp-demangle.c: Include demangle.h.
1645 (template_arg_list_new): DeANSIfy.
1646 (cp_demangle): Make static and add prototype.
1647 (operator_code, operators): Constify.
1648 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
1649
16502000-06-05 Alex Samuel <samuel@codesourcery.com>
1651
1652 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
1653 unsigned char.
1654 (demangle_unqualified_name): Likewise.
1655 (demangle_number_literally): Likewise.
1656 (demangle_type): Likewise.
1657 (demangle_substitution): Likewise.
1658 (is_mangled_char): Likewise, for isalnum.
1659
16602000-06-04 Alex Samuel <samuel@codesourcery.com>
1661
1662 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
1663 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
1664 (cp-demangle.o): New dependency.
1665 (dyn-string.o): Likewise.
1666
1667 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
1668
1669 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
1670 demangler.
1671 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
1672 demangling mode.
1673 (gnu_new_abi_symbol_characters): New function.
1674 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
1675 file.
1676 * cp-demangle.c: New file.
1677
1678Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
1679
1680 * floatformat.c: Add name to each floatformat field.
1681
1682Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
1683
1684 * Makefile.in (objalloc.o): Depend on config.h
1685
16862000-05-29 Zack Weinberg <zack@wolery.cumb.org>
1687
1688 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
1689 if HAVE_STRING_H.
1690 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
1691 * objalloc.c: Include config.h. Include stdlib.h and don't
1692 declare malloc or free if HAVE_STDLIB_H.
1693 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
1694 else declare malloc without prototype. Include string.h if
1695 HAVE_STRING_H, else declare memset without prototype. Don't
1696 include stddef.h.
1697
16982000-05-23 Mike Stump <mrs@wrs.com>
1699
1700 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
1701 -j3.
1702
17032000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
1704
1705 * xmalloc.c: Include config.h for HAVE_SBRK definition.
1706
17072000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
1708
1709 * hashtab.c (hash_pointer): Delete low-order bits which are
1710 probably zero, also eliminate a warning on alpha.
1711
17122000-05-15 David Edelsohn <edelsohn@gnu.org>
1713
1714 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
1715 on $(enable_shared).
1716
17172000-05-10 Jakub Jelinek <jakub@redhat.com>
1718
1719 * config.table: Use mh-sparcpic for sparc*-*-*.
1720
17212000-05-08 Nick Clifton <nickc@cygnus.com>
1722
1723 * Makefile.in (CFILES): Add strncmp.c.
1724 (NEEDED): Add strncmp.
1725
17262000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1727
1728 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
1729 Cast the arguments to `islower' to `unsigned char'.
1730 (print_demangler_list): Prototype.
1731
1732Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
1733
1734 * sort.c (UCHAR_MAX): Provide fallback definition.
1735
17362000-04-29 Alexandre Oliva <aoliva@cygnus.com>
1737
1738 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
1739 SUBDIRS.
1740
17412000-04-28 Kenneth Block <block@zk3.dec.com>
1742 Jason Merrill <jason@casey.cygnus.com>
1743
1744 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
1745 (cplus_demangle_set_style): New function for setting style.
1746 (cplus_demangle_name_to_style): New function to translate name.
1747
17482000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1749
1750 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
1751
1752 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
1753 (libiberty_AC_FUNC_STRNCMP): Invoke.
1754
1755 * strncmp.c: New file.
1756
1757Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
1758
1759 * hashtab.c (htab_expand): Add prototype.
1760 (find_empty_slot_for_expand): Likewise.
1761
17622000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1763
1764 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
1765 match prototype.
1766 (htab_expand): Cast the return value of xcalloc.
1767
17682000-04-24 Mark Mitchell <mark@codesourcery.com>
1769
1770 * hashtab.c (hash_pointer): New function.
1771 (eq_pointer): Likewise.
1772 (htab_hash_pointer): New variable.
1773 (htab_eq_pointer): Likewise.
1774
17752000-04-23 Mark Mitchell <mark@codesourcery.com>
1776
1777 * sort.c (sort_pointers): Fix endianness bugs.
1778
1779 * sort.c: New file.
1780 * Makefile.in (CFILES): Add sort.c
1781 (REQUIRED_OFILES): Add sort.o.
1782 (sort.o): New target.
1783
17842000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1785
1786 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
1787 4.3BSD systems.
1788
1789Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1790
1791 * hashtab.c: Various minor cleanups.
1792 (htab_find_slot_with_hash): INSERT is now enum insert_option.
1793 (htab_find_slot): Likewise.
1794
17952000-04-16 Dave Pitts <dpitts@cozx.com>
1796
1797 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
1798
17992000-04-05 Richard Henderson <rth@cygnus.com>
1800
1801 * splay-tree.c (splay_tree_remove): New.
1802
18032000-03-30 Mark Mitchell <mark@codesourcery.com>
1804
1805 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
1806 codes.
1807 (htab_find_with_hash): Likewise.
1808 (htab_find_slot_with_hash): Likewise.
1809
18102000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1811
1812 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
1813 unless it will be used. Rearrange loop for better
1814 optimization.
1815 (higher_prime_number): Add static prototype.
1816
1817Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
1818
1819 * Makefile.in (partition.o): Depend on config.h
1820
18212000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
1822
1823 * hashtab.c (find_empty_slot_for_expand): New function.
1824 (htab_expand): Use it instead of htab_find_slot.
1825 (htab_find_with_hash): Renamed from htab_find; now accepts extra
1826 argument HASH.
1827 (htab_find_slot_with_hash): Likewise for htab_find_slot.
1828 (htab_find): New wrapper function.
1829 (htab_find_slot): Likewise.
1830 (htab_traverse): Pass slot, not entry, to called function.
1831
18322000-03-09 Alex Samuel <samuel@codesourcery.com>
1833
1834 * Makefile.in (CFILES): Add partition.c.
1835 (REQUIRED_OFILES): Add partition.o.
1836 (partition.o): New rule.
1837 * partition.c: New file.
1838
18392000-03-09 Zack Weinberg <zack@wolery.cumb.org>
1840
1841 * hashtab.c (htab_create): Set del_f.
1842 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
1843 Use it.
1844
18452000-03-08 Zack Weinberg <zack@wolery.cumb.org>
1846
1847 * hashtab.c: Remove debugging variables (all_searches,
1848 all_collisions, all_expansions). Delete
1849 all_hash_table_collisions.
1850 (create_hash_table, delete_hash_table, empty_hash_table,
1851 find_hash_table_entry, remove_element_from_hash_table_entry,
1852 clear_hash_table_slot, traverse_hash_table, hash_table_size,
1853 hash_table_elements_number, hash_table_collisions): Rename to:
1854 htab_create, htab_delete, htab_empty, htab_find_slot,
1855 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
1856 htab_elements, htab_collisions.
1857 (htab_find): New function, handles common case where you don't
1858 plan to add or delete an entry.
1859 (htab_expand): Don't create a whole new table, just a new
1860 entry vector.
1861 (htab_find_slot): Simplify logic.
1862
18631999-08-03 Ian Lance Taylor <ian@zembu.com>
1864
1865 * floatformat.c: Add casts to avoid signed/unsigned warnings.
1866 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
1867
1868 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
1869 $(TARGETLIB)n so it works on MSDOS.
1870 (install_to_tooldir): Likewise.
1871
18721999-07-21 Ian Lance Taylor <ian@zembu.com>
1873
1874 From Mark Elbrecht:
1875 * makefile.dos: Remove; obsolete.
1876 * configure.bat: Remove; obsolete.
1877
18781999-07-11 Ian Lance Taylor <ian@zembu.com>
1879
1880 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1881 warning.
1882
18832000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1884
1885 * pexecute.c: Conditionally include string.h.
1886 (fix_argv): Handle embedded whitespace in args for Mingw32.
1887
18882000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1889
1890 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
1891 we're using gcc.
1892
1893 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
1894
18951999-12-27 Geoff Keating <geoffk@cygnus.com>
1896
1897 * vasprintf.c (int_vasprintf): Don't re-read the format character
1898 as this mishandles strings like '%%s'.
1899
19001999-12-05 Mark Mitchell <mark@codesourcery.com>
1901
1902 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
1903 rather than struct splay_tree_node.
1904 (splay_tree_insert): Use struct splay_tree_s rather than struct
1905 splay_tree.
1906
1907Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
1908
1909 * hashtab.c (sys/types.h): File included.
1910
19111999-11-22 Jason Merrill <jason@casey.cygnus.com>
1912
1913 * strtoul.c, strtol.c, random.c: Remove advertising clause from
1914 BSD license, pursuant with
1915
1916 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
1917
1918Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
1919
1920 * hashtab.c: Include stdio.h.
1921
1922Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
1923
1924 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
1925
1926Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
1927
1928 * xstrdup (sys/types.h): Include this file.
1929
19301999-10-28 Nathan Sidwell <nathan@acm.org>
1931
1932 * Makefile.in (SUBDIRS): New macro.
1933 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
1934 avoid multiple subdirectory cleaning.
1935 (*-subdir): Use SUBDIRS.
1936
19371999-10-25 Jim Kingdon <http://developer.redhat.com/>
1938
1939 * cplus-dem.c: Move declarations of standard_symbol_characters and
1940 hp_symbol_characters inside #ifdef MAIN to avoid compiler
1941 warnings.
1942
19431999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
1944
1945 * hashtab.c (find_hash_table_entry): When returning a
1946 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
1947 (clear_hash_table_slot): New function which deletes an entry
1948 by its position in the table, not its value.
1949 (traverse_hash_table): New function which calls a hook
1950 function for every live entry in the table.
1951
19521999-10-19 Mark Mitchell <mark@codesourcery.com>
1953
1954 * cplus-dem.c (INTBUF_SIZE): New macro.
1955 (string_append_template_idx): New function.
1956 (demangle_expression): Likewise.
1957 (demangle_integral_value): Use it.
1958 (demangle_real_value): New function, split out from ...
1959 (demangle_template_value_parm): ... here. Use
1960 string_append_template_idx. Use demangle_real_value.
1961 (demangle_template): Use string_append_template_idx.
1962 (demangle_qualified): Use consume_count_with_underscores.
1963 (get_count): Tweak formatting.
1964 (do_type): Use string_append_template_idx.
1965
19661999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1967
1968 * calloc.c: Add a public domain notice.
1969
1970Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
1971
1972 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
1973
1974Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
1975
1976 * Makefile.in (CFILES): Add hashtab.c
1977 (REQUIRED_OFILES): Add hashtab.o
1978 (hashtab.o): Add dependencies.
1979 * hashtab.c: New file
1980
1981Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
1982
1983 * basename.c (DIR_SEPARATOR): New macro.
1984 (DIR_SEPARATOR_2): Likewise.
1985 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
1986 (IS_DIR_SEPARATOR): Likewise.
1987 (main): Handle MSDOS style pathname.
1988
19891999-10-11 Mark Mitchell <mark@codesourcery.com>
1990
1991 * cplus-dem.c (do_type): Handle pointer to member types whose
1992 enclosing classes have namespace scope.
1993
1994Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
1995
1996 * config.table: Provide a backup shell for executing move-if-change.
1997
19981999-10-02 Mark Mitchell <mark@codesourcery.com>
1999
2000 * xmalloc.c (xmalloc): Fix spelling error.
2001 (xcalloc, xrealloc): Likewise.
2002
20031999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2004
2005 * cplus-dem.c (fancy_abort, demangle_integral_value,
2006 demangle_arm_hp_template, recursively_demangle,
2007 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
2008 (program_name, program_version, fatal): Constify a char*.
2009 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
2010 (main): Call return, not exit.
2011
20121999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2013
2014 * choose-temp.c: Remove obsolete comment about gcc.
2015 (make_temp_file): Constify a char*.
2016
2017Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2018
2019 * xmemdup.c: Include sys/types.h.
2020
20211999-09-07 Jeff Garzik <jgarzik@pobox.com>
2022
2023 * xmemdup.c: New xmemdup function.
2024 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
2025
2026Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
2027
2028 * config.table: Add openedition target.
2029 * config/mh-openedition: New file.
2030
2031Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
2032
2033 * pexecute.c (pexecute): Fill in temp_base when needed.
2034
20351999-08-31 Richard Henderson <rth@cygnus.com>
2036
2037 * getpwd.c: Check HAVE_GETCWD before defining it away.
2038
20391999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2040
2041 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
2042 (REQUIRED_OFILES): Add getpwd.o.
2043 (getpwd.o): Add target.
2044
2045 * configure.in (AC_PREREQ): Bump to 2.13.
2046 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
2047
2048 * getpwd.c: New file, moved here from gcc.
2049
20501999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2051
2052 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
2053 comparing against a signed quantity.
2054 (arm_special): Likewise.
2055 (demangle_fund_type): Likewise.
2056 (do_hpacc_template_const_value): Mark parameter `work' with
2057 ATTRIBUTE_UNUSED.
2058 (main): Constify variable `valid_symbols'.
2059
2060Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
2061
2062 * strtoul.c (strtoul): Add parentheses around && within ||.
2063
2064Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
2065
2066 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
2067 libdir, libsubdir and tooldir.
2068
20691999-08-01 Mark Mitchell <mark@codesourcery.com>
2070
2071 * splay-tree.c (splay_tree_insert): Return the new node.
2072
20731999-07-14 Richard Henderson <rth@cygnus.com>
2074
2075 * argv.c: Include stdlib.h and string.h instead of
2076 prototyping directly.
2077 * choose-temp.c: Conditionally include string.h.
2078
20791999-07-12 Jason Merrill <jason@yorick.cygnus.com>
2080
2081 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
2082
20831999-07-11 Ian Lance Taylor <ian@zembu.com>
2084
2085 * splay-tree.c (splay_tree_insert): Add initialization to avoid
2086 warning.
2087
20881999-07-07 Jason Merrill <jason@yorick.cygnus.com>
2089
2090 * Makefile.in (needed-list): Only include stuff we actually need
2091 for libstdc++.
2092
20931999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2094
2095 * configure.in (checkfuncs): Add gettimeofday.
2096 * config.in, configure: Regenerated.
2097
2098Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
2099
2100 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
2101 the test fails.
2102 * configure: Regenerate.
2103
21041999-06-10 Mike Stump <mrs@wrs.com>
2105
2106 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
2107 parallel builds.
2108
21091999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2110
2111 * putenv.c: Include ansidecl.h to define `const'.
2112 * setenv.c: Likewise.
2113
2114Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
2115
2116 * Makefile.in (CFILES): Add putenv.c and setenv.c.
2117 * configure.in (funcs): Add putenv and setenv.
2118 (AC_CHECK_FUNCS): Check for putenv and setenv.
2119 * configure: Rebuilt.
2120 * putenv.c setenv.c: New files.
2121
2122 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
2123 bytes of space using malloc.
2124
2125Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
2126
2127 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
2128 the *mangled pointer beyond the end of the string. Clean up code to
2129 match prevailing coding style.
2130
21311999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2132
2133 * tmpnam.c (L_tmpnam): Fix typo.
2134
2135Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
2136
2137 * cplus-dem.c (standard_symbol_characters): Renamed from
2138 standard_symbol_alphabet. No longer modify TABLE.
2139 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
2140 modify TABLE.
2141 (main): Corresponding changes. Use strchr to determine if a
2142 character is valid.
2143
21441999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
2145
2146 * cplus-dem.c (main): Use table lookup to distinguish identifier
2147 characters from non-identifier characters.
2148 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
2149
2150Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
2151
2152 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
2153 * getruntime.c: Only attempt to include sys/resource.h and
2154 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
2155 are defined.
2156
2157Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
2158
2159 * configure.in (alloca detection): Handle alloca directly for interix.
2160 * configure: Rebuilt.
2161
2162Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
2163
2164 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
2165
21661999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
2167
2168 Fix from Dale Hawkins:
2169 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
2170 reallocated properly if we use it again.
2171
2172 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
2173 stricter about syntax. Always null-terminate string.
2174
2175Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
2176
2177 * configure.in (checkfuncs): Check for sbrk.
2178 * config.in: Rebuilt.
2179 * configure: Likewise.
2180 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
2181
21821999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
2183
2184 Fix from Marcus Daniels:
2185 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
2186 identifier looking for another underscore.
2187
2188Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
2189
2190 * pexecute.c: Change all references to __UWIN__ to _UWIN.
2191 * xmalloc.c: Likewise.
2192 (xcalloc): UWIN has sbrk.
2193 (xrealloc): Fix guard macro.
2194
21951999-04-11 Richard Henderson <rth@cygnus.com>
2196
2197 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
2198 or <alloca.h>.
2199 * clock.c (GNU_HZ): New definition.
2200 (clock): Use it.
2201 * getruntime.c: Likewise.
2202
2203 * config.table: Use mh-beos.
2204 * config/mh-beos: New file.
2205
22061999-04-11 Mark Mitchell <mark@codesourcery.com>
2207
2208 * cplus-dem.c (demangle_template_value_parm): Handle
2209 pointers-to-members.
2210 (do_type): Handle template parameters as qualifiers.
2211
22121999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
2213
2214 * cplus-dem.c: Attempt to handle overflows in counts with some
2215 semblance of grace.
2216 (consume_count): Detect overflows. Return -1 to indicate errors,
2217 instead of zero.
2218 (demangle_template_value_parm, demangle_template): Handle change
2219 to consume_count's return convention.
2220
22211999-04-05 Tom Tromey <tromey@cygnus.com>
2222
2223 * testsuite/regress-demangle: New file.
2224 * testsuite/demangle-expected: New file.
2225
2226 * Makefile.in (all, check, installcheck, info, install-info,
2227 clean-info, dvi, install, etags, tags, mostlyclean, clean,
2228 distclean, maintainer-clean, realclean): Depend on corresponding
2229 `-subdir' target.
2230 (all-subdir check-subdir installcheck-subdir info-subdir
2231 install-info-subdir clean-info-subdir dvi-subdir
2232 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
2233 distclean-subdir maintainer-clean-subdir): New target.
2234 * testsuite/Makefile.in: New file.
2235 * configure: Rebuilt.
2236 * configure.in: Create testsuite/Makefile.
2237
22381999-04-02 Mark Mitchell <mark@codesourcery.com>
2239
2240 * splay-tree.h (splay_tree_compare_pointers): Define.
2241
22421999-03-30 Mark Mitchell <mark@codesourcery.com>
2243
2244 * splay-tree.c (splay_tree_compare_ints): Define.
2245
22461999-03-30 Tom Tromey <tromey@cygnus.com>
2247
2248 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
2249 don't advance input pointer.
2250 (demangle_class_name): If consume_count didn't find a count, do
2251 nothing. Don't bother with `strlen' sanity check; consume_count
2252 does it for us.
2253
22541999-03-16 Stan Shebs <shebs@andros.cygnus.com>
2255
2256 From Art Haas <ahaas@neosoft.com>:
2257 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
2258 when doing arm or hp style.
2259 (demangle_nested_args): Decr forgetting_types field when done.
2260
2261Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
2262
2263 * pexecute.c (__CYGWIN32__): Rename to
2264 (__CYGWIN__): this.
2265 * xmalloc.c: Likewise.
2266
2267 Changes to support i386-pc-uwin.
2268 * configure.in (*-*-uwin*): Workaround for vfork bug.
2269 * configure: Regenerate.
2270 * pexecute.c (pexecute): Be like standard Unix.
2271 (pwait): Likewise.
2272 * xmalloc.c (first_break): Define.
2273 (xmalloc_set_program_name): Use.
2274 (xmalloc): Use.
2275
2276Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2277
2278 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
2279
2280Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
2281
2282 * config.table: Check cygwin*, not cygwin32*.
2283
2284Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
2285
2286 * Makefile.in: Change mkstemp -> mkstemps.
2287
2288Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
2289
2290 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
2291 * configure.in (funcs): Check for and conditionally add mkstemps to
2292 the list of functions libiberty will provide.
2293 * configure: Rebuilt.
2294
2295Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
2296
2297 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
2298 platforms that don't have HZ.
2299 * getruntime.c (HZ): Likewise.
2300
2301Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
2302
2303 * Makefile.in (xstrdup.o): Depend on config.h.
2304
2305Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
2306
2307 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
2308 freeing it.
2309
2310Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2311
2312 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
2313
2314Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2315
2316 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
2317 splay-tree.o.
2318
23191999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
2320
2321 * configure.in: Require autoconf 2.12.1 or higher.
2322
23231998-12-30 Michael Meissner <meissner@cygnus.com>
2324
2325 * random.c (NULL): Don't redefine NULL if it is already defined.
2326
2327Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2328
2329 * argv.c (buildargv): Cast the result of alloca in assignment.
2330
2331 * choose-temp.c: Include stdlib.h.
2332
2333 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
2334 (snarf_numeric_literal): Constify first parameter.
2335 (code_for_qualifier): Avoid a gcc extension, make the parameter an
2336 int, not a char.
2337 (demangle_qualifier): Likewise.
2338 (demangle_signature): Cast the argument of a ctype function to
2339 unsigned char.
2340 (arm_pt): Add parens around assignment used as truth value.
2341 (demangle_arm_hp_template): Constify variable `args'.
2342 (do_hpacc_template_const_value): Cast the argument of a ctype
2343 function to unsigned char.
2344 (do_hpacc_template_literal): Remove unused variable `i'.
2345 (snarf_numeric_literal): Constify parameter `args'.
2346 Cast the argument of a ctype function to unsigned char.
2347
2348 * floatformat.c (floatformat_to_double): Add explicit braces to
2349 avoid ambiguous `else'.
2350
2351 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
2352 `cstart' and `cend' to unsigned char. Cast the argument of macro
2353 `FOLD', which uses ctype functions, to unsigned char.
2354
2355 * objalloc.c (free): Add prototype.
2356
2357Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
2358
2359 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
2360
2361Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
2362
2363 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
2364 doesn't exist.
2365 (do_hpacc_template_literal): remove unused variable `i'.
2366
2367Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2368
2369 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
2370 bumping the pointer we read from. Also prepend these codes,
2371 as we do in other places.
2372
23731998-12-18 Nick Clifton <nickc@cygnus.com>
2374
2375 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
2376 'const char *' in order to match its usage when calling siblings.
2377 (snarf_numeric_literal): Make first arg 'const char **' in order
2378 to match usage.
2379
2380Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2381
2382 * choose-temp.c: Don't check IN_GCC anymore.
2383
2384 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
2385 * memchr.c (memchr): Likewise.
2386 * memcpy.c (memcpy): Likewise.
2387 * memmove.c (memmove): Likewise.
2388
2389 * mkstemp.c: Don't check IN_GCC anymore.
2390 * pexecute.c: Likewise.
2391 * splay-tree.c: Likewise.
2392
2393 * strchr.c (strchr): Use `const', not `CONST'.
2394 * strrchr.c (strrchr): Likewise.
2395 * strtol.c (strtol): Likewise.
2396 * strtoul.c (strtoul): Likewise.
2397
2398Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
2399 Elena Zannoni <ezannoni@cygnus.com>
2400 Stan Shebs <shebs@cygnus.com>
2401 Edith Epstein <eepstein@cygnus.com>
2402 Andres MacLeod <amacleod@cygnus.com>
2403 Satish Pai <pai@apollo.hp.com>
2404
2405 * HP aCC demangling support.
2406 * cplus-dem.c
2407 (main): Remove default to HP style demangling, set to EDG
2408 demangling correctly when -edg specified; set the demangling style
2409 when user specifies 'edg'. Set strip_underscore to
2410 prepends_underscore, if not HPUXHPPA. Set
2411 current_demangling_style to hp_demangling if HPUXHPPA. Set
2412 current demangling style correctly if the switch is hp. Read
2413 label correctly also in the HP style case.
2414 (work_stuff): add temp_start field; add field for volatile member
2415 function.
2416 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
2417 style for this case is the same as ARM.
2418 (demangle_args): handle EDG_DEMANGLING style; support HP style.
2419 (demangle_arm_hp_template): new function. (It was
2420 demangle_arm_pt.); check and set value of temp_start field in
2421 multiple places. Also, when ceching for end of template args,
2422 check to see if at end of static member of template class.
2423 (demangle_class): new local variable : save_class_name_end Don't
2424 include template args in string defining class.
2425 (demangle_class_name): use demangel_arm_hp_template.
2426 (demangle_function_name): handle case where demangling style is
2427 HP_DEMANGLING and currently point at an 'X' in the mangled name.
2428 Handle EDG_DEMANGLING style. Handle constructor and destructor
2429 ops for HP style.
2430 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
2431 styles. global destructor and constructor for HP style are same
2432 as for ARM style. Same for local variables.
2433 (demangle_qualified): handle EDG_DEMANGLING style.
2434 (demangle_signature): add case for volatile member function. For
2435 cases '1' - '9' : initialize the temp_start field to -1 and handle
2436 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
2437 and AUTO_DEMANGLING styles. If expecting a function and managed
2438 to demangle the funct args, then handle the LUCID_DEMANGLING,
2439 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
2440 class name after "Lnnn_ in HP style case. HP style too needs to
2441 forget types. _nnn is OK for HP style, so don't report failure.
2442 (do_hpacc_template_const_value): new function. Handle template's
2443 value param for HP/aCC.
2444 (do_hpacc_template_literal): new function. Handle a template's
2445 literal parameter for HP aCC.
2446 (recursively_demangle): new function
2447 (snarf_numeric_literal): new function.
2448 (usage): add 'edg' to the list of demangling styles; add hp switch
2449 to message.
2450
2451Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
2452
2453 * pexecute.c: Remove obsolete ifdefed cygwin code.
2454
2455Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2456
2457 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
2458 * cplus-dem.c: Likewise. Conform to libiberty.h.
2459 * pexecute.c: Likewise.
2460 * splay-tree.c: Likewise.
2461
24621998-11-25 Mike Stump <mrs@wrs.com>
2463
2464 * Makefile.in (splay-tree.o): Add config.h dependency.
2465
2466Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2467
2468 * configure.in: Use AC_PREREQ(2.12.1).
2469
24701998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
2471
2472 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
2473
2474Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
2475
2476 * mpw.c (mpw_access): Add missing parens.
2477
2478Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2479
2480 * configure.in: Call AC_HEADER_SYS_WAIT.
2481
2482 * pexecute.c: Include sys/wait.h when !IN_GCC.
2483
2484Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
2485
2486 * pexecute.c: revert back to checking old Cygwin
2487 preprocessor symbol until some time has passed.
2488
2489Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
2490
2491 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
2492 since it will now support similar constructs.
2493
2494Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2495
2496 * configure.in: Check for calloc.
2497
2498 * calloc.c: New file.
2499
2500 * xmalloc.c (xcalloc): New function.
2501
2502Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2503
2504 *cplus-dem.c (demangle_prefix): Use the last "__"
2505 in the mangled name when looking for the signature. This allows
2506 template names to begin with "__".
2507
25081998-11-08 Mark Mitchell <mark@markmitchell.com>
2509
2510 * cplus-dem.c (type_kind_t): Add tk_reference.
2511 (demangle_template_value_parm): Handle it.
2512 (do_type): Use it for references, instead of tk_pointer.
2513
2514 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
2515 not internal_cplus_demangle.
2516
2517Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2518
2519 * choose-temp.c: Don't include gansidecl.h.
2520 * mkstemp.c: Likewise.
2521 * pexecute.c: Likewise.
2522
2523Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
2524
2525 * configure.in: detect cygwin* instead of cygwin32*
2526 * configure: regenerate
2527
2528Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2529
2530 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
2531 whether to include config.h. Possibly include unistd.h in the
2532 !IN_GCC case. Define VFORK_STRING as a printable function call
2533 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
2534 defined, include vfork.h. If VMS is defined, define vfork()
2535 appropriately. Remove vfork check on USG, we're using autoconf.
2536 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
2537 locally what string to use.
2538
25391998-10-26 Mark Mitchell <mark@markmitchell.com>
2540
2541 * splay-tree.c: Tweak include directives to make sure declarations of
2542 xmalloc and free are available.
2543
25441998-10-25 Mark Mitchell <mark@markmitchell.com>
2545
2546 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
2547 anonymous namespaces.
2548
25491998-10-23 Mark Mitchell <mark@markmitchell.com>
2550
2551 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
2552 with type_quals.
2553 (TYPE_UNQUALIFIED): New macro.
2554 (TYPE_QUAL_CONST): Likewise.
2555 (TYPE_QUAL_VOLATILE): Likewise.
2556 (TYPE_QUAL_RESTRICT): Likewise.
2557 (code_for_qualifier): New function.
2558 (qualifier_string): Likewise.
2559 (demangle_qualifier): Likewise.
2560 (internal_cplus_demangle): Use them.
2561 (demangle_signature): Likewise.
2562 (demangle_template_value_parm): Likewise.
2563 (do_type): Likewise.
2564 (demangle_fund_type)): Likewise.
2565
2566Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2567
2568 * splay-tree.c (splay_tree_foreach_helper): Make definition static
2569 to match prototype.
2570
25711998-10-21 Mark Mitchell <mark@markmitchell.com>
2572
2573 * splay-tree.c: New file.
2574 * Makefile.in (CFILES): Add it.
2575 (REQUIRED_OFILES): Likewise.
2576 (splay-tree.o): Add dependencies.
2577
2578Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2579
2580 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
2581 range of 'K' index.
2582
2583Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2584
2585 * choose-temp.c: Prototype mkstemps() when IN_GCC.
2586
2587 * cplus-dem.c (consume_count): Cast argument of ctype macro to
2588 `unsigned char'.
2589 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
2590 comparing against one.
2591 (cplus_mangle_opname): Likewise.
2592 (demangle_integral_value): Cast argument of ctype macro to
2593 `unsigned char'.
2594 (demangle_template_value_parm): Likewise.
2595 (demangle_template): Initialize variable `bindex'. Cast the
2596 result of `strlen' to (int) when comparing against one. Remove
2597 unused variable `start_of_value_parm'.
2598 (demangle_class_name): Cast the result of `strlen' to (int) when
2599 comparing against one.
2600 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
2601 (gnu_special): Likewise. Cast the result of `strlen' to (int)
2602 when comparing against one.
2603 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
2604 (get_count): Likewise.
2605 (do_type): Likewise. Cast the result of `strlen' to (int) when
2606 comparing against one.
2607 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
2608 (demangle_function_name): Cast the result of `strlen' to (int)
2609 when comparing against one.
2610
2611 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
2612 comparing against one.
2613
2614Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
2615
2616 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
2617 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
2618 * config.in, configure: Rebuilt.
2619
2620 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
2621 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
2622 * config.in, configure: Rebuilt.
2623
2624Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
2625
2626 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
2627
2628Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
2629
2630 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
2631
2632Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
2633
2634 * Merge egcs & devo libiberty.
2635
26361998-09-08 Martin von Löwis <loewis@informatik.hu-berlin.de>
2637
2638 * cplus-dem.c (demangle_arm_pt): Demangle anonymous namespaces.
2639
2640Mon Sep 7 23:29:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2641
2642 * mkstemp.c: Include config.h even when not IN_GCC. Wrap header
2643 inclusions inside HAVE_*_H macros. Include ansidecl.h when not
2644 IN_GCC.
2645
2646 * vasprintf.c: Include stdarg.h/varargs.h first.
2647
2648 * vprintf.c: Likewise.
2649
2650Sat Sep 5 03:24:49 1998 Jeffrey A Law (law@cygnus.com)
2651
2652 * pexecute.c: Updates from gcc. Copy in gcc has been removed. This
2653 is the canonical copy. Define ISSPACE if !IN_GCC.
2654 * alloca.c, vfprintf.c, choose-temp.c, mkstemp.c, getopt.c: Similarly.
2655 * getopt1.c, obstack.c: Similarly.
2656 * Makefile.in: Build mkstemp.o
2657
2658Tue Sep 1 23:12:47 1998 Christopher Faylor <cgf@cygnus.com>
2659
2660 * configure.in: Include asprintf in list of functions known not
2661 to be in newlib.
2662 * configure: Rebuild.
2663
2664Wed Aug 19 14:05:01 1998 Mumit Khan <khan@xraylith.wisc.edu>
2665
2666 * cplus-dem.c (work_stuff): Add dllimported.
2667 (demangled_prefix): Mark symbols imported from PE DLL.
2668 (internal_cplus_demangled): Handle.
2669
26701998-08-17 Jason Merrill <jason@yorick.cygnus.com>
2671
2672 * cplus-dem.c (do_type): Fix simple array handling. If we fail,
2673 stay failed.
2674
2675Mon Aug 17 10:40:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2676
2677 * cplus-dem.c: Include config.h if it exists. Also, only
2678 prototype malloc/realloc if we can't get stdlib.h.
2679
2680Sat Aug 15 16:15:01 1998 Ian Lance Taylor <ian@cygnus.com>
2681
2682 * configure.in: Switch back to checking --with-target-subdir when
2683 deciding whether to check for newlib, undoing part of July 15
2684 change.
2685 * configure: Rebuild.
2686
2687Thu Aug 13 16:47:38 1998 Mark Mitchell <mark@markmitchell.com>
2688
2689 * cplus-dem.c (type_kind_t): New type.
2690 (demangle_template_value_parm): Add type_kind_t parameter. Rely
2691 on this paramter, rather than demangling the type again.
2692 (demangle_integral_value): Pass tk_integral.
2693 (demangle_template_: Pass the value returned from do_type.
2694 (do_type): Return a type_kind_t. Pass tk_integral to
2695 demangle_template_value_parm for array bounds.
2696 (demangle_fund_type): Likewise.
2697
2698 Also incorporate from GCC version:
2699
2700 Tue Jul 21 13:28:19 1998 Jason Merrill <jason@yorick.cygnus.com>
2701
2702 * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
2703
2704Thu Aug 13 16:47:38 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2705
2706 * cplus-dem.c (demangle_nested_args): Make function definition
2707 static to match the prototype.
2708
2709Tue Jul 28 11:33:09 1998 Mark Mitchell <mark@markmitchell.com>
2710
2711 * cplus-dem.c (type_kind_t): New type.
2712 (demangle_template_value_parm): Add type_kind_t parameter. Rely
2713 on this paramter, rather than demangling the type again.
2714 (demangle_integral_value): Pass tk_integral.
2715 (demangle_template_: Pass the value returned from do_type.
2716 (do_type): Return a type_kind_t. Pass tk_integral to
2717 demangle_template_value_parm for array bounds.
2718 (demangle_fund_type): Likewise.
2719
2720 Also incorporate from GCC version:
2721
2722 Tue Jul 21 13:28:19 1998 Jason Merrill <jason@yorick.cygnus.com>
2723
2724 * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
2725
2726Mon Jul 27 12:16:08 1998 Ian Lance Taylor <ian@cygnus.com>
2727
2728 * Makefile.in (ALLOCA): New variable.
2729 ($(TARGETLIB)): Add $(ALLOCA) to library.
2730 (needed-list): Add $(ALLOCA).
2731 ($(ALLOCA)): Depend upon stamp-picdir.
2732
2733Sun Jul 19 08:23:17 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2734
2735 * cplus-dem.c (demangle_nested_args): Make function definition
2736 static to match the prototype.
2737
2738Wed Jul 15 00:12:58 1998 Ian Lance Taylor <ian@cygnus.com>
2739
2740 * configure.in: Check --with-cross-host rather than
2741 --with-target-subdir when deciding whether build uses a cross
2742 compiler, and when deciding where to install the library.
2743 * configure: Rebuild.
2744
2745Sun Jul 12 01:27:05 1998 Jason Merrill <jason@yorick.cygnus.com>
2746
2747 * cplus-dem.c (demangle_nested_args): Return a value.
2748
2749Sat Jul 11 16:19:48 1998 Mark Mitchell <mark@markmitchell.com>
2750
2751 * cplus-dem.c (string): Move definition before work_stuff.
2752 (work_stuff): Add volatile_type, forgetting_types,
2753 previous_argument, and nrepeats fields.
2754 (SCOPE_STRING): New macro.
2755 (demangle_template): Add `remember' parameter. Add comment.
2756 Register the `B' code type here, if remembering. Tidy. Fix crash
2757 on NULL tmpl_argvec. Be consistent with use of tname/trawname.
2758 (demangle_nested_args): New function.
2759 (internal_cplus_demangle): Handle volatile-qualified member
2760 functions.
2761 (mop_up): Delete the previous_argument string if present.
2762 (demangle_signature): Tidy. Handle volatile-qualified member
2763 functions. Handle back-references using the `B' code. Use extra
2764 parameter to demangle_template and SCOPE_STRING where appropriate.
2765 (demangle_template_value_parm): Fix thinko; 'B' is not an integral
2766 code.
2767 (demangle_class): Use SCOPE_STRING.
2768 (gnu_special): Pass additional argument to demangle_template.
2769 Use SCOPE_STRING.
2770 (demangle_qualified): Save qualified types for later
2771 back-references. Handle constructors and destructors for template
2772 types correctly.
2773 (do_type): Tidy. Use SCOPE_STRING. Pass extra argument to
2774 demangle_template. Use demangled_nested_args. Don't remember
2775 qualified types here; that's now done in demangle_qualified.
2776 Similarly for templates.
2777 (do_arg): Improve commment. Handle 'n' repeat code.
2778 (remember_type): Check forgetting_types.
2779 (demangle_args): Deal with 'n' repeat codes. Tidy.
2780
2781Thu Jul 2 16:26:24 1998 Ian Lance Taylor <ian@cygnus.com>
2782
2783 * config.table: Only use mh-fbsd21 on *-*-freebsd2.2.[012], not on
2784 *-*-freebsd2.2.*. From Dmitrij Tejblum <tejblum@arc.hq.cti.ru>.
2785
2786Mon Jun 15 16:29:01 1998 Ian Lance Taylor <ian@cygnus.com>
2787
2788 * configure.in (setobjs): Correct quoting error in cygwin32 case.
2789 From Chris Faylor <cgf@cygnus.com>.
2790
2791Mon Jun 1 13:47:55 1998 Jason Molenda (crash@bugshack.cygnus.com)
2792
2793 * obstack.c: Update to latest FSF version.
2794
2795Mon Jun 1 14:17:36 1998 Mike Stump <mrs@wrs.com>
2796
2797 * Makefile.in: Add a dependency on stamp-picdir for the
2798 objects, so that we can do a parallel build.
2799
2800Sat May 30 22:17:13 1998 Mumit Khan <khan@xraylith.wisc.edu>
2801
2802 * configure.in (checkfuncs): Add missing "'".
2803
2804Fri May 29 12:40:41 1998 Jason Molenda (crash@bugshack.cygnus.com)
2805
2806 * obstack.c (_obstack_memory_used): Elide this function if we're
2807 on a system with GNU libc.
2808
2809Tue May 26 18:28:43 1998 Ian Lance Taylor <ian@cygnus.com>
2810
2811 * Makefile.in (distclean): Remove config.log.
2812
2813Tue May 26 15:01:52 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2814
2815 * Makefile.in (distclean): Don't remove alloca-conf.h.
2816
2817Fri May 22 01:38:07 1998 Hans-Peter Nilsson <hp@axis.se>
2818
2819 * cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.
2820
28211998-05-21 Mark Mitchell <mmitchell@usa.net>
2822
2823 * cplus-dem.c (do_type): Handle volatile qualification.
2824
28251998-05-21 Manfred Hollstein <manfred@s-direktnet.de>
2826
2827 * configure.in: Check for unistd.h as well.
2828 * configure: Rebuild.
2829 * config.in: Rebuild.
2830 * getpagesize.c (GNU_OUR_PAGESIZE): Use sysconf only if _SC_PAGESIZE
2831 is defined in unistd.h. Reformat conditional block for easier reading.
2832
2833 * config.table (shared): Default to no if ${enable_shared}
2834 is unset or empty; this logic is used by the toplevel
2835 configure scripts, too.
2836
2837Sat May 16 14:01:26 1998 Jeffrey A Law (law@cygnus.com)
2838
2839 * config.table: Add line to set enable_shared in the Makefile
2840 as needed.
2841
2842Wed May 13 14:24:38 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2843
2844 * cplus-dem.c (squangle_mop_up): Change return type to void.
2845 (internal_cplus_demangle): Remove unused parameter `options'.
2846 All callers changed.
2847 (cplus_demangle_opname): Remove function wide variable `int i' and
2848 replace with `size_t i' at each location where it is used.
2849 (cplus_mangle_opname): change type of `i' from int to size_t.
2850
2851Wed May 13 13:39:38 1998 Ian Lance Taylor <ian@cygnus.com>
2852
2853 * alloca-conf.h: Include config.h. Check HAVE_ALLOCA_H rather
2854 than sparc or sun.
2855 * Makefile.in (argv.o): Depend upon config.h and alloca-conf.h.
2856
2857Fri May 8 00:23:51 1998 Ian Lance Taylor <ian@cygnus.com>
2858
2859 * configure.in: Set libiberty_topdir correctly when srcdir is
2860 "." and with_target_subdir is not set.
2861 * configure: Rebuild.
2862
2863Thu May 7 13:01:44 1998 Ian Lance Taylor <ian@cygnus.com>
2864
2865 * configure.in: Add *-*-mingw32* case.
2866 * configure: Rebuild.
2867
2868Wed May 6 11:33:51 1998 Ian Lance Taylor <ian@cygnus.com>
2869
2870 * config.table: Never use a PIC file for *-*-cygwin32*.
2871
2872 * Makefile.in (config.status): Depend upon config.table.
2873
2874 * configure.in: On a cygwin32 host, always compile random, and
2875 don't test for sys_siglist, strsignal, or psignal.
2876 * configure: Rebuild.
2877
2878 * clock.c: Check HAVE_SYS_PARAM_H rather than NO_SYS_PARAM_H.
2879 * getcwd.c: Likewise.
2880 * getpagesize.c: Likewise.
2881 * getruntime.c: Likewise.
2882
2883Tue May 5 18:08:32 1998 Ian Lance Taylor <ian@cygnus.com>
2884
2885 Use autoconf tests rather than the old dummy.c test:
2886 * configure.in: Add AC_ARG_WITH calls for --with-target-subdir and
2887 --with-newlib. Add AC_CONFIG_HEADER. Use AC_REPLACE_FUNCS for
2888 most functions. Add special cases to handle newlib and VxWorks.
2889 Remove target_makefile_frag. Create stamp-h in AC_OUTPUT if
2890 CONFIG_HEADERS is set. Only call config-ml.in in AC_OUTPUT if
2891 CONFIG_FILES is set; set ac_file before calling it.
2892 * config.table (arm-*-riscix*, *-*-cygwin32): Remove.
2893 (*-*-hpux*, *-*-hiux*, *-*-irix4*, *-*-solaris2*): Remove.
2894 (*-*-sysv4*, *-*-go32, *-*-vxworks5*, *-*-vxworks): Remove
2895 (i[3456]-*-mingw32*): Remove.
2896 * Makefile.in (ERRORS_CC, CONFIG_H, NEEDED_LIST): Remove.
2897 (LIBOBJS): New variable.
2898 (HOST_OFILES, DO_ALSO, STAGESTUFF): Remove.
2899 (all): Depend upon needed-list. Don't check RULE1.
2900 (@target_makefile_frag@): Remove.
2901 (COMPILE.c): Include @DEFS@.
2902 (HFILES): Add alloca-conf.h.
2903 (REQUIRED_OFILES): Remove basename.o.
2904 ($(TARGETLIB)): New target.
2905 (stamp-needed, lneeded-list, needed.awk, stamp-config): Remove.
2906 (lconfig.h, needed2.awk, dummy.o, errors): Remove.
2907 (needed-list, config.h): Rewrite.
2908 (RULE1, $(RULE1), RULE2, $(RULE2)): Remove.
2909 (.always.): Remove.
2910 (Makefile): Set CONFIG_FILES and CONFIG_HEADERS.
2911 (stamp-h): New target.
2912 (atexit.o, clock.o, getcwd.o, getpagesize.o): New targets.
2913 (basename.o): Don't depend upon config.h.
2914 (getruntime.o): Depend upon config.h.
2915 * atexit.c: Include config.h. Check HAVE_ON_EXIT rather than
2916 NEED_on_exit.
2917 * basename.c: Don't include config.h. Don't check NEED_basename.
2918 * clock.c: Include config.h.
2919 * getcwd.c: Likewise.
2920 * getpagesize.c: Likewise.
2921 * getruntime.c: Likewise. Fix checks which set HAVE_GETRUSAGE and
2922 HAVE_TIMES.
2923 * strerror.c: Change uses of NEED_sys_errlist to
2924 HAVE_SYS_ERRLIST. Likewise for NEED_strerror and HAVE_STRERROR.
2925 * strsignal.c: Likewise for NEED_sys_siglist and HAVE_SYS_SIGLIST,
2926 and for NEED_strsignal and HAVE_STRSIGNAL and for NEED_psignal and
2927 HAVE_PSIGNAL.
2928 * acconfig.h: New file.
2929 * dummy.c: Remove.
2930 * functions.def: Remove.
2931 * config/mh-cxux7 (HDEFINES): Remove -DHAVE_SYSCONF.
2932 * config/mh-windows (HDEFINES): Remove.
2933 * config/mh-cygwin32: Remove.
2934 * config/mh-go32: Remove.
2935 * config/mh-irix4: Remove.
2936 * config/mh-riscix: Remove.
2937 * config/mh-sysv4: Remove.
2938 * config/mt-mingw32: Remove.
2939 * config/mt-vxworks5: Remove.
2940 * config.in: New file, generated using autoheader.
2941 * configure: Rebuild.
2942
2943Mon May 4 13:00:28 1998 Ian Lance Taylor <ian@cygnus.com>
2944
2945 * configure.in: Rewrite to use autoconf.
2946 * configure: Generate using autoconf.
2947 * config/mh-a68bsd: Remove.
2948 * config/mh-apollo68: Remove.
2949 * config/mh-hpbsd: Remove.
2950 * config/mh-ncr3000: Remove.
2951 * config/mh-sysv: Remove.
2952 * config/mh-aix (RANLIB, INSTALL): Don't define.
2953 * config/mh-cxux7 (RANLIB, INSTALL): Don't define.
2954 * config/mh-irix4 (CC, RANLIB, INSTALL): Don't define.
2955 * config/mh-sysv4 (RANLIB, INSTALL): Don't define.
2956 * config.table: Change config_shell to CONFIG_SHELL, and use
2957 libiberty_topdir to find move-if-change.
2958 (m68k-apollo-bsd*, m68k-apollo-sysv*): Remove.
2959 (i[3456]86-ncr-sysv4*, *-*-dgux*, hppa*-hp-bsd*): Remove.
2960 (*-*-irix*, *-*-m88kbcs*, *-*-sysv*): Remove.
2961 * Makefile.in (srcdir): Set to @srcdir@.
2962 (VPATH): Likewise.
2963 (prefix, exec_prefix, bindir, libdir): Set to autoconf variables.
2964 (SHELL, INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Likewise.
2965 (CC, CFLAGS, RANLIB)): Likewise.
2966 (datadir, man*dir, infodir, includedir, MAKEINFO): Remove.
2967 (target_makefile_frag, host_makefile_frag): Add substitutions.
2968 (INSTALL_DEST): Set to @INSTALL_DEST@.
2969 (Makefile): Depend upon config.status. Don't depend upon
2970 $(host_makefile_frag) or $(target_makefile_frag).
2971 (config.status): New target.
2972
2973Sun May 3 17:58:49 1998 Ian Lance Taylor <ian@cygnus.com>
2974
2975 * config/mt-sunos4: Remove. Should be handled by --with-headers
2976 and --with-libraries options at top level.
2977 * config.table: Never use mt-sunos4.
2978
2979 * alloca-conf.h: New file, combining alloca-norm.h and
2980 alloca-botch.h.
2981 * alloca-norm.h: Remove.
2982 * alloca-botch.h: Remove.
2983 * configure.in: Set shell variables files and links to empty.
2984 * config.table: Don't set shell variable files.
2985 * configure.bat: Don't create alloca-conf.h.
2986 * makefile.vms: Likewise.
2987 * mpw-config.in: Likewise.
2988 * vmsbuild.com: Likewise.
2989
2990Fri May 1 11:41:42 1998 Ian Lance Taylor <ian@cygnus.com>
2991
2992 * Makefile.in ($(HOST_OFILES) $(REQUIRED_OFILES)): Remove old
2993 target depending upon config.h.
2994 (alloca.o): Add target depending upon config.h
2995 (basename.o, choose-temp.o, fnmatch.o): Likewise.
2996 (getopt.o, getopt1.o, pexecute.o, strerror.o): Likewise.
2997 (strsignal.o, xstrerror.o): Likewise.
2998
2999Fri May 1 04:26:25 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3000
3001 * cplus-dem.c (cplus_demangle_opname): Initialize work.
3002
3003Mon Apr 27 15:53:30 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
3004
3005 * cplus-dem.c (demangle_qualified): Replace missing else.
3006
3007Sun Apr 26 15:38:50 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3008
3009 * cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
3010 length in the name of a virtual table.
3011
3012Wed Apr 22 10:53:49 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
3013
3014 * cplus-dem.c (struct work stuff): Add field for B and K mangle codes.
3015 (cplus_demangle_opname): Call mop_up_squangle.
3016 (cplus_demangle): Initialize squangle info, then call
3017 internal_cplus_demangle. (Most code moved there as well)
3018 (internal_cplus_demangle): New function, performs most of what use
3019 to be done in cplus_demangle, but is only called with this file.
3020 (squangle_mop_up): New function to clean up B and K code data.
3021 (mop_up): set pointers to NULL after freeing.
3022 (demangle_signature, demangle_template, demangle_class): Add
3023 switch elements to handle K and B codes.
3024 (demangle_prefix, gnu_special, demangle_qualified): Add
3025 code to handle K and B codes.
3026 (do_type, demangle_fund_type): Handle B and K codes.
3027 (remember_Ktype): New function to store K info.
3028 (register_Btype, remember_Btype): New functions for B codes.
3029 (forget_B_and_K_types): New function to destroy B and K info.
3030
3031Fri Apr 10 01:49:10 1998 Jeffrey A Law (law@cygnus.com)
3032
3033 * COPYING.LIB, choose-temp.c, cplus-dem.c: Sync with egcs & gcc.
3034
3035Thu Mar 5 09:23:28 1998 Manfred Hollstein <manfred@s-direktnet.de>
3036
3037 * config.table: Make locating frag files failsafe even for the
3038 special case if configuring and building in srcdir.
3039
3040Mon Feb 23 14:33:15 1998 Ian Lance Taylor <ian@cygnus.com>
3041
3042 * choose-temp.c: Fix handling of sys/file.h to work in libiberty.
3043
3044Sun Feb 22 18:03:23 1998 Jeffrey A Law (law@cygnus.com)
3045
3046 * choose-temp.c: Sync with copy in gcc.
3047
3048Thu Feb 12 16:29:49 1998 Ian Lance Taylor <ian@cygnus.com>
3049
3050 * getopt.c: Update to latest FSF version.
3051 * getopt1.c: Likewise.
3052
3053Tue Feb 10 16:58:33 1998 Stan Shebs <shebs@andros.cygnus.com>
3054
3055 * cplus-dem.c (gnu_special): Don't get confused by .<digits>
3056 strings that are not actually lengths.
3057
3058Fri Feb 6 01:35:17 1998 Manfred Hollstein <manfred@s-direktnet.de>
3059
3060 * Makefile.in (FLAGS_TO_PASS): Don't pass PICFLAG.
3061 (.c.o): Check value of enable_shared, not PICFLAG.
3062 (stamp-picdir): Dito.
3063
3064Thu Feb 5 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
3065
3066 * config/mh-cygwin32: remove vasprintf.o from EXTRA_OFILES
3067 since it gets built automatically
3068
3069Sun Feb 1 02:52:32 1998 Mike Stump <mrs@wrs.com>
3070
3071 * config.table (vxworks configs): Default to VxWorks 5.x, as that is
3072 the currently shipping OS.
3073
3074Tue Jan 27 16:08:20 1998 Pat Rankin <rankin@eql.caltech.edu>
3075
3076 * vmsbuild.com [REQUIRE_OFILES]: Synchronized with Makefile.in:
3077 Add fnmatch.o and objalloc.o; remove vasprintf.o.
3078 [config.h]: Define NEED_strsignal.
3079
3080Mon Jan 19 12:20:01 1998 Ian Lance Taylor <ian@cygnus.com>
3081
3082 * functions.def: Correct argument types for strerror and
3083 strsignal. Reported by Alex Gutman <agutman@emc.com>.
3084
3085Sun Jan 18 15:57:28 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
3086
3087 * vasprintf.c (int_vasprintf): Increase buffer size for float/double
3088 values.
3089
3090Sat Jan 17 22:28:38 1998 Mumit Khan <khan@xraylith.wisc.edu>
3091 J.J. VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
3092
3093 Add mingw32 support.
3094 * pexecute.c (pexecute): New function for mingw32. Supports pipes.
3095 (pwait): New function for mingw32.
3096
3097 * config.table (i[3456]86-*-mingw32*): Support for i386-mingw32.
3098 * config/mt-mingw32: New file.
3099 * xmalloc.c (first_break): Not used for mingw32.
3100 (xmalloc_set_program_name): Don't use sbrk on mingw32.
3101 (xmalloc): Likewise.
3102 (xrealloc): Likewise.
3103
3104Sat Jan 17 22:28:05 1998 Jeffrey A Law (law@cygnus.com)
3105
3106 * choose-temp.c: Sync with gcc version.
3107
3108Tue Jan 13 18:34:39 1998 Jim Wilson <wilson@cygnus.com>
3109
3110 * Makefile.in (install_to_libdir, install_to_tooldir): Add MULTISUBDIR
3111 to all filenames in libdir and tooldir.
3112 (distclean): Do MULTICLEAN before deleting Makefile.
3113 (stamp-needed, stamp-config): Add MULTISRCTOP to
3114 pathname for move-if-change.
3115
3116Thu Dec 4 17:25:19 1997 Jeffrey A Law (law@cygnus.com)
3117
3118 * strsignal.c (sys_nsig): Try NSIG and _NSIG.
3119
3120Wed Nov 19 13:37:06 1997 Michael Meissner <meissner@cygnus.com>
3121
3122 * alloca-norm.h (alloca, GCC case): Don't redefine alloca if it
3123 was already defined previously.
3124
3125Mon Nov 10 12:48:03 1997 Philippe De Muyter <phdm@macqel.be>
3126
3127 * Makefile.in (INSTALL): Use ../install-sh, not install.
3128
3129Tue Oct 28 23:41:15 1997 Judy Goldberg <jodyg@idt.net>
3130
3131 * Makefile.in (CFILES): Add pexecute.c.
3132
3133Wed Oct 15 19:13:48 1997 Ian Lance Taylor <ian@cygnus.com>
3134
3135 * asprintf.c: Consistently use either stdarg or varargs.
3136
3137Tue Oct 14 12:01:00 1997 Mark Mitchell <mmitchell@usa.net>
3138
3139 * cplus-dem.c (demangle_signature): Don't look for return types on
3140 constructors. Handle member template constructors.
3141
3142Fri Oct 3 17:53:30 1997 Ian Lance Taylor <ian@cygnus.com>
3143
3144 * README: Fix configuration instructions.
3145
3146Mon Sep 29 12:28:41 1997 Ian Lance Taylor <ian@cygnus.com>
3147
3148 * pexecute.c: Update to current version from /gd/gnu/lib:
3149
3150 Mon Sep 29 12:27:59 1997 Ian Lance Taylor <ian@cygnus.com>
3151
3152 * pexecute.c: Use spawn if __CYGWIN32__.
3153
3154 1997-08-08 Paul Eggert <eggert@twinsun.com>
3155
3156 * pexecute.c: Include "config.h" first, as per autoconf manual.
3157
3158 Fri Jun 27 15:20:29 1997 Scott Christley <scottc@net-community.com>
3159
3160 * pexecute.c (fix_argv): New function.
3161 (pexecute): Win32 but not Cygwin32 needs its arguments fixed.
3162 Add underscore to cwait function call.
3163
3164Sun Sep 28 12:00:52 1997 Mark Mitchell <mmitchell@usa.net>
3165
3166 * cplus-dem.c (demangle_template): Add new parameter. Handle new
3167 template-function mangling.
3168 (consume_count_with_underscores): New function.
3169 (demangle_signature): Handle new name-mangling scheme.
3170
3171Wed Sep 24 00:31:59 1997 Felix Lee <flee@yin.cygnus.com>
3172
3173 * asprintf.c: stdarg.h when ALMOST_STDC
3174 * config/mh-windows (EXTRA_OFILES): add asprintf.o and
3175 strncasecmp.o.
3176
3177Thu Aug 28 14:27:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
3178
3179 * vasprintf.c (vasprintf): Allow for _BSD_VA_LIST_.
3180
3181 * config.table: Add case for FreeBSD 2.1 and 2.2, needs mh-fbsd21.
3182
3183 * config/mh-fbsd21 (EXTRA_OFILES): Force vasprintf.o
3184
3185Wed Sep 10 12:43:10 1997 Jason Merrill <jason@yorick.cygnus.com>
3186
3187 * cplus-dem.c (demangle_fund_type): Change "complex" to "__complex".
3188
3189Fri Sep 5 16:34:42 1997 Andrew Cagney <cagney@b1.cygnus.com>
3190
3191 * asprintf.c (asprintf): New file.
3192 * Makefile.in (CFILES): Add asprintf.c
3193 * functions.def: Ditto.
3194
3195Thu Aug 28 18:53:34 1997 Andrew Cagney <cagney@b1.cygnus.com>
3196
3197 * argv.c (dupargv): New function, duplicate an argument vector.
3198
3199Tue Aug 19 20:28:45 1997 Geoffrey Noer <noer@cygnus.com>
3200
3201 * config/mh-cygwin32: also build random.o
3202
3203Tue Aug 19 17:10:56 1997 Jason Merrill <jason@yorick.cygnus.com>
3204
3205 * cplus-dem.c: Add 'extern' to prepends_underscore.
3206
3207Wed Jul 30 11:42:19 1997 Per Bothner <bothner@cygnus.com>
3208
3209 * cplus-dem.c: Various changes to produce Java output when passed
3210 DMGL_JAVA. Thus "::" becomes "." and "JArray<Foo>" becomes "Foo[]".
3211 (main): Support --java and -j flags to set DMGL_JAVA.
3212
3213Tue Jul 22 19:05:23 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
3214
3215 * config/mh-go32 (CC, AR, RANLIB): Don't define.
3216
3217Tue Jul 22 17:49:54 1997 Ian Lance Taylor <ian@cygnus.com>
3218
3219 * Makefile.in (REQUIRED_OFILES): Add pexecute.o.
3220 (pexecute.o): New target.
3221
3222 * Makefile.in (stamp-needed): New target, replacing needed-list.
3223 (needed-list): Just depend upon stamp-needed.
3224 (stamp-config): New target, replacing config.h.
3225 (config.h): Just depend upon stamp-config.
3226 (mostlyclean): Remove stamp-*.
3227
3228Thu Jun 12 11:00:18 1997 Angela Marie Thomas (angela@cygnus.com)
3229
3230 * Makefile.in (FLAGS_TO_PASS): pass INSTALL, INSTALL_PROGRAM and
3231 INSTALL_DATA for multilibbed installs
3232
3233Tue Jun 3 13:21:05 1997 Doug Evans <dje@canuck.cygnus.com>
3234
3235 Tue Dec 10 09:44:57 1996 Paul Eggert <eggert@twinsun.com>
3236
3237 * choose-temp.c (choose_temp_base): Don't dump core if TMPDIR is empty.
3238
3239 * choose-temp.c (try): Insist that temp dir be searchable.
3240
3241 Wed Oct 23 17:36:39 1996 Doug Rupp (rupp@gnat.com)
3242
3243 * choose-temp.c (choose_temp_base): On VMS, use proper syntax
3244 for current directory.
3245
3246 Sat Feb 15 19:03:48 1997 Geoffrey Noer (noer@cygnus.com)
3247
3248 * pexecute.c: Remove special cases for cygwin32.
3249 (pwait): Remove local definition of `pid'.
3250
3251 Tue Nov 12 18:26:15 1996 Doug Rupp (rupp@gnat.com)
3252
3253 * pexecute.c (vfork): Supply new definition for VMS.
3254 (pwait): Use waitpid instead of wait for VMS.
3255
3256Tue May 20 14:02:20 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
3257
3258 * cplus-dem.c (do_type): Handle `J'.
3259 (demangle_fund_type): Print "complex" for it.
3260
3261Wed Apr 30 12:15:45 1997 Jason Merrill <jason@yorick.cygnus.com>
3262
3263 * configure.in: Don't turn on multilib here.
3264
3265Mon Apr 28 19:04:31 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
3266
3267 * obstack.c: move _obstack_memory_used outside of ifdef. Cannot be
3268 elided; needed by gdb and not present in libc.
3269
3270Thu Apr 24 19:33:47 1997 Ian Lance Taylor <ian@cygnus.com>
3271
3272 * Makefile.in (clean): Remove tmpmulti.out.
3273
3274Tue Apr 22 10:25:15 1997 Fred Fish <fnf@cygnus.com>
3275
3276 * floatformat.c (floatformat_ieee_double_littlebyte_bigword):
3277 Add new floatformat, mainly for ARM doubles.
3278
3279Mon Apr 14 12:11:16 1997 Ian Lance Taylor <ian@cygnus.com>
3280
3281 * config.table: Use ${config_shell} with ${moveifchange}. From
3282 Thomas Graichen <graichen@rzpd.de>.
3283
3284Fri Apr 4 03:09:24 1997 Ulrich Drepper <drepper@cygnus.com>
3285
3286 * configure.in: Enable multilibing by default.
3287 Update multilib template to read config-ml.in.
3288
3289Tue Apr 1 16:26:39 1997 Klaus Kaempf <kkaempf@progis.de>
3290
3291 * makefile.vms: Add objalloc.
3292
3293Mon Mar 31 23:57:51 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
3294
3295 * cplus-dem.c (demangle_it): Add prototype declaration.
3296 (usage, fatal): Likewise.
3297
3298 * xexit.c (_xexit_cleanup): Add prototype.
3299
3300 * strerror.c (init_error_tables): Declare.
3301
3302Fri Mar 28 11:43:20 1997 H.J. Lu <hjl@lucon.org>
3303
3304 * functions.def: Add DEF of vasprintf, and DEFFUNC of strsignal.
3305 * strsignal.c: Only define strsignal if NEED_strsignal.
3306 * Makefile.in (REQUIRED_OFILES): Remove vasprintf.o.
3307 * configure.in: Add NEED_strsignal to xconfig.h. Add vasprintf.o
3308 to xneeded-list.
3309 * config/mh-cygwin32 (HDEFINES): Add -DNEED_strsignal.
3310 (EXTRA_OFILES): Define to vasprintf.o.
3311 * config/mh-windows (HDEFINES): Add -DNEED_strsignal.
3312 (EXTRA_OFILES): Add vasprintf.o.
3313 * config/mt-vxworks5 (vxconfig.h): Define NEED_strsignal.
3314 (vxneeded-list): Add vasprintf.o.
3315
3316Thu Mar 20 17:02:09 1997 Ian Lance Taylor <ian@cygnus.com>
3317
3318 * objalloc.c: Include <stdio.h>.
3319
3320Mon Mar 17 19:23:11 1997 Ian Lance Taylor <ian@cygnus.com>
3321
3322 * objalloc.c: New file.
3323 * Makefile.in (CFILES): Add objalloc.c
3324 (REQUIRED_OFILES): Add objalloc.o.
3325 (objalloc.o): New target.
3326
3327Sat Mar 15 18:49:41 1997 Ian Lance Taylor <ian@cygnus.com>
3328
3329 * obstack.c: Update to current FSF version.
3330
3331Fri Mar 14 14:18:47 1997 Ian Lance Taylor <ian@cygnus.com>
3332
3333 * cplus-dem.c: Add prototypes for all static functions.
3334 (mystrstr): Make static. Make arguments and result const.
3335 (cplus_match): Remove; not used.
3336
3337Tue Mar 11 14:20:31 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
3338
3339 * cplus-dem.c (gnu_special): Call demangled_fund_type for other
3340 __t* symbols.
3341
3342Tue Mar 11 15:41:21 1997 H.J. Lu <hjl@lucon.org>
3343
3344 * spaces.c: Declare malloc and free properly.
3345 * strsignal.c (init_signal_tables): Add prototype.
3346 * xatexit.c (_xexit_cleanup): Add parameter declarations.
3347
3348Wed Feb 19 15:43:24 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
3349
3350 * Makefile.in (lneeded-list): If alloca.o is needed, xexit.o is
3351 also required because of xmalloc.o.
3352
3353Fri Feb 14 13:43:38 1997 Ian Lance Taylor <ian@cygnus.com>
3354
3355 * strsignal.c: Unconditionally redefine sys_siglist around the
3356 inclusion of the system header files.
3357
3358Thu Feb 13 22:01:04 1997 Klaus Kaempf <kkaempf@progis.de>
3359
3360 * makefile.vms: Remove 8 bit characters. Update to latest
3361 gcc release.
3362
3363Tue Feb 4 11:52:19 1997 Ian Lance Taylor <ian@cygnus.com>
3364
3365 * strsignal.c: Use NEED_sys_siglist instead of
3366 LOSING_SYS_SIGLIST.
3367 * config.table: Don't use mh-lynxos.
3368 * config/mh-lynxos: Remove.
3369
3370Thu Jan 16 14:51:03 1997 Bob Manson <manson@charmed.cygnus.com>
3371
3372 * cplus-dem.c: Fix indenting; make identical to the copy
3373 in GCC.
3374 (do_type, case 'M'): Check for a template as well as a class.
3375
3376Thu Dec 19 13:51:33 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
3377
3378 * config/mt-vxworks5 (vxneeded-list): Remove sigsetmask.o, since
3379 vxworks 5.[0-3] all have sigsetmask in them; the one provided by
3380 libiberty is incorrect, as well.
3381
3382Mon Dec 2 15:03:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3383
3384 * alloca.c (alloca): When compiled with an ANSI/ISO compiler,
3385 alloca takes a size_t argument, not just unsigned.
3386
3387Mon Nov 18 15:42:08 1996 Jason Merrill <jason@yorick.cygnus.com>
3388
3389 * cplus-dem.c: Note that this file also lives in GCC.
3390
3391Mon Nov 18 15:19:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
3392
3393 * alloca.c: Remove include of libiberty.h for hpux.
3394 * argv.c: Replace defs from libiberty.h.
3395 * spaces.c: Put back externs from removed from libiberty.h.
3396 * vasprintf.c: Remove include of libiberty.h for hpux.
3397
3398Mon Nov 18 14:08:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
3399
3400 * cplus-dem.c: Checking in again; last checkin filed due to sticky tag.
3401
3402Wed Nov 13 08:22:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
3403
3404 * cplus-dem.c: Revert last two commits due to conflicts with
3405 hpux system headers.
3406
3407Wed Nov 13 08:22:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
3408
3409 * alloca.c, argv.c, spaces.c, strcasecmp.c, vasprintf.c, vprintf.c:
3410 Revert last commit due to conflicts with hpux system headers.
3411
3412Wed Nov 13 10:36:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3413
3414 * cplus-dem.c (x{m,re}alloc): Make declarations compatibile with
3415 libiberty.h when compiled with a standard compiler.
3416
3417Tue Nov 12 16:31:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
3418
3419 * alloca.c: Include libiberty.h for definition of xmalloc.
3420 Don't redefine NULL.
3421 * argv.c: Move prototypes to libiberty.h.
3422 * cplus-dem.c: Include libiberty.h for definition of xmalloc.
3423 Don't redefine NULL.
3424 Use casts to eliminate compiler warnings.
3425 * spaces.c: Remove prototypes for malloc and free which are
3426 already in libibrty.h.
3427 * strcasecmp.c: Use casts to eliminate compiler warnings.
3428 * vasprintf.c: Include libiberty.h for definition of malloc.
3429 Don't redefine NULL.
3430 * vprintf.c: Include stdarg.h if __STDC__.
3431
3432Fri Oct 11 15:42:12 1996 Stu Grossman (grossman@critters.cygnus.com)
3433
3434 * config/mh-windows: Add strcasecmp.o to EXTRA_OFILES.
3435
3436Fri Oct 11 11:16:31 1996 Stan Shebs <shebs@andros.cygnus.com>
3437
3438 * mpw.c (mpwify_filename): Rewrite to simplify, and to handle
3439 upward components correctly.
3440
3441Tue Oct 8 08:55:34 1996 Stu Grossman (grossman@critters.cygnus.com)
3442
3443 * config.table, config/mh-windows: Add support for building under
3444 MSVC (the Microsoft build environment).
3445
3446Mon Oct 7 10:50:27 1996 Ian Lance Taylor <ian@cygnus.com>
3447
3448 * fnmatch.c: Undef const if not __STDC__.
3449
3450Thu Oct 3 13:46:39 1996 Ian Lance Taylor <ian@cygnus.com>
3451
3452 * fnmatch.c: New file.
3453 * Makefile.in (CFILES): Add fnmatch.c.
3454 (REQUIRED_OFILES): Add fnmatch.o.
3455 (fnmatch.o): New target.
3456
3457Wed Sep 18 14:49:13 1996 Jason Merrill <jason@yorick.cygnus.com>
3458
3459 * cplus-dem.c (demangle_template): Fix handling of address args.
3460 (gnu_special): Handle type_info stuff.
3461
3462Fri Sep 13 17:52:55 1996 Stan Shebs <shebs@andros.cygnus.com>
3463
3464 * mpw.c (DebugPI): Make settable from the env var DEBUG_PATHNAMES.
3465 (mpwify_filename): Handle "::/" case.
3466
3467Thu Sep 12 13:30:40 1996 Geoffrey Noer <noer@cygnus.com>
3468
3469 * config/mh-cygwin32: new file (need -DNEED_basename and
3470 -DNEED_sys_siglist for native NT rebuilding)
3471 * config.table (*-*-cygwin32): new entry
3472 * choose-temp.c: bring in sync with gcc (revert Aug 17 change)
3473
3474Thu Aug 29 16:48:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3475
3476 * config.table (i[345]86-*-*): Recognize i686 for pentium pro.
3477
3478Tue Aug 27 13:47:58 1996 Stan Shebs <shebs@andros.cygnus.com>
3479
3480 * pexecute.c (pexecute) [MPW]: Remove old bogus code that
3481 messed with arguments that included a '/', add escape chars
3482 to double quotes, remove const decl from arg that Mac
3483 compilers don't seem to like.
3484
3485Sat Aug 17 04:44:27 1996 Geoffrey Noer <noer@cygnus.com>
3486
3487 * pexecute.c: Update test for win32 (&& ! cygwin32).
3488 * choose-temp.c: fix WIN32 preprocessor defines
3489
3490Thu Aug 15 12:26:48 1996 Stan Shebs <shebs@andros.cygnus.com>
3491
3492 * mpw-make.sed: Add @DASH_C_FLAG@ and @SEGMENT_FLAG({Default})@
3493 to editing of default makefile rule.
3494
3495Sun Aug 11 21:03:27 1996 Stu Grossman (grossman@critters.cygnus.com)
3496
3497 * alloca-norm.h: Include <malloc.h> if _WIN32.
3498 * argv.c: Include non-prototyped decls for malloc and string
3499 functions if ! _WIN32 or if __GNUC__.
3500
3501Thu Aug 8 12:42:40 1996 Klaus Kaempf <kkaempf@progis.de>
3502
3503 * config.h-vms: New file.
3504 * makefile.vms: Use it.
3505
3506Wed Aug 7 17:16:12 1996 Stu Grossman (grossman@critters.cygnus.com)
3507
3508 * getopt.c (_getopt_internal): If argc is 0, just return (before
3509 we reference *argv and segfault).
3510
3511Mon Aug 5 01:29:08 1996 Jason Merrill <jason@yorick.cygnus.com>
3512
3513 * Makefile.in (distclean): Add multilib.out.
3514
3515Thu Jul 18 17:40:55 1996 Ian Lance Taylor <ian@cygnus.com>
3516
3517 * alloca-norm.h: Change #ifdef sparc to #if defined (sparc) &&
3518 defined (sun). From Andrew Gierth <ANDREWG@microlise.co.uk>.
3519
3520Mon Jul 1 13:40:44 1996 Ken Raeburn <raeburn@cygnus.com>
3521
3522 Tue May 28 15:29:03 1996 Pat Rankin <rankin@eql.caltech.edu>
3523
3524 * vmsbuild.com (REQUIRD_OFILES): Add choose-temp.o and xstrdup.o.
3525
3526 Thu Jan 25 18:20:04 1996 Pat Rankin <rankin@eql.caltech.edu>
3527
3528 * vmsbuild.com: Changes to handle DEFFUNC(on_exit).
3529 (do_ofiles): Allow nonexistent source file in pass 3.
3530 (chk_deffunc): New routine.
3531
3532Tue Jun 25 19:24:43 1996 Doug Evans <dje@canuck.cygnus.com>
3533
3534 * pexecute.c (PEXECUTE_VERBOSE): Define.
3535 (MPW pexecute): Check flags & PEXECUTE_VERBOSE instead of verbose_flag.
3536
3537Tue Jun 25 23:11:48 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
3538
3539 * Makefile.in (docdir): Removed.
3540
3541Tue Jun 25 23:01:07 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
3542
3543 * Makefile.in (oldincludedir): Removed.
3544
3545Tue Jun 25 22:50:07 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
3546
3547 * Makefile.in (datadir): Set to $(prefix)/share.
3548
3549Thu Jun 20 21:17:52 1996 Ian Lance Taylor <ian@cygnus.com>
3550
3551 * cplus-dem.c (demangle_arm_pt): Reindent. Avoid endless loop by
3552 checking for errors from do_type.
3553
3554Tue Jun 18 14:36:19 1996 Klaus Kaempf <kkaempf@progis.de>
3555
3556 * makefile.vms: New file.
3557 * xmalloc.c: If VMS, include <stdlib.h> and <unixlib.h> rather
3558 than declaring malloc, realloc, and sbrk.
3559
3560Mon Jun 10 13:17:17 1996 Doug Evans <dje@canuck.cygnus.com>
3561
3562 * pexecute.c: New file.
3563
3564Wed Jun 5 16:57:45 1996 Richard Henderson <rth@tamu.edu>
3565
3566 * xmalloc.c: Declare sbrk.
3567
3568Sat May 4 05:08:45 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3569
3570 * alloca-norm.h: Add SPARCworks cc compatible __builtin_alloca
3571 declaration.
3572
3573Mon Apr 22 18:41:49 1996 Ian Lance Taylor <ian@cygnus.com>
3574
3575 * xstrerror.c: Include <stdio.h>.
3576
3577Sun Apr 21 11:55:12 1996 Doug Evans <dje@canuck.cygnus.com>
3578
3579 * Makefile.in (CFILES): Add atexit.c.
3580
3581Sun Apr 21 09:50:09 1996 Stephen L Moshier (moshier@world.std.com)
3582
3583 * choose-temp.c: Include sys/types.h before sys/file.h for sco3.2v5.
3584
3585Wed Apr 17 11:17:55 1996 Doug Evans <dje@canuck.cygnus.com>
3586
3587 * choose-temp.c: Don't #include sys/file.h ifdef NO_SYS_FILE_H.
3588 #include <stdio.h>
3589 * config/mt-vxworks5 (HDEFINES): Define NO_SYS_FILE_H.
3590
3591Tue Apr 16 11:27:16 1996 Jeffrey A Law (law@cygnus.com)
3592
3593 * Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o.
3594 Reverts Feb 8, 1995 change.
3595
3596Mon Apr 15 12:53:26 1996 Doug Evans <dje@canuck.cygnus.com>
3597
3598 * choose-temp.c: New file.
3599 * Makefile.in (CFILES): Add choose-temp.c.
3600 (REQUIRED_OFILES): Add choose-temp.o.
3601
3602Sat Apr 13 14:19:30 1996 Stu Grossman (grossman@critters.cygnus.com)
3603
3604 * floatformat.c (floatformat_to_double): Don't bias exponent when
3605 handling zero's, denorms or NaNs.
3606
3607Thu Apr 11 13:36:56 1996 Stu Grossman (grossman@critters.cygnus.com)
3608
3609 * floatformat.c (floatformat_to_double): Fix bugs with handling
3610 numbers with fractions < 32 bits.
3611
3612Mon Apr 8 14:48:34 1996 Ian Lance Taylor <ian@cygnus.com>
3613
3614 * config.table: Permit --enable-shared to specify a list of
3615 directories.
3616
3617Tue Mar 19 22:02:07 1996 Jason Merrill <jason@yorick.cygnus.com>
3618
3619 * cplus-dem.c (demangle_template): Fix for non-mangled pointer
3620 arguments.
3621
3622Fri Mar 8 17:24:18 1996 Ian Lance Taylor <ian@cygnus.com>
3623
3624 * configure.in: If srcdir is `.' and with_target_subdir is not
3625 `.', then set MULTISRCTOP before calling config-ml.in.
3626
3627Thu Mar 7 13:37:10 1996 Stan Shebs <shebs@andros.cygnus.com>
3628
3629 * mpw.c (mpw_open): Add debugging output option.
3630
3631Wed Mar 6 17:36:03 1996 Jason Merrill <jason@yorick.cygnus.com>
3632
3633 * cplus-dem.c (demangle_template): Fix for address-of-extern arguments.
3634
3635Tue Feb 27 12:00:50 1996 Raymond Jou <rjou@mexican.cygnus.com>
3636
3637 * mpw.c (mpwify_filename): Change 6 to 5 in
3638 strncmp (unixname, "/tmp/", 5).
3639
3640Tue Feb 20 10:55:53 1996 Ian Lance Taylor <ian@cygnus.com>
3641
3642 * cplus-dem.c (demangle_template): Initialize is_bool. Correctly
3643 handle 0 as a pointer value parameter.
3644
3645Mon Feb 5 16:41:44 1996 Ian Lance Taylor <ian@cygnus.com>
3646
3647 * Makefile.in (all): Depend upon required-list.
3648 (required-list): New target.
3649 (clean): Remove required-list.
3650
3651Wed Jan 31 10:19:41 1996 Steve Chamberlain <sac@slash.cygnus.com>
3652
3653 * win32.c: Deleted.
3654 * config.table (i386-*-win32): Deleted.
3655 * config/mh-i386win32: Deleted.
3656
3657Thu Jan 18 11:34:17 1996 Ian Lance Taylor <ian@cygnus.com>
3658
3659 * cplus-dem.c (cplus_demangle_opname): Change opname parameter to
3660 const char *.
3661 (cplus_mangle_opname): Change return type and opname parameter to
3662 const char *. Don't cast return value.
3663
3664Tue Jan 16 12:13:11 1996 Stan Shebs <shebs@andros.cygnus.com>
3665
3666 * mpw.c: Include Timer.h, in order to get m68k Microseconds trap
3667 definition.
3668
3669Wed Jan 3 13:15:04 1996 Fred Fish <fnf@cygnus.com>
3670
3671 * obstack.c: Update copyright to 1996.
3672 (_obstack_memory_used): Define new function. Called via
3673 obstack_memory_used macro.
3674
3675Thu Dec 28 11:39:40 1995 Ian Lance Taylor <ian@cygnus.com>
3676
3677 * xstrdup.c: New file.
3678 * Makefile.in (CFILES): Add xstrdup.c.
3679 (REQUIRED_OFILES): Add xstrdup.o.
3680 (xstrdup.o): New target.
3681
3682Mon Dec 11 18:18:52 1995 Mike Stump <mrs@cygnus.com>
3683
3684 * atexit.c: New stub to provide atexit on systems that have
3685 on_exit, like SunOS 4.1.x systems.
3686 * functions.def (on_exit, atexit): Ditto.
3687
3688Mon Dec 11 15:42:14 1995 Stan Shebs <shebs@andros.cygnus.com>
3689
3690 * mpw.c (mpw_abort): Remove decl.
3691 (mpw_access): Move debugging printf.
3692
3693Sat Dec 2 01:25:23 1995 Ian Lance Taylor <ian@cygnus.com>
3694
3695 * config.table: Consistently use ${host} rather than ${xhost} or
3696 ${target}.
3697 * configure.in: Don't bother to set ${xhost} before calling
3698 config.table.
3699
3700Tue Nov 28 14:16:57 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
3701
3702 * Makefile.in (.c.o): Use test instead of the left bracket, to
3703 avoid problems with some versions of make.
3704
3705Tue Nov 28 11:45:17 1995 Stan Shebs <shebs@andros.cygnus.com>
3706
3707 * mpw-make.sed: Fix INCDIR edit to work with Nov 14 change.
3708
3709Tue Nov 21 11:26:34 1995 Fred Fish <fnf@rtl.cygnus.com>
3710
3711 * config/mh-hpux: Remove. It was only used to define EXTRA_OFILES,
3712 which was set to just alloca.o, which is now automatically marked
3713 as needed by the autoconfiguration process.
3714
3715Tue Nov 21 14:15:06 1995 Ian Lance Taylor <ian@cygnus.com>
3716
3717 * config.table: Check ${with_cross_host} rather than comparing
3718 ${host} and ${target}.
3719
3720Thu Nov 16 14:34:42 1995 Ian Lance Taylor <ian@cygnus.com>
3721
3722 * configure.in: If with_target_subdir is empty, set xhost to
3723 ${host} rather than ${target} before calling config.table.
3724
3725Tue Nov 14 01:38:30 1995 Doug Evans <dje@canuck.cygnus.com>
3726
3727 * Makefile.in (MULTITOP): Deleted.
3728 (MULTISRCTOP, MULTIBUILDTOP): New.
3729 (FLAGS_TO_PASS): Delete INCDIR.
3730 (INCDIR): Add $(MULTISRCTOP).
3731 (install_to_libdir): Add $(MULTISUBDIR). Call $(MULTIDO).
3732 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
3733 instead of cfg-ml-pos.in.
3734 (cross-compile check): Change to test for with_target_subdir.
3735 (EXTRA_LINKS): Delete.
3736
3737Sun Nov 12 12:13:04 1995 Stan Shebs <shebs@andros.cygnus.com>
3738
3739 * mpw-make.sed: Add getpagesize.c.o to needed-list.
3740 * mpw.c [USE_MW_HEADERS]: Conditionalize compiling of
3741 functions that are supplied by Metrowerks libraries.
3742 (fstat): Clean up descriptor->pointer conversion code.
3743 (InstallConsole, etc): Empty definitions, for when linking
3744 with SIOUX.
3745
3746Sun Nov 5 19:25:27 1995 Per Bothner <bothner@kalessin.cygnus.com>
3747
3748 * Makefile.in (FLAGS_TO_PASS): Also pass PICFLAGS.
3749 (.c.o): Stylistic change.
3750
3751Thu Nov 2 12:06:29 1995 Ian Lance Taylor <ian@cygnus.com>
3752
3753 * strtol.c, strtoul.c: Don't include <stdlib.h>. From
3754 phdm@info.ucl.ac.be (Philippe De Muyter).
3755
3756Wed Nov 1 11:59:36 1995 Ian Lance Taylor <ian@cygnus.com>
3757
3758 * configure.in: Correct sed call.
3759
3760Mon Oct 30 13:03:45 1995 Per Bothner <bothner@kalessin.cygnus.com>
3761
3762 * configure.in: Clean up / simplify for native.
3763
3764 * configure.in: Merge in stuff from ../xiberty/configure.in.
3765 * Makefile.in (CC): Add definition (so it can be overrridden
3766 by ../configure).
3767
3768Tue Oct 24 17:57:27 1995 Stan Shebs <shebs@andros.cygnus.com>
3769
3770 * mpw-make.sed: Leave strerror.c.o in standard list of functions.
3771 * mpw.c (R_OK, ENOENT, EACCESS, ENOSYS): Remove.
3772 (link): Remove useless definition with error return.
3773 (last_microseconds, warn_if_spin_delay, record_for_spin_delay):
3774 Use UnsignedWide type for microsecond counts.
3775
3776Thu Oct 19 10:52:07 1995 Michael Meissner <meissner@wogglebug.tiac.net>
3777
3778 * memcmp.c (memcmp): Argument types are const void *, not void
3779 *const.
3780
3781 * strncasecmp.c (strncasecmp): Include ansidecl.h/stdarg.h, not
3782 sys/types.h.
3783 * strcasecmp.c (strcasecmp): Ditto.
3784
3785Tue Oct 10 11:03:24 1995 Fred Fish <fnf@cygnus.com>
3786
3787 * Makefile.in (BISON): Remove macro.
3788
3789Tue Sep 26 15:06:46 1995 Stan Shebs <shebs@andros.cygnus.com>
3790
3791 * Makefile.in (HFILES): Add default empty definition.
3792 * mpw-config.in (config.h): Only update if changed.
3793 * mpw-make.in: Remove.
3794 * mpw-make.sed: New file, edits Makefile.in into MPW makefile.
3795 * mpw.c: Remove semi-clone of strerror code.
3796 (sys_nerr, sys_errlist): Define here.
3797 (Microseconds): Only define as A-line trap if m68k Mac.
3798
3799Wed Sep 20 12:53:32 1995 Ian Lance Taylor <ian@cygnus.com>
3800
3801 * Makefile.in (maintainer-clean): New synonym for distclean.
3802
3803Mon Aug 28 19:47:52 1995 Per Bothner <bothner@kalessin.cygnus.com>
3804
3805 * config.table: For host, generalize rs6000-ibm-aix*
3806 to *-ibm-aix* so we also include powerpc.
3807
3808Tue Aug 22 03:18:05 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
3809
3810 Fri Jun 16 18:35:40 1995 Pat Rankin (rankin@eql.caltech.edu)
3811
3812 * xstrerror.c: New file.
3813 * Makefile.in, vmsbuild.com: Compile it.
3814
3815Mon Jul 31 12:16:32 1995 steve chamberlain <sac@slash.cygnus.com>
3816
3817 * config.table (i386-*-win32): New.
3818
3819Fri Jul 21 11:35:52 1995 Doug Evans <dje@canuck.cygnus.com>
3820
3821 * Makefile.in (MULTITOP): New variable.
3822 (MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): Likewise.
3823 (all): Add multilib support.
3824 (install_to_tooldir, *clean): Likewise.
3825
3826Mon Jul 10 11:47:27 1995 Ken Raeburn <raeburn@cygnus.com>
3827
3828 * makefile.dos (OBJS): Add hex.o. From DJ Delorie.
3829
3830Fri Jun 30 17:28:59 1995 Pat Rankin (rankin@eql.caltech.edu)
3831
3832 * vmsbuild.com: create "new-lib.olb", build libiberty under that
3833 name, and then make it become "liberty.olb" when done, so that an
3834 incomplete build attempt never leaves behind something which looks
3835 like a complete library.
3836
3837Thu Jun 29 00:22:02 1995 Steve Chamberlain <sac@slash.cygnus.com>
3838
3839 * config/mh-i386pe: New file for PE hosts.
3840 * config.table: Understand PE hosts.
3841
3842Wed Jun 28 19:13:23 1995 Jason Merrill <jason@phydeaux.cygnus.com>
3843
3844 * cplus-dem.c: Update from gcc.
3845
3846 * argv.c, dummy.c: If __STDC__, #include "alloca-conf.h" after
3847 <stddef.h>.
3848 * alloca-norm.h: If __STDC__, declare alloca with its parameter.
3849
3850Thu Jun 22 18:57:47 1995 Stan Shebs <shebs@andros.cygnus.com>
3851
3852 * mpw-make.in (ALL_CFLAGS): Define NEED_basename.
3853 * mpw.c: Only test DebugPI once whenever printing debug info.
3854 (mpwify_filename): If filename is /tmp/foo, change it into :_foo,
3855 also fix to not write on input filename buffer.
3856 (mpw_access): Use stat() instead of open(), works for directories
3857 as well as files.
3858
3859Mon Jun 19 00:33:22 1995 Jason Merrill <jason@phydeaux.cygnus.com>
3860
3861 * Makefile.in: Massage broken shells that require 'else true'.
3862
3863Sat Jun 17 23:21:58 1995 Fred Fish <fnf@cygnus.com>
3864
3865 * alloca-norm.h: Declare alloca as type "PTR" to match functions.def.
3866 Declare __builtin_alloca in the sparc case, as argv.c did.
3867 * argv.c: Replace inline version of alloca-norm.h at start of file with
3868 a #include of alloca-conf.h. Precede it with an include of ansidecl.h
3869 because alloca-norm.h needs to declare alloca as "PTR".
3870
3871Mon Jun 12 14:24:26 1995 Steve Chamberlain <sac@slash.cygnus.com>
3872
3873 * win32.c: New file.
3874
3875Fri Jun 9 15:16:14 1995 Jason Merrill <jason@phydeaux.cygnus.com>
3876
3877 * dummy.c: #include "alloca-conf.h".
3878
3879Wed Jun 7 11:46:23 1995 Jason Merrill <jason@phydeaux.cygnus.com>
3880
3881 * Makefile.in (mostlyclean): Remove stamp-picdir.
3882 (clean): Don't.
3883
3884Mon Jun 5 18:46:06 1995 Jason Merrill <jason@phydeaux.cygnus.com>
3885
3886 * config.table (frags): Use toplevel pic frags.
3887
3888 * Makefile.in (PICFLAG): New macro.
3889 (all): Depend on stamp-picdir.
3890 (needed-list): Ditto.
3891 (.c.o): Also build pic object.
3892 (stamp-picdir): New rule.
3893 (mostlyclean): Remove pic.
3894 (clean): Remove stamp-picdir.
3895
3896Fri Mar 24 16:55:48 1995 Pat Rankin (rankin@eql.caltech.edu)
3897
3898 * vmsbuild.com (config.h): Add `#define NEED_basename'.
3899
3900Tue May 23 10:12:46 1995 Per Bothner <bothner@kalessin.cygnus.com>
3901
3902 * clock.c, getopt.c, strtod.c, vsprintf.c: Change from using LGPL
3903 to libio-style copyright.
3904 * getpagesize.c: Remove FSF copyright.
3905
3906Sat May 20 12:30:23 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
3907
3908 Added improved VMS support from Pat Rankin:
3909
3910 Fri Mar 17 18:40:36 1995 Pat Rankin (rankin@eql.caltech.edu)
3911
3912 * vmsbuild.com: new file.
3913
3914 * getpagesize.c (getpagesize): implement for VMS;
3915 * strerror.c (strerror, strerrno, strtoerrno): add rudimentary
3916 support for EVMSERR.
3917
3918Thu May 18 17:01:42 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
3919
3920 Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
3921
3922 * floatformat.c (floatformat_arm_ext): Define.
3923
3924Tue May 16 13:30:59 1995 Per Bothner <bothner@kalessin.cygnus.com>
3925
3926 * basename.c, bcmp.c, getcwd.c, insque.c, rename.c, sigsetmask.c,
3927 strerror.c, strsignal.c: Remove FSF copyright.
3928 * sigsetmask.c: #include <sys/types.h> - seems to be needed by ISC.
3929
3930Mon May 15 19:53:17 1995 Per Bothner <bothner@kalessin.cygnus.com>
3931
3932 * bcopy.c, bzero.c, memcmp.c, memcpy.c, memset.c, strchr.c,
3933 strrchr.c, strstr.c, vfork.c: Remove FSF Copyright, because this
3934 might contaminate libstdc++ with the LGPL. (OK'd by RMS 11 Oct 94.)
3935 * strchr.c, strrchr.c: Add cast to suppress const warning.
3936
3937Thu May 4 14:36:42 1995 Jason Merrill <jason@phydeaux.cygnus.com>
3938
3939 * cplus-dem.c: Use const instead of CONST. Don't include
3940 ansidecl.h directly.
3941
3942Wed Apr 19 01:30:27 1995 Jason Merrill <jason@phydeaux.cygnus.com>
3943
3944 * cplus-dem.c: Don't include libiberty.h. Do declare xmalloc and
3945 xrealloc.
3946 (-DMAIN): Don't rely on an externally-defined version number;
3947 instead, require the version number to be defined as a
3948 preprocessor macro. Handle the RS/6000 leading dot. Define
3949 xmalloc, xrealloc and fatal. Don't strip a leading underscore
3950 if we couldn't demangle the word.
3951
3952Tue Apr 4 13:03:51 1995 Stan Shebs <shebs@andros.cygnus.com>
3953
3954 (Old mpw.c change descriptions retained for informational value.)
3955 * mpw.c (warning_threshold): Default to .4 sec.
3956 (overflow_count, current_progress): New globals.
3957 (warn_if_spin_delay): Include current progress type,
3958 such as program name, in message.
3959 (mpw_start_progress): Set current_progress variable from arg.
3960 (mpw_end_progress): Report spin delays by power-of-two-size
3961 buckets instead of constant-size buckets.
3962
3963 * mpw.c: Clean up formatting, types, returns, etc.
3964 (ENOSYS): Define.
3965 (mpw_fread, mpw_fwrite): Define.
3966 (sleep): Define correctly.
3967
3968 * mpw.c: New code to implement cursor spinning support.
3969 (umask): New function.
3970 (mpw_fopen, mpw_fseek, stat, fstat): Call PROGRESS.
3971
3972 * mpw.c (mpw_basename, mpw_mixed_basename): New functions, find
3973 basenames for MPW and MPW/Unix filenames.
3974 (mpw_special_init): New function, calls Macsbug if desired.
3975
3976 * mpw.c: Add GPL notice.
3977 (mpwify_filename): Add more transformations.
3978 (mpw_fopen): Call mpwify_filename on file names.
3979 (rename): Remove.
3980 (chdir, getcwd): Add simple definitions.
3981
3982 * mpw.c: Random cleanups, remove unused code bits.
3983 Added copy of strerror.c for gcc's use.
3984 (stat, fstat, _stat): New versions based on Guido van Rossum code.
3985
3986 * mpw.c (mpw_fseek): Make it work correctly when doing SEEK_CUR.
3987
3988 * mpw.c (stat): Remove hack definition, get from sys/stat.h.
3989 (fork, vfork, etc): Print error messages if called.
3990 (getrusage, sbrk, environ, isatty, link, utime, mkdir, rmdir,
3991 rename, chown): Define.
3992
3993 * mpw-config.in: New file, MPW version of configure.in.
3994 * mpw-make.in: New file, MPW version of Makefile.in.
3995 * mpw.c: New file, MPW compatibility routines.
3996
3997Fri Mar 24 14:10:30 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3998
3999 * basename.c: Include config.h before checking for NEED_basename.
4000
4001Thu Mar 23 19:09:54 1995 Jason Merrill <jason@phydeaux.cygnus.com>
4002
4003 * functions.def: Add DEFFUNC for basename.
4004
4005 * basename.c: Only define basename if NEED_basename.
4006
4007Thu Mar 16 13:36:05 1995 Jason Merrill <jason@phydeaux.cygnus.com>
4008
4009 * config.table: Fix --enable-shared logic for native builds.
4010
4011Mon Mar 13 11:05:11 1995 Jason Merrill <jason@phydeaux.cygnus.com>
4012
4013 * cplus-dem.c (demangle_template): Demangle bool literals properly.
4014
4015Mon Mar 6 23:57:28 1995 Stu Grossman (grossman@cygnus.com)
4016
4017 * strtol.c strtoul.c: Replace these with less buggy versions from
4018 NetBSD. (strtoul in particular couldn't handle base 16.)
4019
4020Wed Mar 1 15:59:01 1995 Ian Lance Taylor <ian@cygnus.com>
4021
4022 * config/mt-vxworks5 (HDEFINES): Define NO_SYS_PARAM_H.
4023
4024 * clock.c: If NO_SYS_PARAM_H is defined, don't include
4025 <sys/param.h>.
4026 * getcwd.c, getpagesize.c, getruntime.c: Likewise.
4027
4028Fri Feb 17 15:40:55 1995 Ian Lance Taylor <ian@cygnus.com>
4029
4030 * getruntime.c (get_run_time): Don't assume that CLOCKS_PER_SEC is
4031 a number; ANSI appears to permit any expression, including a
4032 function call.
4033
4034 * config.table (*-*-vxworks5*): Use mt-vxworks5 when configuring
4035 xiberty.
4036 * config/mt-vxworks5: New file.
4037
4038Thu Feb 9 14:19:45 1995 Ian Lance Taylor <ian@cygnus.com>
4039
4040 * basename.c (basename): Change argument to be const.
4041
4042Wed Feb 8 18:06:52 1995 Jason Merrill <jason@phydeaux.cygnus.com>
4043
4044 * Makefile.in (lneeded-list): Don't worry about xmalloc.
4045
4046Sun Jan 15 00:40:36 1995 Jeff Law (law@snake.cs.utah.edu)
4047
4048 * Makefile.in (distclean): Delete xhost-mkfrag.
4049
4050Thu Jan 12 16:54:18 1995 Jason Merrill <jason@phydeaux.cygnus.com>
4051
4052 * Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o.
4053
4054Wed Jan 11 22:39:56 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
4055
4056 * hex.c: New file.
4057 * Makefile.in (REQUIRED_OFILES, CFILES): List it.
4058 (hex.o): Add dependencies.
4059
4060 * cplus-dem.c (demangle_prefix): For GNU style constructor and
4061 destructor names, try demangling the remainder of the string.
4062
4063Wed Dec 28 00:49:15 1994 Ian Lance Taylor <ian@tweedledumb.cygnus.com>
4064
4065 * vasprintf.c (int_vasprintf): New static function.
4066 (vasprintf): Use int_vasprintf. Removes assumption that va_list
4067 is assignment compatible.
4068
4069Sat Nov 5 19:29:12 1994 Jason Merrill (jason@phydeaux.cygnus.com)
4070
4071 * Makefile.in (LIBCFLAGS): New variable.
4072 (FLAGS_TO_PASS): Pass it.
4073 (.c.o): Use it.
4074
4075Thu Nov 3 19:09:47 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
4076
4077 * getopt.c, getopt1.c: Do compile these functions under Linux,
4078 since many native versions are based on glibc but are buggy.
4079
4080Mon Oct 24 15:16:46 1994 Per Bothner <bothner@kalessin.cygnus.com>
4081
4082 * vasprintf.c: Make 'format' arg be const, to avoid a mismatch
4083 with prototype in GNU libc. Support stdarg.h as well as varargs.h.
4084
4085Tue Oct 11 17:48:27 1994 Jason Merrill (jason@phydeaux.cygnus.com)
4086
4087 * Makefile.in (REQUIRED_OFILES): Add vasprintf.o.
4088 * functions.def: Remove vasprintf.
4089
4090Wed Sep 14 17:04:55 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
4091
4092 * xmalloc.c (first_break): New static variable.
4093 (xmalloc_set_program_name): Record sbrk (0) in first_break.
4094 (xmalloc): If memory allocation fails, try to report how much
4095 memory was allocated by the program up to this point.
4096 (xrealloc): Likewise.
4097
4098Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)
4099
4100 * Makefile.in (ERRORS_CC): New variable, defaulted to $(CC). Use it
4101 when linking dummy.
4102 * config.table: Add host RISCiX Makefile frag.
4103 * config/mh-riscix: New file.
4104
4105Thu Aug 25 17:29:44 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
4106
4107 * Makefile.in (FLAGS_TO_PASS): Define.
4108 ($(RULE1)): Use $(FLAGS_TO_PASS).
4109
4110Wed Aug 24 17:08:47 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
4111
4112 * vasprintf.c: Include <string.h>.
4113 (vasprintf): Add casts to void for va_arg to avoid gcc warnings.
4114 * xatexit.c: Declare malloc.
4115
4116Fri Aug 19 15:29:12 1994 Kung Hsu (kung@mexican.cygnus.com)
4117
4118 * cplus-dem.c (demangle_args): Fix a bug in previous patch (the
4119 one below).
4120
4121Thu Aug 18 14:37:14 1994 Kung Hsu (kung@mexican.cygnus.com)
4122
4123 * cplus-dem.c (demangle args): Handle ARM repeat encoding where
4124 the type index is greater than 9.
4125
4126Wed Aug 17 16:13:49 1994 Kung Hsu (kung@mexican.cygnus.com)
4127
4128 * cplus-dem.c (demangle_qualified): accept optional '_' between
4129 qualified name. This is baecause the template name may end with
4130 numeric and can mixed up with the length of next qualified name.
4131
4132Wed Aug 3 05:52:14 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
4133
4134 * config/mt-sunos4: Use our standard location for cross-includes
4135 and cross-libs when the target is also a "host" environment (ie no
4136 newlib; includes and such don't belong to us). This is specific
4137 to the Cygnus Support environment.
4138
4139Tue Aug 2 15:25:12 1994 Kung Hsu (kung@mexican.cygnus.com)
4140
4141 * cplus-dem.c (demangle_template): demangle as xxx<'Q'> not
4142 xxx<ch=81>.
4143
4144Mon Aug 1 17:02:48 1994 Kung Hsu (kung@mexican.cygnus.com)
4145
4146 * cplus-dem.c (main): flush stdout to make pipe work.
4147
4148Sat Jul 16 12:56:32 1994 Stan Shebs (shebs@andros.cygnus.com)
4149
4150 * config.table (*-*-cxux7*): Recognize.
4151 * floatformat.c (floatformat_m88110_ext) [HARRIS_FLOAT_FORMAT]:
4152 Harris-specific float format.
4153 * config/mh-cxux7: New file.
4154
4155Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4156
4157 * cplus-dem.c (demangle_template): Make sure that the result of
4158 consume_count doesn't index beyond the end of the string.
4159
4160Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4161
4162 * cplus-dem.c (gnu_special): Handle vtable mangling of gcc-2.4.5 and
4163 earlier. Improve test for new vtable mangling. Change output back
4164 to `virtual table'.
4165
4166Mon Jun 20 11:37:30 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
4167
4168 * obstack.c: Always compile this code, even if using the GNU
4169 library. Avoids problems with relatively recent binary
4170 incompatibility.
4171
4172Thu Jun 16 17:54:01 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4173
4174 * cplus-dem.c: Include libiberty.h.
4175 (xmalloc, xrealloc, free): Don't declare.
4176 (strstr): Don't declare parameters.
4177 (xmalloc, xrealloc): Don't define.
4178 (long_options): Add no-strip-underscores.
4179 (main): Call xmalloc_set_program_name. Pass n in short options to
4180 getopt_long. Handle option 'n' to not strip underscores.
4181 (usage): Mention -n and --no-strip-underscores.
4182
4183Sun Jun 12 01:37:09 1994 Jason Merrill (jason@deneb.cygnus.com)
4184
4185 * cplus-dem.c (demangle_template): Separate consecutive >'s with a
4186 space.
4187 (gnu_special): Demangle template and qualified names in a vtable name.
4188
4189Fri May 27 12:27:52 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
4190
4191 From gas-2.3 and binutils-2.4 net releases:
4192
4193 Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com)
4194
4195 * makefile.dos: [new] Makefile for dos/go32
4196 * configure.bat: update for latest files
4197 * msdos.c: remove some functions now in libc.a
4198
4199Fri May 20 18:53:32 1994 Per Bothner (bothner@kalessin.cygnus.com)
4200
4201 * cplus-dem.c (gnu_special): Recognize thunks, as well as
4202 the new naming style for vtables (when -fvtable-thunks).
4203
4204Wed May 18 13:34:06 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4205
4206 * Makefile.in (XTRAFLAGS): Don't define.
4207 (.c.o, dummy.o): Don't use XTRAFLAGS.
4208 ($(RULE1)): Don't pass XTRAFLAGS down in recursive call.
4209
4210Fri May 13 16:02:12 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4211
4212 * vasprintf.c: New file.
4213 * Makefile.in, functions.def: Add it.
4214
4215Fri May 13 16:20:28 1994 Jason Merrill (jason@deneb.cygnus.com)
4216
4217 * cplus-dem.c (demangle_fund_type): Grok bool.
4218
4219Fri May 6 14:44:21 1994 Steve Chamberlain (sac@cygnus.com)
4220
4221 * config.table: Add go32
4222 * config/mh-go32: New template.
4223
4224Fri May 6 11:01:59 1994 D. V. Henkel-Wallace (gumby@rtl.cygnus.com)
4225
4226 * config.table, config/mt-sunos4: config for when sun4 is cross target.
4227
4228Mon Apr 11 00:54:33 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4229
4230 * getopt.c [not __GNU_LIBRARY__] [__GCC__] [not __STDC__]:
4231 Declare strlen to return int. Don't include stddef.h.
4232
4233Fri Apr 1 00:38:17 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu)
4234
4235 * getopt.c: Delete use of IN_GCC to control whether
4236 stddef.h or gstddef.h is included.
4237
4238Thu Apr 14 14:00:56 1994 Kung Hsu (kung@mexican.cygnus.com)
4239
4240 * cplus-dem.c (demangle_signature): Fix a bug in template function
4241 type numbering.
4242
4243Wed Apr 13 17:23:03 1994 Kung Hsu (kung@mexican.cygnus.com)
4244
4245 * cplus-dem.c (demangle_signature): Fix template function with arm
4246 style argument type number, Tn.
4247
4248Wed Apr 13 17:11:15 1994 Jason Merrill (jason@deneb.cygnus.com)
4249
4250 * cplus-dem.c (optable): Add new[] and delete[].
4251
4252Fri Apr 8 11:21:42 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
4253
4254 * argv.c (buildargv): Don't produce empty argument just because
4255 there is trailing whitespace.
4256
4257Wed Apr 6 11:42:14 1994 Kung Hsu (kung@mexican.cygnus.com)
4258
4259 * cplus-dem.c (demangle_template): fix 'Q' qualified name bug.
4260 Handle 'p' same as 'P'.
4261 * cplus-dem.c (do_type): Handle 'p' same as 'P'.
4262
4263Sat Mar 26 12:00:13 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4264
4265 * floatformat.c (get_field, put_field): Fix off by one error in
4266 little endian case.
4267
4268Thu Mar 24 10:40:19 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4269
4270 * floatformat.c (floatformat_from_double): Pass unsigned char *,
4271 not char *, to put_field.
4272
4273Fri Mar 18 12:34:33 1994 Per Bothner (bothner@kalessin.cygnus.com)
4274
4275 * memmove.c: Re-wrote; placed in public domain.
4276
4277Wed Mar 16 10:33:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4278
4279 * cplus-dem.c (demangle_prefix): If ARM demangling, don't treat
4280 __Q* as a constructor.
4281
4282Mon Mar 14 12:26:02 1994 Ian Lance Taylor (ian@cygnus.com)
4283
4284 * ieee-float.c: Removed; no longer used.
4285 * Makefile.in: Changed accordingly.
4286
4287Mon Mar 7 12:28:17 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4288
4289 * floatformat.c (get_field): Removed unused local variable i.
4290 (put_field): Removed unused local variable i.
4291
4292Sun Feb 27 21:50:11 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
4293
4294 * floatformat.c: New file, intended to replace ieee-float.c.
4295 * Makefile.in: Change accordingly.
4296
4297Thu Feb 24 11:51:12 1994 David J. Mackenzie (djm@rtl.cygnus.com)
4298
4299 * getopt.c: Remove #ifdef GETOPT_COMPAT and #if 0 code.
4300 (_getopt_initialize): New function, broken out of _getopt_internal.
4301 (_getopt_internal):
4302 If long_only and the ARGV-element has the form "-f", where f is
4303 a valid short option, don't consider it an abbreviated form of
4304 a long option that starts with f. Otherwise there would be no
4305 way to give the -f short option.
4306
4307Thu Feb 10 14:44:16 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4308
4309 * getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]:
4310 Test just __STDC__, not emacs.
4311
4312Wed Feb 9 00:14:00 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4313
4314 * getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]
4315 [emacs] [not __STDC__]: Don't include stddef.h. Don't declare strlen.
4316
4317Fri Dec 24 19:43:00 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
4318
4319 * getopt.c (_NO_PROTO): Define before config.h is included.
4320
4321Mon Sep 20 15:59:03 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4322
4323 * getopt.c, getopt1.c [emacs || CONFIG_BROKETS]: Include
4324 <config.h> only under these, else "config.h".
4325
4326Thu Aug 12 18:16:49 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4327
4328 * getopt.c, getopt1.c [HAVE_CONFIG_H]: Include
4329 <config.h> instead of "config.h".
4330
4331Sun Feb 20 17:17:01 1994 Ian Lance Taylor (ian@lisa.cygnus.com)
4332
4333 * concat.c: Check ANSI_PROTOTYPES rather than __STDC__ to decide
4334 whether to use prototypes or not.
4335 * strerror.c (const): Never undefine; let ansidecl.h handle it.
4336 * strsignal.c (const): Likewise.
4337
4338Thu Feb 17 13:27:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4339
4340 * xatexit.c (_xexit_cleanup): Declare as extern; don't initialize.
4341 Merging common and initialized variables need not be supported by
4342 ANSI C compilers.
4343 (xatexit): Initialize _xexit_cleanup if not already set.
4344 * xexit.c: Comment fix.
4345
4346Wed Feb 16 01:15:36 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4347
4348 * xmalloc.c: Don't declare xexit; it's declared in libiberty.h.
4349 (xrealloc): If oldmem is NULL, allocate with malloc, rather than
4350 assuming that realloc works correctly.
4351
4352Tue Feb 15 09:26:16 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4353
4354 * concat.c, ieee-float.c: Replace inclusion of <string.h>
4355 with explicit function declarations, as recommended by Ian Taylor.
4356
4357Sat Feb 12 10:31:11 1994 David J. Mackenzie (djm@rtl.cygnus.com)
4358
4359 * xmalloc.c (xmalloc, xrealloc): Use PTR and size_t throughout.
4360 (malloc, realloc): Declare.
4361
4362Thu Feb 10 17:08:19 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4363
4364 * argv.c, basename.c: Include ansidecl.h and libiberty.h.
4365 * concat.c, fdmatch.c, getruntime.c, spaces.c: Likewise.
4366 * strerror.c, strsignal.c, xatexit.c, xexit.c: Likewise.
4367 * xmalloc.c: Likewise.
4368 * concat.c: Don't declare xmalloc. If __STDC__, use <stdarg.h>
4369 macros, not <varargs.h> macros.
4370 * spaces.c (spaces): Make return type const. Don't crash if
4371 malloc returns NULL.
4372 * strerror.c (struct error_info): Make name and msg fields const.
4373 (error_names): Make const.
4374 (strerrno): Make const.
4375 (strtoerrno): Make argument const.
4376 * strsignal.c (struct signal_info): Make name and msg fields
4377 const.
4378 (signal_names, sys_siglist): Make const.
4379 (strsignal, strsigno): Make const.
4380 (strtosigno): Make argument const.
4381 * xatexit.c: Declare parameter types.
4382 * xmalloc.c (name): Make const.
4383 (xmalloc_set_program_name): Make argument const.
4384 * Makefile.in (INCDIR): Define.
4385 (.c.o): Use $(INCDIR).
4386 (dummy.o): Likewise.
4387 (argv.o, basename.o): New targets; depend on libiberty.h.
4388 (concat.o, fdmatch.o, getruntime.o, spaces.o): Likewise.
4389 (strerror.o, strsignal.o, xatexit.o, xexit.o): Likewise.
4390 (xmalloc.o): Likewise.
4391 (cplus-dem.o): New target; depend on demangle.h.
4392 (getopt.o, getopt1.o): New targets; depend on getopt.h.
4393 (ieee-float.o): New target; depend on ieee-float.h.
4394 (obstack.o): New target; depend on obstack.h.
4395
4396Tue Feb 8 05:29:08 1994 David J. Mackenzie (djm@thepub.cygnus.com)
4397
4398 Handle obstack_chunk_alloc returning NULL. This allows
4399 obstacks to be used by libraries, without forcing them
4400 to call exit or longjmp.
4401 * obstack.c (_obstack_begin, _obstack_begin_1, _obstack_newchunk):
4402 If CALL_CHUNKFUN returns NULL, set alloc_failed, else clear it.
4403 (_obstack_begin, _obstack_begin_1): Return 1 if successful, 0 if not.
4404
4405Tue Feb 8 00:32:28 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4406
4407 * concat.c, ieee-float.c: Include <string.h>.
4408
4409Sun Feb 6 21:28:46 1994 David J. Mackenzie (djm@thepub.cygnus.com)
4410
4411 * xmalloc.c (xmalloc_set_program_name): New function.
4412 (xmalloc, xrealloc): Include the name in the error message, if set.
4413
4414 * Replace atexit.c with xatexit.c.
4415 * Makefile.in (CFILES), functions.def: Change references.
4416
4417Sat Feb 5 14:02:32 1994 Stan Shebs (shebs@andros.cygnus.com)
4418
4419 * getruntime.c (get_run_time): Use getrusage or times if
4420 HAVE_GETRUSAGE or HAVE_TIMES are defined.
4421
4422Fri Feb 4 15:49:38 1994 David J. Mackenzie (djm@thepub.cygnus.com)
4423
4424 * atexit.c: New file.
4425 * Makefile.in (CFILES), functions.def: Add it.
4426 * xexit.c: New file.
4427 * Makefile.in (CFILES, REQUIRED_OFILES): Add it.
4428 * xmalloc.c (xmalloc, xrealloc): Call xexit instead of exit.
4429 Change request for 0 bytes into request for 1 byte.
4430
4431Wed Feb 2 11:36:49 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4432
4433 * xmalloc.c (xmalloc, xrealloc): Print size using %lu, and cast to
4434 unsigned long, to avoid warnings.
4435
4436Fri Jan 28 17:49:06 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
4437
4438 * dummy.c: Don't include time.h ever; always define clock_t as
4439 "unsigned long". Until gcc/fixincludes ensures that clock_t
4440 exists, __STDC__ isn't a sufficient test. And if clock() doesn't
4441 exist, clock_t probably doesn't either.
4442
4443Mon Jan 24 11:52:31 1994 Stan Shebs (shebs@andros.cygnus.com)
4444
4445 * clock.c, getruntime.c: New files.
4446 * Makefile.in: Add to file lists.
4447 * functions.def (clock): Add to list.
4448 * dummy.c (time.h): Add if __STDC__.
4449 (clock_t): #define as "unsigned long" if not __STDC__.
4450
4451Tue Jan 11 11:27:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4452
4453 * strtod.c: Declare atof. From edler@jan.ultra.nyu.edu (Jan
4454 Edler).
4455
4456Tue Dec 28 14:17:30 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4457
4458 * Makefile.in (errors): Use CFLAGS as well as LDFLAGS when
4459 linking.
4460
4461Fri Dec 17 12:26:07 1993 Kung Hsu (kung@cirdan.cygnus.com)
4462
4463 * cplus-dem.c (demangle_arm_pt): New function. Common code
4464 for ARM template demangling.
4465 * cplus-dem.c (demangle_class_name): Use demangle_arm_pt.
4466 * cplus-dem.c (demangle_prefix): Likewise.
4467
4468Tue Nov 30 15:47:48 1993 Jason Merrill (jason@deneb.cygnus.com)
4469
4470 * cplus-dem.c (cplus_demangle_opname): Add CONST to please gcc.
4471
4472Sat Nov 27 11:05:50 1993 Fred Fish (fnf@cygnus.com)
4473
4474 Merge changes from tom@basil.icce.rug.nl (Tom R.Hageman)
4475 * strerror.c, strsignal.c: As a small space optimization, don't
4476 include messages when they aren't actually used.
4477
4478 Merge changes from takefive.co.at!joe (Josef Leherbauer)
4479 * cplus-dem.c (demangle_prefix, demangle_function_name,
4480 cplus_demangle_opname): Fixes for systems where cplus_marker
4481 is something other than '$'.
4482
4483Fri Nov 26 13:51:11 1993 Per Bothner (bothner@kalessin.cygnus.com)
4484
4485 * waitpid.c: Simple-minded approcimation to waitpid
4486 using vanilla wait.
4487 * functions.def, Makefile.in: Update accordingly,
4488
4489Thu Nov 18 18:01:15 1993 Kung Hsu (kung@cirdan.cygnus.com)
4490
4491 * cplus-dem.c(demangle_template): fix bug template instantiation
4492 with value of user defined type.
4493
4494Wed Nov 17 18:30:21 1993 Kung Hsu (kung@cirdan.cygnus.com)
4495
4496 * cplus-dem.c(cplus_demangle_opname): add the subject new function
4497 to support unified search of operator in class.
4498
4499Wed Nov 10 09:47:22 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4500
4501 gcc -Wall lint:
4502 * strtoul.c (strtoul): use "(digit = *s) != '\0'" not just
4503 "digit = *s" as condition in while loop.
4504
4505Tue Nov 9 15:52:22 1993 Mark Eichin (eichin@cygnus.com)
4506
4507 * Makefile.in: pass SHELL to recursive make
4508
4509Thu Nov 4 12:09:26 1993 Per Bothner (bothner@kalessin.cygnus.com)
4510
4511 * vfprintf.c, vprintf.c, vsprintf.c: Make format arg
4512 be (const char*), for ANSI (and gcc w/fixproto) consistency.
4513
4514Thu Nov 4 08:29:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4515
4516 * config.table: Make *-*-hiux* use mh-hpux.
4517
4518Fri Oct 22 07:53:15 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4519
4520 * config.table: Add * to end of all OS names.
4521
4522Tue Oct 19 17:12:01 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
4523
4524 * Makefile.in (lneeded-list): ensure that object file names are
4525 not duplicated, as multiple instances of the same object file in
4526 a library causes problems on some machines
4527
4528Mon Oct 18 21:59:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4529
4530 * strcasecmp.c, strncasecmp.c: Change u_char to unsigned char.
4531
4532Fri Oct 15 22:17:11 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
4533
4534 * strncasecmp.c: new file, implements strncasecmp
4535 * strcasecmp.c: new file, implement strcasecmp
4536
4537 * Makefile.in (CFILES): list these two new source files
4538
4539 * functions.def: add strcasecmp and strncasecmp entries
4540
4541Fri Oct 15 14:53:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4542
4543 * strtoul.c (strtoul), strtol.c (strtol): Handle overflow
4544 according to ANSI C.
4545
4546Thu Oct 14 16:34:19 1993 Kung Hsu (kung@cirdan.cygnus.com)
4547
4548 * cplus-dem.c: add support of ARM global constructor/destructor,
4549 and 'G' for passing record or union in parameter.
4550
4551Wed Oct 13 13:36:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4552
4553 * Makefile.in: Fix comment to clarify that stuff in REQUIRED_OFILES
4554 should not be in functions.def.
4555
4556Wed Oct 13 13:13:38 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4557
4558 * functions.def: Removed xmalloc. Stuff in REQUIRED_OFILES should
4559 not be in functions.def.
4560
4561Mon Oct 4 18:26:39 1993 Kung Hsu (kung@cirdan.cygnus.com)
4562
4563 * cplus-dem.c: change globl constructor/destructor to proper name
4564
4565Tue Sep 28 18:11:07 1993 Kung Hsu (kung@cirdan.cygnus.com)
4566
4567 * cplus-dem.c: fix bug in constructor/destructor
4568
4569Tue Sep 28 16:20:49 1993 Kung Hsu (kung@cirdan.cygnus.com)
4570
4571 * cplus-dem.c: support both old and new _vt$... vtbl mangled names
4572
4573Fri Sep 24 19:07:16 1993 Jason Merrill (jason@deneb.cygnus.com)
4574
4575 * cplus-dem.c: Fix demangle_template prototype
4576
4577Fri Sep 24 17:32:55 1993 Kung Hsu (kung@cirdan.cygnus.com)
4578
4579 * cplus-dem.c: fix template demangling
4580 * cplus-dem.c: fix const type demangling
4581 * cplus-dem.c: fix constructor/destructor, virtual table,
4582 qualifier, global constructor/destructor demangling
4583
4584Wed Sep 1 23:13:11 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4585
4586 * strsignal.c, strerror.c: Use fully-bracketed initializer to
4587 keep gcc -Wall happy.
4588
4589Fri Aug 27 10:30:09 1993 Jason Merrill (jason@deneb.cygnus.com)
4590
4591 * cplus-dem.c (do_type): Add CONSTS to make gcc happy with last
4592 patch.
4593
4594Fri Aug 27 11:24:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4595
4596 Patch from Paul Flinders:
4597 * cplus-dem.c (do_type): Deal with arrays.
4598
4599Tue Aug 24 14:23:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4600
4601 * cplus-dem.c (demangle_qualified: Deal with GNU format for more
4602 than 9 classes.
4603
4604Wed Aug 18 19:50:29 1993 Jason Merrill (jason@deneb.cygnus.com)
4605
4606 * Makefile.in (dummy.o): Redirect to /dev/null to avoid "variable
4607 not initialized" warnings under HP/UX
4608
4609Sun Aug 15 20:42:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4610
4611 * strerror.c: Move include of stdio.h after sys_errlist #define.
4612 Also remove NULL definition (stdio.h always defines NULL, so it
4613 never did anything but clutter up the code).
4614
4615Sat Aug 14 14:21:49 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
4616
4617 * Makefile.in, functions.def: handle xmalloc.c
4618
4619 * xmalloc.c: provide xmalloc and xrealloc functions
4620
4621Thu Aug 12 17:38:57 1993 David J. Mackenzie (djm@thepub.cygnus.com)
4622
4623 * cplus-dem.c: Fix a comment.
4624
4625Sat Aug 7 13:56:35 1993 David J. Mackenzie (djm@thepub.cygnus.com)
4626
4627 * getopt1.c: Declare const the way getopt.c does.
4628
4629Fri Aug 6 17:03:13 1993 David J. Mackenzie (djm@thepub.cygnus.com)
4630
4631 * obstack.c, alloca.c: Update from FSF.
4632 * getopt.c, getopt1.c: Update to current FSF version, which
4633 doesn't use alloca.
4634
4635Tue Jul 27 14:03:57 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
4636
4637 * Makefile.in (demangle): Add the target with a message saying
4638 where demangle went.
4639
4640Mon Jul 26 15:49:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4641
4642 * Makefile.in: Remove obsolete `demangle' target.
4643
4644Thu Jul 22 08:31:01 1993 Fred Fish (fnf@deneb.cygnus.com)
4645
4646 * cplus-dem.c (arm_special): Apply patch from arg@lucid.com to
4647 avoid infinite loop on vtbl symbols with disambiguating "junk"
4648 tacked on the end.
4649
4650Mon Jul 19 14:10:37 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
4651
4652 * strsignal.c: work around some systems losing definitions of
4653 sys_siglist
4654
4655 * config/mh-lynxos: this system has a losing definition of
4656 sys_siglist
4657
4658 * config.table: use mh-lynxos for *-*-lynxos
4659
4660Mon Jul 19 17:08:52 1993 Ken Raeburn (raeburn@rtl.cygnus.com)
4661
4662 * config.table: Add support for HPPA BSD hosts.
4663
4664 * config/mh-hpbsd: New file.
4665
4666Mon Jul 12 18:00:40 1993 K. Richard Pixley (rich@cygnus.com)
4667
4668 * Makefile.in (TAGS): make work when srcdir != objdir.
4669
4670Sun Jun 27 15:35:31 1993 David J. Mackenzie (djm@thepub.cygnus.com)
4671
4672 * cplus-dem.c (main): Add long options, including --help and
4673 --version.
4674 (usage): New function from code in main.
4675
4676Tue Jun 22 11:37:38 1993 Per Bothner (bothner@deneb.cygnus.com)
4677
4678 * config.table: New shell scipt, sourced by both ./configure,in
4679 and ../xiberty/configure.in, to avoid maintainance lossages.
4680 * configure.in and ../xiberty/configure.in: Use config.table.
4681
4682 * configure.in: Don't use mh-aix for AIX 3.2, only for 3.1.
4683 * configure.in: Map *-*-irix* (except irix4) to mh-sysv.
4684 * ../xiberty/configure.in: Update from ./configure.in.
4685
4686Tue Jun 15 17:05:31 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
4687
4688 * Makefile.in: remove parentdir support
4689
4690Wed May 26 12:59:09 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4691
4692 * cplus-dem.c (xrealloc): Match definition with prototype.
4693
4694Tue May 25 14:27:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4695
4696 * cplus-dem.c (demangle_prefix): Demangle cfront
4697 local variables as an extension to ARM demangling.
4698
4699Fri May 21 09:53:57 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4700
4701 * ieee-float.c: Don't require pointers to double to be aligned.
4702
4703Tue May 18 17:12:10 1993 Fred Fish (fnf@cygnus.com)
4704
4705 (merge changes from dlong@cse.ucsc.edu)
4706 * cplus-dem.c (consume_count): Simplify.
4707 * cplus-dem.c (arm_pt, demangle_class_name): New functions.
4708 * cplus-dem.c (various): Calls to arm_pt, demangle_class_name.
4709
4710 * cplus-dem.c (xmalloc, xrealloc, strstr): Make extern decls into
4711 full prototypes.
4712 * cplus-dem.c (free): Add prototype.
4713 * cplus-dem.c (optable): Fully bracketize initializer.
4714
4715Fri May 14 17:13:05 1993 Per Bothner (bothner@cygnus.com)
4716
4717 * cplus-dem.c: Whether initial underscores are stripped
4718 depends on the external variable prepends_underscore
4719 (which is generated by the binutils Makefile).
4720
4721Fri May 14 07:32:20 1993 Ken Raeburn (raeburn@deneb.cygnus.com)
4722
4723 * cplus-dem.c (mop_up, arm_special): Remove some unused variables.
4724
4725Tue May 4 20:31:59 1993 Fred Fish (fnf@cygnus.com)
4726
4727 * cplus-dem.c (consume_count): Return zero if arg does not
4728 start with digit, and don't consume any input.
4729
4730Tue May 4 08:10:28 1993 Jim Kingdon (kingdon@cygnus.com)
4731
4732 * Makefile.in (demangle): Use ${srcdir} not $^.
4733
4734 * strtod.c: New file, needed at least for BSD 4.3.
4735
4736Sun May 2 11:30:42 1993 Fred Fish (fnf@cygnus.com)
4737
4738 * strsignal.c (sys_siglist): For ANSI compilations, type is
4739 "const char *const". Also remove conditionalization on __STDC__
4740 since const is defined away for non-ANSI.
4741
4742Wed Apr 28 19:29:55 1993 Ken Raeburn (raeburn@deneb.cygnus.com)
4743
4744 * configure.in: Recognize *-*-hpux.
4745 * config/mh-hpux: New file.
4746
4747Tue Apr 27 15:22:19 1993 Per Bothner (bothner@cygnus.com)
4748
4749 * tmpnam.c: Added ANSI tmpnam() function.
4750 * functions.def, Makefile.in: Update accordingly.
4751
4752Tue Apr 27 13:38:38 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4753
4754 * cplus-dem.c (demangle_function_name): Get the demangling of
4755 stop__1A right.
4756
4757Fri Apr 16 23:48:24 1993 Jim Kingdon (kingdon at calvin)
4758
4759 * cplus-dem.c: Declare strstr return type.
4760
4761Fri Mar 26 12:01:26 1993 Jim Kingdon (kingdon@cygnus.com)
4762
4763 * strsignal.c: Add some AIX signals.
4764
4765Thu Mar 25 15:17:23 1993 Ian Lance Taylor (ian@cygnus.com)
4766
4767 * Makefile.in (MAKEOVERRIDES): Define to be empty.
4768
4769Wed Mar 24 01:59:25 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
4770
4771 * Makefile.in: add installcheck & dvi targets
4772
4773Thu Mar 18 14:05:44 1993 Per Bothner (bothner@rtl.cygnus.com)
4774
4775 * ieee-float.c: New file, moved from ../gdb (since it is
4776 needed by ../opcode/m68k-dis.c).
4777
4778Tue Mar 2 17:47:31 1993 Fred Fish (fnf@cygnus.com)
4779
4780 * cplus-dem.c: Replace all references to cfront with ARM.
4781
4782Fri Feb 26 00:17:07 1993 Per Bothner (bothner@rtl.cygnus.com)
4783
4784 * cplus-dem.c: Fix main program (when compiled with -DMAIN)
4785 to be more useful as a filter.
4786
4787Sat Feb 20 21:41:39 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
4788
4789 * Makefile.in (install_to_libdir, install_to_tooldir): Go into the
4790 destination directory before running $(RANLIB), in case that
4791 program tries to create a file in the current directory as part of
4792 its work.
4793
4794Thu Feb 18 23:00:19 1993 John Gilmore (gnu@cygnus.com)
4795
4796 * strsignal.c (sys_siglist): Remove yet another *%^&%&$# "const"
4797 because BSD 4.4 lacks one. Isn't this fun?
4798
4799Thu Feb 18 11:24:25 1993 Fred Fish (fnf@cygnus.com)
4800
4801 * cplus-dem.c (demangle_signature): Set func_done after
4802 demangling a template.
4803 * cplus-dem.c (demangle_template): Fix several small bugs
4804 in demangling GNU style templates.
4805 * cplus-dem.c (demangle_prefix): Fix for templates in GNU
4806 style constructors.
4807 * cplus-dem.c (gnu_special): Fix for templates in GNU style
4808 static data members.
4809
4810Tue Feb 16 17:28:35 1993 Fred Fish (fnf@cygnus.com)
4811
4812 * cplus-dem.c (demangle_signature): Modify to include type
4813 modifiers like static and const in remembered types.
4814
4815Thu Feb 11 22:20:47 1993 Fred Fish (fnf@cygnus.com)
4816
4817 * cplus-dem.c (demangled_qualified): Add new parameter that tells
4818 whether to prepend or append the qualifiers.
4819 * cplus-dem.c (string_prepends): Used now, remove #if 0.
4820 * cplus-dem.c (demangle_signature): Call demangle_qualified
4821 with prepending.
4822 * cplus-dem.c (gnu_special): Recognize static data members that
4823 use qualified names.
4824 * cplus-dem.c (demangle_qualified): Accumulate qualifiers in a
4825 temporary buffer and the prepend or append them to the result,
4826 as specified by the new "append" flag.
4827 * cplus-dem.c (do_type): Call demangled_qualified with
4828 appending.
4829
4830Mon Dec 28 10:47:19 1992 Ken Raeburn (raeburn@cygnus.com)
4831
4832 * strsignal.c (signal_table): Now const.
4833 (init_signal_tables): Variable eip now points to const.
4834
4835 * strerror.c (error_table): Now const.
4836 (init_error_tables): Variable eip now points to const.
4837
4838Tue Dec 15 15:36:50 1992 Per Bothner (bothner@cygnus.com)
4839
4840 * memchr.c (memchr): New (ANSI standard) function.
4841 * Makefile.in, functions.def: Added memchr.
4842 * Makefile.in (AR_FLAGS): Use rc instad of non-standard cq.
4843
4844Wed Dec 2 22:49:10 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
4845
4846 * getopt.c: remove use of USG around <alloca.h>, which never meant
4847 anything anyway
4848
4849 * config/mh-{aix,apollo68,ncr3000,sysv,sysv4}: removed definitions
4850 of USG and USGr4
4851
4852Thu Nov 19 03:09:33 1992 Brendan Kehoe (brendan@lisa.cygnus.com)
4853
4854 * cplus-dem.c (demangle_fund_type): Recognize `w', a wide character;
4855 it's now a type according to the ANSI X3J16 working paper; output
4856 "wchar_t" for it.
4857 (demangle_template): Accept `w' as an integral type.
4858 (xmalloc, xrealloc): Use `char *', not `PTR'. Cast calls to their
4859 counterparts malloc and realloc to `char *'.
4860 (main): Exit with a 0 status.
4861 * Makefile.in (demangle): Don't expect the user to define
4862 DEMANGLE, instead force to be cplus-dem.c. Look in $(srcdir)/../include
4863 for demangle.h. Pass it any HDEFINES or XTRAFLAGS.
4864
4865Wed Nov 18 18:56:20 1992 John Gilmore (gnu@cygnus.com)
4866
4867 * Makefile.in (AR_FLAGS): Avoid verbosity.
4868 * config/mh-sysv4: Remove AR_FLAGS override, use INSTALL=cp,
4869 replace USGr4 with HAVE_SYSCONF.
4870 * config/mh-solaris: Remove; mh-sysv4 works now.
4871 * getpagesize.c: Replace USGr4 with HAVE_SYSCONF.
4872 * configure.in: Simplify host matching table, remove separate
4873 solaris config file.
4874
4875Sun Nov 15 09:35:16 1992 Fred Fish (fnf@cygnus.com)
4876
4877 * configure.in (i[34]86-*-solaris2*): Add, use mh-sysv4.
4878
4879Tue Nov 3 21:27:03 1992 Brendan Kehoe (brendan@cygnus.com)
4880
4881 * cplus-dem.c (xmalloc, xrealloc): Add decls.
4882 (remember_type): Don't cast xmalloc.
4883 (string_need): Likewise; don't cast xrealloc either.
4884
4885Fri Oct 23 08:52:01 1992 Ian Lance Taylor (ian@cygnus.com)
4886
4887 * Makefile.in, functions.defs, rename.c: added simple
4888 implementation of rename, since some binutils programs use it.
4889
4890Thu Oct 15 15:18:22 1992 Per Bothner (bothner@cygnus.com)
4891
4892 * strsignal.c: Add appropriate 'const' to sys_siglist
4893 extern declaration (if __STDC__). (Needed for Linux.)
4894 * strsignal.c (strsignal): Add cast to remove const-ness.
4895
4896Fri Oct 9 03:22:55 1992 John Gilmore (gnu@cygnus.com)
4897
4898 * Makefile.in (needed.awk, needed2.awk): Remove erroneous \'s
4899 before "'s, diagnosed by BSD 4.4 awk.
4900
4901Thu Oct 8 15:25:12 1992 Ian Lance Taylor (ian@cygnus.com)
4902
4903 * Makefile.in: create config.h and needed-list through $(CONFIG_H)
4904 and $(NEEDED_LIST), to give some hooks for xiberty.
4905
4906Thu Oct 1 23:31:42 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
4907
4908 * configure.in: use cpu-vendor-triple instead of nested cases
4909
4910Wed Sep 30 11:26:59 1992 Per Bothner (bothner@rtl.cygnus.com)
4911
4912 * Makefile.in, argv.c, basename.c, bcmp.c, bcopy.c, bzero.c,
4913 concat.c, cplus-dem.c, fdmatch.c, getcwd.c, getopt.c, getopt1.c,
4914 getpagesize.c, insque.c, memcmp.c, memcpy.c, memmove.c, memset.c,
4915 obstack.c, sigsetmask.c, spaces.c, strchr.c, strerror.c,
4916 strrchr.c, strsignal.c, strstr.c, vfork.c, vsprintf.c:
4917 Convert from using GPL to LGPL.
4918
4919Sat Sep 26 04:01:30 1992 John Gilmore (gnu@cygnus.com)
4920
4921 * Makefile.in (errors): Leave dummy.o and dummy around so that
4922 we can see how the needed list was generated (it's sometimes wrong).
4923 (mostlyclean): Remove them.
4924
4925Mon Sep 21 14:50:42 1992 Ian Lance Taylor (ian@cygnus.com)
4926
4927 * getcwd.c: supply a default if MAXPATHLEN is not defined.
4928
4929 * config/mh-irix4: set EXTRA_OFILES to alloca.o, from WRS.
4930
4931Wed Sep 9 12:41:48 1992 Ian Lance Taylor (ian@cygnus.com)
4932
4933 * Makefile.in: Use XTRAFLAGS when compiling, so that xiberty works
4934 when cross-compiling.
4935
4936Thu Sep 3 13:29:39 1992 K. Richard Pixley (rich@sendai.cygnus.com)
4937
4938 * cplus-dem.c: (demangle_prefix): reduction in strength of strstr
4939 as a time optimization.
4940
4941 * cplus-dem.c (cplus_demangle): remove strpbrk test. Appears to
4942 be more expensive than simply demangling.
4943
4944 * cplus-dem.c (cplus_match): new function.
4945
4946Tue Sep 1 15:24:04 1992 Per Bothner (bothner@rtl.cygnus.com)
4947
4948 * cplus-dem.c: #include <stdio.h>, to define NULL.
4949 Define current_demangling_style.
4950
4951Sun Aug 30 17:58:19 1992 Per Bothner (bothner@rtl.cygnus.com)
4952
4953 * cplus-dem.c: New file, moved from ../gdb.
4954 * cplus-dem.c (set_cplus_marker_for_demangling): New exported
4955 function, to avoid compiling in target-dependency for CPLUS_MARKER.
4956 * cplus-dem.c (cplus_demangle): Allow demangling style option
4957 to be passed as a parameter, but using the global variable
4958 current_demangling_style as a default.
4959 * Makefile.in: Update for cplus-dem.c
4960
4961Sat Aug 29 10:44:09 1992 Fred Fish (fnf@cygnus.com)
4962
4963 * obstack.c: Merge in comment changes from FSF version. Now
4964 matches the FSF version exactly.
4965
4966Fri Aug 28 18:39:08 1992 John Gilmore (gnu@cygnus.com)
4967
4968 * obstack.c (CALL_FREEFUN): Can't use ?: with void values (at
4969 least on losing DECstations!); use if-then-else instead.
4970
4971Wed Aug 19 14:40:34 1992 Ian Lance Taylor (ian@cygnus.com)
4972
4973 * Makefile.in: always create installation directories.
4974
4975Mon Aug 10 17:33:40 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
4976
4977 * Makefile.in: clean up definition of CFILES, more comments
4978
4979Sat Aug 8 23:10:59 1992 Fred Fish (fnf@cygnus.com)
4980
4981 * getopt.c (my_index): Make first arg const to match strchr,
4982 which it sometimes is remapped to.
4983
4984Sat Aug 1 13:48:50 1992 Fred Fish (fnf@cygnus.com)
4985
4986 * obstack.c (DEFAULT_ALIGNMENT): Update to match FSF version.
4987 * obstack.c (_obstack_begin): Initialize use_extra_arg.
4988 * obstack.c (_obstack_begin_1): New, from FSF version.
4989
4990Mon Jul 20 21:07:58 1992 Fred Fish (fnf@cygnus.com)
4991
4992 * obstack.c (CALL_CHECKFUN, CALL_FREEFUN): Use use_extra_arg and
4993 extra_arg.
4994 * obstack.c (_obstack_begin): Remove area_id and flags arguments
4995 (previously added for mmalloc support, interface has changed).
4996 Also convert flags usage to use use_extra_arg and maybe_empty_object.
4997
4998Fri Jul 10 00:41:53 1992 Fred Fish (fnf@cygnus.com)
4999
5000 * argv.c: Move expandargv inline and eliminate static variables.
5001 Rewrite to always allocate in powers of two. Fix to return an
5002 argv with a single null string arg if passed a null string.
5003
5004Fri Jul 3 20:27:29 1992 Fred Fish (fnf@cygnus.com)
5005
5006 * random.c, sigsetmask.c, strerror.c, strsignal.c: Remove
5007 "(void)" casts from function calls where the return value is
5008 ignored, in accordance with GNU coding standards.
5009
5010Mon Jun 29 10:54:19 1992 Fred Fish (fnf at cygnus.com)
5011
5012 * bcopy.c, strerror.c, strsignal.c: Lint.
5013
5014Thu Jun 25 09:18:41 1992 K. Richard Pixley (rich@rtl.cygnus.com)
5015
5016 * getopt.c: merge changes from make.
5017
5018Thu Jun 25 04:43:22 1992 John Gilmore (gnu at cygnus.com)
5019
5020 * alloca.c: Incorporate fixes from gdb/alloca.c.
5021 FIXME: Eventually move gdb's alloca configuration files here,
5022 and remove gdb/alloca.c and its Makefile.in support.
5023
5024Tue Jun 23 21:56:30 1992 Fred Fish (fnf@cygnus.com)
5025
5026 * dummy.c: Define NOTHING to /*nothing*/, change return type
5027 of main to int and return zero.
5028 * functions.def: Supply NOTHING as the fourth arg to macros
5029 that don't have an explicit arg, to satisfy picky preprocessors.
5030
5031Wed Jun 17 18:13:58 1992 Per Bothner (bothner@rtl.cygnus.com)
5032
5033 * Makefile.in: Clean up *clean rules, as per standards.texi.
5034
5035Tue Jun 16 16:11:59 1992 K. Richard Pixley (rich@rtl.cygnus.com)
5036
5037 * getopt.c, getopt1.c: merged largely gratuitous, mostly
5038 whitespace diffs from other prep distributions.
5039
5040Mon Jun 15 12:25:46 1992 Fred Fish (fnf@cygnus.com)
5041
5042 * config/mh-ncr3000 (INSTALL): Don't use /usr/ucb/install,
5043 it is broken on ncr 3000's.
5044
5045Mon Jun 15 01:03:26 1992 John Gilmore (gnu at cygnus.com)
5046
5047 * sigsetmask.c: Rewrite. Old one was very confused about its
5048 arguments and result. New one can't do much, but at least knows
5049 what it can't do, and it's good enough for GDB's use.
5050
5051Sun Jun 14 15:17:40 1992 Stu Grossman (grossman at cygnus.com)
5052
5053 * functions.def: Use proper prototype for strtoul.
5054
5055Fri Jun 12 19:22:40 1992 John Gilmore (gnu at cygnus.com)
5056
5057 * Makefile.in: Add random.c.
5058 * config/mh-*: Use "true" rather than "echo >/dev/null" for ranlib.
5059 * configure.in: update solaris2 config.
5060
5061Wed Jun 10 16:31:29 1992 Fred Fish (fnf@cygnus.com)
5062
5063 * random.c: Add for random() and srandom().
5064 * functions.def: Add random
5065
5066Tue Jun 9 17:27:18 1992 Fred Fish (fnf@cygnus.com)
5067
5068 * config/{mh-ncr3000, mh-sysv4}: Add definition for INSTALL
5069 using /usr/ucb/install.
5070
5071Mon Jun 1 13:20:17 1992 Per Bothner (bothner@rtl.cygnus.com)
5072
5073 * strerror.c: Kludge to guard against a conflict with
5074 possible declaration of sys_errlist in errno.h.
5075
5076Sun May 31 15:07:47 1992 Mark Eichin (eichin at cygnus.com)
5077
5078 * configure.in, config/mh-solaris: add solaris2 config support.
5079
5080Fri May 29 17:23:23 1992 Per Bothner (bothner@rtl.cygnus.com)
5081
5082 * sigsetmask.c: #ifdef out sigsetmask if SIG_SETMASK
5083 is not defined (should be defined in signal.h, says Posix.).
5084
5085Mon May 18 17:35:04 1992 K. Richard Pixley (rich@cygnus.com)
5086
5087 * getopt.c: merged changes from make-3.62.11.
5088
5089Fri May 8 14:53:07 1992 K. Richard Pixley (rich@cygnus.com)
5090
5091 * getopt.c: merged changes from bison-1.18.
5092
5093Tue May 5 11:51:40 1992 Per Bothner (bothner@rtl.cygnus.com)
5094
5095 * Makefile.in: Don't have $(EXTRA_OFILES) depend on config.h,
5096 since that introduces a circular dependency.
5097 ($(EXTRA_OFILES) are used to build config.h.)
5098
5099 * strtoul.c: Fixes to handle non-decimal bases better.
5100
5101Wed Apr 22 09:27:51 1992 Fred Fish (fnf@cygnus.com)
5102
5103 * config/mh-ncr3000: Replace MINUS_G with CFLAGS.
5104 * Makefile.dos: Finish MINUS_G eradication.
5105 * Makefile.in (CFILES): Add strsignal.c.
5106 * Makefile.in (REQUIRED_OFILES): Add strerror.o strsignal.o
5107 * Makefile.in (needed-list): Split creation of errors file to
5108 separate make target.
5109 * Makefile.in (config.h, needed2.awk, errors): New targets.
5110 * Makefile.in (clean): Split to multiple lines, add needed2.awk
5111 and config.h.
5112 * dummy.c (DEFFUNC, DEFVAR): Add defines and undefs.
5113 * functions.def (strerror): Remove from optional list.
5114 * functions.def (sys_nerr, sys_errlist, sys_siglist): DEFVAR's
5115 * functions.def (strerror, psignal): DEFFUNC's
5116 * strerror.c: Rewrite from scratch to use sys_errlist only if
5117 available, add errno_max(), add strerrno(), add strtoerrno(),
5118 add test driver.
5119 * strsignal.c: New file, signal equivalent to strerror.c.
5120 Uses sys_siglist if available, defines signo_max(), strsignal(),
5121 strsigno(), strtosigno(), psignal(), and test driver.
5122
5123Mon Apr 20 20:49:32 1992 K. Richard Pixley (rich@cygnus.com)
5124
5125 * Makefile.in: do not print recursion line.
5126
5127 * Makefile.in: allow CFLAGS to be passed in from command line.
5128 Removed MINUS_G. Default CFLAGS to -g.
5129
5130Mon Apr 20 12:57:46 1992 Per Bothner (bothner@rtl.cygnus.com)
5131
5132 * config/mh-aix: New. EXTRA_OFILES lists copysign.o,
5133 so libg++ users don't have to be inconvenienced by a
5134 libc.a bug (libc.a needs copysign, but doesn't define it!).
5135 * configure.in: Use config/mh-aix.
5136 * strtoul.c: Handle '-' as required by ANSI.
5137 Clean up radix handling.
5138 * strstr.c: Fix buggy algorithm.
5139 * Makefile.in: Change so that ${EXTRA_OFILES} is
5140 appended to needed-list (which is used by libg++).
5141
5142Fri Apr 10 22:51:41 1992 Fred Fish (fnf@cygnus.com)
5143
5144 * configure.in: Recognize new ncr3000 config.
5145 * config/mh-ncr3000: New config file.
5146
5147Wed Apr 1 23:31:43 1992 John Gilmore (gnu at cygnus.com)
5148
5149 * argv.c, dummy.c: Lint.
5150
5151Tue Mar 31 18:46:44 1992 Fred Fish (fnf@cygnus.com)
5152
5153 * config/mh-sysv4: New config file.
5154 * configure.in (host_makefile_frag): Set to config/mh-sysv4 for
5155 host_os == sysv4.
5156 * getpagesize.c: For SVR4, use sysconf(_SC_PAGESIZE) to get
5157 pagesize.
5158
5159Sun Mar 29 12:26:42 1992 John Gilmore (gnu at cygnus.com)
5160
5161 * getopt.c: Lint.
5162
5163Fri Mar 27 08:32:55 1992 Fred Fish (fnf@cygnus.com)
5164
5165 * functions.def (alloca): Fix return type and args to avoid
5166 type clash with gcc's builtin alloca.
5167
5168Tue Mar 24 23:33:42 1992 K. Richard Pixley (rich@cygnus.com)
5169
5170 * configure.in, config/mh-irix4: irix4 support.
5171
5172 * Makefile.in, functions.def, alloca.c: added alloca.
5173
5174Tue Mar 24 17:34:46 1992 Stu Grossman (grossman at cygnus.com)
5175
5176 * obstack.c (CALL_FREEFUN): Make it compile on DECstations.
5177
5178Thu Mar 19 13:57:42 1992 Fred Fish (fnf@cygnus.com)
5179
5180 * argv.c: Fix various external function definitions to be
5181 correct in an ANSI compilation environment.
5182
5183Sat Mar 14 17:28:17 1992 Fred Fish (fnf@cygnus.com)
5184
5185 * obstack.c: Changes to support calling mmalloc functions,
5186 which take an additional argument over malloc functions.
5187
5188Fri Mar 6 22:01:10 1992 K. Richard Pixley (rich@cygnus.com)
5189
5190 * added check target.
5191
5192Thu Feb 27 22:19:39 1992 Per Bothner (bothner@cygnus.com)
5193
5194 * argv.c: #include alloca-conf.h (needed by AIX).
5195
5196Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com)
5197
5198 * Makefile.in, configure.in: removed traces of namesubdir,
5199 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
5200 copyrights to '92, changed some from Cygnus to FSF.
5201
5202Sat Feb 22 01:09:21 1992 Stu Grossman (grossman at cygnus.com)
5203
5204 * argv.c: Check in Fred's version which fixes problems with
5205 alloca().
5206
5207Fri Feb 7 21:46:08 1992 Stu Grossman (grossman at cygnus.com)
5208
5209 * makefile.dos: Remove NUL to keep patch from failing.
5210
5211Thu Jan 30 22:48:41 1992 Stu Grossman (grossman at cygnus.com)
5212
5213 * getopt.c (_getopt_internal): Fix usage of enum has_arg.
5214
5215Mon Jan 20 18:53:23 1992 Stu Grossman (grossman at cygnus.com)
5216
5217 * getopt.c, getopt1.c, ../include/getopt.h: Get latest versions.
5218
5219Sat Jan 18 16:53:01 1992 Fred Fish (fnf at cygnus.com)
5220
5221 * argv.c: New file to build and destroy standard argument
5222 vectors from a command string.
5223
5224 * Makefile.in: Add argv.c and argv.o to appropriate macros.
5225
5226Fri Dec 20 12:12:57 1991 Fred Fish (fnf at cygnus.com)
5227
5228 * configure.in: Change svr4 references to sysv4.
5229
5230 * rindex.c: Declare return type of externally used function
5231 strrchr().
5232
5233Thu Dec 19 18:35:03 1991 John Gilmore (gnu at cygnus.com)
5234
5235 * Makefile.in: Remove "***" in normal output, since Make produces
5236 this on errors, and it's convenient to search for.
5237
5238Tue Dec 17 23:21:30 1991 Per Bothner (bothner at cygnus.com)
5239
5240 * memcmp.c, memcpy.c, memmove.c, memset.c, strchr.c, strrchr.c:
5241 New ANSI functions. The old non-ANSI functions (such as bcopy)
5242 should be avoided.
5243 * bcopy.c: Fix to correctly handle overlapping regions.
5244 * index.c, rindex.c: Re-write in terms of strchr() and strrchr().
5245 * functions.def: Add the new functions.
5246 * functions.def: Add 4th parameter to DEF macro,
5247 an ansidecl.h-style prototype.
5248 * dummy.c: Use expanded DEF macro to create a dummy function
5249 call, with correct parameter types. (This avoids some
5250 complaints from gcc about predefined builtins.)
5251
5252 Move the functionality of config/mh-default into Makefile.in.
5253 This avoid duplication, and simplifies things slightly.
5254 * Makefile.in: Tweak so we don't need config/mh-default.
5255 * README: Update.
5256 * configure.in: No longer need config/mh-default.
5257 * config/mh-default: Deleted.
5258 * config/mh-sysv: Remove lines copied from old mh-default.
5259
5260Tue Dec 17 05:46:46 1991 John Gilmore (gnu at cygnus.com)
5261
5262 * fdmatch.c (fdmatch): Don't compare st_rdev, which is for
5263 'mknod' device numbers.
5264
5265Mon Dec 16 12:25:34 1991 Fred Fish (fnf at cygnus.com)
5266
5267 * fdmatch.c, Makefile.in: Add new function that takes two
5268 open file descriptors and returns nonzero if they refer to
5269 the same file, zero otherwise. (used in gdb)
5270
5271Wed Dec 11 17:40:39 1991 Steve Chamberlain (sac at rtl.cygnus.com)
5272 From DJ:
5273 * msdos.c: stub functions for dos.
5274 * makefile.dos, configdj.bat: new.
5275 * getopt.c: Don't include alloca-conf.h in a GO32 world.
5276
5277
5278Tue Dec 10 04:14:49 1991 K. Richard Pixley (rich at rtl.cygnus.com)
5279
5280 * Makefile.in: infodir belongs in datadir.
5281
5282Fri Dec 6 23:26:45 1991 K. Richard Pixley (rich at rtl.cygnus.com)
5283
5284 * Makefile.in: remove spaces following hyphens because bsd make
5285 can't cope. added standards.text support. install using
5286 INSTALL_DATA.
5287
5288 * configure.in: remove commontargets as it is no longer a
5289 recognized hook.
5290
5291Thu Dec 5 22:46:46 1991 K. Richard Pixley (rich at rtl.cygnus.com)
5292
5293 * Makefile.in: idestdir and ddestdir go away. Added copyrights
5294 and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
5295 and mandir now keyed off datadir by default.
5296
5297Fri Nov 22 19:15:29 1991 John Gilmore (gnu at cygnus.com)
5298
5299 * Makefile.in: find-needed.awk does not fit in 14 chars.
5300
5301 * Makefile.in: Suppress error checking when compiling the test
5302 program, because Ultrix make/sh aborts there due to a bug.
5303
5304Fri Nov 22 12:23:17 1991 Per Bothner (bothner at cygnus.com)
5305
5306 * Makefile.in: Re-did how EXTRA_OFILES is used to be more useful.
5307 * README: Explained how the auto-configuration works,
5308 and how to add new files and/or configurations.
5309
5310Fri Nov 22 09:45:23 1991 John Gilmore (gnu at cygnus.com)
5311
5312 * strtoul.c: Avoid defining ULONG_MAX if already defined;
5313 cast a const char * to char * for pedants.
5314
5315 * getopt.c: Only define "const" after local include files get to,
5316 and only if they haven't defined it.
5317
5318Thu Nov 21 16:58:53 1991 John Gilmore (gnu at cygnus.com)
5319
5320 * getcwd.c (remove getwd.c): GNU code should call getcwd(). We
5321 emulate it with getwd() if available. This avoids callers having
5322 to find a MAXPATHLEN or PATH_MAX value from somewhere.
5323 * Makefile.in, functions.def: getwd->getcwd.
5324 * configure.in: Use generic case for every system.
5325 * config/mh-{delta88,mach,rs6000,svr4}: Remove.
5326 * config/mh-sysv: Use default handling, just add -DUSG.
5327
5328Thu Nov 14 10:58:05 1991 Per Bothner (bothner at cygnus.com)
5329
5330 * Makefile.in, config/mh-default: Re-do make magic
5331 so that for the default ("automatic") mode we only
5332 compile the files we actually need. Do this using
5333 a recursive make: The top-level generates the list
5334 of needed files (loosely, the ones missing in libc),
5335 and then passes that list to the recursive make.
5336 * config/mh-mach: Remove obsolete STRERROR-{C,O} macros.
5337
5338Tue Nov 12 19:10:57 1991 John Gilmore (gnu at cygnus.com)
5339
5340 RS/6000 host support (grumble).
5341
5342 * configure.in: Build alloca-conf.h file from alloca-norm.h
5343 (everything else) or alloca-botch.h (rs/6000).
5344 * Makefile.in: Include . on the include path.
5345 * getopt.c: Use alloca-conf.h.
5346 * alloca-norm.h: How to declare alloca on reasonable machines.
5347 * alloca-botch.h: How to declare alloca on braindead machines.
5348
5349Tue Nov 12 09:21:48 1991 Fred Fish (fnf at cygnus.com)
5350
5351 * concat.c : New file, like concat() in gdb but can take a
5352 variable number of arguments rather than fixed at 3 args. For
5353 now, client applications must supply an xmalloc(), which is a
5354 front end function to malloc() that deals with out-of-memory
5355 conditions.
5356
5357 * Makefile.in: Add concat.c and concat.o to appropriate macros.
5358
5359Sat Nov 9 13:29:59 1991 Fred Fish (fnf at cygnus.com)
5360
5361 * config/mh-svr4: Add sigsetmask to list of required functions.
5362
5363Sun Nov 3 11:57:56 1991 Per Bothner (bothner at cygnus.com)
5364
5365 * vsprintf.c: New file.
5366 * functions.def, Makefile.in: Add vsprintf.
5367
5368Sun Oct 27 16:31:22 1991 John Gilmore (gnu at cygnus.com)
5369
5370 * configure.in, config/mh-rs6000: Add rs/6000 host support.
5371 * Makefile.in: Compile with debug info.
5372
5373Fri Oct 25 17:01:12 1991 Per Bothner (bothner at cygnus.com)
5374
5375 * Makefile.in, configure.in, and new files: dummy.c, functions.def,
5376 config/mf-default: Added a default configuration mode,
5377 which includes into libiberty.a functions that are "missing" in libc.
5378 * strdup.c, vprintf.c, vfprintf.c: New files.
5379
5380Thu Oct 24 02:29:26 1991 Fred Fish (fnf at cygnus.com)
5381
5382 * config/hmake-svr4: New file.
5383
5384 * config/hmake-sysv: Add HOST_CFILES and HOST_OFILES.
5385
5386 * basename.c, bcmp.c, bcopy.c, bzero.c, getpagesize.c getwd.c,
5387 index.c, insque.c, rindex.c, spaces.c, strstr.c, vfork.c: New
5388 files containing either portable C versions or emulations using
5389 native library calls.
5390
5391 * strerror.c: Add copyright, internal documentation, etc.
5392
5393 * strtol.c: Replace hardwired hex constants with some more
5394 portable macros. Remove illegal (according to gcc) cast.
5395
5396 * strtoul.c: Replace hardwired hex constant with more portable
5397 macro.
5398
5399 * Makefile.in: Move TARGETLIB and CFLAGS where makefile fragments
5400 can override them. Add new source and object file names to CFILES
5401 and OFILES respectively.
5402
5403 * configure.in: Add support for SVR4 makefile fragments.
5404
5405Tue Oct 22 19:00:23 1991 Steve Chamberlain (steve at cygnus.com)
5406
5407 * Makefile.in: Move RANLIB, AR and AR_FLAGS to where they can be
5408 over-ridden by config/hmake-*
5409 * configure.in: added m88kcvs to sysv list
5410
5411Fri Oct 4 01:29:08 1991 John Gilmore (gnu at cygnus.com)
5412
5413 * Makefile.in: Most hosts need strerror, but one or two don't,
5414 and they override these definitions in the host-dependent makefile
5415 fragment.
5416 * config/hmake-mach: The odd man out on strerror -- it's supplied.
5417 * strerror.c: New file.
5418
5419 * strtol.c, strtoul.c: Add strtol to libiberty, since Mach lacks
5420 it and bfd uses it.
5421 * configure.in, Makefile.in, config/hmake-mach: Only configure
5422 strtol & strotoul in on Mach.
5423
5424Tue Sep 3 06:36:23 1991 John Gilmore (gnu at cygint.cygnus.com)
5425
5426 * obstack.c: Merge with latest FSF version.
5427
5428
5429
5430Local Variables:
5431version-control: never
5432End:
Note: See TracBrowser for help on using the repository browser.