ChangeLog revision 1.1.1.1.8.1
12012-07-02 Release Manager 2 3 * GCC 4.5.4 released. 4 52012-02-09 Jakub Jelinek <jakub@redhat.com> 6 7 Backported from mainline 8 2012-01-26 Jakub Jelinek <jakub@redhat.com> 9 10 * make-relative-prefix.c (make_relative_prefix_1): Avoid warning 11 about using preprocessor directives inside of macro arguments. 12 13 2012-01-02 Jakub Jelinek <jakub@redhat.com> 14 15 * make-relative-prefix.c (make_relative_prefix_1): Avoid 16 stack overflow if PATH contains just a single entry and 17 HOST_EXECUTABLE_SUFFIX needs to be used. 18 19 PR driver/48306 20 * make-relative-prefix.c: Include sys/stat.h. 21 (make_relative_prefix_1): If access succeeds, check also stat 22 if nstore is a regular file. 23 242011-08-06 Uros Bizjak <ubizjak@gmail.com> 25 26 * testsuite/test-expandargv.c (writeout_test): Check result of fwrite. 27 282011-04-28 Release Manager 29 30 * GCC 4.5.3 released. 31 322010-12-16 Release Manager 33 34 * GCC 4.5.2 released. 35 362010-07-31 Release Manager 37 38 * GCC 4.5.1 released. 39 402010-06-10 Jakub Jelinek <jakub@redhat.com> 41 42 PR other/43838 43 * cp-demangle.c (struct d_print_info): Add flush_count field. 44 (d_print_init): Initialize it to 0. 45 (d_print_flush): Increment it. 46 (d_print_comp): If needed flush before appending ", ". Only 47 decrement dpi->len if no flushes happened during the recursive 48 call. 49 * testsuite/demangle-expected: Add a test for this. 50 512010-04-14 Release Manager 52 53 * GCC 4.5.0 released. 54 552010-03-22 Jason Merrill <jason@redhat.com> 56 57 * cp-demangle.c (d_print_mod): Use () rather than [] for vectors. 58 592010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 60 61 * Makefile.in (all): Do not use exec. 62 632010-02-04 Tom Tromey <tromey@redhat.com> 64 65 * testsuite/demangle-expected: Add missing --format=gnu-v3. 66 672010-02-03 Jason Merrill <jason@redhat.com> 68 69 * cp-demangle.c (d_expression): Handle dependent operator name. 70 71 PR c++/12909 72 * cp-demangle.c (d_number_component, d_vector_type): New. 73 (cplus_demangle_type, d_print_comp, d_print_mod): Handle vectors. 74 752010-01-25 Ian Lance Taylor <iant@google.com> 76 77 * cp-demangle.c (cplus_demangle_type): Check for invalid type 78 after "DF". 79 * testsuite/demangle-expected: Add test. 80 812010-01-20 Jason Merrill <jason@redhat.com> 82 83 PR c++/42338 84 * cp-demangle.c (d_print_comp): Fix array index printing. 85 862010-01-11 Tristan Gingold <gingold@adacore.com> 87 88 * cplus-dem.c (ada_demangle): Remove prototype. 89 (grow_vect): Removed. 90 (ada_demangle): Rewritten. 91 (cplus_demangle): Fix indentation. 92 * testsuite/demangle-expected: Add tests for Ada. 93 942010-01-09 Ian Lance Taylor <iant@google.com> 95 96 PR other/42230 97 * cp-demangle.c (d_demangle): Return dgs.alc on success. 98 992010-01-04 Nobuhiro Iwamatsu <iwamatsu@nigauri.org> 100 101 PR target/42316 102 * configure.ac (PICFLAG): Use -fPIC on SH hosts. 103 * configure: Regenerate. 104 1052009-12-07 Doug Evans <dje@google.com> 106 107 * pex-unix.c (pex_unix_exec_child): Save/restore environ. 108 1092009-11-26 Ben Elliston <bje@au.ibm.com> 110 111 * configure.ac (AC_CHECK_FUNCS): Sort into alphabetic order. 112 * configure: Regenerate. 113 1142009-11-25 Ben Elliston <bje@au.ibm.com> 115 116 * functions.texi: Rebuild. 117 1182009-11-25 Manuel Lopez-Ibanez <manu@gcc.gnu.org> 119 Ben Elliston <bje@au.ibm.com> 120 121 * README: Mention changes to Makefile.in and functions.texi. 122 * gather-docs: Mention 'make stamp-functions' in the header. 123 1242009-11-23 Ben Elliston <bje@au.ibm.com> 125 Ian Lance Taylor <iant@google.com> 126 127 * pex-unix.c (pex_child_error): Improve warning avoidance by 128 checking the results of write(3) and exiting with -2 if any write 129 returns a negative value. 130 1312009-11-22 Steve Ward <planet36@gmail.com> 132 133 * dyn-string.c (dyn_string_append_char): Fix typo in comment. 134 1352009-11-20 Ben Elliston <bje@au.ibm.com> 136 137 * pex-unix.c (pex_child_error): Define writeerr macro to avoid 138 unused result warnings from write(3) calls. Undefine writeerr 139 after all uses. 140 1412009-10-08 Daniel Gutson <dgutson@codesourcery.com> 142 Daniel Jacobowitz <dan@codesourcery.com> 143 Pedro Alves <pedro@codesourcery.com> 144 145 libiberty/ 146 * argv.c (consume_whitespace): New function. 147 (only_whitespace): New function. 148 (buildargv): Always use ISSPACE by calling consume_whitespace. 149 (expandargv): Skip empty files. Do not stop at the first empty 150 argument (calling only_whitespace).. 151 * testsuite/test-expandargv.c: (test_data): Test empty lines 152 and empty arguments. 153 (run_tests): Fix false positives due to shorter arguments. 154 1552009-09-30 Martin Thuresson <martint@google.com> 156 157 * regex.c (byte_re_match_2_internal): Split declaration and 158 assignment to avoid -Wc++-compat warning due to goto. 159 1602009-09-29 Jason Merrill <jason@redhat.com> 161 162 * Makefile.in: Enable demangle target. 163 * cp-demangle.c (d_lambda, d_unnamed_type, d_make_default_arg): New. 164 (d_name, d_prefix, d_unqualified_name, d_local_name): Handle lambdas. 165 (d_parmlist): Factor out from d_bare_function_type. 166 (d_compact_number): Factor out from d_template_param and d_expression. 167 (d_append_num): Factor out from d_print_comp. 168 (d_print_comp, d_print_mod_list): Handle lambdas. 169 * testsuite/demangle-expected: Add lambda tests. 170 1712009-09-23 Matthew Gingell <gingell@adacore.com> 172 173 * cplus-dem.c (ada_demangle): Ensure demangled is freed. 174 1752009-09-22 Ozkan Sezer <sezeroz@gmail.com> 176 177 * choose-temp.c: Include unistd.h for mingw targets. 178 1792009-09-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 180 181 * hashtab.c [HAVE_INTTYPES_H]: Include <inttypes.h>. 182 1832009-09-15 Tristan Gingold <gingold@adacore.com> 184 185 * config.h-vms (intptr_t): Define to compile hashtab.c 186 1872009-09-04 Ozkan Sezer <sezeroz@gmail.com> 188 189 PR target/39065 190 * configure.ac: Replace AC_CHECK_TYPE() for intptr_t and uintptr_t 191 with AC_TYPE_INTPTR_T and AC_TYPE_UINTPTR_T. 192 * config.in: Regenerated. 193 * configure: Regenerated. 194 1952009-09-03 Ozkan Sezer <sezeroz@gmail.com> 196 197 PR target/39065 198 * configure.ac: Also check for intptr_t. 199 * config.h.in: Regenerated. 200 * configure: Regenerated. 201 * hashtab.c (hash_pointer): Cast the pointer argument to intptr_t 202 instead of of long. 203 2042009-09-02 Tristan Gingold <gingold@adacore.com> 205 206 * vmsbuild.com: Removed as unused and superceeded by makefile.vms. 207 * makefile.vms: Ported to Itanium VMS. Remove useless targets and 208 dependencies. Remove unused FORMAT variable. 209 * configure.com: New file to create build.com DCL script for 210 Itanium VMS or Alpha VMS. 211 2122009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 213 214 * configure.ac (AC_PREREQ): Bump to 2.64. 215 2162009-08-23 H.J. Lu <hongjiu.lu@intel.com> 217 218 PR ld/10536 219 * Makefile.in (install-html-recursive): Removed. 220 2212009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 222 223 * config.in: Regenerate. 224 * configure: Regenerate. 225 2262009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 227 228 * Makefile.in (AUTOCONF, configure_deps): New variables. 229 ($(srcdir)/configure): New rule, active only in maintainer mode. 230 2312009-07-29 Douglas B Rupp <rupp@gnat.com> 232 233 * make-temp-file.c (choose_tmpdir): Try standard temp logical on VMS. 234 2352009-07-27 Douglas B Rupp <rupp@gnat.com> 236 237 * pex-unix.c (vfork): Remove VMS specific definition (get from header 238 file instead). 239 (to_ptr32): New function. 240 (pex_unix_exec_child): Use it. 241 2422009-07-24 Ian Lance Taylor <iant@google.com> 243 244 PR bootstrap/40854 245 * crc32.c (xcrc32): Rename from crc32. 246 2472009-07-24 Ian Lance Taylor <iant@google.com> 248 249 * crc32.c: New file. 250 * Makefile.in: Rebuild dependencies. 251 (CFILES): Add crc32.c. 252 (REQUIRED_OFILES): Add ./crc32.o. 253 * functions.texi: Rebuild. 254 2552009-07-17 Jan Kratochvil <jan.kratochvil@redhat.com> 256 257 * cp-demangle.c (d_print_comp <DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS>) 258 (d_print_comp <DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS): New. 259 (d_make_comp <DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS>) 260 (d_make_comp <DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS): New. 261 (d_demangle_callback): The variable type is now declared as enum. 262 Replace parser of _GLOBAL_ symbols by a d_make_comp call. 263 2642009-06-21 Jakub Jelinek <jakub@redhat.com> 265 266 * hashtab.c (htab_traverse): Don't call htab_expand for 267 nearly empty hashtabs with sizes 7, 13 or 31. 268 2692009-06-16 Nick Clifton <nickc@redhat.com> 270 271 PR 10197 272 * testsuite/test-demangle.c: Rename getline to get_line to avoid 273 conflicts with system function of the same name. 274 2752009-05-30 Eli Zaretskii <eliz@gnu.org> 276 277 * snprintf.c: Doc fix. 278 279 * vsnprintf.c: Doc fix. 280 2812009-05-29 Kai Tietz <kai.tietz@onevision.com> 282 283 * pex-win32.c (pex_win32_fdopenr): Set INHERIT to false. 284 2852009-05-29 Michael Matz <matz@suse.de> 286 287 * fibheap.c (fibheap_replace_key_data): Make sure we don't early 288 out when forcing the minimum. 289 (fibheap_delete_node): Assert that we managed to force the minimum. 290 2912009-05-25 Tristan Gingold <gingold@adacore.com> 292 293 * config.h-vms: Rewritten. Define configure macros. 294 Use DEC-C builtin alloca. 295 296 * makefile.vms (OBJS): Update list. 297 (OPT): New variable. 298 (CFLAGS): Update compilation flags. 299 (libiberty.olb): Do not depend on alloca-conf.h anymore. 300 3012009-05-19 Ian Lance Taylor <iant@google.com> 302 Ben Elliston <bje@au.ibm.com> 303 304 * cp-demangle.c (cplus_demangle_fill_ctor): Fix logic bug. 305 (cplus_demangle_fill_dtor): Likewise. 306 3072009-05-17 Julian Brown <julian@codesourcery.com> 308 309 * pex-win32.c (pex_win32_exec_child): Fix logic to avoid closing 310 standard handles (stdin, stdout, stderr) in parent. 311 3122009-04-29 Julian Brown <julian@codesourcery.com> 313 314 * pex-win32.c (pex_win32_pipe): Add _O_NOINHERIT. 315 (pex_win32_exec_child): Ensure each process has only one handle open 316 on pipe endpoints. Close standard input after creating child for 317 symmetry with standard output/standard error. 318 3192009-04-25 Eli Zaretskii <eliz@gnu.org> 320 321 * Makefile.in (needed-list): Target removed (not used in GCC 322 3.0 and later). All references deleted. 323 (mostlyclean): Remove references to needed.awk and needed2.awk. 324 3252009-04-14 Eli Zaretskii <eliz@gnu.org> 326 327 * configure.ac (setobjs, msdosdjgpp): Move a-priori setting of 328 existing and required library functions to with_target_subdir 329 section, so that the native build does detect them at configure 330 time. 331 * configure: Regenerated. 332 3332009-04-13 Ozkan Sezer <sezeroz@gmail.com> 334 335 PR target/39397 336 * pex-common.h (struct pex_obj): Store pid values as pid_t, 337 not as long (members *children and (*wait)) 338 * pex-common.c (pex_run_in_environment): Likewise. 339 * pex-win32.c (pex_win32_wait): Return pid_t and properly check 340 returned pid value. 341 * pex-djgpp.c (pex_djgpp_wait): Return pid_t. 342 * pex-msdos.c (pex_msdos_wait): Likewise. 343 3442009-04-07 Arnaud Patard <apatard@mandriva.com> 345 346 * libiberty/configure.ac: Fix Linux/MIPS matching rule. 347 * libiberty/configure: Regenerate. 348 3492009-03-27 Ian Lance Taylor <iant@google.com> 350 351 * memmem.c: New file, from gnulib. 352 * configure.ac: Add memmem to list of functions provided if they 353 are not available on the host. 354 * Makefile.in: Rebuild dependencies. 355 (CFILES): Add memmem.c. 356 (CONFIGURED_OFILES): Add memmem.o. 357 * configure, config.in, functions.texi: Rebuild. 358 3592009-03-23 Jason Merrill <jason@redhat.com> 360 361 * cp-demangle.c (d_expression): Handle pack expansion. 362 (d_find_pack): Handle DEMANGLE_COMPONENT_FUNCTION_PARAM. 363 (d_print_subexpr): Don't wrap function parms in (). 364 (d_print_comp) [DEMANGLE_COMPONENT_PACK_EXPANSION]: Handle 365 not finding a pack. 366 3672009-03-17 Jason Merrill <jason@redhat.com> 368 369 * cp-demangle.c (d_make_function_param): new fn. 370 (cplus_demangle_mangled_name): Work around abi v2 bug. 371 (d_expr_primary): Likewise. 372 (cplus_demangle_operators): Add alignof ops. 373 (d_expression): Handle function parameters and conversions 374 with other than 1 operand. 375 (d_print_comp): Handle function parameters. Fix bug with 376 function used in type of function. 377 * testsuite/demangle-expected: Update tests. 378 3792009-02-21 Mark Mitchell <mark@codesourcery.com> 380 381 * make-temp-file.c (<windows.h>): Include on Windows. 382 (choose_tmpdir): On Windows, use GetTempPath. 383 3842009-01-18 Dave Korn <dave.korn.cygwin@gmail.com> 385 386 * configure.ac (funcs, vars, checkfuncs): Don't munge on Cygwin, 387 as it no longer shares libiberty object files. 388 * configure: Regenerated. 389 3902009-01-07 Jason Merrill <jason@redhat.com> 391 392 * cp-demangle.c (d_expression): Remove mangling for zero-op casts. 393 3942009-01-06 Ben Elliston <bje@au.ibm.com> 395 396 * cp-demangle.c (cplus_demangle_type): Return NULL if the 397 character following a 'D' cannot be recognised. 398 3992008-12-18 Jason Merrill <jason@redhat.com> 400 401 PR c++/38561 402 * cp-demangle.c (d_expression, d_print_comp): Revert 403 cast changes. 404 4052008-12-17 Jason Merrill <jason@redhat.com> 406 407 * cp-demangle.c (d_expression): Handle rvalue stubs too. 408 [DEMANGLE_COMPONENT_CAST]: Update mangling. 409 (d_print_comp): Avoid extra ", " with empty template argument packs. 410 Remove handling for obsolete T() mangling. 411 4122008-12-10 Jason Merrill <jason@redhat.com> 413 414 * cp-demangle.c (cplus_demangle_type): Support fixed-point types. 415 (d_print_comp, d_dump): Likewise. 416 4172008-10-22 Daniel Jacobowitz <dan@codesourcery.com> 418 419 * Makefile.in (CPPFLAGS): Define. 420 (FLAGS_TO_PASS, COMPILE.c): Add CPPFLAGS. 421 4222008-10-15 Paolo Bonzini <bonzini@gnu.org> 423 424 PR bootstrap/37137 425 * Makefile.in (LIBCFLAGS): Remove. 426 (FLAGS_TO_PASS): Don't mention it. 427 (COMPILE.c, MULTIOSDIR): Replace it with CFLAGS. 428 4292008-10-08 David Edelsohn <edelsohn@gnu.org> 430 431 * xstrdup.c: Include <sys/types.h> after "config.h" 432 4332008-10-07 Jan Kratochvil <jan.kratochvil@redhat.com> 434 435 * configure.ac: Call AC_SYS_LARGEFILE. 436 * config.in: Regenerated. 437 * configure: Likewise. 438 4392008-10-06 Jason Merrill <jason@redhat.com> 440 441 * cp-demangle.c (struct d_print_info): Add pack_index. 442 (d_dump): Add DEMANGLE_COMPONENT_PACK_EXPANSION. 443 (d_make_comp): Likewise. DEMANGLE_COMPONENT_ARGLIST and 444 DEMANGLE_COMPONENT_TEMPLATE_ARGLIST can have two null args. 445 (cplus_demangle_builtin_types): Add char16/32_t. 446 (cplus_demangle_type): Recognize them. 447 (d_template_args): Handle empty argument packs. 448 (d_template_arg): Handle argument packs. 449 (d_expression): Handle dependent name. 450 (d_index_template_argument): New fn. 451 (d_lookup_template_argument): New fn. 452 (d_find_pack, d_pack_length): New fn. 453 (d_print_subexpr): Split out... 454 (d_print_comp): ...from here. Use d_*_template_argument. 455 Handle empty arg lists. Support pack expansions. 456 * cp-demangle.h (D_BUILTIN_TYPE_COUNT): Increase to 32. 457 4582008-09-09 Jason Merrill <jason@redhat.com> 459 460 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_DECLTYPE. 461 (d_make_comp): Likewise. 462 (cplus_demangle_type): Handle decltype and DFP types. 463 (cplus_demangle_operators): Call operator takes 2 args. 464 (cplus_demangle_builtin_types): Add DFP types. 465 (d_exprlist): New fn. 466 (d_expression): Handle parm placeholders, T() and calls. 467 (d_print_comp): Handle decltype, T() and calls. 468 * testsuite/demangle-expected: Test the above. 469 4702008-08-07 Aaron W. LaFramboise <aaronavay62@aaronwl.com> 471 472 * pex-win32.c (argv_to_argc): New function. 473 (spawn_script): Duplicate argv before calling win32_spawn. 474 4752008-07-31 Jakub Jelinek <jakub@redhat.com> 476 477 * mkstemps.c (mkstemps): Keep looping even for EISDIR. 478 4792008-07-31 Denys Vlasenko <dvlasenk@redhat.com> 480 481 * mkstemps.c (mkstemps): If open failed with errno other than 482 EEXIST, return immediately. 483 * make-temp-file.c: Include errno.h. 484 (make_temp_file): If mkstemps failed, print an error message 485 before aborting. 486 4872008-07-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 488 489 * maint-tool (deps): Output config.h instead of stamp-h. 490 * Makefile.in: Rebuild deps. 491 (maintainer-clean-subdir): Depend on stamp-h rather than config.h. 492 Reverts 2007-07-11 change. 493 4942008-06-19 Eric Blake <ebb9@byu.net> 495 496 Adjust strsignal to POSIX 200x prototype. 497 * strsignal.c (strsignal): Remove const. 498 4992008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 500 501 * configure: Regenerate. 502 5032008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 504 505 * libiberty.texi: Expand TABs, drop indentation outside examples. 506 * obstacks.texi: Likewise. 507 5082008-04-21 Aurelien Jarno <aurelien@aurel32.net> 509 510 * libiberty/configure.ac: use -fPIC on Linux/MIPS hosts. 511 * libiberty/configure: Regenerate. 512 5132008-04-18 Kris Van Hees <kris.van.hees@oracle.com> 514 515 * testsuite/demangle-expected: Added tests for char16_t and char32_t. 516 5172008-04-18 Paolo Bonzini <bonzini@gnu.org> 518 519 PR bootstrap/35457 520 * aclocal.m4: Add override.m4. 521 * configure: Regenerate. 522 5232008-03-31 Ian Lance Taylor <iant@google.com> 524 525 * cp-demangle.c (d_substitution): Correct overflow check to avoid 526 -fstrict-overflow optimizations. 527 5282008-03-27 Paolo Bonzini <bonzini@gnu.org> 529 530 * configure.ac (frags): Don't set, use frag instead. 531 (PICFLAG): Set here and substitute. 532 * Makefile.in (PICFLAG): Substitute from autoconf. 533 * configure: Regenerate. 534 5352008-03-24 Ian Lance Taylor <iant@google.com> 536 537 * sha1.c: New file, from gnulib. 538 * Makefile.in: Rebuild dependencies. 539 (CFILES): Add sha1.c. 540 (REQUIRED_OFILES): Add sha1.o. 541 5422008-03-24 Doug Evans <dje@google.com> 543 544 * make-relative-prefix.c (make_relative_prefix_1): Handle NULL 545 return from strdup. 546 5472008-03-12 Seongbae Park <seongbae.park@gmail.com> 548 549 * cplus-dem.c (malloc, realloc): Use void * instead of char * 550 as return type. 551 5522008-03-11 Nick Clifton <nickc@redhat.com> 553 554 * md5.c (md5_process_bytes): Do not assume that memcpy will 555 provide a return value. 556 5572008-02-19 Ben Elliston <bje@au.ibm.com> 558 559 PR other/12618 560 * testsuite/Makefile.in (mostlyclean): Remove any core file. 561 5622008-01-26 David Daney <ddaney@avtrex.com> 563 564 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE, 565 DEMANGLE_COMPONENT_COMPOUND_NAME, and 566 DEMANGLE_COMPONENT_CHARACTER cases. 567 (d_make_comp): Handle DEMANGLE_COMPONENT_COMPOUND_NAME and 568 DEMANGLE_COMPONENT_JAVA_RESOURCE cases. 569 (d_make_character): New function. 570 (d_java_resource): Same. 571 (d_special_name): Handle "Gr" case. 572 (d_print_comp): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE, 573 DEMANGLE_COMPONENT_COMPOUND_NAME, and 574 DEMANGLE_COMPONENT_CHARACTER cases. 575 * testsuite/demangle-expected: Add test for java resource name 576 mangling. 577 5782008-01-23 Thiago Jung Bauermann <bauerman@br.ibm.com> 579 580 * cplus-dem.c (demangle_function_name): Changed to return value 581 indicating if a name was correctly demangled. 582 (iterate_demangle_function): Use demangle_function_name return 583 value. 584 5852008-01-19 Manuel Lopez-Ibanez <manu@gcc.gnu.org> 586 587 PR other/33768 588 * splay-tree.c (rotate_left): Fix minor typo in comment. 589 (rotate_right): Likewise. 590 5912007-11-12 Joseph Myers <joseph@codesourcery.com> 592 593 * floatformat.c (floatformat_ibm_long_double_is_valid): Fix 594 compiler warnings. 595 (floatformat_ibm_long_double): Use 596 floatformat_ibm_long_double_is_valid. 597 5982007-11-07 Joseph Myers <joseph@codesourcery.com> 599 Daniel Jacobowitz <dan@codesourcery.com> 600 601 * floatformat.c (mant_bits_set): New. 602 (floatformat_to_double): Use it. Note no special handling of 603 split formats. 604 (floatformat_from_double): Note no special handing of split 605 formats. 606 (floatformat_ibm_long_double_is_valid, 607 floatformat_ibm_long_double): New. 608 (floatformat_ieee_single_big, floatformat_ieee_single_little, 609 floatformat_ieee_double_big, floatformat_ieee_double_little, 610 floatformat_ieee_double_littlebyte_bigword, floatformat_vax_f, 611 floatformat_vax_d, floatformat_vax_g, floatformat_i387_ext, 612 floatformat_m68881_ext, floatformat_i960_ext, 613 floatformat_m88110_ext, floatformat_m88110_harris_ext, 614 floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword, 615 floatformat_ia64_spill_big, floatformat_ia64_spill_little, 616 floatformat_ia64_quad_big, floatformat_ia64_quad_little): Update 617 for addition of split_half field. 618 6192007-09-06 Tom Tromey <tromey@redhat.com> 620 621 * pexecute.txh (pex_free): Document process killing. 622 6232007-08-31 Douglas Gregor <doug.gregor@gmail.com> 624 625 * cp-demangle.c (d_dump): Handle 626 DEMANGLE_COMPONENT_RVALUE_REFERENCE. 627 (d_make_comp): Ditto. 628 (cplus_demangle_type): Ditto. 629 (d_print_comp): Ditto. 630 (d_print_mod): Ditto. 631 (d_print_function_type): Ditto. 632 6332007-08-24 Kai Tietz <kai.tietz@onevision.com> 634 635 * pex-common.h: (pex_funcs): Retyped wait and exec_child to pid_t. 636 * pex-djgpp.c: Likewise. 637 * pex-msdos.c: Likewise. 638 * pex-unix.c: Likewise. 639 * pex-win32.c: Likewise. 640 6412007-08-17 Michael Snyder <msnyder@access-company.com> 642 643 * make-relative-prefix.c (make_relative_prefix_1): Resource leaks. 644 6452007-08-03 Michael Snyder <msnyder@access-company.com> 646 647 * make-relative-prefix.c (make_relative_prefix_1): Fix resource 648 leak. 649 6502007-07-31 Michael Snyder <msnyder@access-company.com> 651 652 * cp-demangle.c (d_print_comp): Guard against null. 653 6542007-07-25 Ben Elliston <bje@au.ibm.com> 655 656 * Makefile.in (CFILES): Remove ternary.c. 657 (REQUIRED_OFILES): Remove ./ternary.o. 658 (INSTALLED_HEADERS): Remove ternary.h. 659 (ternary.o): Remove. 660 * ternary.c: Remove. 661 6622007-07-23 DJ Delorie <dj@redhat.com> 663 664 * argv.c (writeargv): Fix typo in inline documentation. 665 * functions.texi: Regenerate. 666 6672007-07-17 DJ Delorie <dj@redhat.com> 668 669 * configure.ac (target_header_dir, msdosdjgpp): Remove duplicate 670 gettimeofday entry. 671 * configure: Likewise. 672 6732007-07-11 Alexandre Oliva <aoliva@redhat.com> 674 675 * maint-tool (deps): Output stamp-h instead of config.h. 676 * Makefile.in: Rebuild deps. 677 (maintainer-clean-subdir): Depend on stamp-h rather than config.h. 678 6792007-07-02 Simon Baldwin <simonb@google.com> 680 681 * argv.c (writeargv): Removed declaration of unused variable. 682 6832007-06-14 Paolo Bonzini <bonzini@gnu.org> 684 685 * configure.ac: Use ACX_PROG_CC_ALMOST_PEDANTIC too. 686 * configure: Regenerate. 687 6882007-06-14 Paolo Bonzini <bonzini@gnu.org> 689 690 * aclocal.m4: Include config/warnings.m4. 691 * configure.ac: Use ACX_PROG_CC_WARNING_OPTS. 692 * configure: Regenerate. 693 6942007-06-07 Geoffrey Keating <geoffk@apple.com> 695 696 * configure.ac: Non-default multilibs can be cross compilations. 697 * configure: Regenerate 698 6992007-05-07 Nathan Froyd <froydnj@codesourcery.com> 700 701 * argv.c (writeargv): New function. 702 7032007-05-05 Geoffrey Keating <geoffk@apple.com> 704 705 * cp-demangle.c (d_name): Detect local-source-name. 706 (d_prefix): Likewise. 707 (d_unqualified_name): Implement local-source-name. 708 7092007-05-03 Joel Brobecker <brobecker@adacore.com> 710 711 * filename_cmp.c: Replace include of ctype.h by include of 712 safe-ctype.h. 713 (filename_cmp): Use TOLOWER instead of tolower for conversions 714 that are locale-independent. 715 * Makefile.in (filename_cmp.o): Add dependency on safe-ctype.h. 716 7172007-04-11 Thomas Neumann tneumann@users.sourceforge.net 718 719 * argv.c: Use ANSI C declarations. 720 * make-relative-prefix.c: Likewise. 721 7222007-04-06 Joel Brobecker <brobecker@adacore.com> 723 724 * filename_cmp.c (filename_cmp): Improve documentation. 725 7262007-04-02 Andreas Schwab <schwab@suse.de> 727 728 * filename_cmp.c: Include "config.h". 729 7302007-03-29 Joel Brobecker <brobecker@adacore.com> 731 732 * filename_cmp.c: New file. 733 * Makefile.in (CFILES): Add filename_cmp.c. 734 (REQUIRED_OFILES): Add filename_cmp.o 735 (filename_cmp.o): New rule. 736 * functions.texi: Regenerate. 737 7382007-03-15 Geoffrey Keating <geoffk@apple.com> 739 740 * cp-demangle.c (d_encoding): Exit early on error. 741 (d_pointer_to_member_type): Exit early if cplus_demangle_type 742 returns NULL. 743 (cplus_demangle_type): Likewise. 744 * testsuite/demangle-expected: New testcase. 745 7462007-03-01 Brooks Moses <brooks.moses@codesourcery.com> 747 748 * Makefile.in: Add install-pdf target as copied from 749 automake v1.10 rules. 750 * testsuite/Makefile.in: Add dummy install-pdf target. 751 7522007-03-01 Peter Breitenlohner <peb@mppmu.mpg.de> 753 Eric Botcazou <ebotcazou@libertysurf.fr> 754 755 PR other/16513 756 * Makefile.in: Install library under $(MULTIOSDIR), not $(MULTISUBDIR). 757 Install headers in multilib independent location. 758 7592007-02-26 DJ Delorie <dj@redhat.com> 760 761 * configure.ac: add djgpp-specific results, so we don't have to 762 link during a cross compilation. 763 * configure: Regenerated. 764 7652007-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 766 767 * hex.c: Fix typo. 768 * choose-temp.c: Likewise. 769 * functions.texi: Regenerate. 770 7712007-01-31 Vladimir Prus <vladimir@codesourcery.com> 772 773 * pex-common.h (struct pex_obj): New fields 774 stderr_pipe and read_err. 775 * pex-common.c (pex_init_common): Initialize 776 stderr_pipe. 777 (pex_run_in_environment): Add error checking 778 for PEX_STDERR_TO_PIPE. Create a pipe 779 for stderr if necessary. 780 (pex_read_err): New. 781 (pex_free): Close read_err. 782 * pexecute.txh: Document changes. 783 * functions.texi: Regenerated. 784 7852007-01-31 Ben Elliston <bje@au.ibm.com> 786 787 * strsignal.c (psignal): Change type of signo to int. 788 * functions.texi: Regenerate. 789 7902007-01-29 Simon Baldwin <simonb@google.com> 791 792 * cp-demangle.h (cplus_demangle_operators): External definition 793 suppressed if not building for libstdc++. 794 * cp-demangle.c (__gcclibcxx_demangle_callback): Augmented interface 795 to demangling, provides a malloc-less version of __cxa_demangle. 796 (cplus_demangle_print_callback): Public callback version of 797 cplus_demangle_print. 798 (struct d_growable_string): New growable string structure. 799 (d_growable_string_init): New function, provides support for 800 growable strings separate from print info. 801 (d_growable_string_resize): Likewise. 802 (d_growable_string_append_buffer): Likewise. 803 (d_growable_string_callback_adapter):): Likewise. 804 (d_print_init): New print info initialization function. 805 (d_print_error): Macro replace by inline function. 806 (d_print_saw_error): Likewise. 807 (d_append_char): Likewise. 808 (d_append_buffer): Likewise. 809 (d_append_string): New inline function, replaces the 810 d_append_string_constant macro. 811 (d_flush_buffer): New function, flushes buffer to callback. 812 (d_demangle_callback, is_ctor_or_dtor): Malloc-based fallback 813 for unsupported dynamic arrays replaced by alloca(). 814 (d_demangle): Return string length estimating removed. 815 (d_dump): Moved error case handling from call site into function. 816 (d_print_resize): Function removed. 817 (d_print_append_char): Likewise. 818 (d_print_append_buffer): Likewise. 819 (d_print_error): Likewise. 820 (d_print_comp): Added special case handling for Java arrays. 821 (java_demangle_v3): Removed string post-processing for Java arrays, 822 now replaced by special case handling in d_print_comp. 823 (cplus_demangle_v3_callback): Augmented interface to demangling, 824 provides a malloc-less version of cplus_demangle_v3. 825 (java_demangle_v3_callback): Augmented interface to demangling, 826 provides a malloc-less version of java_demangle_v3. 827 8282007-01-12 Ben Elliston <bje@au.ibm.com> 829 830 * pex-unix.c (writeerr): Cast write result to void. 831 832 * choose-temp.c (choose_temp_base): Check the result of the call 833 to mktemp rather than testing the length of the modified string. 834 8352006-12-20 Geoffrey Keating <geoffk@apple.com> 836 837 * cp-demangle.h: Add comment explaining what to do to avoid 838 overrunning string. 839 (d_check_char): New. 840 (d_next_char): Don't advance past trailing '\0'. 841 * cp-demangle.c (cplus_demangle_mangled_name): Use d_check_char. 842 (d_nested_name): Likewise. 843 (d_special_name): Likewise. 844 (d_call_offset): Likewise. 845 (d_function_type): Likewise. 846 (d_array_type): Likewise. 847 (d_pointer_to_member_type): Likewise. 848 (d_template_param): Likewise. 849 (d_template_args): Likewise. 850 (d_template_arg): Likewise. 851 (d_expr_primary): Likewise. 852 (d_local_name): Likewise. 853 (d_substitution): Likewise. 854 (d_ctor_dtor_name): Use d_advance rather than d_next_char. 855 * testsuite/test-demangle.c: Include sys/mman.h. 856 (MAP_ANONYMOUS): Define. 857 (protect_end): New. 858 (main): Use protect_end. 859 * testsuite/demangle-expected: Add testcases for overrunning 860 the end of the string. 861 8622006-11-30 Andrew Stubbs <andrew.stubbs@st.com> 863 J"orn Rennecke <joern.rennecke@st.com> 864 865 PR driver/29931 866 * make-relative-prefix.c (make_relative_prefix_1): New function, 867 broken out of make_relative_prefix. Make link resolution dependent 868 on new parameter. 869 (make_relative_prefix): Use make_relative_prefix_1. 870 (make_relative_prefix_ignore_links): New function. 871 8722006-11-08 Vladimir Prus <vladimir@codesourcery.com> 873 874 * pex-win32.c (no_suffixes): Remove. 875 (std_suffixes): Add "" as first element. 876 (find_executable): Remove detection of already-present 877 extension. Try all suffixes in std_suffixes. 878 8792006-11-07 Julian Brown <julian@codesourcery.com> 880 881 * floatformat.c (get_field): Fix segfault with little-endian word 882 order on 64-bit hosts. 883 (put_field): Likewise. 884 (min): Move definition. 885 8862006-10-26 Danny Smith <dannysmith@users.sourceforge.net> 887 888 pex-win32.c (argv_to_cmdline): Replace xmalloc with XNEWVEC. 889 (find_executable): Likewise. 890 (win32_spawn): Cast alloca return to (char**). 891 Replace malloc with XNEWVEC. 892 bcopy.c (bcopy): Add explict casts in assignments. 893 8942006-10-25 Ben Elliston <bje@au.ibm.com> 895 896 * pexecute.txh: Wrap pexecute's "flag" argument with @var {..}. 897 8982006-10-10 Brooks Moses <bmoses@stanford.edu> 899 900 * Makefile.in: Added "pdf", "libiberty.pdf" target support. 901 * testsuite/Makefile.in: Added empty "pdf" target. 902 9032006-09-22 Ian Lance Taylor <ian@airs.com> 904 905 PR other/29176 906 * cp-demangle.c (d_substitution): Check for overflow when 907 computing substitution index. 908 9092006-08-30 Corinna Vinschen <corinna@vinschen.de> 910 911 * configure.ac: Add case for Mingw as host. 912 * configure: Regenerate. 913 9142006-08-27 Ian Lance Taylor <ian@airs.com> 915 916 PR driver/27622 917 * pex-common.h (struct pex_funcs): Add toclose parameter to 918 exec_child field. 919 * pex-common.c (pex_run_in_environment): Pass toclose to 920 exec_child. 921 * pex-djgpp.c (pex_djgpp_exec_child): Add toclose parameter. 922 * pex-unix.c (pex_unix_exec_child): Likewise. 923 * pex-msdos.c (pex_msdos_exec_child): Likewise. 924 * pex-win32.c (pex_win32_exec_child): Likewise. 925 926 PR other/28797 927 * cp-demangle.c (d_pointer_to_member_type): Do add a substitution 928 for a qualified member which is not a function. 929 * testsuite/demangle-expected: Add test case. 930 9312006-07-27 Jan Hubicka <jh@suse.cz> 932 933 PR rtl-optimization/28071 934 * hashtab.c (htab_empty): Clear out n_deleted/n_elements; 935 downsize the hashtable. 936 9372006-07-04 Peter O'Gorman <peter@pogma.com> 938 939 * Makefile.in: chmod 644 before ranlib during install. 940 9412006-06-02 Mark Shinwell <shinwell@codesourcery.com> 942 943 * pex-unix.c (pex_unix_exec_child): Insert cast when assigning 944 to environ. 945 9462006-06-01 Mark Shinwell <shinwell@codesourcery.com> 947 948 * pex-common.c: New function pex_run_in_environment. 949 * pex-common.h: Add environment parameter to exec_child. 950 * pex-msdos.c: Add environment parameter to pex_msdos_exec_child. 951 * pex-djgpp.c: Add environment parameter to pex_djgpp_exec_child. 952 (pex_djgpp_exec_child): Pass environment to child process. 953 * pex-unix.c: Add environment parameter to pex_unix_exec_child. 954 (pex_unix_exec_child): Pass environment to child process. 955 * pex-win32.c: Add environment parameter to pex_win32_exec_child. 956 New function env_compare for comparing VAR=VALUE pairs. 957 (win32_spawn): Assemble environment block and pass to CreateProcess. 958 (spawn_script): Pass environment through to win32_spawn. 959 (pex_win32_exec_child): Pass environment through to spawn_script and 960 win32_spawn. 961 * functions.texi: Regenerate. 962 * pexecute.txh: Document pex_run_in_environment. 963 9642006-05-28 Mark Shinwell <shinwell@codesourcery.com> 965 966 * mkstemps.c: Open temporary files in binary mode. 967 9682006-05-12 Anton Blanchard <anton@samba.org> 969 970 * cplus-dem.c (demangle_fund_type): Ensure buf is large enough to 971 hold "int%u_t". 972 9732006-04-24 Julian Brown <julian@codesourcery.com> 974 975 * floatformat.c (floatformat_to_double): Fix (biased) exponent=0 case. 976 9772006-03-29 Jim Blandy <jimb@codesourcery.com> 978 979 * pex-common.c (pex_input_file, pex_input_pipe): New functions. 980 (pex_init_common): Initialize obj->input_file. 981 (pex_run): Close any file opened by pex_input_file. 982 * pexecute.txh (pex_input_file, pex_input_pipe): New docs. 983 * pex-common.h (struct pex_obj): New field input_file. 984 (struct pex_funcs): New function ptr fdopenw. 985 * pex-unix.c (pex_unix_fdopenw): New function. 986 (funcs): List it as our fdopenw function. 987 * pex-win32.c (pex_win32_fdopenw): New function. 988 (funcs): List it as our fdopenw function. 989 * pex-djgpp.c (funcs): Leave fdopenw null. 990 * pex-msdos (funcs): Same. 991 * functions.texi: Regenerated. 992 9932006-04-10 Jim Blandy <jimb@codesourcery.com> 994 995 * pex-common.c (temp_file): New function, containing guts of 996 pex-style temporary file name generation. 997 (pex_run): Use it. 998 9992006-04-06 Carlos O'Donell <carlos@codesourcery.com> 1000 1001 * Makefile.in: Add install-html, install-html-am, and 1002 install-html-recursive targets. Define mkdir_p and 1003 NORMAL_INSTALL. 1004 * configure.ac: AC_SUBST datarootdir, docdir, htmldir. 1005 * configure: Regenerate. 1006 * testsuite/Makefile.in: Add install-html and html targets. 1007 10082006-03-31 Mark Mitchell <mark@codesourcery.com> 1009 1010 * pex-win32.c (<errno.h>): Include. 1011 (fix_argv): Remove. 1012 (argv_to_cmdline): New function. 1013 (std_suffixes): New variable. 1014 (no_suffixes): Likewise. 1015 (find_executable): New function. 1016 (win32_spawn): Likewise. 1017 (spawn_script): Use win32_spawn instead of _spawnv[p]. 1018 (pex_win32_exec_child): Replace MSVCRT calls with Win32 API calls. 1019 (pex_win32_wait): Likewise. 1020 10212006-03-24 Jim Blandy <jimb@codesourcery.com> 1022 1023 * pex-common.c (pex_run): Simplify output name handling. 1024 10252006-03-12 Jim Blandy <jimb@red-bean.com> 1026 1027 * pex-common.h (struct pex_obj): Doc fixes. 1028 10292006-03-11 Jim Blandy <jimb@red-bean.com> 1030 1031 * functions.texi: Regenerate. 1032 10332006-02-21 Ben Elliston <bje@au.ibm.com> 1034 1035 * pexecute.c (pwait): Syntax fix for previous change. 1036 10372006-02-17 Uttam Pawar <uttamp@us.ibm.com> 1038 1039 * pexecute.c (pwait): Free vector pointer. 1040 * partition.c (partition_print): Free class_elements pointer. 1041 10422006-02-11 Roger Sayle <roger@eyesopen.com> 1043 R. Scott Bailey <scott.bailey@eds.com> 1044 Bill Northcott <w.northcott@unsw.edu.au> 1045 1046 PR bootstrap/16787 1047 * floatformat.c: Include <float.h> where available. 1048 (NAN): Use value of DBL_QNAN if defined, and NAN isn't. 1049 10502006-01-29 Gabriel Dos Reis <gdr@integrable-solutions.net> 1051 1052 * configure.ac: Add -Wc++-compat to ac_libibety_warn_cflags where 1053 supported. 1054 * configure: Regenerated. 1055 10562006-01-20 Carlos O'Donell <carlos@codesourcery.com> 1057 1058 * testsuite/Makefile.in: Add test-expandargv test. 1059 * testsuite/test-expandargv.c: New test. 1060 * argv.c (expandargv): Check for errors with ferror, 1061 rather than just by looking at return value from fread. 1062 10632005-12-17 Gabriel Dos Reis <gdr@integrable-solutions.net> 1064 1065 * floatformat.c (floatformat_i387_ext_is_valid): Use explicit cast 1066 to convert from "from". 1067 (floatformat_to_double): Likewise. 1068 (floatformat_from_double): Use explicit cast to convert from "to". 1069 10702005-12-10 Terry Laurenzo <tlaurenzo@gmail.com> 1071 1072 PR java/9861 1073 * cp-demangle.c (d_bare_function_type): Recognize new 'J' qualifer 1074 and include return type when found. 1075 (d_print_comp)[DEMANGLE_COMPONENT_FUNCTION_TYPE]: Add 1076 conditional logic to change printing order of return type.when 1077 the DMGL_RET_POSTFIX option is present. 1078 (java_demangle_v3): Add DMGL_RET_POSTFIX option to d_demangle 1079 call. 1080 * testsuite/test-demangle.c (main): Recognize option --ret-postfix 1081 * testsuite/demangle-expected: Test cases to verify extended encoding. 1082 Updated comment to document --ret-postfix option. 1083 10842005-11-06 Richard Guenther <rguenther@suse.de> 1085 1086 * splay-tree.c (rotate_left): New function. 1087 (rotate_right): Likewise. 1088 (splay_tree_splay_helper): Remove. 1089 (splay_tree_splay): Re-implement. 1090 10912005-10-31 Mark Kettenis <kettenis@gnu.org> 1092 1093 * floatformat.c (floatformat_vax_aingle, floatformat_vax_double): 1094 New variables. 1095 10962005-10-07 Mark Mitchell <mark@codesourcery.com> 1097 1098 * at-file.texi: Fix typo. 1099 11002005-10-03 Mark Mitchell <mark@codesourcery.com> 1101 1102 * at-file.texi: New file. 1103 11042005-09-27 Mark Mitchell <mark@codesourcery.com> 1105 1106 * argv.c (expandargv): Do not use xmalloc_failed. 1107 11082005-09-26 Mark Mitchell <mark@codesourcery.com> 1109 1110 * argv.c (safe-ctype.h): Include it. 1111 (ISBLANK): Remove. 1112 (stdio.h): Include. 1113 (buildargv): Use ISSPACE instead of ISBLANK. 1114 (expandargv): New function. 1115 * Makefile.in: Regenerated. 1116 11172005-09-14 Christopher Faylor <cgf@timesys.com> 1118 1119 * pex-win32.c: Include "windows.h". 1120 (backslashify): New function. 1121 (fix_argv): Use backslashify to convert path to windows format. 1122 Allocate one more place in new argv for potential executable from '#!' 1123 parsing. 1124 (tack_on_executable): New function. Conditional on USE_MINGW_MSYS 1125 (openkey): Ditto. 1126 (mingw_rootify): Ditto. 1127 (msys_rootify): Ditto. 1128 (spawn_script): New function. 1129 (pex_win32_exec_child): Save translated argv in newargv. Pass to 1130 spawn_script if spawnv* fails. 1131 (main): New function. Conditional on MAIN. Useful for testing. 1132 11332005-08-17 Mark Kettenis <kettenis@gnu.org> 1134 1135 * floatformat.c (floatformat_always_valid): Change type of last 1136 argument to `void *'. 1137 (floatformat_i387_ext_is_valid): Likewise. 1138 (floatformat_to_double): Change type of second argument to `const 1139 void *'. 1140 (floatformat_from_double): Change type of last argument to `void 1141 *'. 1142 (floatformat_is_valid): Change type of last argument to `const 1143 void *'. 1144 (ieee_test): Remove redundant casts. 1145 11462005-08-17 Kelley Cook <kcook@gcc.gnu.org> 1147 1148 * strverscmp.c: Update FSF address. 1149 * testsuite/Makefile.in: Likewise. 1150 * testsuite/test-demangle.c: Likewise. 1151 * testsuite/test-pexecute.c: Likewise. 1152 11532005-07-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 1154 1155 * getopt.c: Include ansidecl.h before system headers. 1156 11572005-07-22 Ben Elliston <bje@gnu.org> 1158 1159 * getopt.c: Include "ansidecl.h". 1160 (_getopt_initialize): Mark argc and argv parameters as unused. 1161 11622005-07-22 Ben Elliston <bje@gnu.org> 1163 1164 * regex.c (regcomp): Change type of `i' from unsigned to int. 1165 11662005-07-22 Ben Elliston <bje@gnu.org> 1167 1168 Recover patch lost in the sourceware repository: 1169 2005-07-09 Ben Elliston <bje@au.ibm.com> 1170 * memcpy.c: Remove ANSI_PROTOTYPES conditional code. 1171 * memmove.c: Likewise. 1172 * objalloc.c: Likewise. 1173 11742005-07-22 Ben Elliston <bje@gnu.org> 1175 1176 * configure.ac: Check for a getopt(3) declaration. 1177 * configure, config.in: Regenerate. 1178 11792005-07-15 Ben Elliston <bje@au.ibm.com> 1180 1181 * regex.c (TRANSLATE): Cast rhs of ternary expression to char. 1182 11832005-07-12 Ben Elliston <bje@au.ibm.com> 1184 1185 * floatformat.c (floatformat_to_double): Add a comment about a 1186 potential source of warnings when compiling this file. 1187 11882005-07-12 Ben Elliston <bje@au.ibm.com> 1189 1190 * pexecute.c (pexecute): Cast string litrals to char *. 1191 * regex.c (re_comp): Cast a call to gettext() to char *. 1192 11932005-07-07 Kelley Cook <kcook@gcc.gnu.org> 1194 1195 * config.table: Delete file. Move former contents into ... 1196 * configure.ac: ... here and escape any brackets for m4. 1197 * Makefile.in (config.status): Remove dependency on config.table. 1198 * configure: Regenerate. 1199 12002005-07-07 Kelley Cook <kcook@gcc.gnu.org> 1201 1202 * config.in: Regenerate for 6/20 change. 1203 12042005-07-03 Steve Ellcey <sje@cup.hp.com> 1205 1206 PR other/13906 1207 * md5.c (md5_process_bytes): Check alignment. 1208 12092005-07-01 Ian Lance Taylor <ian@airs.com> 1210 1211 PR other/22268 1212 * cp-demangle.c (d_expr_primary): Don't run off the end of the 1213 string while looking for the end of a literal value. 1214 * testsuite/demangle-expected: Add test case. 1215 12162005-06-30 Daniel Berlin <dberlin@dberlin.org> 1217 1218 * hashtab.c (EMPTY_ENTRY): Moved and renamed. 1219 (DELETED_ENTRY): Ditto. 1220 12212005-06-20 Geoffrey Keating <geoffk@apple.com> 1222 1223 * strverscmp.c: New. 1224 * Makefile.in (CFILES): Add strverscmp.c. 1225 (CONFIGURED_OFILES): Add strverscmp.o. 1226 (strverscmp.o): New rule. 1227 (stamp-functions): Add $(srcdir) to files in source directory. 1228 * configure.ac (funcs): Add strverscmp. 1229 (AC_CHECK_FUNCS): Add strverscmp. 1230 * configure: Regenerate. 1231 * functions.texi: Regenerate. 1232 12332005-05-28 Eli Zaretskii <eliz@gnu.org> 1234 1235 * configure.ac: Add snprintf and vsnprintf to AC_CHEK_DECLS. 1236 * config.in, configure: Regenerate. 1237 12382005-05-25 Richard Henderson <rth@redhat.com> 1239 1240 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_HIDDEN_ALIAS. 1241 (d_make_comp, d_print_comp): Likewise. 1242 (d_special_name): Generate one. 1243 * testsuite/demangle-expected: Add a hidden alias test. 1244 12452005-05-24 Gabriel Dos Reis <gdr@integrable-solutions.net> 1246 1247 * configure.ac: Check declarations for calloc(), getenv(), 1248 malloc(), realloc() and sbrk(). 1249 * config.in: Regenerate. 1250 * configure: Likewise. 1251 1252 * alloca.c (C_alloca): Change "new" to "new_storage". Use XNEWVEC 1253 instead of xmalloc. 1254 * choose-temp.c (choose_temp_base): Use XNEWVEC instea od xmalloc. 1255 * concat.c (liiberty_concat_ptr): Surround definition with an 1256 extern "C" block, if __cplusplus. 1257 (concat): Use XNEWVEC instead of xmalloc. 1258 (reconcat): Likewise. 1259 * cp-demangle.c (struct d_print_template): Rename member 1260 "template" to "template_decl". Adjust use throughout the file. 1261 (d_print_resize): Properly cast return value of realloc(). 1262 (cplus_demangle_print): Same for malloc(). 1263 (d_demangle): Likewise. 1264 * cp-demint.c (cplus_demangle_fill_builtin_type): Rename parameter 1265 "typename" to "type_name". 1266 * cplus-dem.c (grow_vect): Use XRESIZEVEC instead of xrealloc(). 1267 (work_stuff_copy_to_from): Use XNEWVEC insteand of xmalloc(). 1268 (demangle_template_value_parm): Likewise. 1269 (demangle_template): Likewise. 1270 (recursively_demangle): Likewise. 1271 (do_hpacc_template_literal): Likewise. 1272 (do_arg): Likewise. 1273 (remember_type): Likewise. 1274 (remember_Ktype): Likewise. 1275 (register_Btype): Likewise. 1276 (string_need): Use XRESIZEVEC instead of xrealloc(). 1277 * dyn-string.c (dyn_string_init): Use XNEWVEC. 1278 (dyn_string_new): Use XNEW. 1279 (dyn_string_resize): Use XRESIZEVEC. 1280 * fnmatch.c (fnmatch): Rename local variable "not" to "negate". 1281 * getopt.c (getenv): Declare only if !__cplusplus and !getenv. 1282 Otherwise include <stdlib.h>. 1283 (exchange): Cast return value of malloc(). 1284 * hashtab.c (htab_size): Define as both macro and non-inline 1285 function. 1286 (htab_elements): Likewise. 1287 * getpwd.c (getpwd): Use XNEWVEC. 1288 (htab_create_alloc_ex): Use C90 prototype-style. 1289 * lrealpath.c (lrealpath): Appropriately cast return value of 1290 malloc(). 1291 * make-relative-prefix.c (save_string): Likewise. 1292 * make-temp-file.c (try_dir): Rename from "try". Adjust use in 1293 the file. 1294 (choose_tmpdir): Use XNEWVEC. 1295 * mkstemps.c (mkstemps): Rename parameter "template" to "pattern". 1296 * pex-common.c (pex_init_common): Use XNEW. 1297 (pex_add_remove): Use XRESIZEVEC. 1298 (pex_run): Likewise. 1299 (pex_get_status_and_time): Likewise. 1300 * pex-djgpp.c (pex_djgpp_exec_child): Likewise. 1301 * pex-msdos.c (pex_init): Use XNEW. 1302 (pex_msdos_exec_child): Likewise. 1303 (pex_msdos_exec_child): Use XRESIZEVEC. 1304 * pex-unix.c (pex_wait): Use XNEW. 1305 * pex-win32.c (fix_argv): Use XNEWVEC. 1306 * pexecute.c (pwait): Likewise. 1307 * setenv.c (setenv): Properly cast return value of malloc(). 1308 * sigsetmask.c (sigsetmask): Rename local variables "old" and 1309 "new" to "old_sig" and "new_sig". 1310 * sort.c (main): Use XNEWVEC. 1311 * spaces.c (spaces): Cast return value of malloc(). 1312 * strndup.c (strndup): Likewise. 1313 * ternary.c (ternary_insert): Use XNEW. 1314 * xmalloc.c (malloc, realloc, calloc, sbrk): Surround declaration 1315 with an extern "C" block if __cplusplus. 1316 * xstrdup.c (xstrdup): Cast return value of memcpy(). 1317 * xstrerror.c (strerror): Enclose declaration in an extern "C" 1318 block if __cplusplus. 1319 * xstrndup.c (xstrndup): Use XNEW. Cast return value of memcpy(). 1320 13212005-05-16 Andreas Jaeger <aj@suse.de> 1322 1323 * getpwd.c: Remove unneeded prototype getcwd and move getwd so 1324 that it's only declared if needed. 1325 1326 * getopt1.c: Change order of includes so that __GNU_LIBRARY__ is 1327 defined. 1328 13292005-05-15 Andreas Jaeger <aj@suse.de> 1330 1331 * functions.texi: Regenerated. 1332 13332005-05-15 Eli Zaretskii <eliz@gnu.org> 1334 1335 * pexecute.txh: Enclose multi-word data types in @deftypefn in 1336 braces. Minor wording fixes. Use --- for em-dash. Use 1337 @enumerate in enumerated lists. 1338 1339 * fopen_unlocked.c: Enclose multi-word data types in @deftypefn in 1340 braces. 1341 13422005-05-11 Eli Zaretskii <eliz@gnu.org> 1343 1344 * pex-djgpp.c: Include string.h, fcntl.h, unistd.h, and 1345 sys/stat.h. 1346 (pex_init): Fix last argument to pex_init_common. 1347 (pex_djgpp_exec_child): Remove leading underscore from _open, 1348 _dup, _dup2, _close, and _spawnv/_spawnvp. Replace `program', 1349 which is undeclared, with `executable', which was unused. Remove 1350 unused variable `e'. Fix casting of last arg to spawnv/spawnvp. 1351 (pex_djgpp_wait): Declare arguments with ATTRIBUTE_UNUSED. 1352 13532005-05-11 Paul Brook <paul@codesourcery.com> 1354 1355 * Makefile.in: Regenerate dependencies. 1356 13572005-05-10 Nick Clifton <nickc@redhat.com> 1358 1359 * Update the address and phone number of the FSF organization in 1360 the GPL notices in the following files: 1361 COPYING.LIB, Makefile.in, _doprnt.c, argv.c, asprintf.c, 1362 choose-temp.c, clock.c, concat.c, copying-lib.texi, cp-demangle.c, 1363 cp-demangle.h, cp-demint.c, cplus-dem.c, dyn-string.c, fdmatch.c, 1364 fibheap.c, floatformat.c, fnmatch.c, fopen_unlocked.c, 1365 gather-docs, getopt.c, getopt1.c, getruntime.c, hashtab.c, hex.c, 1366 lbasename.c, lrealpath.c, maint-tool, make-relative-prefix.c, 1367 make-temp-file.c, md5.c, mempcpy.c, mkstemps.c, objalloc.c, 1368 obstack.c, partition.c, pex-common.c, pex-common.h, pex-djgpp.c, 1369 pex-msdos.c, pex-one.c, pex-unix.c, pex-win32.c, pexecute.c, 1370 physmem.c, putenv.c, regex.c, safe-ctype.c, setenv.c, snprintf.c, 1371 sort.c, spaces.c, splay-tree.c, stpcpy.c, stpncpy.c, strndup.c, 1372 strtod.c, ternary.c, unlink-if-ordinary.c, vasprintf.c, 1373 vsnprintf.c, vsprintf.c, xexit.c, xmalloc.c, xstrndup.c 1374 13752005-05-06 Kelley Cook <kcook@gcc.gnu.org> 1376 1377 * aclocal.m4 (AC_DEFINE_NOAUTOHEADER): Remove. 1378 * configure.ac: Replace any AC_DEFINE_NOAUTOHEADER with AC_DEFINE. 1379 * configure: Regenerate. 1380 13812005-05-06 Kelley Cook <kcook@gcc.gnu.org> 1382 1383 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS. 1384 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF. 1385 * aclocal.m4: Don't include accross.m4. 1386 * configure, config.in: Regenerate. 1387 13882005-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 1389 1390 * fopen_unlocked.c (unlock_std_streams): New. 1391 1392 * functions.texi: Regenerate. 1393 13942005-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 1395 1396 * fopen_unlocked.c (unlock_stream): New. 1397 Consolidate unlocking code into a helper function. 1398 1399 * functions.texi: Regenerate. 1400 14012005-04-13 Gabriel Dos Reis <gdr@integrable-solutions.net> 1402 1403 * asprintf.c: Include config.h. 1404 * basename.c: Likewise. 1405 * fdmatch.c: Likewise. 1406 * hex.c: Likewise. 1407 * lbasename.c: Likewise. 1408 * spaces.c: Likewise. 1409 * xatexit.c:Likewise. 1410 * configure.ac: Do check declarations for basename, ffs, asprintf 1411 and vasprintf for real. 1412 * configure: Regenerate. 1413 14142005-04-13 Gabriel Dos Reis <gdr@integrable-solutions.net> 1415 1416 * argv.c (dupargv): Allocate space of argv[argc], not 1417 sizeof(char *) of that amount. Cast result to char *. 1418 14192005-04-12 Gabriel Dos Reis <gdr@integrable-solutions.net> 1420 1421 * regex.c (wcs_re_match_2_internal, byte_re_match_2_internal): 1422 Replace not with negate. 1423 14242005-04-12 Gabriel Dos Reis <gdr@integrable-solutions.net> 1425 1426 * configure.ac: Check declarations for basename, ffs, asprintf, 1427 vasprintf. 1428 * configure: Regenerate. 1429 * config.in: Likewise. 1430 14312005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 1432 1433 * Makefile.in (CFILES): Add fopen_unlocked.c. 1434 (REQUIRED_OFILES): Add ./fopen_unlocked.o. 1435 Regenerate dependencies. 1436 1437 * configure.ac: Check for stdio_ext.h and __fsetlocking. 1438 1439 * fopen_unlocked.c: New file. 1440 1441 * functions.texi, configure, config.in: Regenerate. 1442 14432005-04-04 Ian Lance Taylor <ian@airs.com> 1444 1445 * testsuite/test-pexecute.c (TEST_PEX_RUN): Move variable 1446 declaration before statement. 1447 14482005-04-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 1449 1450 * bcmp.c: Fix warnings and implement using memcmp. 1451 * bcopy.c: Fix warnings. 1452 * bzero.c: Fix warnings and implement using memset. 1453 1454 * configure.ac (ac_libiberty_warn_cflags): Add -Wwrite-strings 1455 -Wstrict-prototypes. 1456 * configure, config.in: Regenerate. 1457 1458 * bsearch.c, index.c, rindex.c, strstr.c, strtol.c, waitpid.c: Fix 1459 warnings and reconcile interfaces with relevant standards. 1460 14612005-04-02 Ian Lance Taylor <ian@airs.com> 1462 1463 * cp-demangle.c: Update copyright. 1464 14652005-03-31 Joseph S. Myers <joseph@codesourcery.com> 1466 1467 * gettimeofday.c: Add "Supplemental" to @deftypefn. 1468 * functions.texi: Regenerate. 1469 14702005-03-28 Ian Lance Taylor <ian@airs.com> 1471 1472 * pex-common.c: New file. 1473 * pex-one.c: New file. 1474 * pexecute.c: New file. 1475 * pex-common.h: Include <stdio.h>. 1476 (struct pex_obj): Define. 1477 (struct pex_funcs): Define. 1478 (pex_init_common): Declare. 1479 * pex-unix.c: Rewrite. 1480 * pex-win32.c: Rewrite. 1481 * pex-djgpp.c: Rewrite. 1482 * pex-msdos.c: Rewrite. 1483 * testsuite/text-pexecute.c: New file. 1484 * pexecute.txh: Rewrite. 1485 * configure.ac: Check for wait3 and wait4. Set CHECK to 1486 really-check rather than check-cplus-dem. 1487 * functions.texi: Rebuild. 1488 * Makefile.in: Rebuild dependencies. 1489 (CFILES): Add pexecute.c, pex-common.c, pex-one.c. 1490 (REQUIRED_OFILES): Add pexecute.o, pex-common.o, pex-one.o. 1491 * testsuite/Makefile.in (really-check): New target. 1492 (check-pexecute, test-pexecute): New targets. 1493 * configure: Rebuild. 1494 14952005-03-28 Mark Kettenis <kettenis@gnu.org> 1496 1497 * unlink-if-ordinary.c: Include <sys/types.h>. 1498 14992005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net> 1500 1501 Convert libiberty to use ISO C prototype style 7/n. 1502 * regex.c (PARAMS): Remove definition. 1503 (PREFIX): Unconditionaly define using ISO C ## operator. 1504 (init_syntax_once, extract_number, extract_number_and_incr, 1505 print_fastmap, print_partial_compiled_pattern, 1506 print_compiled_pattern, print_double_string, printchar, 1507 convert_mbs_to_wcs, re_set_syntax, regex_grow_registers, 1508 regex_compile, store_op1, store_op2, insert_op1, insert_op2, 1509 at_begline_loc_p, at_endline_p, group_in_compile_stack, 1510 insert_space, wcs_compile_range, byte_compile_range, 1511 truncate_wchar, re_compile_fastmap, re_compile_fastmap, 1512 re_set_registers, re_search, re_search_2, re_search_3, re_match, 1513 re_match_2, count_mbs_length, wcs_re_match_2_internal, 1514 byte_re_match_2_internal, group_match_null_string_p, 1515 alt_match_null_string_p, common_op_match_null_string_p, 1516 bcmp_translate, re_compile_pattern, re_comp, re_exec, regcomp, 1517 regexec, regerror, regfree): Use ISO C prototype style. 1518 * partition.c: (elem_compare): Likewise. 1519 * cp-demangle.c (print_usage): Likewise. 1520 15212005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net> 1522 1523 Convert libiberty to use ISO C prototype style 5/n. 1524 * random.c (srandom, initstate, setstate, random): Use ISO C 1525 prototypes. 1526 * putenv.c (putenv): Likewise. 1527 * physmem.c (physmem_available, physmem_total, main): Likewise. 1528 * pex-win32.c (fix_argv, pexecute, pwait): Likewise. 1529 * pex-unix.c (pexecute, pwait): Likewise. 1530 * pex-msdos.c (pexecute, pwait): Likewise. 1531 * pex-djgpp.c (pexecute, pwait): Likewise. 1532 * partition.c (partition_new, partition_delete, partition_union) 1533 (elem_compare, partition_print): Likewise. 1534 * obstack.c (_obstack_begin, _obstack_begin_1, _obstack_newchunk, 1535 _obstack_allocated_p, _obstack_free, obstack_free, 1536 _obstack_memory_used, print_and_abort, obstack_next_free, 1537 obstack_object_size, obstack_base): Likewise. Remove codes 1538 predicated on !defined(__STDC__). 1539 * objalloc.c (objalloc_create, _objalloc_alloc, objalloc_free, 1540 objalloc_free_block): Use ISO C prototypes. 1541 * mkstemps.c (mkstemps): Likewise. 1542 * memset.c (memset): Likewise. 1543 * mempcpy.c (mempcpy): Likewise. 1544 * rename.c (rename): Likewise. 1545 * rindex.c (rindex): Likewise. 1546 * setenv.c (setenv, unsetenv): Likewise. 1547 * sigsetmask.c (sigsetmask): Likewise. 1548 * snprintf.c (snprintf): Likewise. 1549 * sort.c (sort_pointers, xmalloc): Likewise. 1550 * spaces.c (spaces): Likewise. 1551 * splay-tree.c (splay_tree_delete_helper, 1552 splay_tree_splay_helper, splay_tree_splay, 1553 splay_tree_foreach_helper, splay_tree_xmalloc_allocate, 1554 splay_tree_new, splay_tree_xmalloc_allocate, 1555 splay_tree_new_with_allocator, splay_tree_delete, 1556 splay_tree_insert, splay_tree_remove, splay_tree_lookup, 1557 splay_tree_max, splay_tree_min, splay_tree_predecessor, 1558 splay_tree_successor, splay_tree_foreach, 1559 splay_tree_compare_ints, splay_tree_compare_pointers): Likewise. 1560 * stpcpy.c (stpcpy): Likewise. 1561 * stpncpy.c (stpncpy): Likewise. 1562 * strcasecmp.c (strcasecmp): Likewise. 1563 * strchr.c (strchr): Likewise. 1564 * strdup.c (strdup): Likewise. 1565 15662005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net> 1567 1568 Convert libiberty to use ISO C prototype style 6/n. 1569 * strerror.c (init_error_tables, errno_max, strerror, strerrno, 1570 strtoerrno, main): Use ISO C prototype style. 1571 * strncasecmp.c (strncasecmp): Likewise. 1572 * strncmp.c (strncmp): Likewise. 1573 * strndup.c (strndup): Likewise. 1574 * strrchr.c (strrchr): Likewise. 1575 * strsignal.c (init_signal_tables, signo_max, strsignal, 1576 strsigno, strtosigno, psignal, main): Likewise. 1577 * strstr.c (strstr): Likewise. 1578 * strtod.c (strtod, atof): Likewise. 1579 * strtol.c (strtol): Likewise. 1580 * strtoul.c (strtoul): Likewise. 1581 * ternary.c (ternary_insert, ternary_cleanup, ternary_search, 1582 ternary_recursivesearch): Likewise. 1583 * tmpnam.c (tmpnam): Likewise. 1584 * unlink-if-ordinary.c (unlink_if_ordinary): Likewise. 1585 * vasprintf.c (int_vasprintf, vasprintf, checkit, main): Likewise. 1586 * vfork.c (vfork): Likewise. 1587 * vfprintf.c (vfprintf): Likewise. 1588 * vprintf.c (vprintf): Likewise. 1589 * vsnprintf.c (vsnprintf, checkit, main): Likewise. 1590 * vsprintf.c (vsprintf): Likewise. 1591 * waitpid.c (waitpid): Likewise. 1592 * xatexit.c (xatexit, xatexit_cleanup): Likewise. 1593 * xexit.c (xexit): Likewise. 1594 * xmalloc.c (xmalloc_set_program_name, xmalloc_failed, xmalloc, 1595 xcalloc, xrealloc): Likewise. 1596 * xmemdup.c (xmemdup): Likewise. 1597 * xstrdup.c (xstrdup): Likewise. 1598 * xstrerror.c (xstrerror): Likewise. 1599 * xstrndup.c (xstrndup): Likewise. 1600 16012005-03-27 Andreas Jaeger <aj@suse.de> 1602 1603 * configure.ac (ac_c_preproc_warn_flag): Remove -Wtraditional 1604 flags. 1605 * configure: Regenerated. 1606 16072005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net> 1608 1609 * getopt1.c (getopt_long_only): Fix thinko. 1610 16112005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net> 1612 1613 Convert libiberty to use ISO C prototype style 4/n. 1614 * hashtab.c (higher_prime_index, hash_pointer, eq_pointer, 1615 htab_size, htab_elements, htab_mod_1, htab_mod, htab_mod_m2, 1616 htab_create_alloc, htab_set_functions_ex, htab_create, 1617 htab_try_create, htab_delete, htab_empty, 1618 find_empty_slot_for_expand, htab_expand, htab_find_with_hash, 1619 htab_find, htab_find_slot_with_hash, htab_find_slot, 1620 htab_remove_elt, htab_remove_elt_with_hash, htab_clear_slot, 1621 htab_traverse_noresize, htab_traverse, htab_collisions, 1622 htab_hash_string, iterative_hash): Use ISO C prototype. 1623 * hex.c (hex_init): Likewise. 1624 * index.c (index): Likewise. 1625 * insque.c (insque, remque): Likewise. 1626 * lbasename.c (lbasename): Likewise. 1627 * lrealpath.c (lrealpath): Likewise. 1628 * make-relative-prefix.c (save_string, split_directories, 1629 free_split_directories, make_relative_prefix): Likewise. 1630 * make-temp-file.c (try, choose_tmpdir, make_temp_file): Likewise. 1631 * md5.c (md5_init_ctx, md5_read_ctx, md5_finish_ctx, md5_stream, 1632 md5_buffer, md5_process_bytes, md5_process_block): Likewise. 1633 * memchr.c (memchr): Likewise. 1634 * memcpy.c (memcpy): Likewise. 1635 * memmove.c (memmove): Likewise. 1636 * gettimeofday.c (gettimeofday): Likewise. 1637 * getruntime.c (get_run_time): Likewise. 1638 * getpwd.c (getpwd, getpwd): Likewise. 1639 * getpagesize.c (getpagesize): Likewise. 1640 * getopt1.c (getopt_long, getopt_long_only, main): Likewise. 1641 * getopt.c (my_index, exchange, _getopt_initialize, 1642 _getopt_internal, getopt, main): Likewise. 1643 * getcwd.c (getcwd): Likewise. 1644 * fnmatch.c (fnmatch): Likewise. 1645 * floatformat.c (floatformat_always_valid, 1646 floatformat_i387_ext_is_valid, get_field, floatformat_to_double, 1647 put_field, floatformat_from_double, floatformat_is_valid, 1648 ieee_test, main): Likewise. 1649 * fibheap.c (fibheap_new, fibnode_new, fibheap_compare, 1650 fibheap_comp_data, fibheap_insert, fibheap_min, fibheap_min_key, 1651 fibheap_union, fibheap_extract_min, fibheap_replace_key_data, 1652 fibheap_replace_key, fibheap_replace_data, fibheap_delete_node, 1653 fibheap_delete, fibheap_empty, fibheap_extr_min_node, 1654 fibheap_ins_root, fibheap_rem_root, fibheap_consolidate, 1655 fibheap_link, fibheap_cut, fibheap_cascading_cut, 1656 fibnode_insert_after, fibnode_remove): Likewise. 1657 * ffs.c (ffs): Likewise. 1658 * fdmatch.c (fdmatch): Likewise. 1659 * dyn-string.c (dyn_string_init, dyn_string_new, 1660 dyn_string_delete, dyn_string_release, dyn_string_resize, 1661 dyn_string_clear, dyn_string_copy, dyn_string_copy_cstr, 1662 dyn_string_prepend, dyn_string_prepend_cstr, dyn_string_insert, 1663 dyn_string_insert_cstr, dyn_string_insert_char, 1664 dyn_string_append, dyn_string_append_cstr, 1665 dyn_string_append_char, dyn_string_substring, dyn_string_eq): 1666 Likewise. 1667 16682005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net> 1669 1670 Convert libiberty to use ISO C prototype style 3/n. 1671 * cplus-dem.c (set_cplus_marker_for_demangling, consume_count, 1672 consume_count_with_underscores, code_for_qualifier, 1673 qualifier_string, demangle_qualifier, cplus_demangle_opname, 1674 cplus_mangle_opname, cplus_demangle_set_style, 1675 cplus_demangle_name_to_style, cplus_demangle, grow_vect, 1676 ada_demangle, internal_cplus_demangle, squangle_mop_up, 1677 work_stuff_copy_to_from, delete_non_B_K_work_stuff, 1678 delete_work_stuff, mop_up, demangle_signature, 1679 demangle_method_args, demangle_template_template_parm, 1680 demangle_expression, demangle_integral_value, 1681 demangle_real_value, demangle_template_value_parm, 1682 demangle_template, arm_pt, demangle_arm_hp_template, 1683 demangle_class_name, demangle_class, iterate_demangle_function, 1684 demangle_prefix, gnu_special, recursively_demangle, arm_special, 1685 demangle_qualified, get_count, do_type, demangle_fund_type, 1686 do_hpacc_template_const_value, do_hpacc_template_literal, 1687 snarf_numeric_literal, do_arg, remember_type, remember_Ktype, 1688 register_Btype, remember_Btype, forget_B_and_K_types, 1689 forget_types, demangle_args, demangle_nested_args, 1690 demangle_function_name, string_need, string_delete, string_init, 1691 string_clear, string_empty, string_append, string_appends, 1692 string_appendn, string_prepend, string_prepends, string_prependn, 1693 string_append_template_idx): Use ISO C prootype style. 1694 * cp-demint.c (cplus_demangle_fill_component, 1695 cplus_demangle_fill_builtin_type, cplus_demangle_fill_operator, 1696 cplus_demangle_v3_components): Likewise. 1697 16982005-03-26 Gabriel Dos Reis <gdr@integrable-solutions.net> 1699 1700 Convert libiberty to use ISO C prototype style 2/n. 1701 * cp-demangle.h: Remove uses of PARAMS. 1702 * cp-demangle.c: Likewise. 1703 (d_dump, cplus_demangle_fill_name, 1704 cplus_demangle_fill_extended_operator, cplus_demangle_fill_ctor, 1705 cplus_demangle_fill_dtor, d_make_empty, d_make_comp, d_make_name, 1706 d_make_builtin_type, d_make_operator, d_make_extended_operator, 1707 d_make_ctor, d_make_dtor, d_make_template_param, d_make_sub, 1708 cplus_demangle_mangled_name, has_return_type, 1709 is_ctor_dtor_or_conversion, d_encoding, d_name, d_nested_name, 1710 d_prefix, d_unqualified_name, d_source_name, d_number, 1711 d_identifier, d_operator_name, d_special_name, d_call_offset, 1712 d_ctor_dtor_name, cplus_demangle_type, d_cv_qualifiers, 1713 d_function_type, d_bare_function_type, d_class_enum_type, 1714 d_array_type, d_pointer_to_member_type, d_template_param, 1715 d_template_args, d_template_arg, d_expression, d_expr_primary, 1716 d_local_name, d_discriminator, d_add_substitution, 1717 d_substitution, d_print_resize, d_print_append_char, 1718 d_print_append_buffer, d_print_error, cplus_demangle_print, 1719 d_print_comp, d_print_java_identifier, d_print_mod_list, 1720 d_print_mod, d_print_function_type, d_print_array_type, 1721 d_print_expr_op, d_print_cast, cplus_demangle_init_info, 1722 d_demangle, __cxa_demangle, cplus_demangle_v3, java_demangle_v3, 1723 is_ctor_or_dtor, is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor, 1724 print_usage, main): 1725 17262005-03-26 Gabriel Dos Reis <gdr@integrable-solutions.net> 1727 1728 Convert libiberty to ISO C prototype style 1/n. 1729 * _doprnt.c: Remove conditional #include <varargs.h> on 1730 ANSI_PROTOTYPES as the latter is always assumed. 1731 (_doprnt, checkit, main): Use ISO C prototype. 1732 * alloca.c (find_stack_direction, C_alloca): Use ISO C prototype. 1733 * argv.c: Remove conditional #includes on ANSI_PROTOTYPES. 1734 (dupargv, freeargv, buildargv, main): Use ISO C prototype. 1735 * atexit.c (atexit): Likewise 1736 * asprintf.c: Remove conditional include on ANSI_PROTOTYPES. 1737 (asprintf): Use ISO C prototype. 1738 * basename.c (basename): Likewise 1739 * bcmp.c (bcmp): Likewise. 1740 * bcopy.c (bcopy): Likewise. 1741 * bzero.c (bzero): Likewise. 1742 * bsearch.c (bsearch): Likewise. Improve const-correctness. 1743 * choose-temp.c (choose_temp_base): Likewise. 1744 * calloc.c: Remove conditional #include on ANSI_PROTOTYPES. 1745 (calloc): Use ISO C prototype. 1746 * clock.c (clock): Likewise. 1747 * concat.c: Remove conditional #include on ANSI_PROTOTYPES. 1748 (vconcat_length, vconcat_copy, concat_length, concat_copy, 1749 concat_copy2, concat, reconcat, main): Use ISO C prototype. 1750 * copysign.c (copysign): Likewise. 1751 17522005-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 1753 1754 * Makefile.in (CFILES): Add strndup.c and xstrndup.c. 1755 (REQUIRED_OFILES): Add xstrndup.o. 1756 (CONFIGURED_OFILES): Add strndup.o. 1757 Regenerate dependencies. 1758 1759 * configure.ac (funcs, AC_CHECK_FUNCS): Add strndup. 1760 1761 * strndup.c, xstrndup.c: New. 1762 1763 * config.in, configure, functions.texi: Regenerate. 1764 17652005-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 1766 1767 * xmemdup.c, xstrdup.c: Expose the tail call. 1768 17692005-03-09 Mark Mitchell <mark@codesourcery.com> 1770 1771 * configure.ac (funcs): Add gettimeofday. 1772 * configure: Regenerated. 1773 * gettimeofday.c: New file. 1774 * Makefile.in (CFILES): Add gettimeofday. 1775 (CONFIGURED_OFILES): Add gettimeofday.o. 1776 (./gettimeofday.o): New rule. 1777 17782005-03-09 Ian Lance Taylor <ian@airs.com> 1779 1780 * pex-os2.c: Remove. 1781 * configure.ac: Remove *-*-os2-emx* case when setting pexecute. 1782 * Makefile.in (CFILES): Remove pex-os2.c. 1783 (CONFIGURED_OFILES): Remove pex-os2.o. 1784 (pex-os2.o): Remove target. 1785 * configure: Rebuild. 1786 17872005-03-07 Ian Lance Taylor <ian@airs.com> 1788 1789 * mpw-config.in: Remove. 1790 * mpw-make.sed: Remove. 1791 * mpw.c: Remove. 1792 * Makefile.in (CFILES): Remove pex-mpw.c. 1793 (CONFIGURED_OFILES): Remove pex-mpw.o. 1794 (mpw.o, pex-mpw.o): Remove targets. 1795 * maint-tool (undoc): Remove reference to mpw.c. 1796 17972005-03-06 DJ Delorie <dj@redhat.com> 1798 1799 * configure.ac (target_header_dir): vfork is a stub under djgpp. 1800 * configure: Regenerated. 1801 18022005-03-01 Jan Beulich <jbeulich@novell.com> 1803 1804 * Makefile.in (CFILES): Add unlink-if-ordinary.c 1805 (REQUIRED_OFILES): Add unlink-if-ordinary.o. 1806 Add dependencies and rule for unlink-if-ordinary.o. 1807 * unlink-if-ordinary.c: New. 1808 18092005-03-01 Ben Elliston <bje@au.ibm.com> 1810 1811 * hashtab.c (htab_find_slot_with_hash): Make function 1812 documentation clearer. 1813 18142005-02-13 Jason Merrill <jason@redhat.com> 1815 1816 * cp-demangle.c (__cxa_demangle): Change resolution of ambiguous 1817 arguments. 1818 18192005-01-11 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de> 1820 1821 * hex.c (hex_value): Group 'unsigned int' together to get correct 1822 markup. 1823 * functions.texi: Regenerated. 1824 18252004-12-27 H.J. Lu <hongjiu.lu@intel.com> 1826 1827 * Makefile.in: Undo to 2004-12-17. 1828 * aclocal.m4: Likewise. 1829 * config.table: Likewise. 1830 * configure.ac: Likewise. 1831 * maint-tool: Likewise. 1832 * configure: Likewise. 1833 18342004-12-19 H.J. Lu <hongjiu.lu@intel.com> 1835 1836 PR bootstrap/19072 1837 * Makefile.in (enable_shared): New substitute. 1838 (LTTARGETLIB): New. 1839 (PREFIXTARGETLIB): New. 1840 (LTTESTLIB): New. 1841 (PREFIXTESTLIB): New. 1842 (CCLD): New. 1843 (LINK): New. 1844 ($(TARGETLIB)): Use $(LINK) to create libraries and create 1845 targets by hand. 1846 ($(TESTLIB)): Likewise. 1847 (mostlyclean): Don't remove .libs. Remove the libtool object 1848 directory. 1849 1850 * config.table (enable_shared): Removed. 1851 1852 * configure.ac (enable_static): Set to yes. 1853 (AC_PROG_LIBTOOL): Removed. 1854 (AM_DISABLE_SHARED): Uncommented. 1855 (AM_PROG_LIBTOOL): Likewise. 1856 (LIBOBJS): Add `./' to avoid VPATH. 1857 (LTLIBOBJS): Likewise. 1858 (enable_shared): Substitute. 1859 * configure: Regenerated. 1860 18612004-12-18 H.J. Lu <hongjiu.lu@intel.com> 1862 1863 * Makefile.in (top_builddir): Set to `.'. 1864 (OUTPUT_OPTION): Removed. 1865 (LIBTOOL): New. 1866 (LTLIBOBJS): New. 1867 (EXTRA_LTOFILES): New. 1868 (FLAGS_TO_PASS): Add EXTRA_LTOFILES. 1869 (all): Remove stamp-picdir. 1870 (LTCOMPILE): New. 1871 (.c.lo): New rule. 1872 (REQUIRED_LTOFILES): New. 1873 (CONFIGURED_LTOFILES): New. 1874 ($(TARGETLIB)): Check .libs for PIC object files. Depend on 1875 $(REQUIRED_LTOFILES) $(EXTRA_LTOFILES) $(LTLIBOBJS). 1876 (stamp-picdir): Completely removed. 1877 (maint-missing): Pass $(REQUIRED_LTOFILES) 1878 $(CONFIGURED_LTOFILES) instead of (REQUIRED_OFILES) 1879 $(CONFIGURED_OFILES) 1880 (maint-buildall): Depend on $(REQUIRED_LTOFILES) 1881 $(CONFIGURED_LTOFILES). 1882 (mostlyclean): Also remove *.lo .libs. 1883 Run "make maint-deps". 1884 1885 * aclocal.m4: Include ../libtool.m4. 1886 1887 * config.table: Don't check --enable-shared. 1888 1889 * configure.ac (AC_PROG_LIBTOOL): Add. 1890 (AC_PROG_CC_C_O): Removed. 1891 (OUTPUT_OPTION): Removed. 1892 (NO_MINUS_C_MINUS_O): Removed. 1893 (ltpexecute): New substitute. 1894 (LIBOBJS): Cleanup. 1895 * configure: Regenerated. 1896 1897 * maint-tool: Updated for .lo/libtool. 1898 18992004-12-11 Ben Elliston <bje@au.ibm.com> 1900 1901 * configure.ac: Invoke AC_CHECK_SIZEOF for sizeof (int). 1902 * configure: Regenerate. 1903 * config.in: Likewise. 1904 19052004-12-07 DJ Delorie <dj@redhat.com> 1906 1907 * splay-tree.c (splay_tree_delete_helper): Redesign the logic so 1908 that recursion (and thus large stack space) is not needed. 1909 19102004-11-29 Matt Kraai <kraai@alumni.cmu.edu> 1911 1912 * pex-unix.c: Fix the spelling of longjmp. 1913 19142004-11-23 Ian Lance Taylor <ian@wasabisystems.com> 1915 1916 PR other/18623 1917 * cp-demangle.c (d_call_offset): Remove useless local variables 1918 offset and virtual_offset. 1919 * cplus-dem.c (ada_demangle): Remove useless local variable 1920 at_start_name. 1921 (demangle_template): Remove useless local variable start. 1922 19232004-11-19 Roger Sayle <roger@eyesopen.com> 1924 1925 * objalloc.c, strsignal.c, xstrerror.c: Include "config.h" before 1926 "ansidecl.h" to avoid redeclaration errors with native compilers. 1927 * regex.c: Protect config.h from multiple inclusion. 1928 19292004-11-12 Mike Stump <mrs@apple.com> 1930 1931 * Makefile.in (libiberty.html): Fix html generation. 1932 19332004-09-08 Adam Nemet <anemet@lnxw.com> 1934 1935 * vasprintf.c: Accept __va_copy in addition to va_copy. 1936 19372004-09-03 Paolo Bonzini <bonzini@gnu.org> 1938 1939 * configure: Regenerate. 1940 19412004-09-02 Paolo Bonzini <bonzini@gnu.org> 1942 1943 * configure.ac: Do not enable multilibs for build-side libiberty. 1944 19452004-06-29 Danny Smith <dannysmith@users.sourceforge.net> 1946 1947 * lrealpath.c (lrealpath): Add _WIN32 support. 1948 19492004-06-28 Zack Weinberg <zack@codesourcery.com> 1950 1951 * cp-demangle.h: Declare cplus_demangle_operators, 1952 cplus_demangle_builtin_types, cplus_demangle_mangled_name, and 1953 cplus_demangle_type as static if IN_GLIBCPP_V3. 1954 19552004-06-28 Ian Lance Taylor <ian@wasabisystems.com> 1956 1957 PR other/16240 1958 * cp-demangle.c (d_expr_primary): Check for a failure return from 1959 cplus_demangle_type. 1960 * testsuite/demangle-expected: Add test case. 1961 19622004-05-31 Danny Smith <dannysmith@users.sourceforge.net> 1963 1964 * pex-win32.c (fix_argv): Expand comment. 1965 19662004-05-25 Daniel Jacobowitz <drow@false.org> 1967 1968 * Makefile.in: Add .NOEXPORT. 1969 19702004-04-29 Douglas B Rupp <rupp@gnat.com> 1971 1972 * mkstemps.c (mkstemps) [VMS]: Remove special open option. Update 1973 copyright. 1974 19752004-04-26 Maciej W. Rozycki <macro@ds2.pg.gda.pl> 1976 1977 * configure.ac (UNSIGNED_64BIT_TYPE): Unquote the definition. 1978 * configure: Regenerate. 1979 19802004-04-22 Richard Henderson <rth@redhat.com> 1981 1982 * hashtab.c: Include limits.h, stdint.h, ansidecl.h. 1983 (CHAR_BIT): Provide default. 1984 (struct prime_ent, prime_tab): New. 1985 (higher_prime_index): Rename from higher_prime_number, return index. 1986 (htab_mod_1): New. 1987 (htab_mod, htab_mod_m2): Use it. 1988 (htab_create_alloc, htab_create_alloc_ex): Store prime index. 1989 (htab_expand): Likewise. 1990 * configure.ac: Check for stdint.h. 1991 (UNSIGNED_64BIT_TYPE): New define and checks to fill it in. 1992 * config.in, configure: Rebuild. 1993 19942004-04-13 Ian Lance Taylor <ian@wasabisystems.com> 1995 1996 * strerror.c: Include config.h, and redefine sys_nerr and 1997 sys_errlist, before including ansidecl.h and libiberty.h. 1998 19992004-04-13 Jeff Law <law@redhat.com> 2000 2001 * hashtab.c (htab_remove_elt_with_hash): New function. 2002 (htab_remove_elt): Implement in terms of htab_remove_elt_with_hash. 2003 20042004-03-31 Richard Henderson <rth@redhat.com> 2005 2006 * hashtab.c (htab_size): Move to top of file; mark inline. 2007 (htab_elements): Likewise. 2008 (htab_mod, htab_mod_m2): New. 2009 (htab_delete): Refactor htab->size and htab->entries. 2010 (htab_empty): Likewise. 2011 (find_empty_slot_for_expand): Use htab_size, htab_mod, htab_mod_m2. 2012 (htab_find_with_hash, htab_find_slot_with_hash): Likewise. 2013 (htab_clear_slot): Use htab_size, htab_elements. 2014 (htab_traverse_noresize, htab_traverse): Likewise. 2015 20162004-03-17 Ian Lance Taylor <ian@wasabisystems.com> 2017 2018 * pex-unix.c (pexecute): Use vfork instead of fork, with 2019 appropriate changes to make this safe. 2020 * pex-common.h (STDERR_FILE_NO): Define. 2021 2022 * Makefile.in: Clean up REQUIRED_OFILES and CONFIGURED_OFILES for 2023 an 80 column screen. Run maint-deps. 2024 20252004-03-09 Kelley Cook <kcook@gcc.gnu.org> 2026 2027 * configure.ac: Bump version to 2.59. Apply suggested autoupdates. 2028 * acconfig.h: Delete redundant file. 2029 * config.in: Regenerate. 2030 * configure: Regenerate. 2031 20322004-03-09 Hans-Peter Nilsson <hp@axis.com> 2033 2034 * configure: Regenerate for config/accross.m4 correction. 2035 20362004-03-07 Andreas Jaeger <aj@suse.de> 2037 2038 * testsuite/test-demangle.c: Include <string.h> and <stdlib.h> for 2039 prototypes. 2040 (main): Initialize style. 2041 20422004-02-24 Ian Lance Taylor <ian@wasabisystems.com> 2043 2044 * cp-demangle.h (enum d_builtin_type_print): Add D_PRINT_UNSIGNED, 2045 D_PRINT_UNSIGNED_LONG, D_PRINT_LONG_LONG, 2046 D_PRINT_UNSIGNED_LONG_LONG, D_PRINT_FLOAT. 2047 * cp-demangle.c (cplus_demangle_builtin_types): Change char and 2048 short types to D_PRINT_DEFAULT. Change other integer types to use 2049 new D_PRINT_* values where appropriate. Change float types to 2050 D_PRINT_FLOAT. 2051 (d_print_comp) [LITERAL, LITERAL_NEG]: Handle new D_PRINT_* 2052 values. 2053 * testsuite/demangle-expected: Adjust two test cases. 2054 2055 * cp-demangle.c (d_print_function_type): Print a space before the 2056 parenthesis around the function type in more cases. 2057 * testsuite/demangle-expected: Adjust one test case. 2058 2059 * cp-demangle.c (d_print_comp) [UNARY]: Don't emit extra 2060 parentheses around a cast. 2061 * testsuite/demangle-expected: Adjust two test cases to match new 2062 output. 2063 2064 * cp-demangle.c (__cxa_demangle): Pass DMGL_PARAMS to d_demangle. 2065 2066 * cp-demangle.c (d_print_comp) [RESTRICT, VOLATILE, CONST]: Don't 2067 push more than one of the same CV-qualifier on the top of the 2068 stack. 2069 (d_print_comp) [ARRAY_TYPE]: If the array itself is CV-qualified, 2070 move the CV-qualifiers to apply to the element type instead. 2071 (d_print_array_type): When checking the modifiers, keep looking 2072 past ones which have been printed already. 2073 * testsuite/demangle-expected: Add three test cases. 2074 20752004-02-23 Ian Lance Taylor <ian@wasabisystems.com> 2076 2077 * cp-demangle.c (__cxa_demangle): Adjust last patch to handle 2078 empty string correctly. 2079 2080 * cp-demangle.c (__cxa_demangle): It is not an error if status is 2081 not NULL. It is an error if the mangled name is the same as a 2082 built-in type name. 2083 (main): If IN_GLIBCPP_V3 is defined, test __cxa_demangle rather 2084 than cplus_demangle_v3. 2085 2086 * dyn-string.c: Remove test of IN_LIBGCC2 and IN_GLIBCPP_V3 and 2087 the associated #define of RETURN_ON_ALLOCATION_FAILURE. 2088 20892004-02-16 Matt Kraai <kraai@alumni.cmu.edu> 2090 2091 * regex.c: Include <ansidecl.h>. 2092 (regcomp): Cast i to int. 2093 (regerror): Add ATTRIBUTE_UNUSED to parameter preg. 2094 20952004-01-25 Ian Lance Taylor <ian@wasabisystems.com> 2096 2097 * configure.ac: Add m4_pattern_allow(LIBOBJS). 2098 * configure: Regenerate. 2099 21002004-01-22 DJ Delorie <dj@redhat.com> 2101 2102 * Makefile.in: Convert to ./ throughout. Rebuild dependencies 2103 with explicit build rules. 2104 (VPATH): Remove. 2105 (.c.o): Poison. 2106 * configure.ac (pexecute, LIBOBJS): Add ./ . 2107 * maint-tool: Build dependencies with explicit rules. 2108 21092004-01-15 Kazu Hirata <kazu@cs.umass.edu> 2110 2111 * strdup.c (strdup): Constify the argument. 2112 21132004-01-14 Loren J. Rittle <ljrittle@acm.org> 2114 2115 * Makefile.in (distclean): Remove config.cache. 2116 21172004-01-13 Daniel Jacobowitz <drow@mvista.com> 2118 2119 * cp-demangle.c (d_make_comp): DEMANGLE_COMPONENT_CONSTRUCTION_VTABLE 2120 takes two parameters. 2121 * cp-demint.c (cplus_demangle_fill_component): Likewise. 2122 21232004-01-12 Ian Lance Taylor <ian@wasabisystems.com> 2124 2125 * cp-demangle.c: Include "cp-demangle.h". If IN_GLIBCPP_V3 is 2126 defined, rename some functions which are to become static via 2127 #define. 2128 (CP_STATIC_IF_GLIBCPP_V3): Define. 2129 (struct d_operator_info): Move definition to cp-demangle.h, and 2130 rename to demangle_operator_info. Change all uses. 2131 (enum d_builtin_type_print): Move definition to cp-demangle.h. 2132 (struct d_builtin_type_info): Move definition to cp-demangle.h, 2133 and rename to demangle_builtin_type_info. Change all uses. 2134 (enum d_comp_type): Move definition to include/demangle.h, and 2135 rename to demangle_component_type, and change all enums to start 2136 with DEMANGLE_COMPONENT_ instead of D_. Change all uses. 2137 (struct d_comp): Move definition to include/demangle.h, and rename 2138 to demangle_component. Change all uses. 2139 (struct d_info): Move definition to cp-demangle.h. 2140 (cplus_demangle_fill_name): New function. 2141 (cplus_demangle_fill_extended_operator): New function. 2142 (cplus_demangle_fill_ctor): New function. 2143 (cplus_demangle_fill_dtor): New function. 2144 (d_make_empty): Remove type parameter. Change all callers. 2145 (d_make_name): Use cplus_demangle_fill_name. 2146 (d_make_extended_operator): Use 2147 cplus_demangle_fill_extended_operator. 2148 (d_make_ctor): Use cplus_demangle_fill_ctor. 2149 (d_make_dtor): Use cplus_demangle_fill_dtor. 2150 (cplus_demangle_mangled_name): Rename from d_mangled_name. Make 2151 non-static by default. Change all callers. 2152 (cplus_demangle_operators): Rename from d_operators. Change all 2153 uses. Make non-static by default. Add sentinel at end of array. 2154 (d_operator_name): Adjust initialization of high for new sentinel 2155 in cplus_demangle_operators. 2156 (cplus_demangle_builtin_types): Rename from d_builtin_types. 2157 Change all uses. Make non-static by default. Change initializer 2158 to use D_BUILTIN_TYPE_COUNT instead of magic number 26. 2159 (cplus_demangle_type): Rename from d_type. Make non-static by 2160 default. Change all callers. 2161 (cplus_demangle_init_info): Rename from d_init_info. Make 2162 non-static by default. Change all callers. 2163 * cp-demangle.h: New file. 2164 * cp-demint.c: New file. 2165 * Makefile.in: Rebuild dependencies. 2166 (CFILES): Add cp-demint.c. 2167 (REQUIRED_OFILES): Add cp-demint.o. 2168 21692004-01-09 Kelley Cook <kcook@gcc.gnu.org> 2170 2171 * configure.in: Rename file to ... 2172 * configure.ac: ... this. 2173 * Makefile.in: Update a comment for above change. 2174 * README: Likewise. 2175 * config.in: Regenerate. 2176 21772004-01-02 Ian Lance Taylor <ian@wasabisystems.com> 2178 2179 * cp-demangle.c (d_encoding): When DMGL_PARAMS is not set, strip 2180 CV-qualifiers from D_COMP_LOCAL_NAME right subtree. 2181 * cplus-dem.c (demangle_arm_hp_template): Set DMGL_PARAMS when 2182 demangling template parameters. 2183 * testsuite/test-demangle.c (fail): New static function. 2184 (main): Support new options in input file: --no-params, 2185 --is-v3-ctor, and --is-v3-dtor. 2186 * testsuite/demangle-expected: Add --no-params to most tests, and 2187 add the correct result when parameters are not demangled. Add 2188 some simple tests for V3 constructor/destructor recognition. 2189 21902003-12-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2191 2192 * cp-demangle.c (is_ctor_or_dtor): Fix error in last change. 2193 21942003-12-22 Daniel Jacobowitz <drow@mvista.com> 2195 2196 PR debug/13272 2197 * Makefile.in (lbasename.o): Depend on filenames.h. 2198 * lbasename.c: Include "filenames.h" instead of defining 2199 its macros locally. 2200 22012003-12-22 Ian Lance Taylor <ian@wasabisystems.com> 2202 2203 * cp-demangle.c (CP_DYNAMIC_ARRAYS): Define if compiler supports 2204 dynamic arrays. 2205 (struct d_operator_info): Add len field. 2206 (struct d_builtin_type_info): Add len and java_len fields. 2207 (struct d_standard_sub_info): Add simple_len, full_len, and 2208 set_last_name_len fields. 2209 (struct d_comp): Add len field to s_string. 2210 (struct d_info): Add send, did_subs, and expansion fields. 2211 (d_append_string_constant): Define. 2212 (d_append_string): Remove. Change all users to use 2213 d_append_string_constant or d_append_buffer instead. 2214 (d_make_sub): Add len parameter. Change all callers. 2215 (d_name): Increase expansion when substituting std::. 2216 (d_unqualified_name): Increase expansion for an operator. 2217 (d_number): Don't use multiplication for negative numbers. 2218 (d_identifier): Make sure there are enough characters in the 2219 string for the specified length. Adjust expansion for an 2220 anonymous namespace. 2221 (d_operators): Initialize len field. 2222 (d_special_name, d_ctor_dtor_name): Increase expansion. 2223 (d_builtin_types): Initialize len and java_len fields. 2224 (d_type): Increase expansion for a builtin type. 2225 (d_cv_qualifiers): Increase expansion for each qualifier. 2226 (d_bare_function_type): Decrease expansion when removing single 2227 void parameter. 2228 (d_template_param): Increment did_subs. 2229 (d_expression): Increase expansion for an operator. 2230 (d_expr_primary): Decrease expansion for a type we will print 2231 specially. 2232 (standard_subs): Initialize new fields. 2233 (d_substitution): Increment did_subs when doing a normal 2234 substitution. Increase expansion for a special substitution. 2235 (d_print): Add estimate parameter. Change all callers. 2236 (d_print_comp) [D_COMP_NAME]: Handle C++ case inline. 2237 (d_print_comp) [D_COMP_BINARY]: Use length to avoid strcmp call. 2238 (d_print_java_identifier): Rename from d_print_identifier. Handle 2239 only Java case. Change caller. 2240 (d_init_info): Change return type to void. Change all callers. 2241 Initialize send, did_subs, and expansion fields. Do not 2242 initialize comps and subs fields. 2243 (d_demangle): Ifdef CP_DYNAMIC_ARRAYS, allocate comps and subs 2244 arrays on stack. Make an estimate of the length of the demangled 2245 name. Ifdef CP_DEMANGLE_DEBUG, print estimation failures. 2246 (is_ctor_or_dtor): Ifdef CP_DYNAMIC_ARRAYS, allocate comps and 2247 subs arrays on stack. 2248 22492003-12-20 Ian Lance Taylor <ian@wasabisystems.com> 2250 2251 * cp-demangle.c (d_identifier): In Java mode, skip an optional '$' 2252 after the identifier. 2253 * testsuite/demangle-expected: Add test case. 2254 22552003-12-19 Ian Lance Taylor <ian@wasabisystems.com> 2256 2257 Fix for PR c++/13447: 2258 * cp-demangle.c (enum d_comp_type): Add D_COMP_LOCAL_NAME. 2259 (d_dump, d_make_comp): Handle D_COMP_LOCAL_NAME. 2260 (is_ctor_dtor_or_conversion): Handle D_COMP_LOCAL_NAME like 2261 D_COMP_QUAL_NAME. 2262 (is_ctor_or_dtor): Likewise. 2263 (d_local_name): Use D_COMP_LOCAL_NAME rather than 2264 D_COMP_QUAL_NAME. 2265 (d_print_comp) [D_COMP_LOCAL_NAME]: New. 2266 (d_prinT_comp) [D_COMP_TYPED_NAME]: If the left tree is 2267 D_COMP_LOCAL_NAME, pull any qualifiers off its right subtree. 2268 (d_print_mod_list): Handle D_COMP_LOCAL_NAME. 2269 * testsuite/demangle-expected: Add two test cases. 2270 2271 * cp-demangle.c (d_print_function_type): Clear the global modifier 2272 list when printing the modifiers, not just when printing the 2273 function parameters. 2274 * testsuite/demangle-expected: Add two test cases. 2275 22762003-12-15 Ian Lance Taylor <ian@wasabisystems.com> 2277 2278 * cp-demangle.c (d_print_function_type): Print the function 2279 parameters with no modifiers. 2280 * testsuite/demangle-expected: Add test case. 2281 2282 * cp-demangle.c (d_demangle): If DMGL_PARAMS is not set, don't 2283 expect that we've read the entire string. 2284 (is_ctor_or_dtor): Don't expect that we've read the entire 2285 string--reverse patch of 2003-11-29. 2286 22872003-12-15 Brendan Kehoe <brendan@zen.org> 2288 2289 * libiberty/Makefile.in (floatformat.o): Add dependency on 2290 config.h to accompany change of 2003-12-03. 2291 22922003-12-15 Ian Lance Taylor <ian@wasabisystems.com> 2293 2294 Fix handling of constructor/destructor of standard substitution: 2295 * cp-demangle.c (struct d_standard_sub_info): Define. 2296 (d_substitution): Add prefix argument. Change all callers. 2297 Rework handling of standard substitutions to print full name when 2298 qualifying a constructor/destructor, or when DMGL_VERBOSE is set. 2299 * testsuite/demangle-expected: Add test case. 2300 2301 Fix handling of negative literal constants: 2302 * cp-demangle.c (enum d_comp_type): Add D_COMP_LITERAL_NEG. 2303 (d_dump, d_make_comp): Handle D_COMP_LITERAL_NEG. 2304 (d_expr_primary): Use D_COMP_LITERAL_NEG for a negative number. 2305 (d_print_comp): Handle D_COMP_LITERAL_NEG. 2306 * testsuite/demangle-expected: Add test case. 2307 23082003-12-04 Ian Lance Taylor <ian@wasabisystems.com> 2309 2310 * cp-demangle.c (IS_UPPER, IS_LOWER): Define. 2311 (d_last_char): Define new macro. 2312 (d_make_name): Reject an empty name. 2313 (d_prefix, d_unqualified_name, d_type): Use new IS_* macros. 2314 (d_substitution, d_print_identifier): Likewise. 2315 (d_print_comp) [D_COMP_OPERATOR]: Likewise. 2316 (d_print_comp) [D_COMP_TEMPLATE]: Use new d_last_char macro. 2317 (d_print_mod) Use new d_last_char macro. 2318 (d_print_cast): Use new d_last_char macro. 2319 (is_ctor_or_dtor): Don't leak memory. 2320 2321 Fix handling of member function modifiers: 2322 * cp-demangle.c (enum d_comp_type): Add D_COMP_RESTRICT_THIS, 2323 D_COMP_VOLATILE_THIS, and D_COMP_CONST_THIS. 2324 (d_dump): Dump new d_comp_type values. 2325 (d_make_comp): Accept new d_comp_type values. 2326 (has_return_type): Only accept _THIS variants of qualifiers. 2327 (d_encoding): Without DMGL_PARAMS, only remove _THIS variants of 2328 qualifiers. 2329 (d_cv_qualifiers): Add member_fn parameter. Change all callers. 2330 (d_print_comp) [D_COMP_TYPED_NAME]: Rather than removing 2331 qualifiers and printing them at the end, add _THIS qualifiers to 2332 the modifier list. 2333 (d_print_comp) [D_COMP_*_THIS]: New cases. 2334 (d_print_comp) [D_COMP_PTRMEM_TYPE]: Remove special handling of 2335 qualifiers. 2336 (d_print_mod_list): Add suffix parameter. Change all callers. 2337 Keep walking the list even if the current modifier has been 2338 printed. 2339 (d_print_mod): Handle new _THIS qualifiers. 2340 (d_print_function_type): Handle new _THIS qualifiers when deciding 2341 whether to print a parenthesis. Put a space before the 2342 parenthesis in some cases. Call d_print_mod_list again at the 2343 end, passing suffix as 1. 2344 (is_ctor_or_dtor): Look for new _THIS qualifiers. 2345 * testsuite/demangle-expected: Add test case. 2346 2347 Fix for PR gcc/13304: 2348 * cp-demangle.c (d_print_comp) [D_COMP_TEMPLATE]: If the character 2349 before the '<' is itself a '<', insert a space. 2350 (d_print_cast): Likewise. 2351 * testsuite/demangle-expected: Add test case. 2352 2353 Fix for PR gcc/13244: 2354 * cp-demangle.c (d_print_comp) [D_COMP_BINARY]: Wrap an expression 2355 which uses the '>' operator in an extra layer of parens. 2356 * testsuite/demangle-expected: Add test case. 2357 23582003-12-03 Ian Lance Taylor <ian@wasabisystems.com> 2359 2360 * floatformat.c: Include "config.h" and <string.h> if available. 2361 (INFINITY, NAN): Define if not defined by <math.h>. 2362 (floatformat_to_double): Handle NaN, infinity, and denormalized 2363 numbers. 2364 (floatformat_from_double): Likewise. 2365 (ieee_test): In debugging code, use little endian rather than big 2366 endian. Correct tests to handle NaN and to check correct sign of 2367 zero. Omit m68k extended test. 2368 (main): Add more debugging cases. 2369 23702003-11-29 Ian Lance Taylor <ian@wasabisystems.com> 2371 2372 * cp-demangle.c (d_demangle): Only return success if we consumed 2373 the entire demangled string. 2374 (is_ctor_or_dtor): Likewise. 2375 2376 * testsuite/demangle-expected: Revert one part of 2003-06-26 patch 2377 to restore expected result of EDG test case to original expected 2378 result. 2379 23802003-11-26 Ian Lance Taylor <ian@wasabisystems.com> 2381 2382 * cp-demangle.c (struct d_print_mod): Add templates field. 2383 (d_make_builtin_type): Check for NULL type. 2384 (d_make_extended_operator): Check for NULL name. 2385 (d_make_ctor, d_make_dtor): Likewise. 2386 (d_mangled_name): Add top_level parameter. Change all callers. 2387 (d_encoding): If DMGL_PARAMS is not set, strip off initial 2388 CV-qualifiers. 2389 (d_type): Check some return values we rely on. 2390 (d_bare_function_type, d_array_type): Likewise. 2391 (d_pointer_to_member_type, d_template_args): Likewise. 2392 (d_add_substitution): Fail if argument is NULL. 2393 (d_print_resize): Check whether buf is NULL. 2394 (d_print_comp): Save current templates list with each modifier. 2395 Don't pass the modifier list down when printing a template. 2396 (d_print_cast): Don't pass the modifier list down when printing a 2397 template. 2398 (d_print_mod_list): Temporarily set templates list while printing 2399 a modifier. 2400 (d_print_mod): Check that buf is not NULL before using it. 2401 (d_print_function_type): Print parens if there is no modifier. 2402 (d_init_info): Permit as many substitutions as there are 2403 characters in the mangled name. 2404 * testsuite/demangle-expected: Add two new test cases. 2405 24062003-11-25 Ian Lance Taylor <ian@wasabisystems.com> 2407 2408 * cp-demangle.c (java_demangle_v3): Pass DMGL_PARAMS to 2409 d_demangle. 2410 24112003-11-22 Ian Lance Taylor <ian@wasabisystems.com> 2412 2413 * cp-demangle.c (d_encoding): Add top_level parameter. Change all 2414 callers. 2415 (print_usage): Display new -p option. 2416 (long_options): Add --no-params. 2417 (main): Accept and handle -p. 2418 24192003-11-21 Ian Lance Taylor <ian@wasabisystems.com> 2420 2421 * cp-demangle.c (has_return_type): Skip qualifiers when checking 2422 whether we have a template. 2423 * testsuite/demangle-expected: Add four new tests. 2424 24252003-11-20 Ian Lance Taylor <ian@wasabisystems.com> 2426 2427 * testsuite/demangle-expected: Minor changes to match output of 2428 new demangler: adjust whitespace in four tests, and change order 2429 of qualifiers in one test. 2430 2431 * cp-demangle.c: Complete rewrite. 2432 24332003-11-19 Mark Mitchell <mark@codesourcery.com> 2434 2435 * cp-demangle.c (demangle_type): Correct thinko in substitution 2436 processing. 2437 24382003-11-18 Ian Lance Taylor <ian@wasabisystems.com> 2439 2440 * cp-demangle.c (demangle_operator_name): Remove space before 2441 "sizeof". 2442 (demangle_type_ptr): Put qualifiers in the right place. Handle 2443 qualifiers in pointer to member specially. 2444 (demangle_type): Handle qualifiers for pointer or reference 2445 specially. Handle function type. 2446 (demangle_local_name): Save and restore caret around demangling of 2447 initial encoding. 2448 2449 * testsuite/test-demangle.c (main): Don't pass DMGL_VERBOSE to 2450 cplus_demangle. 2451 2452 * testsuite/Makefile.in (test-demangle): Depend upon libiberty.a. 2453 24542003-10-31 Andreas Jaeger <aj@suse.de> 2455 2456 * floatformat.c (floatformat_always_valid): Add unused attribute. 2457 24582003-10-30 Josef Zlomek <zlomekj@suse.cz> 2459 2460 Jan Hubicka <jh@suse.cz> 2461 * vasprintf.c (int_vasprintf): Pass va_list by value. 2462 Use va_copy for copying va_list. 2463 (vasprintf): Pass va_list by value. 2464 24652003-10-30 Josef Zlomek <zlomekj@suse.cz> 2466 2467 * hashtab.c (htab_find_slot_with_hash): Decrease n_deleted 2468 instead of increasing n_elements when inserting to deleted slot. 2469 24702003-10-20 J. Brobecker <brobecker@gnat.com> 2471 2472 * cplus-dem.c (demangle_template): Register a new Btype only 2473 when needed. 2474 * testsuite/demangle-expected: Add a new test. 2475 24762003-10-16 H.J. Lu <hongjiu.lu@intel.com> 2477 2478 * testsuite/demangle-expected: Update the expected output of 2479 _GLOBAL__I__Z2fnv. 2480 24812003-10-02 Daniel Jacobowitz <drow@mvista.com> 2482 2483 * strerror.c: Revert last change. Declare static sys_nerr 2484 and sys_errlist using different names. 2485 24862003-10-01 Daniel Jacobowitz <drow@mvista.com> 2487 2488 * strerror.c: Don't provide or reference sys_errlist if 2489 strerror is available. 2490 24912003-10-01 H.J. Lu <hongjiu.lu@intel.com> 2492 2493 * configure.in: Check if $MAKEINFO is missing. 2494 * configure: Regenerated. 2495 24962003-09-24 Daniel Jacobowitz <drow@mvista.com> 2497 2498 * configure.in: Use AC_PROG_CPP_WERROR. 2499 * configure: Regenerated. 2500 25012003-09-22 Andrew Cagney <cagney@redhat.com> 2502 2503 * floatformat.c (floatformat_i387_ext_is_valid): New function. 2504 (floatformat_always_valid): New function. 2505 (floatformat_i387_ext): Initialize new "is_valid" field to 2506 "floatformat_i387_ext_is_valid". 2507 (floatformat_ieee_single_little): Initialize "is_valid" field to 2508 floatformat_always_valid. 2509 (floatformat_ieee_double_big): Ditto. 2510 (floatformat_ieee_double_little): Ditto. 2511 (floatformat_ieee_double_little): Ditto. 2512 (floatformat_ieee_double_littlebyte_bigword): Ditto. 2513 (floatformat_i960_ext): Ditto. 2514 (floatformat_m88110_ext): Ditto. 2515 (floatformat_m88110_harris_ext): Ditto. 2516 (floatformat_arm_ext_big): Ditto. 2517 (floatformat_arm_ext_littlebyte_bigword): Ditto. 2518 (floatformat_ia64_spill_big): Ditto. 2519 (floatformat_ia64_spill_little): Ditto. 2520 (floatformat_ia64_quad_big): Ditto. 2521 (floatformat_ia64_quad_little): Ditto. 2522 (floatformat_ia64_quad_little): Ditto. 2523 (floatformat_is_valid): Call "is_valid". 2524 25252003-09-15 Andrew Cagney <cagney@redhat.com> 2526 2527 * floatformat.c (get_field): Make "data" constant. 2528 (floatformat_is_valid, floatformat_to_double): Make "from" 2529 constant, fix casts. 2530 (floatformat_from_double): Make "from" constant. 2531 25322003-09-15 Daniel Jacobowitz <drow@mvista.com> 2533 2534 * floatformat.c (floatformat_is_valid): New function. 2535 (get_field, put_field): Correct comments. 2536 25372003-09-06 Josef Zlomek <zlomekj@suse.cz> 2538 2539 * fibheap.c (fibheap_replace_key_data): Change type of OKEY to 2540 FIBHEAPKEY_T. 2541 25422003-09-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> 2543 2544 PR bootstrap/12100 2545 * aclocal.m4 (AC_LANG_FUNC_LINK_TRY): Define. 2546 * configure: Rebuilt. 2547 25482003-08-27 Daniel Jacobowitz <drow@mvista.com> 2549 2550 * aclocal.m4: Include acx.m4 and no-executables.m4. 2551 (libiberty_AC_FUNC_STRNCMP): Use AC_LIBOBJ. 2552 (LIB_AC_PROG_CC): Remove. 2553 * configure.in: Update AC_PREREQ to 2.57. Use GCC_NO_EXECUTABLES. 2554 Use AC_PROG_CC and set ac_libiberty_warn_cflags instead of using 2555 LIB_AC_PROG_CC. Use AC_LIBOBJ. Call AC_ISC_POSIX later, only if 2556 performing link tests. 2557 * configure: Regenerated. 2558 25592003-08-12 Nathanael Nerode <neroden@gcc.gnu.org> 2560 2561 * cp-demangle.c: Clarify what package(s) this is part of. 2562 25632003-07-05 Danny Smith <dannysmith@users.sourceforge.net> 2564 2565 * pex-win32.c (pexecute): Mark parameters this_pname and 2566 temp_base as unused. Remove unused variables retries, 2567 sleep_interval. Initialize org_stdin, org_stdout. 2568 (pwait): Mark parameter flags as unused. 2569 25702003-07-02 Danny Smith <dannysmith@users.sourceforge.net> 2571 2572 * pex-win32.c (fix_argv): Ensure that the executable pathname 2573 uses Win32 backslashes. 2574 (pexecute): Cast away constness when assigning *errmsg_arg. 2575 25762003-06-26 H.J. Lu <hongjiu.lu@intel.com> 2577 2578 * testsuite/demangle-expected: Add more GNU V3 testcases. 2579 25802003-06-22 Zack Weinberg <zack@codesourcery.com> 2581 2582 * safe-ctype.c: Use HOST_CHARSET_ASCII and HOST_CHARSET_EBCDIC, 2583 not HC_ASCII and HC_EBCDIC. 2584 Add documentation in form expected by gather-docs. 2585 * hex.c: Use HOST_CHARSET, not hand-coded check of character set. 2586 * Makefile.in, functions.texi: Regenerate. 2587 25882003-06-21 Zack Weinberg <zack@codesourcery.com> 2589 2590 * safe-ctype.c: Separate out EOF==-1 check. Use HOST_CHARSET 2591 for charset determination. 2592 25932003-06-19 Dara Hazeghi <dhazeghi@yahoo.com> 2594 2595 * configure.in: Add check for malloc.h needed by 2596 m68k for function free(). 2597 * configure: Regenerated. 2598 * config.in: Add HAVE_MALLOC_H. 2599 * hashtab.c: include malloc.h were available for 2600 free(). 2601 26022003-06-09 Albert Chin-A-Young <china@thewrittenword.com> 2603 2604 PR bootstrap/10974 2605 * physmem.c: Update comment. 2606 * configure.in: Modify test for _system_configuration for older 2607 AIX systems. 2608 2609 * config.in, configure: Regenerated. 2610 26112003-06-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> 2612 2613 PR other/10810 2614 * test-demangle.c (getline): Fix fence-post error. 2615 26162003-06-03 Nick Clifton <nickc@redhat.com> 2617 2618 * asprintf.c: Change comment to note that -1 is returned upon 2619 error. 2620 * vasprintf.c: Likewise. 2621 (vasprintf): Return -1 upon error. 2622 * functions.texi: Document changes to asprintf and vasprintf. 2623 26242003-05-19 Kelley Cook <kelleycook@wideopenwest.com> 2625 2626 * config.table: Accept i[345867]86 variant. 2627 26282003-05-15 Jim Blandy <jimb@redhat.com> 2629 2630 * hex.c (_hex_value): Make this unsigned. 2631 (hex_value): Update documentation for new return type. hex_value 2632 now expands to an unsigned int expression, to avoid unexpected 2633 sign extension when we store it in a bfd_vma, which is larger than 2634 int on some platforms. 2635 * functions.texi: Regenerated. 2636 26372003-05-07 Josef Zlomek <zlomekj@suse.cz> 2638 2639 * splay-tree.c (splay_tree_predecessor): Fix comment. 2640 (splay_tree_successor): Fix comment. 2641 26422003-05-07 Jason Merrill <jason@redhat.com> 2643 2644 * hashtab.c (iterative_hash): New fn. 2645 * configure.in: Add AC_C_BIGENDIAN_CROSS. 2646 * aclocal.m4: Include accross.m4. 2647 * configure, config.in: Regenerate. 2648 26492003-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2650 2651 * configure.in (AC_CHECK_FUNCS): Don't make multiple calls. 2652 * configure: Regenerate. 2653 26542003-05-03 Carlo Wood <carlo@alinoe.com> 2655 2656 * cp-demangle.c: Fix typo in "char_traints" string-literal. 2657 26582003-04-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2659 2660 * vsnprintf.c (vsnprintf): Don't pad string with extra nulls. 2661 (main): Test that we don't write too much data. 2662 26632003-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2664 2665 * configure.in (funcs, AC_CHECK_FUNCS): Add snprintf and 2666 vsnprintf. 2667 * snprintf.c, vsnprintf.c: New files. 2668 * Makefile.in (CFILES): Add snprintf.c and vsnprintf.c. 2669 (CONFIGURED_OFILES): Add snprintf.o and vsnprintf.o. 2670 Regenerate dependencies. 2671 2672 * functions.texi, configure, config.in: Regenerated. 2673 26742003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2675 2676 * mempcpy.c, stpcpy.c, stpncpy.c: New files. 2677 * configure.in (funcs, AC_CHECK_FUNCS): Add mempcpy, stpcpy 2678 and stpncpy. 2679 * Makefile.in (CFILES): Add mempcpy.c, stpcpy.c and stpncpy.c. 2680 (CONFIGURED_OFILES): Add mempcpy.o, stpcpy.o and stpncpy.o. 2681 Regenerate dependencies. 2682 2683 * functions.texi, configure, config.in: Regenerated. 2684 26852003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2686 2687 * argv.c: Fix comments. 2688 * calloc.c: Don't unnecessarily include "libiberty.h". 2689 (bzero): Add prototype. 2690 * floatformat.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES. 2691 * getcwd.c (getcwd): Use standard definition to avoid conflicts 2692 with system headers. 2693 * hashtab.c (htab_traverse): Delete unused variables. 2694 * rename.c: Include "ansidecl.h". 2695 (rename): Use standard definition to avoid conflicts with system 2696 headers. 2697 * strsignal.c: Rely on ANSI_PROTOTYPES. 2698 * strstr.c: Check GNUC >= 2, not GNUC == 2. 2699 * vfprintf.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES. 2700 * vprintf.c: Include "ansidecl.h" earlier, rely on 2701 ANSI_PROTOTYPES. 2702 * vsprintf.c: Include "ansidecl.h" earlier, rely on 2703 ANSI_PROTOTYPES and possibly include <stdarg.h>. 2704 2705 * Makefile.in: Regenerate dependencies. 2706 27072003-04-15 DJ Delorie <dj@redhat.com> 2708 2709 * maint-tool (deps): Scan for headers in $srcdir also. 2710 27112003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2712 2713 PR target/10338 2714 PR bootstrap/10198 2715 PR bootstrap/10140 2716 * getopt.c (exchange, _getopt_initialize): Use mempcpy not 2717 __mempcpy. 2718 * regex.c (regerror): Likewise. 2719 27202003-04-14 Roger Sayle <roger@eyesopen.com> 2721 2722 * argv.c: Use ANSI_PROTOTYPES instead of __STDC__. 2723 * memchr.c: Likewise. 2724 * strcasecmp.c: Likewise. 2725 * strncasecmp.c: Likewise. 2726 * strncmp.c: Likewise. 2727 * xatexit.c: Likewise. 2728 * xmalloc.c: Likewise. 2729 2730 * copysign.c: Use traditional function declaration instead of DEFUN. 2731 * sigsetmask.c: Likewise. 2732 2733 * memcmp.c: Both of the above, ANSI_PROTOTYPES and DEFUN. 2734 * memset.c: Likewise. 2735 2736 * memcpy.c: ANSI_PROTOTYPES, DEFUN and prototype bcopy. 2737 * memmove.c: Likewise. 2738 27392003-04-14 Roger Sayle <roger@eyesopen.com> 2740 2741 * strdup.c (strdup): Tweak implementation to use memcpy. 2742 27432003-04-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2744 2745 * configure.in (HAVE_UINTPTR_T): Always define. 2746 * configure: Regenerated. 2747 27482003-03-23 Alexandre Oliva <aoliva@redhat.com> 2749 2750 * Makefile.in (MULTIOSDIR): New macro. Use $(CC) $(LIBCFLAGS) 2751 instead of $$CC alone. 2752 (install_to_tooldir): Use it. 2753 27542003-17-03 Jan Hubicka <jh@suse.cz> 2755 2756 * hashtab.c (htab_traverse_noresize): Break out from ... 2757 * hashtab.c (htab_traverse): ... here. 2758 27592003-12-03 Jan Hubicka <jh@suse.cz> 2760 2761 * hashtab.c (htab_expand): Fix warning. 2762 2763 * hashtab.c (htab_expand): Compute the size of hashtable based 2764 on the number of elements actually used. 2765 (htab_traverse): Call htab_expand when table is too empty. 2766 27672003-03-11 Carlo Wood <carlo@gnu.org> 2768 2769 * cplus-dem.c (demangle_integral_value): Correction to reflect 2770 patch of 2002-01-10 in order to also make negative multi-digits 2771 without leading underscore work. 2772 27732003-03-03 Mark Mitchell <mark@codesourcery.com> 2774 2775 * cplus-dem.c: Add license exception to copyright notice. 2776 27772003-02-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2778 2779 * physmem.c: Formatting changes from upstream. 2780 27812003-02-24 Danny Smith <dannysmith@users.source.forge.net> 2782 2783 * physmem.c (physmem_total): Add _WIN32 support. 2784 (physmem_available): Likewise. 2785 27862003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 2787 2788 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for 2789 GSI_PHYSMEM. 2790 (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS. 2791 27922003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2793 2794 * configure.in: Check for sys/systemcfg.h and 2795 _system_configuration. 2796 * physmem.c: Add support for AIX. Tweek formatting as per 2797 upstream coreutils beta. 2798 27992003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2800 Richard Earnshaw <rearnsha@arm.com> 2801 Geoffrey Keating <geoffk@apple.com> 2802 2803 * configure.in: Check for sys/sysctl.h and sysctl. 2804 * physmem.c: Add support for *bsd and darwin. 2805 * Makefile.in: Generate depedency for physmem.o. 2806 28072003-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 2808 2809 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on 2810 Tru64 UNIX. 2811 (physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on 2812 Tru64 UNIX. 2813 2814 * configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h, 2815 machine/hal_sysinfo.h, sys/table.h. 2816 (checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table. 2817 * configure, config.in: Regenerate. 2818 28192003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2820 2821 * configure.in: Check for sys/sysmp.h and sysmp. 2822 * physmem.c: Pull upstream copy, add support for irix6. 2823 2824 * config.in, configure: Regenerated. 2825 28262003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2827 2828 * physmem.c (physmem_total, physmem_available): De-ANSI-fy. 2829 * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and 2830 pstat_getdynamic. 2831 28322003-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2833 2834 * Makefile.in (CFILES): Add physmem.c. 2835 (REQUIRED_OFILES): Add physmem.o. 2836 * configure.in: Check for sys/pstat.h. 2837 (checkfuncs): Add pstat_getstatic and pstat_getdynamic. 2838 * physmem.c: New file, copied from textutils. 2839 2840 * config.in, configure: Regenerated. 2841 28422003-02-20 Daniel Jacobowitz <drow@mvista.com> 2843 2844 * Makefile.in (CFILES): Add lrealpath.c. 2845 (REQUIRED_OFILES): Add lrealpath.o. 2846 (lrealpath.o): Add rule. 2847 * aclocal.m4 (libiberty_NEED_DECLARATION): Add. 2848 * configure.in: Add realpath and canonicalize_file_name to 2849 checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION 2850 for canonicalize_file_name. 2851 * lrealpath.c: New file. 2852 * make-relative-prefix.c: Update documentation. 2853 (make_relative_prefix): Simplify. Use lbasename and lrealpath. 2854 * config.in: Regenerated. 2855 * configure: Regenerated. 2856 * functions.texi: Regenerated. 2857 28582003-02-20 jmc <jmc@prioris.mini.pw.edu.pl> 2859 2860 * cplus_dem.c: Fix typo: intializes -> initializes. 2861 28622003-02-20 Alexandre Oliva <aoliva@redhat.com> 2863 2864 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to 2865 config.status. 2866 * configure: Rebuilt. 2867 28682003-02-13 Daniel Jacobowitz <drow@mvista.com> 2869 2870 Fix PR c++/7612. 2871 * cplus-dem.c (demangle_signature): Call string_delete. 2872 Remove extra string_init. 2873 (demangle_arm_hp_template): Call string_delete instead of 2874 string_clear. Add missing string_delete call. 2875 (demangle_qualified): Add missing string_delete call. 2876 (do_type): Remove unused variable btype. Add missing string_delete 2877 call. Call string_delete instead of string_clear. 2878 (demangle_fund_type): Move variable btype inside of the switch 2879 statement. Add missing string_delete call. 2880 (do_arg): Call string_delete instead of string_clear. Remove extra 2881 string_init. 2882 (demangle_nested_args): Free work->previous_argument. 2883 28842003-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2885 2886 * acconfig.h: New file. Add uintptr_t. 2887 * config.in: Regenerated. 2888 28892003-02-04 Joseph S. Myers <jsm@polyomino.org.uk> 2890 2891 * libiberty.texi: Update to GFDL 1.2. 2892 28932003-01-30 Christian Cornelssen <ccorn@cs.tu-berlin.de> 2894 2895 * Makefile.in (libiberty_topdir): New subst. 2896 (mkinstalldirs): Redefine in terms of the above. 2897 * configure.in: AC_SUBST it. 2898 * configure: Regenerate. 2899 29002003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de> 2901 2902 * Makefile.in (all-subdir, check-subdir, installcheck-subdir) 2903 (info-subdir, install-info-subdir, clean-info-subdir) 2904 (dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir) 2905 (clean-subdir, distclean-subdir, maintainer-clean-subdir): 2906 Pass $(FLAGS_TO_PASS). 2907 29082003-01-27 Alexandre Oliva <aoliva@redhat.com> 2909 2910 * Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use 2911 /`$$CC -print-multi-os-directory`. 2912 29132003-01-26 Daniel Jacobowitz <drow@mvista.com> 2914 2915 * hashtab.c (htab_create_alloc_ex): New function. 2916 (hatab_set_functions_ex): New function. 2917 (htab_delete, htab_expand): Support alternate allocation functions. 2918 29192003-01-24 Christopher Faylor <cgf@redhat.com> 2920 2921 * configure.in: Remove special pex-cygwin consideration. 2922 * configure: Regenerate. 2923 * pex-cygwin.c: Remove. 2924 * Makefile.in: Remove pex-cygwin.[co] lines. 2925 29262003-01-24 Zack Weinberg <zack@codesourcery.com> 2927 2928 * Makefile.in (CFILES): Add pex-*.c. 2929 (REQUIRED_OFILES): Change pexecute.o to @pexecute@ 2930 (CONFIGURED_OFILES): Add pex-*.o. 2931 (TEXIFILES): Add pexecute.txh. 2932 (pexecute.o): Delete rule. 2933 (pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o, 2934 pex-unix.o, pex-win32.o): New rules. 2935 * configure.in: Change AC_INIT argument to xmalloc.c. 2936 Compute appropriate pexecute implementation and substitute it 2937 as @pexecute@. 2938 2939 * pexecute.c: Split up into... 2940 * pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c, 2941 pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these 2942 new files. 2943 2944 * functions.texi: Regenerate. 2945 * configure: Regenerate. 2946 29472003-01-20 Josef Zlomek <zlomekj@suse.cz> 2948 2949 * hashtab.c (htab_expand): Fix allocation of new entries. 2950 29512003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de> 2952 2953 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR. 2954 2955 * Makefile.in (install_to_libdir, install_to_tooldir): Add a 2956 mkinstalldirs command. 2957 29582002-12-04 Danny Smith <dannysmith@users.sourceforge.net> 2959 2960 * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX): 2961 Define for hosts with HOST_EXECUTABLE_SUFFIX. 2962 29632002-11-24 Nick Clifton <nickc@redhat.com> 2964 2965 * make-relative-prefix.c (make_relative_prefix): Ensure return 2966 string is empty before using strcat to construct it. 2967 29682002-11-22 Daniel Jacobowitz <drow@mvista.com> 2969 2970 * Makefile.in: Add make-relative-prefix.c. 2971 * make-relative-prefix.c: New file. 2972 * functions.texi: Rebuilt. 2973 29742002-11-16 Jakub Jelinek <jakub@redhat.com> 2975 2976 * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be 2977 used with arguments in traditional C' warnings. 2978 29792002-10-16 Jakub Jelinek <jakub@redhat.com> 2980 2981 * config.table: Use mh-s390pic for s390x too. 2982 29832002-10-06 Andreas Jaeger <aj@suse.de> 2984 2985 * libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded 2986 variable and of strict-aliasing warning. 2987 (grow_vect): Use char as first parameter. 2988 29892002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2990 2991 * Makefile.in (all): Fix multilib parallel build. 2992 29932002-09-19 John David Anglin <dave@hiuly1.hia.nrc.ca> 2994 2995 * cp-demangle.c (demangling_new): Cast 0 to enum. 2996 (demangle_char): Cast return of strdup to char *. 2997 (is_gnu_v3_mangled_ctor): Cast 0 to enum. 2998 (is_gnu_v3_mangled_dtor): Likewise. 2999 * cplus-dem.c (grow_vect): Cast return of xrealloc to void *. 3000 (work_stuff_copy_to_from): Cast return of xmalloc to char **. 3001 * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t. 3002 * md5.c (md5_process_bytes): Cast results back to const void *. 3003 (md5_process_block): Add cast to const md5_uint32 *. 3004 * regex.c (re_compile_fastmap): Cast enum to UCHAR_T. 3005 * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to 3006 unsigned short. 3007 * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc 3008 to void *. 3009 * vasprintf.c (int_vasprintf): Cast return of malloc to char *. 3010 30112002-09-19 Nick Clifton <nickc@redhat.com> 3012 3013 * README: Update email addresses for bugs and patches. 3014 30152002-09-10 Mike Stump <mrs@apple.com> 3016 3017 * splay-tree.c (splay_tree_successor): Fix comments. 3018 30192002-09-11 Zack Weinberg <zack@codesourcery.com> 3020 3021 * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c. 3022 * testsuite/Makefile.in: Adjust for test-demangle. 3023 * testsuite/regress-demangle: Deleted. 3024 * testsuite/test-demangle.c: New file. 3025 * testsuite/demangle-expected: Change \$ to $ throughout, now that 3026 this file is not being read by a shell script. 3027 30282002-09-05 Roger Sayle <roger@eyesopen.com> 3029 3030 * regex.c: Only use "#pragma alloca" on AIX when not using gcc. 3031 30322002-08-07 DJ Delorie <dj@redhat.com> 3033 3034 * regex.c (re_error_msgid): Just use a simple array of strings. 3035 (re_compile_pattern): Compensate. 3036 (re_comp): Likewise. 3037 (re_comp): Likewise. 3038 (regerror): Likewise. 3039 30402002-07-29 Neil Booth <neil@daikokuya.co.uk> 3041 3042 * cplus-dem.c (PREPEND_BLANK): Remove. 3043 30442002-07-10 Jason Merrill <jason@redhat.com> 3045 3046 * cp-demangle.c (demangle_identifier): Support extended Unicode 3047 characters. 3048 30492002-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 3050 3051 * cp-demangle.c (demangle_v3_with_details): Wrap in 3052 !defined IN_GLIBCPP_V3. 3053 30542002-07-01 Mark Mitchell <mark@codesourcery.com> 3055 3056 * cp-demangle.c (demangle_operator_name): Add type_arg parameter. 3057 Set it for the "st" operator. 3058 (demangle_expression): Handle expressions with types as arguments. 3059 30602002-06-30 Douglas Rupp <rupp@gnat.com> 3061 3062 * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure. 3063 * Makefile.in (OUTPUT_OPTION): Use. 3064 30652002-06-22 Peter Breitenlohner <peb@mppmu.mpg.de> 3066 3067 * Makefile.in (install_to_libdir): Add $(DESTDIR). 3068 (install_to_tooldir): Likewise. 3069 30702002-06-17 Douglas Rupp <rupp@gnat.com> 3071 3072 * lbasename.c: Add 2002 to copyright. 3073 (IS_DIR_SEPARATOR): Remove VMS junk. 3074 30752002-06-05 Geoffrey Keating <geoffk@redhat.com> 3076 3077 * hashtab.c (htab_create): New stub function for backward 3078 compatibility. 3079 (htab_try_create): Likewise. 3080 30812002-06-03 Geoffrey Keating <geoffk@redhat.com> 3082 3083 * hashtab.c (htab_create): Delete. 3084 (htab_try_create): Delete. 3085 (htab_create_alloc): New. 3086 (htab_delete): Support user-specified memory allocation. 3087 (htab_expand): Likewise. 3088 30892002-05-22 Roman Lechtchinsky <rl@cs.tu-berlin.de> 3090 3091 * configure.in: Fix typo in the code checking for sys_errlist. 3092 * configure: Regenerated. 3093 30942002-05-13 Andreas Schwab <schwab@suse.de> 3095 3096 * config.table: Use mh-x86pic also for x86-64. 3097 30982002-05-08 Alexandre Oliva <aoliva@redhat.com> 3099 3100 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at 3101 script entry, and set LD to it when configuring multilibs. 3102 * configure: Rebuilt. 3103 31042002-05-07 Mark Mitchell <mark@codesourcery.com> 3105 3106 * configure.in (AC_TYPE_PID_T): Use it. 3107 * configure: Regenerated. 3108 * getruntime.c: Include <sys/types.h>. 3109 * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid". 3110 31112002-04-09 Richard Henderson <rth@redhat.com> 3112 3113 * hashtab.c (higher_prime_number): Use 7 as minimum. 3114 (find_empty_slot_for_expand): Don't compute hash2 unless needed. 3115 (htab_find_slot_with_hash): Likewise. 3116 31172002-04-01 Phil Edwards <pme@gcc.gnu.org> 3118 3119 * cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3. 3120 (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally 3121 not compile if IN_GLIBCPP_V3 defined. 3122 * dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme. 3123 31242002-03-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz> 3125 3126 * cp-demangle.c (java_demangle_v3): Don't try to release "demangled" 3127 if it is NULL. 3128 31292002-03-27 DJ Delorie <dj@redhat.com> 3130 3131 * hex.c: Add documentation. 3132 (_hex_value): Provide non-ASCII empty table. 3133 (hex_init): Initialize the non-ASCII table. 3134 * functions.texi: Regenerate. 3135 31362002-03-27 Mark Mitchell <mark@codesourcery.com> 3137 3138 * dyn-string.c: Add libgcc exception to copyright notice. 3139 31402002-03-26 H.J. Lu (hjl@gnu.org) 3141 3142 * config.table: Support --with-build-subdir. 3143 * configure.in: Likewise. 3144 * configure: Rebuild. 3145 31462002-03-18 Stuart Griffith <Stuart_Griffith@credence.com> 3147 3148 * strtod.c (strtod): Increment 8 chars, not 7, when `infinity' 3149 seen. 3150 31512002-03-12 Mark Mitchell <mark@codesourcery.com> 3152 3153 * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright 3154 notice. 3155 31562002-03-11 Douglas B Rupp <rupp@gnat.com> 3157 3158 * xatexit.c [VMS]: Include stdlib.h and unixlib.h. 3159 31602002-03-06 Jim Blandy <jimb@redhat.com> 3161 3162 * splay-tree.c (splay_tree_xmalloc_allocate, 3163 splay_tree_xmalloc_deallocate): Use K&R-style definitions, not 3164 prototyped definitions. Mark `data' arguments as unused. 3165 31662002-03-06 Andrew Cagney <ac131313@redhat.com> 3167 3168 * floatformat.c (floatformat_arm_ext_big): Delete definition. 3169 31702002-03-04 Phil Edwards <pme@gcc.gnu.org> 3171 3172 * configure.in: Add --enable-install-libiberty option. 3173 * Makefile.in (INSTALLED_HEADERS): New variable. 3174 (install_to_libdir): Possibly also copy headers. 3175 * configure: Regenerated. 3176 31772002-03-04 Neil Booth <neil@daikokuya.demon.co.uk> 3178 3179 * xmalloc.c (xmalloc_fail): Clarify error message further. 3180 31812002-03-03 Neil Booth <neil@daikokuya.demon.co.uk> 3182 3183 * xmalloc.c (xmalloc_fail): Clarify error message. 3184 31852002-02-22 Jim Blandy <jimb@redhat.com> 3186 3187 * splay-tree.c (splay_tree_xmalloc_allocate, 3188 splay_tree_xmalloc_deallocate): New functions. 3189 (splay_tree_new): Call splay_tree_new_with_allocator, passing the 3190 above functions and a dummy data pointer. 3191 (splay_tree_new_with_allocator): New function. 3192 (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert, 3193 splay_tree_remove): Use the splay tree's allocation and 3194 deallocation functions. 3195 31962002-02-19 Scott Snyder <snyder@fnal.gov> 3197 3198 * testsuite/demangle-expected: Add test case for infinite loop in 3199 demangler. 3200 * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle 3201 if do_type() doesn't make any progress --- prevents an infinite 3202 loop. 3203 32042002-02-18 Carlo Wood <carlo@gnu.org> 3205 3206 PR c++/5390 3207 * cplus-dem.c (demangle_integral_value): Accept multi-digit 3208 numbers that do not start with an underscore; This is needed 3209 for integer template parameters. This doesn't break anything 3210 because multi-digit numbers are never followed by a digit. 3211 * testsuite/demangle-expected: Corrected all mangled test 3212 cases with multi-digit template parameters: g++ 2.95.x does 3213 not generate underscores around these parameters. 3214 32152002-02-05 Jason Merrill <jason@redhat.com> 3216 3217 * cplus-dem.c (flags): Add DMGL_VERBOSE 3218 (cplus_demangle_v3_p): Remove. 3219 (demangle_it): Add DMGL_TYPES to passed flags. 3220 * cp-demangle.c (cplus_demangle_v3_all): Remove. 3221 (cplus_demangle_v3_type): Remove. 3222 (cplus_demangle_v3): Add options parm. 3223 32242002-02-02 H.J. Lu (hjl@gnu.org) 3225 3226 * cp-demangle.c (cp_demangle_type): Do not protect with 3227 IN_LIBGCC2. 3228 (cplus_demangle_v3_all): New. 3229 (cplus_demangle_v3): Call cplus_demangle_v3_all. 3230 (cplus_demangle_v3_type): Call cplus_demangle_v3_all. 3231 3232 * cplus-dem.c (cplus_demangle_v3_p): New function pointer. 3233 Initialized to cplus_demangle_v3. 3234 (cplus_demangle_with_style): Call cplus_demangle_v3_p instead 3235 of cplus_demangle_v3. 3236 (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for 3237 command line symbol. 3238 3239 * testsuite/regress-demangle: Pass the mangled name at the 3240 command line. 3241 32422002-02-01 H.J. Lu <hjl@gnu.org> 3243 3244 * cp-demangle.c (cp_demangle_type): Call demangling_new with 3245 DMGL_GNU_V3. 3246 32472002-01-31 Phil Edwards <pme@gcc.gnu.org> 3248 3249 * cp-demangle.c: Revert yesterday's change. 3250 32512002-01-31 Adam Megacz <adam@xwt.org> 3252 3253 * gcc/libiberty/configure.in: Treat mingw the same as cywin 3254 wrt HAVE_SYS_ERRLIST. 3255 32562002-01-30 Phil Edwards <pme@gcc.gnu.org> 3257 3258 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2. 3259 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on 3260 cp_demangle_type. 3261 * testsuite/demangle-expected: New gnu-v3 test. 3262 32632002-01-22 Momchil Velikov <velco@fadata.bg> 3264 3265 * configure.in (variable detection): Use arrays of unspecified 3266 size instead of plain integers. 3267 32682002-01-18 DJ Delorie <dj@redhat.com> 3269 3270 * Makefile.in (TESTLIB): New. This library is for future 3271 testsuites. 3272 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize, 3273 break down by letter. 3274 (REQUIRED_OFILES): List long-to-compile files first. 3275 (maint-deps): New, target for updating dependencies. 3276 (dependencies): Update. 3277 * maint-tool: Add dependency-generating option. 3278 * configure.in: Check for _doprnt even if we're not providing it. 3279 * configure: Regenerate. 3280 3281 * _doprnt.c: Modifications to allow compiling on any platform. 3282 * copysign.c: Likewise. 3283 * putenv.c: Likewise. 3284 * setenv.c: Likewise. 3285 * vsprintf.c: Likewise. 3286 32872002-01-15 Douglas B Rupp <rupp@gnat.com> 3288 3289 * mkstemps.c (mkstemps): On VMS, open temp file with option 3290 that causes it to be deleted when closed. 3291 32922002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 3293 3294 * cp-demangle.c (long_options): Const-ify. 3295 * cplus-dem.c (long_options): Likewise. 3296 3297 * cplus-dem.c (mystrstr): Delete. All callers changed to use 3298 strstr instead. 3299 33002001-12-31 Ira Ruben <ira@apple.com> 3301 3302 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try. 3303 * configure: Regenerated. 3304 33052001-12-24 Douglas B. Rupp <rupp@gnat.com> 3306 3307 * configure.in (uintptr_t): Use AC_CHECK_TYPE. 3308 * configure: Regenerated. 3309 33102001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org> 3311 3312 PR other/2719 3313 * cplus-dem.c (consume_count): Treat negative count as an error. 3314 * testsuite/demangle-expected: Added testcase. 3315 3316Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com> 3317 3318 * configure.in: Hardcode that vfork works on VMS host. 3319 * configure: Regenerated. 3320 33212001-12-06 Richard Henderson <rth@redhat.com> 3322 3323 * cplus-dem.c (libiberty_demanglers): Add no_demangling case. 3324 (cplus_demangle): Support no_demangling. 3325 33262001-11-27 Zack Weinberg <zack@codesourcery.com> 3327 3328 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build 3329 in libiberty context. Fix typo in leading comment. 3330 * configure.in: Fix various AC_DEFINEs so autoheader works. 3331 If any of vprintf, vsprintf, vfprintf is missing from libc, 3332 then AC_REPLACE_FUNCS(_doprnt). 3333 33342001-11-26 DJ Delorie <dj@redhat.com> 3335 Daniel Jacobowitz <drow@mvista.com> 3336 3337 * Makefile.in (stamp-h): Depend on Makefile for proper 3338 serialization. 3339 (*-subdir): Depend on config.h for proper serialization. 3340 33412001-11-26 DJ Delorie <dj@redhat.com> 3342 3343 * configure.in: Check for alloca.h (for regex.c and putenv.c). 3344 * configure: Regenerate. 3345 * config.h: Add HAVE_ALLOCA_H. 3346 33472001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 3348 3349 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) || 3350 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting 3351 is available. 3352 3353Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com) 3354 3355 * config.in (HAVE_UINTPTR_T): Provide autoconf stub. 3356 * configure.in (HAVE_UINTPTR_T): Test for system defining 3357 uintptr_t and define HAVE_UINTPTR_T appropriately. 3358 * regex.c (uintptr_t): Do not provide a definition if the 3359 system provided one. 3360 3361 * regex.c (PREFIX): Provide an alternate definition for 3362 non-ANSI/ISO compilers. 3363 (ARG_PREFIX): Likewise. 3364 33652001-11-12 Jim Meyering <meyering@lucent.com> 3366 3367 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise, 3368 this code would end up calling gettext even in packages built 3369 with --disable-nls. 3370 * getopt.c (_): Likewise. 3371 * regex.c (_): Likewise. 3372 33732001-11-03 Alan Modra <amodra@bigpond.net.au> 3374 3375 * configure.in: Cope with missing makeinfo. 3376 * configure: Regenerate. 3377 33782001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 3379 3380 * hex.c (hex_init): Provide empty stub. 3381 3382 * hex.c (hex_init): Delete. 3383 (_hex_value): Const-ify and initialize at compile-time. 3384 33852001-10-19 H.J. Lu <hjl@gnu.org> 3386 3387 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if 3388 necessary. 3389 33902001-10-17 DJ Delorie <dj@redhat.com> 3391 3392 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c, 3393 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c, 3394 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c: 3395 Improve manual formatting. 3396 * functions.texi: Regenerate. 3397 33982001-10-15 DJ Delorie <dj@redhat.com> 3399 3400 * Makefile.in (TEXIFILES): Add fnmatch.txh. 3401 (maint-undoc): New. 3402 maint-tool: Add "undoc" tool. 3403 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c, 3404 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c, 3405 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c, 3406 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update 3407 documentation. 3408 * fnmatch.txh: New. 3409 * functions.texi: Regenerate. 3410 34112001-10-10 Joseph S. Myers <jsm28@cam.ac.uk> 3412 3413 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero". 3414 * strtod.c: Use "ISO C" instead of "ANSI C". 3415 * functions.texi: Regenerate. 3416 34172001-10-07 Joseph S. Myers <jsm28@cam.ac.uk> 3418 3419 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c, 3420 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c, 3421 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c, 3422 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix 3423 spelling. Give names to function arguments in documentation. Use 3424 (void) prototypes in documentation. 3425 * functions.texi: Regenerate. 3426 34272001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 3428 3429 * argv.c (buildargv, tests, main): Const-ify. 3430 * cp-demangle.c (operator_code): Likewise. 3431 * cplus-dem.c (optable, libiberty_demanglers, 3432 cplus_demangle_set_style, cplus_demangle_name_to_style, 3433 print_demangler_list): Likewise. 3434 * hashtab.c (higher_prime_number): Likewise. 3435 * strcasecmp.c (charmap): Likewise. 3436 * strerror.c (error_info, strerror, main): Likewise. 3437 * strncasecmp.c (charmap): Likewise. 3438 * strsignal.c (signal_info): Likewise. 3439 34402001-09-29 DJ Delorie <dj@redhat.com> 3441 3442 * configure: Regenerate. 3443 34442001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 3445 3446 * concat.c: Include stdlib.h. 3447 34482001-09-27 Eli Zaretskii <eliz@is.elta.co.il> 3449 3450 * libiberty.texi: (Top level): Add syncodeindex pg. Add 3451 @dircategory and @direntry directives. Add @finalout. 3452 (many nodes): Lose the next,prev,up pointers on the @nide line. 3453 (Using, Supplemental Functions, Replacement Functions): Fix 3454 markup. 3455 (Functions): Move around, to allow makeinfo to build the manual 3456 without next,prev,up pointers in thye node lines. 3457 (Licenses): Fix typos. 3458 3459 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c, 3460 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup. 3461 * functions.texi: Regenerate. 3462 3463 * copying-lib.texi: Lose the next,prev,up pointers on the @node 3464 line. 3465 34662001-09-27 DJ Delorie <dj@redhat.com> 3467 3468 * configure.in: Don't use in-tree texinfo, because libiberty must 3469 be built before it. Check for makeinfo version 4 or higher. 3470 * functions.texi: Regenerate. 3471 34722001-09-20 DJ Delorie <dj@redhat.com> 3473 Phil Edwards <pedwards@disaster.jaj.com> 3474 3475 * configure.in (MAKEINFO, PERL): Detect these. 3476 (--enable-maintainer-mode): Add. 3477 * configure: Regenerate. 3478 * Makefile.in (MAKEINFO, PERL): Define. 3479 (libiberty.info, libiberty.dvi, libiberty.html): New. 3480 (CFILES): Add bsearch.c. 3481 (CONFIGURED_OFILES): New, list of objects configure might add. 3482 (maint-missing, maint-buildall): New, for maintainers only. 3483 (clean, mostlyclean): Add info/dvi/html files. 3484 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New. 3485 * gather-docs: New, for maintainers. 3486 * maint-tool: New, for maintainers. 3487 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c, 3488 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c, 3489 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c, 3490 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c, 3491 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c, 3492 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c, 3493 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c, 3494 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update 3495 documentation. 3496 34972001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 3498 3499 * concat.c (reconcat): Fix for traditional C. 3500 35012001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 3502 3503 * concat.c (reconcat): New function. 3504 35052001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 3506 3507 * concat.c (vconcat_length, vconcat_copy, concat_length, 3508 concat_copy, concat_copy2): New functions. 3509 (concat): Use vconcat_length/vconcat_copy. 3510 3511 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len): 3512 Define. 3513 35142001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 3515 3516 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN, 3517 VA_FIXEDARG & VA_CLOSE. 3518 3519 * vasprintf.c: Check HAVE_STRING_H when including string.h. 3520 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1. 3521 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string. 3522 35232001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 3524 3525 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE. 3526 35272001-08-23 Ulrich Drepper <drepper@redhat.com> 3528 3529 * regex.c (truncate_wchar): Use wcrtomb not wctomb. 3530 35312001-08-23 Ulrich Drepper <drepper@redhat.com> 3532 3533 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc 3534 instead of mbrtowc. 3535 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of 3536 wcslen, and __wcscoll instead of wcscoll. 3537 35382001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu> 3539 3540 * fibheap.c (fibheap_init, fibnode_init): Remove. 3541 (fibheap_new, fibnode_new): Use xcalloc to allocate and 3542 initialize memory. 3543 (fibheap_insert): Remove check for node allocation failure. 3544 35452001-08-21 Richard Henderson <rth@redhat.com> 3546 3547 * Makefile.in (fibheap.o): Depend on config.h. 3548 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some 3549 functions for inlining. 3550 3551Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com> 3552 3553 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever 3554 hosting on cygwin. 3555 * configure: Regenerate. 3556 35572001-08-20 Andrew Cagney <ac131313@redhat.com> 3558 3559 * floatformat.c (floatformat_m88110_ext): Remove #ifdef 3560 HARRIS_FLOAT_FORMAT. 3561 (floatformat_ia64_spill_little, floatformat_ia64_quad_little) 3562 (floatformat_ia64_spill_big, floatformat_ia64_quad_big) 3563 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword) 3564 (floatformat_m88110_harris_ext): New float formats. 3565 35662001-08-20 Daniel Berlin <dan@cgsoftware.com> 3567 3568 * fibheap.c: New file. Fibonacci heap. 3569 3570 * Makefile.in (CFILES): Add fibheap.c. 3571 (REQUIRED_OFILES): Add fibheap.o. 3572 (fibheap.o): Add dependencies for fibheap.o. 3573 35742001-08-17 Christopher Faylor <cgf@cygnus.com> 3575 3576 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin. 3577 * configure: Regenerate. 3578 35792001-08-16 Richard Henderson <rth@redhat.com> 3580 3581 * hashtab.c (htab_hash_string): New. 3582 35832001-08-13 Andrew Cagney <ac131313@redhat.com> 3584 3585 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix 3586 name. 3587 35882001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com> 3589 3590 * regex.c (wcs_regex_compile): Use appropriate string 3591 to compare with collating element. 3592 Fix the padding for the alignment. 3593 35942001-08-10 Andrew Cagney <ac131313@redhat.com> 3595 3596 * lbasename.c (lbasename): Change function definition to return a 3597 const char pointer. 3598 35992001-08-07 Jason Merrill <jason_merrill@redhat.com> 3600 3601 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary 3602 for". 3603 36042001-08-03 Richard Henderson <rth@redhat.com> 3605 3606 * Makefile.in (concat.o): Depend on config.h. 3607 36082001-07-30 Andreas Jaeger <aj@suse.de> 3609 3610 * concat.c: Include "config.h". 3611 36122001-07-30 Andreas Jaeger <aj@suse.de> 3613 3614 * regex.c: Declare wcs functions only if compiling with 3615 MBS_SUPPORT. 3616 Don't use #elif for traditional C. 3617 36182001-07-23 Ulrich Drepper <drepper@redhat.com> 3619 3620 * regex.c: Revamp memory allocation for WCHAR functions to 3621 not use too much stack. 3622 36232001-07-30 Andreas Jaeger <aj@suse.de> 3624 3625 * regex.c: Declare wcs functions only if compiling with 3626 MBS_SUPPORT. 3627 Don't use #elif for traditional C. 3628 36292001-07-25 Daniel Jacobowitz <drow@mvista.com> 3630 3631 * Makefile.in (regex.o): Add dependency on config.h. 3632 36332001-07-18 Andreas Schwab <schwab@suse.de> 3634 3635 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the 3636 underscore character. 3637 36382001-07-18 Ulrich Drepper <drepper@redhat.com> 3639 3640 * regex.c: Limit string length printed in debug messages to 100 3641 chars. 3642 36432001-07-18 Andreas Jaeger <aj@suse.de> 3644 3645 * regex.c: Place under LGPL version 2.1. 3646 36472001-07-10 Jeff Johnston <jjohnstn@redhat.com> 3648 3649 * Makefile.in: Add support for regex code. 3650 * regex.c: New file. 3651 36522001-07-05 Mark Klein <mklein@dis.com> 3653 3654 * Makefile.in: Add ffs.c dependency. 3655 * configure.in: Add ffs.c. 3656 * ffs.c: New file. 3657 36582001-06-18 Richard Henderson <rth@redhat.com> 3659 3660 * concat.c: Include <sys/types.h>. 3661 36622001-06-11 Loren J. Rittle <ljrittle@acm.org> 3663 3664 bootstrap/3106 3665 * strerror.c (sys_nerr): Hide the OS header version. 3666 * strsignal.c (sys_nsig): Likewise. 3667 36682001-06-10 Richard Henderson <rth@redhat.com> 3669 3670 * concat.c: Include string.h. Fix int vs size_t usage. 3671 Simplify the iteration loops. Use memcpy. 3672 36732001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu> 3674 3675 * partition.c: Fix misspelling of `implementation'. 3676 36772001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 3678 3679 * md5.c (md5_init_ctx): Declare constants as unsigned. 3680 (md5_process_block): Likewise. 3681 36822001-05-07 Zack Weinberg <zackw@stanford.edu> 3683 3684 * cp-demangle.c (demangle_v3_with_details, 3685 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style 3686 function definition. 3687 * ternary.c: Use K+R style function definitions. Use PTR, not 3688 void *. Make arguments constant where possible. 3689 36902001-05-07 Mark Mitchell <mark@codesourcery.com> 3691 3692 * splay-tree.h (splay_tree_max): New function. 3693 (splay_tree_min): Likewise. 3694 36952001-04-15 Daniel Berlin <dan@cgsoftware.com> 3696 3697 * ternary.c: New file - Ternary search tree implementation. 3698 3699 * Makefile.in: Add ternary.o, and ternary.c dependencies. 3700 37012001-04-03 Zack Weinberg <zackw@stanford.edu> 3702 3703 * make-temp-file.c (try): Inline. 3704 37052001-02-28 Richard Henderson <rth@redhat.com> 3706 3707 * Makefile.in (make-temp-file.o): Depend on config.h. 3708 37092001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 3710 3711 * memchr.c (memchr): Adjust condition to avoid infinite loop. 3712 37132001-03-23 Jakub Jelinek <jakub@redhat.com> 3714 3715 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1, 3716 `_' not followed by a digit is invalid. 3717 37182001-03-22 Jim Blandy <jimb@redhat.com> 3719 3720 * cp-demangle.c (string_list_delete): Use dyn_string_delete 3721 instead of free, to free the contents as well as the string 3722 structure. 3723 37242001-03-21 Zack Weinberg <zackw@stanford.edu> 3725 3726 * make-temp-file.c: Always default DIR_SEPARATOR to '/'. 3727 Don't default P_tmpdir to anything. Try /var/tmp before 3728 /usr/tmp. 3729 37302001-03-20 Zack Weinberg <zackw@stanford.edu> 3731 3732 * choose-temp.c: Split off make_temp_file, and the code 3733 duplicated between it and choose_temp_base, into... 3734 * make-temp-file.c: ... here; new file. 3735 3736 * Makefile.in (CFILES): Add make-temp-file.c. 3737 (REQUIRED_OFILES): Add make-temp-file.o. 3738 37392001-03-20 Jim Blandy <jimb@redhat.com> 3740 3741 * cp-demangle.c (struct demangling_def): New fields: 3742 is_constructor and is_destructor. 3743 (demangling_new): Initialize them. 3744 (demangle_ctor_dtor_name): Set them, if we detect a constructor 3745 or destructor. 3746 (demangle_v3_with_details, is_gnu_v3_mangled_ctor, 3747 is_gnu_v3_mangled_dtor): New functions. 3748 37492001-03-20 Jason Merrill <jason@redhat.com> 3750 3751 * cplus-dem.c (main): Skip initial $. 3752 37532001-03-15 Michael Meissner <meissner@redhat.com> 3754 3755 * hashtab.c (higher_prime_number): Silence warning that 4294967291 3756 might be a signed integer under pre-ISO C systems. 3757 37582001-03-10 Neil Booth <neil@daikokuya.demon.co.uk> 3759 John David Anglin <dave@hiauly1.hia.nrc.ca> 3760 3761 * libiberty/lbasename.c: New file. 3762 * libiberty/Makefile.in: Update for lbasename. 3763 37642001-03-06 Zack Weinberg <zackw@stanford.edu> 3765 3766 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New. 3767 * configure.in: Replace all alloca logic with a simple use of 3768 the above new macro. 3769 * config.table: Kill *-*-beos* entry. 3770 * config/mh-beos: Delete. 3771 * configure, config.in: Regenerate. 3772 3773 * Makefile.in (ALLOCA, HFILES): Kill. 3774 (REQUIRED_OFILES): Add alloca.o. 3775 (alloca.o): Depend on libiberty.h. 3776 (argv.o): Don't depend on alloca-conf.h. 3777 * alloca-conf.h: Delete. 3778 * alloca.c: Include libiberty.h. Kill all #ifdef emacs 3779 blocks. Provide the C alloca unconditionally. Use PTR where 3780 appropriate. Make i00afunc static. 3781 * argv.c: Don't include alloca-conf.h. 3782 37832001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca> 3784 3785 * cplus-dem.c (main): Cast enum style to int. 3786 37872001-02-16 Loren J. Rittle <ljrittle@acm.org> 3788 3789 * cplus-dem.c (main): Initialize style. 3790 37912001-02-02 Phil Edwards <pme@sources.redhat.com> 3792 3793 * COPYING.LIB: Update to LGPL 2.1 from the FSF. 3794 37952001-01-31 Bryce McKinlay <bryce@albatross.co.nz> 3796 3797 Add support for Java demangling under the v3 ABI: 3798 * cp-demangle.c (NAMESPACE_SEPARATOR): New define. 3799 (struct demangling_def): Add `style' field. 3800 (demangling_new): New parameter `style'. Set it in demangling_t. 3801 (demangle_prefix): Use NAMESPACE_SEPARATOR. 3802 (demangle_type_ptr): Don't emit pointer symbol if doing Java output. 3803 (cp_demangle): New parameter `style'. Pass it to demangling_new(). 3804 (main): Call cp_demangle with extra parameter. 3805 (java_demangle_v3): New function. 3806 (java_builtin_type_names): New. Table of primitive type names used 3807 for Java demangling. 3808 (demangle_builtin_type): Look up in java_builtin_type_names if doing 3809 Java output. 3810 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java 3811 demangling. 3812 (long_options): Remove obsolete `java' option. 3813 (main): Remove explicit handling of `java' option. Instead, pass style 3814 parameter in cplus_demangle flags as gdb does. 3815 * testsuite/demangle.expected: Add some Java test cases. 3816 38172000-12-29 DJ Delorie <dj@redhat.com> 3818 3819 * fnmatch.c: Make the note about the origins of this file more 3820 accurate, at least until we can sync with glibc. 3821 * getopt.c: Ditto. 3822 * getopt1.c: Ditto. 3823 * md5.c: Ditto. 3824 * obstack.c: Ditto. 3825 38262000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG> 3827 3828 * bsearch.c: New file. 3829 * configure.in (funcs): Add bsearch. 3830 (AC_CHECK_FUNCS): Likewise. 3831 * configure, config.in: Regenerate. 3832 38332000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG> 3834 3835 * safe-ctype.c: #include "ansidecl.h". 3836 * strtod.c: Likewise. 3837 38382000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG> 3839 3840 * strtoul.c: Include safe-ctype.h, not ctype.h. 3841 38422000-12-07 Zack Weinberg <zack@wolery.stanford.edu> 3843 3844 * safe-ctype.c: New file. 3845 * Makefile.in (CFILES): Add safe-ctype.c. 3846 (REQUIRED_OFILES): Add safe-ctype.o. 3847 3848 * argv.c: Define ISBLANK and use it, not isspace. 3849 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c, 3850 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use 3851 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c) 3852 before calling TOLOWER(c)/TOUPPER(c). 3853 38542000-12-07 Mike Stump <mrs@wrs.com> 3855 3856 * Makefile.in (distclean): When cleaning, remove testsuite. 3857 38582000-12-05 Jason Merrill <jason@redhat.com> 3859 3860 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled 3861 name before allocating the dyn_string. 3862 38632000-12-04 Jason Merrill <jason@redhat.com> 3864 3865 * cp-demangle.c: s/new_abi/v3/. 3866 * cplus-dem.c: Likewise. 3867 (current_demangling_style): Now auto_demangling. 3868 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING. 3869 (main): Use standard symbol chars for auto_demangling. 3870 38712000-11-26 Mark Mitchell <mark@codesourcery.com> 3872 3873 * hashtab.c (higher_prime_number): Use a table, rather than a 3874 seive, to find the next prime. 3875 38762000-11-22 H.J. Lu <hjl@gnu.org> 3877 3878 * cplus-dem.c (main): Handle gnat_demangling. 3879 38802000-11-22 Zack Weinberg <zack@wolery.stanford.edu> 3881 3882 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in. 3883 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader. 3884 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three 3885 argument form of AC_DEFINE in dummy definitions block. Use 3886 AC_DEFINE_NOAUTOHEADER for real definitions of things defined 3887 in dummy block. Preload cache variables instead of bypassing 3888 tests, where possible. 3889 * acconfig.h: Removed. 3890 3891 * xmalloc.c (xmalloc_failed): New function, does error 3892 reporting on failed allocation. 3893 (xmalloc, xcalloc, xrealloc): Use it. 3894 38952000-11-21 Hans-Peter Nilsson <hp@bitrange.com> 3896 3897 * cplus-dem.c (cplus_demangle): Fix formatting. 3898 (grow_vect): Ditto. 3899 (ada_demangle): Ditto. 3900 (internal_cplus_demangle): Ditto. 3901 (mop_up): Ditto. 3902 39032000-11-21 H.J. Lu <hjl@gnu.org> 3904 3905 * cplus-dem.c (main): Handle java_demangling. 3906 39072000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 3908 3909 * cplus-dem.c (grow_vect): Prototype. 3910 (ada_demangle): Cast the arg of ctype macros to unsigned char. 3911 39122000-11-15 Hans-Peter Nilsson <hp@bitrange.com> 3913 3914 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for 3915 parameter `option'. 3916 39172000-11-15 Kenneth Block <kenneth.block@compaq.com> 3918 3919 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot 3920 be used in GCC. 3921 39222000-11-15 Kenneth Block <kenneth.block@compaq.com> 3923 3924 * cplus-dem.c: Add gnat demangler. Add java to demangle style 3925 list. 3926 39272000-11-04 Hans-Peter Nilsson <hp@bitrange.com> 3928 3929 * hashtab.c (htab_expand): Change to return int. Use calloc or 3930 xcalloc depending on htab->return_allocation_failure. Return zero 3931 if calloc fails. 3932 (htab_create): Update comment to cover memory allocation. 3933 (htab_try_create): New. 3934 (htab_find_slot_with_hash): Return NULL if htab_expand fails. 3935 Update comment to cover this. 3936 39372000-11-03 Hans-Peter Nilsson <hp@bitrange.com> 3938 3939 * hashtab.c: Change void * to PTR where necessary. 3940 (htab_create, htab_expand): Correct formatting of comment before 3941 function. 3942 39432000-10-22 Alex Samuel <samuel@codesourcery.com> 3944 3945 * cp-demangle.c (string_list_def): Add caret_position and comments. 3946 (result_caret_pos): New macro. 3947 (result_append_string): Rename to... 3948 (result_add_string): ... this, and insert at caret position. 3949 Rename throughout. 3950 (result_append): Rename to... 3951 (result_add): ... this, and insert at caret position. Rename 3952 throughout. 3953 (result_append_char): Rename to... 3954 (result_add_char): ... this, and insert at caret position. Rename 3955 throughout. 3956 (result_append_space): Remove. 3957 (string_list_new): Initialize caret position. 3958 (result_add_separated_char): Use caret position. 3959 (result_get_caret): New funtion. 3960 (result_set_caret): Likewise. 3961 (result_shift_caret): Likewise. 3962 (result_previous_char_is_space): Likewise. 3963 (substitution_start): Use caret position. 3964 (substitution_add): Likewise. 3965 (demangling_new): Initialize caret position. 3966 (demangle_encoding): Use caret position. 3967 (demanglin_nested_name): Put CV qualifiers after name. 3968 (demangle_type_ptr): Use switch statement. Handle pointers to 3969 arrays. Don't use result_append_space. Use caret position. 3970 (demangle_type): Emit CV qualifiers after underlying type. Adjust 3971 call to demangle_array_type. 3972 (demangle_array_type): Add parameter to handle pointers to arrays. 3973 39742000-10-01 Mark Mitchell <mark@codesourcery.com> 3975 3976 * splay-tree.c (splay_tree_insert): Fix formatting. 3977 39782000-09-16 Mark Mitchell <mark@codesourcery.com> 3979 3980 * splay-tree.c (splay_tree_predecessor): Fix typo in comment. 3981 39822000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG> 3983 3984 * splay-tree.c: #include <stdio.h>. 3985 39862000-09-14 Hans-Peter Nilsson <hp@axis.com> 3987 3988 * testsuite/demangle-expected: Add two tests for anonymous 3989 namespaces. 3990 * cplus-dem.c (gnu_special): Handle anonymous namespaces. 3991 39922000-09-10 Mark Mitchell <mark@codesourcery.com> 3993 3994 * splay-tree.c (splay_tree_predecessor): New function. 3995 (splay_tree_successor): Likewise. 3996 39972000-09-10 Hans-Peter Nilsson <hp@axis.com> 3998 3999 * testsuite/demangle-expected: Add four tests for type_info 4000 mangling. 4001 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type, 4002 for a non-template non-qualified type_info function or node. 4003 40042000-09-08 Alex Samuel <samuel@codesourcery.com> 4005 4006 * cp-demangle.c: Fix copyright banner. 4007 40082000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG> 4009 4010 * md5.c: #include "ansidecl.h". 4011 40122000-09-06 Alex Samuel <samuel@codesourcery.com> 4013 4014 * cp-demangle.c (status_allocation_failed): Rearrange whitespace. 4015 (demangle_type): Handle substitution candidates correctly in the 4016 face of special substitutions. 4017 40182000-09-05 Alex Samuel <samuel@codesourcery.com> 4019 4020 * cp-demangle.c (demangle_encoding): Rename variable. 4021 (demangle_name): Rename parameter. Handle return type 4022 suppression. 4023 (demangle_nested_name): Rename parameter. 4024 (demangle_prefix): Likewise. Change return type suppression. 4025 (demangle_unqualified_name): Add parameter. Flag constructors and 4026 conversion operators. 4027 (demangle_special_name): Fix comment. 4028 (demangle_type): Rename variable. 4029 (demangle_bare_function_type): Check for missing return type and 4030 parameter. 4031 (demangle_class_enum_type): Rename parameter. 4032 (demangle_discriminator): Fix misspelling in comment. 4033 40342000-08-31 DJ Delorie <dj@redhat.com> 4035 4036 * configure.in (Cygwin): special case cygwin only when we're 4037 building cygwin, not when we're hosting cygwin. 4038 40392000-09-04 Alex Samuel <samuel@codesourcery.com> 4040 4041 * cp-demangle.c (demangle_template_arg): Eat an `E' after an 4042 <expression>. 4043 40442000-09-04 Alex Samuel <samuel@codesourcery.com> 4045 4046 * cp-demangle.c (demangle_type_ptr): Increment position past 4047 pointer and reference characters. 4048 40492000-09-04 Alex Samuel <samuel@codesourcery.com> 4050 4051 * cp-demangle.c (demangle_nv_offset): New function. 4052 (demangle_v_offset): Likewise. 4053 (demangle_call_offset): Likewise. 4054 (demangle_special_name): Update thunk demangling to comply with 4055 ABI changes. 4056 40572000-09-03 Alex Samuel <samuel@codesourcery.com> 4058 4059 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro. 4060 (substitution_def): Remove template_parm_number. 4061 (NOT_TEMPLATE_PARM): Remove. 4062 (result_insert_string): New macro. 4063 (result_insert): Likewise. 4064 (result_insert_char): Likewise. 4065 (substitution_add): Remove last parameter. Don't store template 4066 parm number. 4067 (BFT_NO_RETURN_TYPE): Define as NULL. 4068 (demangle_encoding): Adjust call to demangle_bare_function_type. 4069 (demangle_name): Adjust substitution. Adjust call to 4070 substitution_add. 4071 (demangle_prefix): Adjust call to substitution_add. 4072 (demangle_identifier): Handle anonymous namespaces. 4073 (demangle_operator_name): Change demangling of vendor-extended 4074 operator to match ABI changes. 4075 (demangle_type_ptr): Change parameters. Make recursive. Handle 4076 substitutions here. 4077 (demangle_type): Adjust calls to demangle_template_param, 4078 substitution_add, and demangle_type_ptr. Fix substitution of 4079 templated types. 4080 (demangle_function_type): Change parameter to a pointer. 4081 (demangle_bare_function_type): Likewise. Adjust insertion point. 4082 (demangle_template_param): Remove last parameter. 4083 (demangle_expr_primary): Remove unused variable. Adjust call to 4084 demangle_template_param. 4085 (is_mangled_char): Accept `$' and `.'. 4086 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'. 4087 * dyn-string.c (dyn_string_insert_char): New function. 4088 40892000-08-31 Hans-Peter Nilsson <hp@axis.com> 4090 4091 * testsuite/demangle-expected: Add nine tests for 4092 underscore-after-number followed by five tests for name-signature 4093 delimiter. 4094 40952000-08-28 Richard Henderson <rth@cygnus.com> 4096 4097 * Makefile.in (md5.o): Depend on config.h. 4098 40992000-08-28 Jason Merrill <jason@redhat.com> 4100 4101 * Makefile.in (REQUIRED_OFILES): Add md5.o. 4102 (CFILES): Add md5.c. 4103 * md5.c: New file. 4104 41052000-08-27 Alex Samuel <samuel@codesourcery.com> 4106 4107 * cp-demangle.c (demangle_name): Initialize template_p in local 4108 name case. Don't re-add substitutions as candidates. 4109 (demangle_nested_name): Use <unqualified-name>. 4110 (demangle_prefix): Likewise. Don't add template names as 4111 substitution candidates twice, or re-add a substitution or the 4112 last prefix component. 4113 (demangle_local_name): Adjust output format. 4114 41152000-08-25 Alex Samuel <samuel@codesourcery.com> 4116 4117 * cp-demangle.c (result_add_separated_char): Change parameter to 4118 int. 4119 (substitution_add): Don't check for duplicates. Check if 4120 previously allocated size is zero. 4121 (demangle_name): Remove duplicate check for std substitution. 4122 Clear template flag appropriately. 4123 (demangle_prefix): Remove argument to demangle_substitution. 4124 Don't check that template flag is already set. 4125 (demangle_operator_name): Add pt operator. 4126 (demangle_type): Don't treat r as built-in type. Remove argument 4127 to demangle_substitution. Fix substitution candidate mechanics. 4128 Handle <template-template-parm>s. Improve comments. 4129 (demangle_template_param): Don't handle template arg lists here. 4130 (demangle_substitution): Remove parameter. 4131 (print_usage): Remove extra fprintf option. 4132 41332000-08-24 Greg McGary <greg@mcgary.org> 4134 4135 * libiberty/random.c (end_ptr): Revert previous change. 4136 41372000-08-24 Greg McGary <greg@mcgary.org> 4138 4139 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname, 4140 demangle_expression, demangle_function_name): Use ARRAY_SIZE. 4141 * libiberty/random.c (end_ptr): Likewise. 4142 41432000-08-23 Alex Samuel <samuel@codesourcery.com> 4144 4145 * cp-demangle.c (result_close_template_list): Remove function. 4146 (result_add_separated_char): New function. 4147 (result_open_template_list): New macro. 4148 (result_close_template_list): Likewise. 4149 (demangle_prefix): Don't set template_p if the 4150 prefix ends with a ctor name. 4151 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR. 4152 (demangle_type): Check for template args after substitution. 4153 (demangle_template_args): Use result_open_template_list. 4154 41552000-08-02 Zack Weinberg <zack@wolery.cumb.org> 4156 4157 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop. 4158 41592000-07-26 Dave Pitts <dpitts@cozx.com> 4160 4161 * config/mh-openedition.h: Added -DLE370 definition. 4162 41632000-07-26 Mark Elbrecht <snowball3@bigfoot.com> 4164 4165 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to 4166 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call. 4167 Cast program to 'char *' in errmsg_arg assignment. 4168 (PWAIT_ERROR): Define. 4169 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform 4170 to DJGPP's WIF* macros. 4171 41722000-07-27 RodneyBrown <RodneyBrown@pmsc.com> 4173 Jeff Law <law@cygnus.com> 4174 4175 * getcwd.c: Include string.h, stdlib.h for prototypes 4176 4177 * Makefile.in (rename.o, waitpid.o): Depend on config.h 4178 * rename.c: Include config.h, unistd.h 4179 * waitpid.c: Include config.h, sys/wait.h 4180 41812000-07-24 Hans-Peter Nilsson <hp@axis.com> 4182 4183 * cplus-dem.c (work_stuff_copy_to_from): New. 4184 (delete_non_B_K_work_stuff): New. 4185 (delete_work_stuff): New. 4186 (mop_up): Break out work_stuff partly destruction to 4187 delete_non_B_K_work_stuff. 4188 (iterate_demangle_function): New. 4189 (demangle_prefix): Call iterate_demangle_function instead of 4190 demangle_function_name. Leave handling of name-signature 4191 __-delimiters to iterate_demangle_function. 4192 (demangle_integral_value): Strip an optional 4193 following underscore cautiously. Handle negative numbers. 4194 41952000-07-24 Daniel Berlin <dberlin@redhat.com> 4196 4197 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to 4198 if (AUTO_DEMANGLING || GNU_DEMANGLING) 4199 42002000-07-21 Alex Samuel <samuel@codesourcery.com> 4201 4202 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge 4203 allocating ctor mangling. 4204 (demangle_array_type): Handle empty and non-constant array length. 4205 42062000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG> 4207 Jeff Law <law@cygnus.com> 4208 4209 * configure.in (AC_CHECK_HEADERS): Add time.h. 4210 (AC_HEADER_TIME): Add check. 4211 * configure, config.in: Regenerate. 4212 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>. 4213 4214 * configure.in (AC_CHECK_HEADERS): Add limits.h. 4215 * configure, config.in: Regenerate. 4216 * sort.c: Portably #include <limits.h> and/or <sys/param.h>. 4217 * strtol.c, strtoul.c: #include "config.h". Portably #include 4218 <limits.h> and/or <sys/param.h>. 4219 * Makefile.in (strtol.o, strtoul.o): Update dependencies. 4220 4221 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro. 4222 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check. 4223 * configure, config.in: Regenerate. 4224 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary. 4225 4226 * cp-demangle.c, mkstemps.c: #include <sys/types.h>. 4227 42282000-07-21 Mike Stump <mrs@wrs.com> 4229 4230 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c. 4231 * (vasprintf.o): Add dependency for config.h in vasprintf.c. 4232 42332000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 4234 4235 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2. 4236 4237 * setenv.c (setenv): Initialize variable `ep'. 4238 4239 * sigsetmask.c (abort): Prototype. 4240 4241 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not 4242 __STDC__ for stdarg.h include. 4243 (int_vasprintf): Prototype. 4244 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in 4245 definition. Cast `global_total_width' in comparison. 4246 (main): Prototype. Return a value. 4247 4248 * vfork.c (fork): Prototype. 4249 4250 * xexit.c: Include config.h. 4251 42522000-07-20 Joseph S. Myers <jsm28@cam.ac.uk> 4253 4254 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int, 4255 and print it with %u. 4256 42572000-07-17 Hans-Peter Nilsson <hp@axis.com> 4258 4259 * testsuite/regress-demangle (failed test): Show result and 4260 expected output. 4261 42622000-07-07 Andrew Haley <aph@cygnus.com> 4263 4264 * cplus-dem.c (main): fflush() after emitting last char before 4265 waiting for input. 4266 42672000-06-28 Alex Samuel <samuel@codesourcery.com> 4268 4269 * cp-demangle.c (demangle_encoding): Accept no substitutions. 4270 (demangle_name): Handle <substitution> followed by 4271 <unqualified-template-name>. 4272 (demangle_type): Follow special substitutions with 4273 <class-enum-type> 4274 (demangle_subtitution): Set template_p for special substitutions. 4275 (main): Fix typos. 4276 42772000-06-27 Alex Samuel <samuel@codesourcery.com> 4278 4279 * cp-demangle.c (demangle_special_name): Swap base and derived 4280 class when demangling construction vtables. 4281 42822000-06-21 Alex Samuel <samuel@codesourcery.com> 4283 4284 * cp-demangle.c: Don't include ctype.h. 4285 (IS_DIGIT): New macro. 4286 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout 4287 instead of isdigit and isalpanum. 4288 (demangling_def): Make name and next const pointers. 4289 (STATUS_ALLOCATION_FAILED): New status code. 4290 (dyn_string_append_space): Handle failure in 4291 dyn_string_append_char. 4292 (int_to_dyn_string): Likewise. Change return value to status_t. 4293 (string_list_new): Handle failure of dyn_string_init. 4294 (result_close_template_list): Change return type to status_t. 4295 Handle failure in dyn_string_append. 4296 (result_push): Change return value to status_t. Handle failure in 4297 string_list_new. Handle failure of result_push throughout. 4298 (substitution_add): Change return value to status_t. Handle 4299 dyn_string failures. Handle failure of substitution_add 4300 throughout. 4301 (template_arg_list_new): Return NULL on allocation failure. 4302 (result_append_string): Return STATUS_ALLOCATION_FAILED on error. 4303 Handle error result throughout. 4304 (result_append): Likewise. 4305 (result_append_char): Likewise. 4306 (result_append_space): Likewise. 4307 (demangling_new): Make argument a const pointer. Handle 4308 allocation failures. 4309 (demangle_template_args): Handle failure in template_arg_list_new 4310 and result_close_template_list. 4311 (demangle_discriminator): Return if int_to_dyn_string fails. 4312 (cp_demangle): Likewise. 4313 (cp_demangle_type): New function. 4314 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on 4315 memory allocation failure. 4316 (main): Likewise. 4317 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if 4318 IN_LIBGCC2. 4319 (dyn_string_init): Change return value to int. Handle 4320 RETURN_ON_ALLOCATION_FAILURE case. 4321 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case. 4322 (dyn_string_release): Delete the dyn_string. 4323 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case. 4324 (dyn_string_copy): Change return type to int. 4325 (dyn_string_copy_cstr): Likewise. 4326 (dyn_string_prepend): Likewise. 4327 (dyn_string_prepend_cstr): Likewise. 4328 (dyn_string_insert): Likewise. 4329 (dyn_string_insert_cstr): Likewise. 4330 (dyn_string_append): Likewise. 4331 (dyn_string_append_cstr): Likewise. 4332 (dyn_string_append_char): Likewise. 4333 (dyn_string_substring): Likewise. 4334 43352000-06-09 Zack Weinberg <zack@wolery.cumb.org> 4336 4337 * cp-demangle.c (demangle_operator_name): Add spaces before 4338 names beginning with a letter: delete, delete[], new, new[], 4339 sizeof. 4340 (demangle_special_name): Handle TF <type> and TJ <type>. 4341 4342Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be> 4343 4344 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch. 4345 4346Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be> 4347 4348 * cp-demangle.c (stdio.h): File included unconditionaly. 4349 (template_arg_list_new): Parameter list is PARAMS ((void)), not (). 4350 * dyn-string.c (stdio.h): File included. 4351 * partition.c (partition_print): No `&' needed to take the address of 4352 a function. 4353 43542000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 4355 4356 * configure.in (ac_libiberty_warn_cflags): Add -pedantic. 4357 4358 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify. 4359 4360 * cp-demangle.c (demangle_char): Change parameter from char to int. 4361 (demangle_expression, demangle_expr_primary): Remove extra 4362 semi-colon in prototype. 4363 4364 * dyn-string.c (dyn_string_append_char): Change parameter from 4365 char to int. 4366 4367 * memcmp.c (memcmp): Constify. 4368 4369 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with 4370 __extension__. 4371 4372 * partition.c (elem_compare): Prototype. Don't cast away 4373 const-ness. 4374 4375 * setenv.c (setenv): Use braces to avoid ambiguous `else'. 4376 43772000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 4378 4379 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h. 4380 4381 * cp-demangle.c: Include demangle.h. 4382 (template_arg_list_new): DeANSIfy. 4383 (cp_demangle): Make static and add prototype. 4384 (operator_code, operators): Constify. 4385 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'. 4386 43872000-06-05 Alex Samuel <samuel@codesourcery.com> 4388 4389 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to 4390 unsigned char. 4391 (demangle_unqualified_name): Likewise. 4392 (demangle_number_literally): Likewise. 4393 (demangle_type): Likewise. 4394 (demangle_substitution): Likewise. 4395 (is_mangled_char): Likewise, for isalnum. 4396 43972000-06-04 Alex Samuel <samuel@codesourcery.com> 4398 4399 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c. 4400 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o. 4401 (cp-demangle.o): New dependency. 4402 (dyn-string.o): Likewise. 4403 4404 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions. 4405 4406 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI 4407 demangler. 4408 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI 4409 demangling mode. 4410 (gnu_new_abi_symbol_characters): New function. 4411 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New 4412 file. 4413 * cp-demangle.c: New file. 4414 4415Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com> 4416 4417 * floatformat.c: Add name to each floatformat field. 4418 4419Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com) 4420 4421 * Makefile.in (objalloc.o): Depend on config.h 4422 44232000-05-29 Zack Weinberg <zack@wolery.cumb.org> 4424 4425 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h 4426 if HAVE_STRING_H. 4427 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H. 4428 * objalloc.c: Include config.h. Include stdlib.h and don't 4429 declare malloc or free if HAVE_STDLIB_H. 4430 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H, 4431 else declare malloc without prototype. Include string.h if 4432 HAVE_STRING_H, else declare memset without prototype. Don't 4433 include stddef.h. 4434 44352000-05-23 Mike Stump <mrs@wrs.com> 4436 4437 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make 4438 -j3. 4439 44402000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca> 4441 4442 * xmalloc.c: Include config.h for HAVE_SBRK definition. 4443 44442000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl> 4445 4446 * hashtab.c (hash_pointer): Delete low-order bits which are 4447 probably zero, also eliminate a warning on alpha. 4448 44492000-05-15 David Edelsohn <edelsohn@gnu.org> 4450 4451 * Makefile.in: Change "pic" to depend on $(PICFLAG), not 4452 on $(enable_shared). 4453 44542000-05-10 Jakub Jelinek <jakub@redhat.com> 4455 4456 * config.table: Use mh-sparcpic for sparc*-*-*. 4457 44582000-05-08 Nick Clifton <nickc@cygnus.com> 4459 4460 * Makefile.in (CFILES): Add strncmp.c. 4461 (NEEDED): Add strncmp. 4462 44632000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 4464 4465 * cplus-dem.c (cplus_demangle_opname, demangle_function_name): 4466 Cast the arguments to `islower' to `unsigned char'. 4467 (print_demangler_list): Prototype. 4468 4469Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be> 4470 4471 * sort.c (UCHAR_MAX): Provide fallback definition. 4472 44732000-04-29 Alexandre Oliva <aoliva@cygnus.com> 4474 4475 * Makefile.in (maintainer-clean-subdir): Fix handling of empty 4476 SUBDIRS. 4477 44782000-04-28 Kenneth Block <block@zk3.dec.com> 4479 Jason Merrill <jason@casey.cygnus.com> 4480 4481 * cplus-dem.c (libiberty_demanglers): New table for demangle styles. 4482 (cplus_demangle_set_style): New function for setting style. 4483 (cplus_demangle_name_to_style): New function to translate name. 4484 44852000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 4486 4487 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP. 4488 4489 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h. 4490 (libiberty_AC_FUNC_STRNCMP): Invoke. 4491 4492 * strncmp.c: New file. 4493 4494Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz> 4495 4496 * hashtab.c (htab_expand): Add prototype. 4497 (find_empty_slot_for_expand): Likewise. 4498 44992000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 4500 4501 * hashtab.c (hash_pointer, eq_pointer): Make definition static to 4502 match prototype. 4503 (htab_expand): Cast the return value of xcalloc. 4504 45052000-04-24 Mark Mitchell <mark@codesourcery.com> 4506 4507 * hashtab.c (hash_pointer): New function. 4508 (eq_pointer): Likewise. 4509 (htab_hash_pointer): New variable. 4510 (htab_eq_pointer): Likewise. 4511 45122000-04-23 Mark Mitchell <mark@codesourcery.com> 4513 4514 * sort.c (sort_pointers): Fix endianness bugs. 4515 4516 * sort.c: New file. 4517 * Makefile.in (CFILES): Add sort.c 4518 (REQUIRED_OFILES): Add sort.o. 4519 (sort.o): New target. 4520 45212000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG> 4522 4523 * Makefile.in (*-subdir): Revamp slightly to avoid losing on 4524 4.3BSD systems. 4525 4526Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> 4527 4528 * hashtab.c: Various minor cleanups. 4529 (htab_find_slot_with_hash): INSERT is now enum insert_option. 4530 (htab_find_slot): Likewise. 4531 45322000-04-16 Dave Pitts <dpitts@cozx.com> 4533 4534 * cplus-dem.c (cplus_demangle_opname): Changed to use islower. 4535 45362000-04-05 Richard Henderson <rth@cygnus.com> 4537 4538 * splay-tree.c (splay_tree_remove): New. 4539 45402000-03-30 Mark Mitchell <mark@codesourcery.com> 4541 4542 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash 4543 codes. 4544 (htab_find_with_hash): Likewise. 4545 (htab_find_slot_with_hash): Likewise. 4546 45472000-03-29 Zack Weinberg <zack@wolery.cumb.org> 4548 4549 * hashtab.c (htab_find_with_hash): Avoid calculating hash2 4550 unless it will be used. Rearrange loop for better 4551 optimization. 4552 (higher_prime_number): Add static prototype. 4553 4554Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com) 4555 4556 * Makefile.in (partition.o): Depend on config.h 4557 45582000-03-14 Bernd Schmidt <bernds@cygnus.co.uk> 4559 4560 * hashtab.c (find_empty_slot_for_expand): New function. 4561 (htab_expand): Use it instead of htab_find_slot. 4562 (htab_find_with_hash): Renamed from htab_find; now accepts extra 4563 argument HASH. 4564 (htab_find_slot_with_hash): Likewise for htab_find_slot. 4565 (htab_find): New wrapper function. 4566 (htab_find_slot): Likewise. 4567 (htab_traverse): Pass slot, not entry, to called function. 4568 45692000-03-09 Alex Samuel <samuel@codesourcery.com> 4570 4571 * Makefile.in (CFILES): Add partition.c. 4572 (REQUIRED_OFILES): Add partition.o. 4573 (partition.o): New rule. 4574 * partition.c: New file. 4575 45762000-03-09 Zack Weinberg <zack@wolery.cumb.org> 4577 4578 * hashtab.c (htab_create): Set del_f. 4579 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot): 4580 Use it. 4581 45822000-03-08 Zack Weinberg <zack@wolery.cumb.org> 4583 4584 * hashtab.c: Remove debugging variables (all_searches, 4585 all_collisions, all_expansions). Delete 4586 all_hash_table_collisions. 4587 (create_hash_table, delete_hash_table, empty_hash_table, 4588 find_hash_table_entry, remove_element_from_hash_table_entry, 4589 clear_hash_table_slot, traverse_hash_table, hash_table_size, 4590 hash_table_elements_number, hash_table_collisions): Rename to: 4591 htab_create, htab_delete, htab_empty, htab_find_slot, 4592 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size, 4593 htab_elements, htab_collisions. 4594 (htab_find): New function, handles common case where you don't 4595 plan to add or delete an entry. 4596 (htab_expand): Don't create a whole new table, just a new 4597 entry vector. 4598 (htab_find_slot): Simplify logic. 4599 46001999-08-03 Ian Lance Taylor <ian@zembu.com> 4601 4602 * floatformat.c: Add casts to avoid signed/unsigned warnings. 4603 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix. 4604 4605 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to 4606 $(TARGETLIB)n so it works on MSDOS. 4607 (install_to_tooldir): Likewise. 4608 46091999-07-21 Ian Lance Taylor <ian@zembu.com> 4610 4611 From Mark Elbrecht: 4612 * makefile.dos: Remove; obsolete. 4613 * configure.bat: Remove; obsolete. 4614 46151999-07-11 Ian Lance Taylor <ian@zembu.com> 4616 4617 * splay-tree.c (splay_tree_insert): Add initialization to avoid 4618 warning. 4619 46202000-01-04 Mumit Khan <khan@xraylith.wisc.edu> 4621 4622 * pexecute.c: Conditionally include string.h. 4623 (fix_argv): Handle embedded whitespace in args for Mingw32. 4624 46252000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 4626 4627 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if 4628 we're using gcc. 4629 4630 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@ 4631 46321999-12-27 Geoff Keating <geoffk@cygnus.com> 4633 4634 * vasprintf.c (int_vasprintf): Don't re-read the format character 4635 as this mishandles strings like '%%s'. 4636 46371999-12-05 Mark Mitchell <mark@codesourcery.com> 4638 4639 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s 4640 rather than struct splay_tree_node. 4641 (splay_tree_insert): Use struct splay_tree_s rather than struct 4642 splay_tree. 4643 4644Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be> 4645 4646 * hashtab.c (sys/types.h): File included. 4647 46481999-11-22 Jason Merrill <jason@casey.cygnus.com> 4649 4650 * strtoul.c, strtol.c, random.c: Remove advertising clause from 4651 BSD license, pursuant with 4652 4653 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change 4654 4655Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com) 4656 4657 * hashtab.c: Include stdio.h. 4658 4659Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com) 4660 4661 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS. 4662 4663Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be> 4664 4665 * xstrdup (sys/types.h): Include this file. 4666 46671999-10-28 Nathan Sidwell <nathan@acm.org> 4668 4669 * Makefile.in (SUBDIRS): New macro. 4670 (mostlyclean, clean, distclean, maintainer-clean): Adjust to 4671 avoid multiple subdirectory cleaning. 4672 (*-subdir): Use SUBDIRS. 4673 46741999-10-25 Jim Kingdon <http://developer.redhat.com/> 4675 4676 * cplus-dem.c: Move declarations of standard_symbol_characters and 4677 hp_symbol_characters inside #ifdef MAIN to avoid compiler 4678 warnings. 4679 46801999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com> 4681 4682 * hashtab.c (find_hash_table_entry): When returning a 4683 DELETED_ENTRY slot, change it to EMPTY_ENTRY first. 4684 (clear_hash_table_slot): New function which deletes an entry 4685 by its position in the table, not its value. 4686 (traverse_hash_table): New function which calls a hook 4687 function for every live entry in the table. 4688 46891999-10-19 Mark Mitchell <mark@codesourcery.com> 4690 4691 * cplus-dem.c (INTBUF_SIZE): New macro. 4692 (string_append_template_idx): New function. 4693 (demangle_expression): Likewise. 4694 (demangle_integral_value): Use it. 4695 (demangle_real_value): New function, split out from ... 4696 (demangle_template_value_parm): ... here. Use 4697 string_append_template_idx. Use demangle_real_value. 4698 (demangle_template): Use string_append_template_idx. 4699 (demangle_qualified): Use consume_count_with_underscores. 4700 (get_count): Tweak formatting. 4701 (do_type): Use string_append_template_idx. 4702 47031999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 4704 4705 * calloc.c: Add a public domain notice. 4706 4707Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be> 4708 4709 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly. 4710 4711Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com> 4712 4713 * Makefile.in (CFILES): Add hashtab.c 4714 (REQUIRED_OFILES): Add hashtab.o 4715 (hashtab.o): Add dependencies. 4716 * hashtab.c: New file 4717 4718Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu> 4719 4720 * basename.c (DIR_SEPARATOR): New macro. 4721 (DIR_SEPARATOR_2): Likewise. 4722 (HAVE_DOS_BASED_FILESYSTEM): Likewise. 4723 (IS_DIR_SEPARATOR): Likewise. 4724 (main): Handle MSDOS style pathname. 4725 47261999-10-11 Mark Mitchell <mark@codesourcery.com> 4727 4728 * cplus-dem.c (do_type): Handle pointer to member types whose 4729 enclosing classes have namespace scope. 4730 4731Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org> 4732 4733 * config.table: Provide a backup shell for executing move-if-change. 4734 47351999-10-02 Mark Mitchell <mark@codesourcery.com> 4736 4737 * xmalloc.c (xmalloc): Fix spelling error. 4738 (xcalloc, xrealloc): Likewise. 4739 47401999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 4741 4742 * cplus-dem.c (fancy_abort, demangle_integral_value, 4743 demangle_arm_hp_template, recursively_demangle, 4744 standard_symbol_characters, hp_symbol_characters, main): Add prototype. 4745 (program_name, program_version, fatal): Constify a char*. 4746 (usage, fatal): Mark with ATTRIBUTE_NORETURN. 4747 (main): Call return, not exit. 4748 47491999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 4750 4751 * choose-temp.c: Remove obsolete comment about gcc. 4752 (make_temp_file): Constify a char*. 4753 4754Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 4755 4756 * xmemdup.c: Include sys/types.h. 4757 47581999-09-07 Jeff Garzik <jgarzik@pobox.com> 4759 4760 * xmemdup.c: New xmemdup function. 4761 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co]. 4762 4763Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org> 4764 4765 * config.table: Add openedition target. 4766 * config/mh-openedition: New file. 4767 4768Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org> 4769 4770 * pexecute.c (pexecute): Fill in temp_base when needed. 4771 47721999-08-31 Richard Henderson <rth@cygnus.com> 4773 4774 * getpwd.c: Check HAVE_GETCWD before defining it away. 4775 47761999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 4777 4778 * Makefile.in (CFILES): Add calloc.c and getpwd.c. 4779 (REQUIRED_OFILES): Add getpwd.o. 4780 (getpwd.o): Add target. 4781 4782 * configure.in (AC_PREREQ): Bump to 2.13. 4783 (AC_CHECK_HEADERS): Add check for <sys/stat.h>. 4784 4785 * getpwd.c: New file, moved here from gcc. 4786 47871999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 4788 4789 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when 4790 comparing against a signed quantity. 4791 (arm_special): Likewise. 4792 (demangle_fund_type): Likewise. 4793 (do_hpacc_template_const_value): Mark parameter `work' with 4794 ATTRIBUTE_UNUSED. 4795 (main): Constify variable `valid_symbols'. 4796 4797Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be> 4798 4799 * strtoul.c (strtoul): Add parentheses around && within ||. 4800 4801Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org> 4802 4803 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix, 4804 libdir, libsubdir and tooldir. 4805 48061999-08-01 Mark Mitchell <mark@codesourcery.com> 4807 4808 * splay-tree.c (splay_tree_insert): Return the new node. 4809 48101999-07-14 Richard Henderson <rth@cygnus.com> 4811 4812 * argv.c: Include stdlib.h and string.h instead of 4813 prototyping directly. 4814 * choose-temp.c: Conditionally include string.h. 4815 48161999-07-12 Jason Merrill <jason@yorick.cygnus.com> 4817 4818 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero. 4819 48201999-07-11 Ian Lance Taylor <ian@zembu.com> 4821 4822 * splay-tree.c (splay_tree_insert): Add initialization to avoid 4823 warning. 4824 48251999-07-07 Jason Merrill <jason@yorick.cygnus.com> 4826 4827 * Makefile.in (needed-list): Only include stuff we actually need 4828 for libstdc++. 4829 48301999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> 4831 4832 * configure.in (checkfuncs): Add gettimeofday. 4833 * config.in, configure: Regenerated. 4834 4835Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu> 4836 4837 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if 4838 the test fails. 4839 * configure: Regenerate. 4840 48411999-06-10 Mike Stump <mrs@wrs.com> 4842 4843 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix 4844 parallel builds. 4845 48461999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 4847 4848 * putenv.c: Include ansidecl.h to define `const'. 4849 * setenv.c: Likewise. 4850 4851Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca> 4852 4853 * Makefile.in (CFILES): Add putenv.c and setenv.c. 4854 * configure.in (funcs): Add putenv and setenv. 4855 (AC_CHECK_FUNCS): Check for putenv and setenv. 4856 * configure: Rebuilt. 4857 * putenv.c setenv.c: New files. 4858 4859 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE 4860 bytes of space using malloc. 4861 4862Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com> 4863 4864 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance 4865 the *mangled pointer beyond the end of the string. Clean up code to 4866 match prevailing coding style. 4867 48681999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz> 4869 4870 * tmpnam.c (L_tmpnam): Fix typo. 4871 4872Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org> 4873 4874 * cplus-dem.c (standard_symbol_characters): Renamed from 4875 standard_symbol_alphabet. No longer modify TABLE. 4876 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer 4877 modify TABLE. 4878 (main): Corresponding changes. Use strchr to determine if a 4879 character is valid. 4880 48811999-05-11 Jim Blandy <jimb@zwingli.cygnus.com> 4882 4883 * cplus-dem.c (main): Use table lookup to distinguish identifier 4884 characters from non-identifier characters. 4885 (standard_symbol_alphabet, hp_symbol_alphabet): New functions. 4886 4887Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com> 4888 4889 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list. 4890 * getruntime.c: Only attempt to include sys/resource.h and 4891 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H 4892 are defined. 4893 4894Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com) 4895 4896 * configure.in (alloca detection): Handle alloca directly for interix. 4897 * configure: Rebuilt. 4898 4899Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu> 4900 4901 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32. 4902 49031999-04-20 Jim Blandy <jimb@zwingli.cygnus.com> 4904 4905 Fix from Dale Hawkins: 4906 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be 4907 reallocated properly if we use it again. 4908 4909 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be 4910 stricter about syntax. Always null-terminate string. 4911 4912Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu> 4913 4914 * configure.in (checkfuncs): Check for sbrk. 4915 * config.in: Rebuilt. 4916 * configure: Likewise. 4917 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions. 4918 49191999-04-12 Jim Blandy <jimb@zwingli.cygnus.com> 4920 4921 Fix from Marcus Daniels: 4922 * cplus-dem.c (demangle_fund_type): Don't run off the end of the 4923 identifier looking for another underscore. 4924 4925Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu> 4926 4927 * pexecute.c: Change all references to __UWIN__ to _UWIN. 4928 * xmalloc.c: Likewise. 4929 (xcalloc): UWIN has sbrk. 4930 (xrealloc): Fix guard macro. 4931 49321999-04-11 Richard Henderson <rth@cygnus.com> 4933 4934 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin 4935 or <alloca.h>. 4936 * clock.c (GNU_HZ): New definition. 4937 (clock): Use it. 4938 * getruntime.c: Likewise. 4939 4940 * config.table: Use mh-beos. 4941 * config/mh-beos: New file. 4942 49431999-04-11 Mark Mitchell <mark@codesourcery.com> 4944 4945 * cplus-dem.c (demangle_template_value_parm): Handle 4946 pointers-to-members. 4947 (do_type): Handle template parameters as qualifiers. 4948 49491999-04-01 Jim Blandy <jimb@zwingli.cygnus.com> 4950 4951 * cplus-dem.c: Attempt to handle overflows in counts with some 4952 semblance of grace. 4953 (consume_count): Detect overflows. Return -1 to indicate errors, 4954 instead of zero. 4955 (demangle_template_value_parm, demangle_template): Handle change 4956 to consume_count's return convention. 4957 49581999-04-05 Tom Tromey <tromey@cygnus.com> 4959 4960 * testsuite/regress-demangle: New file. 4961 * testsuite/demangle-expected: New file. 4962 4963 * Makefile.in (all, check, installcheck, info, install-info, 4964 clean-info, dvi, install, etags, tags, mostlyclean, clean, 4965 distclean, maintainer-clean, realclean): Depend on corresponding 4966 `-subdir' target. 4967 (all-subdir check-subdir installcheck-subdir info-subdir 4968 install-info-subdir clean-info-subdir dvi-subdir 4969 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir 4970 distclean-subdir maintainer-clean-subdir): New target. 4971 * testsuite/Makefile.in: New file. 4972 * configure: Rebuilt. 4973 * configure.in: Create testsuite/Makefile. 4974 49751999-04-02 Mark Mitchell <mark@codesourcery.com> 4976 4977 * splay-tree.h (splay_tree_compare_pointers): Define. 4978 49791999-03-30 Mark Mitchell <mark@codesourcery.com> 4980 4981 * splay-tree.c (splay_tree_compare_ints): Define. 4982 49831999-03-30 Tom Tromey <tromey@cygnus.com> 4984 4985 * cplus-dem.c (consume_count): If `count' wraps, return 0 and 4986 don't advance input pointer. 4987 (demangle_class_name): If consume_count didn't find a count, do 4988 nothing. Don't bother with `strlen' sanity check; consume_count 4989 does it for us. 4990 49911999-03-16 Stan Shebs <shebs@andros.cygnus.com> 4992 4993 From Art Haas <ahaas@neosoft.com>: 4994 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings 4995 when doing arm or hp style. 4996 (demangle_nested_args): Decr forgetting_types field when done. 4997 4998Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu> 4999 5000 * pexecute.c (__CYGWIN32__): Rename to 5001 (__CYGWIN__): this. 5002 * xmalloc.c: Likewise. 5003 5004 Changes to support i386-pc-uwin. 5005 * configure.in (*-*-uwin*): Workaround for vfork bug. 5006 * configure: Regenerate. 5007 * pexecute.c (pexecute): Be like standard Unix. 5008 (pwait): Likewise. 5009 * xmalloc.c (first_break): Define. 5010 (xmalloc_set_program_name): Use. 5011 (xmalloc): Use. 5012 5013Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> 5014 5015 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc 5016 5017Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com> 5018 5019 * config.table: Check cygwin*, not cygwin32*. 5020 5021Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com> 5022 5023 * Makefile.in: Change mkstemp -> mkstemps. 5024 5025Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr> 5026 5027 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o 5028 * configure.in (funcs): Check for and conditionally add mkstemps to 5029 the list of functions libiberty will provide. 5030 * configure: Rebuilt. 5031 5032Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu> 5033 5034 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on 5035 platforms that don't have HZ. 5036 * getruntime.c (HZ): Likewise. 5037 5038Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com> 5039 5040 * Makefile.in (xstrdup.o): Depend on config.h. 5041 5042Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org) 5043 5044 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after 5045 freeing it. 5046 5047Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 5048 5049 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed. 5050 5051Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com> 5052 5053 * Makefile.in (CFILES): fix typo, splay-tree.c instead of 5054 splay-tree.o. 5055 50561999-01-04 Jason Molenda (jsm@bugshack.cygnus.com) 5057 5058 * configure.in: Require autoconf 2.12.1 or higher. 5059 50601998-12-30 Michael Meissner <meissner@cygnus.com> 5061 5062 * random.c (NULL): Don't redefine NULL if it is already defined. 5063 5064Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 5065 5066 * argv.c (buildargv): Cast the result of alloca in assignment. 5067 5068 * choose-temp.c: Include stdlib.h. 5069 5070 * cplus-dem.c (demangle_arm_pt): Remove unused prototype. 5071 (snarf_numeric_literal): Constify first parameter. 5072 (code_for_qualifier): Avoid a gcc extension, make the parameter an 5073 int, not a char. 5074 (demangle_qualifier): Likewise. 5075 (demangle_signature): Cast the argument of a ctype function to 5076 unsigned char. 5077 (arm_pt): Add parens around assignment used as truth value. 5078 (demangle_arm_hp_template): Constify variable `args'. 5079 (do_hpacc_template_const_value): Cast the argument of a ctype 5080 function to unsigned char. 5081 (do_hpacc_template_literal): Remove unused variable `i'. 5082 (snarf_numeric_literal): Constify parameter `args'. 5083 Cast the argument of a ctype function to unsigned char. 5084 5085 * floatformat.c (floatformat_to_double): Add explicit braces to 5086 avoid ambiguous `else'. 5087 5088 * fnmatch.c (fnmatch): Change type of variables `c', `c1', 5089 `cstart' and `cend' to unsigned char. Cast the argument of macro 5090 `FOLD', which uses ctype functions, to unsigned char. 5091 5092 * objalloc.c (free): Add prototype. 5093 5094Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se> 5095 5096 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o 5097 5098Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com> 5099 5100 * cplus-dem.c (demangle_arm_pt): remove declaration -- function 5101 doesn't exist. 5102 (do_hpacc_template_literal): remove unused variable `i'. 5103 5104Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com> 5105 5106 * cplus-dem.c (demangle_fund_type): Process CV and u codes before 5107 bumping the pointer we read from. Also prepend these codes, 5108 as we do in other places. 5109 51101998-12-18 Nick Clifton <nickc@cygnus.com> 5111 5112 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be 5113 'const char *' in order to match its usage when calling siblings. 5114 (snarf_numeric_literal): Make first arg 'const char **' in order 5115 to match usage. 5116 5117Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 5118 5119 * choose-temp.c: Don't check IN_GCC anymore. 5120 5121 * floatformat.c (floatformat_from_double): Use `const', not `CONST'. 5122 * memchr.c (memchr): Likewise. 5123 * memcpy.c (memcpy): Likewise. 5124 * memmove.c (memmove): Likewise. 5125 5126 * mkstemp.c: Don't check IN_GCC anymore. 5127 * pexecute.c: Likewise. 5128 * splay-tree.c: Likewise. 5129 5130 * strchr.c (strchr): Use `const', not `CONST'. 5131 * strrchr.c (strrchr): Likewise. 5132 * strtol.c (strtol): Likewise. 5133 * strtoul.c (strtoul): Likewise. 5134 5135Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com> 5136 Elena Zannoni <ezannoni@cygnus.com> 5137 Stan Shebs <shebs@cygnus.com> 5138 Edith Epstein <eepstein@cygnus.com> 5139 Andres MacLeod <amacleod@cygnus.com> 5140 Satish Pai <pai@apollo.hp.com> 5141 5142 * HP aCC demangling support. 5143 * cplus-dem.c 5144 (main): Remove default to HP style demangling, set to EDG 5145 demangling correctly when -edg specified; set the demangling style 5146 when user specifies 'edg'. Set strip_underscore to 5147 prepends_underscore, if not HPUXHPPA. Set 5148 current_demangling_style to hp_demangling if HPUXHPPA. Set 5149 current demangling style correctly if the switch is hp. Read 5150 label correctly also in the HP style case. 5151 (work_stuff): add temp_start field; add field for volatile member 5152 function. 5153 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP 5154 style for this case is the same as ARM. 5155 (demangle_args): handle EDG_DEMANGLING style; support HP style. 5156 (demangle_arm_hp_template): new function. (It was 5157 demangle_arm_pt.); check and set value of temp_start field in 5158 multiple places. Also, when ceching for end of template args, 5159 check to see if at end of static member of template class. 5160 (demangle_class): new local variable : save_class_name_end Don't 5161 include template args in string defining class. 5162 (demangle_class_name): use demangel_arm_hp_template. 5163 (demangle_function_name): handle case where demangling style is 5164 HP_DEMANGLING and currently point at an 'X' in the mangled name. 5165 Handle EDG_DEMANGLING style. Handle constructor and destructor 5166 ops for HP style. 5167 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING 5168 styles. global destructor and constructor for HP style are same 5169 as for ARM style. Same for local variables. 5170 (demangle_qualified): handle EDG_DEMANGLING style. 5171 (demangle_signature): add case for volatile member function. For 5172 cases '1' - '9' : initialize the temp_start field to -1 and handle 5173 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING 5174 and AUTO_DEMANGLING styles. If expecting a function and managed 5175 to demangle the funct args, then handle the LUCID_DEMANGLING, 5176 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local 5177 class name after "Lnnn_ in HP style case. HP style too needs to 5178 forget types. _nnn is OK for HP style, so don't report failure. 5179 (do_hpacc_template_const_value): new function. Handle template's 5180 value param for HP/aCC. 5181 (do_hpacc_template_literal): new function. Handle a template's 5182 literal parameter for HP aCC. 5183 (recursively_demangle): new function 5184 (snarf_numeric_literal): new function. 5185 (usage): add 'edg' to the list of demangling styles; add hp switch 5186 to message. 5187 5188Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com> 5189 5190 * pexecute.c: Remove obsolete ifdefed cygwin code. 5191 5192Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 5193 5194 * choose-temp.c: Always include libiberty.h. Avoid redundancies. 5195 * cplus-dem.c: Likewise. Conform to libiberty.h. 5196 * pexecute.c: Likewise. 5197 * splay-tree.c: Likewise. 5198 51991998-11-25 Mike Stump <mrs@wrs.com> 5200 5201 * Makefile.in (splay-tree.o): Add config.h dependency. 5202 5203Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 5204 5205 * configure.in: Use AC_PREREQ(2.12.1). 5206 52071998-11-16 Benjamin Kosnik <bkoz@haight.constant.com> 5208 5209 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types. 5210 5211Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com) 5212 5213 * mpw.c (mpw_access): Add missing parens. 5214 5215Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 5216 5217 * configure.in: Call AC_HEADER_SYS_WAIT. 5218 5219 * pexecute.c: Include sys/wait.h when !IN_GCC. 5220 5221Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com> 5222 5223 * pexecute.c: revert back to checking old Cygwin 5224 preprocessor symbol until some time has passed. 5225 5226Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com> 5227 5228 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin 5229 since it will now support similar constructs. 5230 5231Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 5232 5233 * configure.in: Check for calloc. 5234 5235 * calloc.c: New file. 5236 5237 * xmalloc.c (xcalloc): New function. 5238 5239Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com> 5240 5241 *cplus-dem.c (demangle_prefix): Use the last "__" 5242 in the mangled name when looking for the signature. This allows 5243 template names to begin with "__". 5244 52451998-11-08 Mark Mitchell <mark@markmitchell.com> 5246 5247 * cplus-dem.c (type_kind_t): Add tk_reference. 5248 (demangle_template_value_parm): Handle it. 5249 (do_type): Use it for references, instead of tk_pointer. 5250 5251 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle, 5252 not internal_cplus_demangle. 5253 5254Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 5255 5256 * choose-temp.c: Don't include gansidecl.h. 5257 * mkstemp.c: Likewise. 5258 * pexecute.c: Likewise. 5259 5260Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com> 5261 5262 * configure.in: detect cygwin* instead of cygwin32* 5263 * configure: regenerate 5264 5265Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 5266 5267 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining 5268 whether to include config.h. Possibly include unistd.h in the 5269 !IN_GCC case. Define VFORK_STRING as a printable function call 5270 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is 5271 defined, include vfork.h. If VMS is defined, define vfork() 5272 appropriately. Remove vfork check on USG, we're using autoconf. 5273 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking 5274 locally what string to use. 5275 52761998-10-26 Mark Mitchell <mark@markmitchell.com> 5277 5278 * splay-tree.c: Tweak include directives to make sure declarations of 5279 xmalloc and free are available. 5280 52811998-10-25 Mark Mitchell <mark@markmitchell.com> 5282 5283 * cplus-dem.c (gnu_special): Fix handling of virtual tables in 5284 anonymous namespaces. 5285 52861998-10-23 Mark Mitchell <mark@markmitchell.com> 5287 5288 * cplus-dem.c (work_stuff): Replace const_type and volatile_type 5289 with type_quals. 5290 (TYPE_UNQUALIFIED): New macro. 5291 (TYPE_QUAL_CONST): Likewise. 5292 (TYPE_QUAL_VOLATILE): Likewise. 5293 (TYPE_QUAL_RESTRICT): Likewise. 5294 (code_for_qualifier): New function. 5295 (qualifier_string): Likewise. 5296 (demangle_qualifier): Likewise. 5297 (internal_cplus_demangle): Use them. 5298 (demangle_signature): Likewise. 5299 (demangle_template_value_parm): Likewise. 5300 (do_type): Likewise. 5301 (demangle_fund_type)): Likewise. 5302 5303Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 5304 5305 * splay-tree.c (splay_tree_foreach_helper): Make definition static 5306 to match prototype. 5307 53081998-10-21 Mark Mitchell <mark@markmitchell.com> 5309 5310 * splay-tree.c: New file. 5311 * Makefile.in (CFILES): Add it. 5312 (REQUIRED_OFILES): Likewise. 5313 (splay-tree.o): Add dependencies. 5314 5315Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> 5316 5317 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking 5318 range of 'K' index. 5319 5320Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 5321 5322 * choose-temp.c: Prototype mkstemps() when IN_GCC. 5323 5324 * cplus-dem.c (consume_count): Cast argument of ctype macro to 5325 `unsigned char'. 5326 (cplus_demangle_opname): Cast the result of `strlen' to (int) when 5327 comparing against one. 5328 (cplus_mangle_opname): Likewise. 5329 (demangle_integral_value): Cast argument of ctype macro to 5330 `unsigned char'. 5331 (demangle_template_value_parm): Likewise. 5332 (demangle_template): Initialize variable `bindex'. Cast the 5333 result of `strlen' to (int) when comparing against one. Remove 5334 unused variable `start_of_value_parm'. 5335 (demangle_class_name): Cast the result of `strlen' to (int) when 5336 comparing against one. 5337 (demangle_prefix): Cast argument of ctype macro to `unsigned char'. 5338 (gnu_special): Likewise. Cast the result of `strlen' to (int) 5339 when comparing against one. 5340 (demangle_qualified): Cast argument of ctype macro to `unsigned char'. 5341 (get_count): Likewise. 5342 (do_type): Likewise. Cast the result of `strlen' to (int) when 5343 comparing against one. 5344 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'. 5345 (demangle_function_name): Cast the result of `strlen' to (int) 5346 when comparing against one. 5347 5348 * mkstemp.c (mkstemps): Cast variable `len' to (int) when 5349 comparing against one. 5350 5351Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com) 5352 5353 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h 5354 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too. 5355 * config.in, configure: Rebuilt. 5356 5357 * getopt.c: Check HAVE_STRINGS_H before including strings.h. 5358 * configure.in (AC_CHECK_HEADERS): Check for strings.h too. 5359 * config.in, configure: Rebuilt. 5360 5361Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com> 5362 5363 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT 5364 5365Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com> 5366 5367 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h. 5368 5369Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com) 5370 5371 * Merge egcs & devo libiberty. 5372 53731998-09-08 Martin von L��wis <loewis@informatik.hu-berlin.de> 5374 5375 * cplus-dem.c (demangle_arm_pt): Demangle anonymous namespaces. 5376 5377Mon Sep 7 23:29:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 5378 5379 * mkstemp.c: Include config.h even when not IN_GCC. Wrap header 5380 inclusions inside HAVE_*_H macros. Include ansidecl.h when not 5381 IN_GCC. 5382 5383 * vasprintf.c: Include stdarg.h/varargs.h first. 5384 5385 * vprintf.c: Likewise. 5386 5387Sat Sep 5 03:24:49 1998 Jeffrey A Law (law@cygnus.com) 5388 5389 * pexecute.c: Updates from gcc. Copy in gcc has been removed. This 5390 is the canonical copy. Define ISSPACE if !IN_GCC. 5391 * alloca.c, vfprintf.c, choose-temp.c, mkstemp.c, getopt.c: Similarly. 5392 * getopt1.c, obstack.c: Similarly. 5393 * Makefile.in: Build mkstemp.o 5394 5395Tue Sep 1 23:12:47 1998 Christopher Faylor <cgf@cygnus.com> 5396 5397 * configure.in: Include asprintf in list of functions known not 5398 to be in newlib. 5399 * configure: Rebuild. 5400 5401Wed Aug 19 14:05:01 1998 Mumit Khan <khan@xraylith.wisc.edu> 5402 5403 * cplus-dem.c (work_stuff): Add dllimported. 5404 (demangled_prefix): Mark symbols imported from PE DLL. 5405 (internal_cplus_demangled): Handle. 5406 54071998-08-17 Jason Merrill <jason@yorick.cygnus.com> 5408 5409 * cplus-dem.c (do_type): Fix simple array handling. If we fail, 5410 stay failed. 5411 5412Mon Aug 17 10:40:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 5413 5414 * cplus-dem.c: Include config.h if it exists. Also, only 5415 prototype malloc/realloc if we can't get stdlib.h. 5416 5417Sat Aug 15 16:15:01 1998 Ian Lance Taylor <ian@cygnus.com> 5418 5419 * configure.in: Switch back to checking --with-target-subdir when 5420 deciding whether to check for newlib, undoing part of July 15 5421 change. 5422 * configure: Rebuild. 5423 5424Thu Aug 13 16:47:38 1998 Mark Mitchell <mark@markmitchell.com> 5425 5426 * cplus-dem.c (type_kind_t): New type. 5427 (demangle_template_value_parm): Add type_kind_t parameter. Rely 5428 on this paramter, rather than demangling the type again. 5429 (demangle_integral_value): Pass tk_integral. 5430 (demangle_template_: Pass the value returned from do_type. 5431 (do_type): Return a type_kind_t. Pass tk_integral to 5432 demangle_template_value_parm for array bounds. 5433 (demangle_fund_type): Likewise. 5434 5435 Also incorporate from GCC version: 5436 5437 Tue Jul 21 13:28:19 1998 Jason Merrill <jason@yorick.cygnus.com> 5438 5439 * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays. 5440 5441Thu Aug 13 16:47:38 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 5442 5443 * cplus-dem.c (demangle_nested_args): Make function definition 5444 static to match the prototype. 5445 5446Tue Jul 28 11:33:09 1998 Mark Mitchell <mark@markmitchell.com> 5447 5448 * cplus-dem.c (type_kind_t): New type. 5449 (demangle_template_value_parm): Add type_kind_t parameter. Rely 5450 on this paramter, rather than demangling the type again. 5451 (demangle_integral_value): Pass tk_integral. 5452 (demangle_template_: Pass the value returned from do_type. 5453 (do_type): Return a type_kind_t. Pass tk_integral to 5454 demangle_template_value_parm for array bounds. 5455 (demangle_fund_type): Likewise. 5456 5457 Also incorporate from GCC version: 5458 5459 Tue Jul 21 13:28:19 1998 Jason Merrill <jason@yorick.cygnus.com> 5460 5461 * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays. 5462 5463Mon Jul 27 12:16:08 1998 Ian Lance Taylor <ian@cygnus.com> 5464 5465 * Makefile.in (ALLOCA): New variable. 5466 ($(TARGETLIB)): Add $(ALLOCA) to library. 5467 (needed-list): Add $(ALLOCA). 5468 ($(ALLOCA)): Depend upon stamp-picdir. 5469 5470Sun Jul 19 08:23:17 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 5471 5472 * cplus-dem.c (demangle_nested_args): Make function definition 5473 static to match the prototype. 5474 5475Wed Jul 15 00:12:58 1998 Ian Lance Taylor <ian@cygnus.com> 5476 5477 * configure.in: Check --with-cross-host rather than 5478 --with-target-subdir when deciding whether build uses a cross 5479 compiler, and when deciding where to install the library. 5480 * configure: Rebuild. 5481 5482Sun Jul 12 01:27:05 1998 Jason Merrill <jason@yorick.cygnus.com> 5483 5484 * cplus-dem.c (demangle_nested_args): Return a value. 5485 5486Sat Jul 11 16:19:48 1998 Mark Mitchell <mark@markmitchell.com> 5487 5488 * cplus-dem.c (string): Move definition before work_stuff. 5489 (work_stuff): Add volatile_type, forgetting_types, 5490 previous_argument, and nrepeats fields. 5491 (SCOPE_STRING): New macro. 5492 (demangle_template): Add `remember' parameter. Add comment. 5493 Register the `B' code type here, if remembering. Tidy. Fix crash 5494 on NULL tmpl_argvec. Be consistent with use of tname/trawname. 5495 (demangle_nested_args): New function. 5496 (internal_cplus_demangle): Handle volatile-qualified member 5497 functions. 5498 (mop_up): Delete the previous_argument string if present. 5499 (demangle_signature): Tidy. Handle volatile-qualified member 5500 functions. Handle back-references using the `B' code. Use extra 5501 parameter to demangle_template and SCOPE_STRING where appropriate. 5502 (demangle_template_value_parm): Fix thinko; 'B' is not an integral 5503 code. 5504 (demangle_class): Use SCOPE_STRING. 5505 (gnu_special): Pass additional argument to demangle_template. 5506 Use SCOPE_STRING. 5507 (demangle_qualified): Save qualified types for later 5508 back-references. Handle constructors and destructors for template 5509 types correctly. 5510 (do_type): Tidy. Use SCOPE_STRING. Pass extra argument to 5511 demangle_template. Use demangled_nested_args. Don't remember 5512 qualified types here; that's now done in demangle_qualified. 5513 Similarly for templates. 5514 (do_arg): Improve commment. Handle 'n' repeat code. 5515 (remember_type): Check forgetting_types. 5516 (demangle_args): Deal with 'n' repeat codes. Tidy. 5517 5518Thu Jul 2 16:26:24 1998 Ian Lance Taylor <ian@cygnus.com> 5519 5520 * config.table: Only use mh-fbsd21 on *-*-freebsd2.2.[012], not on 5521 *-*-freebsd2.2.*. From Dmitrij Tejblum <tejblum@arc.hq.cti.ru>. 5522 5523Mon Jun 15 16:29:01 1998 Ian Lance Taylor <ian@cygnus.com> 5524 5525 * configure.in (setobjs): Correct quoting error in cygwin32 case. 5526 From Chris Faylor <cgf@cygnus.com>. 5527 5528Mon Jun 1 13:47:55 1998 Jason Molenda (crash@bugshack.cygnus.com) 5529 5530 * obstack.c: Update to latest FSF version. 5531 5532Mon Jun 1 14:17:36 1998 Mike Stump <mrs@wrs.com> 5533 5534 * Makefile.in: Add a dependency on stamp-picdir for the 5535 objects, so that we can do a parallel build. 5536 5537Sat May 30 22:17:13 1998 Mumit Khan <khan@xraylith.wisc.edu> 5538 5539 * configure.in (checkfuncs): Add missing "'". 5540 5541Fri May 29 12:40:41 1998 Jason Molenda (crash@bugshack.cygnus.com) 5542 5543 * obstack.c (_obstack_memory_used): Elide this function if we're 5544 on a system with GNU libc. 5545 5546Tue May 26 18:28:43 1998 Ian Lance Taylor <ian@cygnus.com> 5547 5548 * Makefile.in (distclean): Remove config.log. 5549 5550Tue May 26 15:01:52 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 5551 5552 * Makefile.in (distclean): Don't remove alloca-conf.h. 5553 5554Fri May 22 01:38:07 1998 Hans-Peter Nilsson <hp@axis.se> 5555 5556 * cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767. 5557 55581998-05-21 Mark Mitchell <mmitchell@usa.net> 5559 5560 * cplus-dem.c (do_type): Handle volatile qualification. 5561 55621998-05-21 Manfred Hollstein <manfred@s-direktnet.de> 5563 5564 * configure.in: Check for unistd.h as well. 5565 * configure: Rebuild. 5566 * config.in: Rebuild. 5567 * getpagesize.c (GNU_OUR_PAGESIZE): Use sysconf only if _SC_PAGESIZE 5568 is defined in unistd.h. Reformat conditional block for easier reading. 5569 5570 * config.table (shared): Default to no if ${enable_shared} 5571 is unset or empty; this logic is used by the toplevel 5572 configure scripts, too. 5573 5574Sat May 16 14:01:26 1998 Jeffrey A Law (law@cygnus.com) 5575 5576 * config.table: Add line to set enable_shared in the Makefile 5577 as needed. 5578 5579Wed May 13 14:24:38 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 5580 5581 * cplus-dem.c (squangle_mop_up): Change return type to void. 5582 (internal_cplus_demangle): Remove unused parameter `options'. 5583 All callers changed. 5584 (cplus_demangle_opname): Remove function wide variable `int i' and 5585 replace with `size_t i' at each location where it is used. 5586 (cplus_mangle_opname): change type of `i' from int to size_t. 5587 5588Wed May 13 13:39:38 1998 Ian Lance Taylor <ian@cygnus.com> 5589 5590 * alloca-conf.h: Include config.h. Check HAVE_ALLOCA_H rather 5591 than sparc or sun. 5592 * Makefile.in (argv.o): Depend upon config.h and alloca-conf.h. 5593 5594Fri May 8 00:23:51 1998 Ian Lance Taylor <ian@cygnus.com> 5595 5596 * configure.in: Set libiberty_topdir correctly when srcdir is 5597 "." and with_target_subdir is not set. 5598 * configure: Rebuild. 5599 5600Thu May 7 13:01:44 1998 Ian Lance Taylor <ian@cygnus.com> 5601 5602 * configure.in: Add *-*-mingw32* case. 5603 * configure: Rebuild. 5604 5605Wed May 6 11:33:51 1998 Ian Lance Taylor <ian@cygnus.com> 5606 5607 * config.table: Never use a PIC file for *-*-cygwin32*. 5608 5609 * Makefile.in (config.status): Depend upon config.table. 5610 5611 * configure.in: On a cygwin32 host, always compile random, and 5612 don't test for sys_siglist, strsignal, or psignal. 5613 * configure: Rebuild. 5614 5615 * clock.c: Check HAVE_SYS_PARAM_H rather than NO_SYS_PARAM_H. 5616 * getcwd.c: Likewise. 5617 * getpagesize.c: Likewise. 5618 * getruntime.c: Likewise. 5619 5620Tue May 5 18:08:32 1998 Ian Lance Taylor <ian@cygnus.com> 5621 5622 Use autoconf tests rather than the old dummy.c test: 5623 * configure.in: Add AC_ARG_WITH calls for --with-target-subdir and 5624 --with-newlib. Add AC_CONFIG_HEADER. Use AC_REPLACE_FUNCS for 5625 most functions. Add special cases to handle newlib and VxWorks. 5626 Remove target_makefile_frag. Create stamp-h in AC_OUTPUT if 5627 CONFIG_HEADERS is set. Only call config-ml.in in AC_OUTPUT if 5628 CONFIG_FILES is set; set ac_file before calling it. 5629 * config.table (arm-*-riscix*, *-*-cygwin32): Remove. 5630 (*-*-hpux*, *-*-hiux*, *-*-irix4*, *-*-solaris2*): Remove. 5631 (*-*-sysv4*, *-*-go32, *-*-vxworks5*, *-*-vxworks): Remove 5632 (i[3456]-*-mingw32*): Remove. 5633 * Makefile.in (ERRORS_CC, CONFIG_H, NEEDED_LIST): Remove. 5634 (LIBOBJS): New variable. 5635 (HOST_OFILES, DO_ALSO, STAGESTUFF): Remove. 5636 (all): Depend upon needed-list. Don't check RULE1. 5637 (@target_makefile_frag@): Remove. 5638 (COMPILE.c): Include @DEFS@. 5639 (HFILES): Add alloca-conf.h. 5640 (REQUIRED_OFILES): Remove basename.o. 5641 ($(TARGETLIB)): New target. 5642 (stamp-needed, lneeded-list, needed.awk, stamp-config): Remove. 5643 (lconfig.h, needed2.awk, dummy.o, errors): Remove. 5644 (needed-list, config.h): Rewrite. 5645 (RULE1, $(RULE1), RULE2, $(RULE2)): Remove. 5646 (.always.): Remove. 5647 (Makefile): Set CONFIG_FILES and CONFIG_HEADERS. 5648 (stamp-h): New target. 5649 (atexit.o, clock.o, getcwd.o, getpagesize.o): New targets. 5650 (basename.o): Don't depend upon config.h. 5651 (getruntime.o): Depend upon config.h. 5652 * atexit.c: Include config.h. Check HAVE_ON_EXIT rather than 5653 NEED_on_exit. 5654 * basename.c: Don't include config.h. Don't check NEED_basename. 5655 * clock.c: Include config.h. 5656 * getcwd.c: Likewise. 5657 * getpagesize.c: Likewise. 5658 * getruntime.c: Likewise. Fix checks which set HAVE_GETRUSAGE and 5659 HAVE_TIMES. 5660 * strerror.c: Change uses of NEED_sys_errlist to 5661 HAVE_SYS_ERRLIST. Likewise for NEED_strerror and HAVE_STRERROR. 5662 * strsignal.c: Likewise for NEED_sys_siglist and HAVE_SYS_SIGLIST, 5663 and for NEED_strsignal and HAVE_STRSIGNAL and for NEED_psignal and 5664 HAVE_PSIGNAL. 5665 * acconfig.h: New file. 5666 * dummy.c: Remove. 5667 * functions.def: Remove. 5668 * config/mh-cxux7 (HDEFINES): Remove -DHAVE_SYSCONF. 5669 * config/mh-windows (HDEFINES): Remove. 5670 * config/mh-cygwin32: Remove. 5671 * config/mh-go32: Remove. 5672 * config/mh-irix4: Remove. 5673 * config/mh-riscix: Remove. 5674 * config/mh-sysv4: Remove. 5675 * config/mt-mingw32: Remove. 5676 * config/mt-vxworks5: Remove. 5677 * config.in: New file, generated using autoheader. 5678 * configure: Rebuild. 5679 5680Mon May 4 13:00:28 1998 Ian Lance Taylor <ian@cygnus.com> 5681 5682 * configure.in: Rewrite to use autoconf. 5683 * configure: Generate using autoconf. 5684 * config/mh-a68bsd: Remove. 5685 * config/mh-apollo68: Remove. 5686 * config/mh-hpbsd: Remove. 5687 * config/mh-ncr3000: Remove. 5688 * config/mh-sysv: Remove. 5689 * config/mh-aix (RANLIB, INSTALL): Don't define. 5690 * config/mh-cxux7 (RANLIB, INSTALL): Don't define. 5691 * config/mh-irix4 (CC, RANLIB, INSTALL): Don't define. 5692 * config/mh-sysv4 (RANLIB, INSTALL): Don't define. 5693 * config.table: Change config_shell to CONFIG_SHELL, and use 5694 libiberty_topdir to find move-if-change. 5695 (m68k-apollo-bsd*, m68k-apollo-sysv*): Remove. 5696 (i[3456]86-ncr-sysv4*, *-*-dgux*, hppa*-hp-bsd*): Remove. 5697 (*-*-irix*, *-*-m88kbcs*, *-*-sysv*): Remove. 5698 * Makefile.in (srcdir): Set to @srcdir@. 5699 (VPATH): Likewise. 5700 (prefix, exec_prefix, bindir, libdir): Set to autoconf variables. 5701 (SHELL, INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Likewise. 5702 (CC, CFLAGS, RANLIB)): Likewise. 5703 (datadir, man*dir, infodir, includedir, MAKEINFO): Remove. 5704 (target_makefile_frag, host_makefile_frag): Add substitutions. 5705 (INSTALL_DEST): Set to @INSTALL_DEST@. 5706 (Makefile): Depend upon config.status. Don't depend upon 5707 $(host_makefile_frag) or $(target_makefile_frag). 5708 (config.status): New target. 5709 5710Sun May 3 17:58:49 1998 Ian Lance Taylor <ian@cygnus.com> 5711 5712 * config/mt-sunos4: Remove. Should be handled by --with-headers 5713 and --with-libraries options at top level. 5714 * config.table: Never use mt-sunos4. 5715 5716 * alloca-conf.h: New file, combining alloca-norm.h and 5717 alloca-botch.h. 5718 * alloca-norm.h: Remove. 5719 * alloca-botch.h: Remove. 5720 * configure.in: Set shell variables files and links to empty. 5721 * config.table: Don't set shell variable files. 5722 * configure.bat: Don't create alloca-conf.h. 5723 * makefile.vms: Likewise. 5724 * mpw-config.in: Likewise. 5725 * vmsbuild.com: Likewise. 5726 5727Fri May 1 11:41:42 1998 Ian Lance Taylor <ian@cygnus.com> 5728 5729 * Makefile.in ($(HOST_OFILES) $(REQUIRED_OFILES)): Remove old 5730 target depending upon config.h. 5731 (alloca.o): Add target depending upon config.h 5732 (basename.o, choose-temp.o, fnmatch.o): Likewise. 5733 (getopt.o, getopt1.o, pexecute.o, strerror.o): Likewise. 5734 (strsignal.o, xstrerror.o): Likewise. 5735 5736Fri May 1 04:26:25 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> 5737 5738 * cplus-dem.c (cplus_demangle_opname): Initialize work. 5739 5740Mon Apr 27 15:53:30 EDT 1998 Andrew MacLeod <amacleod@cygnus.com> 5741 5742 * cplus-dem.c (demangle_qualified): Replace missing else. 5743 5744Sun Apr 26 15:38:50 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 5745 5746 * cplus-dem.c (gnu_special): Fix off-by-one bug when checking the 5747 length in the name of a virtual table. 5748 5749Wed Apr 22 10:53:49 EDT 1998 Andrew MacLeod <amacleod@cygnus.com> 5750 5751 * cplus-dem.c (struct work stuff): Add field for B and K mangle codes. 5752 (cplus_demangle_opname): Call mop_up_squangle. 5753 (cplus_demangle): Initialize squangle info, then call 5754 internal_cplus_demangle. (Most code moved there as well) 5755 (internal_cplus_demangle): New function, performs most of what use 5756 to be done in cplus_demangle, but is only called with this file. 5757 (squangle_mop_up): New function to clean up B and K code data. 5758 (mop_up): set pointers to NULL after freeing. 5759 (demangle_signature, demangle_template, demangle_class): Add 5760 switch elements to handle K and B codes. 5761 (demangle_prefix, gnu_special, demangle_qualified): Add 5762 code to handle K and B codes. 5763 (do_type, demangle_fund_type): Handle B and K codes. 5764 (remember_Ktype): New function to store K info. 5765 (register_Btype, remember_Btype): New functions for B codes. 5766 (forget_B_and_K_types): New function to destroy B and K info. 5767 5768Fri Apr 10 01:49:10 1998 Jeffrey A Law (law@cygnus.com) 5769 5770 * COPYING.LIB, choose-temp.c, cplus-dem.c: Sync with egcs & gcc. 5771 5772Thu Mar 5 09:23:28 1998 Manfred Hollstein <manfred@s-direktnet.de> 5773 5774 * config.table: Make locating frag files failsafe even for the 5775 special case if configuring and building in srcdir. 5776 5777Mon Feb 23 14:33:15 1998 Ian Lance Taylor <ian@cygnus.com> 5778 5779 * choose-temp.c: Fix handling of sys/file.h to work in libiberty. 5780 5781Sun Feb 22 18:03:23 1998 Jeffrey A Law (law@cygnus.com) 5782 5783 * choose-temp.c: Sync with copy in gcc. 5784 5785Thu Feb 12 16:29:49 1998 Ian Lance Taylor <ian@cygnus.com> 5786 5787 * getopt.c: Update to latest FSF version. 5788 * getopt1.c: Likewise. 5789 5790Tue Feb 10 16:58:33 1998 Stan Shebs <shebs@andros.cygnus.com> 5791 5792 * cplus-dem.c (gnu_special): Don't get confused by .<digits> 5793 strings that are not actually lengths. 5794 5795Fri Feb 6 01:35:17 1998 Manfred Hollstein <manfred@s-direktnet.de> 5796 5797 * Makefile.in (FLAGS_TO_PASS): Don't pass PICFLAG. 5798 (.c.o): Check value of enable_shared, not PICFLAG. 5799 (stamp-picdir): Dito. 5800 5801Thu Feb 5 18:48:56 1998 Geoffrey Noer <noer@cygnus.com> 5802 5803 * config/mh-cygwin32: remove vasprintf.o from EXTRA_OFILES 5804 since it gets built automatically 5805 5806Sun Feb 1 02:52:32 1998 Mike Stump <mrs@wrs.com> 5807 5808 * config.table (vxworks configs): Default to VxWorks 5.x, as that is 5809 the currently shipping OS. 5810 5811Tue Jan 27 16:08:20 1998 Pat Rankin <rankin@eql.caltech.edu> 5812 5813 * vmsbuild.com [REQUIRE_OFILES]: Synchronized with Makefile.in: 5814 Add fnmatch.o and objalloc.o; remove vasprintf.o. 5815 [config.h]: Define NEED_strsignal. 5816 5817Mon Jan 19 12:20:01 1998 Ian Lance Taylor <ian@cygnus.com> 5818 5819 * functions.def: Correct argument types for strerror and 5820 strsignal. Reported by Alex Gutman <agutman@emc.com>. 5821 5822Sun Jan 18 15:57:28 1998 Michael Snyder <msnyder@cleaver.cygnus.com> 5823 5824 * vasprintf.c (int_vasprintf): Increase buffer size for float/double 5825 values. 5826 5827Sat Jan 17 22:28:38 1998 Mumit Khan <khan@xraylith.wisc.edu> 5828 J.J. VanderHeijden <J.J.vanderHeijden@student.utwente.nl> 5829 5830 Add mingw32 support. 5831 * pexecute.c (pexecute): New function for mingw32. Supports pipes. 5832 (pwait): New function for mingw32. 5833 5834 * config.table (i[3456]86-*-mingw32*): Support for i386-mingw32. 5835 * config/mt-mingw32: New file. 5836 * xmalloc.c (first_break): Not used for mingw32. 5837 (xmalloc_set_program_name): Don't use sbrk on mingw32. 5838 (xmalloc): Likewise. 5839 (xrealloc): Likewise. 5840 5841Sat Jan 17 22:28:05 1998 Jeffrey A Law (law@cygnus.com) 5842 5843 * choose-temp.c: Sync with gcc version. 5844 5845Tue Jan 13 18:34:39 1998 Jim Wilson <wilson@cygnus.com> 5846 5847 * Makefile.in (install_to_libdir, install_to_tooldir): Add MULTISUBDIR 5848 to all filenames in libdir and tooldir. 5849 (distclean): Do MULTICLEAN before deleting Makefile. 5850 (stamp-needed, stamp-config): Add MULTISRCTOP to 5851 pathname for move-if-change. 5852 5853Thu Dec 4 17:25:19 1997 Jeffrey A Law (law@cygnus.com) 5854 5855 * strsignal.c (sys_nsig): Try NSIG and _NSIG. 5856 5857Wed Nov 19 13:37:06 1997 Michael Meissner <meissner@cygnus.com> 5858 5859 * alloca-norm.h (alloca, GCC case): Don't redefine alloca if it 5860 was already defined previously. 5861 5862Mon Nov 10 12:48:03 1997 Philippe De Muyter <phdm@macqel.be> 5863 5864 * Makefile.in (INSTALL): Use ../install-sh, not install. 5865 5866Tue Oct 28 23:41:15 1997 Judy Goldberg <jodyg@idt.net> 5867 5868 * Makefile.in (CFILES): Add pexecute.c. 5869 5870Wed Oct 15 19:13:48 1997 Ian Lance Taylor <ian@cygnus.com> 5871 5872 * asprintf.c: Consistently use either stdarg or varargs. 5873 5874Tue Oct 14 12:01:00 1997 Mark Mitchell <mmitchell@usa.net> 5875 5876 * cplus-dem.c (demangle_signature): Don't look for return types on 5877 constructors. Handle member template constructors. 5878 5879Fri Oct 3 17:53:30 1997 Ian Lance Taylor <ian@cygnus.com> 5880 5881 * README: Fix configuration instructions. 5882 5883Mon Sep 29 12:28:41 1997 Ian Lance Taylor <ian@cygnus.com> 5884 5885 * pexecute.c: Update to current version from /gd/gnu/lib: 5886 5887 Mon Sep 29 12:27:59 1997 Ian Lance Taylor <ian@cygnus.com> 5888 5889 * pexecute.c: Use spawn if __CYGWIN32__. 5890 5891 1997-08-08 Paul Eggert <eggert@twinsun.com> 5892 5893 * pexecute.c: Include "config.h" first, as per autoconf manual. 5894 5895 Fri Jun 27 15:20:29 1997 Scott Christley <scottc@net-community.com> 5896 5897 * pexecute.c (fix_argv): New function. 5898 (pexecute): Win32 but not Cygwin32 needs its arguments fixed. 5899 Add underscore to cwait function call. 5900 5901Sun Sep 28 12:00:52 1997 Mark Mitchell <mmitchell@usa.net> 5902 5903 * cplus-dem.c (demangle_template): Add new parameter. Handle new 5904 template-function mangling. 5905 (consume_count_with_underscores): New function. 5906 (demangle_signature): Handle new name-mangling scheme. 5907 5908Wed Sep 24 00:31:59 1997 Felix Lee <flee@yin.cygnus.com> 5909 5910 * asprintf.c: stdarg.h when ALMOST_STDC 5911 * config/mh-windows (EXTRA_OFILES): add asprintf.o and 5912 strncasecmp.o. 5913 5914Thu Aug 28 14:27:15 1997 Andrew Cagney <cagney@b1.cygnus.com> 5915 5916 * vasprintf.c (vasprintf): Allow for _BSD_VA_LIST_. 5917 5918 * config.table: Add case for FreeBSD 2.1 and 2.2, needs mh-fbsd21. 5919 5920 * config/mh-fbsd21 (EXTRA_OFILES): Force vasprintf.o 5921 5922Wed Sep 10 12:43:10 1997 Jason Merrill <jason@yorick.cygnus.com> 5923 5924 * cplus-dem.c (demangle_fund_type): Change "complex" to "__complex". 5925 5926Fri Sep 5 16:34:42 1997 Andrew Cagney <cagney@b1.cygnus.com> 5927 5928 * asprintf.c (asprintf): New file. 5929 * Makefile.in (CFILES): Add asprintf.c 5930 * functions.def: Ditto. 5931 5932Thu Aug 28 18:53:34 1997 Andrew Cagney <cagney@b1.cygnus.com> 5933 5934 * argv.c (dupargv): New function, duplicate an argument vector. 5935 5936Tue Aug 19 20:28:45 1997 Geoffrey Noer <noer@cygnus.com> 5937 5938 * config/mh-cygwin32: also build random.o 5939 5940Tue Aug 19 17:10:56 1997 Jason Merrill <jason@yorick.cygnus.com> 5941 5942 * cplus-dem.c: Add 'extern' to prepends_underscore. 5943 5944Wed Jul 30 11:42:19 1997 Per Bothner <bothner@cygnus.com> 5945 5946 * cplus-dem.c: Various changes to produce Java output when passed 5947 DMGL_JAVA. Thus "::" becomes "." and "JArray<Foo>" becomes "Foo[]". 5948 (main): Support --java and -j flags to set DMGL_JAVA. 5949 5950Tue Jul 22 19:05:23 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE> 5951 5952 * config/mh-go32 (CC, AR, RANLIB): Don't define. 5953 5954Tue Jul 22 17:49:54 1997 Ian Lance Taylor <ian@cygnus.com> 5955 5956 * Makefile.in (REQUIRED_OFILES): Add pexecute.o. 5957 (pexecute.o): New target. 5958 5959 * Makefile.in (stamp-needed): New target, replacing needed-list. 5960 (needed-list): Just depend upon stamp-needed. 5961 (stamp-config): New target, replacing config.h. 5962 (config.h): Just depend upon stamp-config. 5963 (mostlyclean): Remove stamp-*. 5964 5965Thu Jun 12 11:00:18 1997 Angela Marie Thomas (angela@cygnus.com) 5966 5967 * Makefile.in (FLAGS_TO_PASS): pass INSTALL, INSTALL_PROGRAM and 5968 INSTALL_DATA for multilibbed installs 5969 5970Tue Jun 3 13:21:05 1997 Doug Evans <dje@canuck.cygnus.com> 5971 5972 Tue Dec 10 09:44:57 1996 Paul Eggert <eggert@twinsun.com> 5973 5974 * choose-temp.c (choose_temp_base): Don't dump core if TMPDIR is empty. 5975 5976 * choose-temp.c (try): Insist that temp dir be searchable. 5977 5978 Wed Oct 23 17:36:39 1996 Doug Rupp (rupp@gnat.com) 5979 5980 * choose-temp.c (choose_temp_base): On VMS, use proper syntax 5981 for current directory. 5982 5983 Sat Feb 15 19:03:48 1997 Geoffrey Noer (noer@cygnus.com) 5984 5985 * pexecute.c: Remove special cases for cygwin32. 5986 (pwait): Remove local definition of `pid'. 5987 5988 Tue Nov 12 18:26:15 1996 Doug Rupp (rupp@gnat.com) 5989 5990 * pexecute.c (vfork): Supply new definition for VMS. 5991 (pwait): Use waitpid instead of wait for VMS. 5992 5993Tue May 20 14:02:20 1997 Brendan Kehoe <brendan@lisa.cygnus.com> 5994 5995 * cplus-dem.c (do_type): Handle `J'. 5996 (demangle_fund_type): Print "complex" for it. 5997 5998Wed Apr 30 12:15:45 1997 Jason Merrill <jason@yorick.cygnus.com> 5999 6000 * configure.in: Don't turn on multilib here. 6001 6002Mon Apr 28 19:04:31 1997 Michael Snyder <msnyder@cleaver.cygnus.com> 6003 6004 * obstack.c: move _obstack_memory_used outside of ifdef. Cannot be 6005 elided; needed by gdb and not present in libc. 6006 6007Thu Apr 24 19:33:47 1997 Ian Lance Taylor <ian@cygnus.com> 6008 6009 * Makefile.in (clean): Remove tmpmulti.out. 6010 6011Tue Apr 22 10:25:15 1997 Fred Fish <fnf@cygnus.com> 6012 6013 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): 6014 Add new floatformat, mainly for ARM doubles. 6015 6016Mon Apr 14 12:11:16 1997 Ian Lance Taylor <ian@cygnus.com> 6017 6018 * config.table: Use ${config_shell} with ${moveifchange}. From 6019 Thomas Graichen <graichen@rzpd.de>. 6020 6021Fri Apr 4 03:09:24 1997 Ulrich Drepper <drepper@cygnus.com> 6022 6023 * configure.in: Enable multilibing by default. 6024 Update multilib template to read config-ml.in. 6025 6026Tue Apr 1 16:26:39 1997 Klaus Kaempf <kkaempf@progis.de> 6027 6028 * makefile.vms: Add objalloc. 6029 6030Mon Mar 31 23:57:51 1997 H.J. Lu <hjl@gnu.ai.mit.edu> 6031 6032 * cplus-dem.c (demangle_it): Add prototype declaration. 6033 (usage, fatal): Likewise. 6034 6035 * xexit.c (_xexit_cleanup): Add prototype. 6036 6037 * strerror.c (init_error_tables): Declare. 6038 6039Fri Mar 28 11:43:20 1997 H.J. Lu <hjl@lucon.org> 6040 6041 * functions.def: Add DEF of vasprintf, and DEFFUNC of strsignal. 6042 * strsignal.c: Only define strsignal if NEED_strsignal. 6043 * Makefile.in (REQUIRED_OFILES): Remove vasprintf.o. 6044 * configure.in: Add NEED_strsignal to xconfig.h. Add vasprintf.o 6045 to xneeded-list. 6046 * config/mh-cygwin32 (HDEFINES): Add -DNEED_strsignal. 6047 (EXTRA_OFILES): Define to vasprintf.o. 6048 * config/mh-windows (HDEFINES): Add -DNEED_strsignal. 6049 (EXTRA_OFILES): Add vasprintf.o. 6050 * config/mt-vxworks5 (vxconfig.h): Define NEED_strsignal. 6051 (vxneeded-list): Add vasprintf.o. 6052 6053Thu Mar 20 17:02:09 1997 Ian Lance Taylor <ian@cygnus.com> 6054 6055 * objalloc.c: Include <stdio.h>. 6056 6057Mon Mar 17 19:23:11 1997 Ian Lance Taylor <ian@cygnus.com> 6058 6059 * objalloc.c: New file. 6060 * Makefile.in (CFILES): Add objalloc.c 6061 (REQUIRED_OFILES): Add objalloc.o. 6062 (objalloc.o): New target. 6063 6064Sat Mar 15 18:49:41 1997 Ian Lance Taylor <ian@cygnus.com> 6065 6066 * obstack.c: Update to current FSF version. 6067 6068Fri Mar 14 14:18:47 1997 Ian Lance Taylor <ian@cygnus.com> 6069 6070 * cplus-dem.c: Add prototypes for all static functions. 6071 (mystrstr): Make static. Make arguments and result const. 6072 (cplus_match): Remove; not used. 6073 6074Tue Mar 11 14:20:31 1997 Brendan Kehoe <brendan@lisa.cygnus.com> 6075 6076 * cplus-dem.c (gnu_special): Call demangled_fund_type for other 6077 __t* symbols. 6078 6079Tue Mar 11 15:41:21 1997 H.J. Lu <hjl@lucon.org> 6080 6081 * spaces.c: Declare malloc and free properly. 6082 * strsignal.c (init_signal_tables): Add prototype. 6083 * xatexit.c (_xexit_cleanup): Add parameter declarations. 6084 6085Wed Feb 19 15:43:24 1997 Brendan Kehoe <brendan@lisa.cygnus.com> 6086 6087 * Makefile.in (lneeded-list): If alloca.o is needed, xexit.o is 6088 also required because of xmalloc.o. 6089 6090Fri Feb 14 13:43:38 1997 Ian Lance Taylor <ian@cygnus.com> 6091 6092 * strsignal.c: Unconditionally redefine sys_siglist around the 6093 inclusion of the system header files. 6094 6095Thu Feb 13 22:01:04 1997 Klaus Kaempf <kkaempf@progis.de> 6096 6097 * makefile.vms: Remove 8 bit characters. Update to latest 6098 gcc release. 6099 6100Tue Feb 4 11:52:19 1997 Ian Lance Taylor <ian@cygnus.com> 6101 6102 * strsignal.c: Use NEED_sys_siglist instead of 6103 LOSING_SYS_SIGLIST. 6104 * config.table: Don't use mh-lynxos. 6105 * config/mh-lynxos: Remove. 6106 6107Thu Jan 16 14:51:03 1997 Bob Manson <manson@charmed.cygnus.com> 6108 6109 * cplus-dem.c: Fix indenting; make identical to the copy 6110 in GCC. 6111 (do_type, case 'M'): Check for a template as well as a class. 6112 6113Thu Dec 19 13:51:33 1996 Brendan Kehoe <brendan@lisa.cygnus.com> 6114 6115 * config/mt-vxworks5 (vxneeded-list): Remove sigsetmask.o, since 6116 vxworks 5.[0-3] all have sigsetmask in them; the one provided by 6117 libiberty is incorrect, as well. 6118 6119Mon Dec 2 15:03:42 1996 Michael Meissner <meissner@tiktok.cygnus.com> 6120 6121 * alloca.c (alloca): When compiled with an ANSI/ISO compiler, 6122 alloca takes a size_t argument, not just unsigned. 6123 6124Mon Nov 18 15:42:08 1996 Jason Merrill <jason@yorick.cygnus.com> 6125 6126 * cplus-dem.c: Note that this file also lives in GCC. 6127 6128Mon Nov 18 15:19:00 1996 Dawn Perchik <dawn@critters.cygnus.com> 6129 6130 * alloca.c: Remove include of libiberty.h for hpux. 6131 * argv.c: Replace defs from libiberty.h. 6132 * spaces.c: Put back externs from removed from libiberty.h. 6133 * vasprintf.c: Remove include of libiberty.h for hpux. 6134 6135Mon Nov 18 14:08:00 1996 Dawn Perchik <dawn@critters.cygnus.com> 6136 6137 * cplus-dem.c: Checking in again; last checkin filed due to sticky tag. 6138 6139Wed Nov 13 08:22:00 1996 Dawn Perchik <dawn@critters.cygnus.com> 6140 6141 * cplus-dem.c: Revert last two commits due to conflicts with 6142 hpux system headers. 6143 6144Wed Nov 13 08:22:00 1996 Dawn Perchik <dawn@critters.cygnus.com> 6145 6146 * alloca.c, argv.c, spaces.c, strcasecmp.c, vasprintf.c, vprintf.c: 6147 Revert last commit due to conflicts with hpux system headers. 6148 6149Wed Nov 13 10:36:50 1996 Michael Meissner <meissner@tiktok.cygnus.com> 6150 6151 * cplus-dem.c (x{m,re}alloc): Make declarations compatibile with 6152 libiberty.h when compiled with a standard compiler. 6153 6154Tue Nov 12 16:31:00 1996 Dawn Perchik <dawn@critters.cygnus.com> 6155 6156 * alloca.c: Include libiberty.h for definition of xmalloc. 6157 Don't redefine NULL. 6158 * argv.c: Move prototypes to libiberty.h. 6159 * cplus-dem.c: Include libiberty.h for definition of xmalloc. 6160 Don't redefine NULL. 6161 Use casts to eliminate compiler warnings. 6162 * spaces.c: Remove prototypes for malloc and free which are 6163 already in libibrty.h. 6164 * strcasecmp.c: Use casts to eliminate compiler warnings. 6165 * vasprintf.c: Include libiberty.h for definition of malloc. 6166 Don't redefine NULL. 6167 * vprintf.c: Include stdarg.h if __STDC__. 6168 6169Fri Oct 11 15:42:12 1996 Stu Grossman (grossman@critters.cygnus.com) 6170 6171 * config/mh-windows: Add strcasecmp.o to EXTRA_OFILES. 6172 6173Fri Oct 11 11:16:31 1996 Stan Shebs <shebs@andros.cygnus.com> 6174 6175 * mpw.c (mpwify_filename): Rewrite to simplify, and to handle 6176 upward components correctly. 6177 6178Tue Oct 8 08:55:34 1996 Stu Grossman (grossman@critters.cygnus.com) 6179 6180 * config.table, config/mh-windows: Add support for building under 6181 MSVC (the Microsoft build environment). 6182 6183Mon Oct 7 10:50:27 1996 Ian Lance Taylor <ian@cygnus.com> 6184 6185 * fnmatch.c: Undef const if not __STDC__. 6186 6187Thu Oct 3 13:46:39 1996 Ian Lance Taylor <ian@cygnus.com> 6188 6189 * fnmatch.c: New file. 6190 * Makefile.in (CFILES): Add fnmatch.c. 6191 (REQUIRED_OFILES): Add fnmatch.o. 6192 (fnmatch.o): New target. 6193 6194Wed Sep 18 14:49:13 1996 Jason Merrill <jason@yorick.cygnus.com> 6195 6196 * cplus-dem.c (demangle_template): Fix handling of address args. 6197 (gnu_special): Handle type_info stuff. 6198 6199Fri Sep 13 17:52:55 1996 Stan Shebs <shebs@andros.cygnus.com> 6200 6201 * mpw.c (DebugPI): Make settable from the env var DEBUG_PATHNAMES. 6202 (mpwify_filename): Handle "::/" case. 6203 6204Thu Sep 12 13:30:40 1996 Geoffrey Noer <noer@cygnus.com> 6205 6206 * config/mh-cygwin32: new file (need -DNEED_basename and 6207 -DNEED_sys_siglist for native NT rebuilding) 6208 * config.table (*-*-cygwin32): new entry 6209 * choose-temp.c: bring in sync with gcc (revert Aug 17 change) 6210 6211Thu Aug 29 16:48:45 1996 Michael Meissner <meissner@tiktok.cygnus.com> 6212 6213 * config.table (i[345]86-*-*): Recognize i686 for pentium pro. 6214 6215Tue Aug 27 13:47:58 1996 Stan Shebs <shebs@andros.cygnus.com> 6216 6217 * pexecute.c (pexecute) [MPW]: Remove old bogus code that 6218 messed with arguments that included a '/', add escape chars 6219 to double quotes, remove const decl from arg that Mac 6220 compilers don't seem to like. 6221 6222Sat Aug 17 04:44:27 1996 Geoffrey Noer <noer@cygnus.com> 6223 6224 * pexecute.c: Update test for win32 (&& ! cygwin32). 6225 * choose-temp.c: fix WIN32 preprocessor defines 6226 6227Thu Aug 15 12:26:48 1996 Stan Shebs <shebs@andros.cygnus.com> 6228 6229 * mpw-make.sed: Add @DASH_C_FLAG@ and @SEGMENT_FLAG({Default})@ 6230 to editing of default makefile rule. 6231 6232Sun Aug 11 21:03:27 1996 Stu Grossman (grossman@critters.cygnus.com) 6233 6234 * alloca-norm.h: Include <malloc.h> if _WIN32. 6235 * argv.c: Include non-prototyped decls for malloc and string 6236 functions if ! _WIN32 or if __GNUC__. 6237 6238Thu Aug 8 12:42:40 1996 Klaus Kaempf <kkaempf@progis.de> 6239 6240 * config.h-vms: New file. 6241 * makefile.vms: Use it. 6242 6243Wed Aug 7 17:16:12 1996 Stu Grossman (grossman@critters.cygnus.com) 6244 6245 * getopt.c (_getopt_internal): If argc is 0, just return (before 6246 we reference *argv and segfault). 6247 6248Mon Aug 5 01:29:08 1996 Jason Merrill <jason@yorick.cygnus.com> 6249 6250 * Makefile.in (distclean): Add multilib.out. 6251 6252Thu Jul 18 17:40:55 1996 Ian Lance Taylor <ian@cygnus.com> 6253 6254 * alloca-norm.h: Change #ifdef sparc to #if defined (sparc) && 6255 defined (sun). From Andrew Gierth <ANDREWG@microlise.co.uk>. 6256 6257Mon Jul 1 13:40:44 1996 Ken Raeburn <raeburn@cygnus.com> 6258 6259 Tue May 28 15:29:03 1996 Pat Rankin <rankin@eql.caltech.edu> 6260 6261 * vmsbuild.com (REQUIRD_OFILES): Add choose-temp.o and xstrdup.o. 6262 6263 Thu Jan 25 18:20:04 1996 Pat Rankin <rankin@eql.caltech.edu> 6264 6265 * vmsbuild.com: Changes to handle DEFFUNC(on_exit). 6266 (do_ofiles): Allow nonexistent source file in pass 3. 6267 (chk_deffunc): New routine. 6268 6269Tue Jun 25 19:24:43 1996 Doug Evans <dje@canuck.cygnus.com> 6270 6271 * pexecute.c (PEXECUTE_VERBOSE): Define. 6272 (MPW pexecute): Check flags & PEXECUTE_VERBOSE instead of verbose_flag. 6273 6274Tue Jun 25 23:11:48 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) 6275 6276 * Makefile.in (docdir): Removed. 6277 6278Tue Jun 25 23:01:07 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) 6279 6280 * Makefile.in (oldincludedir): Removed. 6281 6282Tue Jun 25 22:50:07 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) 6283 6284 * Makefile.in (datadir): Set to $(prefix)/share. 6285 6286Thu Jun 20 21:17:52 1996 Ian Lance Taylor <ian@cygnus.com> 6287 6288 * cplus-dem.c (demangle_arm_pt): Reindent. Avoid endless loop by 6289 checking for errors from do_type. 6290 6291Tue Jun 18 14:36:19 1996 Klaus Kaempf <kkaempf@progis.de> 6292 6293 * makefile.vms: New file. 6294 * xmalloc.c: If VMS, include <stdlib.h> and <unixlib.h> rather 6295 than declaring malloc, realloc, and sbrk. 6296 6297Mon Jun 10 13:17:17 1996 Doug Evans <dje@canuck.cygnus.com> 6298 6299 * pexecute.c: New file. 6300 6301Wed Jun 5 16:57:45 1996 Richard Henderson <rth@tamu.edu> 6302 6303 * xmalloc.c: Declare sbrk. 6304 6305Sat May 4 05:08:45 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) 6306 6307 * alloca-norm.h: Add SPARCworks cc compatible __builtin_alloca 6308 declaration. 6309 6310Mon Apr 22 18:41:49 1996 Ian Lance Taylor <ian@cygnus.com> 6311 6312 * xstrerror.c: Include <stdio.h>. 6313 6314Sun Apr 21 11:55:12 1996 Doug Evans <dje@canuck.cygnus.com> 6315 6316 * Makefile.in (CFILES): Add atexit.c. 6317 6318Sun Apr 21 09:50:09 1996 Stephen L Moshier (moshier@world.std.com) 6319 6320 * choose-temp.c: Include sys/types.h before sys/file.h for sco3.2v5. 6321 6322Wed Apr 17 11:17:55 1996 Doug Evans <dje@canuck.cygnus.com> 6323 6324 * choose-temp.c: Don't #include sys/file.h ifdef NO_SYS_FILE_H. 6325 #include <stdio.h> 6326 * config/mt-vxworks5 (HDEFINES): Define NO_SYS_FILE_H. 6327 6328Tue Apr 16 11:27:16 1996 Jeffrey A Law (law@cygnus.com) 6329 6330 * Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o. 6331 Reverts Feb 8, 1995 change. 6332 6333Mon Apr 15 12:53:26 1996 Doug Evans <dje@canuck.cygnus.com> 6334 6335 * choose-temp.c: New file. 6336 * Makefile.in (CFILES): Add choose-temp.c. 6337 (REQUIRED_OFILES): Add choose-temp.o. 6338 6339Sat Apr 13 14:19:30 1996 Stu Grossman (grossman@critters.cygnus.com) 6340 6341 * floatformat.c (floatformat_to_double): Don't bias exponent when 6342 handling zero's, denorms or NaNs. 6343 6344Thu Apr 11 13:36:56 1996 Stu Grossman (grossman@critters.cygnus.com) 6345 6346 * floatformat.c (floatformat_to_double): Fix bugs with handling 6347 numbers with fractions < 32 bits. 6348 6349Mon Apr 8 14:48:34 1996 Ian Lance Taylor <ian@cygnus.com> 6350 6351 * config.table: Permit --enable-shared to specify a list of 6352 directories. 6353 6354Tue Mar 19 22:02:07 1996 Jason Merrill <jason@yorick.cygnus.com> 6355 6356 * cplus-dem.c (demangle_template): Fix for non-mangled pointer 6357 arguments. 6358 6359Fri Mar 8 17:24:18 1996 Ian Lance Taylor <ian@cygnus.com> 6360 6361 * configure.in: If srcdir is `.' and with_target_subdir is not 6362 `.', then set MULTISRCTOP before calling config-ml.in. 6363 6364Thu Mar 7 13:37:10 1996 Stan Shebs <shebs@andros.cygnus.com> 6365 6366 * mpw.c (mpw_open): Add debugging output option. 6367 6368Wed Mar 6 17:36:03 1996 Jason Merrill <jason@yorick.cygnus.com> 6369 6370 * cplus-dem.c (demangle_template): Fix for address-of-extern arguments. 6371 6372Tue Feb 27 12:00:50 1996 Raymond Jou <rjou@mexican.cygnus.com> 6373 6374 * mpw.c (mpwify_filename): Change 6 to 5 in 6375 strncmp (unixname, "/tmp/", 5). 6376 6377Tue Feb 20 10:55:53 1996 Ian Lance Taylor <ian@cygnus.com> 6378 6379 * cplus-dem.c (demangle_template): Initialize is_bool. Correctly 6380 handle 0 as a pointer value parameter. 6381 6382Mon Feb 5 16:41:44 1996 Ian Lance Taylor <ian@cygnus.com> 6383 6384 * Makefile.in (all): Depend upon required-list. 6385 (required-list): New target. 6386 (clean): Remove required-list. 6387 6388Wed Jan 31 10:19:41 1996 Steve Chamberlain <sac@slash.cygnus.com> 6389 6390 * win32.c: Deleted. 6391 * config.table (i386-*-win32): Deleted. 6392 * config/mh-i386win32: Deleted. 6393 6394Thu Jan 18 11:34:17 1996 Ian Lance Taylor <ian@cygnus.com> 6395 6396 * cplus-dem.c (cplus_demangle_opname): Change opname parameter to 6397 const char *. 6398 (cplus_mangle_opname): Change return type and opname parameter to 6399 const char *. Don't cast return value. 6400 6401Tue Jan 16 12:13:11 1996 Stan Shebs <shebs@andros.cygnus.com> 6402 6403 * mpw.c: Include Timer.h, in order to get m68k Microseconds trap 6404 definition. 6405 6406Wed Jan 3 13:15:04 1996 Fred Fish <fnf@cygnus.com> 6407 6408 * obstack.c: Update copyright to 1996. 6409 (_obstack_memory_used): Define new function. Called via 6410 obstack_memory_used macro. 6411 6412Thu Dec 28 11:39:40 1995 Ian Lance Taylor <ian@cygnus.com> 6413 6414 * xstrdup.c: New file. 6415 * Makefile.in (CFILES): Add xstrdup.c. 6416 (REQUIRED_OFILES): Add xstrdup.o. 6417 (xstrdup.o): New target. 6418 6419Mon Dec 11 18:18:52 1995 Mike Stump <mrs@cygnus.com> 6420 6421 * atexit.c: New stub to provide atexit on systems that have 6422 on_exit, like SunOS 4.1.x systems. 6423 * functions.def (on_exit, atexit): Ditto. 6424 6425Mon Dec 11 15:42:14 1995 Stan Shebs <shebs@andros.cygnus.com> 6426 6427 * mpw.c (mpw_abort): Remove decl. 6428 (mpw_access): Move debugging printf. 6429 6430Sat Dec 2 01:25:23 1995 Ian Lance Taylor <ian@cygnus.com> 6431 6432 * config.table: Consistently use ${host} rather than ${xhost} or 6433 ${target}. 6434 * configure.in: Don't bother to set ${xhost} before calling 6435 config.table. 6436 6437Tue Nov 28 14:16:57 1995 Brendan Kehoe <brendan@lisa.cygnus.com> 6438 6439 * Makefile.in (.c.o): Use test instead of the left bracket, to 6440 avoid problems with some versions of make. 6441 6442Tue Nov 28 11:45:17 1995 Stan Shebs <shebs@andros.cygnus.com> 6443 6444 * mpw-make.sed: Fix INCDIR edit to work with Nov 14 change. 6445 6446Tue Nov 21 11:26:34 1995 Fred Fish <fnf@rtl.cygnus.com> 6447 6448 * config/mh-hpux: Remove. It was only used to define EXTRA_OFILES, 6449 which was set to just alloca.o, which is now automatically marked 6450 as needed by the autoconfiguration process. 6451 6452Tue Nov 21 14:15:06 1995 Ian Lance Taylor <ian@cygnus.com> 6453 6454 * config.table: Check ${with_cross_host} rather than comparing 6455 ${host} and ${target}. 6456 6457Thu Nov 16 14:34:42 1995 Ian Lance Taylor <ian@cygnus.com> 6458 6459 * configure.in: If with_target_subdir is empty, set xhost to 6460 ${host} rather than ${target} before calling config.table. 6461 6462Tue Nov 14 01:38:30 1995 Doug Evans <dje@canuck.cygnus.com> 6463 6464 * Makefile.in (MULTITOP): Deleted. 6465 (MULTISRCTOP, MULTIBUILDTOP): New. 6466 (FLAGS_TO_PASS): Delete INCDIR. 6467 (INCDIR): Add $(MULTISRCTOP). 6468 (install_to_libdir): Add $(MULTISUBDIR). Call $(MULTIDO). 6469 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in 6470 instead of cfg-ml-pos.in. 6471 (cross-compile check): Change to test for with_target_subdir. 6472 (EXTRA_LINKS): Delete. 6473 6474Sun Nov 12 12:13:04 1995 Stan Shebs <shebs@andros.cygnus.com> 6475 6476 * mpw-make.sed: Add getpagesize.c.o to needed-list. 6477 * mpw.c [USE_MW_HEADERS]: Conditionalize compiling of 6478 functions that are supplied by Metrowerks libraries. 6479 (fstat): Clean up descriptor->pointer conversion code. 6480 (InstallConsole, etc): Empty definitions, for when linking 6481 with SIOUX. 6482 6483Sun Nov 5 19:25:27 1995 Per Bothner <bothner@kalessin.cygnus.com> 6484 6485 * Makefile.in (FLAGS_TO_PASS): Also pass PICFLAGS. 6486 (.c.o): Stylistic change. 6487 6488Thu Nov 2 12:06:29 1995 Ian Lance Taylor <ian@cygnus.com> 6489 6490 * strtol.c, strtoul.c: Don't include <stdlib.h>. From 6491 phdm@info.ucl.ac.be (Philippe De Muyter). 6492 6493Wed Nov 1 11:59:36 1995 Ian Lance Taylor <ian@cygnus.com> 6494 6495 * configure.in: Correct sed call. 6496 6497Mon Oct 30 13:03:45 1995 Per Bothner <bothner@kalessin.cygnus.com> 6498 6499 * configure.in: Clean up / simplify for native. 6500 6501 * configure.in: Merge in stuff from ../xiberty/configure.in. 6502 * Makefile.in (CC): Add definition (so it can be overrridden 6503 by ../configure). 6504 6505Tue Oct 24 17:57:27 1995 Stan Shebs <shebs@andros.cygnus.com> 6506 6507 * mpw-make.sed: Leave strerror.c.o in standard list of functions. 6508 * mpw.c (R_OK, ENOENT, EACCESS, ENOSYS): Remove. 6509 (link): Remove useless definition with error return. 6510 (last_microseconds, warn_if_spin_delay, record_for_spin_delay): 6511 Use UnsignedWide type for microsecond counts. 6512 6513Thu Oct 19 10:52:07 1995 Michael Meissner <meissner@wogglebug.tiac.net> 6514 6515 * memcmp.c (memcmp): Argument types are const void *, not void 6516 *const. 6517 6518 * strncasecmp.c (strncasecmp): Include ansidecl.h/stdarg.h, not 6519 sys/types.h. 6520 * strcasecmp.c (strcasecmp): Ditto. 6521 6522Tue Oct 10 11:03:24 1995 Fred Fish <fnf@cygnus.com> 6523 6524 * Makefile.in (BISON): Remove macro. 6525 6526Tue Sep 26 15:06:46 1995 Stan Shebs <shebs@andros.cygnus.com> 6527 6528 * Makefile.in (HFILES): Add default empty definition. 6529 * mpw-config.in (config.h): Only update if changed. 6530 * mpw-make.in: Remove. 6531 * mpw-make.sed: New file, edits Makefile.in into MPW makefile. 6532 * mpw.c: Remove semi-clone of strerror code. 6533 (sys_nerr, sys_errlist): Define here. 6534 (Microseconds): Only define as A-line trap if m68k Mac. 6535 6536Wed Sep 20 12:53:32 1995 Ian Lance Taylor <ian@cygnus.com> 6537 6538 * Makefile.in (maintainer-clean): New synonym for distclean. 6539 6540Mon Aug 28 19:47:52 1995 Per Bothner <bothner@kalessin.cygnus.com> 6541 6542 * config.table: For host, generalize rs6000-ibm-aix* 6543 to *-ibm-aix* so we also include powerpc. 6544 6545Tue Aug 22 03:18:05 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com> 6546 6547 Fri Jun 16 18:35:40 1995 Pat Rankin (rankin@eql.caltech.edu) 6548 6549 * xstrerror.c: New file. 6550 * Makefile.in, vmsbuild.com: Compile it. 6551 6552Mon Jul 31 12:16:32 1995 steve chamberlain <sac@slash.cygnus.com> 6553 6554 * config.table (i386-*-win32): New. 6555 6556Fri Jul 21 11:35:52 1995 Doug Evans <dje@canuck.cygnus.com> 6557 6558 * Makefile.in (MULTITOP): New variable. 6559 (MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): Likewise. 6560 (all): Add multilib support. 6561 (install_to_tooldir, *clean): Likewise. 6562 6563Mon Jul 10 11:47:27 1995 Ken Raeburn <raeburn@cygnus.com> 6564 6565 * makefile.dos (OBJS): Add hex.o. From DJ Delorie. 6566 6567Fri Jun 30 17:28:59 1995 Pat Rankin (rankin@eql.caltech.edu) 6568 6569 * vmsbuild.com: create "new-lib.olb", build libiberty under that 6570 name, and then make it become "liberty.olb" when done, so that an 6571 incomplete build attempt never leaves behind something which looks 6572 like a complete library. 6573 6574Thu Jun 29 00:22:02 1995 Steve Chamberlain <sac@slash.cygnus.com> 6575 6576 * config/mh-i386pe: New file for PE hosts. 6577 * config.table: Understand PE hosts. 6578 6579Wed Jun 28 19:13:23 1995 Jason Merrill <jason@phydeaux.cygnus.com> 6580 6581 * cplus-dem.c: Update from gcc. 6582 6583 * argv.c, dummy.c: If __STDC__, #include "alloca-conf.h" after 6584 <stddef.h>. 6585 * alloca-norm.h: If __STDC__, declare alloca with its parameter. 6586 6587Thu Jun 22 18:57:47 1995 Stan Shebs <shebs@andros.cygnus.com> 6588 6589 * mpw-make.in (ALL_CFLAGS): Define NEED_basename. 6590 * mpw.c: Only test DebugPI once whenever printing debug info. 6591 (mpwify_filename): If filename is /tmp/foo, change it into :_foo, 6592 also fix to not write on input filename buffer. 6593 (mpw_access): Use stat() instead of open(), works for directories 6594 as well as files. 6595 6596Mon Jun 19 00:33:22 1995 Jason Merrill <jason@phydeaux.cygnus.com> 6597 6598 * Makefile.in: Massage broken shells that require 'else true'. 6599 6600Sat Jun 17 23:21:58 1995 Fred Fish <fnf@cygnus.com> 6601 6602 * alloca-norm.h: Declare alloca as type "PTR" to match functions.def. 6603 Declare __builtin_alloca in the sparc case, as argv.c did. 6604 * argv.c: Replace inline version of alloca-norm.h at start of file with 6605 a #include of alloca-conf.h. Precede it with an include of ansidecl.h 6606 because alloca-norm.h needs to declare alloca as "PTR". 6607 6608Mon Jun 12 14:24:26 1995 Steve Chamberlain <sac@slash.cygnus.com> 6609 6610 * win32.c: New file. 6611 6612Fri Jun 9 15:16:14 1995 Jason Merrill <jason@phydeaux.cygnus.com> 6613 6614 * dummy.c: #include "alloca-conf.h". 6615 6616Wed Jun 7 11:46:23 1995 Jason Merrill <jason@phydeaux.cygnus.com> 6617 6618 * Makefile.in (mostlyclean): Remove stamp-picdir. 6619 (clean): Don't. 6620 6621Mon Jun 5 18:46:06 1995 Jason Merrill <jason@phydeaux.cygnus.com> 6622 6623 * config.table (frags): Use toplevel pic frags. 6624 6625 * Makefile.in (PICFLAG): New macro. 6626 (all): Depend on stamp-picdir. 6627 (needed-list): Ditto. 6628 (.c.o): Also build pic object. 6629 (stamp-picdir): New rule. 6630 (mostlyclean): Remove pic. 6631 (clean): Remove stamp-picdir. 6632 6633Fri Mar 24 16:55:48 1995 Pat Rankin (rankin@eql.caltech.edu) 6634 6635 * vmsbuild.com (config.h): Add `#define NEED_basename'. 6636 6637Tue May 23 10:12:46 1995 Per Bothner <bothner@kalessin.cygnus.com> 6638 6639 * clock.c, getopt.c, strtod.c, vsprintf.c: Change from using LGPL 6640 to libio-style copyright. 6641 * getpagesize.c: Remove FSF copyright. 6642 6643Sat May 20 12:30:23 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com> 6644 6645 Added improved VMS support from Pat Rankin: 6646 6647 Fri Mar 17 18:40:36 1995 Pat Rankin (rankin@eql.caltech.edu) 6648 6649 * vmsbuild.com: new file. 6650 6651 * getpagesize.c (getpagesize): implement for VMS; 6652 * strerror.c (strerror, strerrno, strtoerrno): add rudimentary 6653 support for EVMSERR. 6654 6655Thu May 18 17:01:42 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com> 6656 6657 Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk) 6658 6659 * floatformat.c (floatformat_arm_ext): Define. 6660 6661Tue May 16 13:30:59 1995 Per Bothner <bothner@kalessin.cygnus.com> 6662 6663 * basename.c, bcmp.c, getcwd.c, insque.c, rename.c, sigsetmask.c, 6664 strerror.c, strsignal.c: Remove FSF copyright. 6665 * sigsetmask.c: #include <sys/types.h> - seems to be needed by ISC. 6666 6667Mon May 15 19:53:17 1995 Per Bothner <bothner@kalessin.cygnus.com> 6668 6669 * bcopy.c, bzero.c, memcmp.c, memcpy.c, memset.c, strchr.c, 6670 strrchr.c, strstr.c, vfork.c: Remove FSF Copyright, because this 6671 might contaminate libstdc++ with the LGPL. (OK'd by RMS 11 Oct 94.) 6672 * strchr.c, strrchr.c: Add cast to suppress const warning. 6673 6674Thu May 4 14:36:42 1995 Jason Merrill <jason@phydeaux.cygnus.com> 6675 6676 * cplus-dem.c: Use const instead of CONST. Don't include 6677 ansidecl.h directly. 6678 6679Wed Apr 19 01:30:27 1995 Jason Merrill <jason@phydeaux.cygnus.com> 6680 6681 * cplus-dem.c: Don't include libiberty.h. Do declare xmalloc and 6682 xrealloc. 6683 (-DMAIN): Don't rely on an externally-defined version number; 6684 instead, require the version number to be defined as a 6685 preprocessor macro. Handle the RS/6000 leading dot. Define 6686 xmalloc, xrealloc and fatal. Don't strip a leading underscore 6687 if we couldn't demangle the word. 6688 6689Tue Apr 4 13:03:51 1995 Stan Shebs <shebs@andros.cygnus.com> 6690 6691 (Old mpw.c change descriptions retained for informational value.) 6692 * mpw.c (warning_threshold): Default to .4 sec. 6693 (overflow_count, current_progress): New globals. 6694 (warn_if_spin_delay): Include current progress type, 6695 such as program name, in message. 6696 (mpw_start_progress): Set current_progress variable from arg. 6697 (mpw_end_progress): Report spin delays by power-of-two-size 6698 buckets instead of constant-size buckets. 6699 6700 * mpw.c: Clean up formatting, types, returns, etc. 6701 (ENOSYS): Define. 6702 (mpw_fread, mpw_fwrite): Define. 6703 (sleep): Define correctly. 6704 6705 * mpw.c: New code to implement cursor spinning support. 6706 (umask): New function. 6707 (mpw_fopen, mpw_fseek, stat, fstat): Call PROGRESS. 6708 6709 * mpw.c (mpw_basename, mpw_mixed_basename): New functions, find 6710 basenames for MPW and MPW/Unix filenames. 6711 (mpw_special_init): New function, calls Macsbug if desired. 6712 6713 * mpw.c: Add GPL notice. 6714 (mpwify_filename): Add more transformations. 6715 (mpw_fopen): Call mpwify_filename on file names. 6716 (rename): Remove. 6717 (chdir, getcwd): Add simple definitions. 6718 6719 * mpw.c: Random cleanups, remove unused code bits. 6720 Added copy of strerror.c for gcc's use. 6721 (stat, fstat, _stat): New versions based on Guido van Rossum code. 6722 6723 * mpw.c (mpw_fseek): Make it work correctly when doing SEEK_CUR. 6724 6725 * mpw.c (stat): Remove hack definition, get from sys/stat.h. 6726 (fork, vfork, etc): Print error messages if called. 6727 (getrusage, sbrk, environ, isatty, link, utime, mkdir, rmdir, 6728 rename, chown): Define. 6729 6730 * mpw-config.in: New file, MPW version of configure.in. 6731 * mpw-make.in: New file, MPW version of Makefile.in. 6732 * mpw.c: New file, MPW compatibility routines. 6733 6734Fri Mar 24 14:10:30 1995 Jim Kingdon (kingdon@lioth.cygnus.com) 6735 6736 * basename.c: Include config.h before checking for NEED_basename. 6737 6738Thu Mar 23 19:09:54 1995 Jason Merrill <jason@phydeaux.cygnus.com> 6739 6740 * functions.def: Add DEFFUNC for basename. 6741 6742 * basename.c: Only define basename if NEED_basename. 6743 6744Thu Mar 16 13:36:05 1995 Jason Merrill <jason@phydeaux.cygnus.com> 6745 6746 * config.table: Fix --enable-shared logic for native builds. 6747 6748Mon Mar 13 11:05:11 1995 Jason Merrill <jason@phydeaux.cygnus.com> 6749 6750 * cplus-dem.c (demangle_template): Demangle bool literals properly. 6751 6752Mon Mar 6 23:57:28 1995 Stu Grossman (grossman@cygnus.com) 6753 6754 * strtol.c strtoul.c: Replace these with less buggy versions from 6755 NetBSD. (strtoul in particular couldn't handle base 16.) 6756 6757Wed Mar 1 15:59:01 1995 Ian Lance Taylor <ian@cygnus.com> 6758 6759 * config/mt-vxworks5 (HDEFINES): Define NO_SYS_PARAM_H. 6760 6761 * clock.c: If NO_SYS_PARAM_H is defined, don't include 6762 <sys/param.h>. 6763 * getcwd.c, getpagesize.c, getruntime.c: Likewise. 6764 6765Fri Feb 17 15:40:55 1995 Ian Lance Taylor <ian@cygnus.com> 6766 6767 * getruntime.c (get_run_time): Don't assume that CLOCKS_PER_SEC is 6768 a number; ANSI appears to permit any expression, including a 6769 function call. 6770 6771 * config.table (*-*-vxworks5*): Use mt-vxworks5 when configuring 6772 xiberty. 6773 * config/mt-vxworks5: New file. 6774 6775Thu Feb 9 14:19:45 1995 Ian Lance Taylor <ian@cygnus.com> 6776 6777 * basename.c (basename): Change argument to be const. 6778 6779Wed Feb 8 18:06:52 1995 Jason Merrill <jason@phydeaux.cygnus.com> 6780 6781 * Makefile.in (lneeded-list): Don't worry about xmalloc. 6782 6783Sun Jan 15 00:40:36 1995 Jeff Law (law@snake.cs.utah.edu) 6784 6785 * Makefile.in (distclean): Delete xhost-mkfrag. 6786 6787Thu Jan 12 16:54:18 1995 Jason Merrill <jason@phydeaux.cygnus.com> 6788 6789 * Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o. 6790 6791Wed Jan 11 22:39:56 1995 Ken Raeburn <raeburn@cujo.cygnus.com> 6792 6793 * hex.c: New file. 6794 * Makefile.in (REQUIRED_OFILES, CFILES): List it. 6795 (hex.o): Add dependencies. 6796 6797 * cplus-dem.c (demangle_prefix): For GNU style constructor and 6798 destructor names, try demangling the remainder of the string. 6799 6800Wed Dec 28 00:49:15 1994 Ian Lance Taylor <ian@tweedledumb.cygnus.com> 6801 6802 * vasprintf.c (int_vasprintf): New static function. 6803 (vasprintf): Use int_vasprintf. Removes assumption that va_list 6804 is assignment compatible. 6805 6806Sat Nov 5 19:29:12 1994 Jason Merrill (jason@phydeaux.cygnus.com) 6807 6808 * Makefile.in (LIBCFLAGS): New variable. 6809 (FLAGS_TO_PASS): Pass it. 6810 (.c.o): Use it. 6811 6812Thu Nov 3 19:09:47 1994 Ken Raeburn <raeburn@cujo.cygnus.com> 6813 6814 * getopt.c, getopt1.c: Do compile these functions under Linux, 6815 since many native versions are based on glibc but are buggy. 6816 6817Mon Oct 24 15:16:46 1994 Per Bothner <bothner@kalessin.cygnus.com> 6818 6819 * vasprintf.c: Make 'format' arg be const, to avoid a mismatch 6820 with prototype in GNU libc. Support stdarg.h as well as varargs.h. 6821 6822Tue Oct 11 17:48:27 1994 Jason Merrill (jason@phydeaux.cygnus.com) 6823 6824 * Makefile.in (REQUIRED_OFILES): Add vasprintf.o. 6825 * functions.def: Remove vasprintf. 6826 6827Wed Sep 14 17:04:55 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 6828 6829 * xmalloc.c (first_break): New static variable. 6830 (xmalloc_set_program_name): Record sbrk (0) in first_break. 6831 (xmalloc): If memory allocation fails, try to report how much 6832 memory was allocated by the program up to this point. 6833 (xrealloc): Likewise. 6834 6835Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) 6836 6837 * Makefile.in (ERRORS_CC): New variable, defaulted to $(CC). Use it 6838 when linking dummy. 6839 * config.table: Add host RISCiX Makefile frag. 6840 * config/mh-riscix: New file. 6841 6842Thu Aug 25 17:29:44 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 6843 6844 * Makefile.in (FLAGS_TO_PASS): Define. 6845 ($(RULE1)): Use $(FLAGS_TO_PASS). 6846 6847Wed Aug 24 17:08:47 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 6848 6849 * vasprintf.c: Include <string.h>. 6850 (vasprintf): Add casts to void for va_arg to avoid gcc warnings. 6851 * xatexit.c: Declare malloc. 6852 6853Fri Aug 19 15:29:12 1994 Kung Hsu (kung@mexican.cygnus.com) 6854 6855 * cplus-dem.c (demangle_args): Fix a bug in previous patch (the 6856 one below). 6857 6858Thu Aug 18 14:37:14 1994 Kung Hsu (kung@mexican.cygnus.com) 6859 6860 * cplus-dem.c (demangle args): Handle ARM repeat encoding where 6861 the type index is greater than 9. 6862 6863Wed Aug 17 16:13:49 1994 Kung Hsu (kung@mexican.cygnus.com) 6864 6865 * cplus-dem.c (demangle_qualified): accept optional '_' between 6866 qualified name. This is baecause the template name may end with 6867 numeric and can mixed up with the length of next qualified name. 6868 6869Wed Aug 3 05:52:14 1994 D. V. Henkel-Wallace (gumby@cygnus.com) 6870 6871 * config/mt-sunos4: Use our standard location for cross-includes 6872 and cross-libs when the target is also a "host" environment (ie no 6873 newlib; includes and such don't belong to us). This is specific 6874 to the Cygnus Support environment. 6875 6876Tue Aug 2 15:25:12 1994 Kung Hsu (kung@mexican.cygnus.com) 6877 6878 * cplus-dem.c (demangle_template): demangle as xxx<'Q'> not 6879 xxx<ch=81>. 6880 6881Mon Aug 1 17:02:48 1994 Kung Hsu (kung@mexican.cygnus.com) 6882 6883 * cplus-dem.c (main): flush stdout to make pipe work. 6884 6885Sat Jul 16 12:56:32 1994 Stan Shebs (shebs@andros.cygnus.com) 6886 6887 * config.table (*-*-cxux7*): Recognize. 6888 * floatformat.c (floatformat_m88110_ext) [HARRIS_FLOAT_FORMAT]: 6889 Harris-specific float format. 6890 * config/mh-cxux7: New file. 6891 6892Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) 6893 6894 * cplus-dem.c (demangle_template): Make sure that the result of 6895 consume_count doesn't index beyond the end of the string. 6896 6897Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) 6898 6899 * cplus-dem.c (gnu_special): Handle vtable mangling of gcc-2.4.5 and 6900 earlier. Improve test for new vtable mangling. Change output back 6901 to `virtual table'. 6902 6903Mon Jun 20 11:37:30 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 6904 6905 * obstack.c: Always compile this code, even if using the GNU 6906 library. Avoids problems with relatively recent binary 6907 incompatibility. 6908 6909Thu Jun 16 17:54:01 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 6910 6911 * cplus-dem.c: Include libiberty.h. 6912 (xmalloc, xrealloc, free): Don't declare. 6913 (strstr): Don't declare parameters. 6914 (xmalloc, xrealloc): Don't define. 6915 (long_options): Add no-strip-underscores. 6916 (main): Call xmalloc_set_program_name. Pass n in short options to 6917 getopt_long. Handle option 'n' to not strip underscores. 6918 (usage): Mention -n and --no-strip-underscores. 6919 6920Sun Jun 12 01:37:09 1994 Jason Merrill (jason@deneb.cygnus.com) 6921 6922 * cplus-dem.c (demangle_template): Separate consecutive >'s with a 6923 space. 6924 (gnu_special): Demangle template and qualified names in a vtable name. 6925 6926Fri May 27 12:27:52 1994 Ken Raeburn (raeburn@cujo.cygnus.com) 6927 6928 From gas-2.3 and binutils-2.4 net releases: 6929 6930 Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com) 6931 6932 * makefile.dos: [new] Makefile for dos/go32 6933 * configure.bat: update for latest files 6934 * msdos.c: remove some functions now in libc.a 6935 6936Fri May 20 18:53:32 1994 Per Bothner (bothner@kalessin.cygnus.com) 6937 6938 * cplus-dem.c (gnu_special): Recognize thunks, as well as 6939 the new naming style for vtables (when -fvtable-thunks). 6940 6941Wed May 18 13:34:06 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 6942 6943 * Makefile.in (XTRAFLAGS): Don't define. 6944 (.c.o, dummy.o): Don't use XTRAFLAGS. 6945 ($(RULE1)): Don't pass XTRAFLAGS down in recursive call. 6946 6947Fri May 13 16:02:12 1994 Jim Kingdon (kingdon@lioth.cygnus.com) 6948 6949 * vasprintf.c: New file. 6950 * Makefile.in, functions.def: Add it. 6951 6952Fri May 13 16:20:28 1994 Jason Merrill (jason@deneb.cygnus.com) 6953 6954 * cplus-dem.c (demangle_fund_type): Grok bool. 6955 6956Fri May 6 14:44:21 1994 Steve Chamberlain (sac@cygnus.com) 6957 6958 * config.table: Add go32 6959 * config/mh-go32: New template. 6960 6961Fri May 6 11:01:59 1994 D. V. Henkel-Wallace (gumby@rtl.cygnus.com) 6962 6963 * config.table, config/mt-sunos4: config for when sun4 is cross target. 6964 6965Mon Apr 11 00:54:33 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu) 6966 6967 * getopt.c [not __GNU_LIBRARY__] [__GCC__] [not __STDC__]: 6968 Declare strlen to return int. Don't include stddef.h. 6969 6970Fri Apr 1 00:38:17 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) 6971 6972 * getopt.c: Delete use of IN_GCC to control whether 6973 stddef.h or gstddef.h is included. 6974 6975Thu Apr 14 14:00:56 1994 Kung Hsu (kung@mexican.cygnus.com) 6976 6977 * cplus-dem.c (demangle_signature): Fix a bug in template function 6978 type numbering. 6979 6980Wed Apr 13 17:23:03 1994 Kung Hsu (kung@mexican.cygnus.com) 6981 6982 * cplus-dem.c (demangle_signature): Fix template function with arm 6983 style argument type number, Tn. 6984 6985Wed Apr 13 17:11:15 1994 Jason Merrill (jason@deneb.cygnus.com) 6986 6987 * cplus-dem.c (optable): Add new[] and delete[]. 6988 6989Fri Apr 8 11:21:42 1994 Jim Kingdon (kingdon@deneb.cygnus.com) 6990 6991 * argv.c (buildargv): Don't produce empty argument just because 6992 there is trailing whitespace. 6993 6994Wed Apr 6 11:42:14 1994 Kung Hsu (kung@mexican.cygnus.com) 6995 6996 * cplus-dem.c (demangle_template): fix 'Q' qualified name bug. 6997 Handle 'p' same as 'P'. 6998 * cplus-dem.c (do_type): Handle 'p' same as 'P'. 6999 7000Sat Mar 26 12:00:13 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) 7001 7002 * floatformat.c (get_field, put_field): Fix off by one error in 7003 little endian case. 7004 7005Thu Mar 24 10:40:19 1994 Jim Kingdon (kingdon@lioth.cygnus.com) 7006 7007 * floatformat.c (floatformat_from_double): Pass unsigned char *, 7008 not char *, to put_field. 7009 7010Fri Mar 18 12:34:33 1994 Per Bothner (bothner@kalessin.cygnus.com) 7011 7012 * memmove.c: Re-wrote; placed in public domain. 7013 7014Wed Mar 16 10:33:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com) 7015 7016 * cplus-dem.c (demangle_prefix): If ARM demangling, don't treat 7017 __Q* as a constructor. 7018 7019Mon Mar 14 12:26:02 1994 Ian Lance Taylor (ian@cygnus.com) 7020 7021 * ieee-float.c: Removed; no longer used. 7022 * Makefile.in: Changed accordingly. 7023 7024Mon Mar 7 12:28:17 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 7025 7026 * floatformat.c (get_field): Removed unused local variable i. 7027 (put_field): Removed unused local variable i. 7028 7029Sun Feb 27 21:50:11 1994 Jim Kingdon (kingdon@deneb.cygnus.com) 7030 7031 * floatformat.c: New file, intended to replace ieee-float.c. 7032 * Makefile.in: Change accordingly. 7033 7034Thu Feb 24 11:51:12 1994 David J. Mackenzie (djm@rtl.cygnus.com) 7035 7036 * getopt.c: Remove #ifdef GETOPT_COMPAT and #if 0 code. 7037 (_getopt_initialize): New function, broken out of _getopt_internal. 7038 (_getopt_internal): 7039 If long_only and the ARGV-element has the form "-f", where f is 7040 a valid short option, don't consider it an abbreviated form of 7041 a long option that starts with f. Otherwise there would be no 7042 way to give the -f short option. 7043 7044Thu Feb 10 14:44:16 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu) 7045 7046 * getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]: 7047 Test just __STDC__, not emacs. 7048 7049Wed Feb 9 00:14:00 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu) 7050 7051 * getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC] 7052 [emacs] [not __STDC__]: Don't include stddef.h. Don't declare strlen. 7053 7054Fri Dec 24 19:43:00 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) 7055 7056 * getopt.c (_NO_PROTO): Define before config.h is included. 7057 7058Mon Sep 20 15:59:03 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) 7059 7060 * getopt.c, getopt1.c [emacs || CONFIG_BROKETS]: Include 7061 <config.h> only under these, else "config.h". 7062 7063Thu Aug 12 18:16:49 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) 7064 7065 * getopt.c, getopt1.c [HAVE_CONFIG_H]: Include 7066 <config.h> instead of "config.h". 7067 7068Sun Feb 20 17:17:01 1994 Ian Lance Taylor (ian@lisa.cygnus.com) 7069 7070 * concat.c: Check ANSI_PROTOTYPES rather than __STDC__ to decide 7071 whether to use prototypes or not. 7072 * strerror.c (const): Never undefine; let ansidecl.h handle it. 7073 * strsignal.c (const): Likewise. 7074 7075Thu Feb 17 13:27:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 7076 7077 * xatexit.c (_xexit_cleanup): Declare as extern; don't initialize. 7078 Merging common and initialized variables need not be supported by 7079 ANSI C compilers. 7080 (xatexit): Initialize _xexit_cleanup if not already set. 7081 * xexit.c: Comment fix. 7082 7083Wed Feb 16 01:15:36 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 7084 7085 * xmalloc.c: Don't declare xexit; it's declared in libiberty.h. 7086 (xrealloc): If oldmem is NULL, allocate with malloc, rather than 7087 assuming that realloc works correctly. 7088 7089Tue Feb 15 09:26:16 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) 7090 7091 * concat.c, ieee-float.c: Replace inclusion of <string.h> 7092 with explicit function declarations, as recommended by Ian Taylor. 7093 7094Sat Feb 12 10:31:11 1994 David J. Mackenzie (djm@rtl.cygnus.com) 7095 7096 * xmalloc.c (xmalloc, xrealloc): Use PTR and size_t throughout. 7097 (malloc, realloc): Declare. 7098 7099Thu Feb 10 17:08:19 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 7100 7101 * argv.c, basename.c: Include ansidecl.h and libiberty.h. 7102 * concat.c, fdmatch.c, getruntime.c, spaces.c: Likewise. 7103 * strerror.c, strsignal.c, xatexit.c, xexit.c: Likewise. 7104 * xmalloc.c: Likewise. 7105 * concat.c: Don't declare xmalloc. If __STDC__, use <stdarg.h> 7106 macros, not <varargs.h> macros. 7107 * spaces.c (spaces): Make return type const. Don't crash if 7108 malloc returns NULL. 7109 * strerror.c (struct error_info): Make name and msg fields const. 7110 (error_names): Make const. 7111 (strerrno): Make const. 7112 (strtoerrno): Make argument const. 7113 * strsignal.c (struct signal_info): Make name and msg fields 7114 const. 7115 (signal_names, sys_siglist): Make const. 7116 (strsignal, strsigno): Make const. 7117 (strtosigno): Make argument const. 7118 * xatexit.c: Declare parameter types. 7119 * xmalloc.c (name): Make const. 7120 (xmalloc_set_program_name): Make argument const. 7121 * Makefile.in (INCDIR): Define. 7122 (.c.o): Use $(INCDIR). 7123 (dummy.o): Likewise. 7124 (argv.o, basename.o): New targets; depend on libiberty.h. 7125 (concat.o, fdmatch.o, getruntime.o, spaces.o): Likewise. 7126 (strerror.o, strsignal.o, xatexit.o, xexit.o): Likewise. 7127 (xmalloc.o): Likewise. 7128 (cplus-dem.o): New target; depend on demangle.h. 7129 (getopt.o, getopt1.o): New targets; depend on getopt.h. 7130 (ieee-float.o): New target; depend on ieee-float.h. 7131 (obstack.o): New target; depend on obstack.h. 7132 7133Tue Feb 8 05:29:08 1994 David J. Mackenzie (djm@thepub.cygnus.com) 7134 7135 Handle obstack_chunk_alloc returning NULL. This allows 7136 obstacks to be used by libraries, without forcing them 7137 to call exit or longjmp. 7138 * obstack.c (_obstack_begin, _obstack_begin_1, _obstack_newchunk): 7139 If CALL_CHUNKFUN returns NULL, set alloc_failed, else clear it. 7140 (_obstack_begin, _obstack_begin_1): Return 1 if successful, 0 if not. 7141 7142Tue Feb 8 00:32:28 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) 7143 7144 * concat.c, ieee-float.c: Include <string.h>. 7145 7146Sun Feb 6 21:28:46 1994 David J. Mackenzie (djm@thepub.cygnus.com) 7147 7148 * xmalloc.c (xmalloc_set_program_name): New function. 7149 (xmalloc, xrealloc): Include the name in the error message, if set. 7150 7151 * Replace atexit.c with xatexit.c. 7152 * Makefile.in (CFILES), functions.def: Change references. 7153 7154Sat Feb 5 14:02:32 1994 Stan Shebs (shebs@andros.cygnus.com) 7155 7156 * getruntime.c (get_run_time): Use getrusage or times if 7157 HAVE_GETRUSAGE or HAVE_TIMES are defined. 7158 7159Fri Feb 4 15:49:38 1994 David J. Mackenzie (djm@thepub.cygnus.com) 7160 7161 * atexit.c: New file. 7162 * Makefile.in (CFILES), functions.def: Add it. 7163 * xexit.c: New file. 7164 * Makefile.in (CFILES, REQUIRED_OFILES): Add it. 7165 * xmalloc.c (xmalloc, xrealloc): Call xexit instead of exit. 7166 Change request for 0 bytes into request for 1 byte. 7167 7168Wed Feb 2 11:36:49 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 7169 7170 * xmalloc.c (xmalloc, xrealloc): Print size using %lu, and cast to 7171 unsigned long, to avoid warnings. 7172 7173Fri Jan 28 17:49:06 1994 Ken Raeburn (raeburn@cujo.cygnus.com) 7174 7175 * dummy.c: Don't include time.h ever; always define clock_t as 7176 "unsigned long". Until gcc/fixincludes ensures that clock_t 7177 exists, __STDC__ isn't a sufficient test. And if clock() doesn't 7178 exist, clock_t probably doesn't either. 7179 7180Mon Jan 24 11:52:31 1994 Stan Shebs (shebs@andros.cygnus.com) 7181 7182 * clock.c, getruntime.c: New files. 7183 * Makefile.in: Add to file lists. 7184 * functions.def (clock): Add to list. 7185 * dummy.c (time.h): Add if __STDC__. 7186 (clock_t): #define as "unsigned long" if not __STDC__. 7187 7188Tue Jan 11 11:27:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 7189 7190 * strtod.c: Declare atof. From edler@jan.ultra.nyu.edu (Jan 7191 Edler). 7192 7193Tue Dec 28 14:17:30 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 7194 7195 * Makefile.in (errors): Use CFLAGS as well as LDFLAGS when 7196 linking. 7197 7198Fri Dec 17 12:26:07 1993 Kung Hsu (kung@cirdan.cygnus.com) 7199 7200 * cplus-dem.c (demangle_arm_pt): New function. Common code 7201 for ARM template demangling. 7202 * cplus-dem.c (demangle_class_name): Use demangle_arm_pt. 7203 * cplus-dem.c (demangle_prefix): Likewise. 7204 7205Tue Nov 30 15:47:48 1993 Jason Merrill (jason@deneb.cygnus.com) 7206 7207 * cplus-dem.c (cplus_demangle_opname): Add CONST to please gcc. 7208 7209Sat Nov 27 11:05:50 1993 Fred Fish (fnf@cygnus.com) 7210 7211 Merge changes from tom@basil.icce.rug.nl (Tom R.Hageman) 7212 * strerror.c, strsignal.c: As a small space optimization, don't 7213 include messages when they aren't actually used. 7214 7215 Merge changes from takefive.co.at!joe (Josef Leherbauer) 7216 * cplus-dem.c (demangle_prefix, demangle_function_name, 7217 cplus_demangle_opname): Fixes for systems where cplus_marker 7218 is something other than '$'. 7219 7220Fri Nov 26 13:51:11 1993 Per Bothner (bothner@kalessin.cygnus.com) 7221 7222 * waitpid.c: Simple-minded approcimation to waitpid 7223 using vanilla wait. 7224 * functions.def, Makefile.in: Update accordingly, 7225 7226Thu Nov 18 18:01:15 1993 Kung Hsu (kung@cirdan.cygnus.com) 7227 7228 * cplus-dem.c(demangle_template): fix bug template instantiation 7229 with value of user defined type. 7230 7231Wed Nov 17 18:30:21 1993 Kung Hsu (kung@cirdan.cygnus.com) 7232 7233 * cplus-dem.c(cplus_demangle_opname): add the subject new function 7234 to support unified search of operator in class. 7235 7236Wed Nov 10 09:47:22 1993 Jim Kingdon (kingdon@lioth.cygnus.com) 7237 7238 gcc -Wall lint: 7239 * strtoul.c (strtoul): use "(digit = *s) != '\0'" not just 7240 "digit = *s" as condition in while loop. 7241 7242Tue Nov 9 15:52:22 1993 Mark Eichin (eichin@cygnus.com) 7243 7244 * Makefile.in: pass SHELL to recursive make 7245 7246Thu Nov 4 12:09:26 1993 Per Bothner (bothner@kalessin.cygnus.com) 7247 7248 * vfprintf.c, vprintf.c, vsprintf.c: Make format arg 7249 be (const char*), for ANSI (and gcc w/fixproto) consistency. 7250 7251Thu Nov 4 08:29:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com) 7252 7253 * config.table: Make *-*-hiux* use mh-hpux. 7254 7255Fri Oct 22 07:53:15 1993 Jim Kingdon (kingdon@lioth.cygnus.com) 7256 7257 * config.table: Add * to end of all OS names. 7258 7259Tue Oct 19 17:12:01 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) 7260 7261 * Makefile.in (lneeded-list): ensure that object file names are 7262 not duplicated, as multiple instances of the same object file in 7263 a library causes problems on some machines 7264 7265Mon Oct 18 21:59:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com) 7266 7267 * strcasecmp.c, strncasecmp.c: Change u_char to unsigned char. 7268 7269Fri Oct 15 22:17:11 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) 7270 7271 * strncasecmp.c: new file, implements strncasecmp 7272 * strcasecmp.c: new file, implement strcasecmp 7273 7274 * Makefile.in (CFILES): list these two new source files 7275 7276 * functions.def: add strcasecmp and strncasecmp entries 7277 7278Fri Oct 15 14:53:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 7279 7280 * strtoul.c (strtoul), strtol.c (strtol): Handle overflow 7281 according to ANSI C. 7282 7283Thu Oct 14 16:34:19 1993 Kung Hsu (kung@cirdan.cygnus.com) 7284 7285 * cplus-dem.c: add support of ARM global constructor/destructor, 7286 and 'G' for passing record or union in parameter. 7287 7288Wed Oct 13 13:36:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com) 7289 7290 * Makefile.in: Fix comment to clarify that stuff in REQUIRED_OFILES 7291 should not be in functions.def. 7292 7293Wed Oct 13 13:13:38 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 7294 7295 * functions.def: Removed xmalloc. Stuff in REQUIRED_OFILES should 7296 not be in functions.def. 7297 7298Mon Oct 4 18:26:39 1993 Kung Hsu (kung@cirdan.cygnus.com) 7299 7300 * cplus-dem.c: change globl constructor/destructor to proper name 7301 7302Tue Sep 28 18:11:07 1993 Kung Hsu (kung@cirdan.cygnus.com) 7303 7304 * cplus-dem.c: fix bug in constructor/destructor 7305 7306Tue Sep 28 16:20:49 1993 Kung Hsu (kung@cirdan.cygnus.com) 7307 7308 * cplus-dem.c: support both old and new _vt$... vtbl mangled names 7309 7310Fri Sep 24 19:07:16 1993 Jason Merrill (jason@deneb.cygnus.com) 7311 7312 * cplus-dem.c: Fix demangle_template prototype 7313 7314Fri Sep 24 17:32:55 1993 Kung Hsu (kung@cirdan.cygnus.com) 7315 7316 * cplus-dem.c: fix template demangling 7317 * cplus-dem.c: fix const type demangling 7318 * cplus-dem.c: fix constructor/destructor, virtual table, 7319 qualifier, global constructor/destructor demangling 7320 7321Wed Sep 1 23:13:11 1993 Jim Kingdon (kingdon@lioth.cygnus.com) 7322 7323 * strsignal.c, strerror.c: Use fully-bracketed initializer to 7324 keep gcc -Wall happy. 7325 7326Fri Aug 27 10:30:09 1993 Jason Merrill (jason@deneb.cygnus.com) 7327 7328 * cplus-dem.c (do_type): Add CONSTS to make gcc happy with last 7329 patch. 7330 7331Fri Aug 27 11:24:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com) 7332 7333 Patch from Paul Flinders: 7334 * cplus-dem.c (do_type): Deal with arrays. 7335 7336Tue Aug 24 14:23:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com) 7337 7338 * cplus-dem.c (demangle_qualified: Deal with GNU format for more 7339 than 9 classes. 7340 7341Wed Aug 18 19:50:29 1993 Jason Merrill (jason@deneb.cygnus.com) 7342 7343 * Makefile.in (dummy.o): Redirect to /dev/null to avoid "variable 7344 not initialized" warnings under HP/UX 7345 7346Sun Aug 15 20:42:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com) 7347 7348 * strerror.c: Move include of stdio.h after sys_errlist #define. 7349 Also remove NULL definition (stdio.h always defines NULL, so it 7350 never did anything but clutter up the code). 7351 7352Sat Aug 14 14:21:49 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) 7353 7354 * Makefile.in, functions.def: handle xmalloc.c 7355 7356 * xmalloc.c: provide xmalloc and xrealloc functions 7357 7358Thu Aug 12 17:38:57 1993 David J. Mackenzie (djm@thepub.cygnus.com) 7359 7360 * cplus-dem.c: Fix a comment. 7361 7362Sat Aug 7 13:56:35 1993 David J. Mackenzie (djm@thepub.cygnus.com) 7363 7364 * getopt1.c: Declare const the way getopt.c does. 7365 7366Fri Aug 6 17:03:13 1993 David J. Mackenzie (djm@thepub.cygnus.com) 7367 7368 * obstack.c, alloca.c: Update from FSF. 7369 * getopt.c, getopt1.c: Update to current FSF version, which 7370 doesn't use alloca. 7371 7372Tue Jul 27 14:03:57 1993 Brendan Kehoe (brendan@lisa.cygnus.com) 7373 7374 * Makefile.in (demangle): Add the target with a message saying 7375 where demangle went. 7376 7377Mon Jul 26 15:49:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com) 7378 7379 * Makefile.in: Remove obsolete `demangle' target. 7380 7381Thu Jul 22 08:31:01 1993 Fred Fish (fnf@deneb.cygnus.com) 7382 7383 * cplus-dem.c (arm_special): Apply patch from arg@lucid.com to 7384 avoid infinite loop on vtbl symbols with disambiguating "junk" 7385 tacked on the end. 7386 7387Mon Jul 19 14:10:37 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) 7388 7389 * strsignal.c: work around some systems losing definitions of 7390 sys_siglist 7391 7392 * config/mh-lynxos: this system has a losing definition of 7393 sys_siglist 7394 7395 * config.table: use mh-lynxos for *-*-lynxos 7396 7397Mon Jul 19 17:08:52 1993 Ken Raeburn (raeburn@rtl.cygnus.com) 7398 7399 * config.table: Add support for HPPA BSD hosts. 7400 7401 * config/mh-hpbsd: New file. 7402 7403Mon Jul 12 18:00:40 1993 K. Richard Pixley (rich@cygnus.com) 7404 7405 * Makefile.in (TAGS): make work when srcdir != objdir. 7406 7407Sun Jun 27 15:35:31 1993 David J. Mackenzie (djm@thepub.cygnus.com) 7408 7409 * cplus-dem.c (main): Add long options, including --help and 7410 --version. 7411 (usage): New function from code in main. 7412 7413Tue Jun 22 11:37:38 1993 Per Bothner (bothner@deneb.cygnus.com) 7414 7415 * config.table: New shell scipt, sourced by both ./configure,in 7416 and ../xiberty/configure.in, to avoid maintainance lossages. 7417 * configure.in and ../xiberty/configure.in: Use config.table. 7418 7419 * configure.in: Don't use mh-aix for AIX 3.2, only for 3.1. 7420 * configure.in: Map *-*-irix* (except irix4) to mh-sysv. 7421 * ../xiberty/configure.in: Update from ./configure.in. 7422 7423Tue Jun 15 17:05:31 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 7424 7425 * Makefile.in: remove parentdir support 7426 7427Wed May 26 12:59:09 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) 7428 7429 * cplus-dem.c (xrealloc): Match definition with prototype. 7430 7431Tue May 25 14:27:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) 7432 7433 * cplus-dem.c (demangle_prefix): Demangle cfront 7434 local variables as an extension to ARM demangling. 7435 7436Fri May 21 09:53:57 1993 Jim Kingdon (kingdon@lioth.cygnus.com) 7437 7438 * ieee-float.c: Don't require pointers to double to be aligned. 7439 7440Tue May 18 17:12:10 1993 Fred Fish (fnf@cygnus.com) 7441 7442 (merge changes from dlong@cse.ucsc.edu) 7443 * cplus-dem.c (consume_count): Simplify. 7444 * cplus-dem.c (arm_pt, demangle_class_name): New functions. 7445 * cplus-dem.c (various): Calls to arm_pt, demangle_class_name. 7446 7447 * cplus-dem.c (xmalloc, xrealloc, strstr): Make extern decls into 7448 full prototypes. 7449 * cplus-dem.c (free): Add prototype. 7450 * cplus-dem.c (optable): Fully bracketize initializer. 7451 7452Fri May 14 17:13:05 1993 Per Bothner (bothner@cygnus.com) 7453 7454 * cplus-dem.c: Whether initial underscores are stripped 7455 depends on the external variable prepends_underscore 7456 (which is generated by the binutils Makefile). 7457 7458Fri May 14 07:32:20 1993 Ken Raeburn (raeburn@deneb.cygnus.com) 7459 7460 * cplus-dem.c (mop_up, arm_special): Remove some unused variables. 7461 7462Tue May 4 20:31:59 1993 Fred Fish (fnf@cygnus.com) 7463 7464 * cplus-dem.c (consume_count): Return zero if arg does not 7465 start with digit, and don't consume any input. 7466 7467Tue May 4 08:10:28 1993 Jim Kingdon (kingdon@cygnus.com) 7468 7469 * Makefile.in (demangle): Use ${srcdir} not $^. 7470 7471 * strtod.c: New file, needed at least for BSD 4.3. 7472 7473Sun May 2 11:30:42 1993 Fred Fish (fnf@cygnus.com) 7474 7475 * strsignal.c (sys_siglist): For ANSI compilations, type is 7476 "const char *const". Also remove conditionalization on __STDC__ 7477 since const is defined away for non-ANSI. 7478 7479Wed Apr 28 19:29:55 1993 Ken Raeburn (raeburn@deneb.cygnus.com) 7480 7481 * configure.in: Recognize *-*-hpux. 7482 * config/mh-hpux: New file. 7483 7484Tue Apr 27 15:22:19 1993 Per Bothner (bothner@cygnus.com) 7485 7486 * tmpnam.c: Added ANSI tmpnam() function. 7487 * functions.def, Makefile.in: Update accordingly. 7488 7489Tue Apr 27 13:38:38 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) 7490 7491 * cplus-dem.c (demangle_function_name): Get the demangling of 7492 stop__1A right. 7493 7494Fri Apr 16 23:48:24 1993 Jim Kingdon (kingdon at calvin) 7495 7496 * cplus-dem.c: Declare strstr return type. 7497 7498Fri Mar 26 12:01:26 1993 Jim Kingdon (kingdon@cygnus.com) 7499 7500 * strsignal.c: Add some AIX signals. 7501 7502Thu Mar 25 15:17:23 1993 Ian Lance Taylor (ian@cygnus.com) 7503 7504 * Makefile.in (MAKEOVERRIDES): Define to be empty. 7505 7506Wed Mar 24 01:59:25 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com) 7507 7508 * Makefile.in: add installcheck & dvi targets 7509 7510Thu Mar 18 14:05:44 1993 Per Bothner (bothner@rtl.cygnus.com) 7511 7512 * ieee-float.c: New file, moved from ../gdb (since it is 7513 needed by ../opcode/m68k-dis.c). 7514 7515Tue Mar 2 17:47:31 1993 Fred Fish (fnf@cygnus.com) 7516 7517 * cplus-dem.c: Replace all references to cfront with ARM. 7518 7519Fri Feb 26 00:17:07 1993 Per Bothner (bothner@rtl.cygnus.com) 7520 7521 * cplus-dem.c: Fix main program (when compiled with -DMAIN) 7522 to be more useful as a filter. 7523 7524Sat Feb 20 21:41:39 1993 Brendan Kehoe (brendan@lisa.cygnus.com) 7525 7526 * Makefile.in (install_to_libdir, install_to_tooldir): Go into the 7527 destination directory before running $(RANLIB), in case that 7528 program tries to create a file in the current directory as part of 7529 its work. 7530 7531Thu Feb 18 23:00:19 1993 John Gilmore (gnu@cygnus.com) 7532 7533 * strsignal.c (sys_siglist): Remove yet another *%^&%&$# "const" 7534 because BSD 4.4 lacks one. Isn't this fun? 7535 7536Thu Feb 18 11:24:25 1993 Fred Fish (fnf@cygnus.com) 7537 7538 * cplus-dem.c (demangle_signature): Set func_done after 7539 demangling a template. 7540 * cplus-dem.c (demangle_template): Fix several small bugs 7541 in demangling GNU style templates. 7542 * cplus-dem.c (demangle_prefix): Fix for templates in GNU 7543 style constructors. 7544 * cplus-dem.c (gnu_special): Fix for templates in GNU style 7545 static data members. 7546 7547Tue Feb 16 17:28:35 1993 Fred Fish (fnf@cygnus.com) 7548 7549 * cplus-dem.c (demangle_signature): Modify to include type 7550 modifiers like static and const in remembered types. 7551 7552Thu Feb 11 22:20:47 1993 Fred Fish (fnf@cygnus.com) 7553 7554 * cplus-dem.c (demangled_qualified): Add new parameter that tells 7555 whether to prepend or append the qualifiers. 7556 * cplus-dem.c (string_prepends): Used now, remove #if 0. 7557 * cplus-dem.c (demangle_signature): Call demangle_qualified 7558 with prepending. 7559 * cplus-dem.c (gnu_special): Recognize static data members that 7560 use qualified names. 7561 * cplus-dem.c (demangle_qualified): Accumulate qualifiers in a 7562 temporary buffer and the prepend or append them to the result, 7563 as specified by the new "append" flag. 7564 * cplus-dem.c (do_type): Call demangled_qualified with 7565 appending. 7566 7567Mon Dec 28 10:47:19 1992 Ken Raeburn (raeburn@cygnus.com) 7568 7569 * strsignal.c (signal_table): Now const. 7570 (init_signal_tables): Variable eip now points to const. 7571 7572 * strerror.c (error_table): Now const. 7573 (init_error_tables): Variable eip now points to const. 7574 7575Tue Dec 15 15:36:50 1992 Per Bothner (bothner@cygnus.com) 7576 7577 * memchr.c (memchr): New (ANSI standard) function. 7578 * Makefile.in, functions.def: Added memchr. 7579 * Makefile.in (AR_FLAGS): Use rc instad of non-standard cq. 7580 7581Wed Dec 2 22:49:10 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 7582 7583 * getopt.c: remove use of USG around <alloca.h>, which never meant 7584 anything anyway 7585 7586 * config/mh-{aix,apollo68,ncr3000,sysv,sysv4}: removed definitions 7587 of USG and USGr4 7588 7589Thu Nov 19 03:09:33 1992 Brendan Kehoe (brendan@lisa.cygnus.com) 7590 7591 * cplus-dem.c (demangle_fund_type): Recognize `w', a wide character; 7592 it's now a type according to the ANSI X3J16 working paper; output 7593 "wchar_t" for it. 7594 (demangle_template): Accept `w' as an integral type. 7595 (xmalloc, xrealloc): Use `char *', not `PTR'. Cast calls to their 7596 counterparts malloc and realloc to `char *'. 7597 (main): Exit with a 0 status. 7598 * Makefile.in (demangle): Don't expect the user to define 7599 DEMANGLE, instead force to be cplus-dem.c. Look in $(srcdir)/../include 7600 for demangle.h. Pass it any HDEFINES or XTRAFLAGS. 7601 7602Wed Nov 18 18:56:20 1992 John Gilmore (gnu@cygnus.com) 7603 7604 * Makefile.in (AR_FLAGS): Avoid verbosity. 7605 * config/mh-sysv4: Remove AR_FLAGS override, use INSTALL=cp, 7606 replace USGr4 with HAVE_SYSCONF. 7607 * config/mh-solaris: Remove; mh-sysv4 works now. 7608 * getpagesize.c: Replace USGr4 with HAVE_SYSCONF. 7609 * configure.in: Simplify host matching table, remove separate 7610 solaris config file. 7611 7612Sun Nov 15 09:35:16 1992 Fred Fish (fnf@cygnus.com) 7613 7614 * configure.in (i[34]86-*-solaris2*): Add, use mh-sysv4. 7615 7616Tue Nov 3 21:27:03 1992 Brendan Kehoe (brendan@cygnus.com) 7617 7618 * cplus-dem.c (xmalloc, xrealloc): Add decls. 7619 (remember_type): Don't cast xmalloc. 7620 (string_need): Likewise; don't cast xrealloc either. 7621 7622Fri Oct 23 08:52:01 1992 Ian Lance Taylor (ian@cygnus.com) 7623 7624 * Makefile.in, functions.defs, rename.c: added simple 7625 implementation of rename, since some binutils programs use it. 7626 7627Thu Oct 15 15:18:22 1992 Per Bothner (bothner@cygnus.com) 7628 7629 * strsignal.c: Add appropriate 'const' to sys_siglist 7630 extern declaration (if __STDC__). (Needed for Linux.) 7631 * strsignal.c (strsignal): Add cast to remove const-ness. 7632 7633Fri Oct 9 03:22:55 1992 John Gilmore (gnu@cygnus.com) 7634 7635 * Makefile.in (needed.awk, needed2.awk): Remove erroneous \'s 7636 before "'s, diagnosed by BSD 4.4 awk. 7637 7638Thu Oct 8 15:25:12 1992 Ian Lance Taylor (ian@cygnus.com) 7639 7640 * Makefile.in: create config.h and needed-list through $(CONFIG_H) 7641 and $(NEEDED_LIST), to give some hooks for xiberty. 7642 7643Thu Oct 1 23:31:42 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 7644 7645 * configure.in: use cpu-vendor-triple instead of nested cases 7646 7647Wed Sep 30 11:26:59 1992 Per Bothner (bothner@rtl.cygnus.com) 7648 7649 * Makefile.in, argv.c, basename.c, bcmp.c, bcopy.c, bzero.c, 7650 concat.c, cplus-dem.c, fdmatch.c, getcwd.c, getopt.c, getopt1.c, 7651 getpagesize.c, insque.c, memcmp.c, memcpy.c, memmove.c, memset.c, 7652 obstack.c, sigsetmask.c, spaces.c, strchr.c, strerror.c, 7653 strrchr.c, strsignal.c, strstr.c, vfork.c, vsprintf.c: 7654 Convert from using GPL to LGPL. 7655 7656Sat Sep 26 04:01:30 1992 John Gilmore (gnu@cygnus.com) 7657 7658 * Makefile.in (errors): Leave dummy.o and dummy around so that 7659 we can see how the needed list was generated (it's sometimes wrong). 7660 (mostlyclean): Remove them. 7661 7662Mon Sep 21 14:50:42 1992 Ian Lance Taylor (ian@cygnus.com) 7663 7664 * getcwd.c: supply a default if MAXPATHLEN is not defined. 7665 7666 * config/mh-irix4: set EXTRA_OFILES to alloca.o, from WRS. 7667 7668Wed Sep 9 12:41:48 1992 Ian Lance Taylor (ian@cygnus.com) 7669 7670 * Makefile.in: Use XTRAFLAGS when compiling, so that xiberty works 7671 when cross-compiling. 7672 7673Thu Sep 3 13:29:39 1992 K. Richard Pixley (rich@sendai.cygnus.com) 7674 7675 * cplus-dem.c: (demangle_prefix): reduction in strength of strstr 7676 as a time optimization. 7677 7678 * cplus-dem.c (cplus_demangle): remove strpbrk test. Appears to 7679 be more expensive than simply demangling. 7680 7681 * cplus-dem.c (cplus_match): new function. 7682 7683Tue Sep 1 15:24:04 1992 Per Bothner (bothner@rtl.cygnus.com) 7684 7685 * cplus-dem.c: #include <stdio.h>, to define NULL. 7686 Define current_demangling_style. 7687 7688Sun Aug 30 17:58:19 1992 Per Bothner (bothner@rtl.cygnus.com) 7689 7690 * cplus-dem.c: New file, moved from ../gdb. 7691 * cplus-dem.c (set_cplus_marker_for_demangling): New exported 7692 function, to avoid compiling in target-dependency for CPLUS_MARKER. 7693 * cplus-dem.c (cplus_demangle): Allow demangling style option 7694 to be passed as a parameter, but using the global variable 7695 current_demangling_style as a default. 7696 * Makefile.in: Update for cplus-dem.c 7697 7698Sat Aug 29 10:44:09 1992 Fred Fish (fnf@cygnus.com) 7699 7700 * obstack.c: Merge in comment changes from FSF version. Now 7701 matches the FSF version exactly. 7702 7703Fri Aug 28 18:39:08 1992 John Gilmore (gnu@cygnus.com) 7704 7705 * obstack.c (CALL_FREEFUN): Can't use ?: with void values (at 7706 least on losing DECstations!); use if-then-else instead. 7707 7708Wed Aug 19 14:40:34 1992 Ian Lance Taylor (ian@cygnus.com) 7709 7710 * Makefile.in: always create installation directories. 7711 7712Mon Aug 10 17:33:40 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 7713 7714 * Makefile.in: clean up definition of CFILES, more comments 7715 7716Sat Aug 8 23:10:59 1992 Fred Fish (fnf@cygnus.com) 7717 7718 * getopt.c (my_index): Make first arg const to match strchr, 7719 which it sometimes is remapped to. 7720 7721Sat Aug 1 13:48:50 1992 Fred Fish (fnf@cygnus.com) 7722 7723 * obstack.c (DEFAULT_ALIGNMENT): Update to match FSF version. 7724 * obstack.c (_obstack_begin): Initialize use_extra_arg. 7725 * obstack.c (_obstack_begin_1): New, from FSF version. 7726 7727Mon Jul 20 21:07:58 1992 Fred Fish (fnf@cygnus.com) 7728 7729 * obstack.c (CALL_CHECKFUN, CALL_FREEFUN): Use use_extra_arg and 7730 extra_arg. 7731 * obstack.c (_obstack_begin): Remove area_id and flags arguments 7732 (previously added for mmalloc support, interface has changed). 7733 Also convert flags usage to use use_extra_arg and maybe_empty_object. 7734 7735Fri Jul 10 00:41:53 1992 Fred Fish (fnf@cygnus.com) 7736 7737 * argv.c: Move expandargv inline and eliminate static variables. 7738 Rewrite to always allocate in powers of two. Fix to return an 7739 argv with a single null string arg if passed a null string. 7740 7741Fri Jul 3 20:27:29 1992 Fred Fish (fnf@cygnus.com) 7742 7743 * random.c, sigsetmask.c, strerror.c, strsignal.c: Remove 7744 "(void)" casts from function calls where the return value is 7745 ignored, in accordance with GNU coding standards. 7746 7747Mon Jun 29 10:54:19 1992 Fred Fish (fnf at cygnus.com) 7748 7749 * bcopy.c, strerror.c, strsignal.c: Lint. 7750 7751Thu Jun 25 09:18:41 1992 K. Richard Pixley (rich@rtl.cygnus.com) 7752 7753 * getopt.c: merge changes from make. 7754 7755Thu Jun 25 04:43:22 1992 John Gilmore (gnu at cygnus.com) 7756 7757 * alloca.c: Incorporate fixes from gdb/alloca.c. 7758 FIXME: Eventually move gdb's alloca configuration files here, 7759 and remove gdb/alloca.c and its Makefile.in support. 7760 7761Tue Jun 23 21:56:30 1992 Fred Fish (fnf@cygnus.com) 7762 7763 * dummy.c: Define NOTHING to /*nothing*/, change return type 7764 of main to int and return zero. 7765 * functions.def: Supply NOTHING as the fourth arg to macros 7766 that don't have an explicit arg, to satisfy picky preprocessors. 7767 7768Wed Jun 17 18:13:58 1992 Per Bothner (bothner@rtl.cygnus.com) 7769 7770 * Makefile.in: Clean up *clean rules, as per standards.texi. 7771 7772Tue Jun 16 16:11:59 1992 K. Richard Pixley (rich@rtl.cygnus.com) 7773 7774 * getopt.c, getopt1.c: merged largely gratuitous, mostly 7775 whitespace diffs from other prep distributions. 7776 7777Mon Jun 15 12:25:46 1992 Fred Fish (fnf@cygnus.com) 7778 7779 * config/mh-ncr3000 (INSTALL): Don't use /usr/ucb/install, 7780 it is broken on ncr 3000's. 7781 7782Mon Jun 15 01:03:26 1992 John Gilmore (gnu at cygnus.com) 7783 7784 * sigsetmask.c: Rewrite. Old one was very confused about its 7785 arguments and result. New one can't do much, but at least knows 7786 what it can't do, and it's good enough for GDB's use. 7787 7788Sun Jun 14 15:17:40 1992 Stu Grossman (grossman at cygnus.com) 7789 7790 * functions.def: Use proper prototype for strtoul. 7791 7792Fri Jun 12 19:22:40 1992 John Gilmore (gnu at cygnus.com) 7793 7794 * Makefile.in: Add random.c. 7795 * config/mh-*: Use "true" rather than "echo >/dev/null" for ranlib. 7796 * configure.in: update solaris2 config. 7797 7798Wed Jun 10 16:31:29 1992 Fred Fish (fnf@cygnus.com) 7799 7800 * random.c: Add for random() and srandom(). 7801 * functions.def: Add random 7802 7803Tue Jun 9 17:27:18 1992 Fred Fish (fnf@cygnus.com) 7804 7805 * config/{mh-ncr3000, mh-sysv4}: Add definition for INSTALL 7806 using /usr/ucb/install. 7807 7808Mon Jun 1 13:20:17 1992 Per Bothner (bothner@rtl.cygnus.com) 7809 7810 * strerror.c: Kludge to guard against a conflict with 7811 possible declaration of sys_errlist in errno.h. 7812 7813Sun May 31 15:07:47 1992 Mark Eichin (eichin at cygnus.com) 7814 7815 * configure.in, config/mh-solaris: add solaris2 config support. 7816 7817Fri May 29 17:23:23 1992 Per Bothner (bothner@rtl.cygnus.com) 7818 7819 * sigsetmask.c: #ifdef out sigsetmask if SIG_SETMASK 7820 is not defined (should be defined in signal.h, says Posix.). 7821 7822Mon May 18 17:35:04 1992 K. Richard Pixley (rich@cygnus.com) 7823 7824 * getopt.c: merged changes from make-3.62.11. 7825 7826Fri May 8 14:53:07 1992 K. Richard Pixley (rich@cygnus.com) 7827 7828 * getopt.c: merged changes from bison-1.18. 7829 7830Tue May 5 11:51:40 1992 Per Bothner (bothner@rtl.cygnus.com) 7831 7832 * Makefile.in: Don't have $(EXTRA_OFILES) depend on config.h, 7833 since that introduces a circular dependency. 7834 ($(EXTRA_OFILES) are used to build config.h.) 7835 7836 * strtoul.c: Fixes to handle non-decimal bases better. 7837 7838Wed Apr 22 09:27:51 1992 Fred Fish (fnf@cygnus.com) 7839 7840 * config/mh-ncr3000: Replace MINUS_G with CFLAGS. 7841 * Makefile.dos: Finish MINUS_G eradication. 7842 * Makefile.in (CFILES): Add strsignal.c. 7843 * Makefile.in (REQUIRED_OFILES): Add strerror.o strsignal.o 7844 * Makefile.in (needed-list): Split creation of errors file to 7845 separate make target. 7846 * Makefile.in (config.h, needed2.awk, errors): New targets. 7847 * Makefile.in (clean): Split to multiple lines, add needed2.awk 7848 and config.h. 7849 * dummy.c (DEFFUNC, DEFVAR): Add defines and undefs. 7850 * functions.def (strerror): Remove from optional list. 7851 * functions.def (sys_nerr, sys_errlist, sys_siglist): DEFVAR's 7852 * functions.def (strerror, psignal): DEFFUNC's 7853 * strerror.c: Rewrite from scratch to use sys_errlist only if 7854 available, add errno_max(), add strerrno(), add strtoerrno(), 7855 add test driver. 7856 * strsignal.c: New file, signal equivalent to strerror.c. 7857 Uses sys_siglist if available, defines signo_max(), strsignal(), 7858 strsigno(), strtosigno(), psignal(), and test driver. 7859 7860Mon Apr 20 20:49:32 1992 K. Richard Pixley (rich@cygnus.com) 7861 7862 * Makefile.in: do not print recursion line. 7863 7864 * Makefile.in: allow CFLAGS to be passed in from command line. 7865 Removed MINUS_G. Default CFLAGS to -g. 7866 7867Mon Apr 20 12:57:46 1992 Per Bothner (bothner@rtl.cygnus.com) 7868 7869 * config/mh-aix: New. EXTRA_OFILES lists copysign.o, 7870 so libg++ users don't have to be inconvenienced by a 7871 libc.a bug (libc.a needs copysign, but doesn't define it!). 7872 * configure.in: Use config/mh-aix. 7873 * strtoul.c: Handle '-' as required by ANSI. 7874 Clean up radix handling. 7875 * strstr.c: Fix buggy algorithm. 7876 * Makefile.in: Change so that ${EXTRA_OFILES} is 7877 appended to needed-list (which is used by libg++). 7878 7879Fri Apr 10 22:51:41 1992 Fred Fish (fnf@cygnus.com) 7880 7881 * configure.in: Recognize new ncr3000 config. 7882 * config/mh-ncr3000: New config file. 7883 7884Wed Apr 1 23:31:43 1992 John Gilmore (gnu at cygnus.com) 7885 7886 * argv.c, dummy.c: Lint. 7887 7888Tue Mar 31 18:46:44 1992 Fred Fish (fnf@cygnus.com) 7889 7890 * config/mh-sysv4: New config file. 7891 * configure.in (host_makefile_frag): Set to config/mh-sysv4 for 7892 host_os == sysv4. 7893 * getpagesize.c: For SVR4, use sysconf(_SC_PAGESIZE) to get 7894 pagesize. 7895 7896Sun Mar 29 12:26:42 1992 John Gilmore (gnu at cygnus.com) 7897 7898 * getopt.c: Lint. 7899 7900Fri Mar 27 08:32:55 1992 Fred Fish (fnf@cygnus.com) 7901 7902 * functions.def (alloca): Fix return type and args to avoid 7903 type clash with gcc's builtin alloca. 7904 7905Tue Mar 24 23:33:42 1992 K. Richard Pixley (rich@cygnus.com) 7906 7907 * configure.in, config/mh-irix4: irix4 support. 7908 7909 * Makefile.in, functions.def, alloca.c: added alloca. 7910 7911Tue Mar 24 17:34:46 1992 Stu Grossman (grossman at cygnus.com) 7912 7913 * obstack.c (CALL_FREEFUN): Make it compile on DECstations. 7914 7915Thu Mar 19 13:57:42 1992 Fred Fish (fnf@cygnus.com) 7916 7917 * argv.c: Fix various external function definitions to be 7918 correct in an ANSI compilation environment. 7919 7920Sat Mar 14 17:28:17 1992 Fred Fish (fnf@cygnus.com) 7921 7922 * obstack.c: Changes to support calling mmalloc functions, 7923 which take an additional argument over malloc functions. 7924 7925Fri Mar 6 22:01:10 1992 K. Richard Pixley (rich@cygnus.com) 7926 7927 * added check target. 7928 7929Thu Feb 27 22:19:39 1992 Per Bothner (bothner@cygnus.com) 7930 7931 * argv.c: #include alloca-conf.h (needed by AIX). 7932 7933Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com) 7934 7935 * Makefile.in, configure.in: removed traces of namesubdir, 7936 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced 7937 copyrights to '92, changed some from Cygnus to FSF. 7938 7939Sat Feb 22 01:09:21 1992 Stu Grossman (grossman at cygnus.com) 7940 7941 * argv.c: Check in Fred's version which fixes problems with 7942 alloca(). 7943 7944Fri Feb 7 21:46:08 1992 Stu Grossman (grossman at cygnus.com) 7945 7946 * makefile.dos: Remove NUL to keep patch from failing. 7947 7948Thu Jan 30 22:48:41 1992 Stu Grossman (grossman at cygnus.com) 7949 7950 * getopt.c (_getopt_internal): Fix usage of enum has_arg. 7951 7952Mon Jan 20 18:53:23 1992 Stu Grossman (grossman at cygnus.com) 7953 7954 * getopt.c, getopt1.c, ../include/getopt.h: Get latest versions. 7955 7956Sat Jan 18 16:53:01 1992 Fred Fish (fnf at cygnus.com) 7957 7958 * argv.c: New file to build and destroy standard argument 7959 vectors from a command string. 7960 7961 * Makefile.in: Add argv.c and argv.o to appropriate macros. 7962 7963Fri Dec 20 12:12:57 1991 Fred Fish (fnf at cygnus.com) 7964 7965 * configure.in: Change svr4 references to sysv4. 7966 7967 * rindex.c: Declare return type of externally used function 7968 strrchr(). 7969 7970Thu Dec 19 18:35:03 1991 John Gilmore (gnu at cygnus.com) 7971 7972 * Makefile.in: Remove "***" in normal output, since Make produces 7973 this on errors, and it's convenient to search for. 7974 7975Tue Dec 17 23:21:30 1991 Per Bothner (bothner at cygnus.com) 7976 7977 * memcmp.c, memcpy.c, memmove.c, memset.c, strchr.c, strrchr.c: 7978 New ANSI functions. The old non-ANSI functions (such as bcopy) 7979 should be avoided. 7980 * bcopy.c: Fix to correctly handle overlapping regions. 7981 * index.c, rindex.c: Re-write in terms of strchr() and strrchr(). 7982 * functions.def: Add the new functions. 7983 * functions.def: Add 4th parameter to DEF macro, 7984 an ansidecl.h-style prototype. 7985 * dummy.c: Use expanded DEF macro to create a dummy function 7986 call, with correct parameter types. (This avoids some 7987 complaints from gcc about predefined builtins.) 7988 7989 Move the functionality of config/mh-default into Makefile.in. 7990 This avoid duplication, and simplifies things slightly. 7991 * Makefile.in: Tweak so we don't need config/mh-default. 7992 * README: Update. 7993 * configure.in: No longer need config/mh-default. 7994 * config/mh-default: Deleted. 7995 * config/mh-sysv: Remove lines copied from old mh-default. 7996 7997Tue Dec 17 05:46:46 1991 John Gilmore (gnu at cygnus.com) 7998 7999 * fdmatch.c (fdmatch): Don't compare st_rdev, which is for 8000 'mknod' device numbers. 8001 8002Mon Dec 16 12:25:34 1991 Fred Fish (fnf at cygnus.com) 8003 8004 * fdmatch.c, Makefile.in: Add new function that takes two 8005 open file descriptors and returns nonzero if they refer to 8006 the same file, zero otherwise. (used in gdb) 8007 8008Wed Dec 11 17:40:39 1991 Steve Chamberlain (sac at rtl.cygnus.com) 8009 From DJ: 8010 * msdos.c: stub functions for dos. 8011 * makefile.dos, configdj.bat: new. 8012 * getopt.c: Don't include alloca-conf.h in a GO32 world. 8013 8014 8015Tue Dec 10 04:14:49 1991 K. Richard Pixley (rich at rtl.cygnus.com) 8016 8017 * Makefile.in: infodir belongs in datadir. 8018 8019Fri Dec 6 23:26:45 1991 K. Richard Pixley (rich at rtl.cygnus.com) 8020 8021 * Makefile.in: remove spaces following hyphens because bsd make 8022 can't cope. added standards.text support. install using 8023 INSTALL_DATA. 8024 8025 * configure.in: remove commontargets as it is no longer a 8026 recognized hook. 8027 8028Thu Dec 5 22:46:46 1991 K. Richard Pixley (rich at rtl.cygnus.com) 8029 8030 * Makefile.in: idestdir and ddestdir go away. Added copyrights 8031 and shift gpl to v2. Added ChangeLog if it didn't exist. docdir 8032 and mandir now keyed off datadir by default. 8033 8034Fri Nov 22 19:15:29 1991 John Gilmore (gnu at cygnus.com) 8035 8036 * Makefile.in: find-needed.awk does not fit in 14 chars. 8037 8038 * Makefile.in: Suppress error checking when compiling the test 8039 program, because Ultrix make/sh aborts there due to a bug. 8040 8041Fri Nov 22 12:23:17 1991 Per Bothner (bothner at cygnus.com) 8042 8043 * Makefile.in: Re-did how EXTRA_OFILES is used to be more useful. 8044 * README: Explained how the auto-configuration works, 8045 and how to add new files and/or configurations. 8046 8047Fri Nov 22 09:45:23 1991 John Gilmore (gnu at cygnus.com) 8048 8049 * strtoul.c: Avoid defining ULONG_MAX if already defined; 8050 cast a const char * to char * for pedants. 8051 8052 * getopt.c: Only define "const" after local include files get to, 8053 and only if they haven't defined it. 8054 8055Thu Nov 21 16:58:53 1991 John Gilmore (gnu at cygnus.com) 8056 8057 * getcwd.c (remove getwd.c): GNU code should call getcwd(). We 8058 emulate it with getwd() if available. This avoids callers having 8059 to find a MAXPATHLEN or PATH_MAX value from somewhere. 8060 * Makefile.in, functions.def: getwd->getcwd. 8061 * configure.in: Use generic case for every system. 8062 * config/mh-{delta88,mach,rs6000,svr4}: Remove. 8063 * config/mh-sysv: Use default handling, just add -DUSG. 8064 8065Thu Nov 14 10:58:05 1991 Per Bothner (bothner at cygnus.com) 8066 8067 * Makefile.in, config/mh-default: Re-do make magic 8068 so that for the default ("automatic") mode we only 8069 compile the files we actually need. Do this using 8070 a recursive make: The top-level generates the list 8071 of needed files (loosely, the ones missing in libc), 8072 and then passes that list to the recursive make. 8073 * config/mh-mach: Remove obsolete STRERROR-{C,O} macros. 8074 8075Tue Nov 12 19:10:57 1991 John Gilmore (gnu at cygnus.com) 8076 8077 RS/6000 host support (grumble). 8078 8079 * configure.in: Build alloca-conf.h file from alloca-norm.h 8080 (everything else) or alloca-botch.h (rs/6000). 8081 * Makefile.in: Include . on the include path. 8082 * getopt.c: Use alloca-conf.h. 8083 * alloca-norm.h: How to declare alloca on reasonable machines. 8084 * alloca-botch.h: How to declare alloca on braindead machines. 8085 8086Tue Nov 12 09:21:48 1991 Fred Fish (fnf at cygnus.com) 8087 8088 * concat.c : New file, like concat() in gdb but can take a 8089 variable number of arguments rather than fixed at 3 args. For 8090 now, client applications must supply an xmalloc(), which is a 8091 front end function to malloc() that deals with out-of-memory 8092 conditions. 8093 8094 * Makefile.in: Add concat.c and concat.o to appropriate macros. 8095 8096Sat Nov 9 13:29:59 1991 Fred Fish (fnf at cygnus.com) 8097 8098 * config/mh-svr4: Add sigsetmask to list of required functions. 8099 8100Sun Nov 3 11:57:56 1991 Per Bothner (bothner at cygnus.com) 8101 8102 * vsprintf.c: New file. 8103 * functions.def, Makefile.in: Add vsprintf. 8104 8105Sun Oct 27 16:31:22 1991 John Gilmore (gnu at cygnus.com) 8106 8107 * configure.in, config/mh-rs6000: Add rs/6000 host support. 8108 * Makefile.in: Compile with debug info. 8109 8110Fri Oct 25 17:01:12 1991 Per Bothner (bothner at cygnus.com) 8111 8112 * Makefile.in, configure.in, and new files: dummy.c, functions.def, 8113 config/mf-default: Added a default configuration mode, 8114 which includes into libiberty.a functions that are "missing" in libc. 8115 * strdup.c, vprintf.c, vfprintf.c: New files. 8116 8117Thu Oct 24 02:29:26 1991 Fred Fish (fnf at cygnus.com) 8118 8119 * config/hmake-svr4: New file. 8120 8121 * config/hmake-sysv: Add HOST_CFILES and HOST_OFILES. 8122 8123 * basename.c, bcmp.c, bcopy.c, bzero.c, getpagesize.c getwd.c, 8124 index.c, insque.c, rindex.c, spaces.c, strstr.c, vfork.c: New 8125 files containing either portable C versions or emulations using 8126 native library calls. 8127 8128 * strerror.c: Add copyright, internal documentation, etc. 8129 8130 * strtol.c: Replace hardwired hex constants with some more 8131 portable macros. Remove illegal (according to gcc) cast. 8132 8133 * strtoul.c: Replace hardwired hex constant with more portable 8134 macro. 8135 8136 * Makefile.in: Move TARGETLIB and CFLAGS where makefile fragments 8137 can override them. Add new source and object file names to CFILES 8138 and OFILES respectively. 8139 8140 * configure.in: Add support for SVR4 makefile fragments. 8141 8142Tue Oct 22 19:00:23 1991 Steve Chamberlain (steve at cygnus.com) 8143 8144 * Makefile.in: Move RANLIB, AR and AR_FLAGS to where they can be 8145 over-ridden by config/hmake-* 8146 * configure.in: added m88kcvs to sysv list 8147 8148Fri Oct 4 01:29:08 1991 John Gilmore (gnu at cygnus.com) 8149 8150 * Makefile.in: Most hosts need strerror, but one or two don't, 8151 and they override these definitions in the host-dependent makefile 8152 fragment. 8153 * config/hmake-mach: The odd man out on strerror -- it's supplied. 8154 * strerror.c: New file. 8155 8156 * strtol.c, strtoul.c: Add strtol to libiberty, since Mach lacks 8157 it and bfd uses it. 8158 * configure.in, Makefile.in, config/hmake-mach: Only configure 8159 strtol & strotoul in on Mach. 8160 8161Tue Sep 3 06:36:23 1991 John Gilmore (gnu at cygint.cygnus.com) 8162 8163 * obstack.c: Merge with latest FSF version. 8164 8165 8166Local Variables: 8167version-control: never 8168End: 8169