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