]> git.ipfire.org Git - thirdparty/gcc.git/blame - libiberty/ChangeLog
i370.c: Remove LONGEXTERNAL ifdef from alias_number.
[thirdparty/gcc.git] / libiberty / ChangeLog
CommitLineData
0aab2795
ME
12000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
2
3 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
4 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
5 Cast program to 'char *' in errmsg_arg assignment.
6 (PWAIT_ERROR): Define.
7 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
8 to DJGPP's WIF* macros.
9
c2f275e4
RB
102000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
11 Jeff Law <law@cygnus.com>
12
73aa9564
RB
13 * getcwd.c: Include string.h, stdlib.h for prototypes
14
c2f275e4 15 * Makefile.in (rename.o, waitpid.o): Depend on config.h
73aa9564
RB
16 * rename.c: Include config.h, unistd.h
17 * waitpid.c: Include config.h, sys/wait.h
c2f275e4 18
0fac482e
AS
192000-07-21 Alex Samuel <samuel@codesourcery.com>
20
21 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
22 allocating ctor mangling.
23 (demangle_array_type): Handle empty and non-constant array length.
24
8502a100 252000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
cd447360
MS
26 Jeff Law <law@cygnus.com>
27
c6451ce1
MS
28 * configure.in (AC_CHECK_HEADERS): Add time.h.
29 (AC_HEADER_TIME): Add check.
30 * configure, config.in: Regenerate.
31 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
32
cd447360
MS
33 * configure.in (AC_CHECK_HEADERS): Add limits.h.
34 * configure, config.in: Regenerate.
35 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
36 * strtol.c, strtoul.c: #include "config.h". Portably #include
37 <limits.h> and/or <sys/param.h>.
38 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
8502a100 39
3b58c099
MS
40 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
41 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
42 * configure, config.in: Regenerate.
43 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
44
8502a100
MS
45 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
46
da0c7743
MS
472000-07-21 Mike Stump <mrs@wrs.com>
48
49 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
0c978c46 50 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
da0c7743 51
838f8562
KG
522000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
53
54 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
55
56 * setenv.c (setenv): Initialize variable `ep'.
57
58 * sigsetmask.c (abort): Prototype.
59
60 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
61 __STDC__ for stdarg.h include.
62 (int_vasprintf): Prototype.
63 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
64 definition. Cast `global_total_width' in comparison.
65 (main): Prototype. Return a value.
66
67 * vfork.c (fork): Prototype.
68
69 * xexit.c: Include config.h.
70
e9958132
JM
712000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
72
73 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
74 and print it with %u.
75
39a6492f
HPN
762000-07-17 Hans-Peter Nilsson <hp@axis.com>
77
78 * testsuite/regress-demangle (failed test): Show result and
79 expected output.
80
6d0be369
AH
812000-07-07 Andrew Haley <aph@cygnus.com>
82
83 * cplus-dem.c (main): fflush() after emitting last char before
84 waiting for input.
85
bece74bd
AS
862000-06-28 Alex Samuel <samuel@codesourcery.com>
87
88 * cp-demangle.c (demangle_encoding): Accept no substitutions.
89 (demangle_name): Handle <substitution> followed by
90 <unqualified-template-name>.
91 (demangle_type): Follow special substitutions with
92 <class-enum-type>
93 (demangle_subtitution): Set template_p for special substitutions.
94 (main): Fix typos.
95
229b8ec7
AS
962000-06-27 Alex Samuel <samuel@codesourcery.com>
97
98 * cp-demangle.c (demangle_special_name): Swap base and derived
99 class when demangling construction vtables.
100
051664b0
AS
1012000-06-21 Alex Samuel <samuel@codesourcery.com>
102
103 * cp-demangle.c: Don't include ctype.h.
104 (IS_DIGIT): New macro.
105 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
106 instead of isdigit and isalpanum.
107 (demangling_def): Make name and next const pointers.
108 (STATUS_ALLOCATION_FAILED): New status code.
109 (dyn_string_append_space): Handle failure in
110 dyn_string_append_char.
111 (int_to_dyn_string): Likewise. Change return value to status_t.
112 (string_list_new): Handle failure of dyn_string_init.
113 (result_close_template_list): Change return type to status_t.
114 Handle failure in dyn_string_append.
115 (result_push): Change return value to status_t. Handle failure in
116 string_list_new. Handle failure of result_push throughout.
117 (substitution_add): Change return value to status_t. Handle
118 dyn_string failures. Handle failure of substitution_add
119 throughout.
120 (template_arg_list_new): Return NULL on allocation failure.
121 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
122 Handle error result throughout.
123 (result_append): Likewise.
124 (result_append_char): Likewise.
125 (result_append_space): Likewise.
126 (demangling_new): Make argument a const pointer. Handle
127 allocation failures.
128 (demangle_template_args): Handle failure in template_arg_list_new
129 and result_close_template_list.
130 (demangle_discriminator): Return if int_to_dyn_string fails.
131 (cp_demangle): Likewise.
132 (cp_demangle_type): New function.
133 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
134 memory allocation failure.
135 (main): Likewise.
136 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
137 IN_LIBGCC2.
138 (dyn_string_init): Change return value to int. Handle
139 RETURN_ON_ALLOCATION_FAILURE case.
140 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
141 (dyn_string_release): Delete the dyn_string.
142 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
143 (dyn_string_copy): Change return type to int.
144 (dyn_string_copy_cstr): Likewise.
145 (dyn_string_prepend): Likewise.
146 (dyn_string_prepend_cstr): Likewise.
147 (dyn_string_insert): Likewise.
148 (dyn_string_insert_cstr): Likewise.
149 (dyn_string_append): Likewise.
150 (dyn_string_append_cstr): Likewise.
151 (dyn_string_append_char): Likewise.
152 (dyn_string_substring): Likewise.
153
fe06b696
ZW
1542000-06-09 Zack Weinberg <zack@wolery.cumb.org>
155
156 * cp-demangle.c (demangle_operator_name): Add spaces before
157 names beginning with a letter: delete, delete[], new, new[],
158 sizeof.
159 (demangle_special_name): Handle TF <type> and TJ <type>.
160
6223e158
PDM
161Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
162
163 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
164
48f3e29b
PDM
165Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
166
167 * cp-demangle.c (stdio.h): File included unconditionaly.
168 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
169 * dyn-string.c (stdio.h): File included.
170 * partition.c (partition_print): No `&' needed to take the address of
171 a function.
172
69197e7e
KG
1732000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
174
175 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
176
177 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
178
179 * cp-demangle.c (demangle_char): Change parameter from char to int.
180 (demangle_expression, demangle_expr_primary): Remove extra
181 semi-colon in prototype.
182
183 * dyn-string.c (dyn_string_append_char): Change parameter from
184 char to int.
185
186 * memcmp.c (memcmp): Constify.
187
188 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
189 __extension__.
190
191 * partition.c (elem_compare): Prototype. Don't cast away
192 const-ness.
193
194 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
195
7eb23b1f
KG
1962000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
197
198 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
199
200 * cp-demangle.c: Include demangle.h.
201 (template_arg_list_new): DeANSIfy.
202 (cp_demangle): Make static and add prototype.
203 (operator_code, operators): Constify.
204 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
205
3faa108c
AS
2062000-06-05 Alex Samuel <samuel@codesourcery.com>
207
208 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
209 unsigned char.
210 (demangle_unqualified_name): Likewise.
211 (demangle_number_literally): Likewise.
212 (demangle_type): Likewise.
213 (demangle_substitution): Likewise.
214 (is_mangled_char): Likewise, for isalnum.
215
69afa80d
AS
2162000-06-04 Alex Samuel <samuel@codesourcery.com>
217
218 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
219 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
220 (cp-demangle.o): New dependency.
221 (dyn-string.o): Likewise.
222
223 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
224
225 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
226 demangler.
227 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
228 demangling mode.
229 (gnu_new_abi_symbol_characters): New function.
230 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
231 file.
232 * cp-demangle.c: New file.
233
0b72c3df
AC
234Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
235
236 * floatformat.c: Add name to each floatformat field.
237
270cea06
JL
238Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
239
240 * Makefile.in (objalloc.o): Depend on config.h
241
d11ec6f0
ZW
2422000-05-29 Zack Weinberg <zack@wolery.cumb.org>
243
244 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
245 if HAVE_STRING_H.
246 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
247 * objalloc.c: Include config.h. Include stdlib.h and don't
248 declare malloc or free if HAVE_STDLIB_H.
249 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
250 else declare malloc without prototype. Include string.h if
251 HAVE_STRING_H, else declare memset without prototype. Don't
252 include stddef.h.
253
f8e2da56
MS
2542000-05-23 Mike Stump <mrs@wrs.com>
255
256 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
257 -j3.
258
650f3068
DA
2592000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
260
261 * xmalloc.c: Include config.h for HAVE_SBRK definition.
262
1d2da2e1
HB
2632000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
264
265 * hashtab.c (hash_pointer): Delete low-order bits which are
266 probably zero, also eliminate a warning on alpha.
267
47668d0a
DE
2682000-05-15 David Edelsohn <edelsohn@gnu.org>
269
c7a79a32 270 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
47668d0a
DE
271 on $(enable_shared).
272
36348eab
JJ
2732000-05-10 Jakub Jelinek <jakub@redhat.com>
274
275 * config.table: Use mh-sparcpic for sparc*-*-*.
276
209bbe34
NC
2772000-05-08 Nick Clifton <nickc@cygnus.com>
278
279 * Makefile.in (CFILES): Add strncmp.c.
280 (NEEDED): Add strncmp.
281
a85a47fb
KG
2822000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
283
284 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
285 Cast the arguments to `islower' to `unsigned char'.
286 (print_demangler_list): Prototype.
287
4aef973c
PDM
288Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
289
290 * sort.c (UCHAR_MAX): Provide fallback definition.
291
3b94497c
AO
2922000-04-29 Alexandre Oliva <aoliva@cygnus.com>
293
294 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
295 SUBDIRS.
296
24eaa47a
KB
2972000-04-28 Kenneth Block <block@zk3.dec.com>
298 Jason Merrill <jason@casey.cygnus.com>
299
300 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
301 (cplus_demangle_set_style): New function for setting style.
302 (cplus_demangle_name_to_style): New function to translate name.
303
a9266bfa
KG
3042000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
305
306 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
307
308 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
309 (libiberty_AC_FUNC_STRNCMP): Invoke.
310
311 * strncmp.c: New file.
312
8e02c4d0
JH
313Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
314
315 * hashtab.c (htab_expand): Add prototype.
316 (find_empty_slot_for_expand): Likewise.
317
4feeaae3
KG
3182000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
319
320 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
321 match prototype.
322 (htab_expand): Cast the return value of xcalloc.
323
18a94a2f
MM
3242000-04-24 Mark Mitchell <mark@codesourcery.com>
325
326 * hashtab.c (hash_pointer): New function.
327 (eq_pointer): Likewise.
328 (htab_hash_pointer): New variable.
329 (htab_eq_pointer): Likewise.
330
eeb0656f
MM
3312000-04-23 Mark Mitchell <mark@codesourcery.com>
332
b51024fc
MM
333 * sort.c (sort_pointers): Fix endianness bugs.
334
eeb0656f
MM
335 * sort.c: New file.
336 * Makefile.in (CFILES): Add sort.c
337 (REQUIRED_OFILES): Add sort.o.
338 (sort.o): New target.
339
7277f72d
MS
3402000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
341
342 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
343 4.3BSD systems.
344
e38992e8
RK
345Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
346
347 * hashtab.c: Various minor cleanups.
348 (htab_find_slot_with_hash): INSERT is now enum insert_option.
349 (htab_find_slot): Likewise.
350
498e1ab1
DP
3512000-04-16 Dave Pitts <dpitts@cozx.com>
352
353 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
354
dc17cc7b
RH
3552000-04-05 Richard Henderson <rth@cygnus.com>
356
357 * splay-tree.c (splay_tree_remove): New.
358
b13eb66b
MM
3592000-03-30 Mark Mitchell <mark@codesourcery.com>
360
361 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
362 codes.
363 (htab_find_with_hash): Likewise.
364 (htab_find_slot_with_hash): Likewise.
365
0194e877
ZW
3662000-03-29 Zack Weinberg <zack@wolery.cumb.org>
367
368 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
369 unless it will be used. Rearrange loop for better
370 optimization.
371 (higher_prime_number): Add static prototype.
372
abc61fd4
JL
373Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
374
375 * Makefile.in (partition.o): Depend on config.h
376
8c5d513f
BS
3772000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
378
379 * hashtab.c (find_empty_slot_for_expand): New function.
380 (htab_expand): Use it instead of htab_find_slot.
381 (htab_find_with_hash): Renamed from htab_find; now accepts extra
382 argument HASH.
383 (htab_find_slot_with_hash): Likewise for htab_find_slot.
384 (htab_find): New wrapper function.
385 (htab_find_slot): Likewise.
386 (htab_traverse): Pass slot, not entry, to called function.
387
d9d4fb43
AS
3882000-03-09 Alex Samuel <samuel@codesourcery.com>
389
390 * Makefile.in (CFILES): Add partition.c.
391 (REQUIRED_OFILES): Add partition.o.
392 (partition.o): New rule.
393 * partition.c: New file.
394
5dc9cffd
ZW
3952000-03-09 Zack Weinberg <zack@wolery.cumb.org>
396
397 * hashtab.c (htab_create): Set del_f.
398 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
399 Use it.
400
5194cf08
ZW
4012000-03-08 Zack Weinberg <zack@wolery.cumb.org>
402
403 * hashtab.c: Remove debugging variables (all_searches,
404 all_collisions, all_expansions). Delete
405 all_hash_table_collisions.
406 (create_hash_table, delete_hash_table, empty_hash_table,
407 find_hash_table_entry, remove_element_from_hash_table_entry,
408 clear_hash_table_slot, traverse_hash_table, hash_table_size,
409 hash_table_elements_number, hash_table_collisions): Rename to:
410 htab_create, htab_delete, htab_empty, htab_find_slot,
411 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
412 htab_elements, htab_collisions.
413 (htab_find): New function, handles common case where you don't
414 plan to add or delete an entry.
415 (htab_expand): Don't create a whole new table, just a new
416 entry vector.
417 (htab_find_slot): Simplify logic.
418
5ad5a984
ILT
4191999-08-03 Ian Lance Taylor <ian@zembu.com>
420
421 * floatformat.c: Add casts to avoid signed/unsigned warnings.
422 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
423
424 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
425 $(TARGETLIB)n so it works on MSDOS.
426 (install_to_tooldir): Likewise.
427
4281999-07-21 Ian Lance Taylor <ian@zembu.com>
429
430 From Mark Elbrecht:
431 * makefile.dos: Remove; obsolete.
432 * configure.bat: Remove; obsolete.
433
4341999-07-11 Ian Lance Taylor <ian@zembu.com>
435
436 * splay-tree.c (splay_tree_insert): Add initialization to avoid
437 warning.
438
aeecce42
MK
4392000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
440
441 * pexecute.c: Conditionally include string.h.
5194cf08 442 (fix_argv): Handle embedded whitespace in args for Mingw32.
aeecce42 443
1eaf7d9c
KG
4442000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
445
446 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
447 we're using gcc.
448
449 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
450
0fadedb2
GK
4511999-12-27 Geoff Keating <geoffk@cygnus.com>
452
453 * vasprintf.c (int_vasprintf): Don't re-read the format character
454 as this mishandles strings like '%%s'.
455
08230f26
MM
4561999-12-05 Mark Mitchell <mark@codesourcery.com>
457
458 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
459 rather than struct splay_tree_node.
460 (splay_tree_insert): Use struct splay_tree_s rather than struct
461 splay_tree.
462
6de9b8ff
PDM
463Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
464
465 * hashtab.c (sys/types.h): File included.
466
f3636679
JM
4671999-11-22 Jason Merrill <jason@casey.cygnus.com>
468
469 * strtoul.c, strtol.c, random.c: Remove advertising clause from
470 BSD license, pursuant with
471
472 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
473
36dd3a44
JL
474Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
475
476 * hashtab.c: Include stdio.h.
477
6e300472
JL
478Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
479
480 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
481
df548dfc
PDM
482Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
483
484 * xstrdup (sys/types.h): Include this file.
485
2c375143
NS
4861999-10-28 Nathan Sidwell <nathan@acm.org>
487
488 * Makefile.in (SUBDIRS): New macro.
489 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
490 avoid multiple subdirectory cleaning.
491 (*-subdir): Use SUBDIRS.
492
a82cecda
JK
4931999-10-25 Jim Kingdon <http://developer.redhat.com/>
494
495 * cplus-dem.c: Move declarations of standard_symbol_characters and
496 hp_symbol_characters inside #ifdef MAIN to avoid compiler
497 warnings.
498
ed38f5d5
ZW
4991999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
500
501 * hashtab.c (find_hash_table_entry): When returning a
502 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
503 (clear_hash_table_slot): New function which deletes an entry
504 by its position in the table, not its value.
505 (traverse_hash_table): New function which calls a hook
506 function for every live entry in the table.
507
b60fe4a7
MM
5081999-10-19 Mark Mitchell <mark@codesourcery.com>
509
510 * cplus-dem.c (INTBUF_SIZE): New macro.
511 (string_append_template_idx): New function.
512 (demangle_expression): Likewise.
513 (demangle_integral_value): Use it.
514 (demangle_real_value): New function, split out from ...
515 (demangle_template_value_parm): ... here. Use
516 string_append_template_idx. Use demangle_real_value.
517 (demangle_template): Use string_append_template_idx.
518 (demangle_qualified): Use consume_count_with_underscores.
519 (get_count): Tweak formatting.
520 (do_type): Use string_append_template_idx.
5194cf08 521
3da5522a
KG
5221999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
523
524 * calloc.c: Add a public domain notice.
525
d7d36ea8
PDM
526Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
527
528 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
529
a2f945c6
VM
530Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
531
532 * Makefile.in (CFILES): Add hashtab.c
533 (REQUIRED_OFILES): Add hashtab.o
534 (hashtab.o): Add dependencies.
535 * hashtab.c: New file
536
7f22ec2e
MK
537Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
538
539 * basename.c (DIR_SEPARATOR): New macro.
540 (DIR_SEPARATOR_2): Likewise.
541 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
542 (IS_DIR_SEPARATOR): Likewise.
543 (main): Handle MSDOS style pathname.
544
7c56a6ce
MM
5451999-10-11 Mark Mitchell <mark@codesourcery.com>
546
547 * cplus-dem.c (do_type): Handle pointer to member types whose
548 enclosing classes have namespace scope.
549
cd32188b
ME
550Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
551
552 * config.table: Provide a backup shell for executing move-if-change.
553
fc232f7a
MM
5541999-10-02 Mark Mitchell <mark@codesourcery.com>
555
556 * xmalloc.c (xmalloc): Fix spelling error.
557 (xcalloc, xrealloc): Likewise.
558
2a138827
KG
5591999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
560
561 * cplus-dem.c (fancy_abort, demangle_integral_value,
562 demangle_arm_hp_template, recursively_demangle,
563 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
564 (program_name, program_version, fatal): Constify a char*.
565 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
566 (main): Call return, not exit.
567
5a657fc3
KG
5681999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
569
570 * choose-temp.c: Remove obsolete comment about gcc.
571 (make_temp_file): Constify a char*.
572
33c5ddcd
KG
573Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
574
575 * xmemdup.c: Include sys/types.h.
576
b10647f1
JG
5771999-09-07 Jeff Garzik <jgarzik@pobox.com>
578
579 * xmemdup.c: New xmemdup function.
580 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
581
3dd6c3af
LV
582Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
583
5194cf08 584 * config.table: Add openedition target.
3dd6c3af
LV
585 * config/mh-openedition: New file.
586
19e28e2a
ME
587Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
588
589 * pexecute.c (pexecute): Fill in temp_base when needed.
590
4dfeccf9
RH
5911999-08-31 Richard Henderson <rth@cygnus.com>
592
593 * getpwd.c: Check HAVE_GETCWD before defining it away.
594
4ac3cb83
KG
5951999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
596
597 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
598 (REQUIRED_OFILES): Add getpwd.o.
599 (getpwd.o): Add target.
600
601 * configure.in (AC_PREREQ): Bump to 2.13.
602 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
603
604 * getpwd.c: New file, moved here from gcc.
605
e797ff70
KG
6061999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
607
608 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
609 comparing against a signed quantity.
610 (arm_special): Likewise.
611 (demangle_fund_type): Likewise.
612 (do_hpacc_template_const_value): Mark parameter `work' with
5194cf08 613 ATTRIBUTE_UNUSED.
e797ff70
KG
614 (main): Constify variable `valid_symbols'.
615
55247fce
PDM
616Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
617
618 * strtoul.c (strtoul): Add parentheses around && within ||.
619
76632dd0
DJ
620Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
621
622 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
623 libdir, libsubdir and tooldir.
624
d080bbfa
MM
6251999-08-01 Mark Mitchell <mark@codesourcery.com>
626
627 * splay-tree.c (splay_tree_insert): Return the new node.
628
a81c752a
RH
6291999-07-14 Richard Henderson <rth@cygnus.com>
630
5194cf08 631 * argv.c: Include stdlib.h and string.h instead of
a81c752a
RH
632 prototyping directly.
633 * choose-temp.c: Conditionally include string.h.
634
8f1824d9
JM
6351999-07-12 Jason Merrill <jason@yorick.cygnus.com>
636
637 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
638
652374d3
ILT
6391999-07-11 Ian Lance Taylor <ian@zembu.com>
640
641 * splay-tree.c (splay_tree_insert): Add initialization to avoid
642 warning.
643
a4494286
JM
6441999-07-07 Jason Merrill <jason@yorick.cygnus.com>
645
646 * Makefile.in (needed-list): Only include stuff we actually need
647 for libstdc++.
648
90e72e20
AS
6491999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
650
651 * configure.in (checkfuncs): Add gettimeofday.
652 * config.in, configure: Regenerated.
653
b569200e
MK
654Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
655
656 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
657 the test fails.
658 * configure: Regenerate.
659
73919448
MS
6601999-06-10 Mike Stump <mrs@wrs.com>
661
662 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
663 parallel builds.
664
fee9125c
KG
6651999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
666
667 * putenv.c: Include ansidecl.h to define `const'.
668 * setenv.c: Likewise.
669
71cce721
MN
670Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
671
a7c9637f
JL
672 * Makefile.in (CFILES): Add putenv.c and setenv.c.
673 * configure.in (funcs): Add putenv and setenv.
674 (AC_CHECK_FUNCS): Check for putenv and setenv.
675 * configure: Rebuilt.
676 * putenv.c setenv.c: New files.
677
71cce721
MN
678 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
679 bytes of space using malloc.
680
53504016
SG
681Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
682
683 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
684 the *mangled pointer beyond the end of the string. Clean up code to
685 match prevailing coding style.
686
34842539
MH
6871999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
688
689 * tmpnam.c (L_tmpnam): Fix typo.
690
3a08531d
ME
691Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
692
693 * cplus-dem.c (standard_symbol_characters): Renamed from
694 standard_symbol_alphabet. No longer modify TABLE.
695 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
696 modify TABLE.
697 (main): Corresponding changes. Use strchr to determine if a
698 character is valid.
699
8db9d08b
JB
7001999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
701
702 * cplus-dem.c (main): Use table lookup to distinguish identifier
703 characters from non-identifier characters.
704 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
705
6a071f4a
FF
706Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
707
708 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
709 * getruntime.c: Only attempt to include sys/resource.h and
710 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
711 are defined.
712
7dd88617
DT
713Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
714
715 * configure.in (alloca detection): Handle alloca directly for interix.
716 * configure: Rebuilt.
717
7a1528bc
MK
718Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
719
720 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
721
76409268
JB
7221999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
723
724 Fix from Dale Hawkins:
5194cf08 725 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
76409268
JB
726 reallocated properly if we use it again.
727
728 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
729 stricter about syntax. Always null-terminate string.
730
acbbd80a
MK
731Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
732
733 * configure.in (checkfuncs): Check for sbrk.
734 * config.in: Rebuilt.
735 * configure: Likewise.
736 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
737
92523551
JB
7381999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
739
740 Fix from Marcus Daniels:
741 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
742 identifier looking for another underscore.
743
36eb4217
MK
744Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
745
746 * pexecute.c: Change all references to __UWIN__ to _UWIN.
747 * xmalloc.c: Likewise.
748 (xcalloc): UWIN has sbrk.
749 (xrealloc): Fix guard macro.
750
2c45d1a0
RH
7511999-04-11 Richard Henderson <rth@cygnus.com>
752
753 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
754 or <alloca.h>.
755 * clock.c (GNU_HZ): New definition.
756 (clock): Use it.
757 * getruntime.c: Likewise.
758
759 * config.table: Use mh-beos.
760 * config/mh-beos: New file.
761
391cdef0
MM
7621999-04-11 Mark Mitchell <mark@codesourcery.com>
763
764 * cplus-dem.c (demangle_template_value_parm): Handle
765 pointers-to-members.
766 (do_type): Handle template parameters as qualifiers.
767
9d229989
JB
7681999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
769
770 * cplus-dem.c: Attempt to handle overflows in counts with some
771 semblance of grace.
772 (consume_count): Detect overflows. Return -1 to indicate errors,
773 instead of zero.
774 (demangle_template_value_parm, demangle_template): Handle change
775 to consume_count's return convention.
776
7c72138a
TT
7771999-04-05 Tom Tromey <tromey@cygnus.com>
778
779 * testsuite/regress-demangle: New file.
780 * testsuite/demangle-expected: New file.
781
782 * Makefile.in (all, check, installcheck, info, install-info,
783 clean-info, dvi, install, etags, tags, mostlyclean, clean,
784 distclean, maintainer-clean, realclean): Depend on corresponding
785 `-subdir' target.
786 (all-subdir check-subdir installcheck-subdir info-subdir
787 install-info-subdir clean-info-subdir dvi-subdir
788 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
789 distclean-subdir maintainer-clean-subdir): New target.
790 * testsuite/Makefile.in: New file.
791 * configure: Rebuilt.
792 * configure.in: Create testsuite/Makefile.
793
ae7f7270
MM
7941999-04-02 Mark Mitchell <mark@codesourcery.com>
795
796 * splay-tree.h (splay_tree_compare_pointers): Define.
797
30f72379
MM
7981999-03-30 Mark Mitchell <mark@codesourcery.com>
799
800 * splay-tree.c (splay_tree_compare_ints): Define.
801
4cc48683
TT
8021999-03-30 Tom Tromey <tromey@cygnus.com>
803
804 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
805 don't advance input pointer.
806 (demangle_class_name): If consume_count didn't find a count, do
807 nothing. Don't bother with `strlen' sanity check; consume_count
808 does it for us.
809
3510075c
JL
8101999-03-16 Stan Shebs <shebs@andros.cygnus.com>
811
812 From Art Haas <ahaas@neosoft.com>:
813 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
814 when doing arm or hp style.
815 (demangle_nested_args): Decr forgetting_types field when done.
5194cf08 816
89f602a7
MK
817Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
818
819 * pexecute.c (__CYGWIN32__): Rename to
820 (__CYGWIN__): this.
821 * xmalloc.c: Likewise.
822
823 Changes to support i386-pc-uwin.
824 * configure.in (*-*-uwin*): Workaround for vfork bug.
825 * configure: Regenerate.
826 * pexecute.c (pexecute): Be like standard Unix.
827 (pwait): Likewise.
828 * xmalloc.c (first_break): Define.
829 (xmalloc_set_program_name): Use.
830 (xmalloc): Use.
831
9346c824
FS
832Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
833
834 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
835
3510075c
JL
836Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
837
838 * config.table: Check cygwin*, not cygwin32*.
839
8ec65f13
DB
840Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
841
842 * Makefile.in: Change mkstemp -> mkstemps.
843
687361c8
ME
844Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
845
846 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
847 * configure.in (funcs): Check for and conditionally add mkstemps to
848 the list of functions libiberty will provide.
849 * configure: Rebuilt.
5194cf08 850
b207e09c
MK
851Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
852
5194cf08 853 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
b207e09c
MK
854 platforms that don't have HZ.
855 * getruntime.c (HZ): Likewise.
856
16b4c15e
RH
857Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
858
859 * Makefile.in (xstrdup.o): Depend on config.h.
860
38beb75c
UD
861Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
862
863 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
864 freeing it.
865
7e4311a3
KG
866Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
867
868 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
869
3510075c
JL
870Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
871
872 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
873 splay-tree.o.
874
8751999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
876
877 * configure.in: Require autoconf 2.12.1 or higher.
878
fb9939b8
MM
8791998-12-30 Michael Meissner <meissner@cygnus.com>
880
881 * random.c (NULL): Don't redefine NULL if it is already defined.
882
087aa398
KG
883Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
884
885 * argv.c (buildargv): Cast the result of alloca in assignment.
886
887 * choose-temp.c: Include stdlib.h.
38beb75c 888
087aa398
KG
889 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
890 (snarf_numeric_literal): Constify first parameter.
891 (code_for_qualifier): Avoid a gcc extension, make the parameter an
892 int, not a char.
893 (demangle_qualifier): Likewise.
894 (demangle_signature): Cast the argument of a ctype function to
895 unsigned char.
896 (arm_pt): Add parens around assignment used as truth value.
897 (demangle_arm_hp_template): Constify variable `args'.
898 (do_hpacc_template_const_value): Cast the argument of a ctype
899 function to unsigned char.
900 (do_hpacc_template_literal): Remove unused variable `i'.
901 (snarf_numeric_literal): Constify parameter `args'.
902 Cast the argument of a ctype function to unsigned char.
903
904 * floatformat.c (floatformat_to_double): Add explicit braces to
905 avoid ambiguous `else'.
38beb75c 906
087aa398
KG
907 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
908 `cstart' and `cend' to unsigned char. Cast the argument of macro
909 `FOLD', which uses ctype functions, to unsigned char.
910
911 * objalloc.c (free): Add prototype.
912
21f2174d
HPN
913Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
914
915 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
916
3510075c
JL
917Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
918
919 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
920 doesn't exist.
921 (do_hpacc_template_literal): remove unused variable `i'.
5194cf08 922
e8fc8222
AM
923Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
924
925 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
926 bumping the pointer we read from. Also prepend these codes,
927 as we do in other places.
928
3510075c
JL
9291998-12-18 Nick Clifton <nickc@cygnus.com>
930
931 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
932 'const char *' in order to match its usage when calling siblings.
933 (snarf_numeric_literal): Make first arg 'const char **' in order
934 to match usage.
11a0bb74 935
f4f30aa1
JL
936Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
937
11a0bb74
KG
938 * choose-temp.c: Don't check IN_GCC anymore.
939
940 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
941 * memchr.c (memchr): Likewise.
942 * memcpy.c (memcpy): Likewise.
943 * memmove.c (memmove): Likewise.
38beb75c 944
11a0bb74
KG
945 * mkstemp.c: Don't check IN_GCC anymore.
946 * pexecute.c: Likewise.
947 * splay-tree.c: Likewise.
38beb75c 948
11a0bb74
KG
949 * strchr.c (strchr): Use `const', not `CONST'.
950 * strrchr.c (strrchr): Likewise.
951 * strtol.c (strtol): Likewise.
952 * strtoul.c (strtoul): Likewise.
953
70d5ccef
DT
954Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
955 Elena Zannoni <ezannoni@cygnus.com>
956 Stan Shebs <shebs@cygnus.com>
957 Edith Epstein <eepstein@cygnus.com>
958 Andres MacLeod <amacleod@cygnus.com>
959 Satish Pai <pai@apollo.hp.com>
960
961 * HP aCC demangling support.
962 * cplus-dem.c
963 (main): Remove default to HP style demangling, set to EDG
964 demangling correctly when -edg specified; set the demangling style
965 when user specifies 'edg'. Set strip_underscore to
966 prepends_underscore, if not HPUXHPPA. Set
967 current_demangling_style to hp_demangling if HPUXHPPA. Set
968 current demangling style correctly if the switch is hp. Read
969 label correctly also in the HP style case.
970 (work_stuff): add temp_start field; add field for volatile member
971 function.
972 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
973 style for this case is the same as ARM.
974 (demangle_args): handle EDG_DEMANGLING style; support HP style.
975 (demangle_arm_hp_template): new function. (It was
976 demangle_arm_pt.); check and set value of temp_start field in
977 multiple places. Also, when ceching for end of template args,
978 check to see if at end of static member of template class.
979 (demangle_class): new local variable : save_class_name_end Don't
980 include template args in string defining class.
981 (demangle_class_name): use demangel_arm_hp_template.
982 (demangle_function_name): handle case where demangling style is
983 HP_DEMANGLING and currently point at an 'X' in the mangled name.
984 Handle EDG_DEMANGLING style. Handle constructor and destructor
985 ops for HP style.
986 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
987 styles. global destructor and constructor for HP style are same
988 as for ARM style. Same for local variables.
989 (demangle_qualified): handle EDG_DEMANGLING style.
990 (demangle_signature): add case for volatile member function. For
991 cases '1' - '9' : initialize the temp_start field to -1 and handle
992 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
993 and AUTO_DEMANGLING styles. If expecting a function and managed
994 to demangle the funct args, then handle the LUCID_DEMANGLING,
995 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
996 class name after "Lnnn_ in HP style case. HP style too needs to
997 forget types. _nnn is OK for HP style, so don't report failure.
998 (do_hpacc_template_const_value): new function. Handle template's
999 value param for HP/aCC.
1000 (do_hpacc_template_literal): new function. Handle a template's
1001 literal parameter for HP aCC.
1002 (recursively_demangle): new function
1003 (snarf_numeric_literal): new function.
1004 (usage): add 'edg' to the list of demangling styles; add hp switch
1005 to message.
1006
8d525fa8
CF
1007Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
1008
1009 * pexecute.c: Remove obsolete ifdefed cygwin code.
1010
9b1a92d8
KG
1011Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1012
1013 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
1014 * cplus-dem.c: Likewise. Conform to libiberty.h.
1015 * pexecute.c: Likewise.
1016 * splay-tree.c: Likewise.
1017
c85c3232
MS
10181998-11-25 Mike Stump <mrs@wrs.com>
1019
1020 * Makefile.in (splay-tree.o): Add config.h dependency.
1021
35a6cd99
KG
1022Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1023
1024 * configure.in: Use AC_PREREQ(2.12.1).
1025
6e6e34b7
BK
10261998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
1027
5194cf08 1028 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
6e6e34b7 1029
59b67c11
JL
1030Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
1031
1032 * mpw.c (mpw_access): Add missing parens.
1033
a6458d1d
KG
1034Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1035
1036 * configure.in: Call AC_HEADER_SYS_WAIT.
1037
1038 * pexecute.c: Include sys/wait.h when !IN_GCC.
1039
3510075c
JL
1040Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
1041
1042 * pexecute.c: revert back to checking old Cygwin
1043 preprocessor symbol until some time has passed.
1044
1045Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
1046
1047 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
1048 since it will now support similar constructs.
1049
a9acf741
KG
1050Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1051
1052 * configure.in: Check for calloc.
1053
1054 * calloc.c: New file.
1055
1056 * xmalloc.c (xcalloc): New function.
1057
a49fb37a
AM
1058Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
1059
1060 *cplus-dem.c (demangle_prefix): Use the last "__"
1061 in the mangled name when looking for the signature. This allows
1062 template names to begin with "__".
1063
0e714131
MM
10641998-11-08 Mark Mitchell <mark@markmitchell.com>
1065
ec2288ff
MM
1066 * cplus-dem.c (type_kind_t): Add tk_reference.
1067 (demangle_template_value_parm): Handle it.
1068 (do_type): Use it for references, instead of tk_pointer.
1069
0e714131
MM
1070 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
1071 not internal_cplus_demangle.
1072
2931b6d4
KG
1073Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1074
1075 * choose-temp.c: Don't include gansidecl.h.
1076 * mkstemp.c: Likewise.
1077 * pexecute.c: Likewise.
1078
dd8f3ed5
GN
1079Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
1080
5194cf08
ZW
1081 * configure.in: detect cygwin* instead of cygwin32*
1082 * configure: regenerate
dd8f3ed5 1083
c5f7c445
KG
1084Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1085
1086 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
1087 whether to include config.h. Possibly include unistd.h in the
1088 !IN_GCC case. Define VFORK_STRING as a printable function call
1089 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
1090 defined, include vfork.h. If VMS is defined, define vfork()
1091 appropriately. Remove vfork check on USG, we're using autoconf.
1092 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
1093 locally what string to use.
1094
ad3ef78e
MM
10951998-10-26 Mark Mitchell <mark@markmitchell.com>
1096
1097 * splay-tree.c: Tweak include directives to make sure declarations of
1098 xmalloc and free are available.
1099
224301c1
MM
11001998-10-25 Mark Mitchell <mark@markmitchell.com>
1101
1102 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
1103 anonymous namespaces.
38beb75c 1104
d9db46fd
MM
11051998-10-23 Mark Mitchell <mark@markmitchell.com>
1106
1107 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
1108 with type_quals.
1109 (TYPE_UNQUALIFIED): New macro.
1110 (TYPE_QUAL_CONST): Likewise.
1111 (TYPE_QUAL_VOLATILE): Likewise.
1112 (TYPE_QUAL_RESTRICT): Likewise.
1113 (code_for_qualifier): New function.
1114 (qualifier_string): Likewise.
1115 (demangle_qualifier): Likewise.
1116 (internal_cplus_demangle): Use them.
1117 (demangle_signature): Likewise.
1118 (demangle_template_value_parm): Likewise.
1119 (do_type): Likewise.
1120 (demangle_fund_type)): Likewise.
224301c1 1121
b056ad1c
KG
1122Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1123
1124 * splay-tree.c (splay_tree_foreach_helper): Make definition static
1125 to match prototype.
1126
ed87f9c8
MM
11271998-10-21 Mark Mitchell <mark@markmitchell.com>
1128
1129 * splay-tree.c: New file.
1130 * Makefile.in (CFILES): Add it.
1131 (REQUIRED_OFILES): Likewise.
1132 (splay-tree.o): Add dependencies.
1133
e0c13971
AS
1134Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1135
1136 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
1137 range of 'K' index.
1138
91e0f659
KG
1139Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1140
1141 * choose-temp.c: Prototype mkstemps() when IN_GCC.
1142
1143 * cplus-dem.c (consume_count): Cast argument of ctype macro to
1144 `unsigned char'.
1145 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
1146 comparing against one.
1147 (cplus_mangle_opname): Likewise.
1148 (demangle_integral_value): Cast argument of ctype macro to
1149 `unsigned char'.
1150 (demangle_template_value_parm): Likewise.
1151 (demangle_template): Initialize variable `bindex'. Cast the
1152 result of `strlen' to (int) when comparing against one. Remove
1153 unused variable `start_of_value_parm'.
1154 (demangle_class_name): Cast the result of `strlen' to (int) when
1155 comparing against one.
1156 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
1157 (gnu_special): Likewise. Cast the result of `strlen' to (int)
1158 when comparing against one.
1159 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
1160 (get_count): Likewise.
1161 (do_type): Likewise. Cast the result of `strlen' to (int) when
1162 comparing against one.
1163 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
1164 (demangle_function_name): Cast the result of `strlen' to (int)
1165 when comparing against one.
1166
1167 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
1168 comparing against one.
1169
73aeb2ff
JL
1170Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
1171
5194cf08
ZW
1172 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
1173 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
1174 * config.in, configure: Rebuilt.
ae76f1be 1175
73aeb2ff
JL
1176 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
1177 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
1178 * config.in, configure: Rebuilt.
1179
dd8f3ed5
GN
1180Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
1181
5194cf08 1182 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
dd8f3ed5 1183
f77d8413
MT
1184Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
1185
1186 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
1187
ca6b370d
JL
1188Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
1189
1190 * Merge egcs & devo libiberty.
1191
ab4856b1
ML
1192