| 1 | 2002-01-18 DJ Delorie <dj@redhat.com> |
| 2 | |
| 3 | * Makefile.in (TESTLIB): New. This library is for future |
| 4 | testsuites. |
| 5 | (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize, |
| 6 | break down by letter. |
| 7 | (REQUIRED_OFILES): List long-to-compile files first. |
| 8 | (maint-deps): New, target for updating dependencies. |
| 9 | (dependencies): Update. |
| 10 | * maint-tool: Add dependency-generating option. |
| 11 | * configure.in: Check for _doprnt even if we're not providing it. |
| 12 | * configure: Regenerate. |
| 13 | |
| 14 | * _doprnt.c: Modifications to allow compiling on any platform. |
| 15 | * copysign.c: Likewise. |
| 16 | * putenv.c: Likewise. |
| 17 | * setenv.c: Likewise. |
| 18 | * vsprintf.c: Likewise. |
| 19 | |
| 20 | 2002-01-15 Douglas B Rupp <rupp@gnat.com> |
| 21 | |
| 22 | * mkstemps.c (mkstemps): On VMS, open temp file with option |
| 23 | that causes it to be deleted when closed. |
| 24 | |
| 25 | 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 26 | |
| 27 | * cp-demangle.c (long_options): Const-ify. |
| 28 | * cplus-dem.c (long_options): Likewise. |
| 29 | |
| 30 | * cplus-dem.c (mystrstr): Delete. All callers changed to use |
| 31 | strstr instead. |
| 32 | |
| 33 | 2001-12-31 Ira Ruben <ira@apple.com> |
| 34 | |
| 35 | * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try. |
| 36 | * configure: Regenerated. |
| 37 | |
| 38 | 2001-12-24 Douglas B. Rupp <rupp@gnat.com> |
| 39 | |
| 40 | * configure.in (uintptr_t): Use AC_CHECK_TYPE. |
| 41 | * configure: Regenerated. |
| 42 | |
| 43 | 2001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org> |
| 44 | |
| 45 | PR other/2719 |
| 46 | * cplus-dem.c (consume_count): Treat negative count as an error. |
| 47 | * testsuite/demangle-expected: Added testcase. |
| 48 | |
| 49 | Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com> |
| 50 | |
| 51 | * configure.in: Hardcode that vfork works on VMS host. |
| 52 | * configure: Regenerated. |
| 53 | |
| 54 | 2001-12-06 Richard Henderson <rth@redhat.com> |
| 55 | |
| 56 | * cplus-dem.c (libiberty_demanglers): Add no_demangling case. |
| 57 | (cplus_demangle): Support no_demangling. |
| 58 | |
| 59 | 2001-11-27 Zack Weinberg <zack@codesourcery.com> |
| 60 | |
| 61 | * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build |
| 62 | in libiberty context. Fix typo in leading comment. |
| 63 | * configure.in: Fix various AC_DEFINEs so autoheader works. |
| 64 | If any of vprintf, vsprintf, vfprintf is missing from libc, |
| 65 | then AC_REPLACE_FUNCS(_doprnt). |
| 66 | |
| 67 | 2001-11-26 DJ Delorie <dj@redhat.com> |
| 68 | Daniel Jacobowitz <drow@mvista.com> |
| 69 | |
| 70 | * Makefile.in (stamp-h): Depend on Makefile for proper |
| 71 | serialization. |
| 72 | (*-subdir): Depend on config.h for proper serialization. |
| 73 | |
| 74 | 2001-11-26 DJ Delorie <dj@redhat.com> |
| 75 | |
| 76 | * configure.in: Check for alloca.h (for regex.c and putenv.c). |
| 77 | * configure: Regenerate. |
| 78 | * config.h: Add HAVE_ALLOCA_H. |
| 79 | |
| 80 | 2001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 81 | |
| 82 | * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) || |
| 83 | defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting |
| 84 | is available. |
| 85 | |
| 86 | Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com) |
| 87 | |
| 88 | * config.in (HAVE_UINTPTR_T): Provide autoconf stub. |
| 89 | * configure.in (HAVE_UINTPTR_T): Test for system defining |
| 90 | uintptr_t and define HAVE_UINTPTR_T appropriately. |
| 91 | * regex.c (uintptr_t): Do not provide a definition if the |
| 92 | system provided one. |
| 93 | |
| 94 | * regex.c (PREFIX): Provide an alternate definition for |
| 95 | non-ANSI/ISO compilers. |
| 96 | (ARG_PREFIX): Likewise. |
| 97 | |
| 98 | 2001-11-12 Jim Meyering <meyering@lucent.com> |
| 99 | |
| 100 | * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise, |
| 101 | this code would end up calling gettext even in packages built |
| 102 | with --disable-nls. |
| 103 | * getopt.c (_): Likewise. |
| 104 | * regex.c (_): Likewise. |
| 105 | |
| 106 | 2001-11-03 Alan Modra <amodra@bigpond.net.au> |
| 107 | |
| 108 | * configure.in: Cope with missing makeinfo. |
| 109 | * configure: Regenerate. |
| 110 | |
| 111 | 2001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 112 | |
| 113 | * hex.c (hex_init): Provide empty stub. |
| 114 | |
| 115 | * hex.c (hex_init): Delete. |
| 116 | (_hex_value): Const-ify and initialize at compile-time. |
| 117 | |
| 118 | 2001-10-19 H.J. Lu <hjl@gnu.org> |
| 119 | |
| 120 | * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if |
| 121 | necessary. |
| 122 | |
| 123 | 2001-10-17 DJ Delorie <dj@redhat.com> |
| 124 | |
| 125 | * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c, |
| 126 | ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c, |
| 127 | mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c: |
| 128 | Improve manual formatting. |
| 129 | * functions.texi: Regenerate. |
| 130 | |
| 131 | 2001-10-15 DJ Delorie <dj@redhat.com> |
| 132 | |
| 133 | * Makefile.in (TEXIFILES): Add fnmatch.txh. |
| 134 | (maint-undoc): New. |
| 135 | maint-tool: Add "undoc" tool. |
| 136 | * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c, |
| 137 | fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c, |
| 138 | make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c, |
| 139 | strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update |
| 140 | documentation. |
| 141 | * fnmatch.txh: New. |
| 142 | * functions.texi: Regenerate. |
| 143 | |
| 144 | 2001-10-10 Joseph S. Myers <jsm28@cam.ac.uk> |
| 145 | |
| 146 | * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero". |
| 147 | * strtod.c: Use "ISO C" instead of "ANSI C". |
| 148 | * functions.texi: Regenerate. |
| 149 | |
| 150 | 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk> |
| 151 | |
| 152 | * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c, |
| 153 | libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c, |
| 154 | strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c, |
| 155 | xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix |
| 156 | spelling. Give names to function arguments in documentation. Use |
| 157 | (void) prototypes in documentation. |
| 158 | * functions.texi: Regenerate. |
| 159 | |
| 160 | 2001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 161 | |
| 162 | * argv.c (buildargv, tests, main): Const-ify. |
| 163 | * cp-demangle.c (operator_code): Likewise. |
| 164 | * cplus-dem.c (optable, libiberty_demanglers, |
| 165 | cplus_demangle_set_style, cplus_demangle_name_to_style, |
| 166 | print_demangler_list): Likewise. |
| 167 | * hashtab.c (higher_prime_number): Likewise. |
| 168 | * strcasecmp.c (charmap): Likewise. |
| 169 | * strerror.c (error_info, strerror, main): Likewise. |
| 170 | * strncasecmp.c (charmap): Likewise. |
| 171 | * strsignal.c (signal_info): Likewise. |
| 172 | |
| 173 | 2001-09-29 DJ Delorie <dj@redhat.com> |
| 174 | |
| 175 | * configure: Regenerate. |
| 176 | |
| 177 | 2001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 178 | |
| 179 | * concat.c: Include stdlib.h. |
| 180 | |
| 181 | 2001-09-27 Eli Zaretskii <eliz@is.elta.co.il> |
| 182 | |
| 183 | * libiberty.texi: (Top level): Add syncodeindex pg. Add |
| 184 | @dircategory and @direntry directives. Add @finalout. |
| 185 | (many nodes): Lose the next,prev,up pointers on the @nide line. |
| 186 | (Using, Supplemental Functions, Replacement Functions): Fix |
| 187 | markup. |
| 188 | (Functions): Move around, to allow makeinfo to build the manual |
| 189 | without next,prev,up pointers in thye node lines. |
| 190 | (Licenses): Fix typos. |
| 191 | |
| 192 | * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c, |
| 193 | strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup. |
| 194 | * functions.texi: Regenerate. |
| 195 | |
| 196 | * copying-lib.texi: Lose the next,prev,up pointers on the @node |
| 197 | line. |
| 198 | |
| 199 | 2001-09-27 DJ Delorie <dj@redhat.com> |
| 200 | |
| 201 | * configure.in: Don't use in-tree texinfo, because libiberty must |
| 202 | be built before it. Check for makeinfo version 4 or higher. |
| 203 | * functions.texi: Regenerate. |
| 204 | |
| 205 | 2001-09-20 DJ Delorie <dj@redhat.com> |
| 206 | Phil Edwards <pedwards@disaster.jaj.com> |
| 207 | |
| 208 | * configure.in (MAKEINFO, PERL): Detect these. |
| 209 | (--enable-maintainer-mode): Add. |
| 210 | * configure: Regenerate. |
| 211 | * Makefile.in (MAKEINFO, PERL): Define. |
| 212 | (libiberty.info, libiberty.dvi, libiberty.html): New. |
| 213 | (CFILES): Add bsearch.c. |
| 214 | (CONFIGURED_OFILES): New, list of objects configure might add. |
| 215 | (maint-missing, maint-buildall): New, for maintainers only. |
| 216 | (clean, mostlyclean): Add info/dvi/html files. |
| 217 | * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New. |
| 218 | * gather-docs: New, for maintainers. |
| 219 | * maint-tool: New, for maintainers. |
| 220 | * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c, |
| 221 | bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c, |
| 222 | getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c, |
| 223 | memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c, |
| 224 | sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c, |
| 225 | strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c, |
| 226 | tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c, |
| 227 | xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update |
| 228 | documentation. |
| 229 | |
| 230 | 2001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 231 | |
| 232 | * concat.c (reconcat): Fix for traditional C. |
| 233 | |
| 234 | 2001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 235 | |
| 236 | * concat.c (reconcat): New function. |
| 237 | |
| 238 | 2001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 239 | |
| 240 | * concat.c (vconcat_length, vconcat_copy, concat_length, |
| 241 | concat_copy, concat_copy2): New functions. |
| 242 | (concat): Use vconcat_length/vconcat_copy. |
| 243 | |
| 244 | * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len): |
| 245 | Define. |
| 246 | |
| 247 | 2001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 248 | |
| 249 | * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN, |
| 250 | VA_FIXEDARG & VA_CLOSE. |
| 251 | |
| 252 | * vasprintf.c: Check HAVE_STRING_H when including string.h. |
| 253 | (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1. |
| 254 | Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string. |
| 255 | |
| 256 | 2001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 257 | |
| 258 | * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE. |
| 259 | |
| 260 | 2001-08-23 Ulrich Drepper <drepper@redhat.com> |
| 261 | |
| 262 | * regex.c (truncate_wchar): Use wcrtomb not wctomb. |
| 263 | |
| 264 | 2001-08-23 Ulrich Drepper <drepper@redhat.com> |
| 265 | |
| 266 | * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc |
| 267 | instead of mbrtowc. |
| 268 | [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of |
| 269 | wcslen, and __wcscoll instead of wcscoll. |
| 270 | |
| 271 | 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu> |
| 272 | |
| 273 | * fibheap.c (fibheap_init, fibnode_init): Remove. |
| 274 | (fibheap_new, fibnode_new): Use xcalloc to allocate and |
| 275 | initialize memory. |
| 276 | (fibheap_insert): Remove check for node allocation failure. |
| 277 | |
| 278 | 2001-08-21 Richard Henderson <rth@redhat.com> |
| 279 | |
| 280 | * Makefile.in (fibheap.o): Depend on config.h. |
| 281 | * fibheap.c: Tidy formatting. Use config.h.` Rearrange some |
| 282 | functions for inlining. |
| 283 | |
| 284 | Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com> |
| 285 | |
| 286 | * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever |
| 287 | hosting on cygwin. |
| 288 | * configure: Regenerate. |
| 289 | |
| 290 | 2001-08-20 Andrew Cagney <ac131313@redhat.com> |
| 291 | |
| 292 | * floatformat.c (floatformat_m88110_ext): Remove #ifdef |
| 293 | HARRIS_FLOAT_FORMAT. |
| 294 | (floatformat_ia64_spill_little, floatformat_ia64_quad_little) |
| 295 | (floatformat_ia64_spill_big, floatformat_ia64_quad_big) |
| 296 | (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword) |
| 297 | (floatformat_m88110_harris_ext): New float formats. |
| 298 | |
| 299 | 2001-08-20 Daniel Berlin <dan@cgsoftware.com> |
| 300 | |
| 301 | * fibheap.c: New file. Fibonacci heap. |
| 302 | |
| 303 | * Makefile.in (CFILES): Add fibheap.c. |
| 304 | (REQUIRED_OFILES): Add fibheap.o. |
| 305 | (fibheap.o): Add dependencies for fibheap.o. |
| 306 | |
| 307 | 2001-08-17 Christopher Faylor <cgf@cygnus.com> |
| 308 | |
| 309 | * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin. |
| 310 | * configure: Regenerate. |
| 311 | |
| 312 | 2001-08-16 Richard Henderson <rth@redhat.com> |
| 313 | |
| 314 | * hashtab.c (htab_hash_string): New. |
| 315 | |
| 316 | 2001-08-13 Andrew Cagney <ac131313@redhat.com> |
| 317 | |
| 318 | * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix |
| 319 | name. |
| 320 | |
| 321 | 2001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com> |
| 322 | |
| 323 | * regex.c (wcs_regex_compile): Use appropriate string |
| 324 | to compare with collating element. |
| 325 | Fix the padding for the alignment. |
| 326 | |
| 327 | 2001-08-10 Andrew Cagney <ac131313@redhat.com> |
| 328 | |
| 329 | * lbasename.c (lbasename): Change function definition to return a |
| 330 | const char pointer. |
| 331 | |
| 332 | 2001-08-07 Jason Merrill <jason_merrill@redhat.com> |
| 333 | |
| 334 | * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary |
| 335 | for". |
| 336 | |
| 337 | 2001-08-03 Richard Henderson <rth@redhat.com> |
| 338 | |
| 339 | * Makefile.in (concat.o): Depend on config.h. |
| 340 | |
| 341 | 2001-07-30 Andreas Jaeger <aj@suse.de> |
| 342 | |
| 343 | * concat.c: Include "config.h". |
| 344 | |
| 345 | 2001-07-30 Andreas Jaeger <aj@suse.de> |
| 346 | |
| 347 | * regex.c: Declare wcs functions only if compiling with |
| 348 | MBS_SUPPORT. |
| 349 | Don't use #elif for traditional C. |
| 350 | |
| 351 | 2001-07-23 Ulrich Drepper <drepper@redhat.com> |
| 352 | |
| 353 | * regex.c: Revamp memory allocation for WCHAR functions to |
| 354 | not use too much stack. |
| 355 | |
| 356 | 2001-07-30 Andreas Jaeger <aj@suse.de> |
| 357 | |
| 358 | * regex.c: Declare wcs functions only if compiling with |
| 359 | MBS_SUPPORT. |
| 360 | Don't use #elif for traditional C. |
| 361 | |
| 362 | 2001-07-25 Daniel Jacobowitz <drow@mvista.com> |
| 363 | |
| 364 | * Makefile.in (regex.o): Add dependency on config.h. |
| 365 | |
| 366 | 2001-07-18 Andreas Schwab <schwab@suse.de> |
| 367 | |
| 368 | * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the |
| 369 | underscore character. |
| 370 | |
| 371 | 2001-07-18 Ulrich Drepper <drepper@redhat.com> |
| 372 | |
| 373 | * regex.c: Limit string length printed in debug messages to 100 |
| 374 | chars. |
| 375 | |
| 376 | 2001-07-18 Andreas Jaeger <aj@suse.de> |
| 377 | |
| 378 | * regex.c: Place under LGPL version 2.1. |
| 379 | |
| 380 | 2001-07-10 Jeff Johnston <jjohnstn@redhat.com> |
| 381 | |
| 382 | * Makefile.in: Add support for regex code. |
| 383 | * regex.c: New file. |
| 384 | |
| 385 | 2001-07-05 Mark Klein <mklein@dis.com> |
| 386 | |
| 387 | * Makefile.in: Add ffs.c dependency. |
| 388 | * configure.in: Add ffs.c. |
| 389 | * ffs.c: New file. |
| 390 | |
| 391 | 2001-06-18 Richard Henderson <rth@redhat.com> |
| 392 | |
| 393 | * concat.c: Include <sys/types.h>. |
| 394 | |
| 395 | 2001-06-11 Loren J. Rittle <ljrittle@acm.org> |
| 396 | |
| 397 | bootstrap/3106 |
| 398 | * strerror.c (sys_nerr): Hide the OS header version. |
| 399 | * strsignal.c (sys_nsig): Likewise. |
| 400 | |
| 401 | 2001-06-10 Richard Henderson <rth@redhat.com> |
| 402 | |
| 403 | * concat.c: Include string.h. Fix int vs size_t usage. |
| 404 | Simplify the iteration loops. Use memcpy. |
| 405 | |
| 406 | 2001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu> |
| 407 | |
| 408 | * partition.c: Fix misspelling of `implementation'. |
| 409 | |
| 410 | 2001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
| 411 | |
| 412 | * md5.c (md5_init_ctx): Declare constants as unsigned. |
| 413 | (md5_process_block): Likewise. |
| 414 | |
| 415 | 2001-05-07 Zack Weinberg <zackw@stanford.edu> |
| 416 | |
| 417 | * cp-demangle.c (demangle_v3_with_details, |
| 418 | is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style |
| 419 | function definition. |
| 420 | * ternary.c: Use K+R style function definitions. Use PTR, not |
| 421 | void *. Make arguments constant where possible. |
| 422 | |
| 423 | 2001-05-07 Mark Mitchell <mark@codesourcery.com> |
| 424 | |
| 425 | * splay-tree.h (splay_tree_max): New function. |
| 426 | (splay_tree_min): Likewise. |
| 427 | |
| 428 | 2001-04-15 Daniel Berlin <dan@cgsoftware.com> |
| 429 | |
| 430 | * ternary.c: New file - Ternary search tree implementation. |
| 431 | |
| 432 | * Makefile.in: Add ternary.o, and ternary.c dependencies. |
| 433 | |
| 434 | 2001-04-03 Zack Weinberg <zackw@stanford.edu> |
| 435 | |
| 436 | * make-temp-file.c (try): Inline. |
| 437 | |
| 438 | 2001-02-28 Richard Henderson <rth@redhat.com> |
| 439 | |
| 440 | * Makefile.in (make-temp-file.o): Depend on config.h. |
| 441 | |
| 442 | 2001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 443 | |
| 444 | * memchr.c (memchr): Adjust condition to avoid infinite loop. |
| 445 | |
| 446 | 2001-03-23 Jakub Jelinek <jakub@redhat.com> |
| 447 | |
| 448 | * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1, |
| 449 | `_' not followed by a digit is invalid. |
| 450 | |
| 451 | 2001-03-22 Jim Blandy <jimb@redhat.com> |
| 452 | |
| 453 | * cp-demangle.c (string_list_delete): Use dyn_string_delete |
| 454 | instead of free, to free the contents as well as the string |
| 455 | structure. |
| 456 | |
| 457 | 2001-03-21 Zack Weinberg <zackw@stanford.edu> |
| 458 | |
| 459 | * make-temp-file.c: Always default DIR_SEPARATOR to '/'. |
| 460 | Don't default P_tmpdir to anything. Try /var/tmp before |
| 461 | /usr/tmp. |
| 462 | |
| 463 | 2001-03-20 Zack Weinberg <zackw@stanford.edu> |
| 464 | |
| 465 | * choose-temp.c: Split off make_temp_file, and the code |
| 466 | duplicated between it and choose_temp_base, into... |
| 467 | * make-temp-file.c: ... here; new file. |
| 468 | |
| 469 | * Makefile.in (CFILES): Add make-temp-file.c. |
| 470 | (REQUIRED_OFILES): Add make-temp-file.o. |
| 471 | |
| 472 | 2001-03-20 Jim Blandy <jimb@redhat.com> |
| 473 | |
| 474 | * cp-demangle.c (struct demangling_def): New fields: |
| 475 | is_constructor and is_destructor. |
| 476 | (demangling_new): Initialize them. |
| 477 | (demangle_ctor_dtor_name): Set them, if we detect a constructor |
| 478 | or destructor. |
| 479 | (demangle_v3_with_details, is_gnu_v3_mangled_ctor, |
| 480 | is_gnu_v3_mangled_dtor): New functions. |
| 481 | |
| 482 | 2001-03-20 Jason Merrill <jason@redhat.com> |
| 483 | |
| 484 | * cplus-dem.c (main): Skip initial $. |
| 485 | |
| 486 | 2001-03-15 Michael Meissner <meissner@redhat.com> |
| 487 | |
| 488 | * hashtab.c (higher_prime_number): Silence warning that 4294967291 |
| 489 | might be a signed integer under pre-ISO C systems. |
| 490 | |
| 491 | 2001-03-10 Neil Booth <neil@daikokuya.demon.co.uk> |
| 492 | John David Anglin <dave@hiauly1.hia.nrc.ca> |
| 493 | |
| 494 | * libiberty/lbasename.c: New file. |
| 495 | * libiberty/Makefile.in: Update for lbasename. |
| 496 | |
| 497 | 2001-03-06 Zack Weinberg <zackw@stanford.edu> |
| 498 | |
| 499 | * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New. |
| 500 | * configure.in: Replace all alloca logic with a simple use of |
| 501 | the above new macro. |
| 502 | * config.table: Kill *-*-beos* entry. |
| 503 | * config/mh-beos: Delete. |
| 504 | * configure, config.in: Regenerate. |
| 505 | |
| 506 | * Makefile.in (ALLOCA, HFILES): Kill. |
| 507 | (REQUIRED_OFILES): Add alloca.o. |
| 508 | (alloca.o): Depend on libiberty.h. |
| 509 | (argv.o): Don't depend on alloca-conf.h. |
| 510 | * alloca-conf.h: Delete. |
| 511 | * alloca.c: Include libiberty.h. Kill all #ifdef emacs |
| 512 | blocks. Provide the C alloca unconditionally. Use PTR where |
| 513 | appropriate. Make i00afunc static. |
| 514 | * argv.c: Don't include alloca-conf.h. |
| 515 | |
| 516 | 2001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
| 517 | |
| 518 | * cplus-dem.c (main): Cast enum style to int. |
| 519 | |
| 520 | 2001-02-16 Loren J. Rittle <ljrittle@acm.org> |
| 521 | |
| 522 | * cplus-dem.c (main): Initialize style. |
| 523 | |
| 524 | 2001-02-02 Phil Edwards <pme@sources.redhat.com> |
| 525 | |
| 526 | * COPYING.LIB: Update to LGPL 2.1 from the FSF. |
| 527 | |
| 528 | 2001-01-31 Bryce McKinlay <bryce@albatross.co.nz> |
| 529 | |
| 530 | Add support for Java demangling under the v3 ABI: |
| 531 | * cp-demangle.c (NAMESPACE_SEPARATOR): New define. |
| 532 | (struct demangling_def): Add `style' field. |
| 533 | (demangling_new): New parameter `style'. Set it in demangling_t. |
| 534 | (demangle_prefix): Use NAMESPACE_SEPARATOR. |
| 535 | (demangle_type_ptr): Don't emit pointer symbol if doing Java output. |
| 536 | (cp_demangle): New parameter `style'. Pass it to demangling_new(). |
| 537 | (main): Call cp_demangle with extra parameter. |
| 538 | (java_demangle_v3): New function. |
| 539 | (java_builtin_type_names): New. Table of primitive type names used |
| 540 | for Java demangling. |
| 541 | (demangle_builtin_type): Look up in java_builtin_type_names if doing |
| 542 | Java output. |
| 543 | * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java |
| 544 | demangling. |
| 545 | (long_options): Remove obsolete `java' option. |
| 546 | (main): Remove explicit handling of `java' option. Instead, pass style |
| 547 | parameter in cplus_demangle flags as gdb does. |
| 548 | * testsuite/demangle.expected: Add some Java test cases. |
| 549 | |
| 550 | 2000-12-29 DJ Delorie <dj@redhat.com> |
| 551 | |
| 552 | * fnmatch.c: Make the note about the origins of this file more |
| 553 | accurate, at least until we can sync with glibc. |
| 554 | * getopt.c: Ditto. |
| 555 | * getopt1.c: Ditto. |
| 556 | * md5.c: Ditto. |
| 557 | * obstack.c: Ditto. |
| 558 | |
| 559 | 2000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
| 560 | |
| 561 | * bsearch.c: New file. |
| 562 | * configure.in (funcs): Add bsearch. |
| 563 | (AC_CHECK_FUNCS): Likewise. |
| 564 | * configure, config.in: Regenerate. |
| 565 | |
| 566 | 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
| 567 | |
| 568 | * safe-ctype.c: #include "ansidecl.h". |
| 569 | * strtod.c: Likewise. |
| 570 | |
| 571 | 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
| 572 | |
| 573 | * strtoul.c: Include safe-ctype.h, not ctype.h. |
| 574 | |
| 575 | 2000-12-07 Zack Weinberg <zack@wolery.stanford.edu> |
| 576 | |
| 577 | * safe-ctype.c: New file. |
| 578 | * Makefile.in (CFILES): Add safe-ctype.c. |
| 579 | (REQUIRED_OFILES): Add safe-ctype.o. |
| 580 | |
| 581 | * argv.c: Define ISBLANK and use it, not isspace. |
| 582 | * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c, |
| 583 | strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use |
| 584 | uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c) |
| 585 | before calling TOLOWER(c)/TOUPPER(c). |
| 586 | |
| 587 | 2000-12-07 Mike Stump <mrs@wrs.com> |
| 588 | |
| 589 | * Makefile.in (distclean): When cleaning, remove testsuite. |
| 590 | |
| 591 | 2000-12-05 Jason Merrill <jason@redhat.com> |
| 592 | |
| 593 | * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled |
| 594 | name before allocating the dyn_string. |
| 595 | |
| 596 | 2000-12-04 Jason Merrill <jason@redhat.com> |
| 597 | |
| 598 | * cp-demangle.c: s/new_abi/v3/. |
| 599 | * cplus-dem.c: Likewise. |
| 600 | (current_demangling_style): Now auto_demangling. |
| 601 | (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING. |
| 602 | (main): Use standard symbol chars for auto_demangling. |
| 603 | |
| 604 | 2000-11-26 Mark Mitchell <mark@codesourcery.com> |
| 605 | |
| 606 | * hashtab.c (higher_prime_number): Use a table, rather than a |
| 607 | seive, to find the next prime. |
| 608 | |
| 609 | 2000-11-22 H.J. Lu <hjl@gnu.org> |
| 610 | |
| 611 | * cplus-dem.c (main): Handle gnat_demangling. |
| 612 | |
| 613 | 2000-11-22 Zack Weinberg <zack@wolery.stanford.edu> |
| 614 | |
| 615 | * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in. |
| 616 | (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader. |
| 617 | * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three |
| 618 | argument form of AC_DEFINE in dummy definitions block. Use |
| 619 | AC_DEFINE_NOAUTOHEADER for real definitions of things defined |
| 620 | in dummy block. Preload cache variables instead of bypassing |
| 621 | tests, where possible. |
| 622 | * acconfig.h: Removed. |
| 623 | |
| 624 | * xmalloc.c (xmalloc_failed): New function, does error |
| 625 | reporting on failed allocation. |
| 626 | (xmalloc, xcalloc, xrealloc): Use it. |
| 627 | |
| 628 | 2000-11-21 Hans-Peter Nilsson <hp@bitrange.com> |
| 629 | |
| 630 | * cplus-dem.c (cplus_demangle): Fix formatting. |
| 631 | (grow_vect): Ditto. |
| 632 | (ada_demangle): Ditto. |
| 633 | (internal_cplus_demangle): Ditto. |
| 634 | (mop_up): Ditto. |
| 635 | |
| 636 | 2000-11-21 H.J. Lu <hjl@gnu.org> |
| 637 | |
| 638 | * cplus-dem.c (main): Handle java_demangling. |
| 639 | |
| 640 | 2000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 641 | |
| 642 | * cplus-dem.c (grow_vect): Prototype. |
| 643 | (ada_demangle): Cast the arg of ctype macros to unsigned char. |
| 644 | |
| 645 | 2000-11-15 Hans-Peter Nilsson <hp@bitrange.com> |
| 646 | |
| 647 | * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for |
| 648 | parameter `option'. |
| 649 | |
| 650 | 2000-11-15 Kenneth Block <kenneth.block@compaq.com> |
| 651 | |
| 652 | * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot |
| 653 | be used in GCC. |
| 654 | |
| 655 | 2000-11-15 Kenneth Block <kenneth.block@compaq.com> |
| 656 | |
| 657 | * cplus-dem.c: Add gnat demangler. Add java to demangle style |
| 658 | list. |
| 659 | |
| 660 | 2000-11-04 Hans-Peter Nilsson <hp@bitrange.com> |
| 661 | |
| 662 | * hashtab.c (htab_expand): Change to return int. Use calloc or |
| 663 | xcalloc depending on htab->return_allocation_failure. Return zero |
| 664 | if calloc fails. |
| 665 | (htab_create): Update comment to cover memory allocation. |
| 666 | (htab_try_create): New. |
| 667 | (htab_find_slot_with_hash): Return NULL if htab_expand fails. |
| 668 | Update comment to cover this. |
| 669 | |
| 670 | 2000-11-03 Hans-Peter Nilsson <hp@bitrange.com> |
| 671 | |
| 672 | * hashtab.c: Change void * to PTR where necessary. |
| 673 | (htab_create, htab_expand): Correct formatting of comment before |
| 674 | function. |
| 675 | |
| 676 | 2000-10-22 Alex Samuel <samuel@codesourcery.com> |
| 677 | |
| 678 | * cp-demangle.c (string_list_def): Add caret_position and comments. |
| 679 | (result_caret_pos): New macro. |
| 680 | (result_append_string): Rename to... |
| 681 | (result_add_string): ... this, and insert at caret position. |
| 682 | Rename throughout. |
| 683 | (result_append): Rename to... |
| 684 | (result_add): ... this, and insert at caret position. Rename |
| 685 | throughout. |
| 686 | (result_append_char): Rename to... |
| 687 | (result_add_char): ... this, and insert at caret position. Rename |
| 688 | throughout. |
| 689 | (result_append_space): Remove. |
| 690 | (string_list_new): Initialize caret position. |
| 691 | (result_add_separated_char): Use caret position. |
| 692 | (result_get_caret): New funtion. |
| 693 | (result_set_caret): Likewise. |
| 694 | (result_shift_caret): Likewise. |
| 695 | (result_previous_char_is_space): Likewise. |
| 696 | (substitution_start): Use caret position. |
| 697 | (substitution_add): Likewise. |
| 698 | (demangling_new): Initialize caret position. |
| 699 | (demangle_encoding): Use caret position. |
| 700 | (demanglin_nested_name): Put CV qualifiers after name. |
| 701 | (demangle_type_ptr): Use switch statement. Handle pointers to |
| 702 | arrays. Don't use result_append_space. Use caret position. |
| 703 | (demangle_type): Emit CV qualifiers after underlying type. Adjust |
| 704 | call to demangle_array_type. |
| 705 | (demangle_array_type): Add parameter to handle pointers to arrays. |
| 706 | |
| 707 | 2000-10-01 Mark Mitchell <mark@codesourcery.com> |
| 708 | |
| 709 | * splay-tree.c (splay_tree_insert): Fix formatting. |
| 710 | |
| 711 | 2000-09-16 Mark Mitchell <mark@codesourcery.com> |
| 712 | |
| 713 | * splay-tree.c (splay_tree_predecessor): Fix typo in comment. |
| 714 | |
| 715 | 2000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
| 716 | |
| 717 | * splay-tree.c: #include <stdio.h>. |
| 718 | |
| 719 | 2000-09-14 Hans-Peter Nilsson <hp@axis.com> |
| 720 | |
| 721 | * testsuite/demangle-expected: Add two tests for anonymous |
| 722 | namespaces. |
| 723 | * cplus-dem.c (gnu_special): Handle anonymous namespaces. |
| 724 | |
| 725 | 2000-09-10 Mark Mitchell <mark@codesourcery.com> |
| 726 | |
| 727 | * splay-tree.c (splay_tree_predecessor): New function. |
| 728 | (splay_tree_successor): Likewise. |
| 729 | |
| 730 | 2000-09-10 Hans-Peter Nilsson <hp@axis.com> |
| 731 | |
| 732 | * testsuite/demangle-expected: Add four tests for type_info |
| 733 | mangling. |
| 734 | * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type, |
| 735 | for a non-template non-qualified type_info function or node. |
| 736 | |
| 737 | 2000-09-08 Alex Samuel <samuel@codesourcery.com> |
| 738 | |
| 739 | * cp-demangle.c: Fix copyright banner. |
| 740 | |
| 741 | 2000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
| 742 | |
| 743 | * md5.c: #include "ansidecl.h". |
| 744 | |
| 745 | 2000-09-06 Alex Samuel <samuel@codesourcery.com> |
| 746 | |
| 747 | * cp-demangle.c (status_allocation_failed): Rearrange whitespace. |
| 748 | (demangle_type): Handle substitution candidates correctly in the |
| 749 | face of special substitutions. |
| 750 | |
| 751 | 2000-09-05 Alex Samuel <samuel@codesourcery.com> |
| 752 | |
| 753 | * cp-demangle.c (demangle_encoding): Rename variable. |
| 754 | (demangle_name): Rename parameter. Handle return type |
| 755 | suppression. |
| 756 | (demangle_nested_name): Rename parameter. |
| 757 | (demangle_prefix): Likewise. Change return type suppression. |
| 758 | (demangle_unqualified_name): Add parameter. Flag constructors and |
| 759 | conversion operators. |
| 760 | (demangle_special_name): Fix comment. |
| 761 | (demangle_type): Rename variable. |
| 762 | (demangle_bare_function_type): Check for missing return type and |
| 763 | parameter. |
| 764 | (demangle_class_enum_type): Rename parameter. |
| 765 | (demangle_discriminator): Fix misspelling in comment. |
| 766 | |
| 767 | 2000-08-31 DJ Delorie <dj@redhat.com> |
| 768 | |
| 769 | * configure.in (Cygwin): special case cygwin only when we're |
| 770 | building cygwin, not when we're hosting cygwin. |
| 771 | |
| 772 | 2000-09-04 Alex Samuel <samuel@codesourcery.com> |
| 773 | |
| 774 | * cp-demangle.c (demangle_template_arg): Eat an `E' after an |
| 775 | <expression>. |
| 776 | |
| 777 | 2000-09-04 Alex Samuel <samuel@codesourcery.com> |
| 778 | |
| 779 | * cp-demangle.c (demangle_type_ptr): Increment position past |
| 780 | pointer and reference characters. |
| 781 | |
| 782 | 2000-09-04 Alex Samuel <samuel@codesourcery.com> |
| 783 | |
| 784 | * cp-demangle.c (demangle_nv_offset): New function. |
| 785 | (demangle_v_offset): Likewise. |
| 786 | (demangle_call_offset): Likewise. |
| 787 | (demangle_special_name): Update thunk demangling to comply with |
| 788 | ABI changes. |
| 789 | |
| 790 | 2000-09-03 Alex Samuel <samuel@codesourcery.com> |
| 791 | |
| 792 | * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro. |
| 793 | (substitution_def): Remove template_parm_number. |
| 794 | (NOT_TEMPLATE_PARM): Remove. |
| 795 | (result_insert_string): New macro. |
| 796 | (result_insert): Likewise. |
| 797 | (result_insert_char): Likewise. |
| 798 | (substitution_add): Remove last parameter. Don't store template |
| 799 | parm number. |
| 800 | (BFT_NO_RETURN_TYPE): Define as NULL. |
| 801 | (demangle_encoding): Adjust call to demangle_bare_function_type. |
| 802 | (demangle_name): Adjust substitution. Adjust call to |
| 803 | substitution_add. |
| 804 | (demangle_prefix): Adjust call to substitution_add. |
| 805 | (demangle_identifier): Handle anonymous namespaces. |
| 806 | (demangle_operator_name): Change demangling of vendor-extended |
| 807 | operator to match ABI changes. |
| 808 | (demangle_type_ptr): Change parameters. Make recursive. Handle |
| 809 | substitutions here. |
| 810 | (demangle_type): Adjust calls to demangle_template_param, |
| 811 | substitution_add, and demangle_type_ptr. Fix substitution of |
| 812 | templated types. |
| 813 | (demangle_function_type): Change parameter to a pointer. |
| 814 | (demangle_bare_function_type): Likewise. Adjust insertion point. |
| 815 | (demangle_template_param): Remove last parameter. |
| 816 | (demangle_expr_primary): Remove unused variable. Adjust call to |
| 817 | demangle_template_param. |
| 818 | (is_mangled_char): Accept `$' and `.'. |
| 819 | * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'. |
| 820 | * dyn-string.c (dyn_string_insert_char): New function. |
| 821 | |
| 822 | 2000-08-31 Hans-Peter Nilsson <hp@axis.com> |
| 823 | |
| 824 | * testsuite/demangle-expected: Add nine tests for |
| 825 | underscore-after-number followed by five tests for name-signature |
| 826 | delimiter. |
| 827 | |
| 828 | 2000-08-28 Richard Henderson <rth@cygnus.com> |
| 829 | |
| 830 | * Makefile.in (md5.o): Depend on config.h. |
| 831 | |
| 832 | 2000-08-28 Jason Merrill <jason@redhat.com> |
| 833 | |
| 834 | * Makefile.in (REQUIRED_OFILES): Add md5.o. |
| 835 | (CFILES): Add md5.c. |
| 836 | * md5.c: New file. |
| 837 | |
| 838 | 2000-08-27 Alex Samuel <samuel@codesourcery.com> |
| 839 | |
| 840 | * cp-demangle.c (demangle_name): Initialize template_p in local |
| 841 | name case. Don't re-add substitutions as candidates. |
| 842 | (demangle_nested_name): Use <unqualified-name>. |
| 843 | (demangle_prefix): Likewise. Don't add template names as |
| 844 | substitution candidates twice, or re-add a substitution or the |
| 845 | last prefix component. |
| 846 | (demangle_local_name): Adjust output format. |
| 847 | |
| 848 | 2000-08-25 Alex Samuel <samuel@codesourcery.com> |
| 849 | |
| 850 | * cp-demangle.c (result_add_separated_char): Change parameter to |
| 851 | int. |
| 852 | (substitution_add): Don't check for duplicates. Check if |
| 853 | previously allocated size is zero. |
| 854 | (demangle_name): Remove duplicate check for std substitution. |
| 855 | Clear template flag appropriately. |
| 856 | (demangle_prefix): Remove argument to demangle_substitution. |
| 857 | Don't check that template flag is already set. |
| 858 | (demangle_operator_name): Add pt operator. |
| 859 | (demangle_type): Don't treat r as built-in type. Remove argument |
| 860 | to demangle_substitution. Fix substitution candidate mechanics. |
| 861 | Handle <template-template-parm>s. Improve comments. |
| 862 | (demangle_template_param): Don't handle template arg lists here. |
| 863 | (demangle_substitution): Remove parameter. |
| 864 | (print_usage): Remove extra fprintf option. |
| 865 | |
| 866 | 2000-08-24 Greg McGary <greg@mcgary.org> |
| 867 | |
| 868 | * libiberty/random.c (end_ptr): Revert previous change. |
| 869 | |
| 870 | 2000-08-24 Greg McGary <greg@mcgary.org> |
| 871 | |
| 872 | * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname, |
| 873 | demangle_expression, demangle_function_name): Use ARRAY_SIZE. |
| 874 | * libiberty/random.c (end_ptr): Likewise. |
| 875 | |
| 876 | 2000-08-23 Alex Samuel <samuel@codesourcery.com> |
| 877 | |
| 878 | * cp-demangle.c (result_close_template_list): Remove function. |
| 879 | (result_add_separated_char): New function. |
| 880 | (result_open_template_list): New macro. |
| 881 | (result_close_template_list): Likewise. |
| 882 | (demangle_prefix): Don't set template_p if the |
| 883 | prefix ends with a ctor name. |
| 884 | (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR. |
| 885 | (demangle_type): Check for template args after substitution. |
| 886 | (demangle_template_args): Use result_open_template_list. |
| 887 | |
| 888 | 2000-08-02 Zack Weinberg <zack@wolery.cumb.org> |
| 889 | |
| 890 | * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop. |
| 891 | |
| 892 | 2000-07-26 Dave Pitts <dpitts@cozx.com> |
| 893 | |
| 894 | * config/mh-openedition.h: Added -DLE370 definition. |
| 895 | |
| 896 | 2000-07-26 Mark Elbrecht <snowball3@bigfoot.com> |
| 897 | |
| 898 | * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to |
| 899 | __DJGPP__. Use P_WAIT instead of constant in the spawnv* call. |
| 900 | Cast program to 'char *' in errmsg_arg assignment. |
| 901 | (PWAIT_ERROR): Define. |
| 902 | (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform |
| 903 | to DJGPP's WIF* macros. |
| 904 | |
| 905 | 2000-07-27 RodneyBrown <RodneyBrown@pmsc.com> |
| 906 | Jeff Law <law@cygnus.com> |
| 907 | |
| 908 | * getcwd.c: Include string.h, stdlib.h for prototypes |
| 909 | |
| 910 | * Makefile.in (rename.o, waitpid.o): Depend on config.h |
| 911 | * rename.c: Include config.h, unistd.h |
| 912 | * waitpid.c: Include config.h, sys/wait.h |
| 913 | |
| 914 | 2000-07-24 Hans-Peter Nilsson <hp@axis.com> |
| 915 | |
| 916 | * cplus-dem.c (work_stuff_copy_to_from): New. |
| 917 | (delete_non_B_K_work_stuff): New. |
| 918 | (delete_work_stuff): New. |
| 919 | (mop_up): Break out work_stuff partly destruction to |
| 920 | delete_non_B_K_work_stuff. |
| 921 | (iterate_demangle_function): New. |
| 922 | (demangle_prefix): Call iterate_demangle_function instead of |
| 923 | demangle_function_name. Leave handling of name-signature |
| 924 | __-delimiters to iterate_demangle_function. |
| 925 | (demangle_integral_value): Strip an optional |
| 926 | following underscore cautiously. Handle negative numbers. |
| 927 | |
| 928 | 2000-07-24 Daniel Berlin <dberlin@redhat.com> |
| 929 | |
| 930 | * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to |
| 931 | if (AUTO_DEMANGLING || GNU_DEMANGLING) |
| 932 | |
| 933 | 2000-07-21 Alex Samuel <samuel@codesourcery.com> |
| 934 | |
| 935 | * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge |
| 936 | allocating ctor mangling. |
| 937 | (demangle_array_type): Handle empty and non-constant array length. |
| 938 | |
| 939 | 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
| 940 | Jeff Law <law@cygnus.com> |
| 941 | |
| 942 | * configure.in (AC_CHECK_HEADERS): Add time.h. |
| 943 | (AC_HEADER_TIME): Add check. |
| 944 | * configure, config.in: Regenerate. |
| 945 | * getruntime.c: Portably #include <sys/time.h> and/or <time.h>. |
| 946 | |
| 947 | * configure.in (AC_CHECK_HEADERS): Add limits.h. |
| 948 | * configure, config.in: Regenerate. |
| 949 | * sort.c: Portably #include <limits.h> and/or <sys/param.h>. |
| 950 | * strtol.c, strtoul.c: #include "config.h". Portably #include |
| 951 | <limits.h> and/or <sys/param.h>. |
| 952 | * Makefile.in (strtol.o, strtoul.o): Update dependencies. |
| 953 | |
| 954 | * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro. |
| 955 | * configure.in (libiberty_AC_DECLARE_ERRNO): Add check. |
| 956 | * configure, config.in: Regenerate. |
| 957 | * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary. |
| 958 | |
| 959 | * cp-demangle.c, mkstemps.c: #include <sys/types.h>. |
| 960 | |
| 961 | 2000-07-21 Mike Stump <mrs@wrs.com> |
| 962 | |
| 963 | * Makefile.in (xexit.o): Add dependency for config.h in xexit.c. |
| 964 | * (vasprintf.o): Add dependency for config.h in vasprintf.c. |
| 965 | |
| 966 | 2000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 967 | |
| 968 | * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2. |
| 969 | |
| 970 | * setenv.c (setenv): Initialize variable `ep'. |
| 971 | |
| 972 | * sigsetmask.c (abort): Prototype. |
| 973 | |
| 974 | * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not |
| 975 | __STDC__ for stdarg.h include. |
| 976 | (int_vasprintf): Prototype. |
| 977 | (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in |
| 978 | definition. Cast `global_total_width' in comparison. |
| 979 | (main): Prototype. Return a value. |
| 980 | |
| 981 | * vfork.c (fork): Prototype. |
| 982 | |
| 983 | * xexit.c: Include config.h. |
| 984 | |
| 985 | 2000-07-20 Joseph S. Myers <jsm28@cam.ac.uk> |
| 986 | |
| 987 | * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int, |
| 988 | and print it with %u. |
| 989 | |
| 990 | 2000-07-17 Hans-Peter Nilsson <hp@axis.com> |
| 991 | |
| 992 | * testsuite/regress-demangle (failed test): Show result and |
| 993 | expected output. |
| 994 | |
| 995 | 2000-07-07 Andrew Haley <aph@cygnus.com> |
| 996 | |
| 997 | * cplus-dem.c (main): fflush() after emitting last char before |
| 998 | waiting for input. |
| 999 | |
| 1000 | 2000-06-28 Alex Samuel <samuel@codesourcery.com> |
| 1001 | |
| 1002 | * cp-demangle.c (demangle_encoding): Accept no substitutions. |
| 1003 | (demangle_name): Handle <substitution> followed by |
| 1004 | <unqualified-template-name>. |
| 1005 | (demangle_type): Follow special substitutions with |
| 1006 | <class-enum-type> |
| 1007 | (demangle_subtitution): Set template_p for special substitutions. |
| 1008 | (main): Fix typos. |
| 1009 | |
| 1010 | 2000-06-27 Alex Samuel <samuel@codesourcery.com> |
| 1011 | |
| 1012 | * cp-demangle.c (demangle_special_name): Swap base and derived |
| 1013 | class when demangling construction vtables. |
| 1014 | |
| 1015 | 2000-06-21 Alex Samuel <samuel@codesourcery.com> |
| 1016 | |
| 1017 | * cp-demangle.c: Don't include ctype.h. |
| 1018 | (IS_DIGIT): New macro. |
| 1019 | (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout |
| 1020 | instead of isdigit and isalpanum. |
| 1021 | (demangling_def): Make name and next const pointers. |
| 1022 | (STATUS_ALLOCATION_FAILED): New status code. |
| 1023 | (dyn_string_append_space): Handle failure in |
| 1024 | dyn_string_append_char. |
| 1025 | (int_to_dyn_string): Likewise. Change return value to status_t. |
| 1026 | (string_list_new): Handle failure of dyn_string_init. |
| 1027 | (result_close_template_list): Change return type to status_t. |
| 1028 | Handle failure in dyn_string_append. |
| 1029 | (result_push): Change return value to status_t. Handle failure in |
| 1030 | string_list_new. Handle failure of result_push throughout. |
| 1031 | (substitution_add): Change return value to status_t. Handle |
| 1032 | dyn_string failures. Handle failure of substitution_add |
| 1033 | throughout. |
| 1034 | (template_arg_list_new): Return NULL on allocation failure. |
| 1035 | (result_append_string): Return STATUS_ALLOCATION_FAILED on error. |
| 1036 | Handle error result throughout. |
| 1037 | (result_append): Likewise. |
| 1038 | (result_append_char): Likewise. |
| 1039 | (result_append_space): Likewise. |
| 1040 | (demangling_new): Make argument a const pointer. Handle |
| 1041 | allocation failures. |
| 1042 | (demangle_template_args): Handle failure in template_arg_list_new |
| 1043 | and result_close_template_list. |
| 1044 | (demangle_discriminator): Return if int_to_dyn_string fails. |
| 1045 | (cp_demangle): Likewise. |
| 1046 | (cp_demangle_type): New function. |
| 1047 | (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on |
| 1048 | memory allocation failure. |
| 1049 | (main): Likewise. |
| 1050 | * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if |
| 1051 | IN_LIBGCC2. |
| 1052 | (dyn_string_init): Change return value to int. Handle |
| 1053 | RETURN_ON_ALLOCATION_FAILURE case. |
| 1054 | (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case. |
| 1055 | (dyn_string_release): Delete the dyn_string. |
| 1056 | (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case. |
| 1057 | (dyn_string_copy): Change return type to int. |
| 1058 | (dyn_string_copy_cstr): Likewise. |
| 1059 | (dyn_string_prepend): Likewise. |
| 1060 | (dyn_string_prepend_cstr): Likewise. |
| 1061 | (dyn_string_insert): Likewise. |
| 1062 | (dyn_string_insert_cstr): Likewise. |
| 1063 | (dyn_string_append): Likewise. |
| 1064 | (dyn_string_append_cstr): Likewise. |
| 1065 | (dyn_string_append_char): Likewise. |
| 1066 | (dyn_string_substring): Likewise. |
| 1067 | |
| 1068 | 2000-06-09 Zack Weinberg <zack@wolery.cumb.org> |
| 1069 | |
| 1070 | * cp-demangle.c (demangle_operator_name): Add spaces before |
| 1071 | names beginning with a letter: delete, delete[], new, new[], |
| 1072 | sizeof. |
| 1073 | (demangle_special_name): Handle TF <type> and TJ <type>. |
| 1074 | |
| 1075 | Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be> |
| 1076 | |
| 1077 | * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch. |
| 1078 | |
| 1079 | Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be> |
| 1080 | |
| 1081 | * cp-demangle.c (stdio.h): File included unconditionaly. |
| 1082 | (template_arg_list_new): Parameter list is PARAMS ((void)), not (). |
| 1083 | * dyn-string.c (stdio.h): File included. |
| 1084 | * partition.c (partition_print): No `&' needed to take the address of |
| 1085 | a function. |
| 1086 | |
| 1087 | 2000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1088 | |
| 1089 | * configure.in (ac_libiberty_warn_cflags): Add -pedantic. |
| 1090 | |
| 1091 | * choose-temp.c (try, choose_temp_base, make_temp_file): Constify. |
| 1092 | |
| 1093 | * cp-demangle.c (demangle_char): Change parameter from char to int. |
| 1094 | (demangle_expression, demangle_expr_primary): Remove extra |
| 1095 | semi-colon in prototype. |
| 1096 | |
| 1097 | * dyn-string.c (dyn_string_append_char): Change parameter from |
| 1098 | char to int. |
| 1099 | |
| 1100 | * memcmp.c (memcmp): Constify. |
| 1101 | |
| 1102 | * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with |
| 1103 | __extension__. |
| 1104 | |
| 1105 | * partition.c (elem_compare): Prototype. Don't cast away |
| 1106 | const-ness. |
| 1107 | |
| 1108 | * setenv.c (setenv): Use braces to avoid ambiguous `else'. |
| 1109 | |
| 1110 | 2000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1111 | |
| 1112 | * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h. |
| 1113 | |
| 1114 | * cp-demangle.c: Include demangle.h. |
| 1115 | (template_arg_list_new): DeANSIfy. |
| 1116 | (cp_demangle): Make static and add prototype. |
| 1117 | (operator_code, operators): Constify. |
| 1118 | (demangle_operator_name): Likewise for variables `p1', `p2' and `p'. |
| 1119 | |
| 1120 | 2000-06-05 Alex Samuel <samuel@codesourcery.com> |
| 1121 | |
| 1122 | * cp-demangle.c (demangle_prefix): Cast argument to isdigit to |
| 1123 | unsigned char. |
| 1124 | (demangle_unqualified_name): Likewise. |
| 1125 | (demangle_number_literally): Likewise. |
| 1126 | (demangle_type): Likewise. |
| 1127 | (demangle_substitution): Likewise. |
| 1128 | (is_mangled_char): Likewise, for isalnum. |
| 1129 | |
| 1130 | 2000-06-04 Alex Samuel <samuel@codesourcery.com> |
| 1131 | |
| 1132 | * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c. |
| 1133 | (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o. |
| 1134 | (cp-demangle.o): New dependency. |
| 1135 | (dyn-string.o): Likewise. |
| 1136 | |
| 1137 | * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions. |
| 1138 | |
| 1139 | * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI |
| 1140 | demangler. |
| 1141 | (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI |
| 1142 | demangling mode. |
| 1143 | (gnu_new_abi_symbol_characters): New function. |
| 1144 | (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New |
| 1145 | file. |
| 1146 | * cp-demangle.c: New file. |
| 1147 | |
| 1148 | Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com> |
| 1149 | |
| 1150 | * floatformat.c: Add name to each floatformat field. |
| 1151 | |
| 1152 | Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com) |
| 1153 | |
| 1154 | * Makefile.in (objalloc.o): Depend on config.h |
| 1155 | |
| 1156 | 2000-05-29 Zack Weinberg <zack@wolery.cumb.org> |
| 1157 | |
| 1158 | * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h |
| 1159 | if HAVE_STRING_H. |
| 1160 | * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H. |
| 1161 | * objalloc.c: Include config.h. Include stdlib.h and don't |
| 1162 | declare malloc or free if HAVE_STDLIB_H. |
| 1163 | * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H, |
| 1164 | else declare malloc without prototype. Include string.h if |
| 1165 | HAVE_STRING_H, else declare memset without prototype. Don't |
| 1166 | include stddef.h. |
| 1167 | |
| 1168 | 2000-05-23 Mike Stump <mrs@wrs.com> |
| 1169 | |
| 1170 | * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make |
| 1171 | -j3. |
| 1172 | |
| 1173 | 2000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
| 1174 | |
| 1175 | * xmalloc.c: Include config.h for HAVE_SBRK definition. |
| 1176 | |
| 1177 | 2000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl> |
| 1178 | |
| 1179 | * hashtab.c (hash_pointer): Delete low-order bits which are |
| 1180 | probably zero, also eliminate a warning on alpha. |
| 1181 | |
| 1182 | 2000-05-15 David Edelsohn <edelsohn@gnu.org> |
| 1183 | |
| 1184 | * Makefile.in: Change "pic" to depend on $(PICFLAG), not |
| 1185 | on $(enable_shared). |
| 1186 | |
| 1187 | 2000-05-10 Jakub Jelinek <jakub@redhat.com> |
| 1188 | |
| 1189 | * config.table: Use mh-sparcpic for sparc*-*-*. |
| 1190 | |
| 1191 | 2000-05-08 Nick Clifton <nickc@cygnus.com> |
| 1192 | |
| 1193 | * Makefile.in (CFILES): Add strncmp.c. |
| 1194 | (NEEDED): Add strncmp. |
| 1195 | |
| 1196 | 2000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1197 | |
| 1198 | * cplus-dem.c (cplus_demangle_opname, demangle_function_name): |
| 1199 | Cast the arguments to `islower' to `unsigned char'. |
| 1200 | (print_demangler_list): Prototype. |
| 1201 | |
| 1202 | Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be> |
| 1203 | |
| 1204 | * sort.c (UCHAR_MAX): Provide fallback definition. |
| 1205 | |
| 1206 | 2000-04-29 Alexandre Oliva <aoliva@cygnus.com> |
| 1207 | |
| 1208 | * Makefile.in (maintainer-clean-subdir): Fix handling of empty |
| 1209 | SUBDIRS. |
| 1210 | |
| 1211 | 2000-04-28 Kenneth Block <block@zk3.dec.com> |
| 1212 | Jason Merrill <jason@casey.cygnus.com> |
| 1213 | |
| 1214 | * cplus-dem.c (libiberty_demanglers): New table for demangle styles. |
| 1215 | (cplus_demangle_set_style): New function for setting style. |
| 1216 | (cplus_demangle_name_to_style): New function to translate name. |
| 1217 | |
| 1218 | 2000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1219 | |
| 1220 | * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP. |
| 1221 | |
| 1222 | * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h. |
| 1223 | (libiberty_AC_FUNC_STRNCMP): Invoke. |
| 1224 | |
| 1225 | * strncmp.c: New file. |
| 1226 | |
| 1227 | Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz> |
| 1228 | |
| 1229 | * hashtab.c (htab_expand): Add prototype. |
| 1230 | (find_empty_slot_for_expand): Likewise. |
| 1231 | |
| 1232 | 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1233 | |
| 1234 | * hashtab.c (hash_pointer, eq_pointer): Make definition static to |
| 1235 | match prototype. |
| 1236 | (htab_expand): Cast the return value of xcalloc. |
| 1237 | |
| 1238 | 2000-04-24 Mark Mitchell <mark@codesourcery.com> |
| 1239 | |
| 1240 | * hashtab.c (hash_pointer): New function. |
| 1241 | (eq_pointer): Likewise. |
| 1242 | (htab_hash_pointer): New variable. |
| 1243 | (htab_eq_pointer): Likewise. |
| 1244 | |
| 1245 | 2000-04-23 Mark Mitchell <mark@codesourcery.com> |
| 1246 | |
| 1247 | * sort.c (sort_pointers): Fix endianness bugs. |
| 1248 | |
| 1249 | * sort.c: New file. |
| 1250 | * Makefile.in (CFILES): Add sort.c |
| 1251 | (REQUIRED_OFILES): Add sort.o. |
| 1252 | (sort.o): New target. |
| 1253 | |
| 1254 | 2000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
| 1255 | |
| 1256 | * Makefile.in (*-subdir): Revamp slightly to avoid losing on |
| 1257 | 4.3BSD systems. |
| 1258 | |
| 1259 | Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
| 1260 | |
| 1261 | * hashtab.c: Various minor cleanups. |
| 1262 | (htab_find_slot_with_hash): INSERT is now enum insert_option. |
| 1263 | (htab_find_slot): Likewise. |
| 1264 | |
| 1265 | 2000-04-16 Dave Pitts <dpitts@cozx.com> |
| 1266 | |
| 1267 | * cplus-dem.c (cplus_demangle_opname): Changed to use islower. |
| 1268 | |
| 1269 | 2000-04-05 Richard Henderson <rth@cygnus.com> |
| 1270 | |
| 1271 | * splay-tree.c (splay_tree_remove): New. |
| 1272 | |
| 1273 | 2000-03-30 Mark Mitchell <mark@codesourcery.com> |
| 1274 | |
| 1275 | * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash |
| 1276 | codes. |
| 1277 | (htab_find_with_hash): Likewise. |
| 1278 | (htab_find_slot_with_hash): Likewise. |
| 1279 | |
| 1280 | 2000-03-29 Zack Weinberg <zack@wolery.cumb.org> |
| 1281 | |
| 1282 | * hashtab.c (htab_find_with_hash): Avoid calculating hash2 |
| 1283 | unless it will be used. Rearrange loop for better |
| 1284 | optimization. |
| 1285 | (higher_prime_number): Add static prototype. |
| 1286 | |
| 1287 | Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com) |
| 1288 | |
| 1289 | * Makefile.in (partition.o): Depend on config.h |
| 1290 | |
| 1291 | 2000-03-14 Bernd Schmidt <bernds@cygnus.co.uk> |
| 1292 | |
| 1293 | * hashtab.c (find_empty_slot_for_expand): New function. |
| 1294 | (htab_expand): Use it instead of htab_find_slot. |
| 1295 | (htab_find_with_hash): Renamed from htab_find; now accepts extra |
| 1296 | argument HASH. |
| 1297 | (htab_find_slot_with_hash): Likewise for htab_find_slot. |
| 1298 | (htab_find): New wrapper function. |
| 1299 | (htab_find_slot): Likewise. |
| 1300 | (htab_traverse): Pass slot, not entry, to called function. |
| 1301 | |
| 1302 | 2000-03-09 Alex Samuel <samuel@codesourcery.com> |
| 1303 | |
| 1304 | * Makefile.in (CFILES): Add partition.c. |
| 1305 | (REQUIRED_OFILES): Add partition.o. |
| 1306 | (partition.o): New rule. |
| 1307 | * partition.c: New file. |
| 1308 | |
| 1309 | 2000-03-09 Zack Weinberg <zack@wolery.cumb.org> |
| 1310 | |
| 1311 | * hashtab.c (htab_create): Set del_f. |
| 1312 | (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot): |
| 1313 | Use it. |
| 1314 | |
| 1315 | 2000-03-08 Zack Weinberg <zack@wolery.cumb.org> |
| 1316 | |
| 1317 | * hashtab.c: Remove debugging variables (all_searches, |
| 1318 | all_collisions, all_expansions). Delete |
| 1319 | all_hash_table_collisions. |
| 1320 | (create_hash_table, delete_hash_table, empty_hash_table, |
| 1321 | find_hash_table_entry, remove_element_from_hash_table_entry, |
| 1322 | clear_hash_table_slot, traverse_hash_table, hash_table_size, |
| 1323 | hash_table_elements_number, hash_table_collisions): Rename to: |
| 1324 | htab_create, htab_delete, htab_empty, htab_find_slot, |
| 1325 | htab_remove_elt, htab_clear_slot, htab_traverse, htab_size, |
| 1326 | htab_elements, htab_collisions. |
| 1327 | (htab_find): New function, handles common case where you don't |
| 1328 | plan to add or delete an entry. |
| 1329 | (htab_expand): Don't create a whole new table, just a new |
| 1330 | entry vector. |
| 1331 | (htab_find_slot): Simplify logic. |
| 1332 | |
| 1333 | 1999-08-03 Ian Lance Taylor <ian@zembu.com> |
| 1334 | |
| 1335 | * floatformat.c: Add casts to avoid signed/unsigned warnings. |
| 1336 | * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix. |
| 1337 | |
| 1338 | * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to |
| 1339 | $(TARGETLIB)n so it works on MSDOS. |
| 1340 | (install_to_tooldir): Likewise. |
| 1341 | |
| 1342 | 1999-07-21 Ian Lance Taylor <ian@zembu.com> |
| 1343 | |
| 1344 | From Mark Elbrecht: |
| 1345 | * makefile.dos: Remove; obsolete. |
| 1346 | * configure.bat: Remove; obsolete. |
| 1347 | |
| 1348 | 1999-07-11 Ian Lance Taylor <ian@zembu.com> |
| 1349 | |
| 1350 | * splay-tree.c (splay_tree_insert): Add initialization to avoid |
| 1351 | warning. |
| 1352 | |
| 1353 | 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu> |
| 1354 | |
| 1355 | * pexecute.c: Conditionally include string.h. |
| 1356 | (fix_argv): Handle embedded whitespace in args for Mingw32. |
| 1357 | |
| 1358 | 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1359 | |
| 1360 | * configure.in (ac_libiberty_warn_cflags): Turn on warnings if |
| 1361 | we're using gcc. |
| 1362 | |
| 1363 | * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@ |
| 1364 | |
| 1365 | 1999-12-27 Geoff Keating <geoffk@cygnus.com> |
| 1366 | |
| 1367 | * vasprintf.c (int_vasprintf): Don't re-read the format character |
| 1368 | as this mishandles strings like '%%s'. |
| 1369 | |
| 1370 | 1999-12-05 Mark Mitchell <mark@codesourcery.com> |
| 1371 | |
| 1372 | * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s |
| 1373 | rather than struct splay_tree_node. |
| 1374 | (splay_tree_insert): Use struct splay_tree_s rather than struct |
| 1375 | splay_tree. |
| 1376 | |
| 1377 | Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be> |
| 1378 | |
| 1379 | * hashtab.c (sys/types.h): File included. |
| 1380 | |
| 1381 | 1999-11-22 Jason Merrill <jason@casey.cygnus.com> |
| 1382 | |
| 1383 | * strtoul.c, strtol.c, random.c: Remove advertising clause from |
| 1384 | BSD license, pursuant with |
| 1385 | |
| 1386 | ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change |
| 1387 | |
| 1388 | Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com) |
| 1389 | |
| 1390 | * hashtab.c: Include stdio.h. |
| 1391 | |
| 1392 | Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com) |
| 1393 | |
| 1394 | * hashtab.c (traverse_hash_table): Protect prototype with PARAMS. |
| 1395 | |
| 1396 | Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be> |
| 1397 | |
| 1398 | * xstrdup (sys/types.h): Include this file. |
| 1399 | |
| 1400 | 1999-10-28 Nathan Sidwell <nathan@acm.org> |
| 1401 | |
| 1402 | * Makefile.in (SUBDIRS): New macro. |
| 1403 | (mostlyclean, clean, distclean, maintainer-clean): Adjust to |
| 1404 | avoid multiple subdirectory cleaning. |
| 1405 | (*-subdir): Use SUBDIRS. |
| 1406 | |
| 1407 | 1999-10-25 Jim Kingdon <http://developer.redhat.com/> |
| 1408 | |
| 1409 | * cplus-dem.c: Move declarations of standard_symbol_characters and |
| 1410 | hp_symbol_characters inside #ifdef MAIN to avoid compiler |
| 1411 | warnings. |
| 1412 | |
| 1413 | 1999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com> |
| 1414 | |
| 1415 | * hashtab.c (find_hash_table_entry): When returning a |
| 1416 | DELETED_ENTRY slot, change it to EMPTY_ENTRY first. |
| 1417 | (clear_hash_table_slot): New function which deletes an entry |
| 1418 | by its position in the table, not its value. |
| 1419 | (traverse_hash_table): New function which calls a hook |
| 1420 | function for every live entry in the table. |
| 1421 | |
| 1422 | 1999-10-19 Mark Mitchell <mark@codesourcery.com> |
| 1423 | |
| 1424 | * cplus-dem.c (INTBUF_SIZE): New macro. |
| 1425 | (string_append_template_idx): New function. |
| 1426 | (demangle_expression): Likewise. |
| 1427 | (demangle_integral_value): Use it. |
| 1428 | (demangle_real_value): New function, split out from ... |
| 1429 | (demangle_template_value_parm): ... here. Use |
| 1430 | string_append_template_idx. Use demangle_real_value. |
| 1431 | (demangle_template): Use string_append_template_idx. |
| 1432 | (demangle_qualified): Use consume_count_with_underscores. |
| 1433 | (get_count): Tweak formatting. |
| 1434 | (do_type): Use string_append_template_idx. |
| 1435 | |
| 1436 | 1999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1437 | |
| 1438 | * calloc.c: Add a public domain notice. |
| 1439 | |
| 1440 | Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be> |
| 1441 | |
| 1442 | * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly. |
| 1443 | |
| 1444 | Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com> |
| 1445 | |
| 1446 | * Makefile.in (CFILES): Add hashtab.c |
| 1447 | (REQUIRED_OFILES): Add hashtab.o |
| 1448 | (hashtab.o): Add dependencies. |
| 1449 | * hashtab.c: New file |
| 1450 | |
| 1451 | Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu> |
| 1452 | |
| 1453 | * basename.c (DIR_SEPARATOR): New macro. |
| 1454 | (DIR_SEPARATOR_2): Likewise. |
| 1455 | (HAVE_DOS_BASED_FILESYSTEM): Likewise. |
| 1456 | (IS_DIR_SEPARATOR): Likewise. |
| 1457 | (main): Handle MSDOS style pathname. |
| 1458 | |
| 1459 | 1999-10-11 Mark Mitchell <mark@codesourcery.com> |
| 1460 | |
| 1461 | * cplus-dem.c (do_type): Handle pointer to member types whose |
| 1462 | enclosing classes have namespace scope. |
| 1463 | |
| 1464 | Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org> |
| 1465 | |
| 1466 | * config.table: Provide a backup shell for executing move-if-change. |
| 1467 | |
| 1468 | 1999-10-02 Mark Mitchell <mark@codesourcery.com> |
| 1469 | |
| 1470 | * xmalloc.c (xmalloc): Fix spelling error. |
| 1471 | (xcalloc, xrealloc): Likewise. |
| 1472 | |
| 1473 | 1999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1474 | |
| 1475 | * cplus-dem.c (fancy_abort, demangle_integral_value, |
| 1476 | demangle_arm_hp_template, recursively_demangle, |
| 1477 | standard_symbol_characters, hp_symbol_characters, main): Add prototype. |
| 1478 | (program_name, program_version, fatal): Constify a char*. |
| 1479 | (usage, fatal): Mark with ATTRIBUTE_NORETURN. |
| 1480 | (main): Call return, not exit. |
| 1481 | |
| 1482 | 1999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1483 | |
| 1484 | * choose-temp.c: Remove obsolete comment about gcc. |
| 1485 | (make_temp_file): Constify a char*. |
| 1486 | |
| 1487 | Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1488 | |
| 1489 | * xmemdup.c: Include sys/types.h. |
| 1490 | |
| 1491 | 1999-09-07 Jeff Garzik <jgarzik@pobox.com> |
| 1492 | |
| 1493 | * xmemdup.c: New xmemdup function. |
| 1494 | * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co]. |
| 1495 | |
| 1496 | Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org> |
| 1497 | |
| 1498 | * config.table: Add openedition target. |
| 1499 | * config/mh-openedition: New file. |
| 1500 | |
| 1501 | Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org> |
| 1502 | |
| 1503 | * pexecute.c (pexecute): Fill in temp_base when needed. |
| 1504 | |
| 1505 | 1999-08-31 Richard Henderson <rth@cygnus.com> |
| 1506 | |
| 1507 | * getpwd.c: Check HAVE_GETCWD before defining it away. |
| 1508 | |
| 1509 | 1999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1510 | |
| 1511 | * Makefile.in (CFILES): Add calloc.c and getpwd.c. |
| 1512 | (REQUIRED_OFILES): Add getpwd.o. |
| 1513 | (getpwd.o): Add target. |
| 1514 | |
| 1515 | * configure.in (AC_PREREQ): Bump to 2.13. |
| 1516 | (AC_CHECK_HEADERS): Add check for <sys/stat.h>. |
| 1517 | |
| 1518 | * getpwd.c: New file, moved here from gcc. |
| 1519 | |
| 1520 | 1999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1521 | |
| 1522 | * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when |
| 1523 | comparing against a signed quantity. |
| 1524 | (arm_special): Likewise. |
| 1525 | (demangle_fund_type): Likewise. |
| 1526 | (do_hpacc_template_const_value): Mark parameter `work' with |
| 1527 | ATTRIBUTE_UNUSED. |
| 1528 | (main): Constify variable `valid_symbols'. |
| 1529 | |
| 1530 | Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be> |
| 1531 | |
| 1532 | * strtoul.c (strtoul): Add parentheses around && within ||. |
| 1533 | |
| 1534 | Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org> |
| 1535 | |
| 1536 | * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix, |
| 1537 | libdir, libsubdir and tooldir. |
| 1538 | |
| 1539 | 1999-08-01 Mark Mitchell <mark@codesourcery.com> |
| 1540 | |
| 1541 | * splay-tree.c (splay_tree_insert): Return the new node. |
| 1542 | |
| 1543 | 1999-07-14 Richard Henderson <rth@cygnus.com> |
| 1544 | |
| 1545 | * argv.c: Include stdlib.h and string.h instead of |
| 1546 | prototyping directly. |
| 1547 | * choose-temp.c: Conditionally include string.h. |
| 1548 | |
| 1549 | 1999-07-12 Jason Merrill <jason@yorick.cygnus.com> |
| 1550 | |
| 1551 | * Makefile.in (NEEDED): Add bcmp, bcopy, bzero. |
| 1552 | |
| 1553 | 1999-07-11 Ian Lance Taylor <ian@zembu.com> |
| 1554 | |
| 1555 | * splay-tree.c (splay_tree_insert): Add initialization to avoid |
| 1556 | warning. |
| 1557 | |
| 1558 | 1999-07-07 Jason Merrill <jason@yorick.cygnus.com> |
| 1559 | |
| 1560 | * Makefile.in (needed-list): Only include stuff we actually need |
| 1561 | for libstdc++. |
| 1562 | |
| 1563 | 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> |
| 1564 | |
| 1565 | * configure.in (checkfuncs): Add gettimeofday. |
| 1566 | * config.in, configure: Regenerated. |
| 1567 | |
| 1568 | Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu> |
| 1569 | |
| 1570 | * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if |
| 1571 | the test fails. |
| 1572 | * configure: Regenerate. |
| 1573 | |
| 1574 | 1999-06-10 Mike Stump <mrs@wrs.com> |
| 1575 | |
| 1576 | * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix |
| 1577 | parallel builds. |
| 1578 | |
| 1579 | 1999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1580 | |
| 1581 | * putenv.c: Include ansidecl.h to define `const'. |
| 1582 | * setenv.c: Likewise. |
| 1583 | |
| 1584 | Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca> |
| 1585 | |
| 1586 | * Makefile.in (CFILES): Add putenv.c and setenv.c. |
| 1587 | * configure.in (funcs): Add putenv and setenv. |
| 1588 | (AC_CHECK_FUNCS): Check for putenv and setenv. |
| 1589 | * configure: Rebuilt. |
| 1590 | * putenv.c setenv.c: New files. |
| 1591 | |
| 1592 | * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE |
| 1593 | bytes of space using malloc. |
| 1594 | |
| 1595 | Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com> |
| 1596 | |
| 1597 | * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance |
| 1598 | the *mangled pointer beyond the end of the string. Clean up code to |
| 1599 | match prevailing coding style. |
| 1600 | |
| 1601 | 1999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
| 1602 | |
| 1603 | * tmpnam.c (L_tmpnam): Fix typo. |
| 1604 | |
| 1605 | Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org> |
| 1606 | |
| 1607 | * cplus-dem.c (standard_symbol_characters): Renamed from |
| 1608 | standard_symbol_alphabet. No longer modify TABLE. |
| 1609 | (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer |
| 1610 | modify TABLE. |
| 1611 | (main): Corresponding changes. Use strchr to determine if a |
| 1612 | character is valid. |
| 1613 | |
| 1614 | 1999-05-11 Jim Blandy <jimb@zwingli.cygnus.com> |
| 1615 | |
| 1616 | * cplus-dem.c (main): Use table lookup to distinguish identifier |
| 1617 | characters from non-identifier characters. |
| 1618 | (standard_symbol_alphabet, hp_symbol_alphabet): New functions. |
| 1619 | |
| 1620 | Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com> |
| 1621 | |
| 1622 | * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list. |
| 1623 | * getruntime.c: Only attempt to include sys/resource.h and |
| 1624 | use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H |
| 1625 | are defined. |
| 1626 | |
| 1627 | Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com) |
| 1628 | |
| 1629 | * configure.in (alloca detection): Handle alloca directly for interix. |
| 1630 | * configure: Rebuilt. |
| 1631 | |
| 1632 | Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu> |
| 1633 | |
| 1634 | * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32. |
| 1635 | |
| 1636 | 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com> |
| 1637 | |
| 1638 | Fix from Dale Hawkins: |
| 1639 | * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be |
| 1640 | reallocated properly if we use it again. |
| 1641 | |
| 1642 | * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be |
| 1643 | stricter about syntax. Always null-terminate string. |
| 1644 | |
| 1645 | Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu> |
| 1646 | |
| 1647 | * configure.in (checkfuncs): Check for sbrk. |
| 1648 | * config.in: Rebuilt. |
| 1649 | * configure: Likewise. |
| 1650 | * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions. |
| 1651 | |
| 1652 | 1999-04-12 Jim Blandy <jimb@zwingli.cygnus.com> |
| 1653 | |
| 1654 | Fix from Marcus Daniels: |
| 1655 | * cplus-dem.c (demangle_fund_type): Don't run off the end of the |
| 1656 | identifier looking for another underscore. |
| 1657 | |
| 1658 | Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu> |
| 1659 | |
| 1660 | * pexecute.c: Change all references to __UWIN__ to _UWIN. |
| 1661 | * xmalloc.c: Likewise. |
| 1662 | (xcalloc): UWIN has sbrk. |
| 1663 | (xrealloc): Fix guard macro. |
| 1664 | |
| 1665 | 1999-04-11 Richard Henderson <rth@cygnus.com> |
| 1666 | |
| 1667 | * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin |
| 1668 | or <alloca.h>. |
| 1669 | * clock.c (GNU_HZ): New definition. |
| 1670 | (clock): Use it. |
| 1671 | * getruntime.c: Likewise. |
| 1672 | |
| 1673 | * config.table: Use mh-beos. |
| 1674 | * config/mh-beos: New file. |
| 1675 | |
| 1676 | 1999-04-11 Mark Mitchell <mark@codesourcery.com> |
| 1677 | |
| 1678 | * cplus-dem.c (demangle_template_value_parm): Handle |
| 1679 | pointers-to-members. |
| 1680 | (do_type): Handle template parameters as qualifiers. |
| 1681 | |
| 1682 | 1999-04-01 Jim Blandy <jimb@zwingli.cygnus.com> |
| 1683 | |
| 1684 | * cplus-dem.c: Attempt to handle overflows in counts with some |
| 1685 | semblance of grace. |
| 1686 | (consume_count): Detect overflows. Return -1 to indicate errors, |
| 1687 | instead of zero. |
| 1688 | (demangle_template_value_parm, demangle_template): Handle change |
| 1689 | to consume_count's return convention. |
| 1690 | |
| 1691 | 1999-04-05 Tom Tromey <tromey@cygnus.com> |
| 1692 | |
| 1693 | * testsuite/regress-demangle: New file. |
| 1694 | * testsuite/demangle-expected: New file. |
| 1695 | |
| 1696 | * Makefile.in (all, check, installcheck, info, install-info, |
| 1697 | clean-info, dvi, install, etags, tags, mostlyclean, clean, |
| 1698 | distclean, maintainer-clean, realclean): Depend on corresponding |
| 1699 | `-subdir' target. |
| 1700 | (all-subdir check-subdir installcheck-subdir info-subdir |
| 1701 | install-info-subdir clean-info-subdir dvi-subdir |
| 1702 | install-info-subdir etags-subdir mostlyclean-subdir clean-subdir |
| 1703 | distclean-subdir maintainer-clean-subdir): New target. |
| 1704 | * testsuite/Makefile.in: New file. |
| 1705 | * configure: Rebuilt. |
| 1706 | * configure.in: Create testsuite/Makefile. |
| 1707 | |
| 1708 | 1999-04-02 Mark Mitchell <mark@codesourcery.com> |
| 1709 | |
| 1710 | * splay-tree.h (splay_tree_compare_pointers): Define. |
| 1711 | |
| 1712 | 1999-03-30 Mark Mitchell <mark@codesourcery.com> |
| 1713 | |
| 1714 | * splay-tree.c (splay_tree_compare_ints): Define. |
| 1715 | |
| 1716 | 1999-03-30 Tom Tromey <tromey@cygnus.com> |
| 1717 | |
| 1718 | * cplus-dem.c (consume_count): If `count' wraps, return 0 and |
| 1719 | don't advance input pointer. |
| 1720 | (demangle_class_name): If consume_count didn't find a count, do |
| 1721 | nothing. Don't bother with `strlen' sanity check; consume_count |
| 1722 | does it for us. |
| 1723 | |
| 1724 | 1999-03-16 Stan Shebs <shebs@andros.cygnus.com> |
| 1725 | |
| 1726 | From Art Haas <ahaas@neosoft.com>: |
| 1727 | * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings |
| 1728 | when doing arm or hp style. |
| 1729 | (demangle_nested_args): Decr forgetting_types field when done. |
| 1730 | |
| 1731 | Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu> |
| 1732 | |
| 1733 | * pexecute.c (__CYGWIN32__): Rename to |
| 1734 | (__CYGWIN__): this. |
| 1735 | * xmalloc.c: Likewise. |
| 1736 | |
| 1737 | Changes to support i386-pc-uwin. |
| 1738 | * configure.in (*-*-uwin*): Workaround for vfork bug. |
| 1739 | * configure: Regenerate. |
| 1740 | * pexecute.c (pexecute): Be like standard Unix. |
| 1741 | (pwait): Likewise. |
| 1742 | * xmalloc.c (first_break): Define. |
| 1743 | (xmalloc_set_program_name): Use. |
| 1744 | (xmalloc): Use. |
| 1745 | |
| 1746 | Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
| 1747 | |
| 1748 | * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc |
| 1749 | |
| 1750 | Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com> |
| 1751 | |
| 1752 | * config.table: Check cygwin*, not cygwin32*. |
| 1753 | |
| 1754 | Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com> |
| 1755 | |
| 1756 | * Makefile.in: Change mkstemp -> mkstemps. |
| 1757 | |
| 1758 | Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr> |
| 1759 | |
| 1760 | * Makefile.in (REQUIRED_OFILES): remove mkstemp.o |
| 1761 | * configure.in (funcs): Check for and conditionally add mkstemps to |
| 1762 | the list of functions libiberty will provide. |
| 1763 | * configure: Rebuilt. |
| 1764 | |
| 1765 | Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu> |
| 1766 | |
| 1767 | * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on |
| 1768 | platforms that don't have HZ. |
| 1769 | * getruntime.c (HZ): Likewise. |
| 1770 | |
| 1771 | Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com> |
| 1772 | |
| 1773 | * Makefile.in (xstrdup.o): Depend on config.h. |
| 1774 | |
| 1775 | Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org) |
| 1776 | |
| 1777 | * cplus-dem.c (mop_up): Set work->previous_argument to NULL after |
| 1778 | freeing it. |
| 1779 | |
| 1780 | Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1781 | |
| 1782 | * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed. |
| 1783 | |
| 1784 | Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com> |
| 1785 | |
| 1786 | * Makefile.in (CFILES): fix typo, splay-tree.c instead of |
| 1787 | splay-tree.o. |
| 1788 | |
| 1789 | 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com) |
| 1790 | |
| 1791 | * configure.in: Require autoconf 2.12.1 or higher. |
| 1792 | |
| 1793 | 1998-12-30 Michael Meissner <meissner@cygnus.com> |
| 1794 | |
| 1795 | * random.c (NULL): Don't redefine NULL if it is already defined. |
| 1796 | |
| 1797 | Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1798 | |
| 1799 | * argv.c (buildargv): Cast the result of alloca in assignment. |
| 1800 | |
| 1801 | * choose-temp.c: Include stdlib.h. |
| 1802 | |
| 1803 | * cplus-dem.c (demangle_arm_pt): Remove unused prototype. |
| 1804 | (snarf_numeric_literal): Constify first parameter. |
| 1805 | (code_for_qualifier): Avoid a gcc extension, make the parameter an |
| 1806 | int, not a char. |
| 1807 | (demangle_qualifier): Likewise. |
| 1808 | (demangle_signature): Cast the argument of a ctype function to |
| 1809 | unsigned char. |
| 1810 | (arm_pt): Add parens around assignment used as truth value. |
| 1811 | (demangle_arm_hp_template): Constify variable `args'. |
| 1812 | (do_hpacc_template_const_value): Cast the argument of a ctype |
| 1813 | function to unsigned char. |
| 1814 | (do_hpacc_template_literal): Remove unused variable `i'. |
| 1815 | (snarf_numeric_literal): Constify parameter `args'. |
| 1816 | Cast the argument of a ctype function to unsigned char. |
| 1817 | |
| 1818 | * floatformat.c (floatformat_to_double): Add explicit braces to |
| 1819 | avoid ambiguous `else'. |
| 1820 | |
| 1821 | * fnmatch.c (fnmatch): Change type of variables `c', `c1', |
| 1822 | `cstart' and `cend' to unsigned char. Cast the argument of macro |
| 1823 | `FOLD', which uses ctype functions, to unsigned char. |
| 1824 | |
| 1825 | * objalloc.c (free): Add prototype. |
| 1826 | |
| 1827 | Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se> |
| 1828 | |
| 1829 | * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o |
| 1830 | |
| 1831 | Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com> |
| 1832 | |
| 1833 | * cplus-dem.c (demangle_arm_pt): remove declaration -- function |
| 1834 | doesn't exist. |
| 1835 | (do_hpacc_template_literal): remove unused variable `i'. |
| 1836 | |
| 1837 | Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com> |
| 1838 | |
| 1839 | * cplus-dem.c (demangle_fund_type): Process CV and u codes before |
| 1840 | bumping the pointer we read from. Also prepend these codes, |
| 1841 | as we do in other places. |
| 1842 | |
| 1843 | 1998-12-18 Nick Clifton <nickc@cygnus.com> |
| 1844 | |
| 1845 | * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be |
| 1846 | 'const char *' in order to match its usage when calling siblings. |
| 1847 | (snarf_numeric_literal): Make first arg 'const char **' in order |
| 1848 | to match usage. |
| 1849 | |
| 1850 | Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1851 | |
| 1852 | * choose-temp.c: Don't check IN_GCC anymore. |
| 1853 | |
| 1854 | * floatformat.c (floatformat_from_double): Use `const', not `CONST'. |
| 1855 | * memchr.c (memchr): Likewise. |
| 1856 | * memcpy.c (memcpy): Likewise. |
| 1857 | * memmove.c (memmove): Likewise. |
| 1858 | |
| 1859 | * mkstemp.c: Don't check IN_GCC anymore. |
| 1860 | * pexecute.c: Likewise. |
| 1861 | * splay-tree.c: Likewise. |
| 1862 | |
| 1863 | * strchr.c (strchr): Use `const', not `CONST'. |
| 1864 | * strrchr.c (strrchr): Likewise. |
| 1865 | * strtol.c (strtol): Likewise. |
| 1866 | * strtoul.c (strtoul): Likewise. |
| 1867 | |
| 1868 | Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com> |
| 1869 | Elena Zannoni <ezannoni@cygnus.com> |
| 1870 | Stan Shebs <shebs@cygnus.com> |
| 1871 | Edith Epstein <eepstein@cygnus.com> |
| 1872 | Andres MacLeod <amacleod@cygnus.com> |
| 1873 | Satish Pai <pai@apollo.hp.com> |
| 1874 | |
| 1875 | * HP aCC demangling support. |
| 1876 | * cplus-dem.c |
| 1877 | (main): Remove default to HP style demangling, set to EDG |
| 1878 | demangling correctly when -edg specified; set the demangling style |
| 1879 | when user specifies 'edg'. Set strip_underscore to |
| 1880 | prepends_underscore, if not HPUXHPPA. Set |
| 1881 | current_demangling_style to hp_demangling if HPUXHPPA. Set |
| 1882 | current demangling style correctly if the switch is hp. Read |
| 1883 | label correctly also in the HP style case. |
| 1884 | (work_stuff): add temp_start field; add field for volatile member |
| 1885 | function. |
| 1886 | (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP |
| 1887 | style for this case is the same as ARM. |
| 1888 | (demangle_args): handle EDG_DEMANGLING style; support HP style. |
| 1889 | (demangle_arm_hp_template): new function. (It was |
| 1890 | demangle_arm_pt.); check and set value of temp_start field in |
| 1891 | multiple places. Also, when ceching for end of template args, |
| 1892 | check to see if at end of static member of template class. |
| 1893 | (demangle_class): new local variable : save_class_name_end Don't |
| 1894 | include template args in string defining class. |
| 1895 | (demangle_class_name): use demangel_arm_hp_template. |
| 1896 | (demangle_function_name): handle case where demangling style is |
| 1897 | HP_DEMANGLING and currently point at an 'X' in the mangled name. |
| 1898 | Handle EDG_DEMANGLING style. Handle constructor and destructor |
| 1899 | ops for HP style. |
| 1900 | (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING |
| 1901 | styles. global destructor and constructor for HP style are same |
| 1902 | as for ARM style. Same for local variables. |
| 1903 | (demangle_qualified): handle EDG_DEMANGLING style. |
| 1904 | (demangle_signature): add case for volatile member function. For |
| 1905 | cases '1' - '9' : initialize the temp_start field to -1 and handle |
| 1906 | the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING |
| 1907 | and AUTO_DEMANGLING styles. If expecting a function and managed |
| 1908 | to demangle the funct args, then handle the LUCID_DEMANGLING, |
| 1909 | ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local |
| 1910 | class name after "Lnnn_ in HP style case. HP style too needs to |
| 1911 | forget types. _nnn is OK for HP style, so don't report failure. |
| 1912 | (do_hpacc_template_const_value): new function. Handle template's |
| 1913 | value param for HP/aCC. |
| 1914 | (do_hpacc_template_literal): new function. Handle a template's |
| 1915 | literal parameter for HP aCC. |
| 1916 | (recursively_demangle): new function |
| 1917 | (snarf_numeric_literal): new function. |
| 1918 | (usage): add 'edg' to the list of demangling styles; add hp switch |
| 1919 | to message. |
| 1920 | |
| 1921 | Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com> |
| 1922 | |
| 1923 | * pexecute.c: Remove obsolete ifdefed cygwin code. |
| 1924 | |
| 1925 | Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1926 | |
| 1927 | * choose-temp.c: Always include libiberty.h. Avoid redundancies. |
| 1928 | * cplus-dem.c: Likewise. Conform to libiberty.h. |
| 1929 | * pexecute.c: Likewise. |
| 1930 | * splay-tree.c: Likewise. |
| 1931 | |
| 1932 | 1998-11-25 Mike Stump <mrs@wrs.com> |
| 1933 | |
| 1934 | * Makefile.in (splay-tree.o): Add config.h dependency. |
| 1935 | |
| 1936 | Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1937 | |
| 1938 | * configure.in: Use AC_PREREQ(2.12.1). |
| 1939 | |
| 1940 | 1998-11-16 Benjamin Kosnik <bkoz@haight.constant.com> |
| 1941 | |
| 1942 | * cplus-dem.c (demangle_fund_type): Add demangling for C9x types. |
| 1943 | |
| 1944 | Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com) |
| 1945 | |
| 1946 | * mpw.c (mpw_access): Add missing parens. |
| 1947 | |
| 1948 | Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1949 | |
| 1950 | * configure.in: Call AC_HEADER_SYS_WAIT. |
| 1951 | |
| 1952 | * pexecute.c: Include sys/wait.h when !IN_GCC. |
| 1953 | |
| 1954 | Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com> |
| 1955 | |
| 1956 | * pexecute.c: revert back to checking old Cygwin |
| 1957 | preprocessor symbol until some time has passed. |
| 1958 | |
| 1959 | Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com> |
| 1960 | |
| 1961 | * pexecute.c: Reorganize WIN32 case to accomodate Cygwin |
| 1962 | since it will now support similar constructs. |
| 1963 | |
| 1964 | Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1965 | |
| 1966 | * configure.in: Check for calloc. |
| 1967 | |
| 1968 | * calloc.c: New file. |
| 1969 | |
| 1970 | * xmalloc.c (xcalloc): New function. |
| 1971 | |
| 1972 | Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com> |
| 1973 | |
| 1974 | *cplus-dem.c (demangle_prefix): Use the last "__" |
| 1975 | in the mangled name when looking for the signature. This allows |
| 1976 | template names to begin with "__". |
| 1977 | |
| 1978 | 1998-11-08 Mark Mitchell <mark@markmitchell.com> |
| 1979 | |
| 1980 | * cplus-dem.c (type_kind_t): Add tk_reference. |
| 1981 | (demangle_template_value_parm): Handle it. |
| 1982 | (do_type): Use it for references, instead of tk_pointer. |
| 1983 | |
| 1984 | * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle, |
| 1985 | not internal_cplus_demangle. |
| 1986 | |
| 1987 | Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1988 | |
| 1989 | * choose-temp.c: Don't include gansidecl.h. |
| 1990 | * mkstemp.c: Likewise. |
| 1991 | * pexecute.c: Likewise. |
| 1992 | |
| 1993 | Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com> |
| 1994 | |
| 1995 | * configure.in: detect cygwin* instead of cygwin32* |
| 1996 | * configure: regenerate |
| 1997 | |
| 1998 | Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 1999 | |
| 2000 | * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining |
| 2001 | whether to include config.h. Possibly include unistd.h in the |
| 2002 | !IN_GCC case. Define VFORK_STRING as a printable function call |
| 2003 | for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is |
| 2004 | defined, include vfork.h. If VMS is defined, define vfork() |
| 2005 | appropriately. Remove vfork check on USG, we're using autoconf. |
| 2006 | (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking |
| 2007 | locally what string to use. |
| 2008 | |
| 2009 | 1998-10-26 Mark Mitchell <mark@markmitchell.com> |
| 2010 | |
| 2011 | * splay-tree.c: Tweak include directives to make sure declarations of |
| 2012 | xmalloc and free are available. |
| 2013 | |
| 2014 | 1998-10-25 Mark Mitchell <mark@markmitchell.com> |
| 2015 | |
| 2016 | * cplus-dem.c (gnu_special): Fix handling of virtual tables in |
| 2017 | anonymous namespaces. |
| 2018 | |
| 2019 | 1998-10-23 Mark Mitchell <mark@markmitchell.com> |
| 2020 | |
| 2021 | * cplus-dem.c (work_stuff): Replace const_type and volatile_type |
| 2022 | with type_quals. |
| 2023 | (TYPE_UNQUALIFIED): New macro. |
| 2024 | (TYPE_QUAL_CONST): Likewise. |
| 2025 | (TYPE_QUAL_VOLATILE): Likewise. |
| 2026 | (TYPE_QUAL_RESTRICT): Likewise. |
| 2027 | (code_for_qualifier): New function. |
| 2028 | (qualifier_string): Likewise. |
| 2029 | (demangle_qualifier): Likewise. |
| 2030 | (internal_cplus_demangle): Use them. |
| 2031 | (demangle_signature): Likewise. |
| 2032 | (demangle_template_value_parm): Likewise. |
| 2033 | (do_type): Likewise. |
| 2034 | (demangle_fund_type)): Likewise. |
| 2035 | |
| 2036 | Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 2037 | |
| 2038 | * splay-tree.c (splay_tree_foreach_helper): Make definition static |
| 2039 | to match prototype. |
| 2040 | |
| 2041 | 1998-10-21 Mark Mitchell <mark@markmitchell.com> |
| 2042 | |
| 2043 | * splay-tree.c: New file. |
| 2044 | * Makefile.in (CFILES): Add it. |
| 2045 | (REQUIRED_OFILES): Likewise. |
| 2046 | (splay-tree.o): Add dependencies. |
| 2047 | |
| 2048 | Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> |
| 2049 | |
| 2050 | * cplus-dem.c (demangle_qualified): Fix off-by-one when checking |
| 2051 | range of 'K' index. |
| 2052 | |
| 2053 | Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| 2054 | |
| 2055 | * choose-temp.c: Prototype mkstemps() when IN_GCC. |
| 2056 | |
| 2057 | * cplus-dem.c (consume_count): Cast argument of ctype macro to |
| 2058 | `unsigned char'. |
| 2059 | (cplus_demangle_opname): Cast the result of `strlen' to (int) when |
| 2060 | comparing against one. |
| 2061 | (cplus_mangle_opname): Likewise. |
| 2062 | (demangle_integral_value): Cast argument of ctype macro to |
| 2063 | `unsigned char'. |
| 2064 | (demangle_template_value_parm): Likewise. |
| 2065 | (demangle_template): Initialize variable `bindex'. Cast the |
| 2066 | result of `strlen' to (int) when comparing against one. Remove |
| 2067 | unused variable `start_of_value_parm'. |
| 2068 | (demangle_class_name): Cast the result of `strlen' to (int) when |
| 2069 | comparing against one. |
| 2070 | (demangle_prefix): Cast argument of ctype macro to `unsigned char'. |
| 2071 | (gnu_special): Likewise. Cast the result of `strlen' to (int) |
| 2072 | when comparing against one. |
| 2073 | (demangle_qualified): Cast argument of ctype macro to `unsigned char'. |
| 2074 | (get_count): Likewise. |
| 2075 | (do_type): Likewise. Cast the result of `strlen' to (int) when |
| 2076 | comparing against one. |
| 2077 | (demangle_fund_type): Cast argument of ctype macro to `unsigned char'. |
| 2078 | (demangle_function_name): Cast the result of `strlen' to (int) |
| 2079 | when comparing against one. |
| 2080 | |
| 2081 | * mkstemp.c (mkstemps): Cast variable `len' to (int) when |
| 2082 | comparing against one. |
| 2083 | |
| 2084 | Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com) |
| 2085 | |
| 2086 | * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h |
| 2087 | * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too. |
| 2088 | * config.in, configure: Rebuilt. |
| 2089 | |
| 2090 | * getopt.c: Check HAVE_STRINGS_H before including strings.h. |
| 2091 | * configure.in (AC_CHECK_HEADERS): Check for strings.h too. |
| 2092 | * config.in, configure: Rebuilt. |
| 2093 | |
| 2094 | Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com> |
| 2095 | |
| 2096 | * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT |
| 2097 | |
| 2098 | Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com> |
| 2099 | |
| 2100 | * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h. |
| 2101 | |
| 2102 | Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com) |
| 2103 | |
| 2104 | * Merge egcs & devo libiberty. |
| 2105 | |