]> git.ipfire.org Git - thirdparty/gcc.git/blame - libiberty/ChangeLog
* pa32-regs.h (HARD_REGNO_MODE_OK): Allow TI/TFmode values in
[thirdparty/gcc.git] / libiberty / ChangeLog
CommitLineData
091eef96 12001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2
3 * md5.c (md5_init_ctx): Declare constants as unsigned.
4 (md5_process_block): Likewise.
5
e5f55ef4 62001-05-07 Zack Weinberg <zackw@stanford.edu>
7
8 * cp-demangle.c (demangle_v3_with_details,
9 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
10 function definition.
11 * ternary.c: Use K+R style function definitions. Use PTR, not
12 void *. Make arguments constant where possible.
13
c99b4ef9 142001-05-07 Mark Mitchell <mark@codesourcery.com>
15
16 * splay-tree.h (splay_tree_max): New function.
17 (splay_tree_min): Likewise.
18
eec19420 192001-04-15 Daniel Berlin <dan@cgsoftware.com>
20
21 * ternary.c: New file - Ternary search tree implementation.
22
23 * Makefile.in: Add ternary.o, and ternary.c dependencies.
24
673b6e5a 252001-04-03 Zack Weinberg <zackw@stanford.edu>
26
27 * make-temp-file.c (try): Inline.
28
b8f02fb2 292001-02-28 Richard Henderson <rth@redhat.com>
30
31 * Makefile.in (make-temp-file.o): Depend on config.h.
32
b130ede9 332001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
34
35 * memchr.c (memchr): Adjust condition to avoid infinite loop.
36
5a4fcef0 372001-03-23 Jakub Jelinek <jakub@redhat.com>
38
39 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
40 `_' not followed by a digit is invalid.
41
c83c8218 422001-03-22 Jim Blandy <jimb@redhat.com>
43
44 * cp-demangle.c (string_list_delete): Use dyn_string_delete
45 instead of free, to free the contents as well as the string
46 structure.
47
7e660a1b 482001-03-21 Zack Weinberg <zackw@stanford.edu>
49
50 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
51 Don't default P_tmpdir to anything. Try /var/tmp before
52 /usr/tmp.
53
e6351181 542001-03-20 Zack Weinberg <zackw@stanford.edu>
55
56 * choose-temp.c: Split off make_temp_file, and the code
57 duplicated between it and choose_temp_base, into...
58 * make-temp-file.c: ... here; new file.
59
60 * Makefile.in (CFILES): Add make-temp-file.c.
61 (REQUIRED_OFILES): Add make-temp-file.o.
62
3a18c9fc 632001-03-20 Jim Blandy <jimb@redhat.com>
64
65 * cp-demangle.c (struct demangling_def): New fields:
66 is_constructor and is_destructor.
67 (demangling_new): Initialize them.
68 (demangle_ctor_dtor_name): Set them, if we detect a constructor
69 or destructor.
70 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
71 is_gnu_v3_mangled_dtor): New functions.
72
d219f684 732001-03-20 Jason Merrill <jason@redhat.com>
74
75 * cplus-dem.c (main): Skip initial $.
76
dfc58e62 772001-03-15 Michael Meissner <meissner@redhat.com>
78
79 * hashtab.c (higher_prime_number): Silence warning that 4294967291
80 might be a signed integer under pre-ISO C systems.
81
0bce9b89 822001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
83 John David Anglin <dave@hiauly1.hia.nrc.ca>
84
85 * libiberty/lbasename.c: New file.
86 * libiberty/Makefile.in: Update for lbasename.
87
012f1707 882001-03-06 Zack Weinberg <zackw@stanford.edu>
89
90 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
91 * configure.in: Replace all alloca logic with a simple use of
92 the above new macro.
93 * config.table: Kill *-*-beos* entry.
94 * config/mh-beos: Delete.
95 * configure, config.in: Regenerate.
96
97 * Makefile.in (ALLOCA, HFILES): Kill.
98 (REQUIRED_OFILES): Add alloca.o.
99 (alloca.o): Depend on libiberty.h.
100 (argv.o): Don't depend on alloca-conf.h.
101 * alloca-conf.h: Delete.
102 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
103 blocks. Provide the C alloca unconditionally. Use PTR where
104 appropriate. Make i00afunc static.
105 * argv.c: Don't include alloca-conf.h.
106
163369e7 1072001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
108
109 * cplus-dem.c (main): Cast enum style to int.
110
39fb1bb6 1112001-02-16 Loren J. Rittle <ljrittle@acm.org>
112
113 * cplus-dem.c (main): Initialize style.
114
bace101a 1152001-02-02 Phil Edwards <pme@sources.redhat.com>
116
117 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
118
1c1033dd 1192001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
120
121 Add support for Java demangling under the v3 ABI:
122 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
123 (struct demangling_def): Add `style' field.
124 (demangling_new): New parameter `style'. Set it in demangling_t.
125 (demangle_prefix): Use NAMESPACE_SEPARATOR.
126 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
127 (cp_demangle): New parameter `style'. Pass it to demangling_new().
128 (main): Call cp_demangle with extra parameter.
129 (java_demangle_v3): New function.
130 (java_builtin_type_names): New. Table of primitive type names used
131 for Java demangling.
132 (demangle_builtin_type): Look up in java_builtin_type_names if doing
133 Java output.
012f1707 134 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
1c1033dd 135 demangling.
136 (long_options): Remove obsolete `java' option.
137 (main): Remove explicit handling of `java' option. Instead, pass style
138 parameter in cplus_demangle flags as gdb does.
139 * testsuite/demangle.expected: Add some Java test cases.
140
fec9182b 1412000-12-29 DJ Delorie <dj@redhat.com>
142
143 * fnmatch.c: Make the note about the origins of this file more
144 accurate, at least until we can sync with glibc.
145 * getopt.c: Ditto.
146 * getopt1.c: Ditto.
147 * md5.c: Ditto.
148 * obstack.c: Ditto.
149
5b9c32cc 1502000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
151
152 * bsearch.c: New file.
153 * configure.in (funcs): Add bsearch.
154 (AC_CHECK_FUNCS): Likewise.
155 * configure, config.in: Regenerate.
156
a973e2b1 1572000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
158
159 * safe-ctype.c: #include "ansidecl.h".
160 * strtod.c: Likewise.
161
14282c1a 1622000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
163
164 * strtoul.c: Include safe-ctype.h, not ctype.h.
165
93ce8ce4 1662000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
167
168 * safe-ctype.c: New file.
169 * Makefile.in (CFILES): Add safe-ctype.c.
170 (REQUIRED_OFILES): Add safe-ctype.o.
171
172 * argv.c: Define ISBLANK and use it, not isspace.
173 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
174 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
175 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
176 before calling TOLOWER(c)/TOUPPER(c).
177
be6afa8f 1782000-12-07 Mike Stump <mrs@wrs.com>
e5fb0a98 179
180 * Makefile.in (distclean): When cleaning, remove testsuite.
181
cf0ad6a8 1822000-12-05 Jason Merrill <jason@redhat.com>
183
184 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
185 name before allocating the dyn_string.
186
bb505139 1872000-12-04 Jason Merrill <jason@redhat.com>
188
189 * cp-demangle.c: s/new_abi/v3/.
190 * cplus-dem.c: Likewise.
191 (current_demangling_style): Now auto_demangling.
192 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
93ce8ce4 193 (main): Use standard symbol chars for auto_demangling.
bb505139 194
54b3a5af 1952000-11-26 Mark Mitchell <mark@codesourcery.com>
196
197 * hashtab.c (higher_prime_number): Use a table, rather than a
198 seive, to find the next prime.
199
9628d706 2002000-11-22 H.J. Lu <hjl@gnu.org>
201
202 * cplus-dem.c (main): Handle gnat_demangling.
203
ec255163 2042000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
205
206 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
207 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
208 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
209 argument form of AC_DEFINE in dummy definitions block. Use
210 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
211 in dummy block. Preload cache variables instead of bypassing
212 tests, where possible.
213 * acconfig.h: Removed.
214
215 * xmalloc.c (xmalloc_failed): New function, does error
216 reporting on failed allocation.
217 (xmalloc, xcalloc, xrealloc): Use it.
218
626946fb 2192000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
220
221 * cplus-dem.c (cplus_demangle): Fix formatting.
222 (grow_vect): Ditto.
223 (ada_demangle): Ditto.
224 (internal_cplus_demangle): Ditto.
225 (mop_up): Ditto.
226
2272000-11-21 H.J. Lu <hjl@gnu.org>
228
229 * cplus-dem.c (main): Handle java_demangling.
230
918a89ef 2312000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
232
233 * cplus-dem.c (grow_vect): Prototype.
234 (ada_demangle): Cast the arg of ctype macros to unsigned char.
235
582f72ad 2362000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
237
238 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
239 parameter `option'.
240
0d6e3c59 2412000-11-15 Kenneth Block <kenneth.block@compaq.com>
242
42ded3a1 243 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
0d6e3c59 244 be used in GCC.
245
9df8b754 2462000-11-15 Kenneth Block <kenneth.block@compaq.com>
d7c1c148 247
582f72ad 248 * cplus-dem.c: Add gnat demangler. Add java to demangle style
d7c1c148 249 list.
250
e4c2dc6e 2512000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
252
253 * hashtab.c (htab_expand): Change to return int. Use calloc or
254 xcalloc depending on htab->return_allocation_failure. Return zero
255 if calloc fails.
256 (htab_create): Update comment to cover memory allocation.
257 (htab_try_create): New.
258 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
259 Update comment to cover this.
260
696d6593 2612000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
262
263 * hashtab.c: Change void * to PTR where necessary.
264 (htab_create, htab_expand): Correct formatting of comment before
265 function.
266
8f2b45d4 2672000-10-22 Alex Samuel <samuel@codesourcery.com>
f99edf23 268
269 * cp-demangle.c (string_list_def): Add caret_position and comments.
270 (result_caret_pos): New macro.
271 (result_append_string): Rename to...
272 (result_add_string): ... this, and insert at caret position.
ec255163 273 Rename throughout.
f99edf23 274 (result_append): Rename to...
275 (result_add): ... this, and insert at caret position. Rename
ec255163 276 throughout.
f99edf23 277 (result_append_char): Rename to...
278 (result_add_char): ... this, and insert at caret position. Rename
ec255163 279 throughout.
f99edf23 280 (result_append_space): Remove.
281 (string_list_new): Initialize caret position.
282 (result_add_separated_char): Use caret position.
283 (result_get_caret): New funtion.
284 (result_set_caret): Likewise.
285 (result_shift_caret): Likewise.
286 (result_previous_char_is_space): Likewise.
287 (substitution_start): Use caret position.
288 (substitution_add): Likewise.
289 (demangling_new): Initialize caret position.
290 (demangle_encoding): Use caret position.
ec255163 291 (demanglin_nested_name): Put CV qualifiers after name.
f99edf23 292 (demangle_type_ptr): Use switch statement. Handle pointers to
293 arrays. Don't use result_append_space. Use caret position.
294 (demangle_type): Emit CV qualifiers after underlying type. Adjust
ec255163 295 call to demangle_array_type.
296 (demangle_array_type): Add parameter to handle pointers to arrays.
297
a4e59c31 2982000-10-01 Mark Mitchell <mark@codesourcery.com>
299
300 * splay-tree.c (splay_tree_insert): Fix formatting.
301
e41f0d80 3022000-09-16 Mark Mitchell <mark@codesourcery.com>
303
304 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
305
83d86ada 3062000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
307
308 * splay-tree.c: #include <stdio.h>.
309
78631810 3102000-09-14 Hans-Peter Nilsson <hp@axis.com>
311
312 * testsuite/demangle-expected: Add two tests for anonymous
313 namespaces.
314 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
315
508f18c8 3162000-09-10 Mark Mitchell <mark@codesourcery.com>
317
318 * splay-tree.c (splay_tree_predecessor): New function.
319 (splay_tree_successor): Likewise.
320
1a2d2193 3212000-09-10 Hans-Peter Nilsson <hp@axis.com>
322
323 * testsuite/demangle-expected: Add four tests for type_info
324 mangling.
1a2d2193 325 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
326 for a non-template non-qualified type_info function or node.
327
09656987 3282000-09-08 Alex Samuel <samuel@codesourcery.com>
329
330 * cp-demangle.c: Fix copyright banner.
331
7cc2d24b 3322000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
333
334 * md5.c: #include "ansidecl.h".
335
b83e8722 3362000-09-06 Alex Samuel <samuel@codesourcery.com>
337
338 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
339 (demangle_type): Handle substitution candidates correctly in the
340 face of special substitutions.
341
cf70278e 3422000-09-05 Alex Samuel <samuel@codesourcery.com>
343
344 * cp-demangle.c (demangle_encoding): Rename variable.
345 (demangle_name): Rename parameter. Handle return type
346 suppression.
347 (demangle_nested_name): Rename parameter.
348 (demangle_prefix): Likewise. Change return type suppression.
349 (demangle_unqualified_name): Add parameter. Flag constructors and
350 conversion operators.
351 (demangle_special_name): Fix comment.
352 (demangle_type): Rename variable.
353 (demangle_bare_function_type): Check for missing return type and
ec255163 354 parameter.
cf70278e 355 (demangle_class_enum_type): Rename parameter.
356 (demangle_discriminator): Fix misspelling in comment.
357
4aabc076 3582000-08-31 DJ Delorie <dj@redhat.com>
359
360 * configure.in (Cygwin): special case cygwin only when we're
361 building cygwin, not when we're hosting cygwin.
362
804ddfd1 3632000-09-04 Alex Samuel <samuel@codesourcery.com>
364
365 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
ec255163 366 <expression>.
367
e015a852 3682000-09-04 Alex Samuel <samuel@codesourcery.com>
369
370 * cp-demangle.c (demangle_type_ptr): Increment position past
371 pointer and reference characters.
372
2b6805b4 3732000-09-04 Alex Samuel <samuel@codesourcery.com>
374
375 * cp-demangle.c (demangle_nv_offset): New function.
376 (demangle_v_offset): Likewise.
377 (demangle_call_offset): Likewise.
378 (demangle_special_name): Update thunk demangling to comply with
379 ABI changes.
ec255163 380
40e00cb0 3812000-09-03 Alex Samuel <samuel@codesourcery.com>
382
383 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
384 (substitution_def): Remove template_parm_number.
385 (NOT_TEMPLATE_PARM): Remove.
386 (result_insert_string): New macro.
387 (result_insert): Likewise.
388 (result_insert_char): Likewise.
389 (substitution_add): Remove last parameter. Don't store template
ec255163 390 parm number.
40e00cb0 391 (BFT_NO_RETURN_TYPE): Define as NULL.
392 (demangle_encoding): Adjust call to demangle_bare_function_type.
393 (demangle_name): Adjust substitution. Adjust call to
ec255163 394 substitution_add.
40e00cb0 395 (demangle_prefix): Adjust call to substitution_add.
396 (demangle_identifier): Handle anonymous namespaces.
397 (demangle_operator_name): Change demangling of vendor-extended
398 operator to match ABI changes.
399 (demangle_type_ptr): Change parameters. Make recursive. Handle
ec255163 400 substitutions here.
40e00cb0 401 (demangle_type): Adjust calls to demangle_template_param,
402 substitution_add, and demangle_type_ptr. Fix substitution of
403 templated types.
404 (demangle_function_type): Change parameter to a pointer.
405 (demangle_bare_function_type): Likewise. Adjust insertion point.
406 (demangle_template_param): Remove last parameter.
407 (demangle_expr_primary): Remove unused variable. Adjust call to
ec255163 408 demangle_template_param.
40e00cb0 409 (is_mangled_char): Accept `$' and `.'.
410 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
411 * dyn-string.c (dyn_string_insert_char): New function.
412
01f404a2 4132000-08-31 Hans-Peter Nilsson <hp@axis.com>
414
415 * testsuite/demangle-expected: Add nine tests for
416 underscore-after-number followed by five tests for name-signature
417 delimiter.
418
d74245d4 4192000-08-28 Richard Henderson <rth@cygnus.com>
420
421 * Makefile.in (md5.o): Depend on config.h.
422
19f716e5 4232000-08-28 Jason Merrill <jason@redhat.com>
424
425 * Makefile.in (REQUIRED_OFILES): Add md5.o.
426 (CFILES): Add md5.c.
427 * md5.c: New file.
428
f8aeab41 4292000-08-27 Alex Samuel <samuel@codesourcery.com>
430
431 * cp-demangle.c (demangle_name): Initialize template_p in local
432 name case. Don't re-add substitutions as candidates.
433 (demangle_nested_name): Use <unqualified-name>.
434 (demangle_prefix): Likewise. Don't add template names as
435 substitution candidates twice, or re-add a substitution or the
436 last prefix component.
437 (demangle_local_name): Adjust output format.
438
62c2feed 4392000-08-25 Alex Samuel <samuel@codesourcery.com>
440
441 * cp-demangle.c (result_add_separated_char): Change parameter to
442 int.
443 (substitution_add): Don't check for duplicates. Check if
444 previously allocated size is zero.
445 (demangle_name): Remove duplicate check for std substitution.
446 Clear template flag appropriately.
447 (demangle_prefix): Remove argument to demangle_substitution.
448 Don't check that template flag is already set.
449 (demangle_operator_name): Add pt operator.
450 (demangle_type): Don't treat r as built-in type. Remove argument
451 to demangle_substitution. Fix substitution candidate mechanics.
452 Handle <template-template-parm>s. Improve comments.
ec255163 453 (demangle_template_param): Don't handle template arg lists here.
62c2feed 454 (demangle_substitution): Remove parameter.
455 (print_usage): Remove extra fprintf option.
456
ee1d4c3d 4572000-08-24 Greg McGary <greg@mcgary.org>
458
459 * libiberty/random.c (end_ptr): Revert previous change.
460
f0bff53d 4612000-08-24 Greg McGary <greg@mcgary.org>
462
463 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
464 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
465 * libiberty/random.c (end_ptr): Likewise.
466
c1b316c0 4672000-08-23 Alex Samuel <samuel@codesourcery.com>
468
469 * cp-demangle.c (result_close_template_list): Remove function.
470 (result_add_separated_char): New function.
471 (result_open_template_list): New macro.
472 (result_close_template_list): Likewise.
473 (demangle_prefix): Don't set template_p if the
474 prefix ends with a ctor name.
475 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
476 (demangle_type): Check for template args after substitution.
477 (demangle_template_args): Use result_open_template_list.
ec255163 478
385b48fc 4792000-08-02 Zack Weinberg <zack@wolery.cumb.org>
480
481 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
482
ec255163 4832000-07-26 Dave Pitts <dpitts@cozx.com>
ba886691 484
485 * config/mh-openedition.h: Added -DLE370 definition.
486
8fc0efd2 4872000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
488
489 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
490 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
491 Cast program to 'char *' in errmsg_arg assignment.
492 (PWAIT_ERROR): Define.
493 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
494 to DJGPP's WIF* macros.
495
a1d4f79a 4962000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
497 Jeff Law <law@cygnus.com>
498
98b4c197 499 * getcwd.c: Include string.h, stdlib.h for prototypes
500
a1d4f79a 501 * Makefile.in (rename.o, waitpid.o): Depend on config.h
98b4c197 502 * rename.c: Include config.h, unistd.h
503 * waitpid.c: Include config.h, sys/wait.h
a1d4f79a 504
01f404a2 5052000-07-24 Hans-Peter Nilsson <hp@axis.com>
506
507 * cplus-dem.c (work_stuff_copy_to_from): New.
508 (delete_non_B_K_work_stuff): New.
509 (delete_work_stuff): New.
510 (mop_up): Break out work_stuff partly destruction to
511 delete_non_B_K_work_stuff.
512 (iterate_demangle_function): New.
513 (demangle_prefix): Call iterate_demangle_function instead of
514 demangle_function_name. Leave handling of name-signature
515 __-delimiters to iterate_demangle_function.
516 (demangle_integral_value): Strip an optional
517 following underscore cautiously. Handle negative numbers.
518
f2e5a608 5192000-07-24 Daniel Berlin <dberlin@redhat.com>
520
ec255163 521 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
f2e5a608 522 if (AUTO_DEMANGLING || GNU_DEMANGLING)
523
65bcf503 5242000-07-21 Alex Samuel <samuel@codesourcery.com>
525
526 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
527 allocating ctor mangling.
528 (demangle_array_type): Handle empty and non-constant array length.
529
68e6b6e1 5302000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
a451eef0 531 Jeff Law <law@cygnus.com>
532
1a163ca8 533 * configure.in (AC_CHECK_HEADERS): Add time.h.
534 (AC_HEADER_TIME): Add check.
535 * configure, config.in: Regenerate.
536 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
537
a451eef0 538 * configure.in (AC_CHECK_HEADERS): Add limits.h.
539 * configure, config.in: Regenerate.
540 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
541 * strtol.c, strtoul.c: #include "config.h". Portably #include
542 <limits.h> and/or <sys/param.h>.
543 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
68e6b6e1 544
fb758229 545 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
546 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
547 * configure, config.in: Regenerate.
548 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
549
68e6b6e1 550 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
551
ad46fec4 5522000-07-21 Mike Stump <mrs@wrs.com>
553
554 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
7b23d366 555 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
ad46fec4 556
bb37062f 5572000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
558
559 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
560
561 * setenv.c (setenv): Initialize variable `ep'.
562
563 * sigsetmask.c (abort): Prototype.
564
565 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
566 __STDC__ for stdarg.h include.
567 (int_vasprintf): Prototype.
568 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
569 definition. Cast `global_total_width' in comparison.
570 (main): Prototype. Return a value.
571
572 * vfork.c (fork): Prototype.
573
574 * xexit.c: Include config.h.
575
6cb730c2 5762000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
577
578 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
579 and print it with %u.
580
e42d7fe1 5812000-07-17 Hans-Peter Nilsson <hp@axis.com>
582
583 * testsuite/regress-demangle (failed test): Show result and
584 expected output.
585
04ef60ef 5862000-07-07 Andrew Haley <aph@cygnus.com>
587
588 * cplus-dem.c (main): fflush() after emitting last char before
589 waiting for input.
590
b7f68aff 5912000-06-28 Alex Samuel <samuel@codesourcery.com>
592
593 * cp-demangle.c (demangle_encoding): Accept no substitutions.
594 (demangle_name): Handle <substitution> followed by
595 <unqualified-template-name>.
596 (demangle_type): Follow special substitutions with
597 <class-enum-type>
598 (demangle_subtitution): Set template_p for special substitutions.
599 (main): Fix typos.
ec255163 600
597f928d 6012000-06-27 Alex Samuel <samuel@codesourcery.com>
602
603 * cp-demangle.c (demangle_special_name): Swap base and derived
604 class when demangling construction vtables.
605
140d75d7 6062000-06-21 Alex Samuel <samuel@codesourcery.com>
607
608 * cp-demangle.c: Don't include ctype.h.
609 (IS_DIGIT): New macro.
610 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
611 instead of isdigit and isalpanum.
612 (demangling_def): Make name and next const pointers.
613 (STATUS_ALLOCATION_FAILED): New status code.
614 (dyn_string_append_space): Handle failure in
615 dyn_string_append_char.
616 (int_to_dyn_string): Likewise. Change return value to status_t.
617 (string_list_new): Handle failure of dyn_string_init.
618 (result_close_template_list): Change return type to status_t.
619 Handle failure in dyn_string_append.
620 (result_push): Change return value to status_t. Handle failure in
621 string_list_new. Handle failure of result_push throughout.
622 (substitution_add): Change return value to status_t. Handle
623 dyn_string failures. Handle failure of substitution_add
624 throughout.
625 (template_arg_list_new): Return NULL on allocation failure.
626 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
627 Handle error result throughout.
628 (result_append): Likewise.
629 (result_append_char): Likewise.
630 (result_append_space): Likewise.
631 (demangling_new): Make argument a const pointer. Handle
632 allocation failures.
633 (demangle_template_args): Handle failure in template_arg_list_new
634 and result_close_template_list.
635 (demangle_discriminator): Return if int_to_dyn_string fails.
636 (cp_demangle): Likewise.
637 (cp_demangle_type): New function.
638 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
639 memory allocation failure.
640 (main): Likewise.
641 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
642 IN_LIBGCC2.
643 (dyn_string_init): Change return value to int. Handle
644 RETURN_ON_ALLOCATION_FAILURE case.
645 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
646 (dyn_string_release): Delete the dyn_string.
647 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
648 (dyn_string_copy): Change return type to int.
649 (dyn_string_copy_cstr): Likewise.
650 (dyn_string_prepend): Likewise.
651 (dyn_string_prepend_cstr): Likewise.
652 (dyn_string_insert): Likewise.
653 (dyn_string_insert_cstr): Likewise.
654 (dyn_string_append): Likewise.
655 (dyn_string_append_cstr): Likewise.
656 (dyn_string_append_char): Likewise.
657 (dyn_string_substring): Likewise.
ec255163 658
210aba33 6592000-06-09 Zack Weinberg <zack@wolery.cumb.org>
660
661 * cp-demangle.c (demangle_operator_name): Add spaces before
662 names beginning with a letter: delete, delete[], new, new[],
663 sizeof.
664 (demangle_special_name): Handle TF <type> and TJ <type>.
665
0b4450c1 666Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
667
668 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
669
e5d6924a 670Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
671
672 * cp-demangle.c (stdio.h): File included unconditionaly.
673 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
674 * dyn-string.c (stdio.h): File included.
675 * partition.c (partition_print): No `&' needed to take the address of
676 a function.
677
da8bd873 6782000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
679
680 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
ec255163 681
da8bd873 682 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
683
684 * cp-demangle.c (demangle_char): Change parameter from char to int.
685 (demangle_expression, demangle_expr_primary): Remove extra
686 semi-colon in prototype.
687
688 * dyn-string.c (dyn_string_append_char): Change parameter from
689 char to int.
690
691 * memcmp.c (memcmp): Constify.
692
693 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
694 __extension__.
695
696 * partition.c (elem_compare): Prototype. Don't cast away
697 const-ness.
698
699 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
ec255163 700
4b7bc488 7012000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
702
703 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
704
705 * cp-demangle.c: Include demangle.h.
706 (template_arg_list_new): DeANSIfy.
707 (cp_demangle): Make static and add prototype.
708 (operator_code, operators): Constify.
709 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
710
7ae7b54c 7112000-06-05 Alex Samuel <samuel@codesourcery.com>
712
713 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
714 unsigned char.
715 (demangle_unqualified_name): Likewise.
716 (demangle_number_literally): Likewise.
717 (demangle_type): Likewise.
718 (demangle_substitution): Likewise.
719 (is_mangled_char): Likewise, for isalnum.
720
168d63e5 7212000-06-04 Alex Samuel <samuel@codesourcery.com>
722
723 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
724 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
725 (cp-demangle.o): New dependency.
726 (dyn-string.o): Likewise.
727
728 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
729
730 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
731 demangler.
732 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
733 demangling mode.
734 (gnu_new_abi_symbol_characters): New function.
735 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
736 file.
737 * cp-demangle.c: New file.
ec255163 738
b5495c1d 739Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
740
741 * floatformat.c: Add name to each floatformat field.
742
8fab1737 743Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
744
745 * Makefile.in (objalloc.o): Depend on config.h
746
317ab997 7472000-05-29 Zack Weinberg <zack@wolery.cumb.org>
748
749 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
750 if HAVE_STRING_H.
751 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
752 * objalloc.c: Include config.h. Include stdlib.h and don't
753 declare malloc or free if HAVE_STDLIB_H.
754 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
755 else declare malloc without prototype. Include string.h if
756 HAVE_STRING_H, else declare memset without prototype. Don't
757 include stddef.h.
758
874478ba 7592000-05-23 Mike Stump <mrs@wrs.com>
760
761 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
762 -j3.
763
55de1520 7642000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
765
766 * xmalloc.c: Include config.h for HAVE_SBRK definition.
767
e51b357b 7682000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
769
ec255163 770 * hashtab.c (hash_pointer): Delete low-order bits which are
e51b357b 771 probably zero, also eliminate a warning on alpha.
772
9e362499 7732000-05-15 David Edelsohn <edelsohn@gnu.org>
774
e390e838 775 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
9e362499 776 on $(enable_shared).
777
06c6487f 7782000-05-10 Jakub Jelinek <jakub@redhat.com>
779
780 * config.table: Use mh-sparcpic for sparc*-*-*.
781
0baf89fb 7822000-05-08 Nick Clifton <nickc@cygnus.com>
783
784 * Makefile.in (CFILES): Add strncmp.c.
785 (NEEDED): Add strncmp.
786
59f72e4d 7872000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
788
789 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
790 Cast the arguments to `islower' to `unsigned char'.
791 (print_demangler_list): Prototype.
792
fb0c90ed 793Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
794
795 * sort.c (UCHAR_MAX): Provide fallback definition.
796
167a5f18 7972000-04-29 Alexandre Oliva <aoliva@cygnus.com>
798
799 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
800 SUBDIRS.
801
6f572555 8022000-04-28 Kenneth Block <block@zk3.dec.com>
803 Jason Merrill <jason@casey.cygnus.com>
804
ec255163 805 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
806 (cplus_demangle_set_style): New function for setting style.
807 (cplus_demangle_name_to_style): New function to translate name.
6f572555 808
b3524c8f 8092000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
810
811 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
812
813 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
814 (libiberty_AC_FUNC_STRNCMP): Invoke.
815
816 * strncmp.c: New file.
817
a5f725a3 818Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
819
820 * hashtab.c (htab_expand): Add prototype.
821 (find_empty_slot_for_expand): Likewise.
822
8afd4145 8232000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
824
825 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
826 match prototype.
827 (htab_expand): Cast the return value of xcalloc.
828
c9dfb8ae 8292000-04-24 Mark Mitchell <mark@codesourcery.com>
830
831 * hashtab.c (hash_pointer): New function.
832 (eq_pointer): Likewise.
833 (htab_hash_pointer): New variable.
834 (htab_eq_pointer): Likewise.
835
85993fc6 8362000-04-23 Mark Mitchell <mark@codesourcery.com>
837
9517f453 838 * sort.c (sort_pointers): Fix endianness bugs.
839
85993fc6 840 * sort.c: New file.
841 * Makefile.in (CFILES): Add sort.c
842 (REQUIRED_OFILES): Add sort.o.
843 (sort.o): New target.
844
c9b2f47c 8452000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
846
847 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
848 4.3BSD systems.
849
2b3dbc20 850Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
851
852 * hashtab.c: Various minor cleanups.
853 (htab_find_slot_with_hash): INSERT is now enum insert_option.
854 (htab_find_slot): Likewise.
855
6ea8a864 8562000-04-16 Dave Pitts <dpitts@cozx.com>
857
858 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
ec255163 859
105211e5 8602000-04-05 Richard Henderson <rth@cygnus.com>
861
862 * splay-tree.c (splay_tree_remove): New.
863
7669680f 8642000-03-30 Mark Mitchell <mark@codesourcery.com>
865
866 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
867 codes.
868 (htab_find_with_hash): Likewise.
869 (htab_find_slot_with_hash): Likewise.
ec255163 870
07c797e3 8712000-03-29 Zack Weinberg <zack@wolery.cumb.org>
872
873 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
874 unless it will be used. Rearrange loop for better
875 optimization.
876 (higher_prime_number): Add static prototype.
877
8ef1b8d1 878Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
879
880 * Makefile.in (partition.o): Depend on config.h
881
ed26da85 8822000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
883
884 * hashtab.c (find_empty_slot_for_expand): New function.
885 (htab_expand): Use it instead of htab_find_slot.
886 (htab_find_with_hash): Renamed from htab_find; now accepts extra
887 argument HASH.
888 (htab_find_slot_with_hash): Likewise for htab_find_slot.
889 (htab_find): New wrapper function.
890 (htab_find_slot): Likewise.
891 (htab_traverse): Pass slot, not entry, to called function.
892
dadde703 8932000-03-09 Alex Samuel <samuel@codesourcery.com>
894
895 * Makefile.in (CFILES): Add partition.c.
896 (REQUIRED_OFILES): Add partition.o.
897 (partition.o): New rule.
898 * partition.c: New file.
ec255163 899
3fdd387a 9002000-03-09 Zack Weinberg <zack@wolery.cumb.org>
901
902 * hashtab.c (htab_create): Set del_f.
903 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
904 Use it.
905
07c967f9 9062000-03-08 Zack Weinberg <zack@wolery.cumb.org>
907
908 * hashtab.c: Remove debugging variables (all_searches,
909 all_collisions, all_expansions). Delete
910 all_hash_table_collisions.
911 (create_hash_table, delete_hash_table, empty_hash_table,
912 find_hash_table_entry, remove_element_from_hash_table_entry,
913 clear_hash_table_slot, traverse_hash_table, hash_table_size,
914 hash_table_elements_number, hash_table_collisions): Rename to:
915 htab_create, htab_delete, htab_empty, htab_find_slot,
916 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
917 htab_elements, htab_collisions.
918 (htab_find): New function, handles common case where you don't
919 plan to add or delete an entry.
920 (htab_expand): Don't create a whole new table, just a new
921 entry vector.
922 (htab_find_slot): Simplify logic.
923
1f33a375 9241999-08-03 Ian Lance Taylor <ian@zembu.com>
925
926 * floatformat.c: Add casts to avoid signed/unsigned warnings.
927 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
928
929 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
930 $(TARGETLIB)n so it works on MSDOS.
931 (install_to_tooldir): Likewise.
932
9331999-07-21 Ian Lance Taylor <ian@zembu.com>
934
935 From Mark Elbrecht:
936 * makefile.dos: Remove; obsolete.
937 * configure.bat: Remove; obsolete.
938
9391999-07-11 Ian Lance Taylor <ian@zembu.com>
940
941 * splay-tree.c (splay_tree_insert): Add initialization to avoid
942 warning.
943
b99e5aef 9442000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
945
946 * pexecute.c: Conditionally include string.h.
07c967f9 947 (fix_argv): Handle embedded whitespace in args for Mingw32.
b99e5aef 948
6d93ad38 9492000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
950
951 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
952 we're using gcc.
953
954 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
955
59dfb43e 9561999-12-27 Geoff Keating <geoffk@cygnus.com>
957
958 * vasprintf.c (int_vasprintf): Don't re-read the format character
959 as this mishandles strings like '%%s'.
960
b04bbebb 9611999-12-05 Mark Mitchell <mark@codesourcery.com>
962
963 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
964 rather than struct splay_tree_node.
965 (splay_tree_insert): Use struct splay_tree_s rather than struct
966 splay_tree.
967
d7f8de75 968Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
969
970 * hashtab.c (sys/types.h): File included.
971
7202ac7d 9721999-11-22 Jason Merrill <jason@casey.cygnus.com>
973
974 * strtoul.c, strtol.c, random.c: Remove advertising clause from
975 BSD license, pursuant with
976
977 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
978
bd41a79e 979Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
980
981 * hashtab.c: Include stdio.h.
982
b77d3fd0 983Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
984
985 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
986
1b4391fe 987Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
988
989 * xstrdup (sys/types.h): Include this file.
990
4bc57096 9911999-10-28 Nathan Sidwell <nathan@acm.org>
992
993 * Makefile.in (SUBDIRS): New macro.
994 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
995 avoid multiple subdirectory cleaning.
996 (*-subdir): Use SUBDIRS.
997
9087cad2 9981999-10-25 Jim Kingdon <http://developer.redhat.com/>
999
1000 * cplus-dem.c: Move declarations of standard_symbol_characters and
1001 hp_symbol_characters inside #ifdef MAIN to avoid compiler
1002 warnings.
1003
21a7d507 10041999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
1005
1006 * hashtab.c (find_hash_table_entry): When returning a
1007 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
1008 (clear_hash_table_slot): New function which deletes an entry
1009 by its position in the table, not its value.
1010 (traverse_hash_table): New function which calls a hook
1011 function for every live entry in the table.
1012
42c870f1 10131999-10-19 Mark Mitchell <mark@codesourcery.com>
1014
1015 * cplus-dem.c (INTBUF_SIZE): New macro.
1016 (string_append_template_idx): New function.
1017 (demangle_expression): Likewise.
1018 (demangle_integral_value): Use it.
1019 (demangle_real_value): New function, split out from ...
1020 (demangle_template_value_parm): ... here. Use
1021 string_append_template_idx. Use demangle_real_value.
1022 (demangle_template): Use string_append_template_idx.
1023 (demangle_qualified): Use consume_count_with_underscores.
1024 (get_count): Tweak formatting.
1025 (do_type): Use string_append_template_idx.
07c967f9 1026
33b090eb 10271999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1028
1029 * calloc.c: Add a public domain notice.
1030
9879c2ce 1031Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
1032
1033 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
1034
5da6c26f 1035Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
1036
1037 * Makefile.in (CFILES): Add hashtab.c
1038 (REQUIRED_OFILES): Add hashtab.o
1039 (hashtab.o): Add dependencies.
1040 * hashtab.c: New file
1041
be42b79e 1042Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
1043
1044 * basename.c (DIR_SEPARATOR): New macro.
1045 (DIR_SEPARATOR_2): Likewise.
1046 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
1047 (IS_DIR_SEPARATOR): Likewise.
1048 (main): Handle MSDOS style pathname.
1049
6c65e8d7 10501999-10-11 Mark Mitchell <mark@codesourcery.com>
1051
1052 * cplus-dem.c (do_type): Handle pointer to member types whose
1053 enclosing classes have namespace scope.
1054
278929f3 1055Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
1056
1057 * config.table: Provide a backup shell for executing move-if-change.
1058
a7599ac8 10591999-10-02 Mark Mitchell <mark@codesourcery.com>
1060
1061 * xmalloc.c (xmalloc): Fix spelling error.
1062 (xcalloc, xrealloc): Likewise.
1063
4d84eafd 10641999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1065
1066 * cplus-dem.c (fancy_abort, demangle_integral_value,
1067 demangle_arm_hp_template, recursively_demangle,
1068 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
1069 (program_name, program_version, fatal): Constify a char*.
1070 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
1071 (main): Call return, not exit.
1072
8f376364 10731999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1074
1075 * choose-temp.c: Remove obsolete comment about gcc.
1076 (make_temp_file): Constify a char*.
1077
3a4fff76 1078Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1079
1080 * xmemdup.c: Include sys/types.h.
1081
7570bccb 10821999-09-07 Jeff Garzik <jgarzik@pobox.com>
1083
1084 * xmemdup.c: New xmemdup function.
1085 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
1086
b50c7be3 1087Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
1088
07c967f9 1089 * config.table: Add openedition target.
b50c7be3 1090 * config/mh-openedition: New file.
1091
fd0c1d22 1092Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
1093
1094 * pexecute.c (pexecute): Fill in temp_base when needed.
1095
be342bf0 10961999-08-31 Richard Henderson <rth@cygnus.com>
1097
1098 * getpwd.c: Check HAVE_GETCWD before defining it away.
1099
71774460 11001999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1101
1102 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
1103 (REQUIRED_OFILES): Add getpwd.o.
1104 (getpwd.o): Add target.
1105
1106 * configure.in (AC_PREREQ): Bump to 2.13.
1107 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
1108
1109 * getpwd.c: New file, moved here from gcc.
1110
ac126d82 11111999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1112
1113 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
1114 comparing against a signed quantity.
1115 (arm_special): Likewise.
1116 (demangle_fund_type): Likewise.
1117 (do_hpacc_template_const_value): Mark parameter `work' with
07c967f9 1118 ATTRIBUTE_UNUSED.
ac126d82 1119 (main): Constify variable `valid_symbols'.
1120
4f3b4661 1121Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
1122
1123 * strtoul.c (strtoul): Add parentheses around && within ||.
1124
f92ff492 1125Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
1126
1127 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
1128 libdir, libsubdir and tooldir.
1129
a9f46aed 11301999-08-01 Mark Mitchell <mark@codesourcery.com>
1131
1132 * splay-tree.c (splay_tree_insert): Return the new node.
1133
db081298 11341999-07-14 Richard Henderson <rth@cygnus.com>
1135
07c967f9 1136 * argv.c: Include stdlib.h and string.h instead of
db081298 1137 prototyping directly.
1138 * choose-temp.c: Conditionally include string.h.
1139
e5aa3a54 11401999-07-12 Jason Merrill <jason@yorick.cygnus.com>
1141
1142 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
1143
4ef402f7 11441999-07-11 Ian Lance Taylor <ian@zembu.com>
1145
1146 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1147 warning.
1148
d65034bd 11491999-07-07 Jason Merrill <jason@yorick.cygnus.com>
1150
1151 * Makefile.in (needed-list): Only include stuff we actually need
1152 for libstdc++.
1153
18912799 11541999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1155
1156 * configure.in (checkfuncs): Add gettimeofday.
1157 * config.in, configure: Regenerated.
1158
d96f58b6 1159Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
1160
1161 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
1162 the test fails.
1163 * configure: Regenerate.
1164
4248b202 11651999-06-10 Mike Stump <mrs@wrs.com>
1166
1167 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
1168 parallel builds.
1169
3c243ded 11701999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1171
1172 * putenv.c: Include ansidecl.h to define `const'.
1173 * setenv.c: Likewise.
1174
654c70ae 1175Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
1176
34f75864 1177 * Makefile.in (CFILES): Add putenv.c and setenv.c.
1178 * configure.in (funcs): Add putenv and setenv.
1179 (AC_CHECK_FUNCS): Check for putenv and setenv.
1180 * configure: Rebuilt.
1181 * putenv.c setenv.c: New files.
1182
654c70ae 1183 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
1184 bytes of space using malloc.
1185
41980611 1186Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
1187
1188 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
1189 the *mangled pointer beyond the end of the string. Clean up code to
1190 match prevailing coding style.
1191
08b8ada9 11921999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1193
1194 * tmpnam.c (L_tmpnam): Fix typo.
1195
2fb1c6e9 1196Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
1197
1198 * cplus-dem.c (standard_symbol_characters): Renamed from
1199 standard_symbol_alphabet. No longer modify TABLE.
1200 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
1201 modify TABLE.
1202 (main): Corresponding changes. Use strchr to determine if a
1203 character is valid.
1204
25398e41 12051999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
1206
1207 * cplus-dem.c (main): Use table lookup to distinguish identifier
1208 characters from non-identifier characters.
1209 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
1210
29723d26 1211Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
1212
1213 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
1214 * getruntime.c: Only attempt to include sys/resource.h and
1215 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
1216 are defined.
1217
dde96550 1218Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
1219
1220 * configure.in (alloca detection): Handle alloca directly for interix.
1221 * configure: Rebuilt.
1222
e98ba651 1223Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
1224
1225 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
1226
3460a017 12271999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
1228
1229 Fix from Dale Hawkins:
07c967f9 1230 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
3460a017 1231 reallocated properly if we use it again.
1232
1233 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
1234 stricter about syntax. Always null-terminate string.
1235
b01c0955 1236Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
1237
1238 * configure.in (checkfuncs): Check for sbrk.
1239 * config.in: Rebuilt.
1240 * configure: Likewise.
1241 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
1242
87c2e884 12431999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
1244
1245 Fix from Marcus Daniels:
1246 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
1247 identifier looking for another underscore.
1248
16b8e80f 1249Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
1250
1251 * pexecute.c: Change all references to __UWIN__ to _UWIN.
1252 * xmalloc.c: Likewise.
1253 (xcalloc): UWIN has sbrk.
1254 (xrealloc): Fix guard macro.
1255
4d0cfb7e 12561999-04-11 Richard Henderson <rth@cygnus.com>
1257
1258 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
1259 or <alloca.h>.
1260 * clock.c (GNU_HZ): New definition.
1261 (clock): Use it.
1262 * getruntime.c: Likewise.
1263
1264 * config.table: Use mh-beos.
1265 * config/mh-beos: New file.
1266
0dc64970 12671999-04-11 Mark Mitchell <mark@codesourcery.com>
1268
1269 * cplus-dem.c (demangle_template_value_parm): Handle
1270 pointers-to-members.
1271 (do_type): Handle template parameters as qualifiers.
1272
9fec6063 12731999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
1274
1275 * cplus-dem.c: Attempt to handle overflows in counts with some
1276 semblance of grace.
1277 (consume_count): Detect overflows. Return -1 to indicate errors,
1278 instead of zero.
1279 (demangle_template_value_parm, demangle_template): Handle change
1280 to consume_count's return convention.
1281
715f424c 12821999-04-05 Tom Tromey <tromey@cygnus.com>
1283
1284 * testsuite/regress-demangle: New file.
1285 * testsuite/demangle-expected: New file.
1286
1287 * Makefile.in (all, check, installcheck, info, install-info,
1288 clean-info, dvi, install, etags, tags, mostlyclean, clean,
1289 distclean, maintainer-clean, realclean): Depend on corresponding
1290 `-subdir' target.
1291 (all-subdir check-subdir installcheck-subdir info-subdir
1292 install-info-subdir clean-info-subdir dvi-subdir
1293 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
1294 distclean-subdir maintainer-clean-subdir): New target.
1295 * testsuite/Makefile.in: New file.
1296 * configure: Rebuilt.
1297 * configure.in: Create testsuite/Makefile.
1298
71c5948c 12991999-04-02 Mark Mitchell <mark@codesourcery.com>
1300
1301 * splay-tree.h (splay_tree_compare_pointers): Define.
1302
d1264606 13031999-03-30 Mark Mitchell <mark@codesourcery.com>
1304
1305 * splay-tree.c (splay_tree_compare_ints): Define.
1306
6fd618e7 13071999-03-30 Tom Tromey <tromey@cygnus.com>
1308
1309 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
1310 don't advance input pointer.
1311 (demangle_class_name): If consume_count didn't find a count, do
1312 nothing. Don't bother with `strlen' sanity check; consume_count
1313 does it for us.
1314
bdaa26ad 13151999-03-16 Stan Shebs <shebs@andros.cygnus.com>
1316
1317 From Art Haas <ahaas@neosoft.com>:
1318 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
1319 when doing arm or hp style.
1320 (demangle_nested_args): Decr forgetting_types field when done.
07c967f9 1321
d267f778 1322Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
1323
1324 * pexecute.c (__CYGWIN32__): Rename to
1325 (__CYGWIN__): this.
1326 * xmalloc.c: Likewise.
1327
1328 Changes to support i386-pc-uwin.
1329 * configure.in (*-*-uwin*): Workaround for vfork bug.
1330 * configure: Regenerate.
1331 * pexecute.c (pexecute): Be like standard Unix.
1332 (pwait): Likewise.
1333 * xmalloc.c (first_break): Define.
1334 (xmalloc_set_program_name): Use.
1335 (xmalloc): Use.
1336
90405950 1337Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1338
1339 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
1340
bdaa26ad 1341Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
1342
1343 * config.table: Check cygwin*, not cygwin32*.
1344
e6ed8194 1345Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
1346
1347 * Makefile.in: Change mkstemp -> mkstemps.
1348
301e59c9 1349Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
1350
1351 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
1352 * configure.in (funcs): Check for and conditionally add mkstemps to
1353 the list of functions libiberty will provide.
1354 * configure: Rebuilt.
07c967f9 1355
89e305f9 1356Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
1357
07c967f9 1358 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
89e305f9 1359 platforms that don't have HZ.
1360 * getruntime.c (HZ): Likewise.
1361
ecfe64e7 1362Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
1363
1364 * Makefile.in (xstrdup.o): Depend on config.h.
1365
2e5e2114 1366Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
1367
1368 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
1369 freeing it.
1370
6aa62a59 1371Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1372
1373 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
1374
bdaa26ad 1375Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1376
1377 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
1378 splay-tree.o.
1379
13801999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
1381
1382 * configure.in: Require autoconf 2.12.1 or higher.
1383
9e1ed734 13841998-12-30 Michael Meissner <meissner@cygnus.com>
1385
1386 * random.c (NULL): Don't redefine NULL if it is already defined.
1387
7c8c70e9 1388Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1389
1390 * argv.c (buildargv): Cast the result of alloca in assignment.
1391
1392 * choose-temp.c: Include stdlib.h.
2e5e2114 1393
7c8c70e9 1394 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
1395 (snarf_numeric_literal): Constify first parameter.
1396 (code_for_qualifier): Avoid a gcc extension, make the parameter an
1397 int, not a char.
1398 (demangle_qualifier): Likewise.
1399 (demangle_signature): Cast the argument of a ctype function to
1400 unsigned char.
1401 (arm_pt): Add parens around assignment used as truth value.
1402 (demangle_arm_hp_template): Constify variable `args'.
1403 (do_hpacc_template_const_value): Cast the argument of a ctype
1404 function to unsigned char.
1405 (do_hpacc_template_literal): Remove unused variable `i'.
1406 (snarf_numeric_literal): Constify parameter `args'.
1407 Cast the argument of a ctype function to unsigned char.
1408
1409 * floatformat.c (floatformat_to_double): Add explicit braces to
1410 avoid ambiguous `else'.
2e5e2114 1411
7c8c70e9 1412 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
1413 `cstart' and `cend' to unsigned char. Cast the argument of macro
1414 `FOLD', which uses ctype functions, to unsigned char.
1415
1416 * objalloc.c (free): Add prototype.
1417
9070a37e 1418Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
1419
1420 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
1421
bdaa26ad 1422Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
1423
1424 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
1425 doesn't exist.
1426 (do_hpacc_template_literal): remove unused variable `i'.
07c967f9 1427
0a5a5994 1428Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
1429
1430 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
1431 bumping the pointer we read from. Also prepend these codes,
1432 as we do in other places.
1433
bdaa26ad 14341998-12-18 Nick Clifton <nickc@cygnus.com>
1435
1436 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
1437 'const char *' in order to match its usage when calling siblings.
1438 (snarf_numeric_literal): Make first arg 'const char **' in order
1439 to match usage.
4ed77eec 1440
50cbddd6 1441Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1442
4ed77eec 1443 * choose-temp.c: Don't check IN_GCC anymore.
1444
1445 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
1446 * memchr.c (memchr): Likewise.
1447 * memcpy.c (memcpy): Likewise.
1448 * memmove.c (memmove): Likewise.
2e5e2114 1449
4ed77eec 1450 * mkstemp.c: Don't check IN_GCC anymore.
1451 * pexecute.c: Likewise.
1452 * splay-tree.c: Likewise.
2e5e2114 1453
4ed77eec 1454 * strchr.c (strchr): Use `const', not `CONST'.
1455 * strrchr.c (strrchr): Likewise.
1456 * strtol.c (strtol): Likewise.
1457 * strtoul.c (strtoul): Likewise.
1458
f75dc4de 1459Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
1460 Elena Zannoni <ezannoni@cygnus.com>
1461 Stan Shebs <shebs@cygnus.com>
1462 Edith Epstein <eepstein@cygnus.com>
1463 Andres MacLeod <amacleod@cygnus.com>
1464 Satish Pai <pai@apollo.hp.com>
1465
1466 * HP aCC demangling support.
1467 * cplus-dem.c
1468 (main): Remove default to HP style demangling, set to EDG
1469 demangling correctly when -edg specified; set the demangling style
1470 when user specifies 'edg'. Set strip_underscore to
1471 prepends_underscore, if not HPUXHPPA. Set
1472 current_demangling_style to hp_demangling if HPUXHPPA. Set
1473 current demangling style correctly if the switch is hp. Read
1474 label correctly also in the HP style case.
1475 (work_stuff): add temp_start field; add field for volatile member
1476 function.
1477 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
1478 style for this case is the same as ARM.
1479 (demangle_args): handle EDG_DEMANGLING style; support HP style.
1480 (demangle_arm_hp_template): new function. (It was
1481 demangle_arm_pt.); check and set value of temp_start field in
1482 multiple places. Also, when ceching for end of template args,
1483 check to see if at end of static member of template class.
1484 (demangle_class): new local variable : save_class_name_end Don't
1485 include template args in string defining class.
1486 (demangle_class_name): use demangel_arm_hp_template.
1487 (demangle_function_name): handle case where demangling style is
1488 HP_DEMANGLING and currently point at an 'X' in the mangled name.
1489 Handle EDG_DEMANGLING style. Handle constructor and destructor
1490 ops for HP style.
1491 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
1492 styles. global destructor and constructor for HP style are same
1493 as for ARM style. Same for local variables.
1494 (demangle_qualified): handle EDG_DEMANGLING style.
1495 (demangle_signature): add case for volatile member function. For
1496 cases '1' - '9' : initialize the temp_start field to -1 and handle
1497 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
1498 and AUTO_DEMANGLING styles. If expecting a function and managed
1499 to demangle the funct args, then handle the LUCID_DEMANGLING,
1500 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
1501 class name after "Lnnn_ in HP style case. HP style too needs to
1502 forget types. _nnn is OK for HP style, so don't report failure.
1503 (do_hpacc_template_const_value): new function. Handle template's
1504 value param for HP/aCC.
1505 (do_hpacc_template_literal): new function. Handle a template's
1506 literal parameter for HP aCC.
1507 (recursively_demangle): new function
1508 (snarf_numeric_literal): new function.
1509 (usage): add 'edg' to the list of demangling styles; add hp switch
1510 to message.
1511
a5c56042 1512Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
1513
1514 * pexecute.c: Remove obsolete ifdefed cygwin code.
1515
4ae63959 1516Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1517
1518 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
1519 * cplus-dem.c: Likewise. Conform to libiberty.h.
1520 * pexecute.c: Likewise.
1521 * splay-tree.c: Likewise.
1522
b41b6b67 15231998-11-25 Mike Stump <mrs@wrs.com>
1524
1525 * Makefile.in (splay-tree.o): Add config.h dependency.
1526
a1dd5bff 1527Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1528
1529 * configure.in: Use AC_PREREQ(2.12.1).
1530
d54546fb 15311998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
1532
07c967f9 1533 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
d54546fb 1534
9fdb1080 1535Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
1536
1537 * mpw.c (mpw_access): Add missing parens.
1538
1ed7db2f 1539Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1540
1541 * configure.in: Call AC_HEADER_SYS_WAIT.
1542
1543 * pexecute.c: Include sys/wait.h when !IN_GCC.
1544
bdaa26ad 1545Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
1546
1547 * pexecute.c: revert back to checking old Cygwin
1548 preprocessor symbol until some time has passed.
1549
1550Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
1551
1552 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
1553 since it will now support similar constructs.
1554
34fa8831 1555Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1556
1557 * configure.in: Check for calloc.
1558
1559 * calloc.c: New file.
1560
1561 * xmalloc.c (xcalloc): New function.
1562
75ebb412 1563Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
1564
1565 *cplus-dem.c (demangle_prefix): Use the last "__"
1566 in the mangled name when looking for the signature. This allows
1567 template names to begin with "__".
1568
5b546829 15691998-11-08 Mark Mitchell <mark@markmitchell.com>
1570
73bea962 1571 * cplus-dem.c (type_kind_t): Add tk_reference.
1572 (demangle_template_value_parm): Handle it.
1573 (do_type): Use it for references, instead of tk_pointer.
1574
5b546829 1575 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
1576 not internal_cplus_demangle.
1577
0e4558d2 1578Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1579
1580 * choose-temp.c: Don't include gansidecl.h.
1581 * mkstemp.c: Likewise.
1582 * pexecute.c: Likewise.
1583
7b8b8d43 1584Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
1585
07c967f9 1586 * configure.in: detect cygwin* instead of cygwin32*
1587 * configure: regenerate
7b8b8d43 1588
f9a39df1 1589Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1590
1591 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
1592 whether to include config.h. Possibly include unistd.h in the
1593 !IN_GCC case. Define VFORK_STRING as a printable function call
1594 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
1595 defined, include vfork.h. If VMS is defined, define vfork()
1596 appropriately. Remove vfork check on USG, we're using autoconf.
1597 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
1598 locally what string to use.
1599
797ba725 16001998-10-26 Mark Mitchell <mark@markmitchell.com>
1601
1602 * splay-tree.c: Tweak include directives to make sure declarations of
1603 xmalloc and free are available.
1604
3662c79b 16051998-10-25 Mark Mitchell <mark@markmitchell.com>
1606
1607 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
1608 anonymous namespaces.
2e5e2114 1609
af5199c0 16101998-10-23 Mark Mitchell <mark@markmitchell.com>
1611
1612 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
1613 with type_quals.
1614 (TYPE_UNQUALIFIED): New macro.
1615 (TYPE_QUAL_CONST): Likewise.
1616 (TYPE_QUAL_VOLATILE): Likewise.
1617 (TYPE_QUAL_RESTRICT): Likewise.
1618 (code_for_qualifier): New function.
1619 (qualifier_string): Likewise.
1620 (demangle_qualifier): Likewise.
1621 (internal_cplus_demangle): Use them.
1622 (demangle_signature): Likewise.
1623 (demangle_template_value_parm): Likewise.
1624 (do_type): Likewise.
1625 (demangle_fund_type)): Likewise.
3662c79b 1626
e61da89d 1627Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1628
1629 * splay-tree.c (splay_tree_foreach_helper): Make definition static
1630 to match prototype.
1631
9a4eb61d 16321998-10-21 Mark Mitchell <mark@markmitchell.com>
1633
1634 * splay-tree.c: New file.
1635 * Makefile.in (CFILES): Add it.
1636 (REQUIRED_OFILES): Likewise.
1637 (splay-tree.o): Add dependencies.
1638
e5d3a45b 1639Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1640
1641 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
1642 range of 'K' index.
1643
4350e959 1644Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1645
1646 * choose-temp.c: Prototype mkstemps() when IN_GCC.
1647
1648 * cplus-dem.c (consume_count): Cast argument of ctype macro to
1649 `unsigned char'.
1650 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
1651 comparing against one.
1652 (cplus_mangle_opname): Likewise.
1653 (demangle_integral_value): Cast argument of ctype macro to
1654 `unsigned char'.
1655 (demangle_template_value_parm): Likewise.
1656 (demangle_template): Initialize variable `bindex'. Cast the
1657 result of `strlen' to (int) when comparing against one. Remove
1658 unused variable `start_of_value_parm'.
1659 (demangle_class_name): Cast the result of `strlen' to (int) when
1660 comparing against one.
1661 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
1662 (gnu_special): Likewise. Cast the result of `strlen' to (int)
1663 when comparing against one.
1664 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
1665 (get_count): Likewise.
1666 (do_type): Likewise. Cast the result of `strlen' to (int) when
1667 comparing against one.
1668 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
1669 (demangle_function_name): Cast the result of `strlen' to (int)
1670 when comparing against one.
1671
1672 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
1673 comparing against one.
1674
5dfe2c03 1675Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
1676
07c967f9 1677 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
1678 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
1679 * config.in, configure: Rebuilt.
0be6f86d 1680
5dfe2c03 1681 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
1682 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
1683 * config.in, configure: Rebuilt.
1684
7b8b8d43 1685Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
1686
07c967f9 1687 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
7b8b8d43 1688
68b78c88 1689Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
1690
1691 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
1692
804ec1bf 1693Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
1694
1695 * Merge egcs & devo libiberty.
1696
7a1ec54f 1697