* scripttempl/elfxtensa.sc: Sync up with elf.sc.
[deliverable/binutils-gdb.git] / libiberty / ChangeLog
CommitLineData
75919f94
DD
12005-05-11 Paul Brook <paul@codesourcery.com>
2
3 * Makefile.in: Regenerate dependencies.
4
979c05d3
NC
52005-05-10 Nick Clifton <nickc@redhat.com>
6
7 * Update the address and phone number of the FSF organization in
8 the GPL notices in the following files:
75919f94
DD
9 COPYING.LIB, Makefile.in, _doprnt.c, argv.c, asprintf.c,
10 choose-temp.c, clock.c, concat.c, copying-lib.texi, cp-demangle.c,
11 cp-demangle.h, cp-demint.c, cplus-dem.c, dyn-string.c, fdmatch.c,
12 fibheap.c, floatformat.c, fnmatch.c, fopen_unlocked.c,
13 gather-docs, getopt.c, getopt1.c, getruntime.c, hashtab.c, hex.c,
14 lbasename.c, lrealpath.c, maint-tool, make-relative-prefix.c,
15 make-temp-file.c, md5.c, mempcpy.c, mkstemps.c, objalloc.c,
16 obstack.c, partition.c, pex-common.c, pex-common.h, pex-djgpp.c,
17 pex-msdos.c, pex-one.c, pex-unix.c, pex-win32.c, pexecute.c,
18 physmem.c, putenv.c, regex.c, safe-ctype.c, setenv.c, snprintf.c,
19 sort.c, spaces.c, splay-tree.c, stpcpy.c, stpncpy.c, strndup.c,
20 strtod.c, ternary.c, unlink-if-ordinary.c, vasprintf.c,
21 vsnprintf.c, vsprintf.c, xexit.c, xmalloc.c, xstrndup.c
979c05d3 22
0093138c
DD
232005-05-06 Kelley Cook <kcook@gcc.gnu.org>
24
25 * aclocal.m4 (AC_DEFINE_NOAUTOHEADER): Remove.
26 * configure.ac: Replace any AC_DEFINE_NOAUTOHEADER with AC_DEFINE.
27 * configure: Regenerate.
28
292005-05-06 Kelley Cook <kcook@gcc.gnu.org>
30
31 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
32 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
33 * aclocal.m4: Don't include accross.m4.
34 * configure, config.in: Regenerate.
35
c631edf1
DD
362005-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
37
38 * fopen_unlocked.c (unlock_std_streams): New.
39
40 * functions.texi: Regenerate.
41
7b6f6286
DD
422005-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
43
44 * fopen_unlocked.c (unlock_stream): New.
45 Consolidate unlocking code into a helper function.
46
47 * functions.texi: Regenerate.
48
fa99459d
DD
492005-04-13 Gabriel Dos Reis <gdr@integrable-solutions.net>
50
51 * asprintf.c: Include config.h.
52 * basename.c: Likewise.
53 * fdmatch.c: Likewise.
54 * hex.c: Likewise.
55 * lbasename.c: Likewise.
56 * spaces.c: Likewise.
57 * xatexit.c:Likewise.
58 * configure.ac: Do check declarations for basename, ffs, asprintf
59 and vasprintf for real.
60 * configure: Regenerate.
61
ab70e2a5
DD
622005-04-13 Gabriel Dos Reis <gdr@integrable-solutions.net>
63
64 * argv.c (dupargv): Allocate space of argv[argc], not
65 sizeof(char *) of that amount. Cast result to char *.
66
ea7143ac
DD
672005-04-12 Gabriel Dos Reis <gdr@integrable-solutions.net>
68
69 * regex.c (wcs_re_match_2_internal, byte_re_match_2_internal):
70 Replace not with negate.
71
41c953f9
DD
722005-04-12 Gabriel Dos Reis <gdr@integrable-solutions.net>
73
74 * configure.ac: Check declarations for basename, ffs, asprintf,
75 vasprintf.
76 * configure: Regenerate.
77 * config.in: Likewise.
78
ac119ae8
DD
792005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
80
81 * Makefile.in (CFILES): Add fopen_unlocked.c.
82 (REQUIRED_OFILES): Add ./fopen_unlocked.o.
83 Regenerate dependencies.
84
85 * configure.ac: Check for stdio_ext.h and __fsetlocking.
86
87 * fopen_unlocked.c: New file.
88
89 * functions.texi, configure, config.in: Regenerate.
90
6e933b47
DD
912005-04-04 Ian Lance Taylor <ian@airs.com>
92
93 * testsuite/test-pexecute.c (TEST_PEX_RUN): Move variable
94 declaration before statement.
95
aa55ccb1
DD
962005-04-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
97
14a88c49
DD
98 * bcmp.c: Fix warnings and implement using memcmp.
99 * bcopy.c: Fix warnings.
100 * bzero.c: Fix warnings and implement using memset.
101
aa55ccb1
DD
102 * configure.ac (ac_libiberty_warn_cflags): Add -Wwrite-strings
103 -Wstrict-prototypes.
104 * configure, config.in: Regenerate.
105
106 * bsearch.c, index.c, rindex.c, strstr.c, strtol.c, waitpid.c: Fix
107 warnings and reconcile interfaces with relevant standards.
108
b31a49d7
ILT
1092005-04-02 Ian Lance Taylor <ian@airs.com>
110
111 * cp-demangle.c: Update copyright.
112
0e867e79
DD
1132005-03-31 Joseph S. Myers <joseph@codesourcery.com>
114
115 * gettimeofday.c: Add "Supplemental" to @deftypefn.
116 * functions.texi: Regenerate.
117
b109e79a
ILT
1182005-03-28 Ian Lance Taylor <ian@airs.com>
119
120 * pex-common.c: New file.
121 * pex-one.c: New file.
122 * pexecute.c: New file.
123 * pex-common.h: Include <stdio.h>.
124 (struct pex_obj): Define.
125 (struct pex_funcs): Define.
126 (pex_init_common): Declare.
127 * pex-unix.c: Rewrite.
128 * pex-win32.c: Rewrite.
129 * pex-djgpp.c: Rewrite.
130 * pex-msdos.c: Rewrite.
131 * testsuite/text-pexecute.c: New file.
132 * pexecute.txh: Rewrite.
133 * configure.ac: Check for wait3 and wait4. Set CHECK to
134 really-check rather than check-cplus-dem.
135 * functions.texi: Rebuild.
136 * Makefile.in: Rebuild dependencies.
137 (CFILES): Add pexecute.c, pex-common.c, pex-one.c.
138 (REQUIRED_OFILES): Add pexecute.o, pex-common.o, pex-one.o.
139 * testsuite/Makefile.in (really-check): New target.
140 (check-pexecute, test-pexecute): New targets.
141 * configure: Rebuild.
142
864e8148
DD
1432005-03-28 Mark Kettenis <kettenis@gnu.org>
144
145 * unlink-if-ordinary.c: Include <sys/types.h>.
146
e064c173
DD
1472005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
148
149 Convert libiberty to use ISO C prototype style 7/n.
150 * regex.c (PARAMS): Remove definition.
151 (PREFIX): Unconditionaly define using ISO C ## operator.
152 (init_syntax_once, extract_number, extract_number_and_incr,
153 print_fastmap, print_partial_compiled_pattern,
154 print_compiled_pattern, print_double_string, printchar,
155 convert_mbs_to_wcs, re_set_syntax, regex_grow_registers,
156 regex_compile, store_op1, store_op2, insert_op1, insert_op2,
157 at_begline_loc_p, at_endline_p, group_in_compile_stack,
158 insert_space, wcs_compile_range, byte_compile_range,
159 truncate_wchar, re_compile_fastmap, re_compile_fastmap,
160 re_set_registers, re_search, re_search_2, re_search_3, re_match,
161 re_match_2, count_mbs_length, wcs_re_match_2_internal,
162 byte_re_match_2_internal, group_match_null_string_p,
163 alt_match_null_string_p, common_op_match_null_string_p,
164 bcmp_translate, re_compile_pattern, re_comp, re_exec, regcomp,
165 regexec, regerror, regfree): Use ISO C prototype style.
166 * partition.c: (elem_compare): Likewise.
167 * cp-demangle.c (print_usage): Likewise.
168
1e45deed
DD
1692005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
170
171 Convert libiberty to use ISO C prototype style 5/n.
172 * random.c (srandom, initstate, setstate, random): Use ISO C
173 prototypes.
174 * putenv.c (putenv): Likewise.
175 * physmem.c (physmem_available, physmem_total, main): Likewise.
176 * pex-win32.c (fix_argv, pexecute, pwait): Likewise.
177 * pex-unix.c (pexecute, pwait): Likewise.
178 * pex-msdos.c (pexecute, pwait): Likewise.
179 * pex-djgpp.c (pexecute, pwait): Likewise.
180 * partition.c (partition_new, partition_delete, partition_union)
181 (elem_compare, partition_print): Likewise.
182 * obstack.c (_obstack_begin, _obstack_begin_1, _obstack_newchunk,
183 _obstack_allocated_p, _obstack_free, obstack_free,
184 _obstack_memory_used, print_and_abort, obstack_next_free,
185 obstack_object_size, obstack_base): Likewise. Remove codes
186 predicated on !defined(__STDC__).
187 * objalloc.c (objalloc_create, _objalloc_alloc, objalloc_free,
188 objalloc_free_block): Use ISO C prototypes.
189 * mkstemps.c (mkstemps): Likewise.
190 * memset.c (memset): Likewise.
191 * mempcpy.c (mempcpy): Likewise.
192 * rename.c (rename): Likewise.
193 * rindex.c (rindex): Likewise.
194 * setenv.c (setenv, unsetenv): Likewise.
195 * sigsetmask.c (sigsetmask): Likewise.
196 * snprintf.c (snprintf): Likewise.
197 * sort.c (sort_pointers, xmalloc): Likewise.
198 * spaces.c (spaces): Likewise.
199 * splay-tree.c (splay_tree_delete_helper,
200 splay_tree_splay_helper, splay_tree_splay,
201 splay_tree_foreach_helper, splay_tree_xmalloc_allocate,
202 splay_tree_new, splay_tree_xmalloc_allocate,
203 splay_tree_new_with_allocator, splay_tree_delete,
204 splay_tree_insert, splay_tree_remove, splay_tree_lookup,
205 splay_tree_max, splay_tree_min, splay_tree_predecessor,
206 splay_tree_successor, splay_tree_foreach,
207 splay_tree_compare_ints, splay_tree_compare_pointers): Likewise.
208 * stpcpy.c (stpcpy): Likewise.
209 * stpncpy.c (stpncpy): Likewise.
210 * strcasecmp.c (strcasecmp): Likewise.
211 * strchr.c (strchr): Likewise.
212 * strdup.c (strdup): Likewise.
213
49b1fae4
DD
2142005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
215
216 Convert libiberty to use ISO C prototype style 6/n.
217 * strerror.c (init_error_tables, errno_max, strerror, strerrno,
218 strtoerrno, main): Use ISO C prototype style.
219 * strncasecmp.c (strncasecmp): Likewise.
220 * strncmp.c (strncmp): Likewise.
221 * strndup.c (strndup): Likewise.
222 * strrchr.c (strrchr): Likewise.
223 * strsignal.c (init_signal_tables, signo_max, strsignal,
224 strsigno, strtosigno, psignal, main): Likewise.
225 * strstr.c (strstr): Likewise.
226 * strtod.c (strtod, atof): Likewise.
227 * strtol.c (strtol): Likewise.
228 * strtoul.c (strtoul): Likewise.
229 * ternary.c (ternary_insert, ternary_cleanup, ternary_search,
230 ternary_recursivesearch): Likewise.
231 * tmpnam.c (tmpnam): Likewise.
232 * unlink-if-ordinary.c (unlink_if_ordinary): Likewise.
233 * vasprintf.c (int_vasprintf, vasprintf, checkit, main): Likewise.
234 * vfork.c (vfork): Likewise.
235 * vfprintf.c (vfprintf): Likewise.
236 * vprintf.c (vprintf): Likewise.
237 * vsnprintf.c (vsnprintf, checkit, main): Likewise.
238 * vsprintf.c (vsprintf): Likewise.
239 * waitpid.c (waitpid): Likewise.
240 * xatexit.c (xatexit, xatexit_cleanup): Likewise.
241 * xexit.c (xexit): Likewise.
242 * xmalloc.c (xmalloc_set_program_name, xmalloc_failed, xmalloc,
243 xcalloc, xrealloc): Likewise.
244 * xmemdup.c (xmemdup): Likewise.
245 * xstrdup.c (xstrdup): Likewise.
246 * xstrerror.c (xstrerror): Likewise.
247 * xstrndup.c (xstrndup): Likewise.
248
2492005-03-27 Andreas Jaeger <aj@suse.de>
250
251 * configure.ac (ac_c_preproc_warn_flag): Remove -Wtraditional
252 flags.
253 * configure: Regenerated.
254
2552005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
256
257 * getopt1.c (getopt_long_only): Fix thinko.
258
2592005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
260
261 Convert libiberty to use ISO C prototype style 4/n.
262 * hashtab.c (higher_prime_index, hash_pointer, eq_pointer,
263 htab_size, htab_elements, htab_mod_1, htab_mod, htab_mod_m2,
264 htab_create_alloc, htab_set_functions_ex, htab_create,
265 htab_try_create, htab_delete, htab_empty,
266 find_empty_slot_for_expand, htab_expand, htab_find_with_hash,
267 htab_find, htab_find_slot_with_hash, htab_find_slot,
268 htab_remove_elt, htab_remove_elt_with_hash, htab_clear_slot,
269 htab_traverse_noresize, htab_traverse, htab_collisions,
270 htab_hash_string, iterative_hash): Use ISO C prototype.
271 * hex.c (hex_init): Likewise.
272 * index.c (index): Likewise.
273 * insque.c (insque, remque): Likewise.
274 * lbasename.c (lbasename): Likewise.
275 * lrealpath.c (lrealpath): Likewise.
276 * make-relative-prefix.c (save_string, split_directories,
277 free_split_directories, make_relative_prefix): Likewise.
278 * make-temp-file.c (try, choose_tmpdir, make_temp_file): Likewise.
279 * md5.c (md5_init_ctx, md5_read_ctx, md5_finish_ctx, md5_stream,
280 md5_buffer, md5_process_bytes, md5_process_block): Likewise.
281 * memchr.c (memchr): Likewise.
282 * memcpy.c (memcpy): Likewise.
283 * memmove.c (memmove): Likewise.
284 * gettimeofday.c (gettimeofday): Likewise.
285 * getruntime.c (get_run_time): Likewise.
286 * getpwd.c (getpwd, getpwd): Likewise.
287 * getpagesize.c (getpagesize): Likewise.
288 * getopt1.c (getopt_long, getopt_long_only, main): Likewise.
289 * getopt.c (my_index, exchange, _getopt_initialize,
290 _getopt_internal, getopt, main): Likewise.
291 * getcwd.c (getcwd): Likewise.
292 * fnmatch.c (fnmatch): Likewise.
293 * floatformat.c (floatformat_always_valid,
294 floatformat_i387_ext_is_valid, get_field, floatformat_to_double,
295 put_field, floatformat_from_double, floatformat_is_valid,
296 ieee_test, main): Likewise.
297 * fibheap.c (fibheap_new, fibnode_new, fibheap_compare,
298 fibheap_comp_data, fibheap_insert, fibheap_min, fibheap_min_key,
299 fibheap_union, fibheap_extract_min, fibheap_replace_key_data,
300 fibheap_replace_key, fibheap_replace_data, fibheap_delete_node,
301 fibheap_delete, fibheap_empty, fibheap_extr_min_node,
302 fibheap_ins_root, fibheap_rem_root, fibheap_consolidate,
303 fibheap_link, fibheap_cut, fibheap_cascading_cut,
304 fibnode_insert_after, fibnode_remove): Likewise.
305 * ffs.c (ffs): Likewise.
306 * fdmatch.c (fdmatch): Likewise.
307 * dyn-string.c (dyn_string_init, dyn_string_new,
308 dyn_string_delete, dyn_string_release, dyn_string_resize,
309 dyn_string_clear, dyn_string_copy, dyn_string_copy_cstr,
310 dyn_string_prepend, dyn_string_prepend_cstr, dyn_string_insert,
311 dyn_string_insert_cstr, dyn_string_insert_char,
312 dyn_string_append, dyn_string_append_cstr,
313 dyn_string_append_char, dyn_string_substring, dyn_string_eq):
314 Likewise.
315
9334f9c6
DD
3162005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
317
318 Convert libiberty to use ISO C prototype style 3/n.
49b1fae4
DD
319 * cplus-dem.c (set_cplus_marker_for_demangling, consume_count,
320 consume_count_with_underscores, code_for_qualifier,
321 qualifier_string, demangle_qualifier, cplus_demangle_opname,
322 cplus_mangle_opname, cplus_demangle_set_style,
323 cplus_demangle_name_to_style, cplus_demangle, grow_vect,
9334f9c6 324 ada_demangle, internal_cplus_demangle, squangle_mop_up,
49b1fae4
DD
325 work_stuff_copy_to_from, delete_non_B_K_work_stuff,
326 delete_work_stuff, mop_up, demangle_signature,
327 demangle_method_args, demangle_template_template_parm,
328 demangle_expression, demangle_integral_value,
329 demangle_real_value, demangle_template_value_parm,
330 demangle_template, arm_pt, demangle_arm_hp_template,
331 demangle_class_name, demangle_class, iterate_demangle_function,
332 demangle_prefix, gnu_special, recursively_demangle, arm_special,
333 demangle_qualified, get_count, do_type, demangle_fund_type,
334 do_hpacc_template_const_value, do_hpacc_template_literal,
335 snarf_numeric_literal, do_arg, remember_type, remember_Ktype,
336 register_Btype, remember_Btype, forget_B_and_K_types,
337 forget_types, demangle_args, demangle_nested_args,
338 demangle_function_name, string_need, string_delete, string_init,
339 string_clear, string_empty, string_append, string_appends,
9334f9c6
DD
340 string_appendn, string_prepend, string_prepends, string_prependn,
341 string_append_template_idx): Use ISO C prootype style.
342 * cp-demint.c (cplus_demangle_fill_component,
49b1fae4 343 cplus_demangle_fill_builtin_type, cplus_demangle_fill_operator,
9334f9c6
DD
344 cplus_demangle_v3_components): Likewise.
345
3462005-03-26 Gabriel Dos Reis <gdr@integrable-solutions.net>
347
348 Convert libiberty to use ISO C prototype style 2/n.
349 * cp-demangle.h: Remove uses of PARAMS.
350 * cp-demangle.c: Likewise.
49b1fae4
DD
351 (d_dump, cplus_demangle_fill_name,
352 cplus_demangle_fill_extended_operator, cplus_demangle_fill_ctor,
353 cplus_demangle_fill_dtor, d_make_empty, d_make_comp, d_make_name,
354 d_make_builtin_type, d_make_operator, d_make_extended_operator,
355 d_make_ctor, d_make_dtor, d_make_template_param, d_make_sub,
356 cplus_demangle_mangled_name, has_return_type,
357 is_ctor_dtor_or_conversion, d_encoding, d_name, d_nested_name,
358 d_prefix, d_unqualified_name, d_source_name, d_number,
359 d_identifier, d_operator_name, d_special_name, d_call_offset,
360 d_ctor_dtor_name, cplus_demangle_type, d_cv_qualifiers,
361 d_function_type, d_bare_function_type, d_class_enum_type,
362 d_array_type, d_pointer_to_member_type, d_template_param,
363 d_template_args, d_template_arg, d_expression, d_expr_primary,
364 d_local_name, d_discriminator, d_add_substitution,
365 d_substitution, d_print_resize, d_print_append_char,
366 d_print_append_buffer, d_print_error, cplus_demangle_print,
367 d_print_comp, d_print_java_identifier, d_print_mod_list,
368 d_print_mod, d_print_function_type, d_print_array_type,
369 d_print_expr_op, d_print_cast, cplus_demangle_init_info,
370 d_demangle, __cxa_demangle, cplus_demangle_v3, java_demangle_v3,
9334f9c6 371 is_ctor_or_dtor, is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor,
49b1fae4 372 print_usage, main):
9334f9c6
DD
373
3742005-03-26 Gabriel Dos Reis <gdr@integrable-solutions.net>
375
376 Convert libiberty to ISO C prototype style 1/n.
377 * _doprnt.c: Remove conditional #include <varargs.h> on
378 ANSI_PROTOTYPES as the latter is always assumed.
379 (_doprnt, checkit, main): Use ISO C prototype.
380 * alloca.c (find_stack_direction, C_alloca): Use ISO C prototype.
381 * argv.c: Remove conditional #includes on ANSI_PROTOTYPES.
49b1fae4 382 (dupargv, freeargv, buildargv, main): Use ISO C prototype.
9334f9c6
DD
383 * atexit.c (atexit): Likewise
384 * asprintf.c: Remove conditional include on ANSI_PROTOTYPES.
49b1fae4 385 (asprintf): Use ISO C prototype.
9334f9c6
DD
386 * basename.c (basename): Likewise
387 * bcmp.c (bcmp): Likewise.
388 * bcopy.c (bcopy): Likewise.
389 * bzero.c (bzero): Likewise.
390 * bsearch.c (bsearch): Likewise. Improve const-correctness.
391 * choose-temp.c (choose_temp_base): Likewise.
392 * calloc.c: Remove conditional #include on ANSI_PROTOTYPES.
393 (calloc): Use ISO C prototype.
394 * clock.c (clock): Likewise.
395 * concat.c: Remove conditional #include on ANSI_PROTOTYPES.
49b1fae4 396 (vconcat_length, vconcat_copy, concat_length, concat_copy,
9334f9c6
DD
397 concat_copy2, concat, reconcat, main): Use ISO C prototype.
398 * copysign.c (copysign): Likewise.
399
0fad4bdb
DD
4002005-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
401
402 * Makefile.in (CFILES): Add strndup.c and xstrndup.c.
403 (REQUIRED_OFILES): Add xstrndup.o.
404 (CONFIGURED_OFILES): Add strndup.o.
405 Regenerate dependencies.
406
407 * configure.ac (funcs, AC_CHECK_FUNCS): Add strndup.
408
409 * strndup.c, xstrndup.c: New.
410
411 * config.in, configure, functions.texi: Regenerate.
412
51e32d64
DD
4132005-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
414
415 * xmemdup.c, xstrdup.c: Expose the tail call.
416
8ec32723
DD
4172005-03-09 Mark Mitchell <mark@codesourcery.com>
418
419 * configure.ac (funcs): Add gettimeofday.
420 * configure: Regenerated.
421 * gettimeofday.c: New file.
422 * Makefile.in (CFILES): Add gettimeofday.
423 (CONFIGURED_OFILES): Add gettimeofday.o.
424 (./gettimeofday.o): New rule.
425
27ff8836
ILT
4262005-03-09 Ian Lance Taylor <ian@airs.com>
427
428 * pex-os2.c: Remove.
429 * configure.ac: Remove *-*-os2-emx* case when setting pexecute.
430 * Makefile.in (CFILES): Remove pex-os2.c.
431 (CONFIGURED_OFILES): Remove pex-os2.o.
432 (pex-os2.o): Remove target.
433 * configure: Rebuild.
434
48e39b59
ILT
4352005-03-07 Ian Lance Taylor <ian@airs.com>
436
437 * mpw-config.in: Remove.
438 * mpw-make.sed: Remove.
439 * mpw.c: Remove.
440 * Makefile.in (CFILES): Remove pex-mpw.c.
441 (CONFIGURED_OFILES): Remove pex-mpw.o.
442 (mpw.o, pex-mpw.o): Remove targets.
443 * maint-tool (undoc): Remove reference to mpw.c.
444
65dce80e
DD
4452005-03-06 DJ Delorie <dj@redhat.com>
446
447 * configure.ac (target_header_dir): vfork is a stub under djgpp.
448 * configure: Regenerated.
449
190eb137
DD
4502005-03-01 Jan Beulich <jbeulich@novell.com>
451
452 * Makefile.in (CFILES): Add unlink-if-ordinary.c
453 (REQUIRED_OFILES): Add unlink-if-ordinary.o.
454 Add dependencies and rule for unlink-if-ordinary.o.
455 * unlink-if-ordinary.c: New.
456
bac7199c
DD
4572005-03-01 Ben Elliston <bje@au.ibm.com>
458
459 * hashtab.c (htab_find_slot_with_hash): Make function
460 documentation clearer.
461
aca9a742
JM
4622005-02-13 Jason Merrill <jason@redhat.com>
463
464 * cp-demangle.c (__cxa_demangle): Change resolution of ambiguous
465 arguments.
466
b5c3b3de
DD
4672005-01-11 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
468
469 * hex.c (hex_value): Group 'unsigned int' together to get correct
470 markup.
471 * functions.texi: Regenerated.
49b1fae4 472
46a10049
DD
4732004-12-27 H.J. Lu <hongjiu.lu@intel.com>
474
475 * Makefile.in: Undo to 2004-12-17.
476 * aclocal.m4: Likewise.
477 * config.table: Likewise.
478 * configure.ac: Likewise.
479 * maint-tool: Likewise.
480 * configure: Likewise.
481
fbfdf750
DD
4822004-12-19 H.J. Lu <hongjiu.lu@intel.com>
483
484 PR bootstrap/19072
485 * Makefile.in (enable_shared): New substitute.
486 (LTTARGETLIB): New.
487 (PREFIXTARGETLIB): New.
488 (LTTESTLIB): New.
489 (PREFIXTESTLIB): New.
490 (CCLD): New.
491 (LINK): New.
492 ($(TARGETLIB)): Use $(LINK) to create libraries and create
493 targets by hand.
494 ($(TESTLIB)): Likewise.
495 (mostlyclean): Don't remove .libs. Remove the libtool object
496 directory.
497
498 * config.table (enable_shared): Removed.
499
500 * configure.ac (enable_static): Set to yes.
501 (AC_PROG_LIBTOOL): Removed.
502 (AM_DISABLE_SHARED): Uncommented.
503 (AM_PROG_LIBTOOL): Likewise.
504 (LIBOBJS): Add `./' to avoid VPATH.
505 (LTLIBOBJS): Likewise.
506 (enable_shared): Substitute.
507 * configure: Regenerated.
508
96e00b33
L
5092004-12-18 H.J. Lu <hongjiu.lu@intel.com>
510
511 * Makefile.in (top_builddir): Set to `.'.
512 (OUTPUT_OPTION): Removed.
513 (LIBTOOL): New.
514 (LTLIBOBJS): New.
515 (EXTRA_LTOFILES): New.
516 (FLAGS_TO_PASS): Add EXTRA_LTOFILES.
517 (all): Remove stamp-picdir.
518 (LTCOMPILE): New.
519 (.c.lo): New rule.
520 (REQUIRED_LTOFILES): New.
521 (CONFIGURED_LTOFILES): New.
522 ($(TARGETLIB)): Check .libs for PIC object files. Depend on
523 $(REQUIRED_LTOFILES) $(EXTRA_LTOFILES) $(LTLIBOBJS).
524 (stamp-picdir): Completely removed.
525 (maint-missing): Pass $(REQUIRED_LTOFILES)
526 $(CONFIGURED_LTOFILES) instead of (REQUIRED_OFILES)
527 $(CONFIGURED_OFILES)
528 (maint-buildall): Depend on $(REQUIRED_LTOFILES)
529 $(CONFIGURED_LTOFILES).
530 (mostlyclean): Also remove *.lo .libs.
531 Run "make maint-deps".
532
533 * aclocal.m4: Include ../libtool.m4.
534
535 * config.table: Don't check --enable-shared.
536
537 * configure.ac (AC_PROG_LIBTOOL): Add.
538 (AC_PROG_CC_C_O): Removed.
539 (OUTPUT_OPTION): Removed.
540 (NO_MINUS_C_MINUS_O): Removed.
541 (ltpexecute): New substitute.
542 (LIBOBJS): Cleanup.
543 * configure: Regenerated.
544
545 * maint-tool: Updated for .lo/libtool.
546
40a59a4c
DD
5472004-12-11 Ben Elliston <bje@au.ibm.com>
548
549 * configure.ac: Invoke AC_CHECK_SIZEOF for sizeof (int).
550 * configure: Regenerate.
551 * config.in: Likewise.
552
9923bc33
DD
5532004-12-07 DJ Delorie <dj@redhat.com>
554
555 * splay-tree.c (splay_tree_delete_helper): Redesign the logic so
556 that recursion (and thus large stack space) is not needed.
557
70615d15
DD
5582004-11-29 Matt Kraai <kraai@alumni.cmu.edu>
559
560 * pex-unix.c: Fix the spelling of longjmp.
561
eb129e35
DD
5622004-11-23 Ian Lance Taylor <ian@wasabisystems.com>
563
564 PR other/18623
565 * cp-demangle.c (d_call_offset): Remove useless local variables
566 offset and virtual_offset.
567 * cplus-dem.c (ada_demangle): Remove useless local variable
568 at_start_name.
569 (demangle_template): Remove useless local variable start.
570
3e0f1404
DD
5712004-11-19 Roger Sayle <roger@eyesopen.com>
572
573 * objalloc.c, strsignal.c, xstrerror.c: Include "config.h" before
574 "ansidecl.h" to avoid redeclaration errors with native compilers.
575 * regex.c: Protect config.h from multiple inclusion.
576
6cfb3176
DD
5772004-11-12 Mike Stump <mrs@apple.com>
578
579 * Makefile.in (libiberty.html): Fix html generation.
580
f9b4e353
DD
5812004-09-08 Adam Nemet <anemet@lnxw.com>
582
583 * vasprintf.c: Accept __va_copy in addition to va_copy.
584
49b1fae4 5852004-09-03 Paolo Bonzini <bonzini@gnu.org>
c7efc4d5
PB
586
587 * configure: Regenerate.
588
49b1fae4 5892004-09-02 Paolo Bonzini <bonzini@gnu.org>
f5396bbe
PB
590
591 * configure.ac: Do not enable multilibs for build-side libiberty.
592
49b1fae4 5932004-06-29 Danny Smith <dannysmith@users.sourceforge.net>
950ad202
DD
594
595 * lrealpath.c (lrealpath): Add _WIN32 support.
596
a21da8bf
DD
5972004-06-28 Zack Weinberg <zack@codesourcery.com>
598
599 * cp-demangle.h: Declare cplus_demangle_operators,
600 cplus_demangle_builtin_types, cplus_demangle_mangled_name, and
601 cplus_demangle_type as static if IN_GLIBCPP_V3.
602
6032004-06-28 Ian Lance Taylor <ian@wasabisystems.com>
604
605 PR other/16240
606 * cp-demangle.c (d_expr_primary): Check for a failure return from
607 cplus_demangle_type.
608 * testsuite/demangle-expected: Add test case.
609
9f7d3e7d
DD
6102004-05-31 Danny Smith <dannysmith@users.sourceforge.net>
611
612 * pex-win32.c (fix_argv): Expand comment.
613
0cb2db3a
DD
6142004-05-25 Daniel Jacobowitz <drow@false.org>
615
616 * Makefile.in: Add .NOEXPORT.
617
25319993
DD
6182004-04-29 Douglas B Rupp <rupp@gnat.com>
619
620 * mkstemps.c (mkstemps) [VMS]: Remove special open option. Update
621 copyright.
622
7e9f5c71
DD
6232004-04-26 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
624
625 * configure.ac (UNSIGNED_64BIT_TYPE): Unquote the definition.
626 * configure: Regenerate.
627
bb6a587d
DD
6282004-04-22 Richard Henderson <rth@redhat.com>
629
630 * hashtab.c: Include limits.h, stdint.h, ansidecl.h.
631 (CHAR_BIT): Provide default.
632 (struct prime_ent, prime_tab): New.
633 (higher_prime_index): Rename from higher_prime_number, return index.
634 (htab_mod_1): New.
635 (htab_mod, htab_mod_m2): Use it.
636 (htab_create_alloc, htab_create_alloc_ex): Store prime index.
637 (htab_expand): Likewise.
638 * configure.ac: Check for stdint.h.
639 (UNSIGNED_64BIT_TYPE): New define and checks to fill it in.
640 * config.in, configure: Rebuild.
641
53239e41
DD
6422004-04-13 Ian Lance Taylor <ian@wasabisystems.com>
643
644 * strerror.c: Include config.h, and redefine sys_nerr and
645 sys_errlist, before including ansidecl.h and libiberty.h.
646
d6ea4e80
DD
6472004-04-13 Jeff Law <law@redhat.com>
648
649 * hashtab.c (htab_remove_elt_with_hash): New function.
650 (htab_remove_elt): Implement in terms of htab_remove_elt_with_hash.
651
fe046a17
DD
6522004-03-31 Richard Henderson <rth@redhat.com>
653
654 * hashtab.c (htab_size): Move to top of file; mark inline.
655 (htab_elements): Likewise.
656 (htab_mod, htab_mod_m2): New.
657 (htab_delete): Refactor htab->size and htab->entries.
658 (htab_empty): Likewise.
659 (find_empty_slot_for_expand): Use htab_size, htab_mod, htab_mod_m2.
660 (htab_find_with_hash, htab_find_slot_with_hash): Likewise.
661 (htab_clear_slot): Use htab_size, htab_elements.
662 (htab_traverse_noresize, htab_traverse): Likewise.
663
e0c148a7
DD
6642004-03-17 Ian Lance Taylor <ian@wasabisystems.com>
665
12a7367e
DD
666 * pex-unix.c (pexecute): Use vfork instead of fork, with
667 appropriate changes to make this safe.
668 * pex-common.h (STDERR_FILE_NO): Define.
669
e0c148a7
DD
670 * Makefile.in: Clean up REQUIRED_OFILES and CONFIGURED_OFILES for
671 an 80 column screen. Run maint-deps.
672
85f969cd
DD
6732004-03-09 Kelley Cook <kcook@gcc.gnu.org>
674
675 * configure.ac: Bump version to 2.59. Apply suggested autoupdates.
676 * acconfig.h: Delete redundant file.
677 * config.in: Regenerate.
678 * configure: Regenerate.
679
58670637
DD
6802004-03-09 Hans-Peter Nilsson <hp@axis.com>
681
682 * configure: Regenerate for config/accross.m4 correction.
683
758d77be
DD
6842004-03-07 Andreas Jaeger <aj@suse.de>
685
686 * testsuite/test-demangle.c: Include <string.h> and <stdlib.h> for
687 prototypes.
688 (main): Initialize style.
689
74aee4eb
DD
6902004-02-24 Ian Lance Taylor <ian@wasabisystems.com>
691
2d733211
DD
692 * cp-demangle.h (enum d_builtin_type_print): Add D_PRINT_UNSIGNED,
693 D_PRINT_UNSIGNED_LONG, D_PRINT_LONG_LONG,
694 D_PRINT_UNSIGNED_LONG_LONG, D_PRINT_FLOAT.
695 * cp-demangle.c (cplus_demangle_builtin_types): Change char and
696 short types to D_PRINT_DEFAULT. Change other integer types to use
697 new D_PRINT_* values where appropriate. Change float types to
698 D_PRINT_FLOAT.
699 (d_print_comp) [LITERAL, LITERAL_NEG]: Handle new D_PRINT_*
700 values.
701 * testsuite/demangle-expected: Adjust two test cases.
702
703 * cp-demangle.c (d_print_function_type): Print a space before the
704 parenthesis around the function type in more cases.
705 * testsuite/demangle-expected: Adjust one test case.
706
099f84cf
DD
707 * cp-demangle.c (d_print_comp) [UNARY]: Don't emit extra
708 parentheses around a cast.
709 * testsuite/demangle-expected: Adjust two test cases to match new
710 output.
711
74aee4eb
DD
712 * cp-demangle.c (__cxa_demangle): Pass DMGL_PARAMS to d_demangle.
713
714 * cp-demangle.c (d_print_comp) [RESTRICT, VOLATILE, CONST]: Don't
715 push more than one of the same CV-qualifier on the top of the
716 stack.
717 (d_print_comp) [ARRAY_TYPE]: If the array itself is CV-qualified,
718 move the CV-qualifiers to apply to the element type instead.
719 (d_print_array_type): When checking the modifiers, keep looking
720 past ones which have been printed already.
721 * testsuite/demangle-expected: Add three test cases.
722
7232004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
724
725 * cp-demangle.c (__cxa_demangle): Adjust last patch to handle
726 empty string correctly.
727
728 * cp-demangle.c (__cxa_demangle): It is not an error if status is
729 not NULL. It is an error if the mangled name is the same as a
730 built-in type name.
731 (main): If IN_GLIBCPP_V3 is defined, test __cxa_demangle rather
732 than cplus_demangle_v3.
733
734 * dyn-string.c: Remove test of IN_LIBGCC2 and IN_GLIBCPP_V3 and
735 the associated #define of RETURN_ON_ALLOCATION_FAILURE.
736
f9375305
DD
7372004-02-16 Matt Kraai <kraai@alumni.cmu.edu>
738
739 * regex.c: Include <ansidecl.h>.
740 (regcomp): Cast i to int.
741 (regerror): Add ATTRIBUTE_UNUSED to parameter preg.
742
cbf0ee79
DD
7432004-01-25 Ian Lance Taylor <ian@wasabisystems.com>
744
745 * configure.ac: Add m4_pattern_allow(LIBOBJS).
746 * configure: Regenerate.
747
37254c9a
DD
7482004-01-22 DJ Delorie <dj@redhat.com>
749
750 * Makefile.in: Convert to ./ throughout. Rebuild dependencies
751 with explicit build rules.
752 (VPATH): Remove.
753 (.c.o): Poison.
754 * configure.ac (pexecute, LIBOBJS): Add ./ .
755 * maint-tool: Build dependencies with explicit rules.
756
211333f6
DD
7572004-01-15 Kazu Hirata <kazu@cs.umass.edu>
758
759 * strdup.c (strdup): Constify the argument.
760
3795d586
DD
7612004-01-14 Loren J. Rittle <ljrittle@acm.org>
762
763 * Makefile.in (distclean): Remove config.cache.
764
2d6520ee
DJ
7652004-01-13 Daniel Jacobowitz <drow@mvista.com>
766
767 * cp-demangle.c (d_make_comp): DEMANGLE_COMPONENT_CONSTRUCTION_VTABLE
768 takes two parameters.
769 * cp-demint.c (cplus_demangle_fill_component): Likewise.
770
59727473
DD
7712004-01-12 Ian Lance Taylor <ian@wasabisystems.com>
772
773 * cp-demangle.c: Include "cp-demangle.h". If IN_GLIBCPP_V3 is
774 defined, rename some functions which are to become static via
775 #define.
776 (CP_STATIC_IF_GLIBCPP_V3): Define.
777 (struct d_operator_info): Move definition to cp-demangle.h, and
778 rename to demangle_operator_info. Change all uses.
779 (enum d_builtin_type_print): Move definition to cp-demangle.h.
780 (struct d_builtin_type_info): Move definition to cp-demangle.h,
781 and rename to demangle_builtin_type_info. Change all uses.
782 (enum d_comp_type): Move definition to include/demangle.h, and
783 rename to demangle_component_type, and change all enums to start
784 with DEMANGLE_COMPONENT_ instead of D_. Change all uses.
785 (struct d_comp): Move definition to include/demangle.h, and rename
786 to demangle_component. Change all uses.
787 (struct d_info): Move definition to cp-demangle.h.
788 (cplus_demangle_fill_name): New function.
789 (cplus_demangle_fill_extended_operator): New function.
790 (cplus_demangle_fill_ctor): New function.
791 (cplus_demangle_fill_dtor): New function.
792 (d_make_empty): Remove type parameter. Change all callers.
793 (d_make_name): Use cplus_demangle_fill_name.
794 (d_make_extended_operator): Use
795 cplus_demangle_fill_extended_operator.
796 (d_make_ctor): Use cplus_demangle_fill_ctor.
797 (d_make_dtor): Use cplus_demangle_fill_dtor.
798 (cplus_demangle_mangled_name): Rename from d_mangled_name. Make
799 non-static by default. Change all callers.
800 (cplus_demangle_operators): Rename from d_operators. Change all
801 uses. Make non-static by default. Add sentinel at end of array.
802 (d_operator_name): Adjust initialization of high for new sentinel
803 in cplus_demangle_operators.
804 (cplus_demangle_builtin_types): Rename from d_builtin_types.
805 Change all uses. Make non-static by default. Change initializer
806 to use D_BUILTIN_TYPE_COUNT instead of magic number 26.
807 (cplus_demangle_type): Rename from d_type. Make non-static by
808 default. Change all callers.
809 (cplus_demangle_init_info): Rename from d_init_info. Make
810 non-static by default. Change all callers.
811 * cp-demangle.h: New file.
812 * cp-demint.c: New file.
813 * Makefile.in: Rebuild dependencies.
814 (CFILES): Add cp-demint.c.
815 (REQUIRED_OFILES): Add cp-demint.o.
816
1a79b024
DD
8172004-01-09 Kelley Cook <kcook@gcc.gnu.org>
818
819 * configure.in: Rename file to ...
820 * configure.ac: ... this.
821 * Makefile.in: Update a comment for above change.
822 * README: Likewise.
823 * config.in: Regenerate.
824
820542c9
DD
8252004-01-02 Ian Lance Taylor <ian@wasabisystems.com>
826
827 * cp-demangle.c (d_encoding): When DMGL_PARAMS is not set, strip
828 CV-qualifiers from D_COMP_LOCAL_NAME right subtree.
829 * cplus-dem.c (demangle_arm_hp_template): Set DMGL_PARAMS when
830 demangling template parameters.
831 * testsuite/test-demangle.c (fail): New static function.
832 (main): Support new options in input file: --no-params,
833 --is-v3-ctor, and --is-v3-dtor.
834 * testsuite/demangle-expected: Add --no-params to most tests, and
835 add the correct result when parameters are not demangled. Add
836 some simple tests for V3 constructor/destructor recognition.
837
2f9c4058
DD
8382003-12-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
839
840 * cp-demangle.c (is_ctor_or_dtor): Fix error in last change.
841
4fd47f10
DJ
8422003-12-22 Daniel Jacobowitz <drow@mvista.com>
843
844 PR debug/13272
845 * Makefile.in (lbasename.o): Depend on filenames.h.
846 * lbasename.c: Include "filenames.h" instead of defining
847 its macros locally.
848
b6fb00c0
DD
8492003-12-22 Ian Lance Taylor <ian@wasabisystems.com>
850
851 * cp-demangle.c (CP_DYNAMIC_ARRAYS): Define if compiler supports
852 dynamic arrays.
853 (struct d_operator_info): Add len field.
854 (struct d_builtin_type_info): Add len and java_len fields.
855 (struct d_standard_sub_info): Add simple_len, full_len, and
856 set_last_name_len fields.
857 (struct d_comp): Add len field to s_string.
858 (struct d_info): Add send, did_subs, and expansion fields.
859 (d_append_string_constant): Define.
860 (d_append_string): Remove. Change all users to use
861 d_append_string_constant or d_append_buffer instead.
862 (d_make_sub): Add len parameter. Change all callers.
863 (d_name): Increase expansion when substituting std::.
864 (d_unqualified_name): Increase expansion for an operator.
865 (d_number): Don't use multiplication for negative numbers.
866 (d_identifier): Make sure there are enough characters in the
867 string for the specified length. Adjust expansion for an
868 anonymous namespace.
869 (d_operators): Initialize len field.
870 (d_special_name, d_ctor_dtor_name): Increase expansion.
871 (d_builtin_types): Initialize len and java_len fields.
872 (d_type): Increase expansion for a builtin type.
873 (d_cv_qualifiers): Increase expansion for each qualifier.
874 (d_bare_function_type): Decrease expansion when removing single
875 void parameter.
876 (d_template_param): Increment did_subs.
877 (d_expression): Increase expansion for an operator.
878 (d_expr_primary): Decrease expansion for a type we will print
879 specially.
880 (standard_subs): Initialize new fields.
881 (d_substitution): Increment did_subs when doing a normal
882 substitution. Increase expansion for a special substitution.
883 (d_print): Add estimate parameter. Change all callers.
884 (d_print_comp) [D_COMP_NAME]: Handle C++ case inline.
885 (d_print_comp) [D_COMP_BINARY]: Use length to avoid strcmp call.
886 (d_print_java_identifier): Rename from d_print_identifier. Handle
887 only Java case. Change caller.
888 (d_init_info): Change return type to void. Change all callers.
889 Initialize send, did_subs, and expansion fields. Do not
890 initialize comps and subs fields.
891 (d_demangle): Ifdef CP_DYNAMIC_ARRAYS, allocate comps and subs
892 arrays on stack. Make an estimate of the length of the demangled
893 name. Ifdef CP_DEMANGLE_DEBUG, print estimation failures.
894 (is_ctor_or_dtor): Ifdef CP_DYNAMIC_ARRAYS, allocate comps and
895 subs arrays on stack.
896
2730f651
DD
8972003-12-20 Ian Lance Taylor <ian@wasabisystems.com>
898
899 * cp-demangle.c (d_identifier): In Java mode, skip an optional '$'
900 after the identifier.
901 * testsuite/demangle-expected: Add test case.
902
d4edd112
DD
9032003-12-19 Ian Lance Taylor <ian@wasabisystems.com>
904
905 Fix for PR c++/13447:
906 * cp-demangle.c (enum d_comp_type): Add D_COMP_LOCAL_NAME.
907 (d_dump, d_make_comp): Handle D_COMP_LOCAL_NAME.
908 (is_ctor_dtor_or_conversion): Handle D_COMP_LOCAL_NAME like
909 D_COMP_QUAL_NAME.
910 (is_ctor_or_dtor): Likewise.
911 (d_local_name): Use D_COMP_LOCAL_NAME rather than
912 D_COMP_QUAL_NAME.
913 (d_print_comp) [D_COMP_LOCAL_NAME]: New.
914 (d_prinT_comp) [D_COMP_TYPED_NAME]: If the left tree is
915 D_COMP_LOCAL_NAME, pull any qualifiers off its right subtree.
916 (d_print_mod_list): Handle D_COMP_LOCAL_NAME.
917 * testsuite/demangle-expected: Add two test cases.
918
919 * cp-demangle.c (d_print_function_type): Clear the global modifier
920 list when printing the modifiers, not just when printing the
921 function parameters.
922 * testsuite/demangle-expected: Add two test cases.
923
d35d0cd4
DD
9242003-12-15 Ian Lance Taylor <ian@wasabisystems.com>
925
926 * cp-demangle.c (d_print_function_type): Print the function
927 parameters with no modifiers.
928 * testsuite/demangle-expected: Add test case.
929
930 * cp-demangle.c (d_demangle): If DMGL_PARAMS is not set, don't
931 expect that we've read the entire string.
932 (is_ctor_or_dtor): Don't expect that we've read the entire
933 string--reverse patch of 2003-11-29.
934
09e9708c
DD
9352003-12-15 Brendan Kehoe <brendan@zen.org>
936
937 * libiberty/Makefile.in (floatformat.o): Add dependency on
938 config.h to accompany change of 2003-12-03.
939
97ceaf5b
DD
9402003-12-15 Ian Lance Taylor <ian@wasabisystems.com>
941
942 Fix handling of constructor/destructor of standard substitution:
943 * cp-demangle.c (struct d_standard_sub_info): Define.
944 (d_substitution): Add prefix argument. Change all callers.
945 Rework handling of standard substitutions to print full name when
946 qualifying a constructor/destructor, or when DMGL_VERBOSE is set.
947 * testsuite/demangle-expected: Add test case.
948
949 Fix handling of negative literal constants:
950 * cp-demangle.c (enum d_comp_type): Add D_COMP_LITERAL_NEG.
951 (d_dump, d_make_comp): Handle D_COMP_LITERAL_NEG.
952 (d_expr_primary): Use D_COMP_LITERAL_NEG for a negative number.
953 (d_print_comp): Handle D_COMP_LITERAL_NEG.
954 * testsuite/demangle-expected: Add test case.
955
858b45cf
DD
9562003-12-04 Ian Lance Taylor <ian@wasabisystems.com>
957
958 * cp-demangle.c (IS_UPPER, IS_LOWER): Define.
959 (d_last_char): Define new macro.
960 (d_make_name): Reject an empty name.
961 (d_prefix, d_unqualified_name, d_type): Use new IS_* macros.
962 (d_substitution, d_print_identifier): Likewise.
963 (d_print_comp) [D_COMP_OPERATOR]: Likewise.
964 (d_print_comp) [D_COMP_TEMPLATE]: Use new d_last_char macro.
965 (d_print_mod) Use new d_last_char macro.
966 (d_print_cast): Use new d_last_char macro.
967 (is_ctor_or_dtor): Don't leak memory.
968
969 Fix handling of member function modifiers:
970 * cp-demangle.c (enum d_comp_type): Add D_COMP_RESTRICT_THIS,
971 D_COMP_VOLATILE_THIS, and D_COMP_CONST_THIS.
972 (d_dump): Dump new d_comp_type values.
973 (d_make_comp): Accept new d_comp_type values.
974 (has_return_type): Only accept _THIS variants of qualifiers.
975 (d_encoding): Without DMGL_PARAMS, only remove _THIS variants of
976 qualifiers.
977 (d_cv_qualifiers): Add member_fn parameter. Change all callers.
978 (d_print_comp) [D_COMP_TYPED_NAME]: Rather than removing
979 qualifiers and printing them at the end, add _THIS qualifiers to
980 the modifier list.
981 (d_print_comp) [D_COMP_*_THIS]: New cases.
982 (d_print_comp) [D_COMP_PTRMEM_TYPE]: Remove special handling of
983 qualifiers.
984 (d_print_mod_list): Add suffix parameter. Change all callers.
985 Keep walking the list even if the current modifier has been
986 printed.
987 (d_print_mod): Handle new _THIS qualifiers.
988 (d_print_function_type): Handle new _THIS qualifiers when deciding
989 whether to print a parenthesis. Put a space before the
990 parenthesis in some cases. Call d_print_mod_list again at the
991 end, passing suffix as 1.
992 (is_ctor_or_dtor): Look for new _THIS qualifiers.
993 * testsuite/demangle-expected: Add test case.
994
995 Fix for PR gcc/13304:
996 * cp-demangle.c (d_print_comp) [D_COMP_TEMPLATE]: If the character
997 before the '<' is itself a '<', insert a space.
998 (d_print_cast): Likewise.
999 * testsuite/demangle-expected: Add test case.
1000
1001 Fix for PR gcc/13244:
1002 * cp-demangle.c (d_print_comp) [D_COMP_BINARY]: Wrap an expression
1003 which uses the '>' operator in an extra layer of parens.
1004 * testsuite/demangle-expected: Add test case.
1005
b52927b7
DD
10062003-12-03 Ian Lance Taylor <ian@wasabisystems.com>
1007
1008 * floatformat.c: Include "config.h" and <string.h> if available.
1009 (INFINITY, NAN): Define if not defined by <math.h>.
1010 (floatformat_to_double): Handle NaN, infinity, and denormalized
1011 numbers.
1012 (floatformat_from_double): Likewise.
1013 (ieee_test): In debugging code, use little endian rather than big
1014 endian. Correct tests to handle NaN and to check correct sign of
1015 zero. Omit m68k extended test.
1016 (main): Add more debugging cases.
1017
24afc00d
DD
10182003-11-29 Ian Lance Taylor <ian@wasabisystems.com>
1019
1020 * cp-demangle.c (d_demangle): Only return success if we consumed
1021 the entire demangled string.
1022 (is_ctor_or_dtor): Likewise.
1023
1024 * testsuite/demangle-expected: Revert one part of 2003-06-26 patch
1025 to restore expected result of EDG test case to original expected
1026 result.
1027
331c3da2
DD
10282003-11-26 Ian Lance Taylor <ian@wasabisystems.com>
1029
1030 * cp-demangle.c (struct d_print_mod): Add templates field.
1031 (d_make_builtin_type): Check for NULL type.
1032 (d_make_extended_operator): Check for NULL name.
1033 (d_make_ctor, d_make_dtor): Likewise.
1034 (d_mangled_name): Add top_level parameter. Change all callers.
1035 (d_encoding): If DMGL_PARAMS is not set, strip off initial
1036 CV-qualifiers.
1037 (d_type): Check some return values we rely on.
1038 (d_bare_function_type, d_array_type): Likewise.
1039 (d_pointer_to_member_type, d_template_args): Likewise.
1040 (d_add_substitution): Fail if argument is NULL.
1041 (d_print_resize): Check whether buf is NULL.
1042 (d_print_comp): Save current templates list with each modifier.
1043 Don't pass the modifier list down when printing a template.
1044 (d_print_cast): Don't pass the modifier list down when printing a
1045 template.
1046 (d_print_mod_list): Temporarily set templates list while printing
1047 a modifier.
1048 (d_print_mod): Check that buf is not NULL before using it.
1049 (d_print_function_type): Print parens if there is no modifier.
1050 (d_init_info): Permit as many substitutions as there are
1051 characters in the mangled name.
1052 * testsuite/demangle-expected: Add two new test cases.
1053
51948b34
DD
10542003-11-25 Ian Lance Taylor <ian@wasabisystems.com>
1055
1056 * cp-demangle.c (java_demangle_v3): Pass DMGL_PARAMS to
1057 d_demangle.
1058
6d95373e
DD
10592003-11-22 Ian Lance Taylor <ian@wasabisystems.com>
1060
1061 * cp-demangle.c (d_encoding): Add top_level parameter. Change all
1062 callers.
1063 (print_usage): Display new -p option.
1064 (long_options): Add --no-params.
1065 (main): Accept and handle -p.
1066
54a962d9
DD
10672003-11-21 Ian Lance Taylor <ian@wasabisystems.com>
1068
1069 * cp-demangle.c (has_return_type): Skip qualifiers when checking
1070 whether we have a template.
1071 * testsuite/demangle-expected: Add four new tests.
1072
8fe0d347
DD
10732003-11-20 Ian Lance Taylor <ian@wasabisystems.com>
1074
1075 * testsuite/demangle-expected: Minor changes to match output of
1076 new demangler: adjust whitespace in four tests, and change order
1077 of qualifiers in one test.
1078
1079 * cp-demangle.c: Complete rewrite.
1080
dd9d4b48
DD
10812003-11-19 Mark Mitchell <mark@codesourcery.com>
1082
1083 * cp-demangle.c (demangle_type): Correct thinko in substitution
1084 processing.
1085
0976f6a7
DD
10862003-11-18 Ian Lance Taylor <ian@wasabisystems.com>
1087
1088 * cp-demangle.c (demangle_operator_name): Remove space before
1089 "sizeof".
1090 (demangle_type_ptr): Put qualifiers in the right place. Handle
1091 qualifiers in pointer to member specially.
1092 (demangle_type): Handle qualifiers for pointer or reference
1093 specially. Handle function type.
1094 (demangle_local_name): Save and restore caret around demangling of
1095 initial encoding.
1096
1097 * testsuite/test-demangle.c (main): Don't pass DMGL_VERBOSE to
1098 cplus_demangle.
1099
1100 * testsuite/Makefile.in (test-demangle): Depend upon libiberty.a.
1101
e7e6980b
DD
11022003-10-31 Andreas Jaeger <aj@suse.de>
1103
1104 * floatformat.c (floatformat_always_valid): Add unused attribute.
1105
97ceaf5b
DD
11062003-10-30 Josef Zlomek <zlomekj@suse.cz>
1107
1108 Jan Hubicka <jh@suse.cz>
1109 * vasprintf.c (int_vasprintf): Pass va_list by value.
1110 Use va_copy for copying va_list.
1111 (vasprintf): Pass va_list by value.
1112
686e72d7
DD
11132003-10-30 Josef Zlomek <zlomekj@suse.cz>
1114
1115 * hashtab.c (htab_find_slot_with_hash): Decrease n_deleted
1116 instead of increasing n_elements when inserting to deleted slot.
1117
eec65ede
JB
11182003-10-20 J. Brobecker <brobecker@gnat.com>
1119
1120 * cplus-dem.c (demangle_template): Register a new Btype only
1121 when needed.
1122 * testsuite/demangle-expected: Add a new test.
1123
cd275bff
L
11242003-10-16 H.J. Lu <hongjiu.lu@intel.com>
1125
1126 * testsuite/demangle-expected: Update the expected output of
1127 _GLOBAL__I__Z2fnv.
1128
e3b1168e
DJ
11292003-10-02 Daniel Jacobowitz <drow@mvista.com>
1130
1131 * strerror.c: Revert last change. Declare static sys_nerr
1132 and sys_errlist using different names.
1133
efb150d5
DJ
11342003-10-01 Daniel Jacobowitz <drow@mvista.com>
1135
1136 * strerror.c: Don't provide or reference sys_errlist if
1137 strerror is available.
1138
b7ca9213
L
11392003-10-01 H.J. Lu <hongjiu.lu@intel.com>
1140
1141 * configure.in: Check if $MAKEINFO is missing.
1142 * configure: Regenerated.
1143
8ddbb593
DJ
11442003-09-24 Daniel Jacobowitz <drow@mvista.com>
1145
1146 * configure.in: Use AC_PROG_CPP_WERROR.
1147 * configure: Regenerated.
1148
5324d185
AC
11492003-09-22 Andrew Cagney <cagney@redhat.com>
1150
1151 * floatformat.c (floatformat_i387_ext_is_valid): New function.
1152 (floatformat_always_valid): New function.
1153 (floatformat_i387_ext): Initialize new "is_valid" field to
1154 "floatformat_i387_ext_is_valid".
1155 (floatformat_ieee_single_little): Initialize "is_valid" field to
1156 floatformat_always_valid.
1157 (floatformat_ieee_double_big): Ditto.
1158 (floatformat_ieee_double_little): Ditto.
1159 (floatformat_ieee_double_little): Ditto.
1160 (floatformat_ieee_double_littlebyte_bigword): Ditto.
1161 (floatformat_i960_ext): Ditto.
1162 (floatformat_m88110_ext): Ditto.
1163 (floatformat_m88110_harris_ext): Ditto.
1164 (floatformat_arm_ext_big): Ditto.
1165 (floatformat_arm_ext_littlebyte_bigword): Ditto.
1166 (floatformat_ia64_spill_big): Ditto.
1167 (floatformat_ia64_spill_little): Ditto.
1168 (floatformat_ia64_quad_big): Ditto.
1169 (floatformat_ia64_quad_little): Ditto.
1170 (floatformat_ia64_quad_little): Ditto.
1171 (floatformat_is_valid): Call "is_valid".
1172
34f4a113
AC
11732003-09-15 Andrew Cagney <cagney@redhat.com>
1174
1175 * floatformat.c (get_field): Make "data" constant.
1176 (floatformat_is_valid, floatformat_to_double): Make "from"
1177 constant, fix casts.
1178 (floatformat_from_double): Make "from" constant.
1179
3f2aacaf
DJ
11802003-09-15 Daniel Jacobowitz <drow@mvista.com>
1181
1182 * floatformat.c (floatformat_is_valid): New function.
1183 (get_field, put_field): Correct comments.
1184
aae66b9f
DD
11852003-09-06 Josef Zlomek <zlomekj@suse.cz>
1186
1187 * fibheap.c (fibheap_replace_key_data): Change type of OKEY to
1188 FIBHEAPKEY_T.
1189
60b04ee8
DD
11902003-09-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1191
1192 PR bootstrap/12100
1193 * aclocal.m4 (AC_LANG_FUNC_LINK_TRY): Define.
1194 * configure: Rebuilt.
1195
2299a76d
DJ
11962003-08-27 Daniel Jacobowitz <drow@mvista.com>
1197
1198 * aclocal.m4: Include acx.m4 and no-executables.m4.
1199 (libiberty_AC_FUNC_STRNCMP): Use AC_LIBOBJ.
1200 (LIB_AC_PROG_CC): Remove.
1201 * configure.in: Update AC_PREREQ to 2.57. Use GCC_NO_EXECUTABLES.
1202 Use AC_PROG_CC and set ac_libiberty_warn_cflags instead of using
1203 LIB_AC_PROG_CC. Use AC_LIBOBJ. Call AC_ISC_POSIX later, only if
1204 performing link tests.
1205 * configure: Regenerated.
1206
9ad1aa29
DD
12072003-08-12 Nathanael Nerode <neroden@gcc.gnu.org>
1208
a21da8bf 1209 * cp-demangle.c: Clarify what package(s) this is part of.
9ad1aa29 1210
dbb9d0f3
DD
12112003-07-05 Danny Smith <dannysmith@users.sourceforge.net>
1212
1213 * pex-win32.c (pexecute): Mark parameters this_pname and
1214 temp_base as unused. Remove unused variables retries,
1215 sleep_interval. Initialize org_stdin, org_stdout.
1216 (pwait): Mark parameter flags as unused.
1217
12182003-07-02 Danny Smith <dannysmith@users.sourceforge.net>
ab8c7bb1
DD
1219
1220 * pex-win32.c (fix_argv): Ensure that the executable pathname
1221 uses Win32 backslashes.
1222 (pexecute): Cast away constness when assigning *errmsg_arg.
1223
78c5b0a5
L
12242003-06-26 H.J. Lu <hongjiu.lu@intel.com>
1225
1226 * testsuite/demangle-expected: Add more GNU V3 testcases.
1227
70ecf948
DD
12282003-06-22 Zack Weinberg <zack@codesourcery.com>
1229
1230 * safe-ctype.c: Use HOST_CHARSET_ASCII and HOST_CHARSET_EBCDIC,
1231 not HC_ASCII and HC_EBCDIC.
1232 Add documentation in form expected by gather-docs.
1233 * hex.c: Use HOST_CHARSET, not hand-coded check of character set.
1234 * Makefile.in, functions.texi: Regenerate.
1235
cbc0188b
DD
12362003-06-21 Zack Weinberg <zack@codesourcery.com>
1237
1238 * safe-ctype.c: Separate out EOF==-1 check. Use HOST_CHARSET
1239 for charset determination.
1240
5f73c378
DD
12412003-06-19 Dara Hazeghi <dhazeghi@yahoo.com>
1242
1243 * configure.in: Add check for malloc.h needed by
1244 m68k for function free().
1245 * configure: Regenerated.
1246 * config.in: Add HAVE_MALLOC_H.
1247 * hashtab.c: include malloc.h were available for
1248 free().
1249
e69f6c8c 12502003-06-09 Albert Chin-A-Young <china@thewrittenword.com>
cbc0188b 1251
e69f6c8c
DD
1252 PR bootstrap/10974
1253 * physmem.c: Update comment.
1254 * configure.in: Modify test for _system_configuration for older
1255 AIX systems.
1256
1257 * config.in, configure: Regenerated.
cbc0188b 1258
54c60684
DD
12592003-06-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1260
1261 PR other/10810
1262 * test-demangle.c (getline): Fix fence-post error.
1263
5a4e47bd
NC
12642003-06-03 Nick Clifton <nickc@redhat.com>
1265
1266 * asprintf.c: Change comment to note that -1 is returned upon
1267 error.
1268 * vasprintf.c: Likewise.
1269 (vasprintf): Return -1 upon error.
1270 * functions.texi: Document changes to asprintf and vasprintf.
1271
916f5d13
DD
12722003-05-19 Kelley Cook <kelleycook@wideopenwest.com>
1273
1274 * config.table: Accept i[345867]86 variant.
1275
e4f79046
JB
12762003-05-15 Jim Blandy <jimb@redhat.com>
1277
1278 * hex.c (_hex_value): Make this unsigned.
1279 (hex_value): Update documentation for new return type. hex_value
1280 now expands to an unsigned int expression, to avoid unexpected
1281 sign extension when we store it in a bfd_vma, which is larger than
1282 int on some platforms.
1283 * functions.texi: Regenerated.
1284
0f3538e7
DD
12852003-05-07 Josef Zlomek <zlomekj@suse.cz>
1286
1287 * splay-tree.c (splay_tree_predecessor): Fix comment.
1288 (splay_tree_successor): Fix comment.
1289
7108c5dc
JM
12902003-05-07 Jason Merrill <jason@redhat.com>
1291
eafaf5eb 1292 * hashtab.c (iterative_hash): New fn.
7108c5dc
JM
1293 * configure.in: Add AC_C_BIGENDIAN_CROSS.
1294 * aclocal.m4: Include accross.m4.
1295 * configure, config.in: Regenerate.
1296
0b555173
DD
12972003-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1298
1299 * configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
1300 * configure: Regenerate.
1301
8730135a
DD
13022003-05-03 Carlo Wood <carlo@alinoe.com>
1303
1304 * cp-demangle.c: Fix typo in "char_traints" string-literal.
1305
341eccbc
DD
13062003-04-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1307
1308 * vsnprintf.c (vsnprintf): Don't pad string with extra nulls.
1309 (main): Test that we don't write too much data.
1310
2ed1e5cc
DD
13112003-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1312
1313 * configure.in (funcs, AC_CHECK_FUNCS): Add snprintf and
1314 vsnprintf.
1315 * snprintf.c, vsnprintf.c: New files.
1316 * Makefile.in (CFILES): Add snprintf.c and vsnprintf.c.
1317 (CONFIGURED_OFILES): Add snprintf.o and vsnprintf.o.
1318 Regenerate dependencies.
1319
1320 * functions.texi, configure, config.in: Regenerated.
1321
10b57b38
DD
13222003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1323
1324 * mempcpy.c, stpcpy.c, stpncpy.c: New files.
1325 * configure.in (funcs, AC_CHECK_FUNCS): Add mempcpy, stpcpy
1326 and stpncpy.
1327 * Makefile.in (CFILES): Add mempcpy.c, stpcpy.c and stpncpy.c.
1328 (CONFIGURED_OFILES): Add mempcpy.o, stpcpy.o and stpncpy.o.
1329 Regenerate dependencies.
1330
1331 * functions.texi, configure, config.in: Regenerated.
1332
ff773b85
DD
13332003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1334
1335 * argv.c: Fix comments.
1336 * calloc.c: Don't unnecessarily include "libiberty.h".
1337 (bzero): Add prototype.
1338 * floatformat.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
1339 * getcwd.c (getcwd): Use standard definition to avoid conflicts
1340 with system headers.
1341 * hashtab.c (htab_traverse): Delete unused variables.
1342 * rename.c: Include "ansidecl.h".
1343 (rename): Use standard definition to avoid conflicts with system
1344 headers.
1345 * strsignal.c: Rely on ANSI_PROTOTYPES.
1346 * strstr.c: Check GNUC >= 2, not GNUC == 2.
1347 * vfprintf.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
1348 * vprintf.c: Include "ansidecl.h" earlier, rely on
1349 ANSI_PROTOTYPES.
1350 * vsprintf.c: Include "ansidecl.h" earlier, rely on
1351 ANSI_PROTOTYPES and possibly include <stdarg.h>.
cbc0188b 1352
ff773b85
DD
1353 * Makefile.in: Regenerate dependencies.
1354
bb325820
DD
13552003-04-15 DJ Delorie <dj@redhat.com>
1356
1357 * maint-tool (deps): Scan for headers in $srcdir also.
1358
258a4893
DD
13592003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1360
1361 PR target/10338
1362 PR bootstrap/10198
1363 PR bootstrap/10140
1364 * getopt.c (exchange, _getopt_initialize): Use mempcpy not
1365 __mempcpy.
1366 * regex.c (regerror): Likewise.
1367
ff773b85
DD
13682003-04-14 Roger Sayle <roger@eyesopen.com>
1369
1370 * argv.c: Use ANSI_PROTOTYPES instead of __STDC__.
1371 * memchr.c: Likewise.
1372 * strcasecmp.c: Likewise.
1373 * strncasecmp.c: Likewise.
1374 * strncmp.c: Likewise.
1375 * xatexit.c: Likewise.
1376 * xmalloc.c: Likewise.
1377
1378 * copysign.c: Use traditional function declaration instead of DEFUN.
1379 * sigsetmask.c: Likewise.
1380
1381 * memcmp.c: Both of the above, ANSI_PROTOTYPES and DEFUN.
1382 * memset.c: Likewise.
1383
1384 * memcpy.c: ANSI_PROTOTYPES, DEFUN and prototype bcopy.
1385 * memmove.c: Likewise.
1386
eec539c7
DD
13872003-04-14 Roger Sayle <roger@eyesopen.com>
1388
1389 * strdup.c (strdup): Tweak implementation to use memcpy.
1390
daf7c4ad
DD
13912003-04-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1392
1393 * configure.in (HAVE_UINTPTR_T): Always define.
1394 * configure: Regenerated.
1395
aa072e59
AO
13962003-03-23 Alexandre Oliva <aoliva@redhat.com>
1397
1398 * Makefile.in (MULTIOSDIR): New macro. Use $(CC) $(LIBCFLAGS)
1399 instead of $$CC alone.
1400 (install_to_tooldir): Use it.
1401
f77ed96c
DD
14022003-17-03 Jan Hubicka <jh@suse.cz>
1403
1404 * hashtab.c (htab_traverse_noresize): Break out from ...
1405 * hashtab.c (htab_traverse): ... here.
1406
2336e177
DD
14072003-12-03 Jan Hubicka <jh@suse.cz>
1408
1409 * hashtab.c (htab_expand): Fix warning.
1410
1411 * hashtab.c (htab_expand): Compute the size of hashtable based
1412 on the number of elements actually used.
1413 (htab_traverse): Call htab_expand when table is too empty.
1414
d8cbbf95
DD
14152003-03-11 Carlo Wood <carlo@gnu.org>
1416
1417 * cplus-dem.c (demangle_integral_value): Correction to reflect
1418 patch of 2002-01-10 in order to also make negative multi-digits
1419 without leading underscore work.
1420
a01fefeb
DD
14212003-03-03 Mark Mitchell <mark@codesourcery.com>
1422
1423 * cplus-dem.c: Add license exception to copyright notice.
1424
638ceb1a
DD
14252003-02-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1426
1427 * physmem.c: Formatting changes from upstream.
1428
ef803806
DD
14292003-02-24 Danny Smith <dannysmith@users.source.forge.net>
1430
1431 * physmem.c (physmem_total): Add _WIN32 support.
1432 (physmem_available): Likewise.
1433
181fa229
DD
14342003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1435
1436 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
1437 GSI_PHYSMEM.
1438 (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS.
1439
cc529274
DD
14402003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1441
1442 * configure.in: Check for sys/systemcfg.h and
1443 _system_configuration.
1444 * physmem.c: Add support for AIX. Tweek formatting as per
1445 upstream coreutils beta.
1446
14472003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1448 Richard Earnshaw <rearnsha@arm.com>
1449 Geoffrey Keating <geoffk@apple.com>
cbc0188b 1450
cc529274
DD
1451 * configure.in: Check for sys/sysctl.h and sysctl.
1452 * physmem.c: Add support for *bsd and darwin.
1453 * Makefile.in: Generate depedency for physmem.o.
1454
192cbe66
DD
14552003-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1456
1457 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on
1458 Tru64 UNIX.
1459 (physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on
1460 Tru64 UNIX.
1461
1462 * configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h,
1463 machine/hal_sysinfo.h, sys/table.h.
1464 (checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table.
1465 * configure, config.in: Regenerate.
1466
ff773b85
DD
14672003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1468
1469 * configure.in: Check for sys/sysmp.h and sysmp.
1470 * physmem.c: Pull upstream copy, add support for irix6.
1471
1472 * config.in, configure: Regenerated.
1473
900d2082
DD
14742003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1475
1476 * physmem.c (physmem_total, physmem_available): De-ANSI-fy.
1477 * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and
1478 pstat_getdynamic.
cbc0188b 1479
4938384a
DD
14802003-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1481
1482 * Makefile.in (CFILES): Add physmem.c.
1483 (REQUIRED_OFILES): Add physmem.o.
1484 * configure.in: Check for sys/pstat.h.
1485 (checkfuncs): Add pstat_getstatic and pstat_getdynamic.
1486 * physmem.c: New file, copied from textutils.
1487
1488 * config.in, configure: Regenerated.
1489
ba61a412
DJ
14902003-02-20 Daniel Jacobowitz <drow@mvista.com>
1491
1492 * Makefile.in (CFILES): Add lrealpath.c.
1493 (REQUIRED_OFILES): Add lrealpath.o.
1494 (lrealpath.o): Add rule.
1495 * aclocal.m4 (libiberty_NEED_DECLARATION): Add.
1496 * configure.in: Add realpath and canonicalize_file_name to
1497 checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION
1498 for canonicalize_file_name.
1499 * lrealpath.c: New file.
1500 * make-relative-prefix.c: Update documentation.
1501 (make_relative_prefix): Simplify. Use lbasename and lrealpath.
1502 * config.in: Regenerated.
1503 * configure: Regenerated.
1504 * functions.texi: Regenerated.
1505
25dfe0ac
DD
15062003-02-20 jmc <jmc@prioris.mini.pw.edu.pl>
1507
1508 * cplus_dem.c: Fix typo: intializes -> initializes.
1509
8b90eef4
AO
15102003-02-20 Alexandre Oliva <aoliva@redhat.com>
1511
1512 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
1513 config.status.
1514 * configure: Rebuilt.
1515
fcd7c7c9
DD
15162003-02-13 Daniel Jacobowitz <drow@mvista.com>
1517
1518 Fix PR c++/7612.
1519 * cplus-dem.c (demangle_signature): Call string_delete.
1520 Remove extra string_init.
1521 (demangle_arm_hp_template): Call string_delete instead of
1522 string_clear. Add missing string_delete call.
1523 (demangle_qualified): Add missing string_delete call.
1524 (do_type): Remove unused variable btype. Add missing string_delete
1525 call. Call string_delete instead of string_clear.
1526 (demangle_fund_type): Move variable btype inside of the switch
1527 statement. Add missing string_delete call.
1528 (do_arg): Call string_delete instead of string_clear. Remove extra
1529 string_init.
1530 (demangle_nested_args): Free work->previous_argument.
1531
073c427b
DD
15322003-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1533
1534 * acconfig.h: New file. Add uintptr_t.
1535 * config.in: Regenerated.
1536
f8bd3000
DD
15372003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
1538
1539 * libiberty.texi: Update to GFDL 1.2.
1540
85b9a938
DD
15412003-01-30 Christian Cornelssen <ccorn@cs.tu-berlin.de>
1542
1543 * Makefile.in (libiberty_topdir): New subst.
1544 (mkinstalldirs): Redefine in terms of the above.
1545 * configure.in: AC_SUBST it.
1546 * configure: Regenerate.
1547
578460f2
AO
15482003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de>
1549
1550 * Makefile.in (all-subdir, check-subdir, installcheck-subdir)
1551 (info-subdir, install-info-subdir, clean-info-subdir)
1552 (dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
1553 (clean-subdir, distclean-subdir, maintainer-clean-subdir):
1554 Pass $(FLAGS_TO_PASS).
1555
7f285245
AO
15562003-01-27 Alexandre Oliva <aoliva@redhat.com>
1557
1558 * Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
1559 /`$$CC -print-multi-os-directory`.
1560
5f9624e3
DJ
15612003-01-26 Daniel Jacobowitz <drow@mvista.com>
1562
1563 * hashtab.c (htab_create_alloc_ex): New function.
1564 (hatab_set_functions_ex): New function.
1565 (htab_delete, htab_expand): Support alternate allocation functions.
1566
9c2259b8
DD
15672003-01-24 Christopher Faylor <cgf@redhat.com>
1568
1569 * configure.in: Remove special pex-cygwin consideration.
1570 * configure: Regenerate.
1571 * pex-cygwin.c: Remove.
1572 * Makefile.in: Remove pex-cygwin.[co] lines.
1573
5a17353c
DD
15742003-01-24 Zack Weinberg <zack@codesourcery.com>
1575
1576 * Makefile.in (CFILES): Add pex-*.c.
1577 (REQUIRED_OFILES): Change pexecute.o to @pexecute@
1578 (CONFIGURED_OFILES): Add pex-*.o.
1579 (TEXIFILES): Add pexecute.txh.
1580 (pexecute.o): Delete rule.
1581 (pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o,
1582 pex-unix.o, pex-win32.o): New rules.
1583 * configure.in: Change AC_INIT argument to xmalloc.c.
1584 Compute appropriate pexecute implementation and substitute it
1585 as @pexecute@.
1586
1587 * pexecute.c: Split up into...
1588 * pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c,
1589 pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these
1590 new files.
1591
1592 * functions.texi: Regenerate.
1593 * configure: Regenerate.
1594
eed2b28c
DD
15952003-01-20 Josef Zlomek <zlomekj@suse.cz>
1596
1597 * hashtab.c (htab_expand): Fix allocation of new entries.
1598
27a39a5f
DD
15992003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
1600
1601 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
1602
1603 * Makefile.in (install_to_libdir, install_to_tooldir): Add a
1604 mkinstalldirs command.
1605
b51c1553
DD
16062002-12-04 Danny Smith <dannysmith@users.sourceforge.net>
1607
1608 * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
1609 Define for hosts with HOST_EXECUTABLE_SUFFIX.
1610
756954c3
DD
16112002-11-24 Nick Clifton <nickc@redhat.com>
1612
1613 * make-relative-prefix.c (make_relative_prefix): Ensure return
1614 string is empty before using strcat to construct it.
1615
2a80c0a4
DD
16162002-11-22 Daniel Jacobowitz <drow@mvista.com>
1617
1618 * Makefile.in: Add make-relative-prefix.c.
1619 * make-relative-prefix.c: New file.
1620 * functions.texi: Rebuilt.
1621
768b20d8
JJ
16222002-11-16 Jakub Jelinek <jakub@redhat.com>
1623
1624 * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
1625 used with arguments in traditional C' warnings.
1626
f52d1d64
JJ
16272002-10-16 Jakub Jelinek <jakub@redhat.com>
1628
1629 * config.table: Use mh-s390pic for s390x too.
1630
0d3deb8d
DD
16312002-10-06 Andreas Jaeger <aj@suse.de>
1632
1633 * libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded
1634 variable and of strict-aliasing warning.
1635 (grow_vect): Use char as first parameter.
1636
1b67de92
DD
16372002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1638
1639 * Makefile.in (all): Fix multilib parallel build.
1640
585cc78f
DD
16412002-09-19 John David Anglin <dave@hiuly1.hia.nrc.ca>
1642
1643 * cp-demangle.c (demangling_new): Cast 0 to enum.
1644 (demangle_char): Cast return of strdup to char *.
1645 (is_gnu_v3_mangled_ctor): Cast 0 to enum.
1646 (is_gnu_v3_mangled_dtor): Likewise.
1647 * cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
1648 (work_stuff_copy_to_from): Cast return of xmalloc to char **.
1649 * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
1650 * md5.c (md5_process_bytes): Cast results back to const void *.
1651 (md5_process_block): Add cast to const md5_uint32 *.
1652 * regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
1653 * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
1654 unsigned short.
1655 * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
1656 to void *.
1657 * vasprintf.c (int_vasprintf): Cast return of malloc to char *.
1658
e21b0cc1
NC
16592002-09-19 Nick Clifton <nickc@redhat.com>
1660
1661 * README: Update email addresses for bugs and patches.
1662
a54ba43f
DD
16632002-09-10 Mike Stump <mrs@apple.com>
1664
1665 * splay-tree.c (splay_tree_successor): Fix comments.
1666
16672002-09-11 Zack Weinberg <zack@codesourcery.com>
1668
1669 * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
1670 * testsuite/Makefile.in: Adjust for test-demangle.
1671 * testsuite/regress-demangle: Deleted.
1672 * testsuite/test-demangle.c: New file.
1673 * testsuite/demangle-expected: Change \$ to $ throughout, now that
1674 this file is not being read by a shell script.
1675
01cea699
DD
16762002-09-05 Roger Sayle <roger@eyesopen.com>
1677
1678 * regex.c: Only use "#pragma alloca" on AIX when not using gcc.
1679
a2832523
DD
16802002-08-07 DJ Delorie <dj@redhat.com>
1681
1682 * regex.c (re_error_msgid): Just use a simple array of strings.
1683 (re_compile_pattern): Compensate.
1684 (re_comp): Likewise.
1685 (re_comp): Likewise.
1686 (regerror): Likewise.
1687
1e3f0be0
DD
16882002-07-29 Neil Booth <neil@daikokuya.co.uk>
1689
1690 * cplus-dem.c (PREPEND_BLANK): Remove.
1691
b851d07b
DD
16922002-07-10 Jason Merrill <jason@redhat.com>
1693
1694 * cp-demangle.c (demangle_identifier): Support extended Unicode
1695 characters.
1696
2a9dffbf
DD
16972002-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1698
1699 * cp-demangle.c (demangle_v3_with_details): Wrap in
1700 !defined IN_GLIBCPP_V3.
1701
793011ca
DD
17022002-07-01 Mark Mitchell <mark@codesourcery.com>
1703
1704 * cp-demangle.c (demangle_operator_name): Add type_arg parameter.
1705 Set it for the "st" operator.
1706 (demangle_expression): Handle expressions with types as arguments.
1707
b39b76b8
DD
17082002-06-30 Douglas Rupp <rupp@gnat.com>
1709
1710 * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
1711 * Makefile.in (OUTPUT_OPTION): Use.
1712
4748c6d8
DD
17132002-06-22 Peter Breitenlohner <peb@mppmu.mpg.de>
1714
1715 * Makefile.in (install_to_libdir): Add $(DESTDIR).
1716 (install_to_tooldir): Likewise.
1717
f9c3326a
DD
17182002-06-17 Douglas Rupp <rupp@gnat.com>
1719
1720 * lbasename.c: Add 2002 to copyright.
1721 (IS_DIR_SEPARATOR): Remove VMS junk.
1722
18893690
DD
17232002-06-05 Geoffrey Keating <geoffk@redhat.com>
1724
1725 * hashtab.c (htab_create): New stub function for backward
1726 compatibility.
1727 (htab_try_create): Likewise.
1728
17292002-06-03 Geoffrey Keating <geoffk@redhat.com>
1730
1731 * hashtab.c (htab_create): Delete.
1732 (htab_try_create): Delete.
1733 (htab_create_alloc): New.
1734 (htab_delete): Support user-specified memory allocation.
1735 (htab_expand): Likewise.
1736
17372002-05-22 Roman Lechtchinsky <rl@cs.tu-berlin.de>
1738
1739 * configure.in: Fix typo in the code checking for sys_errlist.
1740 * configure: Regenerated.
1741
9296c8b2
DD
17422002-05-13 Andreas Schwab <schwab@suse.de>
1743
1744 * config.table: Use mh-x86pic also for x86-64.
1745
52d98c2d
DD
17462002-05-08 Alexandre Oliva <aoliva@redhat.com>
1747
1748 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1749 script entry, and set LD to it when configuring multilibs.
1750 * configure: Rebuilt.
1751
cafa3917
DD
17522002-05-07 Mark Mitchell <mark@codesourcery.com>
1753
1754 * configure.in (AC_TYPE_PID_T): Use it.
1755 * configure: Regenerated.
1756 * getruntime.c: Include <sys/types.h>.
1757 * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid".
1758
b1c933fc
RH
17592002-04-09 Richard Henderson <rth@redhat.com>
1760
1761 * hashtab.c (higher_prime_number): Use 7 as minimum.
1762 (find_empty_slot_for_expand): Don't compute hash2 unless needed.
1763 (htab_find_slot_with_hash): Likewise.
1764
0c4460bb
DD
17652002-04-01 Phil Edwards <pme@gcc.gnu.org>
1766
1767 * cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
1768 (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally
1769 not compile if IN_GLIBCPP_V3 defined.
1770 * dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme.
1771
f2160d2b
DD
17722002-03-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1773
3ebf1f59 1774 * cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
f2160d2b
DD
1775 if it is NULL.
1776
7dd4d42a
DD
17772002-03-27 DJ Delorie <dj@redhat.com>
1778
1779 * hex.c: Add documentation.
1780 (_hex_value): Provide non-ASCII empty table.
1781 (hex_init): Initialize the non-ASCII table.
1782 * functions.texi: Regenerate.
1783
38e57a35
DD
17842002-03-27 Mark Mitchell <mark@codesourcery.com>
1785
1786 * dyn-string.c: Add libgcc exception to copyright notice.
1787
cfed0715
DD
17882002-03-26 H.J. Lu (hjl@gnu.org)
1789
1790 * config.table: Support --with-build-subdir.
1791 * configure.in: Likewise.
1792 * configure: Rebuild.
1793
1504972f
DD
17942002-03-18 Stuart Griffith <Stuart_Griffith@credence.com>
1795
1796 * strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
1797 seen.
1798
35efcd67
DD
17992002-03-12 Mark Mitchell <mark@codesourcery.com>
1800
1801 * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
1802 notice.
1803
dabc64ea
DD
18042002-03-11 Douglas B Rupp <rupp@gnat.com>
1805
1806 * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
1807
3ddbd84c
JB
18082002-03-06 Jim Blandy <jimb@redhat.com>
1809
1810 * splay-tree.c (splay_tree_xmalloc_allocate,
1811 splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
1812 prototyped definitions. Mark `data' arguments as unused.
1813
efdab807
AC
18142002-03-06 Andrew Cagney <ac131313@redhat.com>
1815
1816 * floatformat.c (floatformat_arm_ext_big): Delete definition.
1817
50d4562d
DD
18182002-03-04 Phil Edwards <pme@gcc.gnu.org>
1819
1820 * configure.in: Add --enable-install-libiberty option.
1821 * Makefile.in (INSTALLED_HEADERS): New variable.
1822 (install_to_libdir): Possibly also copy headers.
1823 * configure: Regenerated.
1824
18252002-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
1826
1827 * xmalloc.c (xmalloc_fail): Clarify error message further.
1828
6e9980f5
DD
18292002-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
1830
1831 * xmalloc.c (xmalloc_fail): Clarify error message.
1832
18893690 18332002-02-22 Jim Blandy <jimb@redhat.com>
2bbcdae9
JB
1834
1835 * splay-tree.c (splay_tree_xmalloc_allocate,
1836 splay_tree_xmalloc_deallocate): New functions.
1837 (splay_tree_new): Call splay_tree_new_with_allocator, passing the
1838 above functions and a dummy data pointer.
1839 (splay_tree_new_with_allocator): New function.
1840 (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
1841 splay_tree_remove): Use the splay tree's allocation and
1842 deallocation functions.
1843
59ea9fe7
DD
18442002-02-19 Scott Snyder <snyder@fnal.gov>
1845
1846 * testsuite/demangle-expected: Add test case for infinite loop in
1847 demangler.
1848 * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
1849 if do_type() doesn't make any progress --- prevents an infinite
1850 loop.
1851
6f848550
DD
18522002-02-18 Carlo Wood <carlo@gnu.org>
1853
1854 PR c++/5390
1855 * cplus-dem.c (demangle_integral_value): Accept multi-digit
1856 numbers that do not start with an underscore; This is needed
1857 for integer template parameters. This doesn't break anything
1858 because multi-digit numbers are never followed by a digit.
1859 * testsuite/demangle-expected: Corrected all mangled test
1860 cases with multi-digit template parameters: g++ 2.95.x does
1861 not generate underscores around these parameters.
1862
44354ae1
DD
18632002-02-05 Jason Merrill <jason@redhat.com>
1864
1865 * cplus-dem.c (flags): Add DMGL_VERBOSE
1866 (cplus_demangle_v3_p): Remove.
1867 (demangle_it): Add DMGL_TYPES to passed flags.
1868 * cp-demangle.c (cplus_demangle_v3_all): Remove.
1869 (cplus_demangle_v3_type): Remove.
1870 (cplus_demangle_v3): Add options parm.
1871
42da15d6
DD
18722002-02-02 H.J. Lu (hjl@gnu.org)
1873
1874 * cp-demangle.c (cp_demangle_type): Do not protect with
1875 IN_LIBGCC2.
1876 (cplus_demangle_v3_all): New.
1877 (cplus_demangle_v3): Call cplus_demangle_v3_all.
1878 (cplus_demangle_v3_type): Call cplus_demangle_v3_all.
1879
1880 * cplus-dem.c (cplus_demangle_v3_p): New function pointer.
1881 Initialized to cplus_demangle_v3.
1882 (cplus_demangle_with_style): Call cplus_demangle_v3_p instead
1883 of cplus_demangle_v3.
1884 (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
1885 command line symbol.
1886
1887 * testsuite/regress-demangle: Pass the mangled name at the
1888 command line.
1889
b117c158
DD
18902002-02-01 H.J. Lu <hjl@gnu.org>
1891
1892 * cp-demangle.c (cp_demangle_type): Call demangling_new with
1893 DMGL_GNU_V3.
1894
c78d91b1
DD
18952002-01-31 Phil Edwards <pme@gcc.gnu.org>
1896
1897 * cp-demangle.c: Revert yesterday's change.
1898
bef8b55d
DD
18992002-01-31 Adam Megacz <adam@xwt.org>
1900
1901 * gcc/libiberty/configure.in: Treat mingw the same as cywin
1902 wrt HAVE_SYS_ERRLIST.
1903
2c955b8b
DD
19042002-01-30 Phil Edwards <pme@gcc.gnu.org>
1905
1906 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
1907 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on
1908 cp_demangle_type.
1909 * testsuite/demangle-expected: New gnu-v3 test.
1910
58b1717a
RH
19112002-01-22 Momchil Velikov <velco@fadata.bg>
1912
1913 * configure.in (variable detection): Use arrays of unspecified
1914 size instead of plain integers.
1915
cc096b71
DD
19162002-01-18 DJ Delorie <dj@redhat.com>
1917
1918 * Makefile.in (TESTLIB): New. This library is for future
1919 testsuites.
1920 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
1921 break down by letter.
1922 (REQUIRED_OFILES): List long-to-compile files first.
1923 (maint-deps): New, target for updating dependencies.
1924 (dependencies): Update.
1925 * maint-tool: Add dependency-generating option.
1926 * configure.in: Check for _doprnt even if we're not providing it.
1927 * configure: Regenerate.
1928
1929 * _doprnt.c: Modifications to allow compiling on any platform.
1930 * copysign.c: Likewise.
1931 * putenv.c: Likewise.
1932 * setenv.c: Likewise.
1933 * vsprintf.c: Likewise.
1934
19352002-01-15 Douglas B Rupp <rupp@gnat.com>
1936
1937 * mkstemps.c (mkstemps): On VMS, open temp file with option
1938 that causes it to be deleted when closed.
1939
20d54542
DD
19402002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1941
c23795e2
DD
1942 * cp-demangle.c (long_options): Const-ify.
1943 * cplus-dem.c (long_options): Likewise.
1944
20d54542
DD
1945 * cplus-dem.c (mystrstr): Delete. All callers changed to use
1946 strstr instead.
1947
f348a7b1
DD
19482001-12-31 Ira Ruben <ira@apple.com>
1949
1950 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
1951 * configure: Regenerated.
1952
d86cd745
DD
19532001-12-24 Douglas B. Rupp <rupp@gnat.com>
1954
1955 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
1956 * configure: Regenerated.
1957
ae533646
DD
19582001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
1959
1960 PR other/2719
1961 * cplus-dem.c (consume_count): Treat negative count as an error.
1962 * testsuite/demangle-expected: Added testcase.
1963
c0eb281b
DD
1964Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
1965
1966 * configure.in: Hardcode that vfork works on VMS host.
1967 * configure: Regenerated.
1968
2da4c07f
RH
19692001-12-06 Richard Henderson <rth@redhat.com>
1970
1971 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
1972 (cplus_demangle): Support no_demangling.
1973
24acd898
DD
19742001-11-27 Zack Weinberg <zack@codesourcery.com>
1975
1976 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
1977 in libiberty context. Fix typo in leading comment.
1978 * configure.in: Fix various AC_DEFINEs so autoheader works.
1979 If any of vprintf, vsprintf, vfprintf is missing from libc,
1980 then AC_REPLACE_FUNCS(_doprnt).
1981
fec50157 19822001-11-26 DJ Delorie <dj@redhat.com>
d86cd745 1983 Daniel Jacobowitz <drow@mvista.com>
fec50157
DD
1984
1985 * Makefile.in (stamp-h): Depend on Makefile for proper
1986 serialization.
1987 (*-subdir): Depend on config.h for proper serialization.
1988
5527febf
DD
19892001-11-26 DJ Delorie <dj@redhat.com>
1990
1991 * configure.in: Check for alloca.h (for regex.c and putenv.c).
1992 * configure: Regenerate.
1993 * config.h: Add HAVE_ALLOCA_H.
1994
941d74a0
DD
19952001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1996
1997 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
1998 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
1999 is available.
2000
dc579051
DD
2001Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
2002
2003 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
2004 * configure.in (HAVE_UINTPTR_T): Test for system defining
2005 uintptr_t and define HAVE_UINTPTR_T appropriately.
2006 * regex.c (uintptr_t): Do not provide a definition if the
2007 system provided one.
2008
2009 * regex.c (PREFIX): Provide an alternate definition for
2010 non-ANSI/ISO compilers.
2011 (ARG_PREFIX): Likewise.
2012
1a78a35a
DD
20132001-11-12 Jim Meyering <meyering@lucent.com>
2014
2015 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
2016 this code would end up calling gettext even in packages built
2017 with --disable-nls.
2018 * getopt.c (_): Likewise.
2019 * regex.c (_): Likewise.
2020
4e55c4b6
DD
20212001-11-03 Alan Modra <amodra@bigpond.net.au>
2022
2023 * configure.in: Cope with missing makeinfo.
2024 * configure: Regenerate.
2025
d311a83a
DD
20262001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2027
2028 * hex.c (hex_init): Provide empty stub.
2029
2030 * hex.c (hex_init): Delete.
2031 (_hex_value): Const-ify and initialize at compile-time.
2032
3bc62f91
DD
20332001-10-19 H.J. Lu <hjl@gnu.org>
2034
2035 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
2036 necessary.
2037
5d852400
DD
20382001-10-17 DJ Delorie <dj@redhat.com>
2039
2040 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
2041 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
5527febf 2042 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
5d852400
DD
2043 Improve manual formatting.
2044 * functions.texi: Regenerate.
2045
ba19b94f
DD
20462001-10-15 DJ Delorie <dj@redhat.com>
2047
2048 * Makefile.in (TEXIFILES): Add fnmatch.txh.
2049 (maint-undoc): New.
2050 maint-tool: Add "undoc" tool.
2051 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
2052 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
2053 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
2054 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
2055 documentation.
2056 * fnmatch.txh: New.
2057 * functions.texi: Regenerate.
2058
56056af5
DD
20592001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
2060
2061 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
2062 * strtod.c: Use "ISO C" instead of "ANSI C".
2063 * functions.texi: Regenerate.
2064
99b58139
DD
20652001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
2066
2067 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
2068 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
2069 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
2070 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
2071 spelling. Give names to function arguments in documentation. Use
2072 (void) prototypes in documentation.
2073 * functions.texi: Regenerate.
2074
e6450fe5
DD
20752001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2076
2077 * argv.c (buildargv, tests, main): Const-ify.
2078 * cp-demangle.c (operator_code): Likewise.
2079 * cplus-dem.c (optable, libiberty_demanglers,
2080 cplus_demangle_set_style, cplus_demangle_name_to_style,
2081 print_demangler_list): Likewise.
2082 * hashtab.c (higher_prime_number): Likewise.
2083 * strcasecmp.c (charmap): Likewise.
2084 * strerror.c (error_info, strerror, main): Likewise.
2085 * strncasecmp.c (charmap): Likewise.
2086 * strsignal.c (signal_info): Likewise.
2087
da191b5b
DD
20882001-09-29 DJ Delorie <dj@redhat.com>
2089
2090 * configure: Regenerate.
2091
916aaa12
DD
20922001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2093
2094 * concat.c: Include stdlib.h.
2095
fa9f0e33
DD
20962001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
2097
2098 * libiberty.texi: (Top level): Add syncodeindex pg. Add
2099 @dircategory and @direntry directives. Add @finalout.
2100 (many nodes): Lose the next,prev,up pointers on the @nide line.
2101 (Using, Supplemental Functions, Replacement Functions): Fix
2102 markup.
2103 (Functions): Move around, to allow makeinfo to build the manual
2104 without next,prev,up pointers in thye node lines.
2105 (Licenses): Fix typos.
2106
2107 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
2108 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
2109 * functions.texi: Regenerate.
2110
2111 * copying-lib.texi: Lose the next,prev,up pointers on the @node
2112 line.
2113
21142001-09-27 DJ Delorie <dj@redhat.com>
2115
2116 * configure.in: Don't use in-tree texinfo, because libiberty must
2117 be built before it. Check for makeinfo version 4 or higher.
2118 * functions.texi: Regenerate.
2119
39423523
DD
21202001-09-20 DJ Delorie <dj@redhat.com>
2121 Phil Edwards <pedwards@disaster.jaj.com>
2122
2123 * configure.in (MAKEINFO, PERL): Detect these.
2124 (--enable-maintainer-mode): Add.
2125 * configure: Regenerate.
2126 * Makefile.in (MAKEINFO, PERL): Define.
2127 (libiberty.info, libiberty.dvi, libiberty.html): New.
2128 (CFILES): Add bsearch.c.
2129 (CONFIGURED_OFILES): New, list of objects configure might add.
2130 (maint-missing, maint-buildall): New, for maintainers only.
2131 (clean, mostlyclean): Add info/dvi/html files.
2132 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
2133 * gather-docs: New, for maintainers.
2134 * maint-tool: New, for maintainers.
2135 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
2136 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
2137 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
2138 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
2139 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
2140 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
2141 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
2142 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
2143 documentation.
2144
66c94e19
DD
21452001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2146
2147 * concat.c (reconcat): Fix for traditional C.
2148
99ee3a8f
DD
21492001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2150
2151 * concat.c (reconcat): New function.
2152
54c20242
DD
21532001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2154
2155 * concat.c (vconcat_length, vconcat_copy, concat_length,
2156 concat_copy, concat_copy2): New functions.
2157 (concat): Use vconcat_length/vconcat_copy.
2158
2159 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
2160 Define.
2161
843f21be
DD
21622001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2163
2164 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
2165 VA_FIXEDARG & VA_CLOSE.
2166
2167 * vasprintf.c: Check HAVE_STRING_H when including string.h.
2168 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
2169 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
2170
8a423cb3
DD
21712001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2172
2173 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
2174
dc676635
DD
21752001-08-23 Ulrich Drepper <drepper@redhat.com>
2176
2177 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
2178
21792001-08-23 Ulrich Drepper <drepper@redhat.com>
2180
2181 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
2182 instead of mbrtowc.
2183 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
2184 wcslen, and __wcscoll instead of wcscoll.
2185
f080c76d
DD
21862001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
2187
3ebf1f59
DD
2188 * fibheap.c (fibheap_init, fibnode_init): Remove.
2189 (fibheap_new, fibnode_new): Use xcalloc to allocate and
2190 initialize memory.
2191 (fibheap_insert): Remove check for node allocation failure.
f080c76d 2192
f01b59ed
DD
21932001-08-21 Richard Henderson <rth@redhat.com>
2194
2195 * Makefile.in (fibheap.o): Depend on config.h.
2196 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
2197 functions for inlining.
2198
2199Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
2200
2201 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
2202 hosting on cygwin.
2203 * configure: Regenerate.
2204
eb828599
AC
22052001-08-20 Andrew Cagney <ac131313@redhat.com>
2206
2207 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
2208 HARRIS_FLOAT_FORMAT.
2209 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
2210 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
2211 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
2212 (floatformat_m88110_harris_ext): New float formats.
2213
4e55c4b6
DD
22142001-08-20 Daniel Berlin <dan@cgsoftware.com>
2215
2216 * fibheap.c: New file. Fibonacci heap.
2217
2218 * Makefile.in (CFILES): Add fibheap.c.
2219 (REQUIRED_OFILES): Add fibheap.o.
2220 (fibheap.o): Add dependencies for fibheap.o.
2221
68a41de7
DD
22222001-08-17 Christopher Faylor <cgf@cygnus.com>
2223
2224 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
2225 * configure: Regenerate.
2226
8fc34799
DD
22272001-08-16 Richard Henderson <rth@redhat.com>
2228
2229 * hashtab.c (htab_hash_string): New.
2230
16bad250
AC
22312001-08-13 Andrew Cagney <ac131313@redhat.com>
2232
2233 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
2234 name.
2235
a9022147
DD
22362001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
2237
2238 * regex.c (wcs_regex_compile): Use appropriate string
2239 to compare with collating element.
2240 Fix the padding for the alignment.
2241
8aefe91a 22422001-08-10 Andrew Cagney <ac131313@redhat.com>
3ea71002
AC
2243
2244 * lbasename.c (lbasename): Change function definition to return a
2245 const char pointer.
2246
e7e9b069
DD
22472001-08-07 Jason Merrill <jason_merrill@redhat.com>
2248
2249 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
2250 for".
2251
cc5144f8
DD
22522001-08-03 Richard Henderson <rth@redhat.com>
2253
2254 * Makefile.in (concat.o): Depend on config.h.
2255
8aefe91a
DD
22562001-07-30 Andreas Jaeger <aj@suse.de>
2257
2258 * concat.c: Include "config.h".
2259
86710ce2
DD
22602001-07-30 Andreas Jaeger <aj@suse.de>
2261
2262 * regex.c: Declare wcs functions only if compiling with
2263 MBS_SUPPORT.
2264 Don't use #elif for traditional C.
2265
22662001-07-23 Ulrich Drepper <drepper@redhat.com>
2267
2268 * regex.c: Revamp memory allocation for WCHAR functions to
2269 not use too much stack.
2270
22712001-07-30 Andreas Jaeger <aj@suse.de>
2272
2273 * regex.c: Declare wcs functions only if compiling with
2274 MBS_SUPPORT.
2275 Don't use #elif for traditional C.
2276
a5d8f731
DD
22772001-07-25 Daniel Jacobowitz <drow@mvista.com>
2278
2279 * Makefile.in (regex.o): Add dependency on config.h.
2280
6ad8a379
DD
22812001-07-18 Andreas Schwab <schwab@suse.de>
2282
2283 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
2284 underscore character.
2285
22862001-07-18 Ulrich Drepper <drepper@redhat.com>
2287
2288 * regex.c: Limit string length printed in debug messages to 100
2289 chars.
2290
22912001-07-18 Andreas Jaeger <aj@suse.de>
2292
2293 * regex.c: Place under LGPL version 2.1.
2294
2a6ef469
DD
22952001-07-10 Jeff Johnston <jjohnstn@redhat.com>
2296
2297 * Makefile.in: Add support for regex code.
2298 * regex.c: New file.
2299
7b78baae
DD
23002001-07-05 Mark Klein <mklein@dis.com>
2301
2302 * Makefile.in: Add ffs.c dependency.
2303 * configure.in: Add ffs.c.
2304 * ffs.c: New file.
2305
926150e2
DD
23062001-06-18 Richard Henderson <rth@redhat.com>
2307
2308 * concat.c: Include <sys/types.h>.
2309
11f6f21d
DD
23102001-06-11 Loren J. Rittle <ljrittle@acm.org>
2311
2312 bootstrap/3106
2313 * strerror.c (sys_nerr): Hide the OS header version.
2314 * strsignal.c (sys_nsig): Likewise.
2315
d42dae6c
DD
23162001-06-10 Richard Henderson <rth@redhat.com>
2317
2318 * concat.c: Include string.h. Fix int vs size_t usage.
2319 Simplify the iteration loops. Use memcpy.
2320
e05c6d27
DD
23212001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
2322
2323 * partition.c: Fix misspelling of `implementation'.
2324
b50c4073
DD
23252001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2326
2327 * md5.c (md5_init_ctx): Declare constants as unsigned.
2328 (md5_process_block): Likewise.
2329
457161bf
DD
23302001-05-07 Zack Weinberg <zackw@stanford.edu>
2331
2332 * cp-demangle.c (demangle_v3_with_details,
2333 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
2334 function definition.
2335 * ternary.c: Use K+R style function definitions. Use PTR, not
2336 void *. Make arguments constant where possible.
2337
e00bc6a7
DD
23382001-05-07 Mark Mitchell <mark@codesourcery.com>
2339
2340 * splay-tree.h (splay_tree_max): New function.
2341 (splay_tree_min): Likewise.
2342
400ee7e1
DB
23432001-04-15 Daniel Berlin <dan@cgsoftware.com>
2344
2345 * ternary.c: New file - Ternary search tree implementation.
a5dd804e
DB
2346
2347 * Makefile.in: Add ternary.o, and ternary.c dependencies.
400ee7e1 2348
d9697354
DD
23492001-04-03 Zack Weinberg <zackw@stanford.edu>
2350
2351 * make-temp-file.c (try): Inline.
2352
a7bf099b
DD
23532001-02-28 Richard Henderson <rth@redhat.com>
2354
2355 * Makefile.in (make-temp-file.o): Depend on config.h.
2356
30a1def2
DD
23572001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2358
2359 * memchr.c (memchr): Adjust condition to avoid infinite loop.
2360
079c672a
DD
23612001-03-23 Jakub Jelinek <jakub@redhat.com>
2362
2363 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
2364 `_' not followed by a digit is invalid.
2365
a88e356a
JB
23662001-03-22 Jim Blandy <jimb@redhat.com>
2367
2368 * cp-demangle.c (string_list_delete): Use dyn_string_delete
2369 instead of free, to free the contents as well as the string
2370 structure.
2371
1dffcc66
DD
23722001-03-21 Zack Weinberg <zackw@stanford.edu>
2373
2374 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
2375 Don't default P_tmpdir to anything. Try /var/tmp before
2376 /usr/tmp.
2377
23782001-03-20 Zack Weinberg <zackw@stanford.edu>
2379
2380 * choose-temp.c: Split off make_temp_file, and the code
2381 duplicated between it and choose_temp_base, into...
2382 * make-temp-file.c: ... here; new file.
2383
2384 * Makefile.in (CFILES): Add make-temp-file.c.
2385 (REQUIRED_OFILES): Add make-temp-file.o.
2386
e61231f1
JB
23872001-03-20 Jim Blandy <jimb@redhat.com>
2388
2389 * cp-demangle.c (struct demangling_def): New fields:
2390 is_constructor and is_destructor.
2391 (demangling_new): Initialize them.
2392 (demangle_ctor_dtor_name): Set them, if we detect a constructor
2393 or destructor.
2394 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
2395 is_gnu_v3_mangled_dtor): New functions.
2396
a9cbbe6d
DD
23972001-03-20 Jason Merrill <jason@redhat.com>
2398
2399 * cplus-dem.c (main): Skip initial $.
2400
b1e51b3c
DD
24012001-03-15 Michael Meissner <meissner@redhat.com>
2402
2403 * hashtab.c (higher_prime_number): Silence warning that 4294967291
2404 might be a signed integer under pre-ISO C systems.
2405
8aa30e60 24062001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
fa03f0a7 2407 John David Anglin <dave@hiauly1.hia.nrc.ca>
8aa30e60 2408
8aa30e60
DD
2409 * libiberty/lbasename.c: New file.
2410 * libiberty/Makefile.in: Update for lbasename.
8aefe91a 2411
30673bf5
DD
24122001-03-06 Zack Weinberg <zackw@stanford.edu>
2413
2414 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
2415 * configure.in: Replace all alloca logic with a simple use of
2416 the above new macro.
2417 * config.table: Kill *-*-beos* entry.
2418 * config/mh-beos: Delete.
2419 * configure, config.in: Regenerate.
fa03f0a7 2420
30673bf5
DD
2421 * Makefile.in (ALLOCA, HFILES): Kill.
2422 (REQUIRED_OFILES): Add alloca.o.
2423 (alloca.o): Depend on libiberty.h.
2424 (argv.o): Don't depend on alloca-conf.h.
2425 * alloca-conf.h: Delete.
2426 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
2427 blocks. Provide the C alloca unconditionally. Use PTR where
2428 appropriate. Make i00afunc static.
2429 * argv.c: Don't include alloca-conf.h.
fa03f0a7 2430
5810f394
DD
24312001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
2432
2433 * cplus-dem.c (main): Cast enum style to int.
fa03f0a7 2434
a9db032a
DD
24352001-02-16 Loren J. Rittle <ljrittle@acm.org>
2436
2437 * cplus-dem.c (main): Initialize style.
fa03f0a7 2438
8aefe91a
DD
24392001-02-02 Phil Edwards <pme@sources.redhat.com>
2440
2441 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
2442
bc9bf259
DD
24432001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
2444
2445 Add support for Java demangling under the v3 ABI:
2446 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
2447 (struct demangling_def): Add `style' field.
2448 (demangling_new): New parameter `style'. Set it in demangling_t.
2449 (demangle_prefix): Use NAMESPACE_SEPARATOR.
2450 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
2451 (cp_demangle): New parameter `style'. Pass it to demangling_new().
2452 (main): Call cp_demangle with extra parameter.
2453 (java_demangle_v3): New function.
2454 (java_builtin_type_names): New. Table of primitive type names used
2455 for Java demangling.
2456 (demangle_builtin_type): Look up in java_builtin_type_names if doing
2457 Java output.
2458 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
2459 demangling.
2460 (long_options): Remove obsolete `java' option.
2461 (main): Remove explicit handling of `java' option. Instead, pass style
2462 parameter in cplus_demangle flags as gdb does.
2463 * testsuite/demangle.expected: Add some Java test cases.
fa03f0a7 2464
f6528837
DD
24652000-12-29 DJ Delorie <dj@redhat.com>
2466
2467 * fnmatch.c: Make the note about the origins of this file more
2468 accurate, at least until we can sync with glibc.
2469 * getopt.c: Ditto.
2470 * getopt1.c: Ditto.
2471 * md5.c: Ditto.
2472 * obstack.c: Ditto.
9d969b59 2473
c6da642e
DD
24742000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2475
2476 * bsearch.c: New file.
2477 * configure.in (funcs): Add bsearch.
2478 (AC_CHECK_FUNCS): Likewise.
2479 * configure, config.in: Regenerate.
2480
ae7d06ad 24812000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
2482
2483 * safe-ctype.c: #include "ansidecl.h".
2484 * strtod.c: Likewise.
2485
ae7d06ad 24862000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
2487
2488 * strtoul.c: Include safe-ctype.h, not ctype.h.
2489
ac424eb3
DD
24902000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
2491
2492 * safe-ctype.c: New file.
2493 * Makefile.in (CFILES): Add safe-ctype.c.
2494 (REQUIRED_OFILES): Add safe-ctype.o.
2495
2496 * argv.c: Define ISBLANK and use it, not isspace.
2497 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
2498 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
2499 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
2500 before calling TOLOWER(c)/TOUPPER(c).
2501
4415a860
DD
25022000-12-07 Mike Stump <mrs@wrs.com>
2503
2504 * Makefile.in (distclean): When cleaning, remove testsuite.
2505
849ee224
DD
25062000-12-05 Jason Merrill <jason@redhat.com>
2507
2508 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
2509 name before allocating the dyn_string.
2510
ae7d06ad 25112000-12-04 Jason Merrill <jason@redhat.com>
e49a569c
DD
2512
2513 * cp-demangle.c: s/new_abi/v3/.
2514 * cplus-dem.c: Likewise.
2515 (current_demangling_style): Now auto_demangling.
2516 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
ae7d06ad 2517 (main): Use standard symbol chars for auto_demangling.
e49a569c 2518
ae7d06ad 25192000-11-26 Mark Mitchell <mark@codesourcery.com>
5ca0f83d
DD
2520
2521 * hashtab.c (higher_prime_number): Use a table, rather than a
2522 seive, to find the next prime.
ae7d06ad
NC
2523
25242000-11-22 H.J. Lu <hjl@gnu.org>
2525
2526 * cplus-dem.c (main): Handle gnat_demangling.
2527
25282000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
2ea7befd
DD
2529
2530 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
2531 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
2532 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
2533 argument form of AC_DEFINE in dummy definitions block. Use
2534 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
2535 in dummy block. Preload cache variables instead of bypassing
2536 tests, where possible.
2537 * acconfig.h: Removed.
ae7d06ad 2538
2ea7befd
DD
2539 * xmalloc.c (xmalloc_failed): New function, does error
2540 reporting on failed allocation.
2541 (xmalloc, xcalloc, xrealloc): Use it.
9c26dc82 2542
f1775526
HPN
25432000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
2544
2545 * cplus-dem.c (cplus_demangle): Fix formatting.
2546 (grow_vect): Ditto.
2547 (ada_demangle): Ditto.
2548 (internal_cplus_demangle): Ditto.
2549 (mop_up): Ditto.
2550
25512000-11-21 H.J. Lu <hjl@gnu.org>
2552
2553 * cplus-dem.c (main): Handle java_demangling.
2554
ae7d06ad 25552000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
f1775526
HPN
2556
2557 * cplus-dem.c (grow_vect): Prototype.
2558 (ada_demangle): Cast the arg of ctype macros to unsigned char.
2559
5dd42ef4
HPN
25602000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
2561
2562 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
2563 parameter `option'.
2564
296731c1
DD
25652000-11-15 Kenneth Block <kenneth.block@compaq.com>
2566
8944fb9d 2567 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
296731c1
DD
2568 be used in GCC.
2569
6e53a714 25702000-11-15 Kenneth Block <kenneth.block@compaq.com>
16e85745 2571
5dd42ef4 2572 * cplus-dem.c: Add gnat demangler. Add java to demangle style
16e85745
HPN
2573 list.
2574
99a4c1bd
HPN
25752000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
2576
2577 * hashtab.c (htab_expand): Change to return int. Use calloc or
8aefe91a
DD
2578 xcalloc depending on htab->return_allocation_failure. Return zero
2579 if calloc fails.
99a4c1bd
HPN
2580 (htab_create): Update comment to cover memory allocation.
2581 (htab_try_create): New.
2582 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
8aefe91a 2583 Update comment to cover this.
99a4c1bd 2584
e0f3df8f
HPN
25852000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
2586
2587 * hashtab.c: Change void * to PTR where necessary.
2588 (htab_create, htab_expand): Correct formatting of comment before
2589 function.
2590
ae7d06ad 25912000-10-22 Alex Samuel <samuel@codesourcery.com>
59666b35
DD
2592
2593 * cp-demangle.c (string_list_def): Add caret_position and comments.
2594 (result_caret_pos): New macro.
2595 (result_append_string): Rename to...
2596 (result_add_string): ... this, and insert at caret position.
ae7d06ad 2597 Rename throughout.
59666b35
DD
2598 (result_append): Rename to...
2599 (result_add): ... this, and insert at caret position. Rename
ae7d06ad 2600 throughout.
59666b35
DD
2601 (result_append_char): Rename to...
2602 (result_add_char): ... this, and insert at caret position. Rename
ae7d06ad 2603 throughout.
59666b35
DD
2604 (result_append_space): Remove.
2605 (string_list_new): Initialize caret position.
2606 (result_add_separated_char): Use caret position.
2607 (result_get_caret): New funtion.
2608 (result_set_caret): Likewise.
2609 (result_shift_caret): Likewise.
2610 (result_previous_char_is_space): Likewise.
2611 (substitution_start): Use caret position.
2612 (substitution_add): Likewise.
2613 (demangling_new): Initialize caret position.
2614 (demangle_encoding): Use caret position.
ae7d06ad 2615 (demanglin_nested_name): Put CV qualifiers after name.
59666b35
DD
2616 (demangle_type_ptr): Use switch statement. Handle pointers to
2617 arrays. Don't use result_append_space. Use caret position.
2618 (demangle_type): Emit CV qualifiers after underlying type. Adjust
ae7d06ad
NC
2619 call to demangle_array_type.
2620 (demangle_array_type): Add parameter to handle pointers to arrays.
74bcd529 2621
ae7d06ad 26222000-10-01 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
2623
2624 * splay-tree.c (splay_tree_insert): Fix formatting.
ae7d06ad
NC
2625
26262000-09-16 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
2627
2628 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
ae7d06ad
NC
2629
26302000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2631
2632 * splay-tree.c: #include <stdio.h>.
2633
26342000-09-14 Hans-Peter Nilsson <hp@axis.com>
2635
2636 * testsuite/demangle-expected: Add two tests for anonymous
2637 namespaces.
2638 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
2639
26402000-09-10 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
2641
2642 * splay-tree.c (splay_tree_predecessor): New function.
2643 (splay_tree_successor): Likewise.
ae7d06ad
NC
2644
26452000-09-10 Hans-Peter Nilsson <hp@axis.com>
2646
2647 * testsuite/demangle-expected: Add four tests for type_info
2648 mangling.
2649 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
2650 for a non-template non-qualified type_info function or node.
2651
26522000-09-08 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
2653
2654 * cp-demangle.c: Fix copyright banner.
ae7d06ad
NC
2655
26562000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2657
2658 * md5.c: #include "ansidecl.h".
2659
26602000-09-06 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
2661
2662 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
2663 (demangle_type): Handle substitution candidates correctly in the
2664 face of special substitutions.
ae7d06ad
NC
2665
26662000-09-05 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
2667
2668 * cp-demangle.c (demangle_encoding): Rename variable.
2669 (demangle_name): Rename parameter. Handle return type
2670 suppression.
2671 (demangle_nested_name): Rename parameter.
2672 (demangle_prefix): Likewise. Change return type suppression.
2673 (demangle_unqualified_name): Add parameter. Flag constructors and
2674 conversion operators.
2675 (demangle_special_name): Fix comment.
2676 (demangle_type): Rename variable.
2677 (demangle_bare_function_type): Check for missing return type and
2678 parameter.
2679 (demangle_class_enum_type): Rename parameter.
2680 (demangle_discriminator): Fix misspelling in comment.
ae7d06ad
NC
2681
26822000-08-31 DJ Delorie <dj@redhat.com>
2683
2684 * configure.in (Cygwin): special case cygwin only when we're
2685 building cygwin, not when we're hosting cygwin.
2686
26872000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
2688
2689 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
2690 <expression>.
ae7d06ad
NC
2691
26922000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
2693
2694 * cp-demangle.c (demangle_type_ptr): Increment position past
2695 pointer and reference characters.
ae7d06ad
NC
2696
26972000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
2698
2699 * cp-demangle.c (demangle_nv_offset): New function.
2700 (demangle_v_offset): Likewise.
2701 (demangle_call_offset): Likewise.
2702 (demangle_special_name): Update thunk demangling to comply with
2703 ABI changes.
ae7d06ad
NC
2704
27052000-09-03 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
2706
2707 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
2708 (substitution_def): Remove template_parm_number.
2709 (NOT_TEMPLATE_PARM): Remove.
2710 (result_insert_string): New macro.
2711 (result_insert): Likewise.
2712 (result_insert_char): Likewise.
2713 (substitution_add): Remove last parameter. Don't store template
2714 parm number.
2715 (BFT_NO_RETURN_TYPE): Define as NULL.
2716 (demangle_encoding): Adjust call to demangle_bare_function_type.
2717 (demangle_name): Adjust substitution. Adjust call to
2718 substitution_add.
2719 (demangle_prefix): Adjust call to substitution_add.
2720 (demangle_identifier): Handle anonymous namespaces.
2721 (demangle_operator_name): Change demangling of vendor-extended
2722 operator to match ABI changes.
2723 (demangle_type_ptr): Change parameters. Make recursive. Handle
2724 substitutions here.
2725 (demangle_type): Adjust calls to demangle_template_param,
2726 substitution_add, and demangle_type_ptr. Fix substitution of
2727 templated types.
2728 (demangle_function_type): Change parameter to a pointer.
2729 (demangle_bare_function_type): Likewise. Adjust insertion point.
2730 (demangle_template_param): Remove last parameter.
2731 (demangle_expr_primary): Remove unused variable. Adjust call to
2732 demangle_template_param.
2733 (is_mangled_char): Accept `$' and `.'.
2734 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
2735 * dyn-string.c (dyn_string_insert_char): New function.
ae7d06ad
NC
2736
27372000-08-31 Hans-Peter Nilsson <hp@axis.com>
2738
2739 * testsuite/demangle-expected: Add nine tests for
2740 underscore-after-number followed by five tests for name-signature
2741 delimiter.
2742
27432000-08-28 Richard Henderson <rth@cygnus.com>
74bcd529
DD
2744
2745 * Makefile.in (md5.o): Depend on config.h.
ae7d06ad
NC
2746
27472000-08-28 Jason Merrill <jason@redhat.com>
2748
2749 * Makefile.in (REQUIRED_OFILES): Add md5.o.
2750 (CFILES): Add md5.c.
2751 * md5.c: New file.
2752
27532000-08-27 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
2754
2755 * cp-demangle.c (demangle_name): Initialize template_p in local
2756 name case. Don't re-add substitutions as candidates.
2757 (demangle_nested_name): Use <unqualified-name>.
2758 (demangle_prefix): Likewise. Don't add template names as
2759 substitution candidates twice, or re-add a substitution or the
2760 last prefix component.
2761 (demangle_local_name): Adjust output format.
ae7d06ad
NC
2762
27632000-08-25 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
2764
2765 * cp-demangle.c (result_add_separated_char): Change parameter to
2766 int.
2767 (substitution_add): Don't check for duplicates. Check if
2768 previously allocated size is zero.
2769 (demangle_name): Remove duplicate check for std substitution.
2770 Clear template flag appropriately.
2771 (demangle_prefix): Remove argument to demangle_substitution.
2772 Don't check that template flag is already set.
2773 (demangle_operator_name): Add pt operator.
2774 (demangle_type): Don't treat r as built-in type. Remove argument
2775 to demangle_substitution. Fix substitution candidate mechanics.
2776 Handle <template-template-parm>s. Improve comments.
2777 (demangle_template_param): Don't handle template arg lists here.
2778 (demangle_substitution): Remove parameter.
2779 (print_usage): Remove extra fprintf option.
ae7d06ad
NC
2780
27812000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
2782
2783 * libiberty/random.c (end_ptr): Revert previous change.
ae7d06ad
NC
2784
27852000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
2786
2787 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
2788 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
2789 * libiberty/random.c (end_ptr): Likewise.
ae7d06ad
NC
2790
27912000-08-23 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
2792
2793 * cp-demangle.c (result_close_template_list): Remove function.
2794 (result_add_separated_char): New function.
2795 (result_open_template_list): New macro.
2796 (result_close_template_list): Likewise.
2797 (demangle_prefix): Don't set template_p if the
2798 prefix ends with a ctor name.
2799 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
2800 (demangle_type): Check for template args after substitution.
2801 (demangle_template_args): Use result_open_template_list.
d3e85005 2802
ae7d06ad 28032000-08-02 Zack Weinberg <zack@wolery.cumb.org>
64e3a659 2804
ae7d06ad 2805 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
050823ca 2806
ae7d06ad 28072000-07-26 Dave Pitts <dpitts@cozx.com>
d6e83f5f
JL
2808
2809 * config/mh-openedition.h: Added -DLE370 definition.
2810
a9f34fb6
JL
28112000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
2812
2813 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
2814 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
2815 Cast program to 'char *' in errmsg_arg assignment.
2816 (PWAIT_ERROR): Define.
2817 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
2818 to DJGPP's WIF* macros.
2819
90aaccd1 28202000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
ae7d06ad 2821 Jeff Law <law@cygnus.com>
90aaccd1 2822
ae7d06ad 2823 * getcwd.c: Include string.h, stdlib.h for prototypes
443519c1 2824
90aaccd1 2825 * Makefile.in (rename.o, waitpid.o): Depend on config.h
ae7d06ad
NC
2826 * rename.c: Include config.h, unistd.h
2827 * waitpid.c: Include config.h, sys/wait.h
90aaccd1 2828
6ef554e3
HPN
28292000-07-24 Hans-Peter Nilsson <hp@axis.com>
2830
2831 * cplus-dem.c (work_stuff_copy_to_from): New.
2832 (delete_non_B_K_work_stuff): New.
2833 (delete_work_stuff): New.
2834 (mop_up): Break out work_stuff partly destruction to
2835 delete_non_B_K_work_stuff.
2836 (iterate_demangle_function): New.
2837 (demangle_prefix): Call iterate_demangle_function instead of
2838 demangle_function_name. Leave handling of name-signature
2839 __-delimiters to iterate_demangle_function.
2840 (demangle_integral_value): Strip an optional
2841 following underscore cautiously. Handle negative numbers.
2842
ae7d06ad 28432000-07-24 Daniel Berlin <dberlin@redhat.com>
e8865c28 2844
ae7d06ad 2845 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
e8865c28
DB
2846 if (AUTO_DEMANGLING || GNU_DEMANGLING)
2847
ae7d06ad
NC
28482000-07-21 Alex Samuel <samuel@codesourcery.com>
2849
2850 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
2851 allocating ctor mangling.
2852 (demangle_array_type): Handle empty and non-constant array length.
2853
b1233257 28542000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
62df2065
JL
2855 Jeff Law <law@cygnus.com>
2856
2857 * configure.in (AC_CHECK_HEADERS): Add time.h.
2858 (AC_HEADER_TIME): Add check.
2859 * configure, config.in: Regenerate.
2860 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
2861
2862 * configure.in (AC_CHECK_HEADERS): Add limits.h.
2863 * configure, config.in: Regenerate.
2864 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
2865 * strtol.c, strtoul.c: #include "config.h". Portably #include
2866 <limits.h> and/or <sys/param.h>.
2867 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
b1233257 2868
7d3ffcaf
JL
2869 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
2870 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
2871 * configure, config.in: Regenerate.
2872 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
2873
b1233257
JL
2874 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
2875
ae7d06ad
NC
28762000-07-21 Mike Stump <mrs@wrs.com>
2877
2878 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
2879 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
2880
28812000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2882
2883 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
2884
2885 * setenv.c (setenv): Initialize variable `ep'.
2886
2887 * sigsetmask.c (abort): Prototype.
2888
2889 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
2890 __STDC__ for stdarg.h include.
2891 (int_vasprintf): Prototype.
2892 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
2893 definition. Cast `global_total_width' in comparison.
2894 (main): Prototype. Return a value.
2895
2896 * vfork.c (fork): Prototype.
2897
2898 * xexit.c: Include config.h.
2899
9adf30b2
JL
29002000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
2901
2902 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
2903 and print it with %u.
2904
2ed78d1b
HPN
29052000-07-17 Hans-Peter Nilsson <hp@axis.com>
2906
2907 * testsuite/regress-demangle (failed test): Show result and
2908 expected output.
2909
0473bdf7
AH
29102000-07-07 Andrew Haley <aph@cygnus.com>
2911
2912 * cplus-dem.c (main): fflush() after emitting last char before
2913 waiting for input.
2914
03d5f569
JM
29152000-06-28 Alex Samuel <samuel@codesourcery.com>
2916
2917 * cp-demangle.c (demangle_encoding): Accept no substitutions.
2918 (demangle_name): Handle <substitution> followed by
2919 <unqualified-template-name>.
2920 (demangle_type): Follow special substitutions with
2921 <class-enum-type>
2922 (demangle_subtitution): Set template_p for special substitutions.
2923 (main): Fix typos.
ae7d06ad 2924
03d5f569
JM
29252000-06-27 Alex Samuel <samuel@codesourcery.com>
2926
2927 * cp-demangle.c (demangle_special_name): Swap base and derived
2928 class when demangling construction vtables.
2929
29302000-06-21 Alex Samuel <samuel@codesourcery.com>
2931
2932 * cp-demangle.c: Don't include ctype.h.
2933 (IS_DIGIT): New macro.
2934 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
2935 instead of isdigit and isalpanum.
2936 (demangling_def): Make name and next const pointers.
2937 (STATUS_ALLOCATION_FAILED): New status code.
2938 (dyn_string_append_space): Handle failure in
2939 dyn_string_append_char.
2940 (int_to_dyn_string): Likewise. Change return value to status_t.
2941 (string_list_new): Handle failure of dyn_string_init.
2942 (result_close_template_list): Change return type to status_t.
2943 Handle failure in dyn_string_append.
2944 (result_push): Change return value to status_t. Handle failure in
2945 string_list_new. Handle failure of result_push throughout.
2946 (substitution_add): Change return value to status_t. Handle
2947 dyn_string failures. Handle failure of substitution_add
2948 throughout.
2949 (template_arg_list_new): Return NULL on allocation failure.
2950 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
2951 Handle error result throughout.
2952 (result_append): Likewise.
2953 (result_append_char): Likewise.
2954 (result_append_space): Likewise.
2955 (demangling_new): Make argument a const pointer. Handle
2956 allocation failures.
2957 (demangle_template_args): Handle failure in template_arg_list_new
2958 and result_close_template_list.
2959 (demangle_discriminator): Return if int_to_dyn_string fails.
2960 (cp_demangle): Likewise.
2961 (cp_demangle_type): New function.
2962 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
2963 memory allocation failure.
2964 (main): Likewise.
2965 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
2966 IN_LIBGCC2.
2967 (dyn_string_init): Change return value to int. Handle
2968 RETURN_ON_ALLOCATION_FAILURE case.
2969 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
2970 (dyn_string_release): Delete the dyn_string.
2971 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
2972 (dyn_string_copy): Change return type to int.
2973 (dyn_string_copy_cstr): Likewise.
2974 (dyn_string_prepend): Likewise.
2975 (dyn_string_prepend_cstr): Likewise.
2976 (dyn_string_insert): Likewise.
2977 (dyn_string_insert_cstr): Likewise.
2978 (dyn_string_append): Likewise.
2979 (dyn_string_append_cstr): Likewise.
2980 (dyn_string_append_char): Likewise.
2981 (dyn_string_substring): Likewise.
ae7d06ad 2982
eb383413 29832000-06-09 Zack Weinberg <zack@wolery.cumb.org>
9cc28cc8 2984
eb383413
L
2985 * cp-demangle.c (demangle_operator_name): Add spaces before
2986 names beginning with a letter: delete, delete[], new, new[],
2987 sizeof.
2988 (demangle_special_name): Handle TF <type> and TJ <type>.
9cc28cc8 2989
eb383413
L
2990Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
2991
2992 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
2993
2994Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
2995
2996 * cp-demangle.c (stdio.h): File included unconditionaly.
2997 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
2998 * dyn-string.c (stdio.h): File included.
2999 * partition.c (partition_print): No `&' needed to take the address of
3000 a function.
3001
30022000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3003
3004 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
ae7d06ad 3005
eb383413
L
3006 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
3007
3008 * cp-demangle.c (demangle_char): Change parameter from char to int.
3009 (demangle_expression, demangle_expr_primary): Remove extra
3010 semi-colon in prototype.
3011
3012 * dyn-string.c (dyn_string_append_char): Change parameter from
3013 char to int.
3014
3015 * memcmp.c (memcmp): Constify.
3016
3017 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
3018 __extension__.
3019
3020 * partition.c (elem_compare): Prototype. Don't cast away
3021 const-ness.
3022
3023 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
ae7d06ad 3024
eb383413
L
30252000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3026
3027 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
3028
3029 * cp-demangle.c: Include demangle.h.
3030 (template_arg_list_new): DeANSIfy.
3031 (cp_demangle): Make static and add prototype.
3032 (operator_code, operators): Constify.
3033 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
3034
30352000-06-05 Alex Samuel <samuel@codesourcery.com>
3036
3037 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
3038 unsigned char.
3039 (demangle_unqualified_name): Likewise.
3040 (demangle_number_literally): Likewise.
3041 (demangle_type): Likewise.
3042 (demangle_substitution): Likewise.
3043 (is_mangled_char): Likewise, for isalnum.
3044
30452000-06-04 Alex Samuel <samuel@codesourcery.com>
3046
3047 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
3048 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
3049 (cp-demangle.o): New dependency.
3050 (dyn-string.o): Likewise.
3051
3052 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
3053
3054 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
3055 demangler.
3056 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
3057 demangling mode.
3058 (gnu_new_abi_symbol_characters): New function.
3059 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
3060 file.
3061 * cp-demangle.c: New file.
ae7d06ad 3062
f03aa80d
AC
3063Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
3064
3065 * floatformat.c: Add name to each floatformat field.
3066
77bfb694
JL
3067Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
3068
3069 * Makefile.in (objalloc.o): Depend on config.h
3070
5c82d20a
ZW
30712000-05-29 Zack Weinberg <zack@wolery.cumb.org>
3072
eb383413 3073 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
5c82d20a
ZW
3074 if HAVE_STRING_H.
3075 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
3076 * objalloc.c: Include config.h. Include stdlib.h and don't
3077 declare malloc or free if HAVE_STDLIB_H.
3078 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
3079 else declare malloc without prototype. Include string.h if
3080 HAVE_STRING_H, else declare memset without prototype. Don't
3081 include stddef.h.
3082
eb383413
L
30832000-05-23 Mike Stump <mrs@wrs.com>
3084
3085 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
8aefe91a 3086 -j3.
eb383413
L
3087
30882000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
3089
3090 * xmalloc.c: Include config.h for HAVE_SBRK definition.
3091
30922000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
3093
ae7d06ad 3094 * hashtab.c (hash_pointer): Delete low-order bits which are
eb383413
L
3095 probably zero, also eliminate a warning on alpha.
3096
30972000-05-15 David Edelsohn <edelsohn@gnu.org>
3098
3099 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
3100 on $(enable_shared).
3101
31022000-05-10 Jakub Jelinek <jakub@redhat.com>
3103
3104 * config.table: Use mh-sparcpic for sparc*-*-*.
3105
31062000-05-08 Nick Clifton <nickc@cygnus.com>
3107
3108 * Makefile.in (CFILES): Add strncmp.c.
3109 (NEEDED): Add strncmp.
3110
31112000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5c82d20a 3112
eb383413
L
3113 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
3114 Cast the arguments to `islower' to `unsigned char'.
3115 (print_demangler_list): Prototype.
3116
3117Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
3118
3119 * sort.c (UCHAR_MAX): Provide fallback definition.
3120
31212000-04-29 Alexandre Oliva <aoliva@cygnus.com>
010c70e1
AO
3122
3123 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
3124 SUBDIRS.
3125
eb383413
L
31262000-04-28 Kenneth Block <block@zk3.dec.com>
3127 Jason Merrill <jason@casey.cygnus.com>
3128
ae7d06ad
NC
3129 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
3130 (cplus_demangle_set_style): New function for setting style.
3131 (cplus_demangle_name_to_style): New function to translate name.
eb383413
L
3132
31332000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3134
3135 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
3136
3137 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
3138 (libiberty_AC_FUNC_STRNCMP): Invoke.
3139
3140 * strncmp.c: New file.
3141
3142Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
3143
3144 * hashtab.c (htab_expand): Add prototype.
3145 (find_empty_slot_for_expand): Likewise.
3146
31472000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3148
3149 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
3150 match prototype.
3151 (htab_expand): Cast the return value of xcalloc.
3152
31532000-04-24 Mark Mitchell <mark@codesourcery.com>
3154
3155 * hashtab.c (hash_pointer): New function.
3156 (eq_pointer): Likewise.
3157 (htab_hash_pointer): New variable.
3158 (htab_eq_pointer): Likewise.
3159
31602000-04-23 Mark Mitchell <mark@codesourcery.com>
3161
3162 * sort.c (sort_pointers): Fix endianness bugs.
3163
3164 * sort.c: New file.
3165 * Makefile.in (CFILES): Add sort.c
3166 (REQUIRED_OFILES): Add sort.o.
3167 (sort.o): New target.
3168
19be4303
JL
31692000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3170
3171 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
3172 4.3BSD systems.
3173
eb383413
L
3174Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3175
3176 * hashtab.c: Various minor cleanups.
3177 (htab_find_slot_with_hash): INSERT is now enum insert_option.
3178 (htab_find_slot): Likewise.
3179
31802000-04-16 Dave Pitts <dpitts@cozx.com>
3181
3182 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
ae7d06ad 3183
afe36a78
RH
31842000-04-05 Richard Henderson <rth@cygnus.com>
3185
3186 * splay-tree.c (splay_tree_remove): New.
3187
eb383413
L
31882000-03-30 Mark Mitchell <mark@codesourcery.com>
3189
3190 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
3191 codes.
3192 (htab_find_with_hash): Likewise.
3193 (htab_find_slot_with_hash): Likewise.
ae7d06ad 3194
eb383413
L
31952000-03-29 Zack Weinberg <zack@wolery.cumb.org>
3196
3197 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
3198 unless it will be used. Rearrange loop for better
3199 optimization.
3200 (higher_prime_number): Add static prototype.
3201
b4fe2683
JM
3202Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
3203
3204 * Makefile.in (partition.o): Depend on config.h
3205
32062000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
3207
3208 * hashtab.c (find_empty_slot_for_expand): New function.
3209 (htab_expand): Use it instead of htab_find_slot.
3210 (htab_find_with_hash): Renamed from htab_find; now accepts extra
3211 argument HASH.
3212 (htab_find_slot_with_hash): Likewise for htab_find_slot.
3213 (htab_find): New wrapper function.
3214 (htab_find_slot): Likewise.
3215 (htab_traverse): Pass slot, not entry, to called function.
3216
32172000-03-09 Alex Samuel <samuel@codesourcery.com>
3218
3219 * Makefile.in (CFILES): Add partition.c.
3220 (REQUIRED_OFILES): Add partition.o.
3221 (partition.o): New rule.
3222 * partition.c: New file.
ae7d06ad 3223
b4fe2683
JM
32242000-03-09 Zack Weinberg <zack@wolery.cumb.org>
3225
3226 * hashtab.c (htab_create): Set del_f.
3227 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
3228 Use it.
3229
32302000-03-08 Zack Weinberg <zack@wolery.cumb.org>
3231
3232 * hashtab.c: Remove debugging variables (all_searches,
3233 all_collisions, all_expansions). Delete
3234 all_hash_table_collisions.
3235 (create_hash_table, delete_hash_table, empty_hash_table,
3236 find_hash_table_entry, remove_element_from_hash_table_entry,
3237 clear_hash_table_slot, traverse_hash_table, hash_table_size,
3238 hash_table_elements_number, hash_table_collisions): Rename to:
3239 htab_create, htab_delete, htab_empty, htab_find_slot,
3240 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
3241 htab_elements, htab_collisions.
3242 (htab_find): New function, handles common case where you don't
3243 plan to add or delete an entry.
3244 (htab_expand): Don't create a whole new table, just a new
3245 entry vector.
3246 (htab_find_slot): Simplify logic.
3247
08372f14
ILT
32481999-08-03 Ian Lance Taylor <ian@zembu.com>
3249
3250 * floatformat.c: Add casts to avoid signed/unsigned warnings.
3251 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
3252
3253 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
3254 $(TARGETLIB)n so it works on MSDOS.
3255 (install_to_tooldir): Likewise.
3256
9c8ac5a9
ILT
32571999-07-21 Ian Lance Taylor <ian@zembu.com>
3258
3259 From Mark Elbrecht:
3260 * makefile.dos: Remove; obsolete.
8f36e47c 3261 * configure.bat: Remove; obsolete.
9c8ac5a9 3262
0c0a36a4
ILT
32631999-07-11 Ian Lance Taylor <ian@zembu.com>
3264
3265 * splay-tree.c (splay_tree_insert): Add initialization to avoid
3266 warning.
3267
32682000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
3269
3270 * pexecute.c: Conditionally include string.h.
b4fe2683 3271 (fix_argv): Handle embedded whitespace in args for Mingw32.
0c0a36a4
ILT
3272
32732000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3274
3275 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
3276 we're using gcc.
3277
3278 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
3279
32801999-12-27 Geoff Keating <geoffk@cygnus.com>
3281
3282 * vasprintf.c (int_vasprintf): Don't re-read the format character
3283 as this mishandles strings like '%%s'.
3284
32851999-12-05 Mark Mitchell <mark@codesourcery.com>
3286
3287 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
3288 rather than struct splay_tree_node.
3289 (splay_tree_insert): Use struct splay_tree_s rather than struct
3290 splay_tree.
3291
3292Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
3293
3294 * hashtab.c (sys/types.h): File included.
3295
32961999-11-22 Jason Merrill <jason@casey.cygnus.com>
3297
3298 * strtoul.c, strtol.c, random.c: Remove advertising clause from
3299 BSD license, pursuant with
3300
3301 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
3302
3303Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
3304
3305 * hashtab.c: Include stdio.h.
3306
3307Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
3308
3309 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
3310
3311Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
3312
3313 * xstrdup (sys/types.h): Include this file.
3314
33151999-10-28 Nathan Sidwell <nathan@acm.org>
3316
3317 * Makefile.in (SUBDIRS): New macro.
3318 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
3319 avoid multiple subdirectory cleaning.
3320 (*-subdir): Use SUBDIRS.
3321
33221999-10-25 Jim Kingdon <http://developer.redhat.com/>
3323
3324 * cplus-dem.c: Move declarations of standard_symbol_characters and
3325 hp_symbol_characters inside #ifdef MAIN to avoid compiler
3326 warnings.
3327
33281999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
3329
3330 * hashtab.c (find_hash_table_entry): When returning a
3331 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
3332 (clear_hash_table_slot): New function which deletes an entry
3333 by its position in the table, not its value.
3334 (traverse_hash_table): New function which calls a hook
3335 function for every live entry in the table.
3336
33371999-10-19 Mark Mitchell <mark@codesourcery.com>
3338
3339 * cplus-dem.c (INTBUF_SIZE): New macro.
3340 (string_append_template_idx): New function.
3341 (demangle_expression): Likewise.
3342 (demangle_integral_value): Use it.
3343 (demangle_real_value): New function, split out from ...
3344 (demangle_template_value_parm): ... here. Use
3345 string_append_template_idx. Use demangle_real_value.
3346 (demangle_template): Use string_append_template_idx.
3347 (demangle_qualified): Use consume_count_with_underscores.
3348 (get_count): Tweak formatting.
3349 (do_type): Use string_append_template_idx.
b4fe2683 3350
0c0a36a4
ILT
33511999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3352
3353 * calloc.c: Add a public domain notice.
3354
3355Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
3356
3357 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
3358
3359Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
3360
3361 * Makefile.in (CFILES): Add hashtab.c
3362 (REQUIRED_OFILES): Add hashtab.o
3363 (hashtab.o): Add dependencies.
3364 * hashtab.c: New file
3365
3366Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
3367
3368 * basename.c (DIR_SEPARATOR): New macro.
3369 (DIR_SEPARATOR_2): Likewise.
3370 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
3371 (IS_DIR_SEPARATOR): Likewise.
3372 (main): Handle MSDOS style pathname.
3373
33741999-10-11 Mark Mitchell <mark@codesourcery.com>
3375
3376 * cplus-dem.c (do_type): Handle pointer to member types whose
3377 enclosing classes have namespace scope.
3378
3379Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
3380
3381 * config.table: Provide a backup shell for executing move-if-change.
3382
33831999-10-02 Mark Mitchell <mark@codesourcery.com>
3384
3385 * xmalloc.c (xmalloc): Fix spelling error.
3386 (xcalloc, xrealloc): Likewise.
3387
33881999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3389
3390 * cplus-dem.c (fancy_abort, demangle_integral_value,
3391 demangle_arm_hp_template, recursively_demangle,
3392 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
3393 (program_name, program_version, fatal): Constify a char*.
3394 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
3395 (main): Call return, not exit.
3396
33971999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3398
3399 * choose-temp.c: Remove obsolete comment about gcc.
3400 (make_temp_file): Constify a char*.
3401
3402Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3403
3404 * xmemdup.c: Include sys/types.h.
3405
34061999-09-07 Jeff Garzik <jgarzik@pobox.com>
3407
3408 * xmemdup.c: New xmemdup function.
3409 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
3410
3411Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
3412
b4fe2683 3413 * config.table: Add openedition target.
0c0a36a4
ILT
3414 * config/mh-openedition: New file.
3415
3416Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
3417
3418 * pexecute.c (pexecute): Fill in temp_base when needed.
3419
34201999-08-31 Richard Henderson <rth@cygnus.com>
3421
3422 * getpwd.c: Check HAVE_GETCWD before defining it away.
3423
34241999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3425
3426 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
3427 (REQUIRED_OFILES): Add getpwd.o.
3428 (getpwd.o): Add target.
3429
3430 * configure.in (AC_PREREQ): Bump to 2.13.
3431 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
3432
3433 * getpwd.c: New file, moved here from gcc.
3434
34351999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3436
3437 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
3438 comparing against a signed quantity.
3439 (arm_special): Likewise.
3440 (demangle_fund_type): Likewise.
3441 (do_hpacc_template_const_value): Mark parameter `work' with
b4fe2683 3442 ATTRIBUTE_UNUSED.
0c0a36a4
ILT
3443 (main): Constify variable `valid_symbols'.
3444
3445Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
3446
3447 * strtoul.c (strtoul): Add parentheses around && within ||.
3448
3449Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
3450
3451 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
3452 libdir, libsubdir and tooldir.
3453
34541999-08-01 Mark Mitchell <mark@codesourcery.com>
3455
3456 * splay-tree.c (splay_tree_insert): Return the new node.
3457
35ca97ea
RH
34581999-07-14 Richard Henderson <rth@cygnus.com>
3459
b4fe2683 3460 * argv.c: Include stdlib.h and string.h instead of
35ca97ea
RH
3461 prototyping directly.
3462 * choose-temp.c: Conditionally include string.h.
3463
0c0a36a4
ILT
34641999-07-12 Jason Merrill <jason@yorick.cygnus.com>
3465
3466 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
3467
af32ff69
ILT
34681999-07-11 Ian Lance Taylor <ian@zembu.com>
3469
3470 * splay-tree.c (splay_tree_insert): Add initialization to avoid
3471 warning.
3472
0c0a36a4
ILT
34731999-07-07 Jason Merrill <jason@yorick.cygnus.com>
3474
3475 * Makefile.in (needed-list): Only include stuff we actually need
3476 for libstdc++.
3477
34781999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3479
3480 * configure.in (checkfuncs): Add gettimeofday.
3481 * config.in, configure: Regenerated.
3482
3483Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
3484
3485 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
3486 the test fails.
3487 * configure: Regenerate.
3488
34891999-06-10 Mike Stump <mrs@wrs.com>
3490
3491 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
3492 parallel builds.
3493
34941999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3495
3496 * putenv.c: Include ansidecl.h to define `const'.
3497 * setenv.c: Likewise.
3498
3499Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
3500
3501 * Makefile.in (CFILES): Add putenv.c and setenv.c.
3502 * configure.in (funcs): Add putenv and setenv.
3503 (AC_CHECK_FUNCS): Check for putenv and setenv.
3504 * configure: Rebuilt.
3505 * putenv.c setenv.c: New files.
3506
3507 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
3508 bytes of space using malloc.
3509
3510Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
3511
3512 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
3513 the *mangled pointer beyond the end of the string. Clean up code to
3514 match prevailing coding style.
3515
35161999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3517
3518 * tmpnam.c (L_tmpnam): Fix typo.
3519
3520Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
3521
3522 * cplus-dem.c (standard_symbol_characters): Renamed from
3523 standard_symbol_alphabet. No longer modify TABLE.
3524 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
3525 modify TABLE.
3526 (main): Corresponding changes. Use strchr to determine if a
3527 character is valid.
3528
e9868447
JB
35291999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
3530
3531 * cplus-dem.c (main): Use table lookup to distinguish identifier
3532 characters from non-identifier characters.
3533 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
3534
33fbbfbc
RH
3535Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
3536
3537 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
3538 * getruntime.c: Only attempt to include sys/resource.h and
3539 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
3540 are defined.
3541
0c0a36a4
ILT
3542Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
3543
3544 * configure.in (alloca detection): Handle alloca directly for interix.
3545 * configure: Rebuilt.
3546
3547Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
3548
3549 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
3550
252b5132
RH
35511999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
3552
3553 Fix from Dale Hawkins:
b4fe2683 3554 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
252b5132
RH
3555 reallocated properly if we use it again.
3556
3557 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
3558 stricter about syntax. Always null-terminate string.
3559
c1687039
ILT
3560Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
3561
3562 * configure.in (checkfuncs): Check for sbrk.
3563 * config.in: Rebuilt.
3564 * configure: Likewise.
3565 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
3566
0c0a36a4
ILT
35671999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
3568
3569 Fix from Marcus Daniels:
3570 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
3571 identifier looking for another underscore.
3572
3573Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
3574
3575 * pexecute.c: Change all references to __UWIN__ to _UWIN.
3576 * xmalloc.c: Likewise.
3577 (xcalloc): UWIN has sbrk.
3578 (xrealloc): Fix guard macro.
3579
252b5132
RH
35801999-04-11 Richard Henderson <rth@cygnus.com>
3581
3582 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
3583 or <alloca.h>.
3584 * clock.c (GNU_HZ): New definition.
3585 (clock): Use it.
3586 * getruntime.c: Likewise.
3587
3588 * config.table: Use mh-beos.
3589 * config/mh-beos: New file.
3590
0c0a36a4
ILT
35911999-04-11 Mark Mitchell <mark@codesourcery.com>
3592
3593 * cplus-dem.c (demangle_template_value_parm): Handle
3594 pointers-to-members.
3595 (do_type): Handle template parameters as qualifiers.
3596
252b5132
RH
35971999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
3598
3599 * cplus-dem.c: Attempt to handle overflows in counts with some
3600 semblance of grace.
3601 (consume_count): Detect overflows. Return -1 to indicate errors,
3602 instead of zero.
3603 (demangle_template_value_parm, demangle_template): Handle change
3604 to consume_count's return convention.
3605
0c0a36a4
ILT
36061999-04-05 Tom Tromey <tromey@cygnus.com>
3607
3608 * testsuite/regress-demangle: New file.
3609 * testsuite/demangle-expected: New file.
252b5132 3610
0c0a36a4
ILT
3611 * Makefile.in (all, check, installcheck, info, install-info,
3612 clean-info, dvi, install, etags, tags, mostlyclean, clean,
3613 distclean, maintainer-clean, realclean): Depend on corresponding
3614 `-subdir' target.
3615 (all-subdir check-subdir installcheck-subdir info-subdir
3616 install-info-subdir clean-info-subdir dvi-subdir
3617 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
3618 distclean-subdir maintainer-clean-subdir): New target.
3619 * testsuite/Makefile.in: New file.
3620 * configure: Rebuilt.
3621 * configure.in: Create testsuite/Makefile.
252b5132
RH
3622
36231999-04-02 Mark Mitchell <mark@codesourcery.com>
3624
3625 * splay-tree.h (splay_tree_compare_pointers): Define.
3626
36271999-03-30 Mark Mitchell <mark@codesourcery.com>
3628
3629 * splay-tree.c (splay_tree_compare_ints): Define.
3630
36311999-03-30 Tom Tromey <tromey@cygnus.com>
3632
3633 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
3634 don't advance input pointer.
3635 (demangle_class_name): If consume_count didn't find a count, do
3636 nothing. Don't bother with `strlen' sanity check; consume_count
3637 does it for us.
3638
36391999-03-16 Stan Shebs <shebs@andros.cygnus.com>
3640
3641 From Art Haas <ahaas@neosoft.com>:
3642 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
3643 when doing arm or hp style.
3644 (demangle_nested_args): Decr forgetting_types field when done.
b4fe2683 3645
252b5132
RH
3646Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
3647
3648 * pexecute.c (__CYGWIN32__): Rename to
3649 (__CYGWIN__): this.
3650 * xmalloc.c: Likewise.
3651
3652 Changes to support i386-pc-uwin.
3653 * configure.in (*-*-uwin*): Workaround for vfork bug.
3654 * configure: Regenerate.
3655 * pexecute.c (pexecute): Be like standard Unix.
3656 (pwait): Likewise.
3657 * xmalloc.c (first_break): Define.
3658 (xmalloc_set_program_name): Use.
3659 (xmalloc): Use.
3660
3661Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3662
3663 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
3664
3665Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
3666
3667 * config.table: Check cygwin*, not cygwin32*.
3668
3669Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
3670
3671 * Makefile.in: Change mkstemp -> mkstemps.
3672
3673Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
3674
3675 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
3676 * configure.in (funcs): Check for and conditionally add mkstemps to
3677 the list of functions libiberty will provide.
3678 * configure: Rebuilt.
b4fe2683 3679
252b5132
RH
3680Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
3681
b4fe2683 3682 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
252b5132
RH
3683 platforms that don't have HZ.
3684 * getruntime.c (HZ): Likewise.
3685
3686Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
3687
3688 * Makefile.in (xstrdup.o): Depend on config.h.
3689
3690Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
3691
3692 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
3693 freeing it.
3694
3695Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3696
3697 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
3698
3699Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3700
3701 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
3702 splay-tree.o.
3703
37041999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
3705
3706 * configure.in: Require autoconf 2.12.1 or higher.
3707
37081998-12-30 Michael Meissner <meissner@cygnus.com>
3709
3710 * random.c (NULL): Don't redefine NULL if it is already defined.
3711
3712Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3713
3714 * argv.c (buildargv): Cast the result of alloca in assignment.
3715
3716 * choose-temp.c: Include stdlib.h.
3717
3718 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
8aefe91a
DD
3719 (snarf_numeric_literal): Constify first parameter.
3720 (code_for_qualifier): Avoid a gcc extension, make the parameter an
3721 int, not a char.
252b5132
RH
3722 (demangle_qualifier): Likewise.
3723 (demangle_signature): Cast the argument of a ctype function to
3724 unsigned char.
3725 (arm_pt): Add parens around assignment used as truth value.
3726 (demangle_arm_hp_template): Constify variable `args'.
3727 (do_hpacc_template_const_value): Cast the argument of a ctype
3728 function to unsigned char.
3729 (do_hpacc_template_literal): Remove unused variable `i'.
3730 (snarf_numeric_literal): Constify parameter `args'.
3731 Cast the argument of a ctype function to unsigned char.
3732
3733 * floatformat.c (floatformat_to_double): Add explicit braces to
8aefe91a 3734 avoid ambiguous `else'.
252b5132
RH
3735
3736 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
8aefe91a
DD
3737 `cstart' and `cend' to unsigned char. Cast the argument of macro
3738 `FOLD', which uses ctype functions, to unsigned char.
252b5132
RH
3739
3740 * objalloc.c (free): Add prototype.
3741
3742Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
3743
3744 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
3745
3746Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
3747
3748 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
8aefe91a 3749 doesn't exist.
252b5132 3750 (do_hpacc_template_literal): remove unused variable `i'.
b4fe2683 3751
252b5132
RH
3752Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
3753
3754 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
3755 bumping the pointer we read from. Also prepend these codes,
3756 as we do in other places.
3757
37581998-12-18 Nick Clifton <nickc@cygnus.com>
3759
3760 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
3761 'const char *' in order to match its usage when calling siblings.
3762 (snarf_numeric_literal): Make first arg 'const char **' in order
3763 to match usage.
3764
3765Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3766
3767 * choose-temp.c: Don't check IN_GCC anymore.
3768
3769 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
3770 * memchr.c (memchr): Likewise.
3771 * memcpy.c (memcpy): Likewise.
3772 * memmove.c (memmove): Likewise.
3773
3774 * mkstemp.c: Don't check IN_GCC anymore.
3775 * pexecute.c: Likewise.
3776 * splay-tree.c: Likewise.
3777
3778 * strchr.c (strchr): Use `const', not `CONST'.
3779 * strrchr.c (strrchr): Likewise.
3780 * strtol.c (strtol): Likewise.
3781 * strtoul.c (strtoul): Likewise.
3782
3783Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
3784 Elena Zannoni <ezannoni@cygnus.com>
3785 Stan Shebs <shebs@cygnus.com>
3786 Edith Epstein <eepstein@cygnus.com>
3787 Andres MacLeod <amacleod@cygnus.com>
3788 Satish Pai <pai@apollo.hp.com>
3789
3790 * HP aCC demangling support.
3791 * cplus-dem.c
3792 (main): Remove default to HP style demangling, set to EDG
8aefe91a
DD
3793 demangling correctly when -edg specified; set the demangling style
3794 when user specifies 'edg'. Set strip_underscore to
3795 prepends_underscore, if not HPUXHPPA. Set
3796 current_demangling_style to hp_demangling if HPUXHPPA. Set
3797 current demangling style correctly if the switch is hp. Read
3798 label correctly also in the HP style case.
252b5132 3799 (work_stuff): add temp_start field; add field for volatile member
8aefe91a 3800 function.
252b5132 3801 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
8aefe91a 3802 style for this case is the same as ARM.
252b5132
RH
3803 (demangle_args): handle EDG_DEMANGLING style; support HP style.
3804 (demangle_arm_hp_template): new function. (It was
8aefe91a
DD
3805 demangle_arm_pt.); check and set value of temp_start field in
3806 multiple places. Also, when ceching for end of template args,
3807 check to see if at end of static member of template class.
252b5132 3808 (demangle_class): new local variable : save_class_name_end Don't
8aefe91a 3809 include template args in string defining class.
252b5132
RH
3810 (demangle_class_name): use demangel_arm_hp_template.
3811 (demangle_function_name): handle case where demangling style is
8aefe91a
DD
3812 HP_DEMANGLING and currently point at an 'X' in the mangled name.
3813 Handle EDG_DEMANGLING style. Handle constructor and destructor
3814 ops for HP style.
252b5132 3815 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
8aefe91a
DD
3816 styles. global destructor and constructor for HP style are same
3817 as for ARM style. Same for local variables.
252b5132
RH
3818 (demangle_qualified): handle EDG_DEMANGLING style.
3819 (demangle_signature): add case for volatile member function. For
8aefe91a
DD
3820 cases '1' - '9' : initialize the temp_start field to -1 and handle
3821 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
3822 and AUTO_DEMANGLING styles. If expecting a function and managed
3823 to demangle the funct args, then handle the LUCID_DEMANGLING,
3824 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
3825 class name after "Lnnn_ in HP style case. HP style too needs to
3826 forget types. _nnn is OK for HP style, so don't report failure.
252b5132 3827 (do_hpacc_template_const_value): new function. Handle template's
8aefe91a 3828 value param for HP/aCC.
252b5132 3829 (do_hpacc_template_literal): new function. Handle a template's
8aefe91a 3830 literal parameter for HP aCC.
252b5132
RH
3831 (recursively_demangle): new function
3832 (snarf_numeric_literal): new function.
3833 (usage): add 'edg' to the list of demangling styles; add hp switch
8aefe91a 3834 to message.
252b5132
RH
3835
3836Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
3837
3838 * pexecute.c: Remove obsolete ifdefed cygwin code.
3839
3840Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3841
3842 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
3843 * cplus-dem.c: Likewise. Conform to libiberty.h.
3844 * pexecute.c: Likewise.
3845 * splay-tree.c: Likewise.
3846
38471998-11-25 Mike Stump <mrs@wrs.com>
3848
3849 * Makefile.in (splay-tree.o): Add config.h dependency.
3850
3851Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3852
3853 * configure.in: Use AC_PREREQ(2.12.1).
3854
38551998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
3856
b4fe2683 3857 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
252b5132
RH
3858
3859Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
3860
3861 * mpw.c (mpw_access): Add missing parens.
3862
3863Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3864
3865 * configure.in: Call AC_HEADER_SYS_WAIT.
3866
3867 * pexecute.c: Include sys/wait.h when !IN_GCC.
3868
3869Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
3870
3871 * pexecute.c: revert back to checking old Cygwin
3872 preprocessor symbol until some time has passed.
3873
3874Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
3875
3876 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
3877 since it will now support similar constructs.
3878
3879Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3880
3881 * configure.in: Check for calloc.
3882
3883 * calloc.c: New file.
3884
3885 * xmalloc.c (xcalloc): New function.
3886
3887Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
3888
3889 *cplus-dem.c (demangle_prefix): Use the last "__"
3890 in the mangled name when looking for the signature. This allows
3891 template names to begin with "__".
3892
38931998-11-08 Mark Mitchell <mark@markmitchell.com>
3894
3895 * cplus-dem.c (type_kind_t): Add tk_reference.
3896 (demangle_template_value_parm): Handle it.
3897 (do_type): Use it for references, instead of tk_pointer.
3898
3899 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
3900 not internal_cplus_demangle.
3901
3902Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3903
3904 * choose-temp.c: Don't include gansidecl.h.
3905 * mkstemp.c: Likewise.
3906 * pexecute.c: Likewise.
3907
3908Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
3909
b4fe2683
JM
3910 * configure.in: detect cygwin* instead of cygwin32*
3911 * configure: regenerate
252b5132
RH
3912
3913Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3914
3915 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
8aefe91a
DD
3916 whether to include config.h. Possibly include unistd.h in the
3917 !IN_GCC case. Define VFORK_STRING as a printable function call
3918 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
3919 defined, include vfork.h. If VMS is defined, define vfork()
3920 appropriately. Remove vfork check on USG, we're using autoconf.
3921 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
3922 locally what string to use.
252b5132
RH
3923
39241998-10-26 Mark Mitchell <mark@markmitchell.com>
3925
3926 * splay-tree.c: Tweak include directives to make sure declarations of
3927 xmalloc and free are available.
3928
39291998-10-25 Mark Mitchell <mark@markmitchell.com>
3930
3931 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
3932 anonymous namespaces.
3933
39341998-10-23 Mark Mitchell <mark@markmitchell.com>
3935
3936 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
3937 with type_quals.
3938 (TYPE_UNQUALIFIED): New macro.
3939 (TYPE_QUAL_CONST): Likewise.
3940 (TYPE_QUAL_VOLATILE): Likewise.
3941 (TYPE_QUAL_RESTRICT): Likewise.
3942 (code_for_qualifier): New function.
3943 (qualifier_string): Likewise.
3944 (demangle_qualifier): Likewise.
3945 (internal_cplus_demangle): Use them.
3946 (demangle_signature): Likewise.
3947 (demangle_template_value_parm): Likewise.
3948 (do_type): Likewise.
3949 (demangle_fund_type)): Likewise.
3950
3951Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3952
3953 * splay-tree.c (splay_tree_foreach_helper): Make definition static
3954 to match prototype.
3955
39561998-10-21 Mark Mitchell <mark@markmitchell.com>
3957
3958 * splay-tree.c: New file.
3959 * Makefile.in (CFILES): Add it.
3960 (REQUIRED_OFILES): Likewise.
3961 (splay-tree.o): Add dependencies.
3962
3963Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3964
3965 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
3966 range of 'K' index.
3967
3968Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3969
3970 * choose-temp.c: Prototype mkstemps() when IN_GCC.
3971
3972 * cplus-dem.c (consume_count): Cast argument of ctype macro to
3973 `unsigned char'.
3974 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
3975 comparing against one.
3976 (cplus_mangle_opname): Likewise.
3977 (demangle_integral_value): Cast argument of ctype macro to
3978 `unsigned char'.
3979 (demangle_template_value_parm): Likewise.
3980 (demangle_template): Initialize variable `bindex'. Cast the
3981 result of `strlen' to (int) when comparing against one. Remove
3982 unused variable `start_of_value_parm'.
3983 (demangle_class_name): Cast the result of `strlen' to (int) when
3984 comparing against one.
3985 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
3986 (gnu_special): Likewise. Cast the result of `strlen' to (int)
3987 when comparing against one.
3988 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
3989 (get_count): Likewise.
3990 (do_type): Likewise. Cast the result of `strlen' to (int) when
3991 comparing against one.
3992 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
3993 (demangle_function_name): Cast the result of `strlen' to (int)
3994 when comparing against one.
3995
3996 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
3997 comparing against one.
3998
3999Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
4000
b4fe2683
JM
4001 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
4002 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
4003 * config.in, configure: Rebuilt.
252b5132
RH
4004
4005 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
4006 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
4007 * config.in, configure: Rebuilt.
4008
4009Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
4010
b4fe2683 4011 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
252b5132
RH
4012
4013Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
4014
4015 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
4016
4017Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
4018
4019 * Merge egcs & devo libiberty.
4020