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