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