]> git.ipfire.org Git - thirdparty/gcc.git/blame - libiberty/ChangeLog
* config/ia64/ia64.h (struct machine_function): Add n_varargs.
[thirdparty/gcc.git] / libiberty / ChangeLog
CommitLineData
ee1d4c3d 12000-08-24 Greg McGary <greg@mcgary.org>
2
3 * libiberty/random.c (end_ptr): Revert previous change.
4
f0bff53d 52000-08-24 Greg McGary <greg@mcgary.org>
6
7 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
8 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
9 * libiberty/random.c (end_ptr): Likewise.
10
c1b316c0 112000-08-23 Alex Samuel <samuel@codesourcery.com>
12
13 * cp-demangle.c (result_close_template_list): Remove function.
14 (result_add_separated_char): New function.
15 (result_open_template_list): New macro.
16 (result_close_template_list): Likewise.
17 (demangle_prefix): Don't set template_p if the
18 prefix ends with a ctor name.
19 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
20 (demangle_type): Check for template args after substitution.
21 (demangle_template_args): Use result_open_template_list.
22
385b48fc 232000-08-02 Zack Weinberg <zack@wolery.cumb.org>
24
25 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
26
d0ed2203 272000-07-26 Dave Pitts <dpitts@cozx.com>
ba886691 28
29 * config/mh-openedition.h: Added -DLE370 definition.
30
8fc0efd2 312000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
32
33 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
34 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
35 Cast program to 'char *' in errmsg_arg assignment.
36 (PWAIT_ERROR): Define.
37 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
38 to DJGPP's WIF* macros.
39
a1d4f79a 402000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
41 Jeff Law <law@cygnus.com>
42
98b4c197 43 * getcwd.c: Include string.h, stdlib.h for prototypes
44
a1d4f79a 45 * Makefile.in (rename.o, waitpid.o): Depend on config.h
98b4c197 46 * rename.c: Include config.h, unistd.h
47 * waitpid.c: Include config.h, sys/wait.h
a1d4f79a 48
f2e5a608 492000-07-24 Daniel Berlin <dberlin@redhat.com>
50
51 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
52 if (AUTO_DEMANGLING || GNU_DEMANGLING)
53
65bcf503 542000-07-21 Alex Samuel <samuel@codesourcery.com>
55
56 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
57 allocating ctor mangling.
58 (demangle_array_type): Handle empty and non-constant array length.
59
68e6b6e1 602000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
a451eef0 61 Jeff Law <law@cygnus.com>
62
1a163ca8 63 * configure.in (AC_CHECK_HEADERS): Add time.h.
64 (AC_HEADER_TIME): Add check.
65 * configure, config.in: Regenerate.
66 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
67
a451eef0 68 * configure.in (AC_CHECK_HEADERS): Add limits.h.
69 * configure, config.in: Regenerate.
70 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
71 * strtol.c, strtoul.c: #include "config.h". Portably #include
72 <limits.h> and/or <sys/param.h>.
73 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
68e6b6e1 74
fb758229 75 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
76 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
77 * configure, config.in: Regenerate.
78 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
79
68e6b6e1 80 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
81
ad46fec4 822000-07-21 Mike Stump <mrs@wrs.com>
83
84 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
7b23d366 85 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
ad46fec4 86
bb37062f 872000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
88
89 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
90
91 * setenv.c (setenv): Initialize variable `ep'.
92
93 * sigsetmask.c (abort): Prototype.
94
95 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
96 __STDC__ for stdarg.h include.
97 (int_vasprintf): Prototype.
98 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
99 definition. Cast `global_total_width' in comparison.
100 (main): Prototype. Return a value.
101
102 * vfork.c (fork): Prototype.
103
104 * xexit.c: Include config.h.
105
6cb730c2 1062000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
107
108 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
109 and print it with %u.
110
e42d7fe1 1112000-07-17 Hans-Peter Nilsson <hp@axis.com>
112
113 * testsuite/regress-demangle (failed test): Show result and
114 expected output.
115
04ef60ef 1162000-07-07 Andrew Haley <aph@cygnus.com>
117
118 * cplus-dem.c (main): fflush() after emitting last char before
119 waiting for input.
120
b7f68aff 1212000-06-28 Alex Samuel <samuel@codesourcery.com>
122
123 * cp-demangle.c (demangle_encoding): Accept no substitutions.
124 (demangle_name): Handle <substitution> followed by
125 <unqualified-template-name>.
126 (demangle_type): Follow special substitutions with
127 <class-enum-type>
128 (demangle_subtitution): Set template_p for special substitutions.
129 (main): Fix typos.
130
597f928d 1312000-06-27 Alex Samuel <samuel@codesourcery.com>
132
133 * cp-demangle.c (demangle_special_name): Swap base and derived
134 class when demangling construction vtables.
135
140d75d7 1362000-06-21 Alex Samuel <samuel@codesourcery.com>
137
138 * cp-demangle.c: Don't include ctype.h.
139 (IS_DIGIT): New macro.
140 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
141 instead of isdigit and isalpanum.
142 (demangling_def): Make name and next const pointers.
143 (STATUS_ALLOCATION_FAILED): New status code.
144 (dyn_string_append_space): Handle failure in
145 dyn_string_append_char.
146 (int_to_dyn_string): Likewise. Change return value to status_t.
147 (string_list_new): Handle failure of dyn_string_init.
148 (result_close_template_list): Change return type to status_t.
149 Handle failure in dyn_string_append.
150 (result_push): Change return value to status_t. Handle failure in
151 string_list_new. Handle failure of result_push throughout.
152 (substitution_add): Change return value to status_t. Handle
153 dyn_string failures. Handle failure of substitution_add
154 throughout.
155 (template_arg_list_new): Return NULL on allocation failure.
156 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
157 Handle error result throughout.
158 (result_append): Likewise.
159 (result_append_char): Likewise.
160 (result_append_space): Likewise.
161 (demangling_new): Make argument a const pointer. Handle
162 allocation failures.
163 (demangle_template_args): Handle failure in template_arg_list_new
164 and result_close_template_list.
165 (demangle_discriminator): Return if int_to_dyn_string fails.
166 (cp_demangle): Likewise.
167 (cp_demangle_type): New function.
168 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
169 memory allocation failure.
170 (main): Likewise.
171 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
172 IN_LIBGCC2.
173 (dyn_string_init): Change return value to int. Handle
174 RETURN_ON_ALLOCATION_FAILURE case.
175 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
176 (dyn_string_release): Delete the dyn_string.
177 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
178 (dyn_string_copy): Change return type to int.
179 (dyn_string_copy_cstr): Likewise.
180 (dyn_string_prepend): Likewise.
181 (dyn_string_prepend_cstr): Likewise.
182 (dyn_string_insert): Likewise.
183 (dyn_string_insert_cstr): Likewise.
184 (dyn_string_append): Likewise.
185 (dyn_string_append_cstr): Likewise.
186 (dyn_string_append_char): Likewise.
187 (dyn_string_substring): Likewise.
188
210aba33 1892000-06-09 Zack Weinberg <zack@wolery.cumb.org>
190
191 * cp-demangle.c (demangle_operator_name): Add spaces before
192 names beginning with a letter: delete, delete[], new, new[],
193 sizeof.
194 (demangle_special_name): Handle TF <type> and TJ <type>.
195
0b4450c1 196Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
197
198 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
199
e5d6924a 200Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
201
202 * cp-demangle.c (stdio.h): File included unconditionaly.
203 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
204 * dyn-string.c (stdio.h): File included.
205 * partition.c (partition_print): No `&' needed to take the address of
206 a function.
207
da8bd873 2082000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
209
210 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
211
212 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
213
214 * cp-demangle.c (demangle_char): Change parameter from char to int.
215 (demangle_expression, demangle_expr_primary): Remove extra
216 semi-colon in prototype.
217
218 * dyn-string.c (dyn_string_append_char): Change parameter from
219 char to int.
220
221 * memcmp.c (memcmp): Constify.
222
223 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
224 __extension__.
225
226 * partition.c (elem_compare): Prototype. Don't cast away
227 const-ness.
228
229 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
230
4b7bc488 2312000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
232
233 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
234
235 * cp-demangle.c: Include demangle.h.
236 (template_arg_list_new): DeANSIfy.
237 (cp_demangle): Make static and add prototype.
238 (operator_code, operators): Constify.
239 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
240
7ae7b54c 2412000-06-05 Alex Samuel <samuel@codesourcery.com>
242
243 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
244 unsigned char.
245 (demangle_unqualified_name): Likewise.
246 (demangle_number_literally): Likewise.
247 (demangle_type): Likewise.
248 (demangle_substitution): Likewise.
249 (is_mangled_char): Likewise, for isalnum.
250
168d63e5 2512000-06-04 Alex Samuel <samuel@codesourcery.com>
252
253 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
254 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
255 (cp-demangle.o): New dependency.
256 (dyn-string.o): Likewise.
257
258 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
259
260 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
261 demangler.
262 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
263 demangling mode.
264 (gnu_new_abi_symbol_characters): New function.
265 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
266 file.
267 * cp-demangle.c: New file.
268
b5495c1d 269Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
270
271 * floatformat.c: Add name to each floatformat field.
272
8fab1737 273Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
274
275 * Makefile.in (objalloc.o): Depend on config.h
276
317ab997 2772000-05-29 Zack Weinberg <zack@wolery.cumb.org>
278
279 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
280 if HAVE_STRING_H.
281 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
282 * objalloc.c: Include config.h. Include stdlib.h and don't
283 declare malloc or free if HAVE_STDLIB_H.
284 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
285 else declare malloc without prototype. Include string.h if
286 HAVE_STRING_H, else declare memset without prototype. Don't
287 include stddef.h.
288
874478ba 2892000-05-23 Mike Stump <mrs@wrs.com>
290
291 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
292 -j3.
293
55de1520 2942000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
295
296 * xmalloc.c: Include config.h for HAVE_SBRK definition.
297
e51b357b 2982000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
299
300 * hashtab.c (hash_pointer): Delete low-order bits which are
301 probably zero, also eliminate a warning on alpha.
302
9e362499 3032000-05-15 David Edelsohn <edelsohn@gnu.org>
304
e390e838 305 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
9e362499 306 on $(enable_shared).
307
06c6487f 3082000-05-10 Jakub Jelinek <jakub@redhat.com>
309
310 * config.table: Use mh-sparcpic for sparc*-*-*.
311
0baf89fb 3122000-05-08 Nick Clifton <nickc@cygnus.com>
313
314 * Makefile.in (CFILES): Add strncmp.c.
315 (NEEDED): Add strncmp.
316
59f72e4d 3172000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
318
319 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
320 Cast the arguments to `islower' to `unsigned char'.
321 (print_demangler_list): Prototype.
322
fb0c90ed 323Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
324
325 * sort.c (UCHAR_MAX): Provide fallback definition.
326
167a5f18 3272000-04-29 Alexandre Oliva <aoliva@cygnus.com>
328
329 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
330 SUBDIRS.
331
6f572555 3322000-04-28 Kenneth Block <block@zk3.dec.com>
333 Jason Merrill <jason@casey.cygnus.com>
334
335 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
336 (cplus_demangle_set_style): New function for setting style.
337 (cplus_demangle_name_to_style): New function to translate name.
338
b3524c8f 3392000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
340
341 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
342
343 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
344 (libiberty_AC_FUNC_STRNCMP): Invoke.
345
346 * strncmp.c: New file.
347
a5f725a3 348Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
349
350 * hashtab.c (htab_expand): Add prototype.
351 (find_empty_slot_for_expand): Likewise.
352
8afd4145 3532000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
354
355 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
356 match prototype.
357 (htab_expand): Cast the return value of xcalloc.
358
c9dfb8ae 3592000-04-24 Mark Mitchell <mark@codesourcery.com>
360
361 * hashtab.c (hash_pointer): New function.
362 (eq_pointer): Likewise.
363 (htab_hash_pointer): New variable.
364 (htab_eq_pointer): Likewise.
365
85993fc6 3662000-04-23 Mark Mitchell <mark@codesourcery.com>
367
9517f453 368 * sort.c (sort_pointers): Fix endianness bugs.
369
85993fc6 370 * sort.c: New file.
371 * Makefile.in (CFILES): Add sort.c
372 (REQUIRED_OFILES): Add sort.o.
373 (sort.o): New target.
374
c9b2f47c 3752000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
376
377 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
378 4.3BSD systems.
379
2b3dbc20 380Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
381
382 * hashtab.c: Various minor cleanups.
383 (htab_find_slot_with_hash): INSERT is now enum insert_option.
384 (htab_find_slot): Likewise.
385
6ea8a864 3862000-04-16 Dave Pitts <dpitts@cozx.com>
387
388 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
389
105211e5 3902000-04-05 Richard Henderson <rth@cygnus.com>
391
392 * splay-tree.c (splay_tree_remove): New.
393
7669680f 3942000-03-30 Mark Mitchell <mark@codesourcery.com>
395
396 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
397 codes.
398 (htab_find_with_hash): Likewise.
399 (htab_find_slot_with_hash): Likewise.
400
07c797e3 4012000-03-29 Zack Weinberg <zack@wolery.cumb.org>
402
403 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
404 unless it will be used. Rearrange loop for better
405 optimization.
406 (higher_prime_number): Add static prototype.
407
8ef1b8d1 408Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
409
410 * Makefile.in (partition.o): Depend on config.h
411
ed26da85 4122000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
413
414 * hashtab.c (find_empty_slot_for_expand): New function.
415 (htab_expand): Use it instead of htab_find_slot.
416 (htab_find_with_hash): Renamed from htab_find; now accepts extra
417 argument HASH.
418 (htab_find_slot_with_hash): Likewise for htab_find_slot.
419 (htab_find): New wrapper function.
420 (htab_find_slot): Likewise.
421 (htab_traverse): Pass slot, not entry, to called function.
422
dadde703 4232000-03-09 Alex Samuel <samuel@codesourcery.com>
424
425 * Makefile.in (CFILES): Add partition.c.
426 (REQUIRED_OFILES): Add partition.o.
427 (partition.o): New rule.
428 * partition.c: New file.
429
3fdd387a 4302000-03-09 Zack Weinberg <zack@wolery.cumb.org>
431
432 * hashtab.c (htab_create): Set del_f.
433 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
434 Use it.
435
07c967f9 4362000-03-08 Zack Weinberg <zack@wolery.cumb.org>
437
438 * hashtab.c: Remove debugging variables (all_searches,
439 all_collisions, all_expansions). Delete
440 all_hash_table_collisions.
441 (create_hash_table, delete_hash_table, empty_hash_table,
442 find_hash_table_entry, remove_element_from_hash_table_entry,
443 clear_hash_table_slot, traverse_hash_table, hash_table_size,
444 hash_table_elements_number, hash_table_collisions): Rename to:
445 htab_create, htab_delete, htab_empty, htab_find_slot,
446 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
447 htab_elements, htab_collisions.
448 (htab_find): New function, handles common case where you don't
449 plan to add or delete an entry.
450 (htab_expand): Don't create a whole new table, just a new
451 entry vector.
452 (htab_find_slot): Simplify logic.
453
1f33a375 4541999-08-03 Ian Lance Taylor <ian@zembu.com>
455
456 * floatformat.c: Add casts to avoid signed/unsigned warnings.
457 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
458
459 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
460 $(TARGETLIB)n so it works on MSDOS.
461 (install_to_tooldir): Likewise.
462
4631999-07-21 Ian Lance Taylor <ian@zembu.com>
464
465 From Mark Elbrecht:
466 * makefile.dos: Remove; obsolete.
467 * configure.bat: Remove; obsolete.
468
4691999-07-11 Ian Lance Taylor <ian@zembu.com>
470
471 * splay-tree.c (splay_tree_insert): Add initialization to avoid
472 warning.
473
b99e5aef 4742000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
475
476 * pexecute.c: Conditionally include string.h.
07c967f9 477 (fix_argv): Handle embedded whitespace in args for Mingw32.
b99e5aef 478
6d93ad38 4792000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
480
481 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
482 we're using gcc.
483
484 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
485
59dfb43e 4861999-12-27 Geoff Keating <geoffk@cygnus.com>
487
488 * vasprintf.c (int_vasprintf): Don't re-read the format character
489 as this mishandles strings like '%%s'.
490
b04bbebb 4911999-12-05 Mark Mitchell <mark@codesourcery.com>
492
493 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
494 rather than struct splay_tree_node.
495 (splay_tree_insert): Use struct splay_tree_s rather than struct
496 splay_tree.
497
d7f8de75 498Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
499
500 * hashtab.c (sys/types.h): File included.
501
7202ac7d 5021999-11-22 Jason Merrill <jason@casey.cygnus.com>
503
504 * strtoul.c, strtol.c, random.c: Remove advertising clause from
505 BSD license, pursuant with
506
507 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
508
bd41a79e 509Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
510
511 * hashtab.c: Include stdio.h.
512
b77d3fd0 513Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
514
515 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
516
1b4391fe 517Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
518
519 * xstrdup (sys/types.h): Include this file.
520
4bc57096 5211999-10-28 Nathan Sidwell <nathan@acm.org>
522
523 * Makefile.in (SUBDIRS): New macro.
524 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
525 avoid multiple subdirectory cleaning.
526 (*-subdir): Use SUBDIRS.
527
9087cad2 5281999-10-25 Jim Kingdon <http://developer.redhat.com/>
529
530 * cplus-dem.c: Move declarations of standard_symbol_characters and
531 hp_symbol_characters inside #ifdef MAIN to avoid compiler
532 warnings.
533
21a7d507 5341999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
535
536 * hashtab.c (find_hash_table_entry): When returning a
537 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
538 (clear_hash_table_slot): New function which deletes an entry
539 by its position in the table, not its value.
540 (traverse_hash_table): New function which calls a hook
541 function for every live entry in the table.
542
42c870f1 5431999-10-19 Mark Mitchell <mark@codesourcery.com>
544
545 * cplus-dem.c (INTBUF_SIZE): New macro.
546 (string_append_template_idx): New function.
547 (demangle_expression): Likewise.
548 (demangle_integral_value): Use it.
549 (demangle_real_value): New function, split out from ...
550 (demangle_template_value_parm): ... here. Use
551 string_append_template_idx. Use demangle_real_value.
552 (demangle_template): Use string_append_template_idx.
553 (demangle_qualified): Use consume_count_with_underscores.
554 (get_count): Tweak formatting.
555 (do_type): Use string_append_template_idx.
07c967f9 556
33b090eb 5571999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
558
559 * calloc.c: Add a public domain notice.
560
9879c2ce 561Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
562
563 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
564
5da6c26f 565Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
566
567 * Makefile.in (CFILES): Add hashtab.c
568 (REQUIRED_OFILES): Add hashtab.o
569 (hashtab.o): Add dependencies.
570 * hashtab.c: New file
571
be42b79e 572Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
573
574 * basename.c (DIR_SEPARATOR): New macro.
575 (DIR_SEPARATOR_2): Likewise.
576 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
577 (IS_DIR_SEPARATOR): Likewise.
578 (main): Handle MSDOS style pathname.
579
6c65e8d7 5801999-10-11 Mark Mitchell <mark@codesourcery.com>
581
582 * cplus-dem.c (do_type): Handle pointer to member types whose
583 enclosing classes have namespace scope.
584
278929f3 585Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
586
587 * config.table: Provide a backup shell for executing move-if-change.
588
a7599ac8 5891999-10-02 Mark Mitchell <mark@codesourcery.com>
590
591 * xmalloc.c (xmalloc): Fix spelling error.
592 (xcalloc, xrealloc): Likewise.
593
4d84eafd 5941999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
595
596 * cplus-dem.c (fancy_abort, demangle_integral_value,
597 demangle_arm_hp_template, recursively_demangle,
598 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
599 (program_name, program_version, fatal): Constify a char*.
600 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
601 (main): Call return, not exit.
602
8f376364 6031999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
604
605 * choose-temp.c: Remove obsolete comment about gcc.
606 (make_temp_file): Constify a char*.
607
3a4fff76 608Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
609
610 * xmemdup.c: Include sys/types.h.
611
7570bccb 6121999-09-07 Jeff Garzik <jgarzik@pobox.com>
613
614 * xmemdup.c: New xmemdup function.
615 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
616
b50c7be3 617Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
618
07c967f9 619 * config.table: Add openedition target.
b50c7be3 620 * config/mh-openedition: New file.
621
fd0c1d22 622Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
623
624 * pexecute.c (pexecute): Fill in temp_base when needed.
625
be342bf0 6261999-08-31 Richard Henderson <rth@cygnus.com>
627
628 * getpwd.c: Check HAVE_GETCWD before defining it away.
629
71774460 6301999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
631
632 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
633 (REQUIRED_OFILES): Add getpwd.o.
634 (getpwd.o): Add target.
635
636 * configure.in (AC_PREREQ): Bump to 2.13.
637 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
638
639 * getpwd.c: New file, moved here from gcc.
640
ac126d82 6411999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
642
643 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
644 comparing against a signed quantity.
645 (arm_special): Likewise.
646 (demangle_fund_type): Likewise.
647 (do_hpacc_template_const_value): Mark parameter `work' with
07c967f9 648 ATTRIBUTE_UNUSED.
ac126d82 649 (main): Constify variable `valid_symbols'.
650
4f3b4661 651Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
652
653 * strtoul.c (strtoul): Add parentheses around && within ||.
654
f92ff492 655Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
656
657 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
658 libdir, libsubdir and tooldir.
659
a9f46aed 6601999-08-01 Mark Mitchell <mark@codesourcery.com>
661
662 * splay-tree.c (splay_tree_insert): Return the new node.
663
db081298 6641999-07-14 Richard Henderson <rth@cygnus.com>
665
07c967f9 666 * argv.c: Include stdlib.h and string.h instead of
db081298 667 prototyping directly.
668 * choose-temp.c: Conditionally include string.h.
669
e5aa3a54 6701999-07-12 Jason Merrill <jason@yorick.cygnus.com>
671
672 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
673
4ef402f7 6741999-07-11 Ian Lance Taylor <ian@zembu.com>
675
676 * splay-tree.c (splay_tree_insert): Add initialization to avoid
677 warning.
678
d65034bd 6791999-07-07 Jason Merrill <jason@yorick.cygnus.com>
680
681 * Makefile.in (needed-list): Only include stuff we actually need
682 for libstdc++.
683
18912799 6841999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
685
686 * configure.in (checkfuncs): Add gettimeofday.
687 * config.in, configure: Regenerated.
688
d96f58b6 689Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
690
691 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
692 the test fails.
693 * configure: Regenerate.
694
4248b202 6951999-06-10 Mike Stump <mrs@wrs.com>
696
697 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
698 parallel builds.
699
3c243ded 7001999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
701
702 * putenv.c: Include ansidecl.h to define `const'.
703 * setenv.c: Likewise.
704
654c70ae 705Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
706
34f75864 707 * Makefile.in (CFILES): Add putenv.c and setenv.c.
708 * configure.in (funcs): Add putenv and setenv.
709 (AC_CHECK_FUNCS): Check for putenv and setenv.
710 * configure: Rebuilt.
711 * putenv.c setenv.c: New files.
712
654c70ae 713 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
714 bytes of space using malloc.
715
41980611 716Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
717
718 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
719 the *mangled pointer beyond the end of the string. Clean up code to
720 match prevailing coding style.
721
08b8ada9 7221999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
723
724 * tmpnam.c (L_tmpnam): Fix typo.
725
2fb1c6e9 726Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
727
728 * cplus-dem.c (standard_symbol_characters): Renamed from
729 standard_symbol_alphabet. No longer modify TABLE.
730 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
731 modify TABLE.
732 (main): Corresponding changes. Use strchr to determine if a
733 character is valid.
734
25398e41 7351999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
736
737 * cplus-dem.c (main): Use table lookup to distinguish identifier
738 characters from non-identifier characters.
739 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
740
29723d26 741Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
742
743 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
744 * getruntime.c: Only attempt to include sys/resource.h and
745 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
746 are defined.
747
dde96550 748Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
749
750 * configure.in (alloca detection): Handle alloca directly for interix.
751 * configure: Rebuilt.
752
e98ba651 753Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
754
755 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
756
3460a017 7571999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
758
759 Fix from Dale Hawkins:
07c967f9 760 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
3460a017 761 reallocated properly if we use it again.
762
763 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
764 stricter about syntax. Always null-terminate string.
765
b01c0955 766Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
767
768 * configure.in (checkfuncs): Check for sbrk.
769 * config.in: Rebuilt.
770 * configure: Likewise.
771 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
772
87c2e884 7731999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
774
775 Fix from Marcus Daniels:
776 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
777 identifier looking for another underscore.
778
16b8e80f 779Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
780
781 * pexecute.c: Change all references to __UWIN__ to _UWIN.
782 * xmalloc.c: Likewise.
783 (xcalloc): UWIN has sbrk.
784 (xrealloc): Fix guard macro.
785
4d0cfb7e 7861999-04-11 Richard Henderson <rth@cygnus.com>
787
788 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
789 or <alloca.h>.
790 * clock.c (GNU_HZ): New definition.
791 (clock): Use it.
792 * getruntime.c: Likewise.
793
794 * config.table: Use mh-beos.
795 * config/mh-beos: New file.
796
0dc64970 7971999-04-11 Mark Mitchell <mark@codesourcery.com>
798
799 * cplus-dem.c (demangle_template_value_parm): Handle
800 pointers-to-members.
801 (do_type): Handle template parameters as qualifiers.
802
9fec6063 8031999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
804
805 * cplus-dem.c: Attempt to handle overflows in counts with some
806 semblance of grace.
807 (consume_count): Detect overflows. Return -1 to indicate errors,
808 instead of zero.
809 (demangle_template_value_parm, demangle_template): Handle change
810 to consume_count's return convention.
811
715f424c 8121999-04-05 Tom Tromey <tromey@cygnus.com>
813
814 * testsuite/regress-demangle: New file.
815 * testsuite/demangle-expected: New file.
816
817 * Makefile.in (all, check, installcheck, info, install-info,
818 clean-info, dvi, install, etags, tags, mostlyclean, clean,
819 distclean, maintainer-clean, realclean): Depend on corresponding
820 `-subdir' target.
821 (all-subdir check-subdir installcheck-subdir info-subdir
822 install-info-subdir clean-info-subdir dvi-subdir
823 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
824 distclean-subdir maintainer-clean-subdir): New target.
825 * testsuite/Makefile.in: New file.
826 * configure: Rebuilt.
827 * configure.in: Create testsuite/Makefile.
828
71c5948c 8291999-04-02 Mark Mitchell <mark@codesourcery.com>
830
831 * splay-tree.h (splay_tree_compare_pointers): Define.
832
d1264606 8331999-03-30 Mark Mitchell <mark@codesourcery.com>
834
835 * splay-tree.c (splay_tree_compare_ints): Define.
836
6fd618e7 8371999-03-30 Tom Tromey <tromey@cygnus.com>
838
839 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
840 don't advance input pointer.
841 (demangle_class_name): If consume_count didn't find a count, do
842 nothing. Don't bother with `strlen' sanity check; consume_count
843 does it for us.
844
bdaa26ad 8451999-03-16 Stan Shebs <shebs@andros.cygnus.com>
846
847 From Art Haas <ahaas@neosoft.com>:
848 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
849 when doing arm or hp style.
850 (demangle_nested_args): Decr forgetting_types field when done.
07c967f9 851
d267f778 852Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
853
854 * pexecute.c (__CYGWIN32__): Rename to
855 (__CYGWIN__): this.
856 * xmalloc.c: Likewise.
857
858 Changes to support i386-pc-uwin.
859 * configure.in (*-*-uwin*): Workaround for vfork bug.
860 * configure: Regenerate.
861 * pexecute.c (pexecute): Be like standard Unix.
862 (pwait): Likewise.
863 * xmalloc.c (first_break): Define.
864 (xmalloc_set_program_name): Use.
865 (xmalloc): Use.
866
90405950 867Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
868
869 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
870
bdaa26ad 871Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
872
873 * config.table: Check cygwin*, not cygwin32*.
874
e6ed8194 875Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
876
877 * Makefile.in: Change mkstemp -> mkstemps.
878
301e59c9 879Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
880
881 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
882 * configure.in (funcs): Check for and conditionally add mkstemps to
883 the list of functions libiberty will provide.
884 * configure: Rebuilt.
07c967f9 885
89e305f9 886Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
887
07c967f9 888 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
89e305f9 889 platforms that don't have HZ.
890 * getruntime.c (HZ): Likewise.
891
ecfe64e7 892Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
893
894 * Makefile.in (xstrdup.o): Depend on config.h.
895
2e5e2114 896Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
897
898 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
899 freeing it.
900
6aa62a59 901Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
902
903 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
904
bdaa26ad 905Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
906
907 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
908 splay-tree.o.
909
9101999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
911
912 * configure.in: Require autoconf 2.12.1 or higher.
913
9e1ed734 9141998-12-30 Michael Meissner <meissner@cygnus.com>
915
916 * random.c (NULL): Don't redefine NULL if it is already defined.
917
7c8c70e9 918Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
919
920 * argv.c (buildargv): Cast the result of alloca in assignment.
921
922 * choose-temp.c: Include stdlib.h.
2e5e2114 923
7c8c70e9 924 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
925 (snarf_numeric_literal): Constify first parameter.
926 (code_for_qualifier): Avoid a gcc extension, make the parameter an
927 int, not a char.
928 (demangle_qualifier): Likewise.
929 (demangle_signature): Cast the argument of a ctype function to
930 unsigned char.
931 (arm_pt): Add parens around assignment used as truth value.
932 (demangle_arm_hp_template): Constify variable `args'.
933 (do_hpacc_template_const_value): Cast the argument of a ctype
934 function to unsigned char.
935 (do_hpacc_template_literal): Remove unused variable `i'.
936 (snarf_numeric_literal): Constify parameter `args'.
937 Cast the argument of a ctype function to unsigned char.
938
939 * floatformat.c (floatformat_to_double): Add explicit braces to
940 avoid ambiguous `else'.
2e5e2114 941
7c8c70e9 942 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
943 `cstart' and `cend' to unsigned char. Cast the argument of macro
944 `FOLD', which uses ctype functions, to unsigned char.
945
946 * objalloc.c (free): Add prototype.
947
9070a37e 948Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
949
950 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
951
bdaa26ad 952Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
953
954 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
955 doesn't exist.
956 (do_hpacc_template_literal): remove unused variable `i'.
07c967f9 957
0a5a5994 958Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
959
960 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
961 bumping the pointer we read from. Also prepend these codes,
962 as we do in other places.
963
bdaa26ad 9641998-12-18 Nick Clifton <nickc@cygnus.com>
965
966 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
967 'const char *' in order to match its usage when calling siblings.
968 (snarf_numeric_literal): Make first arg 'const char **' in order
969 to match usage.
4ed77eec 970
50cbddd6 971Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
972
4ed77eec 973 * choose-temp.c: Don't check IN_GCC anymore.
974
975 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
976 * memchr.c (memchr): Likewise.
977 * memcpy.c (memcpy): Likewise.
978 * memmove.c (memmove): Likewise.
2e5e2114 979
4ed77eec 980 * mkstemp.c: Don't check IN_GCC anymore.
981 * pexecute.c: Likewise.
982 * splay-tree.c: Likewise.
2e5e2114 983
4ed77eec 984 * strchr.c (strchr): Use `const', not `CONST'.
985 * strrchr.c (strrchr): Likewise.
986 * strtol.c (strtol): Likewise.
987 * strtoul.c (strtoul): Likewise.
988
f75dc4de 989Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
990 Elena Zannoni <ezannoni@cygnus.com>
991 Stan Shebs <shebs@cygnus.com>
992 Edith Epstein <eepstein@cygnus.com>
993 Andres MacLeod <amacleod@cygnus.com>
994 Satish Pai <pai@apollo.hp.com>
995
996 * HP aCC demangling support.
997 * cplus-dem.c
998 (main): Remove default to HP style demangling, set to EDG
999 demangling correctly when -edg specified; set the demangling style
1000 when user specifies 'edg'. Set strip_underscore to
1001 prepends_underscore, if not HPUXHPPA. Set
1002 current_demangling_style to hp_demangling if HPUXHPPA. Set
1003 current demangling style correctly if the switch is hp. Read
1004 label correctly also in the HP style case.
1005 (work_stuff): add temp_start field; add field for volatile member
1006 function.
1007 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
1008 style for this case is the same as ARM.
1009 (demangle_args): handle EDG_DEMANGLING style; support HP style.
1010 (demangle_arm_hp_template): new function. (It was
1011 demangle_arm_pt.); check and set value of temp_start field in
1012 multiple places. Also, when ceching for end of template args,
1013 check to see if at end of static member of template class.
1014 (demangle_class): new local variable : save_class_name_end Don't
1015 include template args in string defining class.
1016 (demangle_class_name): use demangel_arm_hp_template.
1017 (demangle_function_name): handle case where demangling style is
1018 HP_DEMANGLING and currently point at an 'X' in the mangled name.
1019 Handle EDG_DEMANGLING style. Handle constructor and destructor
1020 ops for HP style.
1021 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
1022 styles. global destructor and constructor for HP style are same
1023 as for ARM style. Same for local variables.
1024 (demangle_qualified): handle EDG_DEMANGLING style.
1025 (demangle_signature): add case for volatile member function. For
1026 cases '1' - '9' : initialize the temp_start field to -1 and handle
1027 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
1028 and AUTO_DEMANGLING styles. If expecting a function and managed
1029 to demangle the funct args, then handle the LUCID_DEMANGLING,
1030 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
1031 class name after "Lnnn_ in HP style case. HP style too needs to
1032 forget types. _nnn is OK for HP style, so don't report failure.
1033 (do_hpacc_template_const_value): new function. Handle template's
1034 value param for HP/aCC.
1035 (do_hpacc_template_literal): new function. Handle a template's
1036 literal parameter for HP aCC.
1037 (recursively_demangle): new function
1038 (snarf_numeric_literal): new function.
1039 (usage): add 'edg' to the list of demangling styles; add hp switch
1040 to message.
1041
a5c56042 1042Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
1043
1044 * pexecute.c: Remove obsolete ifdefed cygwin code.
1045
4ae63959 1046Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1047
1048 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
1049 * cplus-dem.c: Likewise. Conform to libiberty.h.
1050 * pexecute.c: Likewise.
1051 * splay-tree.c: Likewise.
1052
b41b6b67 10531998-11-25 Mike Stump <mrs@wrs.com>
1054
1055 * Makefile.in (splay-tree.o): Add config.h dependency.
1056
a1dd5bff 1057Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1058
1059 * configure.in: Use AC_PREREQ(2.12.1).
1060
d54546fb 10611998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
1062
07c967f9 1063 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
d54546fb 1064
9fdb1080 1065Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
1066
1067 * mpw.c (mpw_access): Add missing parens.
1068
1ed7db2f 1069Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1070
1071 * configure.in: Call AC_HEADER_SYS_WAIT.
1072
1073 * pexecute.c: Include sys/wait.h when !IN_GCC.
1074
bdaa26ad 1075Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
1076
1077 * pexecute.c: revert back to checking old Cygwin
1078 preprocessor symbol until some time has passed.
1079
1080Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
1081
1082 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
1083 since it will now support similar constructs.
1084
34fa8831 1085Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1086
1087 * configure.in: Check for calloc.
1088
1089 * calloc.c: New file.
1090
1091 * xmalloc.c (xcalloc): New function.
1092
75ebb412 1093Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
1094
1095 *cplus-dem.c (demangle_prefix): Use the last "__"
1096 in the mangled name when looking for the signature. This allows
1097 template names to begin with "__".
1098
5b546829 10991998-11-08 Mark Mitchell <mark@markmitchell.com>
1100
73bea962 1101 * cplus-dem.c (type_kind_t): Add tk_reference.
1102 (demangle_template_value_parm): Handle it.
1103 (do_type): Use it for references, instead of tk_pointer.
1104
5b546829 1105 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
1106 not internal_cplus_demangle.
1107
0e4558d2 1108Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1109
1110 * choose-temp.c: Don't include gansidecl.h.
1111 * mkstemp.c: Likewise.
1112 * pexecute.c: Likewise.
1113
7b8b8d43 1114Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
1115
07c967f9 1116 * configure.in: detect cygwin* instead of cygwin32*
1117 * configure: regenerate
7b8b8d43 1118
f9a39df1 1119Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1120
1121 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
1122 whether to include config.h. Possibly include unistd.h in the
1123 !IN_GCC case. Define VFORK_STRING as a printable function call
1124 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
1125 defined, include vfork.h. If VMS is defined, define vfork()
1126 appropriately. Remove vfork check on USG, we're using autoconf.
1127 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
1128 locally what string to use.
1129
797ba725 11301998-10-26 Mark Mitchell <mark@markmitchell.com>
1131
1132 * splay-tree.c: Tweak include directives to make sure declarations of
1133 xmalloc and free are available.
1134
3662c79b 11351998-10-25 Mark Mitchell <mark@markmitchell.com>
1136
1137 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
1138 anonymous namespaces.
2e5e2114 1139
af5199c0 11401998-10-23 Mark Mitchell <mark@markmitchell.com>
1141
1142 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
1143 with type_quals.
1144 (TYPE_UNQUALIFIED): New macro.
1145 (TYPE_QUAL_CONST): Likewise.
1146 (TYPE_QUAL_VOLATILE): Likewise.
1147 (TYPE_QUAL_RESTRICT): Likewise.
1148 (code_for_qualifier): New function.
1149 (qualifier_string): Likewise.
1150 (demangle_qualifier): Likewise.
1151 (internal_cplus_demangle): Use them.
1152 (demangle_signature): Likewise.
1153 (demangle_template_value_parm): Likewise.
1154 (do_type): Likewise.
1155 (demangle_fund_type)): Likewise.
3662c79b 1156
e61da89d 1157Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1158
1159 * splay-tree.c (splay_tree_foreach_helper): Make definition static
1160 to match prototype.
1161
9a4eb61d 11621998-10-21 Mark Mitchell <mark@markmitchell.com>
1163
1164 * splay-tree.c: New file.
1165 * Makefile.in (CFILES): Add it.
1166 (REQUIRED_OFILES): Likewise.
1167 (splay-tree.o): Add dependencies.
1168
e5d3a45b 1169Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1170
1171 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
1172 range of 'K' index.
1173
4350e959 1174Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1175
1176 * choose-temp.c: Prototype mkstemps() when IN_GCC.
1177
1178 * cplus-dem.c (consume_count): Cast argument of ctype macro to
1179 `unsigned char'.
1180 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
1181 comparing against one.
1182 (cplus_mangle_opname): Likewise.
1183 (demangle_integral_value): Cast argument of ctype macro to
1184 `unsigned char'.
1185 (demangle_template_value_parm): Likewise.
1186 (demangle_template): Initialize variable `bindex'. Cast the
1187 result of `strlen' to (int) when comparing against one. Remove
1188 unused variable `start_of_value_parm'.
1189 (demangle_class_name): Cast the result of `strlen' to (int) when
1190 comparing against one.
1191 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
1192 (gnu_special): Likewise. Cast the result of `strlen' to (int)
1193 when comparing against one.
1194 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
1195 (get_count): Likewise.
1196 (do_type): Likewise. Cast the result of `strlen' to (int) when
1197 comparing against one.
1198 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
1199 (demangle_function_name): Cast the result of `strlen' to (int)
1200 when comparing against one.
1201
1202 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
1203 comparing against one.
1204
5dfe2c03 1205Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
1206
07c967f9 1207 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
1208 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
1209 * config.in, configure: Rebuilt.
0be6f86d 1210
5dfe2c03 1211 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
1212 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
1213 * config.in, configure: Rebuilt.
1214
7b8b8d43 1215Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
1216
07c967f9 1217 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
7b8b8d43 1218
68b78c88 1219Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
1220
1221 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
1222
804ec1bf 1223Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
1224
1225 * Merge egcs & devo libiberty.
1226
7a1ec54f 1227