Changeset 609 for branches/GNU/src/binutils/libiberty/ChangeLog
- Timestamp:
- Aug 16, 2003, 6:59:22 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/binutils/libiberty/ChangeLog
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r608 r609 1 2003-04-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2 3 * vsnprintf.c (vsnprintf): Don't pad string with extra nulls. 4 (main): Test that we don't write too much data. 5 6 2003-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 7 8 * configure.in (funcs, AC_CHECK_FUNCS): Add snprintf and 9 vsnprintf. 10 * snprintf.c, vsnprintf.c: New files. 11 * Makefile.in (CFILES): Add snprintf.c and vsnprintf.c. 12 (CONFIGURED_OFILES): Add snprintf.o and vsnprintf.o. 13 Regenerate dependencies. 14 15 * functions.texi, configure, config.in: Regenerated. 16 17 2003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 18 19 * mempcpy.c, stpcpy.c, stpncpy.c: New files. 20 * configure.in (funcs, AC_CHECK_FUNCS): Add mempcpy, stpcpy 21 and stpncpy. 22 * Makefile.in (CFILES): Add mempcpy.c, stpcpy.c and stpncpy.c. 23 (CONFIGURED_OFILES): Add mempcpy.o, stpcpy.o and stpncpy.o. 24 Regenerate dependencies. 25 26 * functions.texi, configure, config.in: Regenerated. 27 28 2003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 29 30 * argv.c: Fix comments. 31 * calloc.c: Don't unnecessarily include "libiberty.h". 32 (bzero): Add prototype. 33 * floatformat.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES. 34 * getcwd.c (getcwd): Use standard definition to avoid conflicts 35 with system headers. 36 * hashtab.c (htab_traverse): Delete unused variables. 37 * rename.c: Include "ansidecl.h". 38 (rename): Use standard definition to avoid conflicts with system 39 headers. 40 * strsignal.c: Rely on ANSI_PROTOTYPES. 41 * strstr.c: Check GNUC >= 2, not GNUC == 2. 42 * vfprintf.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES. 43 * vprintf.c: Include "ansidecl.h" earlier, rely on 44 ANSI_PROTOTYPES. 45 * vsprintf.c: Include "ansidecl.h" earlier, rely on 46 ANSI_PROTOTYPES and possibly include <stdarg.h>. 47 48 * Makefile.in: Regenerate dependencies. 49 50 2003-04-15 DJ Delorie <dj@redhat.com> 51 52 * maint-tool (deps): Scan for headers in $srcdir also. 53 54 2003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 55 56 PR target/10338 57 PR bootstrap/10198 58 PR bootstrap/10140 59 * getopt.c (exchange, _getopt_initialize): Use mempcpy not 60 __mempcpy. 61 * regex.c (regerror): Likewise. 62 63 2003-04-14 Roger Sayle <roger@eyesopen.com> 64 65 * argv.c: Use ANSI_PROTOTYPES instead of __STDC__. 66 * memchr.c: Likewise. 67 * strcasecmp.c: Likewise. 68 * strncasecmp.c: Likewise. 69 * strncmp.c: Likewise. 70 * xatexit.c: Likewise. 71 * xmalloc.c: Likewise. 72 73 * copysign.c: Use traditional function declaration instead of DEFUN. 74 * sigsetmask.c: Likewise. 75 76 * memcmp.c: Both of the above, ANSI_PROTOTYPES and DEFUN. 77 * memset.c: Likewise. 78 79 * memcpy.c: ANSI_PROTOTYPES, DEFUN and prototype bcopy. 80 * memmove.c: Likewise. 81 82 2003-04-14 Roger Sayle <roger@eyesopen.com> 83 84 * strdup.c (strdup): Tweak implementation to use memcpy. 85 86 2003-04-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 87 88 * configure.in (HAVE_UINTPTR_T): Always define. 89 * configure: Regenerated. 90 91 2003-03-23 Alexandre Oliva <aoliva@redhat.com> 92 93 * Makefile.in (MULTIOSDIR): New macro. Use $(CC) $(LIBCFLAGS) 94 instead of $$CC alone. 95 (install_to_tooldir): Use it. 96 97 2003-17-03 Jan Hubicka <jh@suse.cz> 98 99 * hashtab.c (htab_traverse_noresize): Break out from ... 100 * hashtab.c (htab_traverse): ... here. 101 102 2003-12-03 Jan Hubicka <jh@suse.cz> 103 104 * hashtab.c (htab_expand): Fix warning. 105 106 * hashtab.c (htab_expand): Compute the size of hashtable based 107 on the number of elements actually used. 108 (htab_traverse): Call htab_expand when table is too empty. 109 110 2003-03-11 Carlo Wood <carlo@gnu.org> 111 112 * cplus-dem.c (demangle_integral_value): Correction to reflect 113 patch of 2002-01-10 in order to also make negative multi-digits 114 without leading underscore work. 115 116 2003-03-03 Mark Mitchell <mark@codesourcery.com> 117 118 * cplus-dem.c: Add license exception to copyright notice. 119 120 2003-02-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 121 122 * physmem.c: Formatting changes from upstream. 123 124 2003-02-24 Danny Smith <dannysmith@users.source.forge.net> 125 126 * physmem.c (physmem_total): Add _WIN32 support. 127 (physmem_available): Likewise. 128 129 2003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 130 131 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for 132 GSI_PHYSMEM. 133 (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS. 134 135 2003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 136 137 * configure.in: Check for sys/systemcfg.h and 138 _system_configuration. 139 * physmem.c: Add support for AIX. Tweek formatting as per 140 upstream coreutils beta. 141 142 2003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 143 Richard Earnshaw <rearnsha@arm.com> 144 Geoffrey Keating <geoffk@apple.com> 145 146 * configure.in: Check for sys/sysctl.h and sysctl. 147 * physmem.c: Add support for *bsd and darwin. 148 * Makefile.in: Generate depedency for physmem.o. 149 150 2003-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 151 152 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on 153 Tru64 UNIX. 154 (physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on 155 Tru64 UNIX. 156 157 * configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h, 158 machine/hal_sysinfo.h, sys/table.h. 159 (checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table. 160 * configure, config.in: Regenerate. 161 162 2003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 163 164 * configure.in: Check for sys/sysmp.h and sysmp. 165 * physmem.c: Pull upstream copy, add support for irix6. 166 167 * config.in, configure: Regenerated. 168 169 2003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 170 171 * physmem.c (physmem_total, physmem_available): De-ANSI-fy. 172 * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and 173 pstat_getdynamic. 174 175 2003-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 176 177 * Makefile.in (CFILES): Add physmem.c. 178 (REQUIRED_OFILES): Add physmem.o. 179 * configure.in: Check for sys/pstat.h. 180 (checkfuncs): Add pstat_getstatic and pstat_getdynamic. 181 * physmem.c: New file, copied from textutils. 182 183 * config.in, configure: Regenerated. 184 185 2003-02-20 Daniel Jacobowitz <drow@mvista.com> 186 187 * Makefile.in (CFILES): Add lrealpath.c. 188 (REQUIRED_OFILES): Add lrealpath.o. 189 (lrealpath.o): Add rule. 190 * aclocal.m4 (libiberty_NEED_DECLARATION): Add. 191 * configure.in: Add realpath and canonicalize_file_name to 192 checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION 193 for canonicalize_file_name. 194 * lrealpath.c: New file. 195 * make-relative-prefix.c: Update documentation. 196 (make_relative_prefix): Simplify. Use lbasename and lrealpath. 197 * config.in: Regenerated. 198 * configure: Regenerated. 199 * functions.texi: Regenerated. 200 201 2003-02-20 jmc <jmc@prioris.mini.pw.edu.pl> 202 203 * cplus_dem.c: Fix typo: intializes -> initializes. 204 205 2003-02-20 Alexandre Oliva <aoliva@redhat.com> 206 207 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to 208 config.status. 209 * configure: Rebuilt. 210 211 2003-02-13 Daniel Jacobowitz <drow@mvista.com> 212 213 Fix PR c++/7612. 214 * cplus-dem.c (demangle_signature): Call string_delete. 215 Remove extra string_init. 216 (demangle_arm_hp_template): Call string_delete instead of 217 string_clear. Add missing string_delete call. 218 (demangle_qualified): Add missing string_delete call. 219 (do_type): Remove unused variable btype. Add missing string_delete 220 call. Call string_delete instead of string_clear. 221 (demangle_fund_type): Move variable btype inside of the switch 222 statement. Add missing string_delete call. 223 (do_arg): Call string_delete instead of string_clear. Remove extra 224 string_init. 225 (demangle_nested_args): Free work->previous_argument. 226 227 2003-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 228 229 * acconfig.h: New file. Add uintptr_t. 230 * config.in: Regenerated. 231 232 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk> 233 234 * libiberty.texi: Update to GFDL 1.2. 235 236 2003-01-30 Christian Cornelssen <ccorn@cs.tu-berlin.de> 237 238 * Makefile.in (libiberty_topdir): New subst. 239 (mkinstalldirs): Redefine in terms of the above. 240 * configure.in: AC_SUBST it. 241 * configure: Regenerate. 242 243 2003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de> 244 245 * Makefile.in (all-subdir, check-subdir, installcheck-subdir) 246 (info-subdir, install-info-subdir, clean-info-subdir) 247 (dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir) 248 (clean-subdir, distclean-subdir, maintainer-clean-subdir): 249 Pass $(FLAGS_TO_PASS). 250 251 2003-01-27 Alexandre Oliva <aoliva@redhat.com> 252 253 * Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use 254 /`$$CC -print-multi-os-directory`. 255 256 2003-01-26 Daniel Jacobowitz <drow@mvista.com> 257 258 * hashtab.c (htab_create_alloc_ex): New function. 259 (hatab_set_functions_ex): New function. 260 (htab_delete, htab_expand): Support alternate allocation functions. 261 262 2003-01-24 Christopher Faylor <cgf@redhat.com> 263 264 * configure.in: Remove special pex-cygwin consideration. 265 * configure: Regenerate. 266 * pex-cygwin.c: Remove. 267 * Makefile.in: Remove pex-cygwin.[co] lines. 268 269 2003-01-24 Zack Weinberg <zack@codesourcery.com> 270 271 * Makefile.in (CFILES): Add pex-*.c. 272 (REQUIRED_OFILES): Change pexecute.o to @pexecute@ 273 (CONFIGURED_OFILES): Add pex-*.o. 274 (TEXIFILES): Add pexecute.txh. 275 (pexecute.o): Delete rule. 276 (pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o, 277 pex-unix.o, pex-win32.o): New rules. 278 * configure.in: Change AC_INIT argument to xmalloc.c. 279 Compute appropriate pexecute implementation and substitute it 280 as @pexecute@. 281 282 * pexecute.c: Split up into... 283 * pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c, 284 pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these 285 new files. 286 287 * functions.texi: Regenerate. 288 * configure: Regenerate. 289 290 2003-01-20 Josef Zlomek <zlomekj@suse.cz> 291 292 * hashtab.c (htab_expand): Fix allocation of new entries. 293 294 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de> 295 296 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR. 297 298 * Makefile.in (install_to_libdir, install_to_tooldir): Add a 299 mkinstalldirs command. 300 301 2002-12-04 Danny Smith <dannysmith@users.sourceforge.net> 302 303 * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX): 304 Define for hosts with HOST_EXECUTABLE_SUFFIX. 305 306 2002-11-24 Nick Clifton <nickc@redhat.com> 307 308 * make-relative-prefix.c (make_relative_prefix): Ensure return 309 string is empty before using strcat to construct it. 310 311 2002-11-22 Daniel Jacobowitz <drow@mvista.com> 312 313 * Makefile.in: Add make-relative-prefix.c. 314 * make-relative-prefix.c: New file. 315 * functions.texi: Rebuilt. 316 317 2002-11-16 Jakub Jelinek <jakub@redhat.com> 318 319 * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be 320 used with arguments in traditional C' warnings. 321 322 2002-10-16 Jakub Jelinek <jakub@redhat.com> 323 324 * config.table: Use mh-s390pic for s390x too. 325 326 2002-10-06 Andreas Jaeger <aj@suse.de> 327 328 * libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded 329 variable and of strict-aliasing warning. 330 (grow_vect): Use char as first parameter. 331 332 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 333 334 * Makefile.in (all): Fix multilib parallel build. 335 336 2002-09-19 John David Anglin <dave@hiuly1.hia.nrc.ca> 337 338 * cp-demangle.c (demangling_new): Cast 0 to enum. 339 (demangle_char): Cast return of strdup to char *. 340 (is_gnu_v3_mangled_ctor): Cast 0 to enum. 341 (is_gnu_v3_mangled_dtor): Likewise. 342 * cplus-dem.c (grow_vect): Cast return of xrealloc to void *. 343 (work_stuff_copy_to_from): Cast return of xmalloc to char **. 344 * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t. 345 * md5.c (md5_process_bytes): Cast results back to const void *. 346 (md5_process_block): Add cast to const md5_uint32 *. 347 * regex.c (re_compile_fastmap): Cast enum to UCHAR_T. 348 * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to 349 unsigned short. 350 * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc 351 to void *. 352 * vasprintf.c (int_vasprintf): Cast return of malloc to char *. 353 354 2002-09-19 Nick Clifton <nickc@redhat.com> 355 356 * README: Update email addresses for bugs and patches. 357 358 2002-09-10 Mike Stump <mrs@apple.com> 359 360 * splay-tree.c (splay_tree_successor): Fix comments. 361 362 2002-09-11 Zack Weinberg <zack@codesourcery.com> 363 364 * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c. 365 * testsuite/Makefile.in: Adjust for test-demangle. 366 * testsuite/regress-demangle: Deleted. 367 * testsuite/test-demangle.c: New file. 368 * testsuite/demangle-expected: Change \$ to $ throughout, now that 369 this file is not being read by a shell script. 370 371 2002-09-05 Roger Sayle <roger@eyesopen.com> 372 373 * regex.c: Only use "#pragma alloca" on AIX when not using gcc. 374 375 2002-08-07 DJ Delorie <dj@redhat.com> 376 377 * regex.c (re_error_msgid): Just use a simple array of strings. 378 (re_compile_pattern): Compensate. 379 (re_comp): Likewise. 380 (re_comp): Likewise. 381 (regerror): Likewise. 382 383 2002-07-29 Neil Booth <neil@daikokuya.co.uk> 384 385 * cplus-dem.c (PREPEND_BLANK): Remove. 386 387 2002-07-10 Jason Merrill <jason@redhat.com> 388 389 * cp-demangle.c (demangle_identifier): Support extended Unicode 390 characters. 391 392 2002-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 393 394 * cp-demangle.c (demangle_v3_with_details): Wrap in 395 !defined IN_GLIBCPP_V3. 396 397 2002-07-01 Mark Mitchell <mark@codesourcery.com> 398 399 * cp-demangle.c (demangle_operator_name): Add type_arg parameter. 400 Set it for the "st" operator. 401 (demangle_expression): Handle expressions with types as arguments. 402 403 2002-06-30 Douglas Rupp <rupp@gnat.com> 404 405 * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure. 406 * Makefile.in (OUTPUT_OPTION): Use. 407 408 2002-06-22 Peter Breitenlohner <peb@mppmu.mpg.de> 409 410 * Makefile.in (install_to_libdir): Add $(DESTDIR). 411 (install_to_tooldir): Likewise. 412 413 2002-06-17 Douglas Rupp <rupp@gnat.com> 414 415 * lbasename.c: Add 2002 to copyright. 416 (IS_DIR_SEPARATOR): Remove VMS junk. 417 418 2002-06-05 Geoffrey Keating <geoffk@redhat.com> 419 420 * hashtab.c (htab_create): New stub function for backward 421 compatibility. 422 (htab_try_create): Likewise. 423 424 2002-06-03 Geoffrey Keating <geoffk@redhat.com> 425 426 * hashtab.c (htab_create): Delete. 427 (htab_try_create): Delete. 428 (htab_create_alloc): New. 429 (htab_delete): Support user-specified memory allocation. 430 (htab_expand): Likewise. 431 432 2002-05-22 Roman Lechtchinsky <rl@cs.tu-berlin.de> 433 434 * configure.in: Fix typo in the code checking for sys_errlist. 435 * configure: Regenerated. 436 437 2002-05-13 Andreas Schwab <schwab@suse.de> 438 439 * config.table: Use mh-x86pic also for x86-64. 440 441 2002-05-08 Alexandre Oliva <aoliva@redhat.com> 442 443 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at 444 script entry, and set LD to it when configuring multilibs. 445 * configure: Rebuilt. 446 447 2002-05-07 Mark Mitchell <mark@codesourcery.com> 448 449 * configure.in (AC_TYPE_PID_T): Use it. 450 * configure: Regenerated. 451 * getruntime.c: Include <sys/types.h>. 452 * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid". 453 454 2002-04-09 Richard Henderson <rth@redhat.com> 455 456 * hashtab.c (higher_prime_number): Use 7 as minimum. 457 (find_empty_slot_for_expand): Don't compute hash2 unless needed. 458 (htab_find_slot_with_hash): Likewise. 459 460 2002-04-01 Phil Edwards <pme@gcc.gnu.org> 461 462 * cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3. 463 (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally 464 not compile if IN_GLIBCPP_V3 defined. 465 * dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme. 466 467 2002-03-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz> 468 469 * cp-demangle.c (java_demangle_v3): Don't try to release "demangled" 470 if it is NULL. 471 472 2002-03-27 DJ Delorie <dj@redhat.com> 473 474 * hex.c: Add documentation. 475 (_hex_value): Provide non-ASCII empty table. 476 (hex_init): Initialize the non-ASCII table. 477 * functions.texi: Regenerate. 478 479 2002-03-27 Mark Mitchell <mark@codesourcery.com> 480 481 * dyn-string.c: Add libgcc exception to copyright notice. 482 483 2002-03-26 H.J. Lu (hjl@gnu.org) 484 485 * config.table: Support --with-build-subdir. 486 * configure.in: Likewise. 487 * configure: Rebuild. 488 489 2002-03-18 Stuart Griffith <Stuart_Griffith@credence.com> 490 491 * strtod.c (strtod): Increment 8 chars, not 7, when `infinity' 492 seen. 493 494 2002-03-12 Mark Mitchell <mark@codesourcery.com> 495 496 * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright 497 notice. 498 499 2002-03-11 Douglas B Rupp <rupp@gnat.com> 500 501 * xatexit.c [VMS]: Include stdlib.h and unixlib.h. 502 503 2002-03-06 Jim Blandy <jimb@redhat.com> 504 505 * splay-tree.c (splay_tree_xmalloc_allocate, 506 splay_tree_xmalloc_deallocate): Use K&R-style definitions, not 507 prototyped definitions. Mark `data' arguments as unused. 508 509 2002-03-06 Andrew Cagney <ac131313@redhat.com> 510 511 * floatformat.c (floatformat_arm_ext_big): Delete definition. 512 513 2002-03-04 Phil Edwards <pme@gcc.gnu.org> 514 515 * configure.in: Add --enable-install-libiberty option. 516 * Makefile.in (INSTALLED_HEADERS): New variable. 517 (install_to_libdir): Possibly also copy headers. 518 * configure: Regenerated. 519 520 2002-03-04 Neil Booth <neil@daikokuya.demon.co.uk> 521 522 * xmalloc.c (xmalloc_fail): Clarify error message further. 523 524 2002-03-03 Neil Booth <neil@daikokuya.demon.co.uk> 525 526 * xmalloc.c (xmalloc_fail): Clarify error message. 527 528 2002-02-22 Jim Blandy <jimb@redhat.com> 529 530 * splay-tree.c (splay_tree_xmalloc_allocate, 531 splay_tree_xmalloc_deallocate): New functions. 532 (splay_tree_new): Call splay_tree_new_with_allocator, passing the 533 above functions and a dummy data pointer. 534 (splay_tree_new_with_allocator): New function. 535 (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert, 536 splay_tree_remove): Use the splay tree's allocation and 537 deallocation functions. 538 539 2002-02-19 Scott Snyder <snyder@fnal.gov> 540 541 * testsuite/demangle-expected: Add test case for infinite loop in 542 demangler. 543 * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle 544 if do_type() doesn't make any progress --- prevents an infinite 545 loop. 546 547 2002-02-18 Carlo Wood <carlo@gnu.org> 548 549 PR c++/5390 550 * cplus-dem.c (demangle_integral_value): Accept multi-digit 551 numbers that do not start with an underscore; This is needed 552 for integer template parameters. This doesn't break anything 553 because multi-digit numbers are never followed by a digit. 554 * testsuite/demangle-expected: Corrected all mangled test 555 cases with multi-digit template parameters: g++ 2.95.x does 556 not generate underscores around these parameters. 557 558 2002-02-05 Jason Merrill <jason@redhat.com> 559 560 * cplus-dem.c (flags): Add DMGL_VERBOSE 561 (cplus_demangle_v3_p): Remove. 562 (demangle_it): Add DMGL_TYPES to passed flags. 563 * cp-demangle.c (cplus_demangle_v3_all): Remove. 564 (cplus_demangle_v3_type): Remove. 565 (cplus_demangle_v3): Add options parm. 566 567 2002-02-02 H.J. Lu (hjl@gnu.org) 568 569 * cp-demangle.c (cp_demangle_type): Do not protect with 570 IN_LIBGCC2. 571 (cplus_demangle_v3_all): New. 572 (cplus_demangle_v3): Call cplus_demangle_v3_all. 573 (cplus_demangle_v3_type): Call cplus_demangle_v3_all. 574 575 * cplus-dem.c (cplus_demangle_v3_p): New function pointer. 576 Initialized to cplus_demangle_v3. 577 (cplus_demangle_with_style): Call cplus_demangle_v3_p instead 578 of cplus_demangle_v3. 579 (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for 580 command line symbol. 581 582 * testsuite/regress-demangle: Pass the mangled name at the 583 command line. 584 585 2002-02-01 H.J. Lu <hjl@gnu.org> 586 587 * cp-demangle.c (cp_demangle_type): Call demangling_new with 588 DMGL_GNU_V3. 589 590 2002-01-31 Phil Edwards <pme@gcc.gnu.org> 591 592 * cp-demangle.c: Revert yesterday's change. 593 594 2002-01-31 Adam Megacz <adam@xwt.org> 595 596 * gcc/libiberty/configure.in: Treat mingw the same as cywin 597 wrt HAVE_SYS_ERRLIST. 598 599 2002-01-30 Phil Edwards <pme@gcc.gnu.org> 600 601 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2. 602 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on 603 cp_demangle_type. 604 * testsuite/demangle-expected: New gnu-v3 test. 605 606 2002-01-22 Momchil Velikov <velco@fadata.bg> 607 608 * configure.in (variable detection): Use arrays of unspecified 609 size instead of plain integers. 610 611 2002-01-18 DJ Delorie <dj@redhat.com> 612 613 * Makefile.in (TESTLIB): New. This library is for future 614 testsuites. 615 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize, 616 break down by letter. 617 (REQUIRED_OFILES): List long-to-compile files first. 618 (maint-deps): New, target for updating dependencies. 619 (dependencies): Update. 620 * maint-tool: Add dependency-generating option. 621 * configure.in: Check for _doprnt even if we're not providing it. 622 * configure: Regenerate. 623 624 * _doprnt.c: Modifications to allow compiling on any platform. 625 * copysign.c: Likewise. 626 * putenv.c: Likewise. 627 * setenv.c: Likewise. 628 * vsprintf.c: Likewise. 629 630 2002-01-15 Douglas B Rupp <rupp@gnat.com> 631 632 * mkstemps.c (mkstemps): On VMS, open temp file with option 633 that causes it to be deleted when closed. 634 635 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 636 637 * cp-demangle.c (long_options): Const-ify. 638 * cplus-dem.c (long_options): Likewise. 639 640 * cplus-dem.c (mystrstr): Delete. All callers changed to use 641 strstr instead. 642 643 2001-12-31 Ira Ruben <ira@apple.com> 644 645 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try. 646 * configure: Regenerated. 647 648 2001-12-24 Douglas B. Rupp <rupp@gnat.com> 649 650 * configure.in (uintptr_t): Use AC_CHECK_TYPE. 651 * configure: Regenerated. 652 653 2001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org> 654 655 PR other/2719 656 * cplus-dem.c (consume_count): Treat negative count as an error. 657 * testsuite/demangle-expected: Added testcase. 658 659 Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com> 660 661 * configure.in: Hardcode that vfork works on VMS host. 662 * configure: Regenerated. 663 664 2001-12-06 Richard Henderson <rth@redhat.com> 665 666 * cplus-dem.c (libiberty_demanglers): Add no_demangling case. 667 (cplus_demangle): Support no_demangling. 668 669 2001-11-27 Zack Weinberg <zack@codesourcery.com> 670 671 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build 672 in libiberty context. Fix typo in leading comment. 673 * configure.in: Fix various AC_DEFINEs so autoheader works. 674 If any of vprintf, vsprintf, vfprintf is missing from libc, 675 then AC_REPLACE_FUNCS(_doprnt). 676 677 2001-11-26 DJ Delorie <dj@redhat.com> 678 Daniel Jacobowitz <drow@mvista.com> 679 680 * Makefile.in (stamp-h): Depend on Makefile for proper 681 serialization. 682 (*-subdir): Depend on config.h for proper serialization. 683 684 2001-11-26 DJ Delorie <dj@redhat.com> 685 686 * configure.in: Check for alloca.h (for regex.c and putenv.c). 687 * configure: Regenerate. 688 * config.h: Add HAVE_ALLOCA_H. 689 690 2001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 691 692 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) || 693 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting 694 is available. 695 696 Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com) 697 698 * config.in (HAVE_UINTPTR_T): Provide autoconf stub. 699 * configure.in (HAVE_UINTPTR_T): Test for system defining 700 uintptr_t and define HAVE_UINTPTR_T appropriately. 701 * regex.c (uintptr_t): Do not provide a definition if the 702 system provided one. 703 704 * regex.c (PREFIX): Provide an alternate definition for 705 non-ANSI/ISO compilers. 706 (ARG_PREFIX): Likewise. 707 708 2001-11-12 Jim Meyering <meyering@lucent.com> 709 710 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise, 711 this code would end up calling gettext even in packages built 712 with --disable-nls. 713 * getopt.c (_): Likewise. 714 * regex.c (_): Likewise. 715 716 2001-11-03 Alan Modra <amodra@bigpond.net.au> 717 718 * configure.in: Cope with missing makeinfo. 719 * configure: Regenerate. 720 721 2001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 722 723 * hex.c (hex_init): Provide empty stub. 724 725 * hex.c (hex_init): Delete. 726 (_hex_value): Const-ify and initialize at compile-time. 727 728 2001-10-19 H.J. Lu <hjl@gnu.org> 729 730 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if 731 necessary. 732 733 2001-10-17 DJ Delorie <dj@redhat.com> 734 735 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c, 736 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c, 737 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c: 738 Improve manual formatting. 739 * functions.texi: Regenerate. 740 741 2001-10-15 DJ Delorie <dj@redhat.com> 742 743 * Makefile.in (TEXIFILES): Add fnmatch.txh. 744 (maint-undoc): New. 745 maint-tool: Add "undoc" tool. 746 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c, 747 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c, 748 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c, 749 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update 750 documentation. 751 * fnmatch.txh: New. 752 * functions.texi: Regenerate. 753 754 2001-10-10 Joseph S. Myers <jsm28@cam.ac.uk> 755 756 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero". 757 * strtod.c: Use "ISO C" instead of "ANSI C". 758 * functions.texi: Regenerate. 759 760 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk> 761 762 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c, 763 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c, 764 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c, 765 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix 766 spelling. Give names to function arguments in documentation. Use 767 (void) prototypes in documentation. 768 * functions.texi: Regenerate. 769 770 2001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 771 772 * argv.c (buildargv, tests, main): Const-ify. 773 * cp-demangle.c (operator_code): Likewise. 774 * cplus-dem.c (optable, libiberty_demanglers, 775 cplus_demangle_set_style, cplus_demangle_name_to_style, 776 print_demangler_list): Likewise. 777 * hashtab.c (higher_prime_number): Likewise. 778 * strcasecmp.c (charmap): Likewise. 779 * strerror.c (error_info, strerror, main): Likewise. 780 * strncasecmp.c (charmap): Likewise. 781 * strsignal.c (signal_info): Likewise. 782 783 2001-09-29 DJ Delorie <dj@redhat.com> 784 785 * configure: Regenerate. 786 787 2001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 788 789 * concat.c: Include stdlib.h. 790 791 2001-09-27 Eli Zaretskii <eliz@is.elta.co.il> 792 793 * libiberty.texi: (Top level): Add syncodeindex pg. Add 794 @dircategory and @direntry directives. Add @finalout. 795 (many nodes): Lose the next,prev,up pointers on the @nide line. 796 (Using, Supplemental Functions, Replacement Functions): Fix 797 markup. 798 (Functions): Move around, to allow makeinfo to build the manual 799 without next,prev,up pointers in thye node lines. 800 (Licenses): Fix typos. 801 802 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c, 803 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup. 804 * functions.texi: Regenerate. 805 806 * copying-lib.texi: Lose the next,prev,up pointers on the @node 807 line. 808 809 2001-09-27 DJ Delorie <dj@redhat.com> 810 811 * configure.in: Don't use in-tree texinfo, because libiberty must 812 be built before it. Check for makeinfo version 4 or higher. 813 * functions.texi: Regenerate. 814 815 2001-09-20 DJ Delorie <dj@redhat.com> 816 Phil Edwards <pedwards@disaster.jaj.com> 817 818 * configure.in (MAKEINFO, PERL): Detect these. 819 (--enable-maintainer-mode): Add. 820 * configure: Regenerate. 821 * Makefile.in (MAKEINFO, PERL): Define. 822 (libiberty.info, libiberty.dvi, libiberty.html): New. 823 (CFILES): Add bsearch.c. 824 (CONFIGURED_OFILES): New, list of objects configure might add. 825 (maint-missing, maint-buildall): New, for maintainers only. 826 (clean, mostlyclean): Add info/dvi/html files. 827 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New. 828 * gather-docs: New, for maintainers. 829 * maint-tool: New, for maintainers. 830 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c, 831 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c, 832 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c, 833 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c, 834 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c, 835 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c, 836 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c, 837 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update 838 documentation. 839 840 2001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 841 842 * concat.c (reconcat): Fix for traditional C. 843 844 2001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 845 846 * concat.c (reconcat): New function. 847 848 2001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 849 850 * concat.c (vconcat_length, vconcat_copy, concat_length, 851 concat_copy, concat_copy2): New functions. 852 (concat): Use vconcat_length/vconcat_copy. 853 854 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len): 855 Define. 856 857 2001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 858 859 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN, 860 VA_FIXEDARG & VA_CLOSE. 861 862 * vasprintf.c: Check HAVE_STRING_H when including string.h. 863 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1. 864 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string. 865 866 2001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 867 868 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE. 869 870 2001-08-23 Ulrich Drepper <drepper@redhat.com> 871 872 * regex.c (truncate_wchar): Use wcrtomb not wctomb. 873 874 2001-08-23 Ulrich Drepper <drepper@redhat.com> 875 876 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc 877 instead of mbrtowc. 878 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of 879 wcslen, and __wcscoll instead of wcscoll. 880 881 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu> 882 883 * fibheap.c (fibheap_init, fibnode_init): Remove. 884 (fibheap_new, fibnode_new): Use xcalloc to allocate and 885 initialize memory. 886 (fibheap_insert): Remove check for node allocation failure. 887 888 2001-08-21 Richard Henderson <rth@redhat.com> 889 890 * Makefile.in (fibheap.o): Depend on config.h. 891 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some 892 functions for inlining. 893 894 Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com> 895 896 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever 897 hosting on cygwin. 898 * configure: Regenerate. 899 900 2001-08-20 Andrew Cagney <ac131313@redhat.com> 901 902 * floatformat.c (floatformat_m88110_ext): Remove #ifdef 903 HARRIS_FLOAT_FORMAT. 904 (floatformat_ia64_spill_little, floatformat_ia64_quad_little) 905 (floatformat_ia64_spill_big, floatformat_ia64_quad_big) 906 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword) 907 (floatformat_m88110_harris_ext): New float formats. 908 909 2001-08-20 Daniel Berlin <dan@cgsoftware.com> 910 911 * fibheap.c: New file. Fibonacci heap. 912 913 * Makefile.in (CFILES): Add fibheap.c. 914 (REQUIRED_OFILES): Add fibheap.o. 915 (fibheap.o): Add dependencies for fibheap.o. 916 917 2001-08-17 Christopher Faylor <cgf@cygnus.com> 918 919 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin. 920 * configure: Regenerate. 921 922 2001-08-16 Richard Henderson <rth@redhat.com> 923 924 * hashtab.c (htab_hash_string): New. 925 926 2001-08-13 Andrew Cagney <ac131313@redhat.com> 927 928 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix 929 name. 930 931 2001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com> 932 933 * regex.c (wcs_regex_compile): Use appropriate string 934 to compare with collating element. 935 Fix the padding for the alignment. 936 937 2001-08-10 Andrew Cagney <ac131313@redhat.com> 938 939 * lbasename.c (lbasename): Change function definition to return a 940 const char pointer. 941 942 2001-08-07 Jason Merrill <jason_merrill@redhat.com> 943 944 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary 945 for". 946 947 2001-08-03 Richard Henderson <rth@redhat.com> 948 949 * Makefile.in (concat.o): Depend on config.h. 950 951 2001-07-30 Andreas Jaeger <aj@suse.de> 952 953 * concat.c: Include "config.h". 954 955 2001-07-30 Andreas Jaeger <aj@suse.de> 956 957 * regex.c: Declare wcs functions only if compiling with 958 MBS_SUPPORT. 959 Don't use #elif for traditional C. 960 961 2001-07-23 Ulrich Drepper <drepper@redhat.com> 962 963 * regex.c: Revamp memory allocation for WCHAR functions to 964 not use too much stack. 965 966 2001-07-30 Andreas Jaeger <aj@suse.de> 967 968 * regex.c: Declare wcs functions only if compiling with 969 MBS_SUPPORT. 970 Don't use #elif for traditional C. 971 972 2001-07-25 Daniel Jacobowitz <drow@mvista.com> 973 974 * Makefile.in (regex.o): Add dependency on config.h. 975 976 2001-07-18 Andreas Schwab <schwab@suse.de> 977 978 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the 979 underscore character. 980 981 2001-07-18 Ulrich Drepper <drepper@redhat.com> 982 983 * regex.c: Limit string length printed in debug messages to 100 984 chars. 985 986 2001-07-18 Andreas Jaeger <aj@suse.de> 987 988 * regex.c: Place under LGPL version 2.1. 989 990 2001-07-10 Jeff Johnston <jjohnstn@redhat.com> 991 992 * Makefile.in: Add support for regex code. 993 * regex.c: New file. 994 995 2001-07-05 Mark Klein <mklein@dis.com> 996 997 * Makefile.in: Add ffs.c dependency. 998 * configure.in: Add ffs.c. 999 * ffs.c: New file. 1000 1001 2001-06-18 Richard Henderson <rth@redhat.com> 1002 1003 * concat.c: Include <sys/types.h>. 1004 1005 2001-06-11 Loren J. Rittle <ljrittle@acm.org> 1006 1007 bootstrap/3106 1008 * strerror.c (sys_nerr): Hide the OS header version. 1009 * strsignal.c (sys_nsig): Likewise. 1010 1011 2001-06-10 Richard Henderson <rth@redhat.com> 1012 1013 * concat.c: Include string.h. Fix int vs size_t usage. 1014 Simplify the iteration loops. Use memcpy. 1015 1016 2001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu> 1017 1018 * partition.c: Fix misspelling of `implementation'. 1019 1020 2001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 1021 1022 * md5.c (md5_init_ctx): Declare constants as unsigned. 1023 (md5_process_block): Likewise. 1024 1025 2001-05-07 Zack Weinberg <zackw@stanford.edu> 1026 1027 * cp-demangle.c (demangle_v3_with_details, 1028 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style 1029 function definition. 1030 * ternary.c: Use K+R style function definitions. Use PTR, not 1031 void *. Make arguments constant where possible. 1032 1033 2001-05-07 Mark Mitchell <mark@codesourcery.com> 1034 1035 * splay-tree.h (splay_tree_max): New function. 1036 (splay_tree_min): Likewise. 1037 1038 2001-04-15 Daniel Berlin <dan@cgsoftware.com> 1039 1040 * ternary.c: New file - Ternary search tree implementation. 1041 1042 * Makefile.in: Add ternary.o, and ternary.c dependencies. 1043 1044 2001-04-03 Zack Weinberg <zackw@stanford.edu> 1045 1046 * make-temp-file.c (try): Inline. 1047 1048 2001-02-28 Richard Henderson <rth@redhat.com> 1049 1050 * Makefile.in (make-temp-file.o): Depend on config.h. 1051 1052 2001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 1053 1054 * memchr.c (memchr): Adjust condition to avoid infinite loop. 1055 1056 2001-03-23 Jakub Jelinek <jakub@redhat.com> 1057 1058 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1, 1059 `_' not followed by a digit is invalid. 1060 1061 2001-03-22 Jim Blandy <jimb@redhat.com> 1062 1063 * cp-demangle.c (string_list_delete): Use dyn_string_delete 1064 instead of free, to free the contents as well as the string 1065 structure. 1066 1067 2001-03-21 Zack Weinberg <zackw@stanford.edu> 1068 1069 * make-temp-file.c: Always default DIR_SEPARATOR to '/'. 1070 Don't default P_tmpdir to anything. Try /var/tmp before 1071 /usr/tmp. 1072 1073 2001-03-20 Zack Weinberg <zackw@stanford.edu> 1074 1075 * choose-temp.c: Split off make_temp_file, and the code 1076 duplicated between it and choose_temp_base, into... 1077 * make-temp-file.c: ... here; new file. 1078 1079 * Makefile.in (CFILES): Add make-temp-file.c. 1080 (REQUIRED_OFILES): Add make-temp-file.o. 1081 1082 2001-03-20 Jim Blandy <jimb@redhat.com> 1083 1084 * cp-demangle.c (struct demangling_def): New fields: 1085 is_constructor and is_destructor. 1086 (demangling_new): Initialize them. 1087 (demangle_ctor_dtor_name): Set them, if we detect a constructor 1088 or destructor. 1089 (demangle_v3_with_details, is_gnu_v3_mangled_ctor, 1090 is_gnu_v3_mangled_dtor): New functions. 1091 1092 2001-03-20 Jason Merrill <jason@redhat.com> 1093 1094 * cplus-dem.c (main): Skip initial $. 1095 1096 2001-03-15 Michael Meissner <meissner@redhat.com> 1097 1098 * hashtab.c (higher_prime_number): Silence warning that 4294967291 1099 might be a signed integer under pre-ISO C systems. 1100 1101 2001-03-10 Neil Booth <neil@daikokuya.demon.co.uk> 1102 John David Anglin <dave@hiauly1.hia.nrc.ca> 1103 1104 * libiberty/lbasename.c: New file. 1105 * libiberty/Makefile.in: Update for lbasename. 1106 1107 2001-03-06 Zack Weinberg <zackw@stanford.edu> 1108 1109 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New. 1110 * configure.in: Replace all alloca logic with a simple use of 1111 the above new macro. 1112 * config.table: Kill *-*-beos* entry. 1113 * config/mh-beos: Delete. 1114 * configure, config.in: Regenerate. 1115 1116 * Makefile.in (ALLOCA, HFILES): Kill. 1117 (REQUIRED_OFILES): Add alloca.o. 1118 (alloca.o): Depend on libiberty.h. 1119 (argv.o): Don't depend on alloca-conf.h. 1120 * alloca-conf.h: Delete. 1121 * alloca.c: Include libiberty.h. Kill all #ifdef emacs 1122 blocks. Provide the C alloca unconditionally. Use PTR where 1123 appropriate. Make i00afunc static. 1124 * argv.c: Don't include alloca-conf.h. 1125 1126 2001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca> 1127 1128 * cplus-dem.c (main): Cast enum style to int. 1129 1130 2001-02-16 Loren J. Rittle <ljrittle@acm.org> 1131 1132 * cplus-dem.c (main): Initialize style. 1133 1134 2001-02-02 Phil Edwards <pme@sources.redhat.com> 1135 1136 * COPYING.LIB: Update to LGPL 2.1 from the FSF. 1137 1138 2001-01-31 Bryce McKinlay <bryce@albatross.co.nz> 1139 1140 Add support for Java demangling under the v3 ABI: 1141 * cp-demangle.c (NAMESPACE_SEPARATOR): New define. 1142 (struct demangling_def): Add `style' field. 1143 (demangling_new): New parameter `style'. Set it in demangling_t. 1144 (demangle_prefix): Use NAMESPACE_SEPARATOR. 1145 (demangle_type_ptr): Don't emit pointer symbol if doing Java output. 1146 (cp_demangle): New parameter `style'. Pass it to demangling_new(). 1147 (main): Call cp_demangle with extra parameter. 1148 (java_demangle_v3): New function. 1149 (java_builtin_type_names): New. Table of primitive type names used 1150 for Java demangling. 1151 (demangle_builtin_type): Look up in java_builtin_type_names if doing 1152 Java output. 1153 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java 1154 demangling. 1155 (long_options): Remove obsolete `java' option. 1156 (main): Remove explicit handling of `java' option. Instead, pass style 1157 parameter in cplus_demangle flags as gdb does. 1158 * testsuite/demangle.expected: Add some Java test cases. 1159 1 1160 2000-12-29 DJ Delorie <dj@redhat.com> 2 1161 … … 7 1166 * md5.c: Ditto. 8 1167 * obstack.c: Ditto. 9 1168 10 1169 2000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG> 11 1170 … … 112 1271 113 1272 * hashtab.c (htab_expand): Change to return int. Use calloc or 114 115 1273 xcalloc depending on htab->return_allocation_failure. Return zero 1274 if calloc fails. 116 1275 (htab_create): Update comment to cover memory allocation. 117 1276 (htab_try_create): New. 118 1277 (htab_find_slot_with_hash): Return NULL if htab_expand fails. 119 1278 Update comment to cover this. 120 1279 121 1280 2000-11-03 Hans-Peter Nilsson <hp@bitrange.com> … … 620 1779 621 1780 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make 622 1781 -j3. 623 1782 624 1783 2000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca> … … 1253 2412 1254 2413 * cplus-dem.c (demangle_arm_pt): Remove unused prototype. 1255 1256 1257 2414 (snarf_numeric_literal): Constify first parameter. 2415 (code_for_qualifier): Avoid a gcc extension, make the parameter an 2416 int, not a char. 1258 2417 (demangle_qualifier): Likewise. 1259 2418 (demangle_signature): Cast the argument of a ctype function to … … 1268 2427 1269 2428 * floatformat.c (floatformat_to_double): Add explicit braces to 1270 2429 avoid ambiguous `else'. 1271 2430 1272 2431 * fnmatch.c (fnmatch): Change type of variables `c', `c1', 1273 1274 2432 `cstart' and `cend' to unsigned char. Cast the argument of macro 2433 `FOLD', which uses ctype functions, to unsigned char. 1275 2434 1276 2435 * objalloc.c (free): Add prototype. … … 1283 2442 1284 2443 * cplus-dem.c (demangle_arm_pt): remove declaration -- function 1285 2444 doesn't exist. 1286 2445 (do_hpacc_template_literal): remove unused variable `i'. 1287 2446 … … 1327 2486 * cplus-dem.c 1328 2487 (main): Remove default to HP style demangling, set to EDG 1329 1330 1331 1332 1333 1334 2488 demangling correctly when -edg specified; set the demangling style 2489 when user specifies 'edg'. Set strip_underscore to 2490 prepends_underscore, if not HPUXHPPA. Set 2491 current_demangling_style to hp_demangling if HPUXHPPA. Set 2492 current demangling style correctly if the switch is hp. Read 2493 label correctly also in the HP style case. 1335 2494 (work_stuff): add temp_start field; add field for volatile member 1336 2495 function. 1337 2496 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP 1338 2497 style for this case is the same as ARM. 1339 2498 (demangle_args): handle EDG_DEMANGLING style; support HP style. 1340 2499 (demangle_arm_hp_template): new function. (It was 1341 1342 1343 2500 demangle_arm_pt.); check and set value of temp_start field in 2501 multiple places. Also, when ceching for end of template args, 2502 check to see if at end of static member of template class. 1344 2503 (demangle_class): new local variable : save_class_name_end Don't 1345 2504 include template args in string defining class. 1346 2505 (demangle_class_name): use demangel_arm_hp_template. 1347 2506 (demangle_function_name): handle case where demangling style is 1348 1349 1350 2507 HP_DEMANGLING and currently point at an 'X' in the mangled name. 2508 Handle EDG_DEMANGLING style. Handle constructor and destructor 2509 ops for HP style. 1351 2510 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING 1352 1353 2511 styles. global destructor and constructor for HP style are same 2512 as for ARM style. Same for local variables. 1354 2513 (demangle_qualified): handle EDG_DEMANGLING style. 1355 2514 (demangle_signature): add case for volatile member function. For 1356 1357 1358 1359 1360 1361 1362 2515 cases '1' - '9' : initialize the temp_start field to -1 and handle 2516 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING 2517 and AUTO_DEMANGLING styles. If expecting a function and managed 2518 to demangle the funct args, then handle the LUCID_DEMANGLING, 2519 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local 2520 class name after "Lnnn_ in HP style case. HP style too needs to 2521 forget types. _nnn is OK for HP style, so don't report failure. 1363 2522 (do_hpacc_template_const_value): new function. Handle template's 1364 2523 value param for HP/aCC. 1365 2524 (do_hpacc_template_literal): new function. Handle a template's 1366 2525 literal parameter for HP aCC. 1367 2526 (recursively_demangle): new function 1368 2527 (snarf_numeric_literal): new function. 1369 2528 (usage): add 'edg' to the list of demangling styles; add hp switch 1370 2529 to message. 1371 2530 1372 2531 Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com> … … 1450 2609 1451 2610 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining 1452 1453 1454 1455 1456 1457 1458 2611 whether to include config.h. Possibly include unistd.h in the 2612 !IN_GCC case. Define VFORK_STRING as a printable function call 2613 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is 2614 defined, include vfork.h. If VMS is defined, define vfork() 2615 appropriately. Remove vfork check on USG, we're using autoconf. 2616 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking 2617 locally what string to use. 1459 2618 1460 2619 1998-10-26 Mark Mitchell <mark@markmitchell.com> … … 1562 2721 1563 2722 * mkstemp.c: Include config.h even when not IN_GCC. Wrap header 1564 1565 2723 inclusions inside HAVE_*_H macros. Include ansidecl.h when not 2724 IN_GCC. 1566 2725 1567 2726 * vasprintf.c: Include stdarg.h/varargs.h first. … … 1877 3036 * config.table: Change config_shell to CONFIG_SHELL, and use 1878 3037 libiberty_topdir to find move-if-change. 1879 3038 (m68k-apollo-bsd*, m68k-apollo-sysv*): Remove. 1880 3039 (i[3456]86-ncr-sysv4*, *-*-dgux*, hppa*-hp-bsd*): Remove. 1881 3040 (*-*-irix*, *-*-m88kbcs*, *-*-sysv*): Remove. … … 2094 3253 * asprintf.c: stdarg.h when ALMOST_STDC 2095 3254 * config/mh-windows (EXTRA_OFILES): add asprintf.o and 2096 3255 strncasecmp.o. 2097 3256 2098 3257 Thu Aug 28 14:27:15 1997 Andrew Cagney <cagney@b1.cygnus.com> … … 4136 5295 Mon Jan 20 18:53:23 1992 Stu Grossman (grossman at cygnus.com) 4137 5296 4138 5297 * getopt.c, getopt1.c, ../include/getopt.h: Get latest versions. 4139 5298 4140 5299 Sat Jan 18 16:53:01 1992 Fred Fish (fnf at cygnus.com) -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.