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