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

Last change on this file since 1444 was 1392, checked in by bird, 21 years ago

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

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