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