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