ChangeLog revision 1.5
12015-11-28  Pedro Alves  <palves@redhat.com>
2
3	PR other/61321
4	PR other/61233
5	* demangle.h (enum demangle_component_type)
6	<DEMANGLE_COMPONENT_CONVERSION>: New value.
7	* cp-demangle.c (d_demangle_callback, d_make_comp): Handle
8	DEMANGLE_COMPONENT_CONVERSION.
9	(is_ctor_dtor_or_conversion): Handle DEMANGLE_COMPONENT_CONVERSION
10	instead of DEMANGLE_COMPONENT_CAST.
11	(d_operator_name): Return a DEMANGLE_COMPONENT_CONVERSION
12	component if handling a conversion.
13	(d_count_templates_scopes, d_print_comp_inner): Handle
14	DEMANGLE_COMPONENT_CONVERSION.
15	(d_print_comp_inner): Handle DEMANGLE_COMPONENT_CONVERSION instead
16	of DEMANGLE_COMPONENT_CAST.
17	(d_print_cast): Rename as ...
18	(d_print_conversion): ... this.  Adjust comments.
19	(d_print_cast): Rewrite - simply print the left subcomponent.
20	* cp-demint.c (cplus_demangle_fill_component): Handle
21	DEMANGLE_COMPONENT_CONVERSION.
22
23	* testsuite/demangle-expected: Add tests.
24
252015-11-28  Jason Merrill  <jason@redhat.com>
26
27	* cp-demangle.c (d_cv_qualifiers): Dx means transaction_safe.
28	(cplus_demangle_type): Let d_cv_qualifiers handle it.
29	(d_dump, d_make_comp, has_return_type, d_encoding)
30	(d_count_templates_scopes, d_print_comp_inner)
31	(d_print_mod_list, d_print_mod, d_print_function_type)
32	(is_ctor_or_dtor): Handle DEMANGLE_COMPONENT_TRANSACTION_SAFE.
33
342015-11-28  Ian Lance Taylor  <iant@google.com>
35
36	* cp-demangle.c (d_abi_tags): Preserve di->last_name across any
37	ABI tags.
38
392015-11-28  Mikhail Maltsev  <maltsevm@gmail.com>
40
41	* cp-demangle.c (d_dump): Fix syntax error.
42	(d_identifier): Adjust type of len to match d_source_name.
43	(d_expression_1): Fix out-of-bounds access.  Check code variable for
44	NULL before dereferencing it.
45	(d_find_pack): Do not recurse for FIXED_TYPE, DEFAULT_ARG and NUMBER.
46	(d_print_comp_inner): Add NULL pointer check.
47	* cp-demangle.h (d_peek_next_char): Define as inline function when
48	CHECK_DEMANGLER is defined.
49	(d_advance): Likewise.
50	* testsuite/demangle-expected: Add new testcases.
51
522015-06-01  Jason Merrill  <jason@redhat.com>
53
54	* cp-demangle.c (cplus_demangle_type): Handle arguments to vendor
55	extended qualifier.
56
572015-05-22  Yunlian Jiang  <yunlian@google.com>
58
59	* configure.ac: Add AC_GNU_SOURCE.
60	* Makefile.in (COMPILE.c): Add -D_GNU_SOURCE.
61	* configure, config.in: Rebuild.
62	* floatformat.c (_GNU_SOURCE): Don't define if already defined.
63
642015-05-16  Iain Buclaw  <ibuclaw@gdcproject.org>
65
66	* d-demangle.c (dlang_symbol_kinds): New enum.
67	(dlang_parse_symbol): Update signature.  Handle an ambiguity between
68	pascal functions and template value arguments.  Only check for a type
69	if parsing a function, or at the top level.  Return failure if the
70	entire symbol was not successfully demangled.
71	(dlang_identifier): Update signature.  Handle an ambiguity between two
72	adjacent digits in a mangled symbol string.
73	(dlang_type): Update call to dlang_parse_symbol.
74	(dlang_template_args): Likewise.
75	(dlang_parse_template): Likewise.
76	(dlang_demangle): Likewise.
77	* testsuite/d-demangle-expected: Fix bad tests found, and add problematic
78	examples to the unittests.
79
802015-05-16  Iain Buclaw  <ibuclaw@gdcproject.org>
81
82	* d-demangle.c (dlang_template_args): Skip over specialized template
83	parameters in mangled symbol.
84	* testsuite/d-demangle-expected: Add coverage and unittest for specialized
85	template parameters.
86
872015-05-16  Iain Buclaw  <ibuclaw@gdcproject.org>
88
89	* d-demangle.c (dlang_type): Handle cent and ucent types.
90	* testsuite/d-demangle-expected: Add coverage tests for cent and ucent.
91
922015-05-16  Iain Buclaw  <ibuclaw@gdcproject.org>
93
94	* d-demangle.c (dlang_attributes): Handle return attributes, ignoring
95	return parameters in the mangled string.  Return NULL if have encountered
96	an unknown attribute.
97	(dlang_function_args): Handle return parameters in the mangled string.
98	* testsuite/d-demangle-expected: Add coverage tests for functions with
99	return parameters and return attributes.
100
1012015-05-16  Iain Buclaw  <ibuclaw@gdcproject.org>
102
103	* d-demangle.c (dlang_identifier): Check encoded length of identifier
104	to verify strncmp matches entire string.
105	* testsuite/d-demangle-expected: Fix wrong test for postblit symbol.
106
1072015-05-16  Iain Buclaw  <ibuclaw@gdcproject.org>
108
109	* d-demangle.c (dlang_type_modifiers): New function.
110	(dlang_type_modifier_p): New function.
111	(dlang_call_convention_p): Ignore any kind of type modifier.
112	(dlang_type): Handle and emit the type modifier after delegate types.
113	(dlang_parse_symbol): Handle and emit the type modifier after the symbol.
114	* testsuite/d-demangle-expected: Add coverage tests for all valid
115	usages of function symbols with type modifiers.
116
1172015-05-16  Iain Buclaw  <ibuclaw@gdcproject.org>
118
119	* d-demangle.c (dlang_call_convention): Return NULL if have reached the
120	end of the symbol, but expected something to read.
121	(dlang_attributes): Likewise.
122	(dlang_function_type): Likewise.
123	(dlang_type): Likewise.
124	(dlang_identifier): Likewise.
125	(dlang_value): Likewise.
126
1272015-05-16  Iain Buclaw  <ibuclaw@gdcproject.org>
128
129	* d-demangle.c (dlang_parse_string): Represent embedded whitespace or
130	non-printable characters as hex or escape sequences.
131	* testsuite/d-demangle-expected: Add test for templates with tabs and
132	newlines embedded into the signature.
133
1342015-05-08  Joel Brobecker  <brobecker@adacore.com>
135
136	* mkstemps.c: #include <time.h> if HAVE_TIME_H is defined
137	but not HAVE_SYS_TIME_H.
138
1392015-04-22  Eli Zaretskii  <eliz@gnu.org>
140
141	* setenv.c <environ>: Declare only if not a macro.
142
1432015-04-14  Max Ostapenko  <m.ostapenko@partner.samsung.com>
144
145	* testsuite/Makefile.in (LIBCFLAGS): Add LDFLAGS.
146
1472015-04-10  Jakub Jelinek  <jakub@redhat.com>
148	    Iain Sandoe  <iain@codesourcery.com>
149
150	PR target/65351
151	* configure: Regenerate.
152
1532015-04-07  Jakub Jelinek  <jakub@redhat.com>
154	    Iain Sandoe  <iain@codesourcery.com>
155
156	PR target/65351
157	* configure: Regenerate.
158
1592015-01-19  Eli Zaretskii  <eliz@gnu.org>
160
161	* strerror.c <sys_nerr, sys_errlist>: Declare only if they aren't
162	macros.
163
1642014-12-24  Uros Bizjak  <ubizjak@gmail.com>
165	    Ben Elliston  <bje@au.ibm.com>
166	    Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
167
168	* xasprintf.c: New file.
169	* Makefile.in (CFILES): Add xasprintf.c.
170	(REQUIRED_OFILES): Add xasprintf.$(objext).
171	(xasprintf.$(objext)): New target.
172	* functions.texi: Regenerate.
173
1742014-12-11  Uros Bizjak  <ubizjak@gmail.com>
175            Ben Elliston  <bje@au.ibm.com>
176            Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
177
178	* xvasprintf.c: New file.
179	* vprintf-support.h: Likewise.
180	* vprintf-support.c: Likewise.
181	* Makefile.in (CFILES): Add vprintf-support.c, xvasprintf.c.
182	(REQUIRED_OFILES): Add vprintf-support.$(objext), xvasprintf.$(objext).
183	(vprintf-support.$(objext), xvasprintf.$(objext)): New targets.
184	(vasprintf.$(objext)): Depend on $(srcdir)/vprintf-support.h.
185	* functions.texi: Regenerate.
186	* vasprintf.c (int_vasprintf): Use libiberty_vprintf_buffer_size.
187
1882014-11-22  John David Anglin  <danglin@gcc.gnu.org>
189
190	PR other/63694
191	* configure.ac: Check for strtol, strtoul, strtoll and strtoull
192	declarations.
193	* configure: Regenerated.
194
1952014-11-12  Kirill Yukhin  <kirill.yukhin@intel.com>
196
197	* testsuite/test-strtol.c (run_tests): Cast strtol return to
198	unsigned long.
199
2002014-11-11  Anthony Brandon  <anthony.brandon@gmail.com>
201	    Manuel L��pez-Ib����ez  <manu@gcc.gnu.org>
202
203	PR driver/36312
204	* filename_cmp.c (canonical_filename_eq): New function to check if
205	file names are the same.
206	* functions.texi: Updated with documentation for new function.
207
2082014-11-11  David Malcolm  <dmalcolm@redhat.com>
209
210	* ChangeLog.jit: New.
211
2122014-11-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
213
214	* sigsetmask.c (_POSIX_SOURCE): Remove.
215
2162014-10-28  Yury Gribov  <y.gribov@samsung.com>
217
218	* strtoll.c: New file.
219	* strtoull.c: New file.
220	* configure.ac: Add long long checks.  Add harness for strtoll and
221	strtoull.  Check decls for strtol, strtoul, strtoll, strtoull.
222	* Makefile.in (CFILES, CONFIGURED_OFILES): Add strtoll and strtoull.
223	* config.in: Regenerate.
224	* configure: Regenerate.
225	* functions.texi: Regenerate.
226	* testsuite/Makefile.in (check-strtol): New rule.
227	(test-strtol): Likewise.
228	(mostlyclean): Clean up strtol test.
229	* testsuite/test-strtol.c: New test.
230
2312014-10-15  David Malcolm  <dmalcolm@redhat.com>
232
233	* choose-temp.c (choose_tmpdir): Remove now-redundant local
234	copy of prototype.
235	* functions.texi: Regenerate.
236	* make-temp-file.c (choose_tmpdir): Convert return type from
237	char * to const char * - given that this returns a pointer to
238	a memoized allocation, the caller must not touch it.
239
2402014-10-14  Joel Brobecker  <brobecker@adacore.com>
241
242	* d-demangle.c: Replace strtold with strtod in global comment.
243	(strtold): Remove declaration.
244	(strtod): New declaration.
245	(dlang_parse_real): Declare value as double instead of long
246	double.  Replace call to strtold by call to strtod.
247	Update format in call to snprintf.
248
2492014-09-26  Jason Merrill  <jason@redhat.com>
250
251	* cp-demangle.c (d_substitution): Handle abi tags on abbreviation.
252
2532014-09-26  Max Ostapenko  <m.ostapenko@partner.samsung.com>
254
255	* pex-common.h (struct pex_funcs): Add new parameter for open_write field.
256	* pex-unix.c (pex_unix_open_write): Add support for new parameter.
257	* pex-djgpp.c (pex_djgpp_open_write): Likewise.
258	* pex-win32.c (pex_win32_open_write): Likewise.
259	* pex-common.c (pex_run_in_environment): Likewise.
260
2612014-09-23  Iain Buclaw  <ibuclaw@gdcproject.org>
262
263	* Makefile.in (CFILES): Add d-demangle.c.
264	(REQUIRED_OFILES): Add d-demangle.o.
265	* cplus-dem.c (libiberty_demanglers): Add dlang_demangling case.
266	(cplus_demangle): Likewise.
267	* d-demangle.c: New file.
268	* testsuite/Makefile.in (really-check): Add check-d-demangle.
269	* testsuite/d-demangle-expected: New file.
270
2712014-09-19  Ian Lance Taylor  <iant@google.com>
272
273	* simple-object-elf.c (simple_object_elf_write_ehdr): Correctly
274	handle objects with more than SHN_LORESERVE sections.
275	(simple_object_elf_write_shdr): Add sh_link parameter.
276	(simple_object_elf_write_to_file): Correctly handle objects with
277	more than SHN_LORESERVE sections.
278
2792014-08-29  Andrew Burgess  <aburgess@broadcom.com>
280
281	* cp-demangle.c (d_dump): Only access field from s_fixed part of
282	the union for DEMANGLE_COMPONENT_FIXED_TYPE.
283	(d_count_templates_scopes): Likewise.
284
2852014-08-13  Gary Benson  <gbenson@redhat.com>
286
287	* testsuite/demangler-fuzzer.c: New file.
288	* testsuite/Makefile.in (fuzz-demangler): New rule.
289	(demangler-fuzzer): Likewise.
290	(mostlyclean): Clean up demangler fuzzer.
291
2922014-06-11  Andrew Burgess  <aburgess@broadcom.com>
293
294	* cplus-dem.c (do_type): Call string_delete even if the call to
295	demangle_template fails.
296
2972014-06-01  Ray Donnelly  <mingw.android@gmail.com>
298
299	* pex-win32.c (argv_to_cmdline): Don't quote
300	args unnecessarily
301
3022014-05-28  Pedro Alves  <palves@redhat.com>
303
304	* cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_FUNCTION_PARAM
305	and DEMANGLE_COMPONENT_NUMBER.
306
3072014-05-22  Thomas Schwinge  <thomas@codesourcery.com>
308
309	* testsuite/demangle-expected: Fix last commit.
310
3112014-05-14  Andrew Burgess  <aburgess@broadcom.com>
312
313	* cplus-dmem.c (internal_cplus_demangle): Free any resources
314	allocated by possible previous call to gnu_special.
315	(squangle_mop_up): Reset pointers to NULL after calling free.
316	* testsuite/demangle-expected: New test case.
317
3182014-05-08  Gary Benson  <gbenson@redhat.com>
319
320	* cp-demangle.c (struct d_component_stack): New structure.
321	(struct d_print_info): New field component_stack.
322	(d_print_init): Initialize the above.
323	(d_print_comp_inner): Renamed from d_print_comp.
324	Do not restore template stack if it would cause a loop.
325	(d_print_comp): New function.
326	* testsuite/demangle-expected: New test cases.
327
3282014-04-17  Jakub Jelinek  <jakub@redhat.com>
329
330	PR sanitizer/56781
331	* maint-tool: Also emit rule for noasan/ subdirectory.
332	* configure.ac (NOASANFLAG): Set and substitute.
333	* Makefile.in: Regenerated.
334	(NOASANFLAG): Set.
335	(all, $(TARGETLIB), mostlyclean): Handle noasan subdir like pic
336	subdir.
337	(stamp-noasandir): New goal.
338	* configure: Regenerated.
339
3402014-04-01  Richard Biener  <rguenther@suse.de>
341
342	* simple-object.c (simple_object_internal_write): Handle
343	EINTR and short writes.
344
3452014-03-28  Richard Biener  <rguenther@suse.de>
346
347	* simple-object.c (simple_object_internal_read): Handle
348	EINTR and short reads.
349
3502014-03-13  Uros Bizjak  <ubizjak@gmail.com>
351
352	* regex.c (bzero) [!_LIBC]: Define without coma expression.
353	(regerror): Cast the call to memcpy to (void) to avoid unused
354	value warnings.
355
3562014-01-28  Thomas Schwinge  <thomas@codesourcery.com>
357
358	* cp-demangle.c (d_demangle_callback): Put an abort call in place,
359	to help the compiler.
360
3612014-01-21  Tom Tromey  <tromey@redhat.com>
362
363	* _doprint.c (checkit): Use stdarg, not VA_* macros.
364	* asprintf.c (asprintf): Use stdarg, not VA_* macros.
365	* concat.c (concat_length, concat_copy, concat_copy2, concat)
366	(reconcat): Use stdarg, not VA_* macros.
367	* snprintf.c (snprintf): Use stdarg, not VA_* macros.
368	* vasprintf.c (checkit): Use stdarg, not VA_* macros.
369	* vsnprintf.c (checkit): Use stdarg, not VA_* macros.
370
3712014-01-06  Mike Frysinger  <vapier@gentoo.org>
372
373	PR other/56780
374	* configure.ac: Delete target_header_dir assignment.
375	* configure: Regenerated.
376
3772014-01-06  Gary Benson  <gbenson@redhat.com>
378
379	* cp-demangle.c (struct d_print_info): New fields
380	next_saved_scope, copy_templates, next_copy_template and
381	num_copy_templates.
382	(d_count_templates): New function.
383	(d_print_init): New parameter "dc".
384	Estimate numbers of templates and scopes required.
385	(d_print_free): Removed function.
386	(cplus_demangle_print_callback): Allocate stack for
387	templates and scopes.  Removed call to d_print_free.
388	(d_copy_templates): Removed function.
389	(d_save_scope): New function.
390	(d_get_saved_scope): Likewise.
391	(d_print_comp): Replace state saving/restoring code with
392	calls to d_save_scope and d_get_saved_scope.
393
3942013-12-23  Bill Maddox  <maddox@google.com>
395
396	* cp-demangle.c (cplus_demangle_fill_ctor,cplus_demangle_fill_dtor):
397	Handle unified ctor/dtor.
398	(d_ctor_dtor_name): Handle unified ctor/dtor.
399
4002013-11-22  Cary Coutant  <ccoutant@google.com>
401    
402	PR other/59195
403	* cp-demangle.c (struct d_info_checkpoint): New struct.
404	(struct d_print_info): Add current_template field.
405	(d_operator_name): Set flag when processing a conversion
406	operator.
407	(cplus_demangle_type): When processing <template-args> for
408	a conversion operator, backtrack if necessary.
409	(d_expression_1): Renamed from d_expression.
410	(d_expression): New wrapper around d_expression_1.
411	(d_checkpoint): New function.
412	(d_backtrack): New function.
413	(d_print_init): Initialize current_template.
414	(d_print_comp): Set current_template.
415	(d_print_cast): Put current_template in scope for
416	printing conversion operator name.
417	(cplus_demangle_init_info): Initialize is_expression and
418	is_conversion.
419	* cp-demangle.h (struct d_info): Add is_expression and
420	is_conversion fields.
421	* testsuite/demangle-expected: New test cases.
422
4232013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
424
425	* configure: Regenerate.
426
4272013-11-12  Uros Bizjak  <ubizjak@gmail.com>
428
429	* cp-demangle.c (d_copy_templates): Cast result of malloc
430	to (struct d_print_template *).
431	(d_print_comp): Cast result of realloc to (struct d_saved scope *).
432
4332013-10-29  Marc Glisse  <marc.glisse@inria.fr>
434
435	PR tree-optimization/58689
436	* concat.c: Remove note about xmalloc.
437
4382013-10-27  Gerald Pfeifer  <gerald@pfeifer.com>
439
440	* testsuite/test-demangle.c: Include unistd.h.
441
4422013-10-25  Gary Benson  <gbenson@redhat.com>
443
444	* cp-demangle.c (struct d_saved_scope): New structure.
445	(struct d_print_info): New fields saved_scopes and
446	num_saved_scopes.
447	(d_print_init): Initialize the above.
448	(d_print_free): New function.
449	(cplus_demangle_print_callback): Call the above.
450	(d_copy_templates): New function.
451	(d_print_comp): New variables saved_templates and
452	need_template_restore.
453	[DEMANGLE_COMPONENT_REFERENCE, DEMANGLE_COMPONENT_RVALUE_REFERENCE]:
454	Capture scope the first time the component is traversed, and use the
455	captured scope for subsequent traversals.
456	* testsuite/demangle-expected: Add regression test.
457
4582013-10-23  Gerald Pfeifer  <gerald@pfeifer.com>
459
460	* testsuite/test-expandargv.c: Include unistd.h.
461
4622013-10-15  David Malcolm  <dmalcolm@redhat.com>
463
464	* configure.ac: If --enable-host-shared, use -fPIC.
465	* configure: Regenerate.
466
4672013-10-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
468
469	* cp-demangle.c (d_name): Demangle local-source-names.
470	* testsuite/demangle-expected: New test.
471
4722013-09-10  Paolo Carlini  <paolo.carlini@oracle.com>
473
474	PR bootstrap/58386
475	Revert:
476
477	2013-09-10  Gary Benson  <gbenson@redhat.com>
478
479	* cp-demangle.c: Include hashtab.h.
480	(struct d_print_info): New field saved_scopes.
481	(d_print_init): Initialize the above.
482	(d_print_free): New function.
483	(cplus_demangle_print_callback): Call the above.
484	(struct d_saved_scope): New structure.
485	(d_store_scope): New function.
486	(d_free_scope) Likewise.
487	(d_restore_scope) Likewise.
488	(d_hash_saved_scope) Likewise.
489	(d_equal_saved_scope) Likewise.
490	(d_print_comp): New variable saved_scope.
491	[DEMANGLE_COMPONENT_REFERENCE,
492	DEMANGLE_COMPONENT_RVALUE_REFERENCE]: Capture scope the first
493	time the component is traversed, and use the captured scope for
494	subsequent traversals.
495	* testsuite/demangle-expected: Add regression test.
496
4972013-09-10  Gary Benson  <gbenson@redhat.com>
498
499	* cp-demangle.c: Include hashtab.h.
500	(struct d_print_info): New field saved_scopes.
501	(d_print_init): Initialize the above.
502	(d_print_free): New function.
503	(cplus_demangle_print_callback): Call the above.
504	(struct d_saved_scope): New structure.
505	(d_store_scope): New function.
506	(d_free_scope) Likewise.
507	(d_restore_scope) Likewise.
508	(d_hash_saved_scope) Likewise.
509	(d_equal_saved_scope) Likewise.
510	(d_print_comp): New variable saved_scope.
511	[DEMANGLE_COMPONENT_REFERENCE,
512	DEMANGLE_COMPONENT_RVALUE_REFERENCE]: Capture scope the first
513	time the component is traversed, and use the captured scope for
514	subsequent traversals.
515	* testsuite/demangle-expected: Add regression test.
516
5172013-08-20  Alan Modra  <amodra@gmail.com>
518
519	* floatformat.c (floatformat_ibm_long_double): Rename to..
520	(floatformat_ibm_long_double_big): ..this.
521	(floatformat_ibm_long_double_little): New.
522
5232013-07-09  Tristan Gingold  <gingold@adacore.com>
524
525	* makefile.vms (OBJS): Add dwarfnames.obj
526
5272013-05-31  Matt Burgess <matthew@linuxfromscratch.org>
528
529	PR other/56780
530	* libiberty/configure.ac: Move test for --enable-install-libiberty
531	outside of the 'with_target_subdir' test so that it actually gets
532	run.  Add output messages to show the test result.
533	* libiberty/configure: Regenerate.
534	* libiberty/Makefile.in (install_to_libdir): Place the
535	installation of the libiberty library in the same guard as that
536	used for the headers to prevent it being installed unless
537	requested via --enable-install-libiberty.
538
5392013-05-06  David Edelsohn  <dje.gcc@gmail.com>
540	    Peter Bergner  <bergner@vnet.ibm.com>
541	    Segher Boessenkool  <segher@kernel.crashing.org>
542	    Jakub Jelinek  <jakub@redhat.com>
543
544	* hashtab.c (hash_pointer): Remove conditional and avoid
545	unexecuted shift equal to wordsize.
546
5472013-04-22  Andi Kleen  <ak@linux.intel.com>
548
549	* hashtab.c (hash_pointer): Move to end of file and reimplement.
550
5512013-04-03  Jason Merrill  <jason@redhat.com>
552
553	* cp-demangle.c (cplus_demangle_type): Fix function quals.
554	(d_pointer_to_member_type): Simplify.
555
556	Demangle C++11 ref-qualifier.
557	* cp-demangle.c (d_ref_qualifier): New.
558	(d_nested_name, d_function_type): Use it.
559	(d_parmlist): Don't get confused by a ref-qualifier.
560	(cplus_demangle_type): Reorder ref-qualifier.
561	(d_pointer_to_member_type): Likewise.
562	(d_dump): Handle DEMANGLE_COMPONENT_REFERENCE_THIS and
563	DEMANGLE_COMPONENT_RVALUE_REFERENCE_THIS.
564	(d_make_comp, has_return_type, d_encoding): Likewise.
565	(d_print_comp, d_print_mod_list, d_print_mod): Likewise.
566	(d_print_function_type, is_ctor_or_dtor): Likewise.
567
5682013-03-27  Kai Tietz  <ktietz@redhat.com>
569
570	* configure: Regenerated.
571
5722013-03-06  Tobias Burnus  <burnus@net-b.de>
573
574	* libiberty.texi: Update comment, remove lowersections.
575	* obstacks.texi: Regenerate.
576
5772013-03-05  Jakub Jelinek  <jakub@redhat.com>
578
579	PR middle-end/56526
580	* simple-object-mach-o.c (simple_object_mach_o_segment): Initialize
581	wrapper_sect_offset to avoid a warning.
582
5832013-03-01  Andreas Schwab  <schwab@linux-m68k.org>
584
585	* obstacks.texi (Obstacks): Trim @node to only contain the
586	node name.
587	* libiberty.texi (Obstacks): Lower section.
588
5892013-02-14  Jason Merrill  <jason@redhat.com>
590
591	* cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_DEFAULT_ARG.
592	(d_print_comp): Likewise.
593
5942013-02-09  Jakub Jelinek  <jakub@redhat.com>
595
596	PR other/56245
597	* regex.c (PTR_INT_TYPE): Define.
598	(EXTEND_BUFFER): Change incr type from int to PTR_INT_TYPE.
599
6002013-01-31  Kai Tietz  <ktietz@redhat.com>
601
602	PR other/54620
603	* sha1.c (sha1_process_block):  Handle case that size_t is
604	a wider-integer-scalar as a 32-bit unsigned integer.
605
606	PR other/53413
607	* md5.c (md5_process_block):  Handle case that size_t is
608	a wider-integer-scalar a 32-bit unsigned integer.
609
6102013-01-04  Ian Lance Taylor  <iant@google.com>
611
612	PR other/54800
613	* simple-object-mach-o.c (simple_object_mach_o_segment): Don't
614	bother to zero out a buffer we are about to set anyhow.
615
6162013-01-01  David Edelsohn  <dje.gcc@gmail.com>
617
618	* simple-object-xcoff.c: New file.
619	* Makefile.in: Add it to build machinery.
620	* simple-object-common.h (simple_object_xcoff_functions): Declare.
621	* simple-object.c (format_functions): Add
622	simple_object_xcoff_functions.
623
6242012-11-10  Jason Merrill  <jason@redhat.com>
625
626	* cp-demangle.c (d_unqualified_name): Handle abi tags here.
627	(d_name): Not here.
628
6292012-11-09  Jason Merrill  <jason@redhat.com>
630
631	* cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_TAGGED_NAME.
632	(d_make_comp, d_find_pack, d_print_comp): Likewise.
633	(d_abi_tags): New.
634	(d_name): Call it.
635
6362012-10-08  Jason Merrill  <jason@redhat.com>
637
638	* cp-demangle.c (d_special_name, d_dump): Handle TH and TW.
639	(d_make_comp, d_print_comp): Likewise.
640
6412012-09-18  Ian Lance Taylor  <iant@google.com>
642
643	* strnlen.c: New file.
644	* configure.ac: Check for strnlen, add it to AC_LIBOBJ if it's not
645	present.
646	* Makefile.in: Rebuild dependencies.
647	(CFILES): Add strnlen.c.
648	(CONFIGURED_OFILES): Add ./strnlen.$(objext).
649	* configure, config.in, functions.texi: Rebuild.
650
651	* maint-tool: Accept .def files in the include directory.
652
6532012-09-18  Florian Weimer  <fweimer@redhat.com>
654
655	PR other/54411
656	* objalloc.c (_objalloc_alloc): Add overflow check covering
657	alignment and CHUNK_HEADER_SIZE addition.
658
6592011-08-28  H.J. Lu  <hongjiu.lu@intel.com>
660
661	* argv.c (dupargv): Replace malloc with xmalloc.  Don't check
662	xmalloc return.
663	(buildargv): Likewise.  Also replace strdup with xstrdup.
664	(expandargv): Don't check dupargv return.
665
6662011-08-28  H.J. Lu  <hongjiu.lu@intel.com>
667
668	PR binutils/14526
669	* argv.c (buildargv): Replace alloca with xmalloc/free.
670
6712012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
672
673	* floatformat.c (floatformat_to_double): Correctly handle numbers
674	between 1 and 2.  Simplify handling of denormal number.
675	(main): Test with 1.1.
676
6772012-07-31  Mike Frysinger  <vapier@gentoo.org>
678
679	* md5.c (md5_finish_ctx): Declare swap_bytes.  Assign SWAP() output
680	to swap_bytes, and then call memcpy to move it to ctx->buffer.
681
6822012-07-26  Kazu Hirata  <kazu@codesourcery.com>
683	    Sandra Loosemore  <sandra@codesourcery.com>
684
685	* pex-win32.c (pex_win32_exec_child): Only close original file
686	descriptors if child is launched successfully.
687
6882012-07-18  Jason Merrill  <jason@redhat.com>
689
690	* cp-demangle.c (cplus_demangle_operators): Add *_cast.
691	(op_is_new_cast): New.
692	(d_expression, d_print_comp): Check it.
693
6942012-07-13  Doug Evans  <dje@google.com>
695
696	* filename_cmp.c (filename_hash, filename_eq): New functions.
697
6982012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
699
700	* copying-lib.texi (Library Copying): Don't use @heading inside
701	@enumerate.
702
7032012-05-22  Tom Tromey  <tromey@redhat.com>
704
705	http://sourceware.org/bugzilla/show_bug.cgi?id=14065
706	* testsuite/demangle-expected: Add regression test.
707	* cp-demangle.c (d_find_pack): Return NULL for
708	DEMANGLE_COMPONENT_UNNAMED_TYPE.
709
7102012-04-27  Tom Tromey  <tromey@redhat.com>
711
712	* dwarfnames.c: New file.
713	* Makefile.in (CFILES): Add dwarfnames.
714	(REQUIRED_OFILES): Add dwarfnames.
715	(./dwarfnames.$(objext)): New target.
716
7172012-04-04  Tristan Gingold  <gingold@adacore.com>
718
719	* pex-unix.c (to_ptr32): Fix style.
720
7212012-04-02  Tristan Gingold  <gingold@adacore.com>
722
723	* stack-limit.c: Includes ansidecl.h.
724	(stack_limit_increase): Add ATTRIBUTE_UNUSED
725
7262012-03-20  Jason Merrill  <jason@redhat.com>
727
728	* cp-demangle.c (cplus_demangle_type): Handle 'auto'.
729
7302012-03-07  Jason Merrill  <jason@redhat.com>
731
732	* cp-demangle.c (cplus_demangle_operators): Add li.
733	(d_unqualified_name): Handle it specially.
734
7352012-01-26  Jakub Jelinek  <jakub@redhat.com>
736
737	* make-relative-prefix.c (make_relative_prefix_1): Avoid warning
738	about using preprocessor directives inside of macro arguments.
739
7402012-01-22  Douglas B Rupp  <rupp@gnat.com>
741
742	* configure: Regenerate.
743
7442012-01-10  Jason Merrill  <jason@redhat.com>
745
746	* cp-demangle.c (d_print_comp) [DEMANGLE_COMPONENT_OPERATOR]:
747	Omit a trailing space in the operator name.
748
7492012-01-06  Jason Merrill  <jason@redhat.com>
750
751	PR c++/6057
752	PR c++/48051
753	PR c++/50855
754	PR c++/51322
755	* cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_NULLARY and
756	DEMANGLE_COMPONENT_INITIALIZER_LIST.
757	(d_make_comp): Likewise.  Allow null right arg for
758	DEMANGLE_COMPONENT_TRINARY_ARG2.
759	(cplus_demangle_operators): Adjust new/delete; add .*, :: and throw.
760	(d_template_args, d_template_arg): Handle 'J' for argument packs.
761	(d_exprlist): Add terminator parm.
762	(d_expression, d_print_comp): Handle initializer lists, nullary
763	expressions, prefix/suffix operators, and new.
764	(d_print_subexpr): Avoid parens around DEMANGLE_COMPONENT_QUAL_NAME
765	and DEMANGLE_COMPONENT_INITIALIZER_LIST.
766	* testsuite/demangle-expected: Add tests.
767
768	* cp-demangle.c (cplus_demangle_type): decltype, pack expansion
769	and vector are substitutable.
770	(cplus_demangle_operators): Sort.
771
7722012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
773
774	* configure: Regenerate.
775
7762012-01-02  Jakub Jelinek  <jakub@redhat.com>
777
778	* make-relative-prefix.c (make_relative_prefix_1): Avoid
779	stack overflow if PATH contains just a single entry and
780	HOST_EXECUTABLE_SUFFIX needs to be used.
781
782	PR driver/48306
783	* make-relative-prefix.c: Include sys/stat.h.
784	(make_relative_prefix_1): If access succeeds, check also stat
785	if nstore is a regular file.
786
7872011-12-20  Andreas Schwab  <schwab@linux-m68k.org>
788
789	* configure: Regenerate.
790
7912011-12-20  Tristan Gingold  <gingold@adacore.com>
792
793	* aclocal.m4: Assume strncmp works in cross case.
794	* configure: Regenerate
795
7962011-12-19  Andreas Schwab  <schwab@linux-m68k.org>
797
798	* configure: Regenerate.
799
8002011-11-07  Richard Henderson  <rth@redhat.com>
801
802	Merged from transactional-memory.
803
804	* cp-demangle.c (cplus_demangle_fill_ctor): Accept
805	gnu_v3_object_ctor_group.
806	(cplus_demangle_fill_dtor): Accept gnu_v3_object_dtor_group.
807	(d_ctor_dtor_name): Recognize gnu_v3_object_ctor_group
808	and gnu_v3_object_dtor_group.
809	(d_dump): Handle DEMANGLE_COMPONENT_TRANSACTION_CLONE
810	and DEMANGLE_COMPONENT_NONTRANSACTION_CLONE.
811	(d_make_comp, d_print_comp): Likewise.
812	(d_special_name): Generate them.
813
8142011-11-04  Jason Merrill  <jason@redhat.com>
815
816	PR c++/48370
817	* cp-demangle.c (d_special_name, d_print_comp): Handle a
818	discriminator number on DEMANGLE_COMPONENT_REFTEMP.
819
8202011-11-02  Doug Evans  <dje@google.com>
821
822	* Makefile.in (CFILES): Add timeval-utils.c.
823	(REQUIRED_OFILES): Add timeval-utils.$(objext).
824	(INSTALLED_HEADERS): Add timeval-utils.h.
825	(timeval-utils.$(objext)): Add rule.
826
8272011-10-28  Ian Lance Taylor  <iant@google.com>
828
829	* setproctitle.c (setproctitle): Use "GNU/Linux" in comment.
830
8312011-10-26  Iain Sandoe  <iains@gcc.gnu.org>
832
833	PR target/48108
834	* simple-object-mach-o.c  (GNU_WRAPPER_SECTS, GNU_WRAPPER_INDEX,
835	GNU_WRAPPER_NAMES): New macros.
836	(simple_object_mach_o_segment): Handle wrapper scheme.
837	(simple_object_mach_o_write_section_header): Allow the segment name
838	to be supplied.
839	(simple_object_mach_o_write_segment): Handle wrapper scheme.  Ensure
840	that the top-level segment name in the load command is empty.
841	(simple_object_mach_o_write_to_file): Determine the number of
842	sections during segment output, use that in writing the header.
843
8442011-10-10  Ian Lance Taylor  <iant@google.com>
845
846	PR c++/48665
847	* cp-demangle.c (d_cv_qualifiers): If qualifiers are applied to a
848	function type, change them to apply to the "this" parameter.
849	* testsuite/demangle-expected: Add test case.
850
8512011-09-28  Doug Evans  <dje@google.com>
852
853	* timeval-utils.c: New file.
854
855	* argv.c (countargv): New function.
856
8572011-09-23  Cary Coutant  <ccoutant@google.com>
858
859	PR 40831
860	* cp-demangle.c (d_make_comp): Add new component type.
861	(cplus_demangle_mangled_name): Check for clone suffixes.
862	(d_parmlist): Don't error out if we see '.'.
863	(d_clone_suffix): New function.
864	(d_print_comp): Print info for clone suffixes.
865	* testsuite/demangle-expected: Add new testcases.
866
8672011-09-23  Ian Lance Taylor  <iant@google.com>
868	    Pierre Vittet  <piervit@pvittet.com>
869
870	* md5.c (md5_process_bytes): Correct handling of unaligned
871	buffer.
872
8732011-08-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
874
875	* aclocal.m4: Include ../config/picflag.m4.
876	* configure.ac (GCC_PICFLAG): Call it.
877	(enable_shared): Clear PICFLAG unless shared.
878	* configure: Regenerate.
879
8802011-08-12  Steve Ellcey  <sje@cup.hp.com>
881
882	* md5.c (md5_read_ctx): Handle mis-aligned resbuf pointer.
883
8842011-08-06  Uros Bizjak  <ubizjak@gmail.com>
885
886	* testsuite/test-expandargv.c (writeout_test): Check result of fwrite.
887
8882011-08-01  Jason Merrill  <jason@redhat.com>
889
890	PR c++/49932
891	* cp-demangle.c (d_prefix): Handle decltype.
892	* testsuite/demangle-expected: Test it.
893
8942011-07-26  H.J. Lu  <hongjiu.lu@intel.com>
895
896	* testsuite/demangle-expected: Remove an extra line.
897
8982011-07-26  Ian Lance Taylor  <iant@google.com>
899
900	* cp-demangle.c (d_print_init): Initialize pack_index field.
901	(d_print_comp): Check for NULL template argument.
902	* testsuite/demangle-expected: Add test case.
903
9042011-07-22  Gerald Pfeifer  <gerald@pfeifer.com>
905
906	PR target/49817
907	* stack-limit.c: Include <stdint.h>.
908
9092011-07-22  Jakub Jelinek  <jakub@redhat.com>
910
911	PR c++/49756
912	* stack-limit.c: New file.
913	* Makefile.in: Regenerate deps.
914	(CFILES): Add stack-limit.c.
915	(REQUIRED_OFILES): Add ./stack-limit.$(objext).
916	* configure.ac (checkfuncs): Add getrlimit and setrlimit.
917	(AC_CHECK_FUNCS): Likewise.
918	* configure: Regenerated.
919	* config.in: Regenerated.
920
9212011-07-04  Jason Merrill  <jason@redhat.com>
922
923	* cp-demangle.c (d_expression): Handle 'this'.
924	(d_print_comp) [DEMANGLE_COMPONENT_FUNCTION_PARAM]: Likewise.
925
9262011-07-01  Joel Brobecker  <brobecker@adacore.com>
927
928	* filename_cmp.c (filename_cmp, filename_ncmp): Add handling of
929	HAVE_CASE_INSENSITIVE_FILE_SYSTEM.
930
9312011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
932
933	PR debug/49408
934	* cp-demangle.c (d_print_comp): Suppress argument list for function
935	references by the '&' unary operator.  Keep also already processed
936	variant without the argument list.  Suppress argument list types for
937	function call used in an expression.
938	* testsuite/demangle-expected: Fix excessive argument list types in
939	`test for typed function in decltype'.  New testcase for no argument
940	list types printed.  3 new testcases for function references by the
941	'&' unary operator..
942
9432011-06-20  Jason Merrill  <jason@redhat.com>
944
945	PR c++/37089
946	* cp-demangle.c (d_print_comp): Handle reference smashing.
947	* testsuite/demangle-expected: Test it.
948
9492011-06-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
950
951	* cp-demangle.c (d_print_comp) <DEMANGLE_COMPONENT_FUNCTION_TYPE>:
952	Suppress d_print_mod for DMGL_RET_POSTFIX.
953	* testsuite/demangle-expected: New testcases for --ret-postfix.
954
9552011-06-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
956
957	* cp-demangle.c (d_print_comp) <DEMANGLE_COMPONENT_FUNCTION_TYPE>: Do
958	not pass DMGL_RET_POSTFIX or DMGL_RET_DROP.  Support DMGL_RET_DROP.
959	* testsuite/demangle-expected: New testcases for --ret-drop.
960	* testsuite/test-demangle.c: Document --ret-drop in a comment.
961	(main): New variable ret_drop, fill it, call cplus_demangle with it.
962
9632011-06-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
964
965	* cp-demangle.c (struct d_print_info): Remove field options.
966	(d_print_init): Remove parameter options.
967	(cplus_demangle_print_callback): Update all the callers.
968	(d_print_comp, d_print_mod_list, d_print_mod, d_print_function_type)
969	(d_print_array_type, d_print_expr_op, d_print_cast, d_print_subexpr):
970	Add parameter options, update all the callers.
971
9722011-04-20  Jim Meyering  <meyering@redhat.com>
973
974	* cp-demint.c (cplus_demangle_v3_components): Remove useless
975	if-before-free.
976	* cplus-dem.c (squangle_mop_up): Likewise.
977	(delete_non_B_K_work_stuff): Likewise.
978	* pex-common.c (pex_free): Likewise.
979	* pex-msdos.c (pex_msdos_cleanup): Likewise.
980	* pex-win32.c (mingw_rootify, msys_rootify): Likewise.
981	(win32_spawn): Likewise.
982	* regex.c (FREE_VAR, weak_alias): Likewise.
983	* spaces.c (spaces): Likewise.
984
9852011-04-10  Jim Meyering  <meyering@redhat.com>
986
987	Avoid memory overrun in a test leading to potential double-free.
988	* testsuite/test-expandargv.c (writeout_test): Fix off-by-one error:
989	i.e., do copy the trailing NUL byte.
990
9912011-03-31  Tristan Gingold  <gingold@adacore.com>
992
993	* makefile.vms (OBJS): Add filename_cmp.obj
994
9952011-02-28  Kai Tietz  <kai.tietz@onevision.com>
996
997	* filename_cmp.c (filename_ncmp): New function.
998	* functions.texi: Regenerated.
999
10002011-02-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1001
1002	* splay-tree.c: Escape wrapping newlines in texinfo markup
1003	with '@', to fix function declaration output rendering.
1004	* gather-docs: Relax and improve macro name matching to actually
1005	match all current names and to allow input line wrapping.
1006	* bsearch.c, concat.c, crc32.c, fnmatch.txh, fopen_unlocked.c,
1007	hashtab.c, insque.c, make-relative-prefix.c, memchr.c, memcmp.c,
1008	memcpy.c, memmem.c, memmove.c, mempcpy.c, memset.c,
1009	pexecute.txh, random.c, setenv.c, setproctitle.c,
1010	simple-object.txh, snprintf.c, stpncpy.c, strncmp.c, strtod.c,
1011	strtol.c, vasprintf.c, vprintf.c, vsnprintf.c, xmemdup.c:
1012	Wrap long texinfo input lines.
1013	* functions.texi: Regenerate.
1014
10152011-01-18  Mike Frysinger  <vapier@gentoo.org>
1016
1017	* .gitignore: New file.
1018
10192010-12-08  Doug Evans  <dje@google.com>
1020
1021	* splay-tree.c (splay_tree_foreach_helper): Remove arg `sp',
1022	all callers updated.  Rewrite to be non-recursive.
1023
10242010-11-29  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1025
1026	* setproctitle.c [HAVE_SYS_PRCTL_H]: Include <sys/types.h>.
1027
10282010-11-20  Anthony Green  <green@moxielogic.com>
1029
1030	* configure.ac: Turn PR_SET_NAME link test into a test for
1031	sys/prctl.h.
1032	* configure, config.in: Rebuilt.
1033	* setproctitle.c: Test for HAVE_SYS_PRCTL_H.
1034	(setproctitle) Test for PR_SET_NAME definition.
1035
10362010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1037
1038	PR other/46202
1039	* Makefile.in (install-strip): New phony target.
1040	(install): Also mark as phony.
1041
10422010-11-16  Ian Lance Taylor  <iant@google.com>
1043
1044	* simple-object.c (simple_object_attributes_merge): Rename from
1045	simple_object_attributes_compare.  Call merge field.
1046	* simple-object-common.h (struct simple_object_functions): Rename
1047	attributes_compare field to attribute_merge.
1048	* simple-object-elf.c (EM_SPARC): Define.
1049	(EM_SPARC32PLUS): Define.
1050	(simple_object_elf_attributes_merge): Renamed from
1051	simple_object_elf_attributes_compare.  Permit EM_SPARC and
1052	EM_SPARC32PLUS objects to be merged.
1053	(simple_object_elf_functions): Update function name.
1054	* simple-object-coff.c (simple_object_coff_attributes_merge):
1055	Rename from simple_object_coff_attributes_compare.
1056	(simple_object_coff_functions): Update function name.
1057	* simple-object-mach-o.c (simple_object_mach_o_attributes_merge):
1058	Renamed from simple_object_mach_o_attributes_compare.
1059	(simple_object_mach_o_functions): Update function name.
1060
10612010-11-16  H.J. Lu  <hongjiu.lu@intel.com>
1062
1063	PR other/42670
1064	PR binutils/11137
1065	* cp-demangle.c (d_make_demangle_mangled_name): New.
1066	(d_demangle_callback): Use it on DCT_GLOBAL_XTORS.
1067
1068	* testsuite/demangle-expected: Updated.
1069
10702010-11-14  Kai Tietz  <kai.tietz@onevision.com>
1071
1072	* simple-object-coff.c (simple_object_coff_read_strtab): Fix reading
1073	offset.
1074
10752010-11-12  Ian Lance Taylor  <iant@google.com>
1076
1077	PR other/46332
1078	* cp-demangle.c (d_print_function_type): Don't print parentheses
1079	if there are no modifiers to print.
1080	* testsuite/demangle-expected: Tweak one test case, add another.
1081
10822010-11-04  Richard Henderson  <rth@redhat.com>
1083
1084	* configure.ac (AC_CHECK_HEADERS): Add process.h.
1085	(checkfuncs): Add dup3, spawnve, spawnvpe; sort the list.
1086	(AC_CHECK_FUNCS): Add dup3, spawnve, spawnvpe.
1087	* configure, config.in: Rebuild.
1088	* pex-unix.c [HAVE_SPAWNVE] (pex_unix_exec_child): New function.
1089	[HAVE_SPAWNVE] (save_and_install_fd, restore_fd): New functions.
1090
10912010-11-02  Ian Lance Taylor  <iant@google.com>
1092	    Dave Korn  <dave.korn.cygwin@gmail.com>
1093	    Iain Sandoe  <iains@gcc.gnu.org>
1094
1095	* simple-object.c: New file.
1096	* simple-object-common.h: New file.
1097	* simple-object-elf.c: New file.
1098	* simple-object-mach-o.c: New file.
1099	* simple-object-coff.c: New file.
1100	* simple-object.txh: New file.
1101	* configure.ac: Add AC_TYPE_SSIZE_T.
1102	* Makefile.in: Rebuild dependencies.
1103	(CFILES): Add simple-object.c, simple-object-coff,
1104	simple-object-elf.c, and simple-object-mach-o.c.
1105	(REQUIRED_OFILES): Add corresponding object files.
1106	* configure: Rebuild.
1107	* config.in: Rebuild.
1108	* functions.texi: Rebuild.
1109
11102010-10-29  Ian Lance Taylor  <iant@google.com>
1111
1112	* setproctitle.c: Add space after function name in @deftypefn
1113	comment.
1114	* functions.texi: Rebuild.
1115
11162010-10-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1117
1118	* aclocal.m4 (AC_LANG_FUNC_LINK_TRY(C)): Delete.
1119	* configure: Regenerate.
1120
11212010-10-07  Andi Kleen  <ak@linux.intel.com>
1122
1123	* configure: Regenerate.
1124	* configure.ac: Turn PR_SET_NAME check into link check.
1125
11262010-10-06  Andi Kleen  <ak@linux.intel.com>
1127
1128	* Makefile.in (CFILES): Add setproctitle.
1129	(CONFIGURED_OFILES): Add setproctitle.
1130	(setproctitle): Add rule.
1131	* config.in: Regenerate.
1132	* configure: Regenerate.
1133	* configure.ac: Add checks for prctl PR_SET_NAME and setproctitle.
1134	* setproctitle.c: Add file.
1135	* functions.texi: Regenerate.
1136
11372010-09-22 Tristan Gingold  <gingold@adacore.com>
1138
1139	* cplus-dem.c (ada_demangle): Add comments.
1140	Handle stream and controlled type operations.
1141	Decoding of some uppercase letters moved before separators.
1142	* testsuite/demangle-expected: Add tests.
1143
11442010-09-10  James Lyon  <jameslyon0@googlemail.com>
1145
1146	http://sourceware.org/bugzilla/show_bug.cgi?id=11572
1147	* cp-demangle.c (d_find_pack): Add case for
1148	DEMANGLE_COMPONENT_LAMBDA.
1149	* testsuite/demangle-expected: Add regression test.
1150
11512010-09-08  Tristan Gingold  <gingold@adacore.com>
1152
1153	PR 44001
1154	* maint-tool (missing): Fix pattern for object file.
1155	(deps): Use $(objext) for object extension.
1156	* Makefile.in (objext): New variable.
1157	Replace all occurences of .o with .$(objext)
1158	Regenerate with maint-deps
1159	* configure.ac (pexecute): Set to the basename.
1160	* configure: Regenerate.
1161
11622010-08-20  Maciej W. Rozycki  <macro@codesourcery.com>
1163
1164	* pex-common.c (pex_read_err): Set stderr_pipe to -1 if a
1165	corresponding stream has been opened.
1166	(pex_free): Close pipe file descriptors corresponding to child's
1167	stdout and stderr before waiting.
1168
11692010-08-13  Nick Clifton  <nickc@redhat.com>
1170
1171	* argv.c (expandargv): Limit the number of times that response
1172	files are opened in order to prevent infinite recursion.
1173
11742010-07-21  Pascal Obry  <obry@adacore.com>
1175
1176	* make-temp-file.c (choose_tmpdir): Append a dot to P_tmpdir if needed.
1177
11782010-07-06  Ken Werner  <ken.werner@de.ibm.com>
1179
1180	* floatformat.c (floatformat_ieee_half_big): New variable.
1181	(floatformat_ieee_half_little): Likewise.
1182
11832010-06-14  Gerald Pfeifer  <gerald@pfeifer.com>
1184
1185	* libiberty.texi: Remove reference to GCC 3 and 2001 (thrice).
1186	Update copyright years.
1187	Move to GFDL 1.3.
1188
11892010-06-10  Jakub Jelinek  <jakub@redhat.com>
1190
1191	PR other/43838
1192	* cp-demangle.c (struct d_print_info): Add flush_count field.
1193	(d_print_init): Initialize it to 0.
1194	(d_print_flush): Increment it.
1195	(d_print_comp): If needed flush before appending ", ".  Only
1196	decrement dpi->len if no flushes happened during the recursive
1197	call.
1198	* testsuite/demangle-expected: Add a test for this.
1199
12002010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
1201
1202	* splay-tree.c: Update copyright years.
1203	(splay_tree_new_typed_alloc): New.
1204	(splay_tree_new_with_allocator): Use it.
1205
1206	* hashtab.c: Update copyright years.
1207	(htab_create_typed_alloc): New.
1208	(htab_create_alloc): Use it.
1209
1210	* functions.texi: Regenerate.
1211
12122010-06-03  Joern Rennecke <joern.rennecke@embecosm.com>
1213	    Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1214
1215	PR bootstrap/42798
1216	* configure.ac: Check for declaration of 'basename(char *)'.
1217	* configure: Regenerate.
1218
12192010-05-26  Kai Tietz  <kai.tietz@onevision.com>
1220
1221	* testsuite/demangle-expected: Add tests for __int128
1222	and unsigned __int128 types.
1223
12242010-05-06  Magnus Fromreide  <magfr@lysator.liu.se>
1225	    Jason Merrill  <jason@redhat.com>
1226
1227	* cp-demangle.c (cplus_demangle_builtin_types): Add nullptr.
1228	(cplus_demangle_type): Handle nullptr.
1229	* testsuite/demangle-expected: Test it.
1230
12312010-04-23  Pedro Alves  <pedro@codesourcery.com>
1232
1233	* lbasename.c (lbasename): Split into ...
1234	(unix_lbasename, dos_basename): ... these.
1235	(lbasename): ... and reimplement on top of them.
1236	* Makefile.in (lbasename.o): Add dependency on
1237	$(INCDIR)/filenames.h.
1238
12392010-04-07  Jakub Jelinek  <jakub@redhat.com>
1240
1241	* regex.c (byte_re_match_2_internal): Avoid set but not used
1242	warning.
1243
12442010-03-22  Jason Merrill  <jason@redhat.com>
1245
1246	* cp-demangle.c (d_print_mod): Use () rather than [] for vectors.
1247
12482010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1249
1250	* Makefile.in (all): Do not use exec.
1251
12522010-02-04  Tom Tromey  <tromey@redhat.com>
1253
1254	* testsuite/demangle-expected: Add missing --format=gnu-v3.
1255
12562010-02-03  Jason Merrill  <jason@redhat.com>
1257
1258	* cp-demangle.c (d_expression): Handle dependent operator name.
1259
1260	PR c++/12909
1261	* cp-demangle.c (d_number_component, d_vector_type): New.
1262	(cplus_demangle_type, d_print_comp, d_print_mod): Handle vectors.
1263
12642010-01-25  Ian Lance Taylor  <iant@google.com>
1265
1266	* cp-demangle.c (cplus_demangle_type): Check for invalid type
1267	after "DF".
1268	* testsuite/demangle-expected: Add test.
1269
12702010-01-20  Jason Merrill  <jason@redhat.com>
1271
1272	PR c++/42338
1273	* cp-demangle.c (d_print_comp): Fix array index printing.
1274
12752010-01-11  Tristan Gingold  <gingold@adacore.com>
1276
1277	* cplus-dem.c (ada_demangle): Remove prototype.
1278	(grow_vect): Removed.
1279	(ada_demangle): Rewritten.
1280	(cplus_demangle): Fix indentation.
1281	* testsuite/demangle-expected: Add tests for Ada.
1282
12832010-01-09  Ian Lance Taylor  <iant@google.com>
1284
1285	PR other/42230
1286	* cp-demangle.c (d_demangle): Return dgs.alc on success.
1287
12882010-01-04  Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1289
1290	PR target/42316
1291	* configure.ac (PICFLAG): Use -fPIC on SH hosts.
1292	* configure: Regenerate.
1293
12942009-12-07  Doug Evans  <dje@google.com>
1295
1296	* pex-unix.c (pex_unix_exec_child): Save/restore environ.
1297
12982009-11-26  Ben Elliston  <bje@au.ibm.com>
1299
1300	* configure.ac (AC_CHECK_FUNCS): Sort into alphabetic order.
1301	* configure: Regenerate.
1302
13032009-11-25  Ben Elliston  <bje@au.ibm.com>
1304
1305	* functions.texi: Rebuild.
1306
13072009-11-25  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
1308	    Ben Elliston  <bje@au.ibm.com>
1309
1310	* README: Mention changes to Makefile.in and functions.texi.
1311	* gather-docs: Mention 'make stamp-functions' in the header.
1312
13132009-11-23  Ben Elliston  <bje@au.ibm.com>
1314	    Ian Lance Taylor  <iant@google.com>
1315
1316	* pex-unix.c (pex_child_error): Improve warning avoidance by
1317	checking the results of write(3) and exiting with -2 if any write
1318	returns a negative value.
1319
13202009-11-22  Steve Ward  <planet36@gmail.com>
1321
1322	* dyn-string.c (dyn_string_append_char): Fix typo in comment.
1323
13242009-11-20  Ben Elliston  <bje@au.ibm.com>
1325
1326	* pex-unix.c (pex_child_error): Define writeerr macro to avoid
1327	unused result warnings from write(3) calls.  Undefine writeerr
1328	after all uses.
1329
13302009-10-08  Daniel Gutson  <dgutson@codesourcery.com>
1331	Daniel Jacobowitz  <dan@codesourcery.com>
1332	Pedro Alves  <pedro@codesourcery.com>
1333
1334	libiberty/
1335	* argv.c (consume_whitespace): New function.
1336	(only_whitespace): New function.
1337	(buildargv): Always use ISSPACE by calling consume_whitespace.
1338	(expandargv): Skip empty files.  Do not stop at the first empty
1339	argument (calling only_whitespace)..
1340	* testsuite/test-expandargv.c: (test_data): Test empty lines
1341	and empty arguments.
1342	(run_tests): Fix false positives due to shorter arguments.
1343
13442009-09-30  Martin Thuresson  <martint@google.com>
1345
1346	* regex.c (byte_re_match_2_internal): Split declaration and
1347	assignment to avoid -Wc++-compat warning due to goto.
1348
13492009-09-29  Jason Merrill  <jason@redhat.com>
1350
1351	* Makefile.in: Enable demangle target.
1352	* cp-demangle.c (d_lambda, d_unnamed_type, d_make_default_arg): New.
1353	(d_name, d_prefix, d_unqualified_name, d_local_name): Handle lambdas.
1354	(d_parmlist): Factor out from d_bare_function_type.
1355	(d_compact_number): Factor out from d_template_param and d_expression.
1356	(d_append_num): Factor out from d_print_comp.
1357	(d_print_comp, d_print_mod_list): Handle lambdas.
1358	* testsuite/demangle-expected: Add lambda tests.
1359
13602009-09-23  Matthew Gingell  <gingell@adacore.com>
1361
1362	* cplus-dem.c (ada_demangle): Ensure demangled is freed.
1363
13642009-09-22  Ozkan Sezer  <sezeroz@gmail.com>
1365
1366	* choose-temp.c: Include unistd.h for mingw targets.
1367
13682009-09-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1369
1370	* hashtab.c [HAVE_INTTYPES_H]: Include <inttypes.h>.
1371
13722009-09-15  Tristan Gingold  <gingold@adacore.com>
1373
1374	* config.h-vms (intptr_t): Define to compile hashtab.c
1375
13762009-09-04  Ozkan Sezer  <sezeroz@gmail.com>
1377
1378	PR target/39065
1379	* configure.ac: Replace AC_CHECK_TYPE() for intptr_t and uintptr_t
1380	with AC_TYPE_INTPTR_T and AC_TYPE_UINTPTR_T.
1381	* config.in: Regenerated.
1382	* configure: Regenerated.
1383
13842009-09-03  Ozkan Sezer  <sezeroz@gmail.com>
1385
1386	PR target/39065
1387	* configure.ac: Also check for intptr_t.
1388	* config.h.in: Regenerated.
1389	* configure: Regenerated.
1390	* hashtab.c (hash_pointer): Cast the pointer argument to intptr_t
1391	instead of of long.
1392
13932009-09-02  Tristan Gingold  <gingold@adacore.com>
1394
1395	* vmsbuild.com: Removed as unused and superceeded by makefile.vms.
1396	* makefile.vms: Ported to Itanium VMS.  Remove useless targets and
1397	dependencies.  Remove unused FORMAT variable.
1398	* configure.com: New file to create build.com DCL script for
1399	Itanium VMS or Alpha VMS.
1400
14012009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1402
1403	* configure.ac (AC_PREREQ): Bump to 2.64.
1404
14052009-08-23  H.J. Lu  <hongjiu.lu@intel.com>
1406
1407	 PR ld/10536
1408	 * Makefile.in (install-html-recursive): Removed.
1409
14102009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1411
1412	* config.in: Regenerate.
1413	* configure: Regenerate.
1414
14152009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1416
1417	* Makefile.in (AUTOCONF, configure_deps): New variables.
1418	($(srcdir)/configure): New rule, active only in maintainer mode.
1419
14202009-07-29  Douglas B Rupp  <rupp@gnat.com>
1421
1422	* make-temp-file.c (choose_tmpdir): Try standard temp logical on VMS.
1423
14242009-07-27  Douglas B Rupp  <rupp@gnat.com>
1425
1426	* pex-unix.c (vfork): Remove VMS specific definition (get from header
1427	file instead).
1428	(to_ptr32): New function.
1429	(pex_unix_exec_child): Use it.
1430
14312009-07-24  Ian Lance Taylor  <iant@google.com>
1432
1433	PR bootstrap/40854
1434	* crc32.c (xcrc32): Rename from crc32.
1435
14362009-07-24  Ian Lance Taylor  <iant@google.com>
1437
1438	* crc32.c: New file.
1439	* Makefile.in: Rebuild dependencies.
1440	(CFILES): Add crc32.c.
1441	(REQUIRED_OFILES): Add ./crc32.o.
1442	* functions.texi: Rebuild.
1443
14442009-07-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
1445
1446	* cp-demangle.c (d_print_comp <DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS>)
1447	(d_print_comp <DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS): New.
1448	(d_make_comp <DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS>)
1449	(d_make_comp <DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS): New.
1450	(d_demangle_callback): The variable type is now declared as enum.
1451	Replace parser of _GLOBAL_ symbols by a d_make_comp call.
1452
14532009-06-21  Jakub Jelinek  <jakub@redhat.com>
1454
1455	* hashtab.c (htab_traverse): Don't call htab_expand for
1456	nearly empty hashtabs with sizes 7, 13 or 31.
1457
14582009-06-16  Nick Clifton  <nickc@redhat.com>
1459
1460	PR 10197
1461	* testsuite/test-demangle.c: Rename getline to get_line to avoid
1462	conflicts with system function of the same name.
1463
14642009-05-30  Eli Zaretskii  <eliz@gnu.org>
1465
1466	* snprintf.c: Doc fix.
1467
1468	* vsnprintf.c: Doc fix.
1469
14702009-05-29  Kai Tietz  <kai.tietz@onevision.com>
1471
1472	* pex-win32.c (pex_win32_fdopenr): Set INHERIT to false.
1473
14742009-05-29  Michael Matz  <matz@suse.de>
1475
1476	* fibheap.c (fibheap_replace_key_data): Make sure we don't early
1477	out when forcing the minimum.
1478	(fibheap_delete_node): Assert that we managed to force the minimum.
1479
14802009-05-25  Tristan Gingold  <gingold@adacore.com>
1481
1482	* config.h-vms: Rewritten.  Define configure macros.
1483	Use DEC-C builtin alloca.
1484
1485	* makefile.vms (OBJS): Update list.
1486	(OPT): New variable.
1487	(CFLAGS): Update compilation flags.
1488	(libiberty.olb): Do not depend on alloca-conf.h anymore.
1489
14902009-05-19  Ian Lance Taylor  <iant@google.com>
1491	    Ben Elliston  <bje@au.ibm.com>
1492
1493	* cp-demangle.c (cplus_demangle_fill_ctor): Fix logic bug.
1494	(cplus_demangle_fill_dtor): Likewise.
1495
14962009-05-17  Julian Brown  <julian@codesourcery.com>
1497
1498	* pex-win32.c (pex_win32_exec_child): Fix logic to avoid closing
1499	standard handles (stdin, stdout, stderr) in parent.
1500
15012009-04-29  Julian Brown  <julian@codesourcery.com>
1502
1503	* pex-win32.c (pex_win32_pipe): Add _O_NOINHERIT.
1504	(pex_win32_exec_child): Ensure each process has only one handle open
1505	on pipe endpoints. Close standard input after creating child for
1506	symmetry with standard output/standard error.
1507
15082009-04-25  Eli Zaretskii  <eliz@gnu.org>
1509
1510	* Makefile.in (needed-list): Target removed (not used in GCC
1511	3.0 and later).  All references deleted.
1512	(mostlyclean): Remove references to needed.awk and needed2.awk.
1513
15142009-04-14  Eli Zaretskii  <eliz@gnu.org>
1515
1516	* configure.ac  (setobjs, msdosdjgpp): Move a-priori setting of
1517	existing and required library functions to with_target_subdir
1518	section, so that the native build does detect them at configure
1519	time.
1520	* configure: Regenerated.
1521
15222009-04-13  Ozkan Sezer  <sezeroz@gmail.com>
1523
1524	PR target/39397
1525	* pex-common.h (struct pex_obj): Store pid values as pid_t,
1526	not as long (members *children and (*wait))
1527	* pex-common.c (pex_run_in_environment): Likewise.
1528	* pex-win32.c (pex_win32_wait): Return pid_t and properly check
1529	returned pid value.
1530	* pex-djgpp.c (pex_djgpp_wait): Return pid_t.
1531	* pex-msdos.c (pex_msdos_wait): Likewise.
1532
15332009-04-07  Arnaud Patard <apatard@mandriva.com>
1534
1535	* libiberty/configure.ac: Fix Linux/MIPS matching rule.
1536	* libiberty/configure: Regenerate.
1537
15382009-03-27  Ian Lance Taylor  <iant@google.com>
1539
1540	* memmem.c: New file, from gnulib.
1541	* configure.ac: Add memmem to list of functions provided if they
1542	are not available on the host.
1543	* Makefile.in: Rebuild dependencies.
1544	(CFILES): Add memmem.c.
1545	(CONFIGURED_OFILES): Add memmem.o.
1546	* configure, config.in, functions.texi: Rebuild.
1547
15482009-03-23  Jason Merrill  <jason@redhat.com>
1549
1550	* cp-demangle.c (d_expression): Handle pack expansion.
1551	(d_find_pack): Handle DEMANGLE_COMPONENT_FUNCTION_PARAM.
1552	(d_print_subexpr): Don't wrap function parms in ().
1553	(d_print_comp) [DEMANGLE_COMPONENT_PACK_EXPANSION]: Handle
1554	not finding a pack.
1555
15562009-03-17  Jason Merrill  <jason@redhat.com>
1557
1558	* cp-demangle.c (d_make_function_param): new fn.
1559	(cplus_demangle_mangled_name): Work around abi v2 bug.
1560	(d_expr_primary): Likewise.
1561	(cplus_demangle_operators): Add alignof ops.
1562	(d_expression): Handle function parameters and conversions
1563	with other than 1 operand.
1564	(d_print_comp): Handle function parameters.  Fix bug with
1565	function used in type of function.
1566	* testsuite/demangle-expected: Update tests.
1567
15682009-02-21  Mark Mitchell  <mark@codesourcery.com>
1569
1570	* make-temp-file.c (<windows.h>): Include on Windows.
1571	(choose_tmpdir): On Windows, use GetTempPath.
1572
15732009-01-18  Dave Korn  <dave.korn.cygwin@gmail.com>
1574
1575	* configure.ac (funcs, vars, checkfuncs):  Don't munge on Cygwin,
1576	as it no longer shares libiberty object files.
1577	* configure:  Regenerated.
1578
15792009-01-07  Jason Merrill  <jason@redhat.com>
1580
1581	* cp-demangle.c (d_expression): Remove mangling for zero-op casts.
1582
15832009-01-06  Ben Elliston  <bje@au.ibm.com>
1584
1585	* cp-demangle.c (cplus_demangle_type): Return NULL if the
1586	character following a 'D' cannot be recognised.
1587
15882008-12-18  Jason Merrill  <jason@redhat.com>
1589
1590	PR c++/38561
1591	* cp-demangle.c (d_expression, d_print_comp): Revert
1592	cast changes.
1593
15942008-12-17  Jason Merrill  <jason@redhat.com>
1595
1596	* cp-demangle.c (d_expression): Handle rvalue stubs too.
1597	[DEMANGLE_COMPONENT_CAST]: Update mangling.
1598	(d_print_comp): Avoid extra ", " with empty template argument packs.
1599	Remove handling for obsolete T() mangling.
1600
16012008-12-10  Jason Merrill  <jason@redhat.com>
1602
1603	* cp-demangle.c (cplus_demangle_type): Support fixed-point types.
1604	(d_print_comp, d_dump): Likewise.
1605
16062008-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
1607
1608	* Makefile.in (CPPFLAGS): Define.
1609	(FLAGS_TO_PASS, COMPILE.c): Add CPPFLAGS.
1610
16112008-10-15  Paolo Bonzini  <bonzini@gnu.org>
1612
1613	PR bootstrap/37137
1614	* Makefile.in (LIBCFLAGS): Remove.
1615	(FLAGS_TO_PASS): Don't mention it.
1616	(COMPILE.c, MULTIOSDIR): Replace it with CFLAGS.
1617
16182008-10-08  David Edelsohn  <edelsohn@gnu.org>
1619
1620	* xstrdup.c: Include <sys/types.h> after "config.h"
1621
16222008-10-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
1623
1624	* configure.ac: Call AC_SYS_LARGEFILE.
1625	* config.in: Regenerated.
1626	* configure: Likewise.
1627
16282008-10-06  Jason Merrill  <jason@redhat.com>
1629
1630	* cp-demangle.c (struct d_print_info): Add pack_index.
1631	(d_dump): Add DEMANGLE_COMPONENT_PACK_EXPANSION.
1632	(d_make_comp): Likewise.  DEMANGLE_COMPONENT_ARGLIST and
1633	DEMANGLE_COMPONENT_TEMPLATE_ARGLIST can have two null args.
1634	(cplus_demangle_builtin_types): Add char16/32_t.
1635	(cplus_demangle_type): Recognize them.
1636	(d_template_args): Handle empty argument packs.
1637	(d_template_arg): Handle argument packs.
1638	(d_expression): Handle dependent name.
1639	(d_index_template_argument): New fn.
1640	(d_lookup_template_argument): New fn.
1641	(d_find_pack, d_pack_length): New fn.
1642	(d_print_subexpr): Split out...
1643	(d_print_comp): ...from here.  Use d_*_template_argument.
1644	Handle empty arg lists.  Support pack expansions.
1645	* cp-demangle.h (D_BUILTIN_TYPE_COUNT): Increase to 32.
1646
16472008-09-09  Jason Merrill  <jason@redhat.com>
1648
1649	* cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_DECLTYPE.
1650	(d_make_comp): Likewise.
1651	(cplus_demangle_type): Handle decltype and DFP types.
1652	(cplus_demangle_operators): Call operator takes 2 args.
1653	(cplus_demangle_builtin_types): Add DFP types.
1654	(d_exprlist): New fn.
1655	(d_expression): Handle parm placeholders, T() and calls.
1656	(d_print_comp): Handle decltype, T() and calls.
1657	* testsuite/demangle-expected: Test the above.
1658
16592008-08-07  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
1660
1661	* pex-win32.c (argv_to_argc): New function.
1662	(spawn_script): Duplicate argv before calling win32_spawn.
1663
16642008-07-31  Jakub Jelinek  <jakub@redhat.com>
1665
1666	* mkstemps.c (mkstemps): Keep looping even for EISDIR.
1667
16682008-07-31  Denys Vlasenko  <dvlasenk@redhat.com>
1669
1670	* mkstemps.c (mkstemps): If open failed with errno other than
1671	EEXIST, return immediately.
1672	* make-temp-file.c: Include errno.h.
1673	(make_temp_file): If mkstemps failed, print an error message
1674	before aborting.
1675
16762008-07-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1677
1678	* maint-tool (deps): Output config.h instead of stamp-h.
1679	* Makefile.in: Rebuild deps.
1680	(maintainer-clean-subdir): Depend on stamp-h rather than config.h.
1681	Reverts 2007-07-11 change.
1682
16832008-06-19  Eric Blake  <ebb9@byu.net>
1684
1685	Adjust strsignal to POSIX 200x prototype.
1686	* strsignal.c (strsignal): Remove const.
1687
16882008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1689
1690	* configure: Regenerate.
1691
16922008-06-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1693
1694	* libiberty.texi: Expand TABs, drop indentation outside examples.
1695	* obstacks.texi: Likewise.
1696
16972008-04-21  Aurelien Jarno  <aurelien@aurel32.net>
1698
1699	* libiberty/configure.ac: use -fPIC on Linux/MIPS hosts.
1700	* libiberty/configure: Regenerate.
1701
17022008-04-18  Kris Van Hees <kris.van.hees@oracle.com>
1703
1704	* testsuite/demangle-expected: Added tests for char16_t and char32_t.
1705
17062008-04-18  Paolo Bonzini  <bonzini@gnu.org>
1707
1708	PR bootstrap/35457
1709	* aclocal.m4: Add override.m4.
1710	* configure: Regenerate.
1711
17122008-03-31  Ian Lance Taylor  <iant@google.com>
1713
1714	* cp-demangle.c (d_substitution): Correct overflow check to avoid
1715	-fstrict-overflow optimizations.
1716
17172008-03-27  Paolo Bonzini  <bonzini@gnu.org>
1718
1719	* configure.ac (frags): Don't set, use frag instead.
1720	(PICFLAG): Set here and substitute.
1721	* Makefile.in (PICFLAG): Substitute from autoconf.
1722	* configure: Regenerate.
1723
17242008-03-24  Ian Lance Taylor  <iant@google.com>
1725
1726	* sha1.c: New file, from gnulib.
1727	* Makefile.in: Rebuild dependencies.
1728	(CFILES): Add sha1.c.
1729	(REQUIRED_OFILES): Add sha1.o.
1730
17312008-03-24  Doug Evans  <dje@google.com>
1732
1733	* make-relative-prefix.c (make_relative_prefix_1): Handle NULL
1734	return from strdup.
1735
17362008-03-12  Seongbae Park <seongbae.park@gmail.com>
1737
1738	* cplus-dem.c (malloc, realloc): Use void * instead of char *
1739	as return type.
1740
17412008-03-11  Nick Clifton  <nickc@redhat.com>
1742
1743	* md5.c (md5_process_bytes): Do not assume that memcpy will
1744	provide a return value.
1745
17462008-02-19  Ben Elliston  <bje@au.ibm.com>
1747
1748	PR other/12618
1749	* testsuite/Makefile.in (mostlyclean): Remove any core file.
1750
17512008-01-26  David Daney  <ddaney@avtrex.com>
1752
1753	* cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
1754	DEMANGLE_COMPONENT_COMPOUND_NAME, and
1755	DEMANGLE_COMPONENT_CHARACTER cases.
1756	(d_make_comp): Handle DEMANGLE_COMPONENT_COMPOUND_NAME and
1757	DEMANGLE_COMPONENT_JAVA_RESOURCE cases.
1758	(d_make_character): New function.
1759	(d_java_resource): Same.
1760	(d_special_name): Handle "Gr" case.
1761	(d_print_comp): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
1762	DEMANGLE_COMPONENT_COMPOUND_NAME, and
1763	DEMANGLE_COMPONENT_CHARACTER cases.
1764	* testsuite/demangle-expected: Add test for java resource name
1765	mangling.
1766
17672008-01-23  Thiago Jung Bauermann  <bauerman@br.ibm.com>
1768
1769	* cplus-dem.c (demangle_function_name): Changed to return value
1770	indicating if a name was correctly demangled.
1771	(iterate_demangle_function): Use demangle_function_name return
1772	value.
1773
17742008-01-19  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
1775
1776	PR other/33768
1777	* splay-tree.c (rotate_left): Fix minor typo in comment.
1778	(rotate_right): Likewise.
1779
17802007-11-12  Joseph Myers  <joseph@codesourcery.com>
1781
1782	* floatformat.c (floatformat_ibm_long_double_is_valid): Fix
1783	compiler warnings.
1784	(floatformat_ibm_long_double): Use
1785	floatformat_ibm_long_double_is_valid.
1786
17872007-11-07  Joseph Myers  <joseph@codesourcery.com>
1788	    Daniel Jacobowitz  <dan@codesourcery.com>
1789
1790	* floatformat.c (mant_bits_set): New.
1791	(floatformat_to_double): Use it.  Note no special handling of
1792	split formats.
1793	(floatformat_from_double): Note no special handing of split
1794	formats.
1795	(floatformat_ibm_long_double_is_valid,
1796	floatformat_ibm_long_double): New.
1797	(floatformat_ieee_single_big, floatformat_ieee_single_little,
1798	floatformat_ieee_double_big, floatformat_ieee_double_little,
1799	floatformat_ieee_double_littlebyte_bigword, floatformat_vax_f,
1800	floatformat_vax_d, floatformat_vax_g, floatformat_i387_ext,
1801	floatformat_m68881_ext, floatformat_i960_ext,
1802	floatformat_m88110_ext, floatformat_m88110_harris_ext,
1803	floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword,
1804	floatformat_ia64_spill_big, floatformat_ia64_spill_little,
1805	floatformat_ia64_quad_big, floatformat_ia64_quad_little): Update
1806	for addition of split_half field.
1807
18082007-09-06  Tom Tromey  <tromey@redhat.com>
1809
1810	* pexecute.txh (pex_free): Document process killing.
1811
18122007-08-31  Douglas Gregor  <doug.gregor@gmail.com>
1813
1814	* cp-demangle.c (d_dump): Handle
1815	DEMANGLE_COMPONENT_RVALUE_REFERENCE.
1816	(d_make_comp): Ditto.
1817	(cplus_demangle_type): Ditto.
1818	(d_print_comp): Ditto.
1819	(d_print_mod): Ditto.
1820	(d_print_function_type): Ditto.
1821
18222007-08-24  Kai Tietz  <kai.tietz@onevision.com>
1823
1824	* pex-common.h: (pex_funcs): Retyped wait and exec_child to pid_t.
1825	* pex-djgpp.c: Likewise.
1826	* pex-msdos.c: Likewise.
1827	* pex-unix.c: Likewise.
1828	* pex-win32.c: Likewise.
1829
18302007-08-17  Michael Snyder  <msnyder@access-company.com>
1831
1832	* make-relative-prefix.c (make_relative_prefix_1): Resource leaks.
1833
18342007-08-03  Michael Snyder  <msnyder@access-company.com>
1835
1836	* make-relative-prefix.c (make_relative_prefix_1): Fix resource
1837	leak.
1838
18392007-07-31  Michael Snyder  <msnyder@access-company.com>
1840
1841	* cp-demangle.c (d_print_comp): Guard against null.
1842
18432007-07-25  Ben Elliston  <bje@au.ibm.com>
1844
1845	* Makefile.in (CFILES): Remove ternary.c.
1846	(REQUIRED_OFILES): Remove ./ternary.o.
1847	(INSTALLED_HEADERS): Remove ternary.h.
1848	(ternary.o): Remove.
1849	* ternary.c: Remove.
1850
18512007-07-23  DJ Delorie  <dj@redhat.com>
1852
1853	* argv.c (writeargv): Fix typo in inline documentation.
1854	* functions.texi: Regenerate.
1855
18562007-07-17  DJ Delorie  <dj@redhat.com>
1857
1858	* configure.ac (target_header_dir, msdosdjgpp): Remove duplicate
1859	gettimeofday entry.
1860	* configure: Likewise.
1861
18622007-07-11  Alexandre Oliva  <aoliva@redhat.com>
1863
1864	* maint-tool (deps): Output stamp-h instead of config.h.
1865	* Makefile.in: Rebuild deps.
1866	(maintainer-clean-subdir): Depend on stamp-h rather than config.h.
1867
18682007-07-02  Simon Baldwin <simonb@google.com>
1869
1870	* argv.c (writeargv): Removed declaration of unused variable.
1871
18722007-06-14  Paolo Bonzini  <bonzini@gnu.org>
1873
1874	* configure.ac: Use ACX_PROG_CC_ALMOST_PEDANTIC too.
1875	* configure: Regenerate.
1876
18772007-06-14  Paolo Bonzini  <bonzini@gnu.org>
1878
1879	* aclocal.m4: Include config/warnings.m4.
1880	* configure.ac: Use ACX_PROG_CC_WARNING_OPTS.
1881	* configure: Regenerate.
1882
18832007-06-07  Geoffrey Keating  <geoffk@apple.com>
1884
1885	* configure.ac: Non-default multilibs can be cross compilations.
1886	* configure: Regenerate
1887
18882007-05-07  Nathan Froyd  <froydnj@codesourcery.com>
1889
1890	* argv.c (writeargv): New function.
1891
18922007-05-05  Geoffrey Keating  <geoffk@apple.com>
1893
1894	* cp-demangle.c (d_name): Detect local-source-name.
1895	(d_prefix): Likewise.
1896	(d_unqualified_name): Implement local-source-name.
1897
18982007-05-03  Joel Brobecker  <brobecker@adacore.com>
1899
1900	* filename_cmp.c: Replace include of ctype.h by include of
1901	safe-ctype.h.
1902	(filename_cmp): Use TOLOWER instead of tolower for conversions
1903	that are locale-independent.
1904	* Makefile.in (filename_cmp.o): Add dependency on safe-ctype.h.
1905
19062007-04-11  Thomas Neumann  tneumann@users.sourceforge.net
1907
1908	* argv.c: Use ANSI C declarations.
1909	* make-relative-prefix.c: Likewise.
1910
19112007-04-06  Joel Brobecker  <brobecker@adacore.com>
1912
1913	* filename_cmp.c (filename_cmp): Improve documentation.
1914
19152007-04-02  Andreas Schwab  <schwab@suse.de>
1916
1917	* filename_cmp.c: Include "config.h".
1918
19192007-03-29  Joel Brobecker  <brobecker@adacore.com>
1920
1921	* filename_cmp.c: New file.
1922	* Makefile.in (CFILES): Add filename_cmp.c.
1923	(REQUIRED_OFILES): Add filename_cmp.o
1924	(filename_cmp.o): New rule.
1925	* functions.texi: Regenerate.
1926
19272007-03-15  Geoffrey Keating  <geoffk@apple.com>
1928
1929	* cp-demangle.c (d_encoding): Exit early on error.
1930	(d_pointer_to_member_type): Exit early if cplus_demangle_type
1931	returns NULL.
1932	(cplus_demangle_type): Likewise.
1933	* testsuite/demangle-expected: New testcase.
1934
19352007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
1936
1937	* Makefile.in: Add install-pdf target as copied from
1938	automake v1.10 rules.
1939	* testsuite/Makefile.in: Add dummy install-pdf target.
1940
19412007-03-01  Peter Breitenlohner  <peb@mppmu.mpg.de>
1942	    Eric Botcazou  <ebotcazou@libertysurf.fr>
1943
1944	PR other/16513
1945	* Makefile.in: Install library under $(MULTIOSDIR), not $(MULTISUBDIR).
1946	Install headers in multilib independent location.
1947
19482007-02-26  DJ Delorie  <dj@redhat.com>
1949
1950	* configure.ac: add djgpp-specific results, so we don't have to
1951	link during a cross compilation.
1952	* configure: Regenerated.
1953
19542007-01-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1955
1956	* hex.c: Fix typo.
1957	* choose-temp.c: Likewise.
1958	* functions.texi: Regenerate.
1959
19602007-01-31  Vladimir Prus  <vladimir@codesourcery.com>
1961
1962	* pex-common.h (struct pex_obj): New fields
1963	stderr_pipe and read_err.
1964	* pex-common.c (pex_init_common): Initialize
1965	stderr_pipe.
1966	(pex_run_in_environment): Add error checking
1967	for PEX_STDERR_TO_PIPE.  Create a pipe
1968	for stderr if necessary.
1969	(pex_read_err): New.
1970	(pex_free): Close read_err.
1971	* pexecute.txh: Document changes.
1972	* functions.texi: Regenerated.
1973
19742007-01-31  Ben Elliston  <bje@au.ibm.com>
1975
1976	* strsignal.c (psignal): Change type of signo to int.
1977	* functions.texi: Regenerate.
1978
19792007-01-29  Simon Baldwin <simonb@google.com>
1980
1981	* cp-demangle.h (cplus_demangle_operators): External definition
1982	suppressed if not building for libstdc++.
1983	* cp-demangle.c (__gcclibcxx_demangle_callback): Augmented interface
1984	to demangling, provides a malloc-less version of __cxa_demangle.
1985	(cplus_demangle_print_callback): Public callback version of
1986	cplus_demangle_print.
1987	(struct d_growable_string): New growable string structure.
1988	(d_growable_string_init): New function, provides support for
1989	growable strings separate from print info.
1990	(d_growable_string_resize): Likewise.
1991	(d_growable_string_append_buffer): Likewise.
1992	(d_growable_string_callback_adapter):): Likewise.
1993	(d_print_init): New print info initialization function.
1994	(d_print_error): Macro replace by inline function.
1995	(d_print_saw_error): Likewise.
1996	(d_append_char): Likewise.
1997	(d_append_buffer): Likewise.
1998	(d_append_string): New inline function, replaces the
1999	d_append_string_constant macro.
2000	(d_flush_buffer): New function, flushes buffer to callback.
2001	(d_demangle_callback, is_ctor_or_dtor): Malloc-based fallback
2002	for unsupported dynamic arrays replaced by alloca().
2003	(d_demangle): Return string length estimating removed.
2004	(d_dump): Moved error case handling from call site into function.
2005	(d_print_resize): Function removed.
2006	(d_print_append_char): Likewise.
2007	(d_print_append_buffer): Likewise.
2008	(d_print_error): Likewise.
2009	(d_print_comp): Added special case handling for Java arrays.
2010	(java_demangle_v3): Removed string post-processing for Java arrays,
2011	now replaced by special case handling in d_print_comp.
2012	(cplus_demangle_v3_callback): Augmented interface to demangling,
2013	provides a malloc-less version of cplus_demangle_v3.
2014	(java_demangle_v3_callback): Augmented interface to demangling,
2015	provides a malloc-less version of java_demangle_v3.
2016
20172007-01-12  Ben Elliston  <bje@au.ibm.com>
2018
2019	* pex-unix.c (writeerr): Cast write result to void.
2020
2021	* choose-temp.c (choose_temp_base): Check the result of the call
2022	to mktemp rather than testing the length of the modified string.
2023
20242006-12-20  Geoffrey Keating  <geoffk@apple.com>
2025
2026	* cp-demangle.h: Add comment explaining what to do to avoid
2027	overrunning string.
2028	(d_check_char): New.
2029	(d_next_char): Don't advance past trailing '\0'.
2030	* cp-demangle.c (cplus_demangle_mangled_name): Use d_check_char.
2031	(d_nested_name): Likewise.
2032	(d_special_name): Likewise.
2033	(d_call_offset): Likewise.
2034	(d_function_type): Likewise.
2035	(d_array_type): Likewise.
2036	(d_pointer_to_member_type): Likewise.
2037	(d_template_param): Likewise.
2038	(d_template_args): Likewise.
2039	(d_template_arg): Likewise.
2040	(d_expr_primary): Likewise.
2041	(d_local_name): Likewise.
2042	(d_substitution): Likewise.
2043	(d_ctor_dtor_name): Use d_advance rather than d_next_char.
2044	* testsuite/test-demangle.c: Include sys/mman.h.
2045	(MAP_ANONYMOUS): Define.
2046	(protect_end): New.
2047	(main): Use protect_end.
2048	* testsuite/demangle-expected: Add testcases for overrunning
2049	the end of the string.
2050
20512006-11-30  Andrew Stubbs  <andrew.stubbs@st.com>
2052	    J"orn Rennecke <joern.rennecke@st.com>
2053
2054	PR driver/29931
2055	* make-relative-prefix.c (make_relative_prefix_1): New function,
2056	broken out of make_relative_prefix.  Make link resolution dependent
2057	on new parameter.
2058	(make_relative_prefix): Use make_relative_prefix_1.
2059	(make_relative_prefix_ignore_links): New function.
2060
20612006-11-08  Vladimir Prus  <vladimir@codesourcery.com>
2062
2063	* pex-win32.c (no_suffixes): Remove.
2064	(std_suffixes): Add "" as first element.
2065	(find_executable): Remove detection of already-present
2066	extension. Try all suffixes in std_suffixes.
2067
20682006-11-07  Julian Brown  <julian@codesourcery.com>
2069
2070	* floatformat.c (get_field): Fix segfault with little-endian word
2071	order on 64-bit hosts.
2072	(put_field): Likewise.
2073	(min): Move definition.
2074
20752006-10-26  Danny Smith  <dannysmith@users.sourceforge.net>
2076
2077	pex-win32.c (argv_to_cmdline): Replace xmalloc with XNEWVEC.
2078	(find_executable): Likewise.
2079	(win32_spawn): Cast alloca return to (char**).
2080	Replace malloc with XNEWVEC.
2081	bcopy.c (bcopy): Add explict casts in assignments.
2082
20832006-10-25  Ben Elliston  <bje@au.ibm.com>
2084
2085	* pexecute.txh: Wrap pexecute's "flag" argument with @var {..}.
2086
20872006-10-10  Brooks Moses  <bmoses@stanford.edu>
2088
2089	* Makefile.in: Added "pdf", "libiberty.pdf" target support.
2090	* testsuite/Makefile.in: Added empty "pdf" target.
2091
20922006-09-22  Ian Lance Taylor  <ian@airs.com>
2093
2094	PR other/29176
2095	* cp-demangle.c (d_substitution): Check for overflow when
2096	computing substitution index.
2097
20982006-08-30  Corinna Vinschen  <corinna@vinschen.de>
2099
2100	* configure.ac: Add case for Mingw as host.
2101	* configure: Regenerate.
2102
21032006-08-27  Ian Lance Taylor  <ian@airs.com>
2104
2105	PR driver/27622
2106	* pex-common.h (struct pex_funcs): Add toclose parameter to
2107	exec_child field.
2108	* pex-common.c (pex_run_in_environment): Pass toclose to
2109	exec_child.
2110	* pex-djgpp.c (pex_djgpp_exec_child): Add toclose parameter.
2111	* pex-unix.c (pex_unix_exec_child): Likewise.
2112	* pex-msdos.c (pex_msdos_exec_child): Likewise.
2113	* pex-win32.c (pex_win32_exec_child): Likewise.
2114
2115	PR other/28797
2116	* cp-demangle.c (d_pointer_to_member_type): Do add a substitution
2117	for a qualified member which is not a function.
2118	* testsuite/demangle-expected: Add test case.
2119
21202006-07-27  Jan Hubicka  <jh@suse.cz>
2121
2122	PR rtl-optimization/28071
2123	* hashtab.c (htab_empty): Clear out n_deleted/n_elements;
2124	downsize the hashtable.
2125
21262006-07-04  Peter O'Gorman  <peter@pogma.com>
2127
2128	* Makefile.in: chmod 644 before ranlib during install.
2129
21302006-06-02  Mark Shinwell  <shinwell@codesourcery.com>
2131
2132	* pex-unix.c (pex_unix_exec_child): Insert cast when assigning
2133	to environ.
2134
21352006-06-01  Mark Shinwell  <shinwell@codesourcery.com>
2136
2137	* pex-common.c: New function pex_run_in_environment.
2138	* pex-common.h: Add environment parameter to exec_child.
2139	* pex-msdos.c: Add environment parameter to pex_msdos_exec_child.
2140	* pex-djgpp.c: Add environment parameter to pex_djgpp_exec_child.
2141	(pex_djgpp_exec_child): Pass environment to child process.
2142	* pex-unix.c: Add environment parameter to pex_unix_exec_child.
2143	(pex_unix_exec_child): Pass environment to child process.
2144	* pex-win32.c: Add environment parameter to pex_win32_exec_child.
2145	New function env_compare for comparing VAR=VALUE pairs.
2146	(win32_spawn): Assemble environment block and pass to CreateProcess.
2147	(spawn_script): Pass environment through to win32_spawn.
2148	(pex_win32_exec_child): Pass environment through to spawn_script and
2149	win32_spawn.
2150	* functions.texi: Regenerate.
2151	* pexecute.txh: Document pex_run_in_environment.
2152
21532006-05-28  Mark Shinwell  <shinwell@codesourcery.com>
2154
2155	* mkstemps.c: Open temporary files in binary mode.
2156
21572006-05-12  Anton Blanchard  <anton@samba.org>
2158
2159	* cplus-dem.c (demangle_fund_type): Ensure buf is large enough to
2160	hold "int%u_t".
2161
21622006-04-24  Julian Brown  <julian@codesourcery.com>
2163
2164	* floatformat.c (floatformat_to_double): Fix (biased) exponent=0 case.
2165
21662006-03-29  Jim Blandy  <jimb@codesourcery.com>
2167
2168	* pex-common.c (pex_input_file, pex_input_pipe): New functions.
2169	(pex_init_common): Initialize obj->input_file.
2170	(pex_run): Close any file opened by pex_input_file.
2171	* pexecute.txh (pex_input_file, pex_input_pipe): New docs.
2172	* pex-common.h (struct pex_obj): New field input_file.
2173	(struct pex_funcs): New function ptr fdopenw.
2174	* pex-unix.c (pex_unix_fdopenw): New function.
2175	(funcs): List it as our fdopenw function.
2176	* pex-win32.c (pex_win32_fdopenw): New function.
2177	(funcs): List it as our fdopenw function.
2178	* pex-djgpp.c (funcs): Leave fdopenw null.
2179	* pex-msdos (funcs): Same.
2180	* functions.texi: Regenerated.
2181
21822006-04-10  Jim Blandy  <jimb@codesourcery.com>
2183
2184	* pex-common.c (temp_file): New function, containing guts of
2185	pex-style temporary file name generation.
2186	(pex_run): Use it.
2187
21882006-04-06  Carlos O'Donell  <carlos@codesourcery.com>
2189
2190	* Makefile.in: Add install-html, install-html-am, and
2191	install-html-recursive targets. Define mkdir_p and
2192	NORMAL_INSTALL.
2193	* configure.ac: AC_SUBST datarootdir, docdir, htmldir.
2194	* configure: Regenerate.
2195	* testsuite/Makefile.in: Add install-html and html targets.
2196
21972006-03-31  Mark Mitchell  <mark@codesourcery.com>
2198
2199	* pex-win32.c (<errno.h>): Include.
2200	(fix_argv): Remove.
2201	(argv_to_cmdline): New function.
2202	(std_suffixes): New variable.
2203	(no_suffixes): Likewise.
2204	(find_executable): New function.
2205	(win32_spawn): Likewise.
2206	(spawn_script): Use win32_spawn instead of _spawnv[p].
2207	(pex_win32_exec_child): Replace MSVCRT calls with Win32 API calls.
2208	(pex_win32_wait): Likewise.
2209
22102006-03-24  Jim Blandy  <jimb@codesourcery.com>
2211
2212	* pex-common.c (pex_run): Simplify output name handling.
2213
22142006-03-12  Jim Blandy  <jimb@red-bean.com>
2215
2216	* pex-common.h (struct pex_obj): Doc fixes.
2217
22182006-03-11  Jim Blandy  <jimb@red-bean.com>
2219
2220	* functions.texi: Regenerate.
2221
22222006-02-21  Ben Elliston  <bje@au.ibm.com>
2223
2224	* pexecute.c (pwait): Syntax fix for previous change.
2225
22262006-02-17  Uttam Pawar  <uttamp@us.ibm.com>
2227
2228	* pexecute.c (pwait): Free vector pointer.
2229	* partition.c (partition_print): Free class_elements pointer.
2230
22312006-02-11  Roger Sayle  <roger@eyesopen.com>
2232	    R. Scott Bailey  <scott.bailey@eds.com>
2233	    Bill Northcott  <w.northcott@unsw.edu.au>
2234
2235	PR bootstrap/16787
2236	* floatformat.c: Include <float.h> where available.
2237	(NAN): Use value of DBL_QNAN if defined, and NAN isn't.
2238
22392006-01-29  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2240
2241	* configure.ac: Add -Wc++-compat to ac_libibety_warn_cflags where
2242	supported.
2243	* configure: Regenerated.
2244
22452006-01-20  Carlos O'Donell  <carlos@codesourcery.com>
2246
2247	* testsuite/Makefile.in: Add test-expandargv test.
2248	* testsuite/test-expandargv.c: New test.
2249	* argv.c (expandargv): Check for errors with ferror,
2250	rather than just by looking at return value from fread.
2251
22522005-12-17  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2253
2254	* floatformat.c (floatformat_i387_ext_is_valid): Use explicit cast
2255	to convert from "from".
2256	(floatformat_to_double): Likewise.
2257	(floatformat_from_double): Use explicit cast to convert from "to".
2258
22592005-12-10  Terry Laurenzo  <tlaurenzo@gmail.com>
2260
2261	PR java/9861
2262	* cp-demangle.c (d_bare_function_type): Recognize new 'J' qualifer
2263	and include return type when found.
2264	(d_print_comp)[DEMANGLE_COMPONENT_FUNCTION_TYPE]: Add
2265	conditional logic to change printing order of return type.when
2266	the DMGL_RET_POSTFIX option is present.
2267	(java_demangle_v3): Add DMGL_RET_POSTFIX option to d_demangle
2268	call.
2269	* testsuite/test-demangle.c (main): Recognize option --ret-postfix
2270	* testsuite/demangle-expected: Test cases to verify extended encoding.
2271	Updated comment to document --ret-postfix option.
2272
22732005-11-06  Richard Guenther  <rguenther@suse.de>
2274
2275	* splay-tree.c (rotate_left): New function.
2276	(rotate_right): Likewise.
2277	(splay_tree_splay_helper): Remove.
2278	(splay_tree_splay): Re-implement.
2279
22802005-10-31  Mark Kettenis  <kettenis@gnu.org>
2281
2282	* floatformat.c (floatformat_vax_aingle, floatformat_vax_double):
2283	New variables.
2284
22852005-10-07  Mark Mitchell  <mark@codesourcery.com>
2286
2287	* at-file.texi: Fix typo.
2288
22892005-10-03  Mark Mitchell  <mark@codesourcery.com>
2290
2291	* at-file.texi: New file.
2292
22932005-09-27  Mark Mitchell  <mark@codesourcery.com>
2294
2295	* argv.c (expandargv): Do not use xmalloc_failed.
2296
22972005-09-26  Mark Mitchell  <mark@codesourcery.com>
2298
2299	* argv.c (safe-ctype.h): Include it.
2300	(ISBLANK): Remove.
2301	(stdio.h): Include.
2302	(buildargv): Use ISSPACE instead of ISBLANK.
2303	(expandargv): New function.
2304	* Makefile.in: Regenerated.
2305
23062005-09-14  Christopher Faylor  <cgf@timesys.com>
2307
2308	* pex-win32.c: Include "windows.h".
2309	(backslashify): New function.
2310	(fix_argv): Use backslashify to convert path to windows format.
2311	Allocate one more place in new argv for potential executable from '#!'
2312	parsing.
2313	(tack_on_executable): New function.  Conditional on USE_MINGW_MSYS
2314	(openkey): Ditto.
2315	(mingw_rootify): Ditto.
2316	(msys_rootify): Ditto.
2317	(spawn_script): New function.
2318	(pex_win32_exec_child): Save translated argv in newargv.  Pass to
2319	spawn_script if spawnv* fails.
2320	(main): New function.  Conditional on MAIN.  Useful for testing.
2321
23222005-08-17  Mark Kettenis  <kettenis@gnu.org>
2323
2324	* floatformat.c (floatformat_always_valid): Change type of last
2325	argument to `void *'.
2326	(floatformat_i387_ext_is_valid): Likewise.
2327	(floatformat_to_double): Change type of second argument to `const
2328	void *'.
2329	(floatformat_from_double): Change type of last argument to `void
2330	*'.
2331	(floatformat_is_valid): Change type of last argument to `const
2332	void *'.
2333	(ieee_test): Remove redundant casts.
2334
23352005-08-17  Kelley Cook  <kcook@gcc.gnu.org>
2336
2337	* strverscmp.c: Update FSF address.
2338	* testsuite/Makefile.in: Likewise.
2339	* testsuite/test-demangle.c: Likewise.
2340	* testsuite/test-pexecute.c: Likewise.
2341
23422005-07-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2343
2344	* getopt.c: Include ansidecl.h before system headers.
2345
23462005-07-22  Ben Elliston  <bje@gnu.org>
2347
2348	* getopt.c: Include "ansidecl.h".
2349	(_getopt_initialize): Mark argc and argv parameters as unused.
2350
23512005-07-22  Ben Elliston  <bje@gnu.org>
2352
2353	* regex.c (regcomp): Change type of `i' from unsigned to int.
2354
23552005-07-22  Ben Elliston  <bje@gnu.org>
2356
2357	Recover patch lost in the sourceware repository:
2358	2005-07-09  Ben Elliston  <bje@au.ibm.com>
2359	* memcpy.c: Remove ANSI_PROTOTYPES conditional code.
2360	* memmove.c: Likewise.
2361	* objalloc.c: Likewise.
2362
23632005-07-22  Ben Elliston  <bje@gnu.org>
2364
2365	* configure.ac: Check for a getopt(3) declaration.
2366	* configure, config.in: Regenerate.
2367
23682005-07-15  Ben Elliston  <bje@au.ibm.com>
2369
2370	* regex.c (TRANSLATE): Cast rhs of ternary expression to char.
2371
23722005-07-12  Ben Elliston  <bje@au.ibm.com>
2373
2374	* floatformat.c (floatformat_to_double): Add a comment about a
2375	potential source of warnings when compiling this file.
2376
23772005-07-12  Ben Elliston  <bje@au.ibm.com>
2378
2379	* pexecute.c (pexecute): Cast string litrals to char *.
2380	* regex.c (re_comp): Cast a call to gettext() to char *.
2381
23822005-07-07  Kelley Cook  <kcook@gcc.gnu.org>
2383
2384	* config.table: Delete file.  Move former contents into ...
2385	* configure.ac: ... here and escape any brackets for m4.
2386	* Makefile.in (config.status): Remove dependency on config.table.
2387	* configure: Regenerate.
2388
23892005-07-07  Kelley Cook  <kcook@gcc.gnu.org>
2390
2391	* config.in: Regenerate for 6/20 change.
2392
23932005-07-03  Steve Ellcey  <sje@cup.hp.com>
2394
2395	PR other/13906
2396	* md5.c (md5_process_bytes): Check alignment.
2397
23982005-07-01  Ian Lance Taylor  <ian@airs.com>
2399
2400	PR other/22268
2401	* cp-demangle.c (d_expr_primary): Don't run off the end of the
2402	string while looking for the end of a literal value.
2403	* testsuite/demangle-expected: Add test case.
2404
24052005-06-30  Daniel Berlin  <dberlin@dberlin.org>
2406
2407	* hashtab.c (EMPTY_ENTRY): Moved and renamed.
2408	(DELETED_ENTRY): Ditto.
2409
24102005-06-20  Geoffrey Keating  <geoffk@apple.com>
2411
2412	* strverscmp.c: New.
2413	* Makefile.in (CFILES): Add strverscmp.c.
2414	(CONFIGURED_OFILES): Add strverscmp.o.
2415	(strverscmp.o): New rule.
2416	(stamp-functions): Add $(srcdir) to files in source directory.
2417	* configure.ac (funcs): Add strverscmp.
2418	(AC_CHECK_FUNCS): Add strverscmp.
2419	* configure: Regenerate.
2420	* functions.texi: Regenerate.
2421
24222005-05-28  Eli Zaretskii  <eliz@gnu.org>
2423
2424	* configure.ac: Add snprintf and vsnprintf to AC_CHEK_DECLS.
2425	* config.in, configure: Regenerate.
2426
24272005-05-25  Richard Henderson  <rth@redhat.com>
2428
2429	* cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_HIDDEN_ALIAS.
2430	(d_make_comp, d_print_comp): Likewise.
2431	(d_special_name): Generate one.
2432	* testsuite/demangle-expected: Add a hidden alias test.
2433
24342005-05-24  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2435
2436	* configure.ac: Check declarations for calloc(), getenv(),
2437	malloc(), realloc() and sbrk().
2438	* config.in: Regenerate.
2439	* configure: Likewise.
2440
2441	* alloca.c (C_alloca): Change "new" to "new_storage".  Use XNEWVEC
2442	instead of xmalloc.
2443	* choose-temp.c (choose_temp_base): Use XNEWVEC instea od xmalloc.
2444	* concat.c (liiberty_concat_ptr): Surround definition with an
2445	extern "C" block, if __cplusplus.
2446	(concat): Use XNEWVEC instead of xmalloc.
2447	(reconcat): Likewise.
2448	* cp-demangle.c (struct d_print_template): Rename member
2449	"template" to "template_decl".  Adjust use throughout the file.
2450	(d_print_resize): Properly cast return value of realloc().
2451	(cplus_demangle_print): Same for malloc().
2452	(d_demangle): Likewise.
2453	* cp-demint.c (cplus_demangle_fill_builtin_type): Rename parameter
2454	"typename" to "type_name".
2455	* cplus-dem.c (grow_vect): Use XRESIZEVEC instead of xrealloc().
2456	(work_stuff_copy_to_from): Use XNEWVEC insteand of xmalloc().
2457	(demangle_template_value_parm): Likewise.
2458	(demangle_template): Likewise.
2459	(recursively_demangle): Likewise.
2460	(do_hpacc_template_literal): Likewise.
2461	(do_arg): Likewise.
2462	(remember_type): Likewise.
2463	(remember_Ktype): Likewise.
2464	(register_Btype): Likewise.
2465	(string_need): Use XRESIZEVEC instead of xrealloc().
2466	* dyn-string.c (dyn_string_init): Use XNEWVEC.
2467	(dyn_string_new): Use XNEW.
2468	(dyn_string_resize): Use XRESIZEVEC.
2469	* fnmatch.c (fnmatch): Rename local variable "not" to "negate".
2470	* getopt.c (getenv): Declare only if !__cplusplus and !getenv.
2471	Otherwise include <stdlib.h>.
2472	(exchange): Cast return value of malloc().
2473	* hashtab.c (htab_size): Define as both macro and non-inline
2474	function.
2475	(htab_elements): Likewise.
2476	* getpwd.c (getpwd): Use XNEWVEC.
2477	(htab_create_alloc_ex): Use C90 prototype-style.
2478	* lrealpath.c (lrealpath): Appropriately cast return value of
2479	malloc().
2480	* make-relative-prefix.c (save_string): Likewise.
2481	* make-temp-file.c (try_dir): Rename from "try".  Adjust use in
2482	the file.
2483	(choose_tmpdir): Use XNEWVEC.
2484	* mkstemps.c (mkstemps): Rename parameter "template" to "pattern".
2485	* pex-common.c (pex_init_common): Use XNEW.
2486	(pex_add_remove): Use XRESIZEVEC.
2487	(pex_run): Likewise.
2488	(pex_get_status_and_time): Likewise.
2489	* pex-djgpp.c (pex_djgpp_exec_child): Likewise.
2490	* pex-msdos.c (pex_init): Use XNEW.
2491	(pex_msdos_exec_child): Likewise.
2492	(pex_msdos_exec_child): Use XRESIZEVEC.
2493	* pex-unix.c (pex_wait): Use XNEW.
2494	* pex-win32.c (fix_argv): Use XNEWVEC.
2495	* pexecute.c (pwait): Likewise.
2496	* setenv.c (setenv): Properly cast return value of malloc().
2497	* sigsetmask.c (sigsetmask): Rename local variables "old" and
2498	"new" to "old_sig" and "new_sig".
2499	* sort.c (main): Use XNEWVEC.
2500	* spaces.c (spaces): Cast return value of malloc().
2501	* strndup.c (strndup): Likewise.
2502	* ternary.c (ternary_insert): Use XNEW.
2503	* xmalloc.c (malloc, realloc, calloc, sbrk): Surround declaration
2504	with an extern "C" block if __cplusplus.
2505	* xstrdup.c (xstrdup): Cast return value of memcpy().
2506	* xstrerror.c (strerror): Enclose declaration in an extern "C"
2507	block if __cplusplus.
2508	* xstrndup.c (xstrndup): Use XNEW. Cast return value of memcpy().
2509
25102005-05-16  Andreas Jaeger  <aj@suse.de>
2511
2512	* getpwd.c: Remove unneeded prototype getcwd and move getwd so
2513	that it's only declared if needed.
2514
2515	* getopt1.c: Change order of includes so that __GNU_LIBRARY__ is
2516	defined.
2517
25182005-05-15  Andreas Jaeger  <aj@suse.de>
2519
2520	* functions.texi: Regenerated.
2521
25222005-05-15  Eli Zaretskii  <eliz@gnu.org>
2523
2524	* pexecute.txh: Enclose multi-word data types in @deftypefn in
2525	braces.  Minor wording fixes.  Use --- for em-dash.  Use
2526	@enumerate in enumerated lists.
2527
2528	* fopen_unlocked.c: Enclose multi-word data types in @deftypefn in
2529	braces.
2530
25312005-05-11  Eli Zaretskii  <eliz@gnu.org>
2532
2533	* pex-djgpp.c: Include string.h, fcntl.h, unistd.h, and
2534	sys/stat.h.
2535	(pex_init): Fix last argument to pex_init_common.
2536	(pex_djgpp_exec_child): Remove leading underscore from _open,
2537	_dup, _dup2, _close, and _spawnv/_spawnvp.  Replace `program',
2538	which is undeclared, with `executable', which was unused.  Remove
2539	unused variable `e'.  Fix casting of last arg to spawnv/spawnvp.
2540	(pex_djgpp_wait): Declare arguments with ATTRIBUTE_UNUSED.
2541
25422005-05-11  Paul Brook  <paul@codesourcery.com>
2543
2544	* Makefile.in: Regenerate dependencies.
2545
25462005-05-10  Nick Clifton  <nickc@redhat.com>
2547
2548	* Update the address and phone number of the FSF organization in
2549	the GPL notices in the following files:
2550	COPYING.LIB, Makefile.in, _doprnt.c, argv.c, asprintf.c,
2551	choose-temp.c, clock.c, concat.c, copying-lib.texi, cp-demangle.c,
2552	cp-demangle.h, cp-demint.c, cplus-dem.c, dyn-string.c, fdmatch.c,
2553	fibheap.c, floatformat.c, fnmatch.c, fopen_unlocked.c,
2554	gather-docs, getopt.c, getopt1.c, getruntime.c, hashtab.c, hex.c,
2555	lbasename.c, lrealpath.c, maint-tool, make-relative-prefix.c,
2556	make-temp-file.c, md5.c, mempcpy.c, mkstemps.c, objalloc.c,
2557	obstack.c, partition.c, pex-common.c, pex-common.h, pex-djgpp.c,
2558	pex-msdos.c, pex-one.c, pex-unix.c, pex-win32.c, pexecute.c,
2559	physmem.c, putenv.c, regex.c, safe-ctype.c, setenv.c, snprintf.c,
2560	sort.c, spaces.c, splay-tree.c, stpcpy.c, stpncpy.c, strndup.c,
2561	strtod.c, ternary.c, unlink-if-ordinary.c, vasprintf.c,
2562	vsnprintf.c, vsprintf.c, xexit.c, xmalloc.c, xstrndup.c
2563
25642005-05-06  Kelley Cook  <kcook@gcc.gnu.org>
2565
2566	* aclocal.m4 (AC_DEFINE_NOAUTOHEADER): Remove.
2567	* configure.ac: Replace any AC_DEFINE_NOAUTOHEADER with AC_DEFINE.
2568	* configure: Regenerate.
2569
25702005-05-06  Kelley Cook  <kcook@gcc.gnu.org>
2571
2572	* configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
2573	Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
2574	* aclocal.m4: Don't include accross.m4.
2575	* configure, config.in: Regenerate.
2576
25772005-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2578
2579	* fopen_unlocked.c (unlock_std_streams): New.
2580
2581	* functions.texi: Regenerate.
2582
25832005-04-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2584
2585	* fopen_unlocked.c (unlock_stream): New.
2586	Consolidate unlocking code into a helper function.
2587
2588	* functions.texi: Regenerate.
2589
25902005-04-13  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2591
2592	* asprintf.c: Include config.h.
2593	* basename.c: Likewise.
2594	* fdmatch.c: Likewise.
2595	* hex.c: Likewise.
2596	* lbasename.c: Likewise.
2597	* spaces.c: Likewise.
2598	* xatexit.c:Likewise.
2599	* configure.ac:  Do check declarations for basename, ffs, asprintf
2600	and vasprintf for real.
2601	* configure: Regenerate.
2602
26032005-04-13  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2604
2605	* argv.c (dupargv): Allocate space of argv[argc], not
2606	sizeof(char *) of that amount.  Cast result to char *.
2607
26082005-04-12  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2609
2610	* regex.c (wcs_re_match_2_internal, byte_re_match_2_internal):
2611	Replace not with negate.
2612
26132005-04-12  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2614
2615	* configure.ac: Check declarations for basename, ffs, asprintf,
2616	vasprintf.
2617	* configure: Regenerate.
2618	* config.in: Likewise.
2619
26202005-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2621
2622	* Makefile.in (CFILES): Add fopen_unlocked.c.
2623	(REQUIRED_OFILES): Add ./fopen_unlocked.o.
2624	Regenerate dependencies.
2625
2626	* configure.ac: Check for stdio_ext.h and __fsetlocking.
2627
2628	* fopen_unlocked.c: New file.
2629
2630	* functions.texi, configure, config.in: Regenerate.
2631
26322005-04-04  Ian Lance Taylor  <ian@airs.com>
2633
2634	* testsuite/test-pexecute.c (TEST_PEX_RUN): Move variable
2635	declaration before statement.
2636
26372005-04-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2638
2639	* bcmp.c: Fix warnings and implement using memcmp.
2640	* bcopy.c: Fix warnings.
2641	* bzero.c: Fix warnings and implement using memset.
2642
2643	* configure.ac (ac_libiberty_warn_cflags): Add -Wwrite-strings
2644	-Wstrict-prototypes.
2645	* configure, config.in: Regenerate.
2646
2647	* bsearch.c, index.c, rindex.c, strstr.c, strtol.c, waitpid.c: Fix
2648	warnings and reconcile interfaces with relevant standards.
2649
26502005-04-02  Ian Lance Taylor  <ian@airs.com>
2651
2652	* cp-demangle.c: Update copyright.
2653
26542005-03-31  Joseph S. Myers  <joseph@codesourcery.com>
2655
2656	* gettimeofday.c: Add "Supplemental" to @deftypefn.
2657	* functions.texi: Regenerate.
2658
26592005-03-28  Ian Lance Taylor  <ian@airs.com>
2660
2661	* pex-common.c: New file.
2662	* pex-one.c: New file.
2663	* pexecute.c: New file.
2664	* pex-common.h: Include <stdio.h>.
2665	(struct pex_obj): Define.
2666	(struct pex_funcs): Define.
2667	(pex_init_common): Declare.
2668	* pex-unix.c: Rewrite.
2669	* pex-win32.c: Rewrite.
2670	* pex-djgpp.c: Rewrite.
2671	* pex-msdos.c: Rewrite.
2672	* testsuite/text-pexecute.c: New file.
2673	* pexecute.txh: Rewrite.
2674	* configure.ac: Check for wait3 and wait4.  Set CHECK to
2675	really-check rather than check-cplus-dem.
2676	* functions.texi: Rebuild.
2677	* Makefile.in: Rebuild dependencies.
2678	(CFILES): Add pexecute.c, pex-common.c, pex-one.c.
2679	(REQUIRED_OFILES): Add pexecute.o, pex-common.o, pex-one.o.
2680	* testsuite/Makefile.in (really-check): New target.
2681	(check-pexecute, test-pexecute): New targets.
2682	* configure: Rebuild.
2683
26842005-03-28  Mark Kettenis  <kettenis@gnu.org>
2685
2686	* unlink-if-ordinary.c: Include <sys/types.h>.
2687
26882005-03-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2689
2690	Convert libiberty to use ISO C prototype style 7/n.
2691	* regex.c (PARAMS): Remove definition.
2692	(PREFIX): Unconditionaly define using ISO C ## operator.
2693	(init_syntax_once, extract_number, extract_number_and_incr,
2694	print_fastmap, print_partial_compiled_pattern,
2695	print_compiled_pattern, print_double_string, printchar,
2696	convert_mbs_to_wcs, re_set_syntax, regex_grow_registers,
2697	regex_compile, store_op1, store_op2, insert_op1, insert_op2,
2698	at_begline_loc_p, at_endline_p, group_in_compile_stack,
2699	insert_space, wcs_compile_range, byte_compile_range,
2700	truncate_wchar, re_compile_fastmap, re_compile_fastmap,
2701	re_set_registers, re_search, re_search_2, re_search_3, re_match,
2702	re_match_2, count_mbs_length, wcs_re_match_2_internal,
2703	byte_re_match_2_internal, group_match_null_string_p,
2704	alt_match_null_string_p, common_op_match_null_string_p,
2705	bcmp_translate, re_compile_pattern, re_comp, re_exec, regcomp,
2706	regexec, regerror, regfree): Use ISO C prototype style.
2707	* partition.c: (elem_compare): Likewise.
2708	* cp-demangle.c (print_usage): Likewise.
2709
27102005-03-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2711
2712	Convert libiberty to use ISO C prototype style 5/n.
2713	* random.c (srandom, initstate, setstate, random): Use ISO C
2714	prototypes.
2715	* putenv.c (putenv): Likewise.
2716	* physmem.c (physmem_available, physmem_total, main): Likewise.
2717	* pex-win32.c (fix_argv, pexecute, pwait): Likewise.
2718	* pex-unix.c (pexecute, pwait): Likewise.
2719	* pex-msdos.c (pexecute, pwait): Likewise.
2720	* pex-djgpp.c (pexecute, pwait): Likewise.
2721	* partition.c (partition_new, partition_delete, partition_union)
2722	(elem_compare, partition_print): Likewise.
2723	* obstack.c (_obstack_begin, _obstack_begin_1, _obstack_newchunk,
2724	_obstack_allocated_p, _obstack_free, obstack_free,
2725	_obstack_memory_used, print_and_abort, obstack_next_free,
2726	obstack_object_size, obstack_base): Likewise.  Remove codes
2727	predicated on !defined(__STDC__).
2728	* objalloc.c (objalloc_create, _objalloc_alloc, objalloc_free,
2729	objalloc_free_block): Use ISO C prototypes.
2730	* mkstemps.c (mkstemps): Likewise.
2731	* memset.c (memset): Likewise.
2732	* mempcpy.c (mempcpy): Likewise.
2733	* rename.c (rename): Likewise.
2734	* rindex.c (rindex): Likewise.
2735	* setenv.c (setenv, unsetenv): Likewise.
2736	* sigsetmask.c (sigsetmask): Likewise.
2737	* snprintf.c (snprintf): Likewise.
2738	* sort.c (sort_pointers, xmalloc): Likewise.
2739	* spaces.c (spaces): Likewise.
2740	* splay-tree.c (splay_tree_delete_helper,
2741	splay_tree_splay_helper, splay_tree_splay,
2742	splay_tree_foreach_helper, splay_tree_xmalloc_allocate,
2743	splay_tree_new, splay_tree_xmalloc_allocate,
2744	splay_tree_new_with_allocator, splay_tree_delete,
2745	splay_tree_insert, splay_tree_remove, splay_tree_lookup,
2746	splay_tree_max, splay_tree_min, splay_tree_predecessor,
2747	splay_tree_successor, splay_tree_foreach,
2748	splay_tree_compare_ints, splay_tree_compare_pointers): Likewise.
2749	* stpcpy.c (stpcpy): Likewise.
2750	* stpncpy.c (stpncpy): Likewise.
2751	* strcasecmp.c (strcasecmp): Likewise.
2752	* strchr.c (strchr): Likewise.
2753	* strdup.c (strdup): Likewise.
2754
27552005-03-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2756
2757	Convert libiberty to use ISO C prototype style 6/n.
2758	* strerror.c (init_error_tables, errno_max, strerror, strerrno,
2759	strtoerrno, main): Use ISO C prototype style.
2760	* strncasecmp.c (strncasecmp): Likewise.
2761	* strncmp.c (strncmp): Likewise.
2762	* strndup.c (strndup): Likewise.
2763	* strrchr.c (strrchr): Likewise.
2764	* strsignal.c (init_signal_tables, signo_max, strsignal,
2765	strsigno, strtosigno, psignal, main): Likewise.
2766	* strstr.c (strstr): Likewise.
2767	* strtod.c (strtod, atof): Likewise.
2768	* strtol.c (strtol): Likewise.
2769	* strtoul.c (strtoul): Likewise.
2770	* ternary.c (ternary_insert, ternary_cleanup, ternary_search,
2771	ternary_recursivesearch): Likewise.
2772	* tmpnam.c (tmpnam): Likewise.
2773	* unlink-if-ordinary.c (unlink_if_ordinary): Likewise.
2774	* vasprintf.c (int_vasprintf, vasprintf, checkit, main): Likewise.
2775	* vfork.c (vfork): Likewise.
2776	* vfprintf.c (vfprintf): Likewise.
2777	* vprintf.c (vprintf): Likewise.
2778	* vsnprintf.c (vsnprintf, checkit, main): Likewise.
2779	* vsprintf.c (vsprintf): Likewise.
2780	* waitpid.c (waitpid): Likewise.
2781	* xatexit.c (xatexit, xatexit_cleanup): Likewise.
2782	* xexit.c (xexit): Likewise.
2783	* xmalloc.c (xmalloc_set_program_name, xmalloc_failed, xmalloc,
2784	xcalloc, xrealloc): Likewise.
2785	* xmemdup.c (xmemdup): Likewise.
2786	* xstrdup.c (xstrdup): Likewise.
2787	* xstrerror.c (xstrerror): Likewise.
2788	* xstrndup.c (xstrndup): Likewise.
2789
27902005-03-27  Andreas Jaeger  <aj@suse.de>
2791
2792	* configure.ac (ac_c_preproc_warn_flag): Remove -Wtraditional
2793	flags.
2794	* configure: Regenerated.
2795
27962005-03-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2797
2798	* getopt1.c (getopt_long_only): Fix thinko.
2799
28002005-03-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2801
2802	Convert libiberty to use ISO C prototype style 4/n.
2803	* hashtab.c (higher_prime_index, hash_pointer, eq_pointer,
2804	htab_size, htab_elements, htab_mod_1, htab_mod, htab_mod_m2,
2805	htab_create_alloc, htab_set_functions_ex, htab_create,
2806	htab_try_create, htab_delete, htab_empty,
2807	find_empty_slot_for_expand, htab_expand, htab_find_with_hash,
2808	htab_find, htab_find_slot_with_hash, htab_find_slot,
2809	htab_remove_elt, htab_remove_elt_with_hash, htab_clear_slot,
2810	htab_traverse_noresize, htab_traverse, htab_collisions,
2811	htab_hash_string, iterative_hash): Use ISO C prototype.
2812	* hex.c (hex_init): Likewise.
2813	* index.c (index): Likewise.
2814	* insque.c (insque, remque): Likewise.
2815	* lbasename.c (lbasename): Likewise.
2816	* lrealpath.c (lrealpath): Likewise.
2817	* make-relative-prefix.c (save_string, split_directories,
2818	free_split_directories, make_relative_prefix): Likewise.
2819	* make-temp-file.c (try, choose_tmpdir, make_temp_file): Likewise.
2820	* md5.c (md5_init_ctx, md5_read_ctx, md5_finish_ctx, md5_stream,
2821	md5_buffer, md5_process_bytes, md5_process_block): Likewise.
2822	* memchr.c (memchr): Likewise.
2823	* memcpy.c (memcpy): Likewise.
2824	* memmove.c (memmove): Likewise.
2825	* gettimeofday.c (gettimeofday): Likewise.
2826	* getruntime.c (get_run_time): Likewise.
2827	* getpwd.c (getpwd, getpwd): Likewise.
2828	* getpagesize.c (getpagesize): Likewise.
2829	* getopt1.c (getopt_long, getopt_long_only, main): Likewise.
2830	* getopt.c (my_index, exchange, _getopt_initialize,
2831	_getopt_internal, getopt, main): Likewise.
2832	* getcwd.c (getcwd): Likewise.
2833	* fnmatch.c (fnmatch): Likewise.
2834	* floatformat.c (floatformat_always_valid,
2835	floatformat_i387_ext_is_valid, get_field, floatformat_to_double,
2836	put_field, floatformat_from_double, floatformat_is_valid,
2837	ieee_test, main): Likewise.
2838	* fibheap.c (fibheap_new, fibnode_new, fibheap_compare,
2839	fibheap_comp_data, fibheap_insert, fibheap_min, fibheap_min_key,
2840	fibheap_union, fibheap_extract_min, fibheap_replace_key_data,
2841	fibheap_replace_key, fibheap_replace_data, fibheap_delete_node,
2842	fibheap_delete, fibheap_empty, fibheap_extr_min_node,
2843	fibheap_ins_root, fibheap_rem_root, fibheap_consolidate,
2844	fibheap_link, fibheap_cut, fibheap_cascading_cut,
2845	fibnode_insert_after, fibnode_remove): Likewise.
2846	* ffs.c (ffs): Likewise.
2847	* fdmatch.c (fdmatch): Likewise.
2848	* dyn-string.c (dyn_string_init, dyn_string_new,
2849	dyn_string_delete, dyn_string_release, dyn_string_resize,
2850	dyn_string_clear, dyn_string_copy, dyn_string_copy_cstr,
2851	dyn_string_prepend, dyn_string_prepend_cstr, dyn_string_insert,
2852	dyn_string_insert_cstr, dyn_string_insert_char,
2853	dyn_string_append, dyn_string_append_cstr,
2854	dyn_string_append_char, dyn_string_substring, dyn_string_eq):
2855	Likewise.
2856
28572005-03-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2858
2859	Convert libiberty to use ISO C prototype style 3/n.
2860	* cplus-dem.c (set_cplus_marker_for_demangling, consume_count,
2861	consume_count_with_underscores, code_for_qualifier,
2862	qualifier_string, demangle_qualifier, cplus_demangle_opname,
2863	cplus_mangle_opname, cplus_demangle_set_style,
2864	cplus_demangle_name_to_style, cplus_demangle, grow_vect,
2865	ada_demangle, internal_cplus_demangle, squangle_mop_up,
2866	work_stuff_copy_to_from, delete_non_B_K_work_stuff,
2867	delete_work_stuff, mop_up, demangle_signature,
2868	demangle_method_args, demangle_template_template_parm,
2869	demangle_expression, demangle_integral_value,
2870	demangle_real_value, demangle_template_value_parm,
2871	demangle_template, arm_pt, demangle_arm_hp_template,
2872	demangle_class_name, demangle_class, iterate_demangle_function,
2873	demangle_prefix, gnu_special, recursively_demangle, arm_special,
2874	demangle_qualified, get_count, do_type, demangle_fund_type,
2875	do_hpacc_template_const_value, do_hpacc_template_literal,
2876	snarf_numeric_literal, do_arg, remember_type, remember_Ktype,
2877	register_Btype, remember_Btype, forget_B_and_K_types,
2878	forget_types, demangle_args, demangle_nested_args,
2879	demangle_function_name, string_need, string_delete, string_init,
2880	string_clear, string_empty, string_append, string_appends,
2881	string_appendn, string_prepend, string_prepends, string_prependn,
2882	string_append_template_idx): Use ISO C prootype style.
2883	* cp-demint.c (cplus_demangle_fill_component,
2884	cplus_demangle_fill_builtin_type, cplus_demangle_fill_operator,
2885	cplus_demangle_v3_components): Likewise.
2886
28872005-03-26  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2888
2889	Convert libiberty to use ISO C prototype style 2/n.
2890	* cp-demangle.h: Remove uses of PARAMS.
2891	* cp-demangle.c: Likewise.
2892	(d_dump, cplus_demangle_fill_name,
2893	cplus_demangle_fill_extended_operator, cplus_demangle_fill_ctor,
2894	cplus_demangle_fill_dtor, d_make_empty, d_make_comp, d_make_name,
2895	d_make_builtin_type, d_make_operator, d_make_extended_operator,
2896	d_make_ctor, d_make_dtor, d_make_template_param, d_make_sub,
2897	cplus_demangle_mangled_name, has_return_type,
2898	is_ctor_dtor_or_conversion, d_encoding, d_name, d_nested_name,
2899	d_prefix, d_unqualified_name, d_source_name, d_number,
2900	d_identifier, d_operator_name, d_special_name, d_call_offset,
2901	d_ctor_dtor_name, cplus_demangle_type, d_cv_qualifiers,
2902	d_function_type, d_bare_function_type, d_class_enum_type,
2903	d_array_type, d_pointer_to_member_type, d_template_param,
2904	d_template_args, d_template_arg, d_expression, d_expr_primary,
2905	d_local_name, d_discriminator, d_add_substitution,
2906	d_substitution, d_print_resize, d_print_append_char,
2907	d_print_append_buffer, d_print_error, cplus_demangle_print,
2908	d_print_comp, d_print_java_identifier, d_print_mod_list,
2909	d_print_mod, d_print_function_type, d_print_array_type,
2910	d_print_expr_op, d_print_cast, cplus_demangle_init_info,
2911	d_demangle, __cxa_demangle, cplus_demangle_v3, java_demangle_v3,
2912	is_ctor_or_dtor, is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor,
2913	print_usage, main):
2914
29152005-03-26  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2916
2917	Convert libiberty to ISO C prototype style 1/n.
2918	* _doprnt.c: Remove conditional #include <varargs.h> on
2919	ANSI_PROTOTYPES as the latter is always assumed.
2920	(_doprnt, checkit, main): Use ISO C prototype.
2921	* alloca.c (find_stack_direction, C_alloca): Use ISO C prototype.
2922	* argv.c: Remove conditional #includes on ANSI_PROTOTYPES.
2923	(dupargv, freeargv, buildargv, main): Use ISO C prototype.
2924	* atexit.c (atexit): Likewise
2925	* asprintf.c: Remove conditional include on ANSI_PROTOTYPES.
2926	(asprintf): Use ISO C prototype.
2927	* basename.c (basename): Likewise
2928	* bcmp.c (bcmp): Likewise.
2929	* bcopy.c (bcopy): Likewise.
2930	* bzero.c (bzero): Likewise.
2931	* bsearch.c (bsearch): Likewise.  Improve const-correctness.
2932	* choose-temp.c (choose_temp_base): Likewise.
2933	* calloc.c: Remove conditional #include on ANSI_PROTOTYPES.
2934	(calloc): Use ISO C prototype.
2935	* clock.c (clock): Likewise.
2936	* concat.c: Remove conditional #include on ANSI_PROTOTYPES.
2937	(vconcat_length, vconcat_copy, concat_length, concat_copy,
2938	concat_copy2, concat, reconcat, main): Use ISO C prototype.
2939	* copysign.c (copysign): Likewise.
2940
29412005-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2942
2943	* Makefile.in (CFILES): Add strndup.c and xstrndup.c.
2944	(REQUIRED_OFILES): Add xstrndup.o.
2945	(CONFIGURED_OFILES): Add strndup.o.
2946	Regenerate dependencies.
2947
2948	* configure.ac (funcs, AC_CHECK_FUNCS): Add strndup.
2949
2950	* strndup.c, xstrndup.c: New.
2951
2952	* config.in, configure, functions.texi: Regenerate.
2953
29542005-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2955
2956	* xmemdup.c, xstrdup.c: Expose the tail call.
2957
29582005-03-09  Mark Mitchell  <mark@codesourcery.com>
2959
2960	* configure.ac (funcs): Add gettimeofday.
2961	* configure: Regenerated.
2962	* gettimeofday.c: New file.
2963	* Makefile.in (CFILES): Add gettimeofday.
2964	(CONFIGURED_OFILES): Add gettimeofday.o.
2965	(./gettimeofday.o): New rule.
2966
29672005-03-09  Ian Lance Taylor  <ian@airs.com>
2968
2969	* pex-os2.c: Remove.
2970	* configure.ac: Remove *-*-os2-emx* case when setting pexecute.
2971	* Makefile.in (CFILES): Remove pex-os2.c.
2972	(CONFIGURED_OFILES): Remove pex-os2.o.
2973	(pex-os2.o): Remove target.
2974	* configure: Rebuild.
2975
29762005-03-07  Ian Lance Taylor  <ian@airs.com>
2977
2978	* mpw-config.in: Remove.
2979	* mpw-make.sed: Remove.
2980	* mpw.c: Remove.
2981	* Makefile.in (CFILES): Remove pex-mpw.c.
2982	(CONFIGURED_OFILES): Remove pex-mpw.o.
2983	(mpw.o, pex-mpw.o): Remove targets.
2984	* maint-tool (undoc): Remove reference to mpw.c.
2985
29862005-03-06  DJ Delorie  <dj@redhat.com>
2987
2988	* configure.ac (target_header_dir): vfork is a stub under djgpp.
2989	* configure: Regenerated.
2990
29912005-03-01  Jan Beulich  <jbeulich@novell.com>
2992
2993	* Makefile.in (CFILES): Add unlink-if-ordinary.c
2994	(REQUIRED_OFILES): Add unlink-if-ordinary.o.
2995	Add dependencies and rule for unlink-if-ordinary.o.
2996	* unlink-if-ordinary.c: New.
2997
29982005-03-01  Ben Elliston  <bje@au.ibm.com>
2999
3000	* hashtab.c (htab_find_slot_with_hash): Make function
3001	documentation clearer.
3002
30032005-02-13  Jason Merrill  <jason@redhat.com>
3004
3005	* cp-demangle.c (__cxa_demangle): Change resolution of ambiguous
3006	arguments.
3007
30082005-01-11  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>
3009
3010	* hex.c (hex_value): Group 'unsigned int' together to get correct
3011	markup.
3012	* functions.texi: Regenerated.
3013
30142004-12-27  H.J. Lu  <hongjiu.lu@intel.com>
3015
3016	* Makefile.in: Undo to 2004-12-17.
3017	* aclocal.m4: Likewise.
3018	* config.table: Likewise.
3019	* configure.ac: Likewise.
3020	* maint-tool: Likewise.
3021	* configure: Likewise.
3022
30232004-12-19  H.J. Lu  <hongjiu.lu@intel.com>
3024
3025	PR bootstrap/19072
3026	* Makefile.in (enable_shared): New substitute.
3027	(LTTARGETLIB): New.
3028	(PREFIXTARGETLIB): New.
3029	(LTTESTLIB): New.
3030	(PREFIXTESTLIB): New.
3031	(CCLD): New.
3032	(LINK): New.
3033	($(TARGETLIB)): Use $(LINK) to create libraries and create
3034	targets by hand.
3035	($(TESTLIB)): Likewise.
3036	(mostlyclean): Don't remove .libs. Remove the libtool object
3037	directory.
3038
3039	* config.table (enable_shared): Removed.
3040
3041	* configure.ac (enable_static): Set to yes.
3042	(AC_PROG_LIBTOOL): Removed.
3043	(AM_DISABLE_SHARED): Uncommented.
3044	(AM_PROG_LIBTOOL): Likewise.
3045	(LIBOBJS): Add `./' to avoid VPATH.
3046	(LTLIBOBJS): Likewise.
3047	(enable_shared): Substitute.
3048	* configure: Regenerated.
3049
30502004-12-18  H.J. Lu  <hongjiu.lu@intel.com>
3051
3052	* Makefile.in (top_builddir): Set to `.'.
3053	(OUTPUT_OPTION): Removed.
3054	(LIBTOOL): New.
3055	(LTLIBOBJS): New.
3056	(EXTRA_LTOFILES): New.
3057	(FLAGS_TO_PASS): Add EXTRA_LTOFILES.
3058	(all): Remove stamp-picdir.
3059	(LTCOMPILE): New.
3060	(.c.lo): New rule.
3061	(REQUIRED_LTOFILES): New.
3062	(CONFIGURED_LTOFILES): New.
3063	($(TARGETLIB)): Check .libs for PIC object files. Depend on
3064	$(REQUIRED_LTOFILES) $(EXTRA_LTOFILES) $(LTLIBOBJS).
3065	(stamp-picdir): Completely removed.
3066	(maint-missing): Pass $(REQUIRED_LTOFILES)
3067	$(CONFIGURED_LTOFILES) instead of (REQUIRED_OFILES)
3068	$(CONFIGURED_OFILES)
3069	(maint-buildall): Depend on $(REQUIRED_LTOFILES)
3070	$(CONFIGURED_LTOFILES).
3071	(mostlyclean): Also remove *.lo .libs.
3072	Run "make maint-deps".
3073
3074	* aclocal.m4: Include ../libtool.m4.
3075
3076	* config.table: Don't check --enable-shared.
3077
3078	* configure.ac (AC_PROG_LIBTOOL): Add.
3079	(AC_PROG_CC_C_O): Removed.
3080	(OUTPUT_OPTION): Removed.
3081	(NO_MINUS_C_MINUS_O): Removed.
3082	(ltpexecute): New substitute.
3083	(LIBOBJS): Cleanup.
3084	* configure: Regenerated.
3085
3086	* maint-tool: Updated for .lo/libtool.
3087
30882004-12-11  Ben Elliston  <bje@au.ibm.com>
3089
3090	* configure.ac: Invoke AC_CHECK_SIZEOF for sizeof (int).
3091	* configure: Regenerate.
3092	* config.in: Likewise.
3093
30942004-12-07  DJ Delorie  <dj@redhat.com>
3095
3096	* splay-tree.c (splay_tree_delete_helper): Redesign the logic so
3097	that recursion (and thus large stack space) is not needed.
3098
30992004-11-29  Matt Kraai  <kraai@alumni.cmu.edu>
3100
3101	* pex-unix.c: Fix the spelling of longjmp.
3102
31032004-11-23  Ian Lance Taylor  <ian@wasabisystems.com>
3104
3105	PR other/18623
3106	* cp-demangle.c (d_call_offset): Remove useless local variables
3107	offset and virtual_offset.
3108	* cplus-dem.c (ada_demangle): Remove useless local variable
3109	at_start_name.
3110	(demangle_template): Remove useless local variable start.
3111
31122004-11-19  Roger Sayle  <roger@eyesopen.com>
3113
3114	* objalloc.c, strsignal.c, xstrerror.c: Include "config.h" before
3115	"ansidecl.h" to avoid redeclaration errors with native compilers.
3116	* regex.c: Protect config.h from multiple inclusion.
3117
31182004-11-12  Mike Stump  <mrs@apple.com>
3119
3120	* Makefile.in (libiberty.html): Fix html generation.
3121
31222004-09-08  Adam Nemet  <anemet@lnxw.com>
3123
3124	* vasprintf.c: Accept __va_copy in addition to va_copy.
3125
31262004-09-03  Paolo Bonzini  <bonzini@gnu.org>
3127
3128	* configure: Regenerate.
3129
31302004-09-02  Paolo Bonzini  <bonzini@gnu.org>
3131
3132	* configure.ac: Do not enable multilibs for build-side libiberty.
3133
31342004-06-29  Danny Smith  <dannysmith@users.sourceforge.net>
3135
3136	* lrealpath.c (lrealpath): Add _WIN32 support.
3137
31382004-06-28  Zack Weinberg  <zack@codesourcery.com>
3139
3140	* cp-demangle.h: Declare cplus_demangle_operators,
3141	cplus_demangle_builtin_types, cplus_demangle_mangled_name, and
3142	cplus_demangle_type as static if IN_GLIBCPP_V3.
3143
31442004-06-28  Ian Lance Taylor  <ian@wasabisystems.com>
3145
3146	PR other/16240
3147	* cp-demangle.c (d_expr_primary): Check for a failure return from
3148	cplus_demangle_type.
3149	* testsuite/demangle-expected: Add test case.
3150
31512004-05-31  Danny Smith  <dannysmith@users.sourceforge.net>
3152
3153	* pex-win32.c (fix_argv): Expand comment.
3154
31552004-05-25  Daniel Jacobowitz  <drow@false.org>
3156
3157	* Makefile.in: Add .NOEXPORT.
3158
31592004-04-29  Douglas B Rupp  <rupp@gnat.com>
3160
3161	* mkstemps.c (mkstemps) [VMS]: Remove special open option. Update
3162	copyright.
3163
31642004-04-26  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
3165
3166	* configure.ac (UNSIGNED_64BIT_TYPE): Unquote the definition.
3167	* configure: Regenerate.
3168
31692004-04-22  Richard Henderson  <rth@redhat.com>
3170
3171	* hashtab.c: Include limits.h, stdint.h, ansidecl.h.
3172	(CHAR_BIT): Provide default.
3173	(struct prime_ent, prime_tab): New.
3174	(higher_prime_index): Rename from higher_prime_number, return index.
3175	(htab_mod_1): New.
3176	(htab_mod, htab_mod_m2): Use it.
3177	(htab_create_alloc, htab_create_alloc_ex): Store prime index.
3178	(htab_expand): Likewise.
3179	* configure.ac: Check for stdint.h.
3180	(UNSIGNED_64BIT_TYPE): New define and checks to fill it in.
3181	* config.in, configure: Rebuild.
3182
31832004-04-13  Ian Lance Taylor  <ian@wasabisystems.com>
3184
3185	* strerror.c: Include config.h, and redefine sys_nerr and
3186	sys_errlist, before including ansidecl.h and libiberty.h.
3187
31882004-04-13  Jeff Law  <law@redhat.com>
3189
3190	* hashtab.c (htab_remove_elt_with_hash): New function.
3191	(htab_remove_elt): Implement in terms of htab_remove_elt_with_hash.
3192
31932004-03-31  Richard Henderson  <rth@redhat.com>
3194
3195	* hashtab.c (htab_size): Move to top of file; mark inline.
3196	(htab_elements): Likewise.
3197	(htab_mod, htab_mod_m2): New.
3198	(htab_delete): Refactor htab->size and htab->entries.
3199	(htab_empty): Likewise.
3200	(find_empty_slot_for_expand): Use htab_size, htab_mod, htab_mod_m2.
3201	(htab_find_with_hash, htab_find_slot_with_hash): Likewise.
3202	(htab_clear_slot): Use htab_size, htab_elements.
3203	(htab_traverse_noresize, htab_traverse): Likewise.
3204
32052004-03-17  Ian Lance Taylor  <ian@wasabisystems.com>
3206
3207	* pex-unix.c (pexecute): Use vfork instead of fork, with
3208	appropriate changes to make this safe.
3209	* pex-common.h (STDERR_FILE_NO): Define.
3210
3211	* Makefile.in: Clean up REQUIRED_OFILES and CONFIGURED_OFILES for
3212	an 80 column screen.  Run maint-deps.
3213
32142004-03-09  Kelley Cook  <kcook@gcc.gnu.org>
3215
3216	* configure.ac: Bump version to 2.59.  Apply suggested autoupdates.
3217	* acconfig.h: Delete redundant file.
3218	* config.in: Regenerate.
3219	* configure: Regenerate.
3220
32212004-03-09  Hans-Peter Nilsson  <hp@axis.com>
3222
3223	* configure: Regenerate for config/accross.m4 correction.
3224
32252004-03-07  Andreas Jaeger  <aj@suse.de>
3226
3227	* testsuite/test-demangle.c: Include <string.h> and <stdlib.h> for
3228	prototypes.
3229	(main): Initialize style.
3230
32312004-02-24  Ian Lance Taylor  <ian@wasabisystems.com>
3232
3233	* cp-demangle.h (enum d_builtin_type_print): Add D_PRINT_UNSIGNED,
3234	D_PRINT_UNSIGNED_LONG, D_PRINT_LONG_LONG,
3235	D_PRINT_UNSIGNED_LONG_LONG, D_PRINT_FLOAT.
3236	* cp-demangle.c (cplus_demangle_builtin_types): Change char and
3237	short types to D_PRINT_DEFAULT.  Change other integer types to use
3238	new D_PRINT_* values where appropriate.  Change float types to
3239	D_PRINT_FLOAT.
3240	(d_print_comp) [LITERAL, LITERAL_NEG]: Handle new D_PRINT_*
3241	values.
3242	* testsuite/demangle-expected: Adjust two test cases.
3243
3244	* cp-demangle.c (d_print_function_type): Print a space before the
3245	parenthesis around the function type in more cases.
3246	* testsuite/demangle-expected: Adjust one test case.
3247
3248	* cp-demangle.c (d_print_comp) [UNARY]: Don't emit extra
3249	parentheses around a cast.
3250	* testsuite/demangle-expected: Adjust two test cases to match new
3251	output.
3252
3253	* cp-demangle.c (__cxa_demangle): Pass DMGL_PARAMS to d_demangle.
3254
3255	* cp-demangle.c (d_print_comp) [RESTRICT, VOLATILE, CONST]: Don't
3256	push more than one of the same CV-qualifier on the top of the
3257	stack.
3258	(d_print_comp) [ARRAY_TYPE]: If the array itself is CV-qualified,
3259	move the CV-qualifiers to apply to the element type instead.
3260	(d_print_array_type): When checking the modifiers, keep looking
3261	past ones which have been printed already.
3262	* testsuite/demangle-expected: Add three test cases.
3263
32642004-02-23  Ian Lance Taylor  <ian@wasabisystems.com>
3265
3266	* cp-demangle.c (__cxa_demangle): Adjust last patch to handle
3267	empty string correctly.
3268
3269	* cp-demangle.c (__cxa_demangle): It is not an error if status is
3270	not NULL.  It is an error if the mangled name is the same as a
3271	built-in type name.
3272	(main): If IN_GLIBCPP_V3 is defined, test __cxa_demangle rather
3273	than cplus_demangle_v3.
3274
3275	* dyn-string.c: Remove test of IN_LIBGCC2 and IN_GLIBCPP_V3 and
3276	the associated #define of RETURN_ON_ALLOCATION_FAILURE.
3277
32782004-02-16  Matt Kraai  <kraai@alumni.cmu.edu>
3279
3280	* regex.c: Include <ansidecl.h>.
3281	(regcomp): Cast i to int.
3282	(regerror): Add ATTRIBUTE_UNUSED to parameter preg.
3283
32842004-01-25  Ian Lance Taylor  <ian@wasabisystems.com>
3285
3286	* configure.ac: Add m4_pattern_allow(LIBOBJS).
3287	* configure: Regenerate.
3288
32892004-01-22  DJ Delorie  <dj@redhat.com>
3290
3291	* Makefile.in: Convert to ./ throughout.  Rebuild dependencies
3292	with explicit build rules.
3293	(VPATH): Remove.
3294	(.c.o): Poison.
3295	* configure.ac (pexecute, LIBOBJS): Add ./ .
3296	* maint-tool: Build dependencies with explicit rules.
3297
32982004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
3299
3300	* strdup.c (strdup): Constify the argument.
3301
33022004-01-14  Loren J. Rittle  <ljrittle@acm.org>
3303
3304	* Makefile.in (distclean): Remove config.cache.
3305
33062004-01-13  Daniel Jacobowitz  <drow@mvista.com>
3307
3308	* cp-demangle.c (d_make_comp): DEMANGLE_COMPONENT_CONSTRUCTION_VTABLE
3309	takes two parameters.
3310	* cp-demint.c (cplus_demangle_fill_component): Likewise.
3311
33122004-01-12  Ian Lance Taylor  <ian@wasabisystems.com>
3313
3314	* cp-demangle.c: Include "cp-demangle.h".  If IN_GLIBCPP_V3 is
3315	defined, rename some functions which are to become static via
3316	#define.
3317	(CP_STATIC_IF_GLIBCPP_V3): Define.
3318	(struct d_operator_info): Move definition to cp-demangle.h, and
3319	rename to demangle_operator_info.  Change all uses.
3320	(enum d_builtin_type_print): Move definition to cp-demangle.h.
3321	(struct d_builtin_type_info): Move definition to cp-demangle.h,
3322	and rename to demangle_builtin_type_info.  Change all uses.
3323	(enum d_comp_type): Move definition to include/demangle.h, and
3324	rename to demangle_component_type, and change all enums to start
3325	with DEMANGLE_COMPONENT_ instead of D_.  Change all uses.
3326	(struct d_comp): Move definition to include/demangle.h, and rename
3327	to demangle_component.  Change all uses.
3328	(struct d_info): Move definition to cp-demangle.h.
3329	(cplus_demangle_fill_name): New function.
3330	(cplus_demangle_fill_extended_operator): New function.
3331	(cplus_demangle_fill_ctor): New function.
3332	(cplus_demangle_fill_dtor): New function.
3333	(d_make_empty): Remove type parameter.  Change all callers.
3334	(d_make_name): Use cplus_demangle_fill_name.
3335	(d_make_extended_operator): Use
3336	cplus_demangle_fill_extended_operator.
3337	(d_make_ctor): Use cplus_demangle_fill_ctor.
3338	(d_make_dtor): Use cplus_demangle_fill_dtor.
3339	(cplus_demangle_mangled_name): Rename from d_mangled_name.  Make
3340	non-static by default.  Change all callers.
3341	(cplus_demangle_operators): Rename from d_operators.  Change all
3342	uses.  Make non-static by default.  Add sentinel at end of array.
3343	(d_operator_name): Adjust initialization of high for new sentinel
3344	in cplus_demangle_operators.
3345	(cplus_demangle_builtin_types): Rename from d_builtin_types.
3346	Change all uses.  Make non-static by default.  Change initializer
3347	to use D_BUILTIN_TYPE_COUNT instead of magic number 26.
3348	(cplus_demangle_type): Rename from d_type.  Make non-static by
3349	default.  Change all callers.
3350	(cplus_demangle_init_info): Rename from d_init_info.  Make
3351	non-static by default.  Change all callers.
3352	* cp-demangle.h: New file.
3353	* cp-demint.c: New file.
3354	* Makefile.in: Rebuild dependencies.
3355	(CFILES): Add cp-demint.c.
3356	(REQUIRED_OFILES): Add cp-demint.o.
3357
33582004-01-09  Kelley Cook  <kcook@gcc.gnu.org>
3359
3360	* configure.in:  Rename file to ...
3361	* configure.ac:  ... this.
3362	* Makefile.in: Update a comment for above change.
3363	* README: Likewise.
3364	* config.in: Regenerate.
3365
33662004-01-02  Ian Lance Taylor  <ian@wasabisystems.com>
3367
3368	* cp-demangle.c (d_encoding): When DMGL_PARAMS is not set, strip
3369	CV-qualifiers from D_COMP_LOCAL_NAME right subtree.
3370	* cplus-dem.c (demangle_arm_hp_template): Set DMGL_PARAMS when
3371	demangling template parameters.
3372	* testsuite/test-demangle.c (fail): New static function.
3373	(main): Support new options in input file: --no-params,
3374	--is-v3-ctor, and --is-v3-dtor.
3375	* testsuite/demangle-expected: Add --no-params to most tests, and
3376	add the correct result when parameters are not demangled.  Add
3377	some simple tests for V3 constructor/destructor recognition.
3378
33792003-12-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3380
3381	* cp-demangle.c (is_ctor_or_dtor): Fix error in last change.
3382
33832003-12-22  Daniel Jacobowitz  <drow@mvista.com>
3384
3385	PR debug/13272
3386	* Makefile.in (lbasename.o): Depend on filenames.h.
3387	* lbasename.c: Include "filenames.h" instead of defining
3388	its macros locally.
3389
33902003-12-22  Ian Lance Taylor  <ian@wasabisystems.com>
3391
3392	* cp-demangle.c (CP_DYNAMIC_ARRAYS): Define if compiler supports
3393	dynamic arrays.
3394	(struct d_operator_info): Add len field.
3395	(struct d_builtin_type_info): Add len and java_len fields.
3396	(struct d_standard_sub_info): Add simple_len, full_len, and
3397	set_last_name_len fields.
3398	(struct d_comp): Add len field to s_string.
3399	(struct d_info): Add send, did_subs, and expansion fields.
3400	(d_append_string_constant): Define.
3401	(d_append_string): Remove.  Change all users to use
3402	d_append_string_constant or d_append_buffer instead.
3403	(d_make_sub): Add len parameter.  Change all callers.
3404	(d_name): Increase expansion when substituting std::.
3405	(d_unqualified_name): Increase expansion for an operator.
3406	(d_number): Don't use multiplication for negative numbers.
3407	(d_identifier): Make sure there are enough characters in the
3408	string for the specified length.  Adjust expansion for an
3409	anonymous namespace.
3410	(d_operators): Initialize len field.
3411	(d_special_name, d_ctor_dtor_name): Increase expansion.
3412	(d_builtin_types): Initialize len and java_len fields.
3413	(d_type): Increase expansion for a builtin type.
3414	(d_cv_qualifiers): Increase expansion for each qualifier.
3415	(d_bare_function_type): Decrease expansion when removing single
3416	void parameter.
3417	(d_template_param): Increment did_subs.
3418	(d_expression): Increase expansion for an operator.
3419	(d_expr_primary): Decrease expansion for a type we will print
3420	specially.
3421	(standard_subs): Initialize new fields.
3422	(d_substitution): Increment did_subs when doing a normal
3423	substitution.  Increase expansion for a special substitution.
3424	(d_print): Add estimate parameter.  Change all callers.
3425	(d_print_comp) [D_COMP_NAME]: Handle C++ case inline.
3426	(d_print_comp) [D_COMP_BINARY]: Use length to avoid strcmp call.
3427	(d_print_java_identifier): Rename from d_print_identifier.  Handle
3428	only Java case.  Change caller.
3429	(d_init_info): Change return type to void.  Change all callers.
3430	Initialize send, did_subs, and expansion fields.  Do not
3431	initialize comps and subs fields.
3432	(d_demangle): Ifdef CP_DYNAMIC_ARRAYS, allocate comps and subs
3433	arrays on stack.  Make an estimate of the length of the demangled
3434	name.  Ifdef CP_DEMANGLE_DEBUG, print estimation failures.
3435	(is_ctor_or_dtor): Ifdef CP_DYNAMIC_ARRAYS, allocate comps and
3436	subs arrays on stack.
3437
34382003-12-20  Ian Lance Taylor  <ian@wasabisystems.com>
3439
3440	* cp-demangle.c (d_identifier): In Java mode, skip an optional '$'
3441	after the identifier.
3442	* testsuite/demangle-expected: Add test case.
3443
34442003-12-19  Ian Lance Taylor  <ian@wasabisystems.com>
3445
3446	Fix for PR c++/13447:
3447	* cp-demangle.c (enum d_comp_type): Add D_COMP_LOCAL_NAME.
3448	(d_dump, d_make_comp): Handle D_COMP_LOCAL_NAME.
3449	(is_ctor_dtor_or_conversion): Handle D_COMP_LOCAL_NAME like
3450	D_COMP_QUAL_NAME.
3451	(is_ctor_or_dtor): Likewise.
3452	(d_local_name): Use D_COMP_LOCAL_NAME rather than
3453	D_COMP_QUAL_NAME.
3454	(d_print_comp) [D_COMP_LOCAL_NAME]: New.
3455	(d_prinT_comp) [D_COMP_TYPED_NAME]: If the left tree is
3456	D_COMP_LOCAL_NAME, pull any qualifiers off its right subtree.
3457	(d_print_mod_list): Handle D_COMP_LOCAL_NAME.
3458	* testsuite/demangle-expected: Add two test cases.
3459
3460	* cp-demangle.c (d_print_function_type): Clear the global modifier
3461	list when printing the modifiers, not just when printing the
3462	function parameters.
3463	* testsuite/demangle-expected: Add two test cases.
3464
34652003-12-15  Ian Lance Taylor  <ian@wasabisystems.com>
3466
3467	* cp-demangle.c (d_print_function_type): Print the function
3468	parameters with no modifiers.
3469	* testsuite/demangle-expected: Add test case.
3470
3471	* cp-demangle.c (d_demangle): If DMGL_PARAMS is not set, don't
3472	expect that we've read the entire string.
3473	(is_ctor_or_dtor): Don't expect that we've read the entire
3474	string--reverse patch of 2003-11-29.
3475
34762003-12-15  Brendan Kehoe  <brendan@zen.org>
3477
3478	* libiberty/Makefile.in (floatformat.o): Add dependency on
3479	config.h to accompany change of 2003-12-03.
3480
34812003-12-15  Ian Lance Taylor  <ian@wasabisystems.com>
3482
3483	Fix handling of constructor/destructor of standard substitution:
3484	* cp-demangle.c (struct d_standard_sub_info): Define.
3485	(d_substitution): Add prefix argument.  Change all callers.
3486	Rework handling of standard substitutions to print full name when
3487	qualifying a constructor/destructor, or when DMGL_VERBOSE is set.
3488	* testsuite/demangle-expected: Add test case.
3489
3490	Fix handling of negative literal constants:
3491	* cp-demangle.c (enum d_comp_type): Add D_COMP_LITERAL_NEG.
3492	(d_dump, d_make_comp): Handle D_COMP_LITERAL_NEG.
3493	(d_expr_primary): Use D_COMP_LITERAL_NEG for a negative number.
3494	(d_print_comp): Handle D_COMP_LITERAL_NEG.
3495	* testsuite/demangle-expected: Add test case.
3496
34972003-12-04  Ian Lance Taylor  <ian@wasabisystems.com>
3498
3499	* cp-demangle.c (IS_UPPER, IS_LOWER): Define.
3500	(d_last_char): Define new macro.
3501	(d_make_name): Reject an empty name.
3502	(d_prefix, d_unqualified_name, d_type): Use new IS_* macros.
3503	(d_substitution, d_print_identifier): Likewise.
3504	(d_print_comp) [D_COMP_OPERATOR]: Likewise.
3505	(d_print_comp) [D_COMP_TEMPLATE]: Use new d_last_char macro.
3506	(d_print_mod) Use new d_last_char macro.
3507	(d_print_cast): Use new d_last_char macro.
3508	(is_ctor_or_dtor): Don't leak memory.
3509
3510	Fix handling of member function modifiers:
3511	* cp-demangle.c (enum d_comp_type): Add D_COMP_RESTRICT_THIS,
3512	D_COMP_VOLATILE_THIS, and D_COMP_CONST_THIS.
3513	(d_dump): Dump new d_comp_type values.
3514	(d_make_comp): Accept new d_comp_type values.
3515	(has_return_type): Only accept _THIS variants of qualifiers.
3516	(d_encoding): Without DMGL_PARAMS, only remove _THIS variants of
3517	qualifiers.
3518	(d_cv_qualifiers): Add member_fn parameter.  Change all callers.
3519	(d_print_comp) [D_COMP_TYPED_NAME]: Rather than removing
3520	qualifiers and printing them at the end, add _THIS qualifiers to
3521	the modifier list.
3522	(d_print_comp) [D_COMP_*_THIS]: New cases.
3523	(d_print_comp) [D_COMP_PTRMEM_TYPE]: Remove special handling of
3524	qualifiers.
3525	(d_print_mod_list): Add suffix parameter.  Change all callers.
3526	Keep walking the list even if the current modifier has been
3527	printed.
3528	(d_print_mod): Handle new _THIS qualifiers.
3529	(d_print_function_type): Handle new _THIS qualifiers when deciding
3530	whether to print a parenthesis.  Put a space before the
3531	parenthesis in some cases.  Call d_print_mod_list again at the
3532	end, passing suffix as 1.
3533	(is_ctor_or_dtor): Look for new _THIS qualifiers.
3534	* testsuite/demangle-expected: Add test case.
3535
3536	Fix for PR gcc/13304:
3537	* cp-demangle.c (d_print_comp) [D_COMP_TEMPLATE]: If the character
3538	before the '<' is itself a '<', insert a space.
3539	(d_print_cast): Likewise.
3540	* testsuite/demangle-expected: Add test case.
3541
3542	Fix for PR gcc/13244:
3543	* cp-demangle.c (d_print_comp) [D_COMP_BINARY]: Wrap an expression
3544	which uses the '>' operator in an extra layer of parens.
3545	* testsuite/demangle-expected: Add test case.
3546
35472003-12-03  Ian Lance Taylor  <ian@wasabisystems.com>
3548
3549	* floatformat.c: Include "config.h" and <string.h> if available.
3550	(INFINITY, NAN): Define if not defined by <math.h>.
3551	(floatformat_to_double): Handle NaN, infinity, and denormalized
3552	numbers.
3553	(floatformat_from_double): Likewise.
3554	(ieee_test): In debugging code, use little endian rather than big
3555	endian.  Correct tests to handle NaN and to check correct sign of
3556	zero.  Omit m68k extended test.
3557	(main): Add more debugging cases.
3558
35592003-11-29  Ian Lance Taylor  <ian@wasabisystems.com>
3560
3561	* cp-demangle.c (d_demangle): Only return success if we consumed
3562	the entire demangled string.
3563	(is_ctor_or_dtor): Likewise.
3564
3565	* testsuite/demangle-expected: Revert one part of 2003-06-26 patch
3566	to restore expected result of EDG test case to original expected
3567	result.
3568
35692003-11-26  Ian Lance Taylor  <ian@wasabisystems.com>
3570
3571	* cp-demangle.c (struct d_print_mod): Add templates field.
3572	(d_make_builtin_type): Check for NULL type.
3573	(d_make_extended_operator): Check for NULL name.
3574	(d_make_ctor, d_make_dtor): Likewise.
3575	(d_mangled_name): Add top_level parameter.  Change all callers.
3576	(d_encoding): If DMGL_PARAMS is not set, strip off initial
3577	CV-qualifiers.
3578	(d_type): Check some return values we rely on.
3579	(d_bare_function_type, d_array_type): Likewise.
3580	(d_pointer_to_member_type, d_template_args): Likewise.
3581	(d_add_substitution): Fail if argument is NULL.
3582	(d_print_resize): Check whether buf is NULL.
3583	(d_print_comp): Save current templates list with each modifier.
3584	Don't pass the modifier list down when printing a template.
3585	(d_print_cast): Don't pass the modifier list down when printing a
3586	template.
3587	(d_print_mod_list): Temporarily set templates list while printing
3588	a modifier.
3589	(d_print_mod): Check that buf is not NULL before using it.
3590	(d_print_function_type): Print parens if there is no modifier.
3591	(d_init_info): Permit as many substitutions as there are
3592	characters in the mangled name.
3593	* testsuite/demangle-expected: Add two new test cases.
3594
35952003-11-25  Ian Lance Taylor  <ian@wasabisystems.com>
3596
3597	* cp-demangle.c (java_demangle_v3): Pass DMGL_PARAMS to
3598	d_demangle.
3599
36002003-11-22  Ian Lance Taylor  <ian@wasabisystems.com>
3601
3602	* cp-demangle.c (d_encoding): Add top_level parameter.  Change all
3603	callers.
3604	(print_usage): Display new -p option.
3605	(long_options): Add --no-params.
3606	(main): Accept and handle -p.
3607
36082003-11-21  Ian Lance Taylor  <ian@wasabisystems.com>
3609
3610	* cp-demangle.c (has_return_type): Skip qualifiers when checking
3611	whether we have a template.
3612	* testsuite/demangle-expected: Add four new tests.
3613
36142003-11-20  Ian Lance Taylor  <ian@wasabisystems.com>
3615
3616	* testsuite/demangle-expected: Minor changes to match output of
3617	new demangler: adjust whitespace in four tests, and change order
3618	of qualifiers in one test.
3619
3620	* cp-demangle.c: Complete rewrite.
3621
36222003-11-19  Mark Mitchell  <mark@codesourcery.com>
3623
3624	* cp-demangle.c (demangle_type): Correct thinko in substitution
3625	processing.
3626
36272003-11-18  Ian Lance Taylor  <ian@wasabisystems.com>
3628
3629	* cp-demangle.c (demangle_operator_name): Remove space before
3630	"sizeof".
3631	(demangle_type_ptr): Put qualifiers in the right place.  Handle
3632	qualifiers in pointer to member specially.
3633	(demangle_type): Handle qualifiers for pointer or reference
3634	specially.  Handle function type.
3635	(demangle_local_name): Save and restore caret around demangling of
3636	initial encoding.
3637
3638	* testsuite/test-demangle.c (main): Don't pass DMGL_VERBOSE to
3639	cplus_demangle.
3640
3641	* testsuite/Makefile.in (test-demangle): Depend upon libiberty.a.
3642
36432003-10-31  Andreas Jaeger  <aj@suse.de>
3644
3645	* floatformat.c (floatformat_always_valid): Add unused attribute.
3646
36472003-10-30  Josef Zlomek  <zlomekj@suse.cz>
3648
3649	Jan Hubicka <jh@suse.cz>
3650	* vasprintf.c (int_vasprintf): Pass va_list by value.
3651	Use va_copy for copying va_list.
3652	(vasprintf): Pass va_list by value.
3653
36542003-10-30  Josef Zlomek  <zlomekj@suse.cz>
3655
3656	* hashtab.c (htab_find_slot_with_hash): Decrease n_deleted
3657	instead of increasing n_elements when inserting to deleted slot.
3658
36592003-10-20  J. Brobecker  <brobecker@gnat.com>
3660
3661	* cplus-dem.c (demangle_template): Register a new Btype only
3662	when needed.
3663	* testsuite/demangle-expected: Add a new test.
3664
36652003-10-16  H.J. Lu  <hongjiu.lu@intel.com>
3666
3667	* testsuite/demangle-expected: Update the expected output of
3668	_GLOBAL__I__Z2fnv.
3669
36702003-10-02  Daniel Jacobowitz  <drow@mvista.com>
3671
3672	* strerror.c: Revert last change.  Declare static sys_nerr
3673	and sys_errlist using different names.
3674
36752003-10-01  Daniel Jacobowitz  <drow@mvista.com>
3676
3677	* strerror.c: Don't provide or reference sys_errlist if
3678	strerror is available.
3679
36802003-10-01  H.J. Lu  <hongjiu.lu@intel.com>
3681
3682	* configure.in: Check if $MAKEINFO is missing.
3683	* configure: Regenerated.
3684
36852003-09-24  Daniel Jacobowitz  <drow@mvista.com>
3686
3687	* configure.in: Use AC_PROG_CPP_WERROR.
3688	* configure: Regenerated.
3689
36902003-09-22  Andrew Cagney  <cagney@redhat.com>
3691
3692	* floatformat.c (floatformat_i387_ext_is_valid): New function.
3693	(floatformat_always_valid): New function.
3694	(floatformat_i387_ext): Initialize new "is_valid" field to
3695	"floatformat_i387_ext_is_valid".
3696	(floatformat_ieee_single_little): Initialize "is_valid" field to
3697	floatformat_always_valid.
3698	(floatformat_ieee_double_big): Ditto.
3699	(floatformat_ieee_double_little): Ditto.
3700	(floatformat_ieee_double_little): Ditto.
3701	(floatformat_ieee_double_littlebyte_bigword): Ditto.
3702	(floatformat_i960_ext): Ditto.
3703	(floatformat_m88110_ext): Ditto.
3704	(floatformat_m88110_harris_ext): Ditto.
3705	(floatformat_arm_ext_big): Ditto.
3706	(floatformat_arm_ext_littlebyte_bigword): Ditto.
3707	(floatformat_ia64_spill_big): Ditto.
3708	(floatformat_ia64_spill_little): Ditto.
3709	(floatformat_ia64_quad_big): Ditto.
3710	(floatformat_ia64_quad_little): Ditto.
3711	(floatformat_ia64_quad_little): Ditto.
3712	(floatformat_is_valid): Call "is_valid".
3713
37142003-09-15  Andrew Cagney  <cagney@redhat.com>
3715
3716	* floatformat.c (get_field): Make "data" constant.
3717	(floatformat_is_valid, floatformat_to_double): Make "from"
3718	constant, fix casts.
3719	(floatformat_from_double): Make "from" constant.
3720
37212003-09-15  Daniel Jacobowitz  <drow@mvista.com>
3722
3723	* floatformat.c (floatformat_is_valid): New function.
3724	(get_field, put_field): Correct comments.
3725
37262003-09-06  Josef Zlomek  <zlomekj@suse.cz>
3727
3728	* fibheap.c (fibheap_replace_key_data): Change type of OKEY to
3729	FIBHEAPKEY_T.
3730
37312003-09-02  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3732
3733	PR bootstrap/12100
3734	* aclocal.m4 (AC_LANG_FUNC_LINK_TRY): Define.
3735	* configure: Rebuilt.
3736
37372003-08-27  Daniel Jacobowitz  <drow@mvista.com>
3738
3739	* aclocal.m4: Include acx.m4 and no-executables.m4.
3740	(libiberty_AC_FUNC_STRNCMP): Use AC_LIBOBJ.
3741	(LIB_AC_PROG_CC): Remove.
3742	* configure.in: Update AC_PREREQ to 2.57.  Use GCC_NO_EXECUTABLES.
3743	Use AC_PROG_CC and set ac_libiberty_warn_cflags instead of using
3744	LIB_AC_PROG_CC.  Use AC_LIBOBJ.  Call AC_ISC_POSIX later, only if
3745	performing link tests.
3746	* configure: Regenerated.
3747
37482003-08-12  Nathanael Nerode  <neroden@gcc.gnu.org>
3749
3750	* cp-demangle.c: Clarify what package(s) this is part of.
3751
37522003-07-05  Danny Smith  <dannysmith@users.sourceforge.net>
3753
3754	* pex-win32.c (pexecute): Mark parameters this_pname and
3755	temp_base as unused. Remove unused variables retries,
3756	sleep_interval. Initialize org_stdin, org_stdout.
3757	(pwait): Mark parameter flags as unused.
3758
37592003-07-02  Danny Smith  <dannysmith@users.sourceforge.net>
3760
3761	* pex-win32.c (fix_argv): Ensure that the executable pathname
3762	uses Win32 backslashes.
3763	(pexecute): Cast away constness when assigning *errmsg_arg.
3764
37652003-06-26  H.J. Lu <hongjiu.lu@intel.com>
3766
3767	* testsuite/demangle-expected: Add more GNU V3 testcases.
3768
37692003-06-22  Zack Weinberg  <zack@codesourcery.com>
3770
3771	* safe-ctype.c: Use HOST_CHARSET_ASCII and HOST_CHARSET_EBCDIC,
3772	not HC_ASCII and HC_EBCDIC.
3773	Add documentation in form expected by gather-docs.
3774	* hex.c: Use HOST_CHARSET, not hand-coded check of character set.
3775	* Makefile.in, functions.texi: Regenerate.
3776
37772003-06-21  Zack Weinberg  <zack@codesourcery.com>
3778
3779	* safe-ctype.c: Separate out EOF==-1 check.  Use HOST_CHARSET
3780	for charset determination.
3781
37822003-06-19  Dara Hazeghi  <dhazeghi@yahoo.com>
3783
3784	* configure.in: Add check for malloc.h needed by
3785	m68k for function free().
3786	* configure: Regenerated.
3787	* config.in: Add HAVE_MALLOC_H.
3788	* hashtab.c: include malloc.h were available for
3789	free().
3790
37912003-06-09  Albert Chin-A-Young  <china@thewrittenword.com>
3792
3793	PR bootstrap/10974
3794	* physmem.c: Update comment.
3795	* configure.in: Modify test for _system_configuration for older
3796	AIX systems.
3797
3798	* config.in, configure: Regenerated.
3799
38002003-06-05  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3801
3802	PR other/10810
3803	* test-demangle.c (getline): Fix fence-post error.
3804
38052003-06-03  Nick Clifton  <nickc@redhat.com>
3806
3807	* asprintf.c: Change comment to note that -1 is returned upon
3808	error.
3809	* vasprintf.c: Likewise.
3810	(vasprintf): Return -1 upon error.
3811	* functions.texi: Document changes to asprintf and vasprintf.
3812
38132003-05-19  Kelley Cook  <kelleycook@wideopenwest.com>
3814
3815	* config.table: Accept i[345867]86 variant.
3816
38172003-05-15  Jim Blandy  <jimb@redhat.com>
3818
3819	* hex.c (_hex_value): Make this unsigned.
3820	(hex_value): Update documentation for new return type.  hex_value
3821	now expands to an unsigned int expression, to avoid unexpected
3822	sign extension when we store it in a bfd_vma, which is larger than
3823	int on some platforms.
3824	* functions.texi: Regenerated.
3825
38262003-05-07  Josef Zlomek  <zlomekj@suse.cz>
3827
3828	* splay-tree.c (splay_tree_predecessor): Fix comment.
3829	(splay_tree_successor): Fix comment.
3830
38312003-05-07  Jason Merrill  <jason@redhat.com>
3832
3833	* hashtab.c (iterative_hash): New fn.
3834	* configure.in: Add AC_C_BIGENDIAN_CROSS.
3835	* aclocal.m4: Include accross.m4.
3836	* configure, config.in: Regenerate.
3837
38382003-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3839
3840	* configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
3841	* configure: Regenerate.
3842
38432003-05-03  Carlo Wood  <carlo@alinoe.com>
3844
3845	* cp-demangle.c: Fix typo in "char_traints" string-literal.
3846
38472003-04-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3848
3849	* vsnprintf.c (vsnprintf): Don't pad string with extra nulls.
3850	(main): Test that we don't write too much data.
3851
38522003-04-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3853
3854	* configure.in (funcs, AC_CHECK_FUNCS): Add snprintf and
3855	vsnprintf.
3856	* snprintf.c, vsnprintf.c: New files.
3857	* Makefile.in (CFILES): Add snprintf.c and vsnprintf.c.
3858	(CONFIGURED_OFILES): Add snprintf.o and vsnprintf.o.
3859	Regenerate dependencies.
3860
3861	* functions.texi, configure, config.in: Regenerated.
3862
38632003-04-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3864
3865	* mempcpy.c, stpcpy.c, stpncpy.c: New files.
3866	* configure.in (funcs, AC_CHECK_FUNCS): Add mempcpy, stpcpy
3867	and stpncpy.
3868	* Makefile.in (CFILES): Add mempcpy.c, stpcpy.c and stpncpy.c.
3869	(CONFIGURED_OFILES): Add mempcpy.o, stpcpy.o and stpncpy.o.
3870	Regenerate dependencies.
3871
3872	* functions.texi, configure, config.in: Regenerated.
3873
38742003-04-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3875
3876	* argv.c: Fix comments.
3877	* calloc.c: Don't unnecessarily include "libiberty.h".
3878	(bzero): Add prototype.
3879	* floatformat.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
3880	* getcwd.c (getcwd): Use standard definition to avoid conflicts
3881	with system headers.
3882	* hashtab.c (htab_traverse): Delete unused variables.
3883	* rename.c: Include "ansidecl.h".
3884	(rename): Use standard definition to avoid conflicts with system
3885	headers.
3886	* strsignal.c: Rely on ANSI_PROTOTYPES.
3887	* strstr.c: Check GNUC >= 2, not GNUC == 2.
3888	* vfprintf.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
3889	* vprintf.c: Include "ansidecl.h" earlier, rely on
3890	ANSI_PROTOTYPES.
3891	* vsprintf.c: Include "ansidecl.h" earlier, rely on
3892	ANSI_PROTOTYPES and possibly include <stdarg.h>.
3893
3894	* Makefile.in: Regenerate dependencies.
3895
38962003-04-15  DJ Delorie  <dj@redhat.com>
3897
3898	* maint-tool (deps): Scan for headers in $srcdir also.
3899
39002003-04-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3901
3902	PR target/10338
3903	PR bootstrap/10198
3904	PR bootstrap/10140
3905	* getopt.c (exchange, _getopt_initialize): Use mempcpy not
3906	__mempcpy.
3907	* regex.c (regerror): Likewise.
3908
39092003-04-14  Roger Sayle  <roger@eyesopen.com>
3910
3911	* argv.c: Use ANSI_PROTOTYPES instead of __STDC__.
3912	* memchr.c: Likewise.
3913	* strcasecmp.c: Likewise.
3914	* strncasecmp.c: Likewise.
3915	* strncmp.c: Likewise.
3916	* xatexit.c: Likewise.
3917	* xmalloc.c: Likewise.
3918
3919	* copysign.c: Use traditional function declaration instead of DEFUN.
3920	* sigsetmask.c: Likewise.
3921
3922	* memcmp.c: Both of the above, ANSI_PROTOTYPES and DEFUN.
3923	* memset.c: Likewise.
3924
3925	* memcpy.c: ANSI_PROTOTYPES, DEFUN and prototype bcopy.
3926	* memmove.c: Likewise.
3927
39282003-04-14  Roger Sayle  <roger@eyesopen.com>
3929
3930	* strdup.c (strdup): Tweak implementation to use memcpy.
3931
39322003-04-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3933
3934	* configure.in (HAVE_UINTPTR_T): Always define.
3935	* configure: Regenerated.
3936
39372003-03-23  Alexandre Oliva  <aoliva@redhat.com>
3938
3939	* Makefile.in (MULTIOSDIR): New macro.  Use $(CC) $(LIBCFLAGS)
3940	instead of $$CC alone.
3941	(install_to_tooldir): Use it.
3942
39432003-17-03  Jan Hubicka  <jh@suse.cz>
3944
3945	* hashtab.c (htab_traverse_noresize): Break out from ...
3946	* hashtab.c (htab_traverse): ... here.
3947
39482003-12-03  Jan Hubicka  <jh@suse.cz>
3949
3950	* hashtab.c (htab_expand): Fix warning.
3951
3952	* hashtab.c (htab_expand): Compute the size of hashtable based
3953	on the number of elements actually used.
3954	(htab_traverse):  Call htab_expand when table is too empty.
3955
39562003-03-11  Carlo Wood  <carlo@gnu.org>
3957
3958	* cplus-dem.c (demangle_integral_value): Correction to reflect
3959	patch of 2002-01-10 in order to also make negative multi-digits
3960	without leading underscore work.
3961
39622003-03-03  Mark Mitchell  <mark@codesourcery.com>
3963
3964	* cplus-dem.c: Add license exception to copyright notice.
3965
39662003-02-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3967
3968	* physmem.c: Formatting changes from upstream.
3969
39702003-02-24  Danny Smith  <dannysmith@users.source.forge.net>
3971
3972	* physmem.c (physmem_total): Add _WIN32 support.
3973	(physmem_available): Likewise.
3974
39752003-02-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3976
3977	* physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
3978	GSI_PHYSMEM.
3979	(physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS.
3980
39812003-02-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3982
3983	* configure.in: Check for sys/systemcfg.h and
3984	_system_configuration.
3985	* physmem.c: Add support for AIX.  Tweek formatting as per
3986	upstream coreutils beta.
3987
39882003-02-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3989	    Richard Earnshaw  <rearnsha@arm.com>
3990	    Geoffrey Keating  <geoffk@apple.com>
3991
3992	* configure.in: Check for sys/sysctl.h and sysctl.
3993	* physmem.c: Add support for *bsd and darwin.
3994	* Makefile.in: Generate depedency for physmem.o.
3995
39962003-02-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3997
3998	* physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on
3999	Tru64 UNIX.
4000	(physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on
4001	Tru64 UNIX.
4002
4003	* configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h,
4004	machine/hal_sysinfo.h, sys/table.h.
4005	(checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table.
4006	* configure, config.in: Regenerate.
4007
40082003-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4009
4010	* configure.in: Check for sys/sysmp.h and sysmp.
4011	* physmem.c: Pull upstream copy, add support for irix6.
4012
4013	* config.in, configure: Regenerated.
4014
40152003-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4016
4017	* physmem.c (physmem_total, physmem_available): De-ANSI-fy.
4018	* configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and
4019	pstat_getdynamic.
4020
40212003-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4022
4023	* Makefile.in (CFILES): Add physmem.c.
4024	(REQUIRED_OFILES): Add physmem.o.
4025	* configure.in: Check for sys/pstat.h.
4026	(checkfuncs): Add pstat_getstatic and pstat_getdynamic.
4027	* physmem.c: New file, copied from textutils.
4028
4029	* config.in, configure: Regenerated.
4030
40312003-02-20  Daniel Jacobowitz  <drow@mvista.com>
4032
4033	* Makefile.in (CFILES): Add lrealpath.c.
4034	(REQUIRED_OFILES): Add lrealpath.o.
4035	(lrealpath.o): Add rule.
4036	* aclocal.m4 (libiberty_NEED_DECLARATION): Add.
4037	* configure.in: Add realpath and canonicalize_file_name to
4038	checkfuncs and AC_CHECK_FUNCS.  Use libiberty_NEED_DECLARATION
4039	for canonicalize_file_name.
4040	* lrealpath.c: New file.
4041	* make-relative-prefix.c: Update documentation.
4042	(make_relative_prefix): Simplify.  Use lbasename and lrealpath.
4043	* config.in: Regenerated.
4044	* configure: Regenerated.
4045	* functions.texi: Regenerated.
4046
40472003-02-20  jmc  <jmc@prioris.mini.pw.edu.pl>
4048
4049	* cplus_dem.c: Fix typo: intializes -> initializes.
4050
40512003-02-20  Alexandre Oliva  <aoliva@redhat.com>
4052
4053	* configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4054	config.status.
4055	* configure: Rebuilt.
4056
40572003-02-13  Daniel Jacobowitz  <drow@mvista.com>
4058
4059	Fix PR c++/7612.
4060	* cplus-dem.c (demangle_signature): Call string_delete.
4061	Remove extra string_init.
4062	(demangle_arm_hp_template): Call string_delete instead of
4063	string_clear.  Add missing string_delete call.
4064	(demangle_qualified): Add missing string_delete call.
4065	(do_type): Remove unused variable btype.  Add missing string_delete
4066	call.  Call string_delete instead of string_clear.
4067	(demangle_fund_type): Move variable btype inside of the switch
4068	statement.  Add missing string_delete call.
4069	(do_arg): Call string_delete instead of string_clear.  Remove extra
4070	string_init.
4071	(demangle_nested_args): Free work->previous_argument.
4072
40732003-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4074
4075	* acconfig.h: New file.  Add uintptr_t.
4076	* config.in: Regenerated.
4077
40782003-02-04  Joseph S. Myers  <jsm@polyomino.org.uk>
4079
4080	* libiberty.texi: Update to GFDL 1.2.
4081
40822003-01-30  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
4083
4084	* Makefile.in (libiberty_topdir): New subst.
4085	(mkinstalldirs): Redefine in terms of the above.
4086	* configure.in: AC_SUBST it.
4087	* configure: Regenerate.
4088
40892003-01-28  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
4090
4091	* Makefile.in (all-subdir, check-subdir, installcheck-subdir)
4092	(info-subdir, install-info-subdir, clean-info-subdir)
4093	(dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
4094	(clean-subdir, distclean-subdir, maintainer-clean-subdir):
4095	Pass $(FLAGS_TO_PASS).
4096
40972003-01-27  Alexandre Oliva  <aoliva@redhat.com>
4098
4099	* Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
4100	/`$$CC -print-multi-os-directory`.
4101
41022003-01-26  Daniel Jacobowitz  <drow@mvista.com>
4103
4104	* hashtab.c (htab_create_alloc_ex): New function.
4105	(hatab_set_functions_ex): New function.
4106	(htab_delete, htab_expand): Support alternate allocation functions.
4107
41082003-01-24  Christopher Faylor  <cgf@redhat.com>
4109
4110	* configure.in: Remove special pex-cygwin consideration.
4111	* configure: Regenerate.
4112	* pex-cygwin.c: Remove.
4113	* Makefile.in: Remove pex-cygwin.[co] lines.
4114
41152003-01-24  Zack Weinberg  <zack@codesourcery.com>
4116
4117	* Makefile.in (CFILES): Add pex-*.c.
4118	(REQUIRED_OFILES): Change pexecute.o to @pexecute@
4119	(CONFIGURED_OFILES): Add pex-*.o.
4120	(TEXIFILES): Add pexecute.txh.
4121	(pexecute.o): Delete rule.
4122	(pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o,
4123	pex-unix.o, pex-win32.o): New rules.
4124	* configure.in: Change AC_INIT argument to xmalloc.c.
4125	Compute appropriate pexecute implementation and substitute it
4126	as @pexecute@.
4127
4128	* pexecute.c: Split up into...
4129	* pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c,
4130	pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these
4131	new files.
4132
4133	* functions.texi: Regenerate.
4134	* configure: Regenerate.
4135
41362003-01-20  Josef Zlomek  <zlomekj@suse.cz>
4137
4138	* hashtab.c (htab_expand): Fix allocation of new entries.
4139
41402003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
4141
4142	* Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
4143
4144	* Makefile.in (install_to_libdir, install_to_tooldir): Add a
4145	mkinstalldirs command.
4146
41472002-12-04  Danny Smith  <dannysmith@users.sourceforge.net>
4148
4149	* make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
4150	Define for hosts with HOST_EXECUTABLE_SUFFIX.
4151
41522002-11-24  Nick Clifton  <nickc@redhat.com>
4153
4154	* make-relative-prefix.c (make_relative_prefix): Ensure return
4155	string is empty before using strcat to construct it.
4156
41572002-11-22  Daniel Jacobowitz  <drow@mvista.com>
4158
4159	* Makefile.in: Add make-relative-prefix.c.
4160	* make-relative-prefix.c: New file.
4161	* functions.texi: Rebuilt.
4162
41632002-11-16  Jakub Jelinek  <jakub@redhat.com>
4164
4165	* md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
4166	used with arguments in traditional C' warnings.
4167
41682002-10-16  Jakub Jelinek  <jakub@redhat.com>
4169
4170	* config.table: Use mh-s390pic for s390x too.
4171
41722002-10-06  Andreas Jaeger  <aj@suse.de>
4173
4174	* libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded
4175	variable and of strict-aliasing warning.
4176	(grow_vect): Use char as first parameter.
4177
41782002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4179
4180	* Makefile.in (all): Fix multilib parallel build.
4181
41822002-09-19  John David Anglin  <dave@hiuly1.hia.nrc.ca>
4183
4184	* cp-demangle.c (demangling_new): Cast 0 to enum.
4185	(demangle_char): Cast return of strdup to char *.
4186	(is_gnu_v3_mangled_ctor): Cast 0 to enum.
4187	(is_gnu_v3_mangled_dtor): Likewise.
4188	* cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
4189	(work_stuff_copy_to_from): Cast return of xmalloc to char **.
4190	* fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
4191	* md5.c (md5_process_bytes): Cast results back to const void *.
4192	(md5_process_block): Add cast to const md5_uint32 *.
4193	* regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
4194	* safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
4195	unsigned short.
4196	* splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
4197	to void *.
4198	* vasprintf.c (int_vasprintf): Cast return of malloc to char *.
4199
42002002-09-19  Nick Clifton  <nickc@redhat.com>
4201
4202	* README: Update email addresses for bugs and patches.
4203
42042002-09-10  Mike Stump  <mrs@apple.com>
4205
4206	* splay-tree.c (splay_tree_successor): Fix comments.
4207
42082002-09-11  Zack Weinberg  <zack@codesourcery.com>
4209
4210	* cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
4211	* testsuite/Makefile.in: Adjust for test-demangle.
4212	* testsuite/regress-demangle: Deleted.
4213	* testsuite/test-demangle.c: New file.
4214	* testsuite/demangle-expected: Change \$ to $ throughout, now that
4215	this file is not being read by a shell script.
4216
42172002-09-05  Roger Sayle  <roger@eyesopen.com>
4218
4219	* regex.c: Only use "#pragma alloca" on AIX when not using gcc.
4220
42212002-08-07  DJ Delorie  <dj@redhat.com>
4222
4223	* regex.c (re_error_msgid): Just use a simple array of strings.
4224	(re_compile_pattern): Compensate.
4225	(re_comp): Likewise.
4226	(re_comp): Likewise.
4227	(regerror): Likewise.
4228
42292002-07-29  Neil Booth  <neil@daikokuya.co.uk>
4230
4231	* cplus-dem.c (PREPEND_BLANK): Remove.
4232
42332002-07-10  Jason Merrill  <jason@redhat.com>
4234
4235	* cp-demangle.c (demangle_identifier): Support extended Unicode
4236	characters.
4237
42382002-07-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4239
4240	* cp-demangle.c (demangle_v3_with_details): Wrap in
4241	!defined IN_GLIBCPP_V3.
4242
42432002-07-01  Mark Mitchell  <mark@codesourcery.com>
4244
4245	* cp-demangle.c (demangle_operator_name): Add type_arg parameter.
4246	Set it for the "st" operator.
4247	(demangle_expression): Handle expressions with types as arguments.
4248
42492002-06-30  Douglas Rupp  <rupp@gnat.com>
4250
4251	* configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
4252	* Makefile.in (OUTPUT_OPTION): Use.
4253
42542002-06-22  Peter Breitenlohner <peb@mppmu.mpg.de>
4255
4256	* Makefile.in (install_to_libdir): Add $(DESTDIR).
4257	(install_to_tooldir): Likewise.
4258
42592002-06-17  Douglas Rupp  <rupp@gnat.com>
4260
4261	* lbasename.c: Add 2002 to copyright.
4262	(IS_DIR_SEPARATOR): Remove VMS junk.
4263
42642002-06-05  Geoffrey Keating  <geoffk@redhat.com>
4265
4266	* hashtab.c (htab_create): New stub function for backward
4267	compatibility.
4268	(htab_try_create): Likewise.
4269
42702002-06-03  Geoffrey Keating  <geoffk@redhat.com>
4271
4272	* hashtab.c (htab_create): Delete.
4273	(htab_try_create): Delete.
4274	(htab_create_alloc): New.
4275	(htab_delete): Support user-specified memory allocation.
4276	(htab_expand): Likewise.
4277
42782002-05-22  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
4279
4280	* configure.in: Fix typo in the code checking for sys_errlist.
4281	* configure: Regenerated.
4282
42832002-05-13  Andreas Schwab  <schwab@suse.de>
4284
4285	* config.table: Use mh-x86pic also for x86-64.
4286
42872002-05-08  Alexandre Oliva  <aoliva@redhat.com>
4288
4289	* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
4290	script entry, and set LD to it when configuring multilibs.
4291	* configure: Rebuilt.
4292
42932002-05-07  Mark Mitchell  <mark@codesourcery.com>
4294
4295	* configure.in (AC_TYPE_PID_T): Use it.
4296	* configure: Regenerated.
4297	* getruntime.c: Include <sys/types.h>.
4298	* waitpid.c: Likewise.  Use pid_t, not int, as the type of "pid".
4299
43002002-04-09  Richard Henderson  <rth@redhat.com>
4301
4302	* hashtab.c (higher_prime_number): Use 7 as minimum.
4303	(find_empty_slot_for_expand): Don't compute hash2 unless needed.
4304	(htab_find_slot_with_hash): Likewise.
4305
43062002-04-01  Phil Edwards  <pme@gcc.gnu.org>
4307
4308	* cp-demangle.c (__cxa_demangle):  Also protect with IN_GLIBCPP_V3.
4309	(is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor):  Conditionally
4310	not compile if IN_GLIBCPP_V3 defined.
4311	* dyn-string.c:  Also allow IN_GLIBCPP_V3 to change allocation scheme.
4312
43132002-03-30  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4314
4315	* cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
4316	if it is NULL.
4317
43182002-03-27  DJ Delorie  <dj@redhat.com>
4319
4320	* hex.c: Add documentation.
4321	(_hex_value): Provide non-ASCII empty table.
4322	(hex_init): Initialize the non-ASCII table.
4323	* functions.texi: Regenerate.
4324
43252002-03-27  Mark Mitchell  <mark@codesourcery.com>
4326
4327	* dyn-string.c: Add libgcc exception to copyright notice.
4328
43292002-03-26  H.J. Lu  (hjl@gnu.org)
4330
4331	* config.table: Support --with-build-subdir.
4332	* configure.in: Likewise.
4333	* configure: Rebuild.
4334
43352002-03-18  Stuart Griffith  <Stuart_Griffith@credence.com>
4336
4337	* strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
4338	seen.
4339
43402002-03-12  Mark Mitchell  <mark@codesourcery.com>
4341
4342	* cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
4343	notice.
4344
43452002-03-11  Douglas B Rupp  <rupp@gnat.com>
4346
4347	* xatexit.c [VMS]: Include stdlib.h and unixlib.h.
4348
43492002-03-06  Jim Blandy  <jimb@redhat.com>
4350
4351	* splay-tree.c (splay_tree_xmalloc_allocate,
4352	splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
4353	prototyped definitions.  Mark `data' arguments as unused.
4354
43552002-03-06  Andrew Cagney  <ac131313@redhat.com>
4356
4357	* floatformat.c (floatformat_arm_ext_big): Delete definition.
4358
43592002-03-04  Phil Edwards  <pme@gcc.gnu.org>
4360
4361	* configure.in:  Add --enable-install-libiberty option.
4362	* Makefile.in (INSTALLED_HEADERS):  New variable.
4363	(install_to_libdir):  Possibly also copy headers.
4364	* configure:  Regenerated.
4365
43662002-03-04  Neil Booth  <neil@daikokuya.demon.co.uk>
4367
4368	* xmalloc.c (xmalloc_fail): Clarify error message further.
4369
43702002-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
4371
4372	* xmalloc.c (xmalloc_fail): Clarify error message.
4373
43742002-02-22  Jim Blandy  <jimb@redhat.com>
4375
4376	* splay-tree.c (splay_tree_xmalloc_allocate,
4377	splay_tree_xmalloc_deallocate): New functions.
4378	(splay_tree_new): Call splay_tree_new_with_allocator, passing the
4379	above functions and a dummy data pointer.
4380	(splay_tree_new_with_allocator): New function.
4381	(splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
4382	splay_tree_remove): Use the splay tree's allocation and
4383	deallocation functions.
4384
43852002-02-19  Scott Snyder  <snyder@fnal.gov>
4386
4387	* testsuite/demangle-expected: Add test case for infinite loop in
4388	demangler.
4389	* cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
4390	if do_type() doesn't make any progress --- prevents an infinite
4391	loop.
4392
43932002-02-18  Carlo Wood  <carlo@gnu.org>
4394
4395	PR c++/5390
4396	* cplus-dem.c (demangle_integral_value): Accept multi-digit
4397	numbers that do not start with an underscore; This is needed
4398	for integer template parameters. This doesn't break anything
4399	because multi-digit numbers are never followed by a digit.
4400	* testsuite/demangle-expected: Corrected all mangled test
4401	cases with multi-digit template parameters: g++ 2.95.x does
4402	not generate underscores around these parameters.
4403
44042002-02-05  Jason Merrill  <jason@redhat.com>
4405
4406	* cplus-dem.c (flags): Add DMGL_VERBOSE
4407	(cplus_demangle_v3_p): Remove.
4408	(demangle_it): Add DMGL_TYPES to passed flags.
4409	* cp-demangle.c (cplus_demangle_v3_all): Remove.
4410	(cplus_demangle_v3_type): Remove.
4411	(cplus_demangle_v3): Add options parm.
4412
44132002-02-02  H.J. Lu  (hjl@gnu.org)
4414
4415	* cp-demangle.c (cp_demangle_type): Do not protect with
4416	IN_LIBGCC2.
4417	(cplus_demangle_v3_all): New.
4418	(cplus_demangle_v3): Call cplus_demangle_v3_all.
4419	(cplus_demangle_v3_type): Call cplus_demangle_v3_all.
4420
4421	* cplus-dem.c (cplus_demangle_v3_p): New function pointer.
4422	Initialized to cplus_demangle_v3.
4423	(cplus_demangle_with_style): Call cplus_demangle_v3_p instead
4424	of cplus_demangle_v3.
4425	(main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
4426	command line symbol.
4427
4428	* testsuite/regress-demangle: Pass the mangled name at the
4429	command line.
4430
44312002-02-01  H.J. Lu  <hjl@gnu.org>
4432
4433	* cp-demangle.c (cp_demangle_type): Call demangling_new with
4434	DMGL_GNU_V3.
4435
44362002-01-31  Phil Edwards  <pme@gcc.gnu.org>
4437
4438	* cp-demangle.c:  Revert yesterday's change.
4439
44402002-01-31  Adam Megacz  <adam@xwt.org>
4441
4442	* gcc/libiberty/configure.in: Treat mingw the same as cywin
4443	wrt HAVE_SYS_ERRLIST.
4444
44452002-01-30  Phil Edwards  <pme@gcc.gnu.org>
4446
4447	* cp-demangle.c (cp_demangle_type):  Do not protect with IN_LIBGCC2.
4448	(cplus_demangle_v3):  Mimic __cxa_demangle and fall back on
4449	cp_demangle_type.
4450	* testsuite/demangle-expected:  New gnu-v3 test.
4451
44522002-01-22  Momchil Velikov  <velco@fadata.bg>
4453
4454	* configure.in (variable detection): Use arrays of unspecified
4455	size instead of plain integers.
4456
44572002-01-18  DJ Delorie  <dj@redhat.com>
4458
4459	* Makefile.in (TESTLIB): New.  This library is for future
4460	testsuites.
4461	(CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
4462	break down by letter.
4463	(REQUIRED_OFILES): List long-to-compile files first.
4464	(maint-deps): New, target for updating dependencies.
4465	(dependencies): Update.
4466	* maint-tool: Add dependency-generating option.
4467	* configure.in: Check for _doprnt even if we're not providing it.
4468	* configure: Regenerate.
4469
4470	* _doprnt.c: Modifications to allow compiling on any platform.
4471	* copysign.c: Likewise.
4472	* putenv.c: Likewise.
4473	* setenv.c: Likewise.
4474	* vsprintf.c: Likewise.
4475
44762002-01-15  Douglas B Rupp  <rupp@gnat.com>
4477
4478	* mkstemps.c (mkstemps): On VMS, open temp file with option
4479	that causes it to be deleted when closed.
4480
44812002-01-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4482
4483	* cp-demangle.c (long_options): Const-ify.
4484	* cplus-dem.c (long_options): Likewise.
4485
4486	* cplus-dem.c (mystrstr): Delete.  All callers changed to use
4487	strstr instead.
4488
44892001-12-31  Ira Ruben	<ira@apple.com>
4490
4491	* aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
4492	* configure: Regenerated.
4493
44942001-12-24  Douglas B. Rupp  <rupp@gnat.com>
4495
4496	* configure.in (uintptr_t): Use AC_CHECK_TYPE.
4497	* configure: Regenerated.
4498
44992001-12-12  Craig Rodrigues  <rodrigc@gcc.gnu.org>
4500
4501	PR other/2719
4502	* cplus-dem.c (consume_count): Treat negative count as an error.
4503	* testsuite/demangle-expected: Added testcase.
4504
4505Tue Dec 11 07:08:57 2001  Douglas B. Rupp  <rupp@gnat.com>
4506
4507	* configure.in: Hardcode that vfork works on VMS host.
4508	* configure: Regenerated.
4509
45102001-12-06  Richard Henderson  <rth@redhat.com>
4511
4512	* cplus-dem.c (libiberty_demanglers): Add no_demangling case.
4513	(cplus_demangle): Support no_demangling.
4514
45152001-11-27  Zack Weinberg  <zack@codesourcery.com>
4516
4517	* _doprnt.c: Moved here from gcc/doprint.c.  Adjust to build
4518	in libiberty context.  Fix typo in leading comment.
4519	* configure.in: Fix various AC_DEFINEs so autoheader works.
4520	If any of vprintf, vsprintf, vfprintf is missing from libc,
4521	then AC_REPLACE_FUNCS(_doprnt).
4522
45232001-11-26  DJ Delorie  <dj@redhat.com>
4524	    Daniel Jacobowitz  <drow@mvista.com>
4525
4526	* Makefile.in (stamp-h): Depend on Makefile for proper
4527	serialization.
4528	(*-subdir): Depend on config.h for proper serialization.
4529
45302001-11-26  DJ Delorie  <dj@redhat.com>
4531
4532	* configure.in: Check for alloca.h (for regex.c and putenv.c).
4533	* configure: Regenerate.
4534	* config.h: Add HAVE_ALLOCA_H.
4535
45362001-11-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4537
4538	* regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
4539	defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
4540	is available.
4541
4542Thu Nov 15 11:06:25 2001  Jeffrey A Law  (law@cygnus.com)
4543
4544	* config.in (HAVE_UINTPTR_T): Provide autoconf stub.
4545	* configure.in (HAVE_UINTPTR_T): Test for system defining
4546	uintptr_t and define HAVE_UINTPTR_T appropriately.
4547	* regex.c (uintptr_t): Do not provide a definition if the
4548	system provided one.
4549
4550	* regex.c (PREFIX): Provide an alternate definition for
4551	non-ANSI/ISO compilers.
4552	(ARG_PREFIX): Likewise.
4553
45542001-11-12  Jim Meyering  <meyering@lucent.com>
4555
4556	* obstack.c (_): Honor the setting of ENABLE_NLS.  Otherwise,
4557	this code would end up calling gettext even in packages built
4558	with --disable-nls.
4559	* getopt.c (_): Likewise.
4560	* regex.c (_): Likewise.
4561
45622001-11-03  Alan Modra  <amodra@bigpond.net.au>
4563
4564	* configure.in: Cope with missing makeinfo.
4565	* configure: Regenerate.
4566
45672001-10-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4568
4569	* hex.c (hex_init): Provide empty stub.
4570
4571	* hex.c (hex_init): Delete.
4572	(_hex_value): Const-ify and initialize at compile-time.
4573
45742001-10-19  H.J. Lu <hjl@gnu.org>
4575
4576	* Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
4577	necessary.
4578
45792001-10-17  DJ Delorie  <dj@redhat.com>
4580
4581	* argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
4582	ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
4583	mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
4584	Improve manual formatting.
4585	* functions.texi: Regenerate.
4586
45872001-10-15  DJ Delorie  <dj@redhat.com>
4588
4589	* Makefile.in (TEXIFILES): Add fnmatch.txh.
4590	(maint-undoc): New.
4591	maint-tool: Add "undoc" tool.
4592	* alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
4593	fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
4594	make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
4595	strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
4596	documentation.
4597	* fnmatch.txh: New.
4598	* functions.texi: Regenerate.
4599
46002001-10-10  Joseph S. Myers  <jsm28@cam.ac.uk>
4601
4602	* bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
4603	* strtod.c: Use "ISO C" instead of "ANSI C".
4604	* functions.texi: Regenerate.
4605
46062001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
4607
4608	* alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
4609	libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
4610	strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
4611	xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting.  Fix
4612	spelling.  Give names to function arguments in documentation.  Use
4613	(void) prototypes in documentation.
4614	* functions.texi: Regenerate.
4615
46162001-10-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4617
4618	* argv.c (buildargv, tests, main): Const-ify.
4619	* cp-demangle.c (operator_code): Likewise.
4620	* cplus-dem.c (optable, libiberty_demanglers,
4621	cplus_demangle_set_style, cplus_demangle_name_to_style,
4622	print_demangler_list): Likewise.
4623	* hashtab.c (higher_prime_number): Likewise.
4624	* strcasecmp.c (charmap): Likewise.
4625	* strerror.c (error_info, strerror, main): Likewise.
4626	* strncasecmp.c (charmap): Likewise.
4627	* strsignal.c (signal_info): Likewise.
4628
46292001-09-29  DJ Delorie  <dj@redhat.com>
4630
4631	* configure: Regenerate.
4632
46332001-09-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4634
4635	* concat.c: Include stdlib.h.
4636
46372001-09-27  Eli Zaretskii  <eliz@is.elta.co.il>
4638
4639	* libiberty.texi: (Top level): Add syncodeindex pg.  Add
4640	@dircategory and @direntry directives.  Add @finalout.
4641	(many nodes): Lose the next,prev,up pointers on the @nide line.
4642	(Using, Supplemental Functions, Replacement Functions): Fix
4643	markup.
4644	(Functions): Move around, to allow makeinfo to build the manual
4645	without next,prev,up pointers in thye node lines.
4646	(Licenses): Fix typos.
4647
4648	* index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
4649	strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
4650	* functions.texi: Regenerate.
4651
4652	* copying-lib.texi: Lose the next,prev,up pointers on the @node
4653	line.
4654
46552001-09-27  DJ Delorie  <dj@redhat.com>
4656
4657	* configure.in: Don't use in-tree texinfo, because libiberty must
4658	be built before it.  Check for makeinfo version 4 or higher.
4659	* functions.texi: Regenerate.
4660
46612001-09-20  DJ Delorie  <dj@redhat.com>
4662	    Phil Edwards  <pedwards@disaster.jaj.com>
4663
4664	* configure.in (MAKEINFO, PERL): Detect these.
4665	(--enable-maintainer-mode): Add.
4666	* configure: Regenerate.
4667	* Makefile.in (MAKEINFO, PERL): Define.
4668	(libiberty.info, libiberty.dvi, libiberty.html): New.
4669	(CFILES): Add bsearch.c.
4670	(CONFIGURED_OFILES): New, list of objects configure might add.
4671	(maint-missing, maint-buildall): New, for maintainers only.
4672	(clean, mostlyclean): Add info/dvi/html files.
4673	* libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
4674	* gather-docs: New, for maintainers.
4675	* maint-tool: New, for maintainers.
4676	* alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
4677	bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
4678	getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
4679	memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
4680	sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
4681	strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
4682	tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
4683	xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
4684	documentation.
4685
46862001-09-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4687
4688	* concat.c (reconcat): Fix for traditional C.
4689
46902001-09-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4691
4692	* concat.c (reconcat): New function.
4693
46942001-09-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4695
4696	* concat.c (vconcat_length, vconcat_copy, concat_length,
4697	concat_copy, concat_copy2): New functions.
4698	(concat): Use vconcat_length/vconcat_copy.
4699
4700	* alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
4701	Define.
4702
47032001-09-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4704
4705	* asprintf.c: Don't define USE_STDARG.  Use VPARAMS, VA_OPEN,
4706	VA_FIXEDARG & VA_CLOSE.
4707
4708	* vasprintf.c: Check HAVE_STRING_H when including string.h.
4709	(checkit): Delete redundant prototype.  Add ATTRIBUTE_PRINTF_1.
4710	Use VA_OPEN, VA_FIXEDARG & VA_CLOSE.  Free allocated string.
4711
47122001-08-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4713
4714	* concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
4715
47162001-08-23  Ulrich Drepper  <drepper@redhat.com>
4717
4718	* regex.c (truncate_wchar): Use wcrtomb not wctomb.
4719
47202001-08-23  Ulrich Drepper  <drepper@redhat.com>
4721
4722	* posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
4723	instead of mbrtowc.
4724	[_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
4725	wcslen, and __wcscoll instead of wcscoll.
4726
47272001-08-22  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
4728
4729	* fibheap.c (fibheap_init, fibnode_init): Remove.
4730	(fibheap_new, fibnode_new): Use xcalloc to allocate and
4731	initialize memory.
4732	(fibheap_insert): Remove check for node allocation failure.
4733
47342001-08-21  Richard Henderson  <rth@redhat.com>
4735
4736	* Makefile.in (fibheap.o): Depend on config.h.
4737	* fibheap.c: Tidy formatting.  Use config.h.` Rearrange some
4738	functions for inlining.
4739
4740Tue Aug 21 12:35:04 2001  Christopher Faylor <cgf@cygnus.com>
4741
4742	* configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
4743	hosting on cygwin.
4744	* configure: Regenerate.
4745
47462001-08-20  Andrew Cagney  <ac131313@redhat.com>
4747
4748	* floatformat.c (floatformat_m88110_ext): Remove #ifdef
4749	HARRIS_FLOAT_FORMAT.
4750	(floatformat_ia64_spill_little, floatformat_ia64_quad_little)
4751	(floatformat_ia64_spill_big, floatformat_ia64_quad_big)
4752	(floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
4753	(floatformat_m88110_harris_ext): New float formats.
4754
47552001-08-20  Daniel Berlin  <dan@cgsoftware.com>
4756
4757	* fibheap.c: New file. Fibonacci heap.
4758
4759	* Makefile.in (CFILES): Add fibheap.c.
4760	(REQUIRED_OFILES): Add fibheap.o.
4761	(fibheap.o): Add dependencies for fibheap.o.
4762
47632001-08-17  Christopher Faylor <cgf@cygnus.com>
4764
4765	* configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
4766	* configure: Regenerate.
4767
47682001-08-16  Richard Henderson  <rth@redhat.com>
4769
4770	* hashtab.c (htab_hash_string): New.
4771
47722001-08-13  Andrew Cagney  <ac131313@redhat.com>
4773
4774	* floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
4775	name.
4776
47772001-08-12  Isamu Hasegawa  <isamu@yamato.ibm.com>
4778
4779	* regex.c (wcs_regex_compile): Use appropriate string
4780	to compare with collating element.
4781	Fix the padding for the alignment.
4782
47832001-08-10  Andrew Cagney  <ac131313@redhat.com>
4784
4785	* lbasename.c (lbasename): Change function definition to return a
4786	const char pointer.
4787
47882001-08-07  Jason Merrill  <jason_merrill@redhat.com>
4789
4790	* cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
4791	for".
4792
47932001-08-03  Richard Henderson  <rth@redhat.com>
4794
4795	* Makefile.in (concat.o): Depend on config.h.
4796
47972001-07-30  Andreas Jaeger  <aj@suse.de>
4798
4799	* concat.c: Include "config.h".
4800
48012001-07-30  Andreas Jaeger  <aj@suse.de>
4802
4803	* regex.c: Declare wcs functions only if compiling with
4804	MBS_SUPPORT.
4805	Don't use #elif for traditional C.
4806
48072001-07-23  Ulrich Drepper  <drepper@redhat.com>
4808
4809	* regex.c: Revamp memory allocation for WCHAR functions to
4810	not use too much stack.
4811
48122001-07-30  Andreas Jaeger  <aj@suse.de>
4813
4814	* regex.c: Declare wcs functions only if compiling with
4815	MBS_SUPPORT.
4816	Don't use #elif for traditional C.
4817
48182001-07-25  Daniel Jacobowitz  <drow@mvista.com>
4819
4820	* Makefile.in (regex.o): Add dependency on config.h.
4821
48222001-07-18  Andreas Schwab  <schwab@suse.de>
4823
4824	* regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
4825	underscore character.
4826
48272001-07-18  Ulrich Drepper  <drepper@redhat.com>
4828
4829	* regex.c: Limit string length printed in debug messages to 100
4830	chars.
4831
48322001-07-18  Andreas Jaeger  <aj@suse.de>
4833
4834	* regex.c: Place under LGPL version 2.1.
4835
48362001-07-10  Jeff Johnston  <jjohnstn@redhat.com>
4837
4838	* Makefile.in: Add support for regex code.
4839	* regex.c: New file.
4840
48412001-07-05  Mark Klein  <mklein@dis.com>
4842
4843	* Makefile.in: Add ffs.c dependency.
4844	* configure.in: Add ffs.c.
4845	* ffs.c: New file.
4846
48472001-06-18  Richard Henderson  <rth@redhat.com>
4848
4849	* concat.c: Include <sys/types.h>.
4850
48512001-06-11  Loren J. Rittle  <ljrittle@acm.org>
4852
4853	bootstrap/3106
4854	* strerror.c (sys_nerr): Hide the OS header version.
4855	* strsignal.c (sys_nsig): Likewise.
4856
48572001-06-10  Richard Henderson  <rth@redhat.com>
4858
4859	* concat.c: Include string.h.  Fix int vs size_t usage.
4860	Simplify the iteration loops.  Use memcpy.
4861
48622001-05-16  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
4863
4864	* partition.c: Fix misspelling of `implementation'.
4865
48662001-05-09  Thiemo Seufer  <seufer@csv.ica.uni-stuttgart.de>
4867
4868	* md5.c (md5_init_ctx): Declare constants as unsigned.
4869	(md5_process_block): Likewise.
4870
48712001-05-07  Zack Weinberg  <zackw@stanford.edu>
4872
4873	* cp-demangle.c (demangle_v3_with_details,
4874	is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
4875	function definition.
4876	* ternary.c: Use K+R style function definitions.  Use PTR, not
4877	void *.  Make arguments constant where possible.
4878
48792001-05-07  Mark Mitchell  <mark@codesourcery.com>
4880
4881	* splay-tree.h (splay_tree_max): New function.
4882	(splay_tree_min): Likewise.
4883
48842001-04-15  Daniel Berlin  <dan@cgsoftware.com>
4885
4886	* ternary.c: New file - Ternary search tree implementation.
4887
4888	* Makefile.in: Add ternary.o, and ternary.c dependencies.
4889
48902001-04-03  Zack Weinberg  <zackw@stanford.edu>
4891
4892	* make-temp-file.c (try): Inline.
4893
48942001-02-28  Richard Henderson  <rth@redhat.com>
4895
4896	* Makefile.in (make-temp-file.o): Depend on config.h.
4897
48982001-03-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4899
4900	* memchr.c (memchr): Adjust condition to avoid infinite loop.
4901
49022001-03-23  Jakub Jelinek  <jakub@redhat.com>
4903
4904	* cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
4905	`_' not followed by a digit is invalid.
4906
49072001-03-22  Jim Blandy  <jimb@redhat.com>
4908
4909	* cp-demangle.c (string_list_delete): Use dyn_string_delete
4910	instead of free, to free the contents as well as the string
4911	structure.
4912
49132001-03-21  Zack Weinberg  <zackw@stanford.edu>
4914
4915	* make-temp-file.c: Always default DIR_SEPARATOR to '/'.
4916	Don't default P_tmpdir to anything.  Try /var/tmp before
4917	/usr/tmp.
4918
49192001-03-20  Zack Weinberg  <zackw@stanford.edu>
4920
4921	* choose-temp.c: Split off make_temp_file, and the code
4922	duplicated between it and choose_temp_base, into...
4923	* make-temp-file.c: ... here; new file.
4924
4925	* Makefile.in (CFILES): Add make-temp-file.c.
4926	(REQUIRED_OFILES): Add make-temp-file.o.
4927
49282001-03-20  Jim Blandy  <jimb@redhat.com>
4929
4930	* cp-demangle.c (struct demangling_def): New fields:
4931	is_constructor and is_destructor.
4932	(demangling_new): Initialize them.
4933	(demangle_ctor_dtor_name): Set them, if we detect a constructor
4934	or destructor.
4935	(demangle_v3_with_details, is_gnu_v3_mangled_ctor,
4936	is_gnu_v3_mangled_dtor): New functions.
4937
49382001-03-20  Jason Merrill  <jason@redhat.com>
4939
4940	* cplus-dem.c (main): Skip initial $.
4941
49422001-03-15  Michael Meissner  <meissner@redhat.com>
4943
4944	* hashtab.c (higher_prime_number): Silence warning that 4294967291
4945	might be a signed integer under pre-ISO C systems.
4946
49472001-03-10  Neil Booth  <neil@daikokuya.demon.co.uk>
4948	    John David Anglin  <dave@hiauly1.hia.nrc.ca>
4949
4950	* libiberty/lbasename.c: New file.
4951	* libiberty/Makefile.in: Update for lbasename.
4952
49532001-03-06  Zack Weinberg  <zackw@stanford.edu>
4954
4955	* aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
4956	* configure.in: Replace all alloca logic with a simple use of
4957	the above new macro.
4958	* config.table: Kill *-*-beos* entry.
4959	* config/mh-beos: Delete.
4960	* configure, config.in: Regenerate.
4961
4962	* Makefile.in (ALLOCA, HFILES): Kill.
4963	(REQUIRED_OFILES): Add alloca.o.
4964	(alloca.o): Depend on libiberty.h.
4965	(argv.o): Don't depend on alloca-conf.h.
4966	* alloca-conf.h: Delete.
4967	* alloca.c: Include libiberty.h.  Kill all #ifdef emacs
4968	blocks.  Provide the C alloca unconditionally.  Use PTR where
4969	appropriate.  Make i00afunc static.
4970	* argv.c: Don't include alloca-conf.h.
4971
49722001-03-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4973
4974	* cplus-dem.c (main): Cast enum style to int.
4975
49762001-02-16  Loren J. Rittle  <ljrittle@acm.org>
4977
4978	* cplus-dem.c (main): Initialize style.
4979
49802001-02-02  Phil Edwards  <pme@sources.redhat.com>
4981
4982	* COPYING.LIB:  Update to LGPL 2.1 from the FSF.
4983
49842001-01-31  Bryce McKinlay  <bryce@albatross.co.nz>
4985
4986	Add support for Java demangling under the v3 ABI:
4987	* cp-demangle.c (NAMESPACE_SEPARATOR): New define.
4988	(struct demangling_def): Add `style' field.
4989	(demangling_new): New parameter `style'. Set it in demangling_t.
4990	(demangle_prefix): Use NAMESPACE_SEPARATOR.
4991	(demangle_type_ptr): Don't emit pointer symbol if doing Java output.
4992	(cp_demangle): New parameter `style'. Pass it to demangling_new().
4993	(main): Call cp_demangle with extra parameter.
4994	(java_demangle_v3): New function.
4995	(java_builtin_type_names): New. Table of primitive type names used
4996	for Java demangling.
4997	(demangle_builtin_type): Look up in java_builtin_type_names if doing
4998	Java output.
4999	* cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
5000	demangling.
5001	(long_options): Remove obsolete `java' option.
5002	(main): Remove explicit handling of `java' option. Instead, pass style
5003	parameter in cplus_demangle flags as gdb does.
5004	* testsuite/demangle.expected: Add some Java test cases.
5005
50062000-12-29  DJ Delorie  <dj@redhat.com>
5007
5008	* fnmatch.c: Make the note about the origins of this file more
5009	accurate, at least until we can sync with glibc.
5010	* getopt.c: Ditto.
5011	* getopt1.c: Ditto.
5012	* md5.c: Ditto.
5013	* obstack.c: Ditto.
5014
50152000-12-26  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
5016
5017	* bsearch.c: New file.
5018	* configure.in (funcs): Add bsearch.
5019	(AC_CHECK_FUNCS): Likewise.
5020	* configure, config.in: Regenerate.
5021
50222000-12-13  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
5023
5024	* safe-ctype.c: #include "ansidecl.h".
5025	* strtod.c: Likewise.
5026
50272000-12-13  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
5028
5029	* strtoul.c: Include safe-ctype.h, not ctype.h.
5030
50312000-12-07  Zack Weinberg  <zack@wolery.stanford.edu>
5032
5033	* safe-ctype.c: New file.
5034	* Makefile.in (CFILES): Add safe-ctype.c.
5035	(REQUIRED_OFILES): Add safe-ctype.o.
5036
5037	* argv.c: Define ISBLANK and use it, not isspace.
5038	* basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
5039	strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h.  Use
5040	uppercase ctype macros.  Don't test ISUPPER(c)/ISLOWER(c)
5041	before calling TOLOWER(c)/TOUPPER(c).
5042
50432000-12-07  Mike Stump  <mrs@wrs.com>
5044
5045	* Makefile.in (distclean): When cleaning, remove testsuite.
5046
50472000-12-05  Jason Merrill  <jason@redhat.com>
5048
5049	* cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
5050	name before allocating the dyn_string.
5051
50522000-12-04  Jason Merrill  <jason@redhat.com>
5053
5054	* cp-demangle.c: s/new_abi/v3/.
5055	* cplus-dem.c: Likewise.
5056	(current_demangling_style): Now auto_demangling.
5057	(cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
5058	(main): Use standard symbol chars for auto_demangling.
5059
50602000-11-26  Mark Mitchell  <mark@codesourcery.com>
5061
5062	* hashtab.c (higher_prime_number): Use a table, rather than a
5063	seive, to find the next prime.
5064
50652000-11-22  H.J. Lu  <hjl@gnu.org>
5066
5067	* cplus-dem.c (main): Handle gnat_demangling.
5068
50692000-11-22  Zack Weinberg  <zack@wolery.stanford.edu>
5070
5071	* aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
5072	(AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
5073	* configure.in: Call AC_C_INLINE and AC_C_CONST.  Use three
5074	argument form of AC_DEFINE in dummy definitions block.  Use
5075	AC_DEFINE_NOAUTOHEADER for real definitions of things defined
5076	in dummy block.  Preload cache variables instead of bypassing
5077	tests, where possible.
5078	* acconfig.h: Removed.
5079
5080	* xmalloc.c (xmalloc_failed): New function, does error
5081	reporting on failed allocation.
5082	(xmalloc, xcalloc, xrealloc): Use it.
5083
50842000-11-21  Hans-Peter Nilsson  <hp@bitrange.com>
5085
5086	* cplus-dem.c (cplus_demangle): Fix formatting.
5087	(grow_vect): Ditto.
5088	(ada_demangle): Ditto.
5089	(internal_cplus_demangle): Ditto.
5090	(mop_up): Ditto.
5091
50922000-11-21  H.J. Lu  <hjl@gnu.org>
5093
5094	* cplus-dem.c (main): Handle java_demangling.
5095
50962000-11-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5097
5098	* cplus-dem.c (grow_vect): Prototype.
5099	(ada_demangle): Cast the arg of ctype macros to unsigned char.
5100
51012000-11-15  Hans-Peter Nilsson  <hp@bitrange.com>
5102
5103	* cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
5104	parameter `option'.
5105
51062000-11-15  Kenneth Block  <kenneth.block@compaq.com>
5107
5108	* cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
5109	be used in GCC.
5110
51112000-11-15  Kenneth Block  <kenneth.block@compaq.com>
5112
5113	* cplus-dem.c: Add gnat demangler.  Add java to demangle style
5114	list.
5115
51162000-11-04  Hans-Peter Nilsson  <hp@bitrange.com>
5117
5118	* hashtab.c (htab_expand): Change to return int.  Use calloc or
5119	xcalloc depending on htab->return_allocation_failure.  Return zero
5120	if calloc fails.
5121	(htab_create): Update comment to cover memory allocation.
5122	(htab_try_create): New.
5123	(htab_find_slot_with_hash): Return NULL if htab_expand fails.
5124	Update comment to cover this.
5125
51262000-11-03  Hans-Peter Nilsson  <hp@bitrange.com>
5127
5128	* hashtab.c: Change void * to PTR where necessary.
5129	(htab_create, htab_expand): Correct formatting of comment before
5130	function.
5131
51322000-10-22  Alex Samuel  <samuel@codesourcery.com>
5133
5134	* cp-demangle.c (string_list_def): Add caret_position and comments.
5135	(result_caret_pos): New macro.
5136	(result_append_string): Rename to...
5137	(result_add_string): ... this, and insert at caret position.
5138	Rename throughout.
5139	(result_append): Rename to...
5140	(result_add): ... this, and insert at caret position.  Rename
5141	throughout.
5142	(result_append_char): Rename to...
5143	(result_add_char): ... this, and insert at caret position.  Rename
5144	throughout.
5145	(result_append_space): Remove.
5146	(string_list_new): Initialize caret position.
5147	(result_add_separated_char): Use caret position.
5148	(result_get_caret): New funtion.
5149	(result_set_caret): Likewise.
5150	(result_shift_caret): Likewise.
5151	(result_previous_char_is_space): Likewise.
5152	(substitution_start): Use caret position.
5153	(substitution_add): Likewise.
5154	(demangling_new): Initialize caret position.
5155	(demangle_encoding): Use caret position.
5156	(demanglin_nested_name): Put CV qualifiers after name.
5157	(demangle_type_ptr): Use switch statement.  Handle pointers to
5158	arrays.  Don't use result_append_space.  Use caret position.
5159	(demangle_type): Emit CV qualifiers after underlying type.  Adjust
5160	call to demangle_array_type.
5161	(demangle_array_type): Add parameter to handle pointers to arrays.
5162
51632000-10-01  Mark Mitchell  <mark@codesourcery.com>
5164
5165	* splay-tree.c (splay_tree_insert): Fix formatting.
5166
51672000-09-16  Mark Mitchell  <mark@codesourcery.com>
5168
5169	* splay-tree.c (splay_tree_predecessor): Fix typo in comment.
5170
51712000-09-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
5172
5173	* splay-tree.c: #include <stdio.h>.
5174
51752000-09-14  Hans-Peter Nilsson  <hp@axis.com>
5176
5177	* testsuite/demangle-expected: Add two tests for anonymous
5178	namespaces.
5179	* cplus-dem.c (gnu_special): Handle anonymous namespaces.
5180
51812000-09-10  Mark Mitchell  <mark@codesourcery.com>
5182
5183	* splay-tree.c (splay_tree_predecessor): New function.
5184	(splay_tree_successor): Likewise.
5185
51862000-09-10  Hans-Peter Nilsson  <hp@axis.com>
5187
5188	* testsuite/demangle-expected: Add four tests for type_info
5189	mangling.
5190	* cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
5191	for a non-template non-qualified type_info function or node.
5192
51932000-09-08  Alex Samuel  <samuel@codesourcery.com>
5194
5195	* cp-demangle.c: Fix copyright banner.
5196
51972000-09-07  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
5198
5199	* md5.c: #include "ansidecl.h".
5200
52012000-09-06  Alex Samuel  <samuel@codesourcery.com>
5202
5203	* cp-demangle.c (status_allocation_failed): Rearrange whitespace.
5204	(demangle_type): Handle substitution candidates correctly in the
5205	face of special substitutions.
5206
52072000-09-05  Alex Samuel  <samuel@codesourcery.com>
5208
5209	* cp-demangle.c (demangle_encoding): Rename variable.
5210	(demangle_name): Rename parameter.  Handle return type
5211	suppression.
5212	(demangle_nested_name): Rename parameter.
5213	(demangle_prefix): Likewise.  Change return type suppression.
5214	(demangle_unqualified_name): Add parameter.  Flag constructors and
5215	conversion operators.
5216	(demangle_special_name): Fix comment.
5217	(demangle_type): Rename variable.
5218	(demangle_bare_function_type): Check for missing return type and
5219	parameter.
5220	(demangle_class_enum_type): Rename parameter.
5221	(demangle_discriminator): Fix misspelling in comment.
5222
52232000-08-31  DJ Delorie  <dj@redhat.com>
5224
5225	* configure.in (Cygwin): special case cygwin only when we're
5226	building cygwin, not when we're hosting cygwin.
5227
52282000-09-04  Alex Samuel  <samuel@codesourcery.com>
5229
5230	* cp-demangle.c (demangle_template_arg): Eat an `E' after an
5231	<expression>.
5232
52332000-09-04  Alex Samuel  <samuel@codesourcery.com>
5234
5235	* cp-demangle.c (demangle_type_ptr): Increment position past
5236	pointer and reference characters.
5237
52382000-09-04  Alex Samuel  <samuel@codesourcery.com>
5239
5240	* cp-demangle.c (demangle_nv_offset): New function.
5241	(demangle_v_offset): Likewise.
5242	(demangle_call_offset): Likewise.
5243	(demangle_special_name): Update thunk demangling to comply with
5244	ABI changes.
5245
52462000-09-03  Alex Samuel  <samuel@codesourcery.com>
5247
5248	* cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
5249	(substitution_def): Remove template_parm_number.
5250	(NOT_TEMPLATE_PARM): Remove.
5251	(result_insert_string): New macro.
5252	(result_insert): Likewise.
5253	(result_insert_char): Likewise.
5254	(substitution_add): Remove last parameter.  Don't store template
5255	parm number.
5256	(BFT_NO_RETURN_TYPE): Define as NULL.
5257	(demangle_encoding): Adjust call to demangle_bare_function_type.
5258	(demangle_name): Adjust substitution.  Adjust call to
5259	substitution_add.
5260	(demangle_prefix): Adjust call to substitution_add.
5261	(demangle_identifier): Handle anonymous namespaces.
5262	(demangle_operator_name): Change demangling of vendor-extended
5263	operator to match ABI changes.
5264	(demangle_type_ptr): Change parameters.  Make recursive.  Handle
5265	substitutions here.
5266	(demangle_type): Adjust calls to demangle_template_param,
5267	substitution_add, and demangle_type_ptr.  Fix substitution of
5268	templated types.
5269	(demangle_function_type): Change parameter to a pointer.
5270	(demangle_bare_function_type): Likewise.  Adjust insertion point.
5271	(demangle_template_param): Remove last parameter.
5272	(demangle_expr_primary): Remove unused variable.  Adjust call to
5273	demangle_template_param.
5274	(is_mangled_char): Accept `$' and `.'.
5275	* cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
5276	* dyn-string.c (dyn_string_insert_char): New function.
5277
52782000-08-31  Hans-Peter Nilsson  <hp@axis.com>
5279
5280	* testsuite/demangle-expected: Add nine tests for
5281	underscore-after-number followed by five tests for name-signature
5282	delimiter.
5283
52842000-08-28  Richard Henderson  <rth@cygnus.com>
5285
5286	* Makefile.in (md5.o): Depend on config.h.
5287
52882000-08-28  Jason Merrill  <jason@redhat.com>
5289
5290	* Makefile.in (REQUIRED_OFILES): Add md5.o.
5291	(CFILES): Add md5.c.
5292	* md5.c: New file.
5293
52942000-08-27  Alex Samuel  <samuel@codesourcery.com>
5295
5296	* cp-demangle.c (demangle_name): Initialize template_p in local
5297	name case.  Don't re-add substitutions as candidates.
5298	(demangle_nested_name): Use <unqualified-name>.
5299	(demangle_prefix): Likewise.  Don't add template names as
5300	substitution candidates twice, or re-add a substitution or the
5301	last prefix component.
5302	(demangle_local_name): Adjust output format.
5303
53042000-08-25  Alex Samuel  <samuel@codesourcery.com>
5305
5306	* cp-demangle.c (result_add_separated_char): Change parameter to
5307	int.
5308	(substitution_add): Don't check for duplicates.  Check if
5309	previously allocated size is zero.
5310	(demangle_name): Remove duplicate check for std substitution.
5311	Clear template flag appropriately.
5312	(demangle_prefix): Remove argument to demangle_substitution.
5313	Don't check that template flag is already set.
5314	(demangle_operator_name): Add pt operator.
5315	(demangle_type): Don't treat r as built-in type.  Remove argument
5316	to demangle_substitution.  Fix substitution candidate mechanics.
5317	Handle <template-template-parm>s.  Improve comments.
5318	(demangle_template_param): Don't handle template arg lists here.
5319	(demangle_substitution): Remove parameter.
5320	(print_usage): Remove extra fprintf option.
5321
53222000-08-24  Greg McGary  <greg@mcgary.org>
5323
5324	* libiberty/random.c (end_ptr): Revert previous change.
5325
53262000-08-24  Greg McGary  <greg@mcgary.org>
5327
5328	* libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
5329	demangle_expression, demangle_function_name): Use ARRAY_SIZE.
5330	* libiberty/random.c (end_ptr): Likewise.
5331
53322000-08-23  Alex Samuel  <samuel@codesourcery.com>
5333
5334	* cp-demangle.c (result_close_template_list): Remove function.
5335	(result_add_separated_char): New function.
5336	(result_open_template_list): New macro.
5337	(result_close_template_list): Likewise.
5338	(demangle_prefix): Don't set template_p if the
5339	prefix ends with a ctor name.
5340	(demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
5341	(demangle_type): Check for template args after substitution.
5342	(demangle_template_args): Use result_open_template_list.
5343
53442000-08-02  Zack Weinberg  <zack@wolery.cumb.org>
5345
5346	* pexecute.c:  Don't use vfork.  Initialize 'pid' before retry loop.
5347
53482000-07-26  Dave Pitts  <dpitts@cozx.com>
5349
5350	* config/mh-openedition.h: Added -DLE370 definition.
5351
53522000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
5353
5354	* pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
5355	__DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
5356	Cast program to 'char *' in errmsg_arg assignment.
5357	(PWAIT_ERROR): Define.
5358	(pwait): Use PWAIT_ERROR.  Adjust DJGPP's status code to conform
5359	to DJGPP's WIF* macros.
5360
53612000-07-27  RodneyBrown  <RodneyBrown@pmsc.com>
5362	    Jeff Law <law@cygnus.com>
5363
5364	* getcwd.c: Include string.h, stdlib.h for prototypes
5365
5366	* Makefile.in (rename.o, waitpid.o): Depend on config.h
5367	* rename.c: Include config.h, unistd.h
5368	* waitpid.c: Include config.h, sys/wait.h
5369
53702000-07-24  Hans-Peter Nilsson  <hp@axis.com>
5371
5372	* cplus-dem.c (work_stuff_copy_to_from): New.
5373	(delete_non_B_K_work_stuff): New.
5374	(delete_work_stuff): New.
5375	(mop_up): Break out work_stuff partly destruction to
5376	delete_non_B_K_work_stuff.
5377	(iterate_demangle_function): New.
5378	(demangle_prefix): Call iterate_demangle_function instead of
5379	demangle_function_name.  Leave handling of name-signature
5380	__-delimiters to iterate_demangle_function.
5381	(demangle_integral_value): Strip an optional
5382	following underscore cautiously.  Handle negative numbers.
5383
53842000-07-24  Daniel Berlin <dberlin@redhat.com>
5385
5386	* cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
5387	if (AUTO_DEMANGLING || GNU_DEMANGLING)
5388
53892000-07-21  Alex Samuel  <samuel@codesourcery.com>
5390
5391	* cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
5392	allocating ctor mangling.
5393	(demangle_array_type): Handle empty and non-constant array length.
5394
53952000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
5396	    Jeff Law <law@cygnus.com>
5397
5398	* configure.in (AC_CHECK_HEADERS): Add time.h.
5399	(AC_HEADER_TIME): Add check.
5400	* configure, config.in: Regenerate.
5401	* getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
5402
5403	* configure.in (AC_CHECK_HEADERS): Add limits.h.
5404	* configure, config.in: Regenerate.
5405	* sort.c: Portably #include <limits.h> and/or <sys/param.h>.
5406	* strtol.c, strtoul.c: #include "config.h". Portably #include
5407	<limits.h> and/or <sys/param.h>.
5408	* Makefile.in (strtol.o, strtoul.o): Update dependencies.
5409
5410	* aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
5411	* configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
5412	* configure, config.in: Regenerate.
5413	* pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
5414
5415	* cp-demangle.c, mkstemps.c: #include <sys/types.h>.
5416
54172000-07-21  Mike Stump  <mrs@wrs.com>
5418
5419	* Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
5420	* (vasprintf.o): Add dependency for config.h in vasprintf.c.
5421
54222000-07-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5423
5424	* cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
5425
5426	* setenv.c (setenv): Initialize variable `ep'.
5427
5428	* sigsetmask.c (abort): Prototype.
5429
5430	* vasprintf.c: Include config.h.  Check ANSI_PROTOTYPES, not
5431	__STDC__ for stdarg.h include.
5432	(int_vasprintf): Prototype.
5433	(checkit): Prototype.  Use VPARAMS/ANSI_PROTOTYPES/VA_START in
5434	definition.  Cast `global_total_width' in comparison.
5435	(main): Prototype.  Return a value.
5436
5437	* vfork.c (fork): Prototype.
5438
5439	* xexit.c: Include config.h.
5440
54412000-07-20  Joseph S. Myers  <jsm28@cam.ac.uk>
5442
5443	* cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
5444	and print it with %u.
5445
54462000-07-17  Hans-Peter Nilsson  <hp@axis.com>
5447
5448	* testsuite/regress-demangle (failed test): Show result and
5449	expected output.
5450
54512000-07-07  Andrew Haley  <aph@cygnus.com>
5452
5453	* cplus-dem.c (main): fflush() after emitting last char before
5454	waiting for input.
5455
54562000-06-28  Alex Samuel  <samuel@codesourcery.com>
5457
5458	* cp-demangle.c (demangle_encoding): Accept no substitutions.
5459	(demangle_name): Handle <substitution> followed by
5460	<unqualified-template-name>.
5461	(demangle_type): Follow special substitutions with
5462	<class-enum-type>
5463	(demangle_subtitution): Set template_p for special substitutions.
5464	(main): Fix typos.
5465
54662000-06-27  Alex Samuel  <samuel@codesourcery.com>
5467
5468	* cp-demangle.c (demangle_special_name): Swap base and derived
5469	class when demangling construction vtables.
5470
54712000-06-21  Alex Samuel  <samuel@codesourcery.com>
5472
5473	* cp-demangle.c: Don't include ctype.h.
5474	(IS_DIGIT): New macro.
5475	(IS_ALPHA): Likewise.  Use IS_DIGIT and IS_ALPHA throughout
5476	instead of isdigit and isalpanum.
5477	(demangling_def): Make name and next const pointers.
5478	(STATUS_ALLOCATION_FAILED): New status code.
5479	(dyn_string_append_space): Handle failure in
5480	dyn_string_append_char.
5481	(int_to_dyn_string): Likewise.  Change return value to status_t.
5482	(string_list_new): Handle failure of dyn_string_init.
5483	(result_close_template_list): Change return type to status_t.
5484	Handle failure in dyn_string_append.
5485	(result_push): Change return value to status_t.  Handle failure in
5486	string_list_new.  Handle failure of result_push throughout.
5487	(substitution_add): Change return value to status_t.  Handle
5488	dyn_string failures.  Handle failure of substitution_add
5489	throughout.
5490	(template_arg_list_new): Return NULL on allocation failure.
5491	(result_append_string): Return STATUS_ALLOCATION_FAILED on error.
5492	Handle error result throughout.
5493	(result_append): Likewise.
5494	(result_append_char): Likewise.
5495	(result_append_space): Likewise.
5496	(demangling_new): Make argument a const pointer.  Handle
5497	allocation failures.
5498	(demangle_template_args): Handle failure in template_arg_list_new
5499	and result_close_template_list.
5500	(demangle_discriminator): Return if int_to_dyn_string fails.
5501	(cp_demangle): Likewise.
5502	(cp_demangle_type): New function.
5503	(cplus_demangle_new_abi): Don't call dyn_string_delete.  Abort on
5504	memory allocation failure.
5505	(main): Likewise.
5506	* dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
5507	IN_LIBGCC2.
5508	(dyn_string_init): Change return value to int.  Handle
5509	RETURN_ON_ALLOCATION_FAILURE case.
5510	(dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
5511	(dyn_string_release): Delete the dyn_string.
5512	(dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
5513	(dyn_string_copy): Change return type to int.
5514	(dyn_string_copy_cstr): Likewise.
5515	(dyn_string_prepend): Likewise.
5516	(dyn_string_prepend_cstr): Likewise.
5517	(dyn_string_insert): Likewise.
5518	(dyn_string_insert_cstr): Likewise.
5519	(dyn_string_append): Likewise.
5520	(dyn_string_append_cstr): Likewise.
5521	(dyn_string_append_char): Likewise.
5522	(dyn_string_substring): Likewise.
5523
55242000-06-09  Zack Weinberg  <zack@wolery.cumb.org>
5525
5526	* cp-demangle.c (demangle_operator_name): Add spaces before
5527	names beginning with a letter: delete, delete[], new, new[],
5528	sizeof.
5529	(demangle_special_name): Handle TF <type> and TJ <type>.
5530
5531Thu Jun  8 18:52:24 2000  Philippe De Muyter  <phdm@macqel.be>
5532
5533	* cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
5534
5535Thu Jun  8 09:25:54 2000  Philippe De Muyter  <phdm@macqel.be>
5536
5537	* cp-demangle.c (stdio.h): File included unconditionaly.
5538	(template_arg_list_new): Parameter list is PARAMS ((void)), not ().
5539	* dyn-string.c (stdio.h): File included.
5540	* partition.c (partition_print): No `&' needed to take the address of
5541	a function.
5542
55432000-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5544
5545	* configure.in (ac_libiberty_warn_cflags): Add -pedantic.
5546
5547	* choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
5548
5549	* cp-demangle.c (demangle_char): Change parameter from char to int.
5550	(demangle_expression, demangle_expr_primary): Remove extra
5551	semi-colon in prototype.
5552
5553	* dyn-string.c (dyn_string_append_char): Change parameter from
5554	char to int.
5555
5556	* memcmp.c (memcmp): Constify.
5557
5558	* mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
5559	__extension__.
5560
5561	* partition.c (elem_compare): Prototype.  Don't cast away
5562	const-ness.
5563
5564	* setenv.c (setenv): Use braces to avoid ambiguous `else'.
5565
55662000-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5567
5568	* Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
5569
5570	* cp-demangle.c: Include demangle.h.
5571	(template_arg_list_new): DeANSIfy.
5572	(cp_demangle): Make static and add prototype.
5573	(operator_code, operators): Constify.
5574	(demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
5575
55762000-06-05  Alex Samuel  <samuel@codesourcery.com>
5577
5578	* cp-demangle.c (demangle_prefix): Cast argument to isdigit to
5579	unsigned char.
5580	(demangle_unqualified_name): Likewise.
5581	(demangle_number_literally): Likewise.
5582	(demangle_type): Likewise.
5583	(demangle_substitution): Likewise.
5584	(is_mangled_char): Likewise, for isalnum.
5585
55862000-06-04  Alex Samuel  <samuel@codesourcery.com>
5587
5588	* Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
5589	(REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
5590	(cp-demangle.o): New dependency.
5591	(dyn-string.o): Likewise.
5592
5593	* dyn-string.c: Move here from gcc/dyn-string.c.  Add new functions.
5594
5595	* cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
5596	demangler.
5597	(cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
5598	demangling mode.
5599	(gnu_new_abi_symbol_characters): New function.
5600	(main): Use gnu_new_abi_symbol_characters.  * cp-demangle.c: New
5601	file.
5602	* cp-demangle.c: New file.
5603
5604Tue May 30 16:45:25 2000  Andrew Cagney  <cagney@b1.cygnus.com>
5605
5606	* floatformat.c: Add name to each floatformat field.
5607
5608Tue May 30 15:07:52 2000  Jeffrey A Law  (law@cygnus.com)
5609
5610	* Makefile.in (objalloc.o): Depend on config.h
5611
56122000-05-29  Zack Weinberg  <zack@wolery.cumb.org>
5613
5614	* hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
5615	if HAVE_STRING_H.
5616	* pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
5617	* objalloc.c: Include config.h.  Include stdlib.h and don't
5618	declare malloc or free if HAVE_STDLIB_H.
5619	* strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
5620	else declare malloc without prototype.  Include string.h if
5621	HAVE_STRING_H, else declare memset without prototype.  Don't
5622	include stddef.h.
5623
56242000-05-23  Mike Stump  <mrs@wrs.com>
5625
5626	* Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
5627	-j3.
5628
56292000-05-18  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
5630
5631	* xmalloc.c: Include config.h for HAVE_SBRK definition.
5632
56332000-05-16  Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
5634
5635	* hashtab.c (hash_pointer): Delete low-order bits which are
5636	probably zero, also eliminate a warning on alpha.
5637
56382000-05-15  David Edelsohn  <edelsohn@gnu.org>
5639
5640	* Makefile.in: Change "pic" to depend on $(PICFLAG), not
5641	on $(enable_shared).
5642
56432000-05-10  Jakub Jelinek  <jakub@redhat.com>
5644
5645	* config.table: Use mh-sparcpic for sparc*-*-*.
5646
56472000-05-08  Nick Clifton  <nickc@cygnus.com>
5648
5649	* Makefile.in (CFILES): Add strncmp.c.
5650	(NEEDED): Add strncmp.
5651
56522000-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5653
5654	* cplus-dem.c (cplus_demangle_opname, demangle_function_name):
5655	Cast the arguments to `islower' to `unsigned char'.
5656	(print_demangler_list): Prototype.
5657
5658Thu May  4 17:14:41 2000  Philippe De Muyter  <phdm@macqel.be>
5659
5660	* sort.c (UCHAR_MAX): Provide fallback definition.
5661
56622000-04-29  Alexandre Oliva  <aoliva@cygnus.com>
5663
5664	* Makefile.in (maintainer-clean-subdir): Fix handling of empty
5665	SUBDIRS.
5666
56672000-04-28  Kenneth Block  <block@zk3.dec.com>
5668	    Jason Merrill  <jason@casey.cygnus.com>
5669
5670	* cplus-dem.c (libiberty_demanglers): New table for demangle styles.
5671	(cplus_demangle_set_style): New function for setting style.
5672	(cplus_demangle_name_to_style): New function to translate name.
5673
56742000-04-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5675
5676	* aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
5677
5678	* configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
5679	(libiberty_AC_FUNC_STRNCMP): Invoke.
5680
5681	* strncmp.c: New file.
5682
5683Thu Apr 27 16:58:43 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5684
5685	* hashtab.c (htab_expand): Add prototype.
5686	(find_empty_slot_for_expand): Likewise.
5687
56882000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5689
5690	* hashtab.c (hash_pointer, eq_pointer): Make definition static to
5691	match prototype.
5692	(htab_expand): Cast the return value of xcalloc.
5693
56942000-04-24  Mark Mitchell  <mark@codesourcery.com>
5695
5696	* hashtab.c (hash_pointer): New function.
5697	(eq_pointer): Likewise.
5698	(htab_hash_pointer): New variable.
5699	(htab_eq_pointer): Likewise.
5700
57012000-04-23  Mark Mitchell  <mark@codesourcery.com>
5702
5703	* sort.c (sort_pointers): Fix endianness bugs.
5704
5705	* sort.c: New file.
5706	* Makefile.in (CFILES): Add sort.c
5707	(REQUIRED_OFILES): Add sort.o.
5708	(sort.o): New target.
5709
57102000-04-21  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
5711
5712	* Makefile.in (*-subdir): Revamp slightly to avoid losing on
5713	4.3BSD systems.
5714
5715Tue Apr 18 16:23:31 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5716
5717	* hashtab.c: Various minor cleanups.
5718	(htab_find_slot_with_hash): INSERT is now enum insert_option.
5719	(htab_find_slot): Likewise.
5720
57212000-04-16  Dave Pitts  <dpitts@cozx.com>
5722
5723	* cplus-dem.c (cplus_demangle_opname): Changed to use islower.
5724
57252000-04-05  Richard Henderson  <rth@cygnus.com>
5726
5727	* splay-tree.c (splay_tree_remove): New.
5728
57292000-03-30  Mark Mitchell  <mark@codesourcery.com>
5730
5731	* hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
5732	codes.
5733	(htab_find_with_hash): Likewise.
5734	(htab_find_slot_with_hash): Likewise.
5735
57362000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
5737
5738	* hashtab.c (htab_find_with_hash): Avoid calculating hash2
5739	unless it will be used.  Rearrange loop for better
5740	optimization.
5741	(higher_prime_number): Add static prototype.
5742
5743Thu Mar 16 01:33:58 2000  Jeffrey A Law  (law@cygnus.com)
5744
5745	* Makefile.in (partition.o): Depend on config.h
5746
57472000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
5748
5749	* hashtab.c (find_empty_slot_for_expand): New function.
5750	(htab_expand): Use it instead of htab_find_slot.
5751	(htab_find_with_hash): Renamed from htab_find; now accepts extra
5752	argument HASH.
5753	(htab_find_slot_with_hash): Likewise for htab_find_slot.
5754	(htab_find): New wrapper function.
5755	(htab_find_slot): Likewise.
5756	(htab_traverse): Pass slot, not entry, to called function.
5757
57582000-03-09  Alex Samuel  <samuel@codesourcery.com>
5759
5760	* Makefile.in (CFILES): Add partition.c.
5761	(REQUIRED_OFILES): Add partition.o.
5762	(partition.o): New rule.
5763	* partition.c: New file.
5764
57652000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
5766
5767	* hashtab.c (htab_create): Set del_f.
5768	(htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
5769	Use it.
5770
57712000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
5772
5773	* hashtab.c: Remove debugging variables (all_searches,
5774	all_collisions, all_expansions). Delete
5775	all_hash_table_collisions.
5776	(create_hash_table, delete_hash_table, empty_hash_table,
5777	find_hash_table_entry, remove_element_from_hash_table_entry,
5778	clear_hash_table_slot, traverse_hash_table, hash_table_size,
5779	hash_table_elements_number, hash_table_collisions): Rename to:
5780	htab_create, htab_delete, htab_empty, htab_find_slot,
5781	htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
5782	htab_elements, htab_collisions.
5783	(htab_find): New function, handles common case where you don't
5784	plan to add or delete an entry.
5785	(htab_expand): Don't create a whole new table, just a new
5786	entry vector.
5787	(htab_find_slot): Simplify logic.
5788
57891999-08-03  Ian Lance Taylor  <ian@zembu.com>
5790
5791	* floatformat.c: Add casts to avoid signed/unsigned warnings.
5792	* pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
5793
5794	* Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
5795	$(TARGETLIB)n so it works on MSDOS.
5796	(install_to_tooldir): Likewise.
5797
57981999-07-21  Ian Lance Taylor  <ian@zembu.com>
5799
5800	From Mark Elbrecht:
5801	* makefile.dos: Remove; obsolete.
5802	* configure.bat: Remove; obsolete.
5803
58041999-07-11  Ian Lance Taylor  <ian@zembu.com>
5805
5806	* splay-tree.c (splay_tree_insert): Add initialization to avoid
5807	warning.
5808
58092000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
5810
5811	* pexecute.c: Conditionally include string.h.
5812	(fix_argv): Handle embedded whitespace in args for Mingw32.
5813
58142000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5815
5816	* configure.in (ac_libiberty_warn_cflags): Turn on warnings if
5817	we're using gcc.
5818
5819	* Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
5820
58211999-12-27  Geoff Keating  <geoffk@cygnus.com>
5822
5823	* vasprintf.c (int_vasprintf): Don't re-read the format character
5824	as this mishandles strings like '%%s'.
5825
58261999-12-05  Mark Mitchell  <mark@codesourcery.com>
5827
5828	* splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
5829	rather than struct splay_tree_node.
5830	(splay_tree_insert): Use struct splay_tree_s rather than struct
5831	splay_tree.
5832
5833Sun Nov 28 00:59:39 1999  Philippe De Muyter  <phdm@macqel.be>
5834
5835	* hashtab.c (sys/types.h): File included.
5836
58371999-11-22  Jason Merrill  <jason@casey.cygnus.com>
5838
5839	* strtoul.c, strtol.c, random.c: Remove advertising clause from
5840	BSD license, pursuant with
5841
5842	  ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
5843
5844Wed Nov 10 09:42:39 1999  Jeffrey A Law  (law@cygnus.com)
5845
5846	* hashtab.c: Include stdio.h.
5847
5848Mon Nov  8 09:23:41 1999  Jeffrey A Law  (law@cygnus.com)
5849
5850	* hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
5851
5852Tue Nov  2 03:23:13 1999  Philippe De Muyter  <phdm@macqel.be>
5853
5854	* xstrdup (sys/types.h): Include this file.
5855
58561999-10-28  Nathan Sidwell  <nathan@acm.org>
5857
5858	* Makefile.in (SUBDIRS): New macro.
5859	(mostlyclean, clean, distclean, maintainer-clean): Adjust to
5860	avoid multiple subdirectory cleaning.
5861	(*-subdir): Use SUBDIRS.
5862
58631999-10-25  Jim Kingdon  <http://developer.redhat.com/>
5864
5865	* cplus-dem.c: Move declarations of standard_symbol_characters and
5866	hp_symbol_characters inside #ifdef MAIN to avoid compiler
5867	warnings.
5868
58691999-10-23 08:51 -0700  Zack Weinberg  <zack@bitmover.com>
5870
5871	* hashtab.c (find_hash_table_entry): When returning a
5872	DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
5873	(clear_hash_table_slot): New function which deletes an entry
5874	by its position in the table, not its value.
5875	(traverse_hash_table): New function which calls a hook
5876	function for every live entry in the table.
5877
58781999-10-19  Mark Mitchell  <mark@codesourcery.com>
5879
5880	* cplus-dem.c (INTBUF_SIZE): New macro.
5881	(string_append_template_idx): New function.
5882	(demangle_expression): Likewise.
5883	(demangle_integral_value): Use it.
5884	(demangle_real_value): New function, split out from ...
5885	(demangle_template_value_parm): ... here.  Use
5886	string_append_template_idx.  Use demangle_real_value.
5887	(demangle_template): Use string_append_template_idx.
5888	(demangle_qualified): Use consume_count_with_underscores.
5889	(get_count): Tweak formatting.
5890	(do_type): Use string_append_template_idx.
5891
58921999-10-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5893
5894	* calloc.c: Add a public domain notice.
5895
5896Mon Oct 18 02:30:47 1999  Philippe De Muyter  <phdm@macqel.be>
5897
5898	* setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
5899
5900Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
5901
5902	* Makefile.in (CFILES): Add hashtab.c
5903	(REQUIRED_OFILES): Add hashtab.o
5904	(hashtab.o): Add dependencies.
5905	* hashtab.c: New file
5906
5907Wed Oct 13 01:16:47 1999  Mumit Khan  <khan@xraylith.wisc.edu>
5908
5909	* basename.c (DIR_SEPARATOR): New macro.
5910	(DIR_SEPARATOR_2): Likewise.
5911	(HAVE_DOS_BASED_FILESYSTEM): Likewise.
5912	(IS_DIR_SEPARATOR): Likewise.
5913	(main): Handle MSDOS style pathname.
5914
59151999-10-11  Mark Mitchell  <mark@codesourcery.com>
5916
5917	* cplus-dem.c (do_type): Handle pointer to member types whose
5918	enclosing classes have namespace scope.
5919
5920Sun Oct 10 01:23:50 1999  Marc Espie <espie@cvs.openbsd.org>
5921
5922	* config.table:  Provide a backup shell for executing move-if-change.
5923
59241999-10-02  Mark Mitchell  <mark@codesourcery.com>
5925
5926	* xmalloc.c (xmalloc): Fix spelling error.
5927	(xcalloc, xrealloc): Likewise.
5928
59291999-10-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5930
5931	* cplus-dem.c (fancy_abort, demangle_integral_value,
5932	demangle_arm_hp_template, recursively_demangle,
5933	standard_symbol_characters, hp_symbol_characters, main): Add prototype.
5934	(program_name, program_version, fatal): Constify a char*.
5935	(usage, fatal): Mark with ATTRIBUTE_NORETURN.
5936	(main): Call return, not exit.
5937
59381999-09-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5939
5940	* choose-temp.c: Remove obsolete comment about gcc.
5941	(make_temp_file): Constify a char*.
5942
5943Wed Sep  8 20:03:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5944
5945	* xmemdup.c: Include sys/types.h.
5946
59471999-09-07  Jeff Garzik  <jgarzik@pobox.com>
5948
5949	* xmemdup.c: New xmemdup function.
5950	* Makefile.in, makefile.vms, vmsbuild.com:  Use xmemdup.[co].
5951
5952Tue Sep  7 23:32:18 1999  Linas Vepstas  <linas@linas.org>
5953
5954	* config.table: Add openedition target.
5955	* config/mh-openedition: New file.
5956
5957Thu Sep  2 01:36:12 1999  Marc Espie <espie@cvs.openbsd.org>
5958
5959	* pexecute.c (pexecute):  Fill in temp_base when needed.
5960
59611999-08-31  Richard Henderson  <rth@cygnus.com>
5962
5963	* getpwd.c: Check HAVE_GETCWD before defining it away.
5964
59651999-08-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5966
5967	* Makefile.in (CFILES): Add calloc.c and getpwd.c.
5968	(REQUIRED_OFILES): Add getpwd.o.
5969	(getpwd.o): Add target.
5970
5971	* configure.in (AC_PREREQ): Bump to 2.13.
5972	(AC_CHECK_HEADERS): Add check for <sys/stat.h>.
5973
5974	* getpwd.c: New file, moved here from gcc.
5975
59761999-08-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5977
5978	* cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
5979	comparing against a signed quantity.
5980	(arm_special): Likewise.
5981	(demangle_fund_type): Likewise.
5982	(do_hpacc_template_const_value): Mark parameter `work' with
5983	ATTRIBUTE_UNUSED.
5984	(main): Constify variable `valid_symbols'.
5985
5986Tue Aug 24 02:50:45 1999  Philippe De Muyter  <phdm@macqel.be>
5987
5988	* strtoul.c (strtoul): Add parentheses around && within ||.
5989
5990Fri Aug  6 23:32:29 1999  Daniel Jacobowitz <drow@drow.them.org>
5991
5992	* Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
5993	libdir, libsubdir and tooldir.
5994
59951999-08-01  Mark Mitchell  <mark@codesourcery.com>
5996
5997	* splay-tree.c (splay_tree_insert): Return the new node.
5998
59991999-07-14  Richard Henderson  <rth@cygnus.com>
6000
6001	* argv.c: Include stdlib.h and string.h instead of
6002	prototyping directly.
6003	* choose-temp.c: Conditionally include string.h.
6004
60051999-07-12  Jason Merrill  <jason@yorick.cygnus.com>
6006
6007	* Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
6008
60091999-07-11  Ian Lance Taylor  <ian@zembu.com>
6010
6011	* splay-tree.c (splay_tree_insert): Add initialization to avoid
6012	warning.
6013
60141999-07-07  Jason Merrill  <jason@yorick.cygnus.com>
6015
6016	* Makefile.in (needed-list): Only include stuff we actually need
6017	for libstdc++.
6018
60191999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6020
6021	* configure.in (checkfuncs): Add gettimeofday.
6022	* config.in, configure: Regenerated.
6023
6024Mon Jun 21 05:56:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
6025
6026	* configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
6027	the test fails.
6028	* configure: Regenerate.
6029
60301999-06-10  Mike Stump  <mrs@wrs.com>
6031
6032	* Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
6033	parallel builds.
6034
60351999-05-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6036
6037	* putenv.c: Include ansidecl.h to define `const'.
6038	* setenv.c: Likewise.
6039
6040Wed May 26 03:58:20 1999  "Melissa O'Neill" <oneill@cs.sfu.ca>
6041
6042	* Makefile.in (CFILES): Add putenv.c and setenv.c.
6043	* configure.in (funcs): Add putenv and setenv.
6044	(AC_CHECK_FUNCS): Check for putenv and setenv.
6045	* configure: Rebuilt.
6046	* putenv.c setenv.c: New files.
6047
6048	* getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
6049	bytes of space using malloc.
6050
6051Mon May 17 01:42:34 1999  Stu Grossman  <grossman@babylon-5.cygnus.com>
6052
6053	* cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
6054	the *mangled pointer beyond the end of the string.  Clean up code to
6055	match prevailing coding style.
6056
60571999-05-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6058
6059	* tmpnam.c (L_tmpnam): Fix typo.
6060
6061Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
6062
6063	* cplus-dem.c (standard_symbol_characters): Renamed from
6064	standard_symbol_alphabet.  No longer modify TABLE.
6065	(hp_symbol_characters): Renamed from hp_symbol_alphabet.  No longer
6066	modify TABLE.
6067	(main): Corresponding changes.  Use strchr to determine if a
6068	character is valid.
6069
60701999-05-11  Jim Blandy  <jimb@zwingli.cygnus.com>
6071
6072	* cplus-dem.c (main): Use table lookup to distinguish identifier
6073	characters from non-identifier characters.
6074	(standard_symbol_alphabet, hp_symbol_alphabet): New functions.
6075
6076Thu May  6 20:34:42 1999  Fred Fish  <fnf@be.com>
6077
6078	* configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
6079	* getruntime.c: Only attempt to include sys/resource.h and
6080	use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
6081	are defined.
6082
6083Mon Apr 26 01:36:06 1999  Donn Terry (donn@interix.com)
6084
6085	* configure.in (alloca detection): Handle alloca directly for interix.
6086	* configure: Rebuilt.
6087
6088Sun Apr 25 01:18:21 1999  Mumit Khan  <khan@xraylith.wisc.edu>
6089
6090	* choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
6091
60921999-04-20  Jim Blandy  <jimb@zwingli.cygnus.com>
6093
6094	Fix from Dale Hawkins:
6095	* cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
6096	reallocated properly if we use it again.
6097
6098	* cplus-dem.c (demangle_fund_type): Check for buffer overrun.  Be
6099	stricter about syntax.  Always null-terminate string.
6100
6101Thu Apr 15 23:00:55 1999  Mumit Khan  <khan@xraylith.wisc.edu>
6102
6103	* configure.in (checkfuncs): Check for sbrk.
6104	* config.in: Rebuilt.
6105	* configure: Likewise.
6106	* xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
6107
61081999-04-12  Jim Blandy  <jimb@zwingli.cygnus.com>
6109
6110	Fix from Marcus Daniels:
6111	* cplus-dem.c (demangle_fund_type): Don't run off the end of the
6112	identifier looking for another underscore.
6113
6114Sun Apr 11 23:20:59 1999  Mumit Khan  <khan@xraylith.wisc.edu>
6115
6116	* pexecute.c: Change all references to __UWIN__ to _UWIN.
6117	* xmalloc.c: Likewise.
6118	(xcalloc): UWIN has sbrk.
6119	(xrealloc): Fix guard macro.
6120
61211999-04-11  Richard Henderson  <rth@cygnus.com>
6122
6123	* alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
6124	or <alloca.h>.
6125	* clock.c (GNU_HZ): New definition.
6126	(clock): Use it.
6127	* getruntime.c: Likewise.
6128
6129	* config.table: Use mh-beos.
6130	* config/mh-beos: New file.
6131
61321999-04-11  Mark Mitchell  <mark@codesourcery.com>
6133
6134	* cplus-dem.c (demangle_template_value_parm): Handle
6135	pointers-to-members.
6136	(do_type): Handle template parameters as qualifiers.
6137
61381999-04-01  Jim Blandy  <jimb@zwingli.cygnus.com>
6139
6140	* cplus-dem.c: Attempt to handle overflows in counts with some
6141	semblance of grace.
6142	(consume_count): Detect overflows.  Return -1 to indicate errors,
6143	instead of zero.
6144	(demangle_template_value_parm, demangle_template): Handle change
6145	to consume_count's return convention.
6146
61471999-04-05  Tom Tromey  <tromey@cygnus.com>
6148
6149	* testsuite/regress-demangle: New file.
6150	* testsuite/demangle-expected: New file.
6151
6152	* Makefile.in (all, check, installcheck, info, install-info,
6153	clean-info, dvi, install, etags, tags, mostlyclean, clean,
6154	distclean, maintainer-clean, realclean): Depend on corresponding
6155	`-subdir' target.
6156	(all-subdir check-subdir installcheck-subdir info-subdir
6157	install-info-subdir clean-info-subdir dvi-subdir
6158	install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
6159	distclean-subdir maintainer-clean-subdir): New target.
6160	* testsuite/Makefile.in: New file.
6161	* configure: Rebuilt.
6162	* configure.in: Create testsuite/Makefile.
6163
61641999-04-02  Mark Mitchell  <mark@codesourcery.com>
6165
6166	* splay-tree.h (splay_tree_compare_pointers): Define.
6167
61681999-03-30  Mark Mitchell  <mark@codesourcery.com>
6169
6170	* splay-tree.c (splay_tree_compare_ints): Define.
6171
61721999-03-30  Tom Tromey  <tromey@cygnus.com>
6173
6174	* cplus-dem.c (consume_count): If `count' wraps, return 0 and
6175	don't advance input pointer.
6176	(demangle_class_name): If consume_count didn't find a count, do
6177	nothing.  Don't bother with `strlen' sanity check; consume_count
6178	does it for us.
6179
61801999-03-16  Stan Shebs  <shebs@andros.cygnus.com>
6181
6182	From Art Haas  <ahaas@neosoft.com>:
6183	* cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
6184	when doing arm or hp style.
6185	(demangle_nested_args): Decr forgetting_types field when done.
6186
6187Thu Mar 11 01:22:58 1999  Mumit Khan  <khan@xraylith.wisc.edu>
6188
6189	* pexecute.c (__CYGWIN32__): Rename to
6190	(__CYGWIN__): this.
6191	* xmalloc.c: Likewise.
6192
6193	Changes to support i386-pc-uwin.
6194	* configure.in (*-*-uwin*): Workaround for vfork bug.
6195	* configure: Regenerate.
6196	* pexecute.c (pexecute): Be like standard Unix.
6197	(pwait): Likewise.
6198	* xmalloc.c (first_break): Define.
6199	(xmalloc_set_program_name): Use.
6200	(xmalloc): Use.
6201
6202Thu Mar 11 01:07:55 1999  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6203
6204	* config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
6205
6206Sun Feb 28 22:30:44 1999  Geoffrey Noer  <noer@cygnus.com>
6207
6208	* config.table: Check cygwin*, not cygwin32*.
6209
6210Tue Feb  9 16:39:01 1999  Dave Brolley  <brolley@cygnus.com>
6211
6212	* Makefile.in: Change mkstemp -> mkstemps.
6213
6214Tue Feb  9 01:12:27 1999  Marc Espie <Marc.Espie@liafa.jussieu.fr>
6215
6216	* Makefile.in (REQUIRED_OFILES): remove mkstemp.o
6217	* configure.in (funcs): Check for and conditionally add mkstemps to
6218	the list of functions libiberty will provide.
6219	* configure: Rebuilt.
6220
6221Wed Feb  3 00:01:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
6222
6223	* clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
6224	platforms that don't have HZ.
6225	* getruntime.c (HZ): Likewise.
6226
6227Sat Jan 30 13:28:04 1999  Richard Henderson  <rth@cygnus.com>
6228
6229	* Makefile.in (xstrdup.o): Depend on config.h.
6230
6231Wed Jan 13 07:26:44 1999  H.J. Lu  (hjl@gnu.org)
6232
6233	* cplus-dem.c (mop_up): Set work->previous_argument to NULL after
6234	freeing it.
6235
6236Wed Jan 13 14:16:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6237
6238	* xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
6239
6240Tue Jan  5 15:58:29 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
6241
6242	* Makefile.in (CFILES): fix typo, splay-tree.c instead of
6243	splay-tree.o.
6244
62451999-01-04  Jason Molenda  (jsm@bugshack.cygnus.com)
6246
6247	* configure.in: Require autoconf 2.12.1 or higher.
6248
62491998-12-30  Michael Meissner  <meissner@cygnus.com>
6250
6251	* random.c (NULL): Don't redefine NULL if it is already defined.
6252
6253Tue Dec 22 09:43:35 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6254
6255	* argv.c (buildargv): Cast the result of alloca in assignment.
6256
6257	* choose-temp.c: Include stdlib.h.
6258
6259	* cplus-dem.c (demangle_arm_pt): Remove unused prototype.
6260	(snarf_numeric_literal): Constify first parameter.
6261	(code_for_qualifier): Avoid a gcc extension, make the parameter an
6262	int, not a char.
6263	(demangle_qualifier): Likewise.
6264	(demangle_signature): Cast the argument of a ctype function to
6265	unsigned char.
6266	(arm_pt): Add parens around assignment used as truth value.
6267	(demangle_arm_hp_template): Constify variable `args'.
6268	(do_hpacc_template_const_value): Cast the argument of a ctype
6269	function to unsigned char.
6270	(do_hpacc_template_literal): Remove unused variable `i'.
6271	(snarf_numeric_literal): Constify parameter `args'.
6272	Cast the argument of a ctype function to unsigned char.
6273
6274	* floatformat.c (floatformat_to_double): Add explicit braces to
6275	avoid ambiguous `else'.
6276
6277	* fnmatch.c (fnmatch): Change type of variables `c', `c1',
6278	`cstart' and `cend' to unsigned char.  Cast the argument of macro
6279	`FOLD', which uses ctype functions, to unsigned char.
6280
6281	* objalloc.c (free): Add prototype.
6282
6283Sun Dec 20 16:03:46 1998  Hans-Peter Nilsson  <hp@axis.se>
6284
6285	* Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
6286
6287Fri Dec 18 17:50:18 1998  David Taylor  <taylor@texas.cygnus.com>
6288
6289	* cplus-dem.c (demangle_arm_pt): remove declaration -- function
6290	doesn't exist.
6291	(do_hpacc_template_literal): remove unused variable `i'.
6292
6293Fri Dec 18 16:11:43 EST 1998  Andrew MacLeod  <amacleod@cygnus.com>
6294
6295	* cplus-dem.c (demangle_fund_type): Process CV and u codes before
6296	bumping the pointer we read from. Also prepend these codes,
6297	as we do in other places.
6298
62991998-12-18  Nick Clifton  <nickc@cygnus.com>
6300
6301	* cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
6302	'const char *' in order to match its usage when calling siblings.
6303	(snarf_numeric_literal): Make first arg 'const char **' in order
6304	to match usage.
6305
6306Mon Dec 14 09:55:50 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6307
6308	* choose-temp.c: Don't check IN_GCC anymore.
6309
6310	* floatformat.c (floatformat_from_double): Use `const', not `CONST'.
6311	* memchr.c (memchr): Likewise.
6312	* memcpy.c (memcpy): Likewise.
6313	* memmove.c (memmove): Likewise.
6314
6315	* mkstemp.c: Don't check IN_GCC anymore.
6316	* pexecute.c: Likewise.
6317	* splay-tree.c: Likewise.
6318
6319	* strchr.c (strchr): Use `const', not `CONST'.
6320	* strrchr.c (strrchr): Likewise.
6321	* strtol.c (strtol): Likewise.
6322	* strtoul.c (strtoul): Likewise.
6323
6324Fri Dec  4 13:51:04 1998  David Taylor   <taylor@texas.cygnus.com>
6325			  Elena Zannoni  <ezannoni@cygnus.com>
6326			  Stan Shebs     <shebs@cygnus.com>
6327			  Edith Epstein  <eepstein@cygnus.com>
6328			  Andres MacLeod <amacleod@cygnus.com>
6329			  Satish Pai	 <pai@apollo.hp.com>
6330
6331	* HP aCC demangling support.
6332	* cplus-dem.c
6333	(main): Remove default to HP style demangling, set to EDG
6334	demangling correctly when -edg specified; set the demangling style
6335	when user specifies 'edg'. Set strip_underscore to
6336	prepends_underscore, if not HPUXHPPA.  Set
6337	current_demangling_style to hp_demangling if HPUXHPPA.  Set
6338	current demangling style correctly if the switch is hp.  Read
6339	label correctly also in the HP style case.
6340	(work_stuff): add temp_start field; add field for volatile member
6341	function.
6342	(arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
6343	style for this case is the same as ARM.
6344	(demangle_args): handle EDG_DEMANGLING style; support HP style.
6345	(demangle_arm_hp_template): new function. (It was
6346	demangle_arm_pt.); check and set value of temp_start field in
6347	multiple places. Also, when ceching for end of template args,
6348	check to see if at end of static member of template class.
6349	(demangle_class): new local variable : save_class_name_end Don't
6350	include template args in string defining class.
6351	(demangle_class_name): use demangel_arm_hp_template.
6352	(demangle_function_name): handle case where demangling style is
6353	HP_DEMANGLING and currently point at an 'X' in the mangled name.
6354	Handle EDG_DEMANGLING style.  Handle constructor and destructor
6355	ops for HP style.
6356	(demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
6357	styles.  global destructor and constructor for HP style are same
6358	as for ARM style. Same for local variables.
6359	(demangle_qualified): handle EDG_DEMANGLING style.
6360	(demangle_signature): add case for volatile member function.  For
6361	cases '1' - '9' : initialize the temp_start field to -1 and handle
6362	the EDG_DEMANGLING style.  for case 'F' : handle EDG_DEMANGLING
6363	and AUTO_DEMANGLING styles.  If expecting a function and managed
6364	to demangle the funct args, then handle the LUCID_DEMANGLING,
6365	ARM_DEMANGLING, and EDG_DEMANGLING styles.  Add case for local
6366	class name after "Lnnn_ in HP style case. HP style too needs to
6367	forget types.  _nnn is OK for HP style, so don't report failure.
6368	(do_hpacc_template_const_value): new function. Handle template's
6369	value param for HP/aCC.
6370	(do_hpacc_template_literal): new function.  Handle a template's
6371	literal parameter for HP aCC.
6372	(recursively_demangle): new function
6373	(snarf_numeric_literal): new function.
6374	(usage): add 'edg' to the list of demangling styles; add hp switch
6375	to message.
6376
6377Sat Nov 28 17:25:22 1998  Christopher Faylor <cgf@cygnus.com>
6378
6379	* pexecute.c: Remove obsolete ifdefed cygwin code.
6380
6381Fri Nov 27 13:26:06 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6382
6383	* choose-temp.c: Always include libiberty.h.  Avoid redundancies.
6384	* cplus-dem.c: Likewise.  Conform to libiberty.h.
6385	* pexecute.c: Likewise.
6386	* splay-tree.c: Likewise.
6387
63881998-11-25  Mike Stump  <mrs@wrs.com>
6389
6390	* Makefile.in (splay-tree.o): Add config.h dependency.
6391
6392Mon Nov 23 16:59:49 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6393
6394	*  configure.in: Use AC_PREREQ(2.12.1).
6395
63961998-11-16  Benjamin Kosnik  <bkoz@haight.constant.com>
6397
6398	* cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
6399
6400Thu Nov 19 22:15:50 1998  Jeffrey A Law  (law@cygnus.com)
6401
6402	* mpw.c (mpw_access): Add missing parens.
6403
6404Thu Nov 19 12:59:21 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6405
6406	* configure.in: Call AC_HEADER_SYS_WAIT.
6407
6408	* pexecute.c: Include sys/wait.h when !IN_GCC.
6409
6410Thu Nov 19 14:38:20 1998  Geoffrey Noer  <noer@cygnus.com>
6411
6412	* pexecute.c: revert back to checking old Cygwin
6413	preprocessor symbol until some time has passed.
6414
6415Wed Nov 18 08:52:26 1998  Christopher Faylor <cgf@cygnus.com>
6416
6417	* pexecute.c: Reorganize WIN32 case to accomodate Cygwin
6418	since it will now support similar constructs.
6419
6420Fri Nov 13 19:18:05 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6421
6422	* configure.in: Check for calloc.
6423
6424	* calloc.c: New	file.
6425
6426	* xmalloc.c (xcalloc): New function.
6427
6428Fri Nov 13 08:51:46 EST 1998  Andrew MacLeod  <amacleod@cygnus.com>
6429
6430	*cplus-dem.c (demangle_prefix): Use the last "__"
6431	in the mangled name when looking for the signature. This allows
6432	template names to begin with "__".
6433
64341998-11-08  Mark Mitchell  <mark@markmitchell.com>
6435
6436	* cplus-dem.c (type_kind_t): Add tk_reference.
6437	(demangle_template_value_parm): Handle it.
6438	(do_type): Use it for references, instead of tk_pointer.
6439
6440	* cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
6441	not internal_cplus_demangle.
6442
6443Sat Nov  7 16:02:10 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6444
6445	* choose-temp.c: Don't include gansidecl.h.
6446	* mkstemp.c: Likewise.
6447	* pexecute.c: Likewise.
6448
6449Mon Nov  2 15:05:33 1998  Geoffrey Noer  <noer@cygnus.com>
6450
6451	* configure.in: detect cygwin* instead of cygwin32*
6452	* configure: regenerate
6453
6454Mon Nov  2 10:22:01 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6455
6456	* pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
6457	whether to include config.h.  Possibly include unistd.h in the
6458	!IN_GCC case.  Define VFORK_STRING as a printable function call
6459	for error messages (either "vfork" or "fork".)  If HAVE_VFORK_H is
6460	defined, include vfork.h.  If VMS is defined, define vfork()
6461	appropriately.  Remove vfork check on USG, we're using autoconf.
6462	(pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
6463	locally what string to use.
6464
64651998-10-26  Mark Mitchell  <mark@markmitchell.com>
6466
6467	* splay-tree.c: Tweak include directives to make sure declarations of
6468	xmalloc and free are available.
6469
64701998-10-25  Mark Mitchell  <mark@markmitchell.com>
6471
6472	* cplus-dem.c (gnu_special): Fix handling of virtual tables in
6473	anonymous namespaces.
6474
64751998-10-23  Mark Mitchell  <mark@markmitchell.com>
6476
6477	* cplus-dem.c (work_stuff): Replace const_type and volatile_type
6478	with type_quals.
6479	(TYPE_UNQUALIFIED): New macro.
6480	(TYPE_QUAL_CONST): Likewise.
6481	(TYPE_QUAL_VOLATILE): Likewise.
6482	(TYPE_QUAL_RESTRICT): Likewise.
6483	(code_for_qualifier): New function.
6484	(qualifier_string): Likewise.
6485	(demangle_qualifier): Likewise.
6486	(internal_cplus_demangle): Use them.
6487	(demangle_signature): Likewise.
6488	(demangle_template_value_parm): Likewise.
6489	(do_type): Likewise.
6490	(demangle_fund_type)): Likewise.
6491
6492Thu Oct 22 19:58:43 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6493
6494	* splay-tree.c (splay_tree_foreach_helper): Make definition static
6495	to match prototype.
6496
64971998-10-21  Mark Mitchell  <mark@markmitchell.com>
6498
6499	* splay-tree.c: New file.
6500	* Makefile.in (CFILES): Add it.
6501	(REQUIRED_OFILES): Likewise.
6502	(splay-tree.o): Add dependencies.
6503
6504Tue Oct 20 12:29:02 1998  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6505
6506	* cplus-dem.c (demangle_qualified): Fix off-by-one when checking
6507	range of 'K' index.
6508
6509Thu Oct 15 18:51:12 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6510
6511	* choose-temp.c: Prototype mkstemps() when IN_GCC.
6512
6513	* cplus-dem.c (consume_count): Cast argument of ctype macro to
6514	`unsigned char'.
6515	(cplus_demangle_opname): Cast the result of `strlen' to (int) when
6516	comparing against one.
6517	(cplus_mangle_opname): Likewise.
6518	(demangle_integral_value): Cast argument of ctype macro to
6519	`unsigned char'.
6520	(demangle_template_value_parm): Likewise.
6521	(demangle_template): Initialize variable `bindex'.  Cast the
6522	result of `strlen' to (int) when comparing against one.  Remove
6523	unused variable `start_of_value_parm'.
6524	(demangle_class_name): Cast the result of `strlen' to (int) when
6525	comparing against one.
6526	(demangle_prefix): Cast argument of ctype macro to `unsigned char'.
6527	(gnu_special): Likewise.  Cast the result of `strlen' to (int)
6528	when comparing against one.
6529	(demangle_qualified): Cast argument of ctype macro to `unsigned char'.
6530	(get_count): Likewise.
6531	(do_type): Likewise.  Cast the result of `strlen' to (int) when
6532	comparing against one.
6533	(demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
6534	(demangle_function_name): Cast the result of `strlen' to (int)
6535	when comparing against one.
6536
6537	* mkstemp.c (mkstemps): Cast variable `len' to (int) when
6538	comparing against one.
6539
6540Tue Oct 13 23:51:51 1998  Jeffrey A Law  (law@cygnus.com)
6541
6542	* mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
6543	* configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
6544	* config.in, configure: Rebuilt.
6545
6546	* getopt.c: Check HAVE_STRINGS_H before including strings.h.
6547	* configure.in (AC_CHECK_HEADERS): Check for strings.h too.
6548	* config.in, configure: Rebuilt.
6549
6550Mon Oct 12 19:15:59 1998  Geoffrey Noer  <noer@cygnus.com>
6551
6552	* configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
6553
6554Sun Oct 11 17:36:06 1998  Michael Tiemann  <tiemann@holodeck.cygnus.com>
6555
6556	* Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
6557
6558Thu Oct  8 23:42:08 1998  Jeffrey A Law  (law@cygnus.com)
6559
6560	* Merge egcs & devo libiberty.
6561
65621998-09-08  Martin von L��wis  <loewis@informatik.hu-berlin.de>
6563
6564	* cplus-dem.c (demangle_arm_pt): Demangle anonymous namespaces.
6565
6566Mon Sep  7 23:29:01 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6567
6568	* mkstemp.c: Include config.h even when not IN_GCC.  Wrap header
6569	inclusions inside HAVE_*_H macros.  Include ansidecl.h when not
6570	IN_GCC.
6571
6572	* vasprintf.c: Include stdarg.h/varargs.h first.
6573
6574	* vprintf.c: Likewise.
6575
6576Sat Sep  5 03:24:49 1998  Jeffrey A Law  (law@cygnus.com)
6577
6578	* pexecute.c: Updates from gcc.  Copy in gcc has been removed.  This
6579	is the canonical copy.  Define ISSPACE if !IN_GCC.
6580	* alloca.c, vfprintf.c, choose-temp.c, mkstemp.c, getopt.c: Similarly.
6581	* getopt1.c, obstack.c: Similarly.
6582	* Makefile.in: Build mkstemp.o
6583
6584Tue Sep  1 23:12:47 1998  Christopher Faylor <cgf@cygnus.com>
6585
6586	* configure.in: Include asprintf in list of functions known not
6587	to be in newlib.
6588	* configure: Rebuild.
6589
6590Wed Aug 19 14:05:01 1998  Mumit Khan  <khan@xraylith.wisc.edu>
6591
6592	* cplus-dem.c (work_stuff): Add dllimported.
6593	(demangled_prefix): Mark symbols imported from PE DLL.
6594	(internal_cplus_demangled): Handle.
6595
65961998-08-17  Jason Merrill  <jason@yorick.cygnus.com>
6597
6598	* cplus-dem.c (do_type): Fix simple array handling.  If we fail,
6599	stay failed.
6600
6601Mon Aug 17 10:40:34 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6602
6603	* cplus-dem.c: Include config.h if it exists.  Also, only
6604	prototype malloc/realloc if we can't get stdlib.h.
6605
6606Sat Aug 15 16:15:01 1998  Ian Lance Taylor  <ian@cygnus.com>
6607
6608	* configure.in: Switch back to checking --with-target-subdir when
6609	deciding whether to check for newlib, undoing part of July 15
6610	change.
6611	* configure: Rebuild.
6612
6613Thu Aug 13 16:47:38 1998  Mark Mitchell  <mark@markmitchell.com>
6614
6615	* cplus-dem.c (type_kind_t): New type.
6616	(demangle_template_value_parm): Add type_kind_t parameter.  Rely
6617	on this paramter, rather than demangling the type again.
6618	(demangle_integral_value): Pass tk_integral.
6619	(demangle_template_: Pass the value returned from do_type.
6620	(do_type): Return a type_kind_t.  Pass tk_integral to
6621	demangle_template_value_parm for array bounds.
6622	(demangle_fund_type): Likewise.
6623
6624	Also incorporate from GCC version:
6625
6626	Tue Jul 21 13:28:19 1998  Jason Merrill  <jason@yorick.cygnus.com>
6627
6628	* cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
6629
6630Thu Aug 13 16:47:38 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6631
6632	* cplus-dem.c (demangle_nested_args): Make function definition
6633	static to match the prototype.
6634
6635Tue Jul 28 11:33:09 1998  Mark Mitchell  <mark@markmitchell.com>
6636
6637	* cplus-dem.c (type_kind_t): New type.
6638	(demangle_template_value_parm): Add type_kind_t parameter.  Rely
6639	on this paramter, rather than demangling the type again.
6640	(demangle_integral_value): Pass tk_integral.
6641	(demangle_template_: Pass the value returned from do_type.
6642	(do_type): Return a type_kind_t.  Pass tk_integral to
6643	demangle_template_value_parm for array bounds.
6644	(demangle_fund_type): Likewise.
6645
6646	Also incorporate from GCC version:
6647
6648	Tue Jul 21 13:28:19 1998  Jason Merrill  <jason@yorick.cygnus.com>
6649
6650	* cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
6651
6652Mon Jul 27 12:16:08 1998  Ian Lance Taylor  <ian@cygnus.com>
6653
6654	* Makefile.in (ALLOCA): New variable.
6655	($(TARGETLIB)): Add $(ALLOCA) to library.
6656	(needed-list): Add $(ALLOCA).
6657	($(ALLOCA)): Depend upon stamp-picdir.
6658
6659Sun Jul 19 08:23:17 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6660
6661	* cplus-dem.c (demangle_nested_args): Make function definition
6662	static to match the prototype.
6663
6664Wed Jul 15 00:12:58 1998  Ian Lance Taylor  <ian@cygnus.com>
6665
6666	* configure.in: Check --with-cross-host rather than
6667	--with-target-subdir when deciding whether build uses a cross
6668	compiler, and when deciding where to install the library.
6669	* configure: Rebuild.
6670
6671Sun Jul 12 01:27:05 1998  Jason Merrill  <jason@yorick.cygnus.com>
6672
6673	* cplus-dem.c (demangle_nested_args): Return a value.
6674
6675Sat Jul 11 16:19:48 1998  Mark Mitchell  <mark@markmitchell.com>
6676
6677	* cplus-dem.c (string): Move definition before work_stuff.
6678	(work_stuff): Add volatile_type, forgetting_types,
6679	previous_argument, and nrepeats fields.
6680	(SCOPE_STRING): New macro.
6681	(demangle_template): Add `remember' parameter.  Add comment.
6682	Register the `B' code type here, if remembering.  Tidy.  Fix crash
6683	on NULL tmpl_argvec.  Be consistent with use of tname/trawname.
6684	(demangle_nested_args): New function.
6685	(internal_cplus_demangle): Handle volatile-qualified member
6686	functions.
6687	(mop_up): Delete the previous_argument string if present.
6688	(demangle_signature): Tidy.  Handle volatile-qualified member
6689	functions.  Handle back-references using the `B' code.  Use extra
6690	parameter to demangle_template and SCOPE_STRING where appropriate.
6691	(demangle_template_value_parm): Fix thinko; 'B' is not an integral
6692	code.
6693	(demangle_class): Use SCOPE_STRING.
6694	(gnu_special): Pass additional argument to demangle_template.
6695	Use SCOPE_STRING.
6696	(demangle_qualified): Save qualified types for later
6697	back-references.  Handle constructors and destructors for template
6698	types correctly.
6699	(do_type): Tidy.  Use SCOPE_STRING.  Pass extra argument to
6700	demangle_template.  Use demangled_nested_args.  Don't remember
6701	qualified types here; that's now done in demangle_qualified.
6702	Similarly for templates.
6703	(do_arg): Improve commment.  Handle 'n' repeat code.
6704	(remember_type): Check forgetting_types.
6705	(demangle_args): Deal with 'n' repeat codes.  Tidy.
6706
6707Thu Jul  2 16:26:24 1998  Ian Lance Taylor  <ian@cygnus.com>
6708
6709	* config.table: Only use mh-fbsd21 on *-*-freebsd2.2.[012], not on
6710	*-*-freebsd2.2.*.  From Dmitrij Tejblum <tejblum@arc.hq.cti.ru>.
6711
6712Mon Jun 15 16:29:01 1998  Ian Lance Taylor  <ian@cygnus.com>
6713
6714	* configure.in (setobjs): Correct quoting error in cygwin32 case.
6715	From Chris Faylor <cgf@cygnus.com>.
6716
6717Mon Jun  1 13:47:55 1998  Jason Molenda  (crash@bugshack.cygnus.com)
6718
6719	* obstack.c: Update to latest FSF version.
6720
6721Mon Jun  1 14:17:36 1998  Mike Stump  <mrs@wrs.com>
6722
6723	* Makefile.in: Add a dependency on stamp-picdir for the
6724	objects, so that we can do a parallel build.
6725
6726Sat May 30 22:17:13 1998  Mumit Khan  <khan@xraylith.wisc.edu>
6727
6728	* configure.in (checkfuncs): Add missing "'".
6729
6730Fri May 29 12:40:41 1998  Jason Molenda  (crash@bugshack.cygnus.com)
6731
6732	* obstack.c (_obstack_memory_used):  Elide this function if we're
6733	on a system with GNU libc.
6734
6735Tue May 26 18:28:43 1998  Ian Lance Taylor  <ian@cygnus.com>
6736
6737	* Makefile.in (distclean): Remove config.log.
6738
6739Tue May 26 15:01:52 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6740
6741	* Makefile.in (distclean): Don't remove alloca-conf.h.
6742
6743Fri May 22 01:38:07 1998  Hans-Peter Nilsson  <hp@axis.se>
6744
6745	* cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.
6746
67471998-05-21  Mark Mitchell  <mmitchell@usa.net>
6748
6749	* cplus-dem.c (do_type): Handle volatile qualification.
6750
67511998-05-21  Manfred Hollstein  <manfred@s-direktnet.de>
6752
6753	* configure.in: Check for unistd.h as well.
6754	* configure: Rebuild.
6755	* config.in: Rebuild.
6756	* getpagesize.c (GNU_OUR_PAGESIZE): Use sysconf only if _SC_PAGESIZE
6757	is defined in unistd.h. Reformat conditional block for easier reading.
6758
6759	* config.table (shared): Default to no if ${enable_shared}
6760	is unset or empty; this logic is used by the toplevel
6761	configure scripts, too.
6762
6763Sat May 16 14:01:26 1998  Jeffrey A Law  (law@cygnus.com)
6764
6765	* config.table: Add line to set enable_shared in the Makefile
6766	as needed.
6767
6768Wed May 13 14:24:38 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6769
6770	* cplus-dem.c (squangle_mop_up): Change return type to void.
6771	(internal_cplus_demangle): Remove unused parameter `options'.
6772	All callers changed.
6773	(cplus_demangle_opname): Remove function wide variable `int i' and
6774	replace with `size_t i' at each location where it is used.
6775	(cplus_mangle_opname): change type of `i' from int to size_t.
6776
6777Wed May 13 13:39:38 1998  Ian Lance Taylor  <ian@cygnus.com>
6778
6779	* alloca-conf.h: Include config.h.  Check HAVE_ALLOCA_H rather
6780	than sparc or sun.
6781	* Makefile.in (argv.o): Depend upon config.h and alloca-conf.h.
6782
6783Fri May  8 00:23:51 1998  Ian Lance Taylor  <ian@cygnus.com>
6784
6785	* configure.in: Set libiberty_topdir correctly when srcdir is
6786	"." and with_target_subdir is not set.
6787	* configure: Rebuild.
6788
6789Thu May  7 13:01:44 1998  Ian Lance Taylor  <ian@cygnus.com>
6790
6791	* configure.in: Add *-*-mingw32* case.
6792	* configure: Rebuild.
6793
6794Wed May  6 11:33:51 1998  Ian Lance Taylor  <ian@cygnus.com>
6795
6796	* config.table: Never use a PIC file for *-*-cygwin32*.
6797
6798	* Makefile.in (config.status): Depend upon config.table.
6799
6800	* configure.in: On a cygwin32 host, always compile random, and
6801	don't test for sys_siglist, strsignal, or psignal.
6802	* configure: Rebuild.
6803
6804	* clock.c: Check HAVE_SYS_PARAM_H rather than NO_SYS_PARAM_H.
6805	* getcwd.c: Likewise.
6806	* getpagesize.c: Likewise.
6807	* getruntime.c: Likewise.
6808
6809Tue May  5 18:08:32 1998  Ian Lance Taylor  <ian@cygnus.com>
6810
6811	Use autoconf tests rather than the old dummy.c test:
6812	* configure.in: Add AC_ARG_WITH calls for --with-target-subdir and
6813	--with-newlib.  Add AC_CONFIG_HEADER.  Use AC_REPLACE_FUNCS for
6814	most functions.  Add special cases to handle newlib and VxWorks.
6815	Remove target_makefile_frag.  Create stamp-h in AC_OUTPUT if
6816	CONFIG_HEADERS is set.  Only call config-ml.in in AC_OUTPUT if
6817	CONFIG_FILES is set; set ac_file before calling it.
6818	* config.table (arm-*-riscix*, *-*-cygwin32): Remove.
6819	(*-*-hpux*, *-*-hiux*, *-*-irix4*, *-*-solaris2*): Remove.
6820	(*-*-sysv4*, *-*-go32, *-*-vxworks5*, *-*-vxworks): Remove
6821	(i[3456]-*-mingw32*): Remove.
6822	* Makefile.in (ERRORS_CC, CONFIG_H, NEEDED_LIST): Remove.
6823	(LIBOBJS): New variable.
6824	(HOST_OFILES, DO_ALSO, STAGESTUFF): Remove.
6825	(all): Depend upon needed-list.  Don't check RULE1.
6826	(@target_makefile_frag@): Remove.
6827	(COMPILE.c): Include @DEFS@.
6828	(HFILES): Add alloca-conf.h.
6829	(REQUIRED_OFILES): Remove basename.o.
6830	($(TARGETLIB)): New target.
6831	(stamp-needed, lneeded-list, needed.awk, stamp-config): Remove.
6832	(lconfig.h, needed2.awk, dummy.o, errors): Remove.
6833	(needed-list, config.h): Rewrite.
6834	(RULE1, $(RULE1), RULE2, $(RULE2)): Remove.
6835	(.always.): Remove.
6836	(Makefile): Set CONFIG_FILES and CONFIG_HEADERS.
6837	(stamp-h): New target.
6838	(atexit.o, clock.o, getcwd.o, getpagesize.o): New targets.
6839	(basename.o): Don't depend upon config.h.
6840	(getruntime.o): Depend upon config.h.
6841	* atexit.c: Include config.h.  Check HAVE_ON_EXIT rather than
6842	NEED_on_exit.
6843	* basename.c: Don't include config.h.  Don't check NEED_basename.
6844	* clock.c: Include config.h.
6845	* getcwd.c: Likewise.
6846	* getpagesize.c: Likewise.
6847	* getruntime.c: Likewise.  Fix checks which set HAVE_GETRUSAGE and
6848	HAVE_TIMES.
6849	* strerror.c: Change uses of NEED_sys_errlist to
6850	HAVE_SYS_ERRLIST.  Likewise for NEED_strerror and HAVE_STRERROR.
6851	* strsignal.c: Likewise for NEED_sys_siglist and HAVE_SYS_SIGLIST,
6852	and for NEED_strsignal and HAVE_STRSIGNAL and for NEED_psignal and
6853	HAVE_PSIGNAL.
6854	* acconfig.h: New file.
6855	* dummy.c: Remove.
6856	* functions.def: Remove.
6857	* config/mh-cxux7 (HDEFINES): Remove -DHAVE_SYSCONF.
6858	* config/mh-windows (HDEFINES): Remove.
6859	* config/mh-cygwin32: Remove.
6860	* config/mh-go32: Remove.
6861	* config/mh-irix4: Remove.
6862	* config/mh-riscix: Remove.
6863	* config/mh-sysv4: Remove.
6864	* config/mt-mingw32: Remove.
6865	* config/mt-vxworks5: Remove.
6866	* config.in: New file, generated using autoheader.
6867	* configure: Rebuild.
6868
6869Mon May  4 13:00:28 1998  Ian Lance Taylor  <ian@cygnus.com>
6870
6871	* configure.in: Rewrite to use autoconf.
6872	* configure: Generate using autoconf.
6873	* config/mh-a68bsd: Remove.
6874	* config/mh-apollo68: Remove.
6875	* config/mh-hpbsd: Remove.
6876	* config/mh-ncr3000: Remove.
6877	* config/mh-sysv: Remove.
6878	* config/mh-aix (RANLIB, INSTALL): Don't define.
6879	* config/mh-cxux7 (RANLIB, INSTALL): Don't define.
6880	* config/mh-irix4 (CC, RANLIB, INSTALL): Don't define.
6881	* config/mh-sysv4 (RANLIB, INSTALL): Don't define.
6882	* config.table: Change config_shell to CONFIG_SHELL, and use
6883	libiberty_topdir to find move-if-change.
6884	(m68k-apollo-bsd*, m68k-apollo-sysv*): Remove.
6885	(i[3456]86-ncr-sysv4*, *-*-dgux*, hppa*-hp-bsd*): Remove.
6886	(*-*-irix*, *-*-m88kbcs*, *-*-sysv*): Remove.
6887	* Makefile.in (srcdir): Set to @srcdir@.
6888	(VPATH): Likewise.
6889	(prefix, exec_prefix, bindir, libdir): Set to autoconf variables.
6890	(SHELL, INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Likewise.
6891	(CC, CFLAGS, RANLIB)): Likewise.
6892	(datadir, man*dir, infodir, includedir, MAKEINFO): Remove.
6893	(target_makefile_frag, host_makefile_frag): Add substitutions.
6894	(INSTALL_DEST): Set to @INSTALL_DEST@.
6895	(Makefile): Depend upon config.status.  Don't depend upon
6896	$(host_makefile_frag) or $(target_makefile_frag).
6897	(config.status): New target.
6898
6899Sun May  3 17:58:49 1998  Ian Lance Taylor  <ian@cygnus.com>
6900
6901	* config/mt-sunos4: Remove.  Should be handled by --with-headers
6902	and --with-libraries options at top level.
6903	* config.table: Never use mt-sunos4.
6904
6905	* alloca-conf.h: New file, combining alloca-norm.h and
6906	alloca-botch.h.
6907	* alloca-norm.h: Remove.
6908	* alloca-botch.h: Remove.
6909	* configure.in: Set shell variables files and links to empty.
6910	* config.table: Don't set shell variable files.
6911	* configure.bat: Don't create alloca-conf.h.
6912	* makefile.vms: Likewise.
6913	* mpw-config.in: Likewise.
6914	* vmsbuild.com: Likewise.
6915
6916Fri May  1 11:41:42 1998  Ian Lance Taylor  <ian@cygnus.com>
6917
6918	* Makefile.in ($(HOST_OFILES) $(REQUIRED_OFILES)): Remove old
6919	target depending upon config.h.
6920	(alloca.o): Add target depending upon config.h
6921	(basename.o, choose-temp.o, fnmatch.o): Likewise.
6922	(getopt.o, getopt1.o, pexecute.o, strerror.o): Likewise.
6923	(strsignal.o, xstrerror.o): Likewise.
6924
6925Fri May  1 04:26:25 1998  Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6926
6927	* cplus-dem.c (cplus_demangle_opname):  Initialize work.
6928
6929Mon Apr 27 15:53:30 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
6930
6931	* cplus-dem.c (demangle_qualified): Replace missing else.
6932
6933Sun Apr 26 15:38:50 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6934
6935	* cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
6936	length in the name of a virtual table.
6937
6938Wed Apr 22 10:53:49 EDT 1998 Andrew MacLeod  <amacleod@cygnus.com>
6939
6940	* cplus-dem.c (struct work stuff): Add field for B and K mangle codes.
6941	(cplus_demangle_opname): Call mop_up_squangle.
6942	(cplus_demangle): Initialize squangle info, then call
6943	internal_cplus_demangle. (Most code moved there as well)
6944	(internal_cplus_demangle): New function, performs most of what use
6945	to be done in cplus_demangle, but is only called with this file.
6946	(squangle_mop_up): New function to clean up B and K code data.
6947	(mop_up): set pointers to NULL after freeing.
6948	(demangle_signature, demangle_template, demangle_class): Add
6949	switch elements to handle K and B codes.
6950	(demangle_prefix, gnu_special, demangle_qualified): Add
6951	code to handle K and B codes.
6952	(do_type, demangle_fund_type): Handle B and K codes.
6953	(remember_Ktype): New function to store K info.
6954	(register_Btype, remember_Btype): New functions for B codes.
6955	(forget_B_and_K_types): New function to destroy B and K info.
6956
6957Fri Apr 10 01:49:10 1998  Jeffrey A Law  (law@cygnus.com)
6958
6959	* COPYING.LIB, choose-temp.c, cplus-dem.c: Sync with egcs & gcc.
6960
6961Thu Mar  5 09:23:28 1998  Manfred Hollstein  <manfred@s-direktnet.de>
6962
6963	* config.table: Make locating frag files failsafe even for the
6964	special case if configuring and building in srcdir.
6965
6966Mon Feb 23 14:33:15 1998  Ian Lance Taylor  <ian@cygnus.com>
6967
6968	* choose-temp.c: Fix handling of sys/file.h to work in libiberty.
6969
6970Sun Feb 22 18:03:23 1998  Jeffrey A Law  (law@cygnus.com)
6971
6972	* choose-temp.c: Sync with copy in gcc.
6973
6974Thu Feb 12 16:29:49 1998  Ian Lance Taylor  <ian@cygnus.com>
6975
6976	* getopt.c: Update to latest FSF version.
6977	* getopt1.c: Likewise.
6978
6979Tue Feb 10 16:58:33 1998  Stan Shebs  <shebs@andros.cygnus.com>
6980
6981	* cplus-dem.c (gnu_special): Don't get confused by .<digits>
6982	strings that are not actually lengths.
6983
6984Fri Feb  6 01:35:17 1998  Manfred Hollstein  <manfred@s-direktnet.de>
6985
6986	* Makefile.in (FLAGS_TO_PASS): Don't pass PICFLAG.
6987	(.c.o): Check value of enable_shared, not PICFLAG.
6988	(stamp-picdir): Dito.
6989
6990Thu Feb  5 18:48:56 1998  Geoffrey Noer  <noer@cygnus.com>
6991
6992	* config/mh-cygwin32: remove vasprintf.o from EXTRA_OFILES
6993	since it gets built automatically
6994
6995Sun Feb  1 02:52:32 1998  Mike Stump  <mrs@wrs.com>
6996
6997	* config.table (vxworks configs): Default to VxWorks 5.x, as that is
6998	the currently shipping OS.
6999
7000Tue Jan 27 16:08:20 1998  Pat Rankin  <rankin@eql.caltech.edu>
7001
7002	* vmsbuild.com [REQUIRE_OFILES]: Synchronized with Makefile.in:
7003	Add fnmatch.o and objalloc.o; remove vasprintf.o.
7004	[config.h]: Define NEED_strsignal.
7005
7006Mon Jan 19 12:20:01 1998  Ian Lance Taylor  <ian@cygnus.com>
7007
7008	* functions.def: Correct argument types for strerror and
7009	strsignal.  Reported by Alex Gutman <agutman@emc.com>.
7010
7011Sun Jan 18 15:57:28 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>
7012
7013	* vasprintf.c (int_vasprintf): Increase buffer size for float/double
7014	values.
7015
7016Sat Jan 17 22:28:38 1998  Mumit Khan  <khan@xraylith.wisc.edu>
7017			  J.J. VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
7018
7019	Add mingw32 support.
7020	* pexecute.c (pexecute): New function for mingw32. Supports pipes.
7021	(pwait): New function for mingw32.
7022
7023	* config.table (i[3456]86-*-mingw32*): Support for i386-mingw32.
7024	* config/mt-mingw32: New file.
7025	* xmalloc.c (first_break): Not used for mingw32.
7026	(xmalloc_set_program_name): Don't use sbrk on mingw32.
7027	(xmalloc): Likewise.
7028	(xrealloc): Likewise.
7029
7030Sat Jan 17 22:28:05 1998  Jeffrey A Law  (law@cygnus.com)
7031
7032	* choose-temp.c: Sync with gcc version.
7033
7034Tue Jan 13 18:34:39 1998  Jim Wilson  <wilson@cygnus.com>
7035
7036	* Makefile.in (install_to_libdir, install_to_tooldir): Add MULTISUBDIR
7037	to all filenames in libdir and tooldir.
7038	(distclean): Do MULTICLEAN before deleting Makefile.
7039	(stamp-needed, stamp-config): Add MULTISRCTOP to
7040	pathname for move-if-change.
7041
7042Thu Dec  4 17:25:19 1997  Jeffrey A Law  (law@cygnus.com)
7043
7044	* strsignal.c (sys_nsig): Try NSIG and _NSIG.
7045
7046Wed Nov 19 13:37:06 1997  Michael Meissner  <meissner@cygnus.com>
7047
7048	* alloca-norm.h (alloca, GCC case): Don't redefine alloca if it
7049	was already defined previously.
7050
7051Mon Nov 10 12:48:03 1997  Philippe De Muyter  <phdm@macqel.be>
7052
7053	* Makefile.in (INSTALL): Use ../install-sh, not install.
7054
7055Tue Oct 28 23:41:15 1997  Judy Goldberg  <jodyg@idt.net>
7056
7057	* Makefile.in (CFILES): Add pexecute.c.
7058
7059Wed Oct 15 19:13:48 1997  Ian Lance Taylor  <ian@cygnus.com>
7060
7061	* asprintf.c: Consistently use either stdarg or varargs.
7062
7063Tue Oct 14 12:01:00 1997  Mark Mitchell  <mmitchell@usa.net>
7064
7065	* cplus-dem.c (demangle_signature): Don't look for return types on
7066	constructors.  Handle member template constructors.
7067
7068Fri Oct  3 17:53:30 1997  Ian Lance Taylor  <ian@cygnus.com>
7069
7070	* README: Fix configuration instructions.
7071
7072Mon Sep 29 12:28:41 1997  Ian Lance Taylor  <ian@cygnus.com>
7073
7074	* pexecute.c: Update to current version from /gd/gnu/lib:
7075
7076	Mon Sep 29 12:27:59 1997  Ian Lance Taylor  <ian@cygnus.com>
7077
7078	* pexecute.c: Use spawn if __CYGWIN32__.
7079
7080	1997-08-08  Paul Eggert  <eggert@twinsun.com>
7081
7082	* pexecute.c: Include "config.h" first, as per autoconf manual.
7083
7084	Fri Jun 27 15:20:29 1997  Scott Christley <scottc@net-community.com>
7085
7086	* pexecute.c (fix_argv): New function.
7087	(pexecute): Win32 but not Cygwin32 needs its arguments fixed.
7088	Add underscore to cwait function call.
7089
7090Sun Sep 28 12:00:52 1997  Mark Mitchell  <mmitchell@usa.net>
7091
7092	* cplus-dem.c (demangle_template): Add new parameter.  Handle new
7093	template-function mangling.
7094	(consume_count_with_underscores): New function.
7095	(demangle_signature): Handle new name-mangling scheme.
7096
7097Wed Sep 24 00:31:59 1997  Felix Lee  <flee@yin.cygnus.com>
7098
7099	* asprintf.c: stdarg.h when ALMOST_STDC
7100	* config/mh-windows (EXTRA_OFILES): add asprintf.o and
7101	strncasecmp.o.
7102
7103Thu Aug 28 14:27:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
7104
7105	* vasprintf.c (vasprintf): Allow for _BSD_VA_LIST_.
7106
7107	* config.table: Add case for FreeBSD 2.1 and 2.2, needs mh-fbsd21.
7108
7109	* config/mh-fbsd21 (EXTRA_OFILES): Force vasprintf.o
7110
7111Wed Sep 10 12:43:10 1997  Jason Merrill  <jason@yorick.cygnus.com>
7112
7113	* cplus-dem.c (demangle_fund_type): Change "complex" to "__complex".
7114
7115Fri Sep  5 16:34:42 1997  Andrew Cagney  <cagney@b1.cygnus.com>
7116
7117	* asprintf.c (asprintf): New file.
7118	* Makefile.in (CFILES): Add asprintf.c
7119	* functions.def: Ditto.
7120
7121Thu Aug 28 18:53:34 1997  Andrew Cagney  <cagney@b1.cygnus.com>
7122
7123	* argv.c (dupargv): New function, duplicate an argument vector.
7124
7125Tue Aug 19 20:28:45 1997  Geoffrey Noer  <noer@cygnus.com>
7126
7127	* config/mh-cygwin32: also build random.o
7128
7129Tue Aug 19 17:10:56 1997  Jason Merrill  <jason@yorick.cygnus.com>
7130
7131	* cplus-dem.c: Add 'extern' to prepends_underscore.
7132
7133Wed Jul 30 11:42:19 1997  Per Bothner  <bothner@cygnus.com>
7134
7135	* cplus-dem.c: Various changes to produce Java output when passed
7136	DMGL_JAVA.  Thus "::" becomes "." and "JArray<Foo>" becomes "Foo[]".
7137	(main): Support --java and -j flags to set DMGL_JAVA.
7138
7139Tue Jul 22 19:05:23 1997  Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
7140
7141	* config/mh-go32 (CC, AR, RANLIB): Don't define.
7142
7143Tue Jul 22 17:49:54 1997  Ian Lance Taylor  <ian@cygnus.com>
7144
7145	* Makefile.in (REQUIRED_OFILES): Add pexecute.o.
7146	(pexecute.o): New target.
7147
7148	* Makefile.in (stamp-needed): New target, replacing needed-list.
7149	(needed-list): Just depend upon stamp-needed.
7150	(stamp-config): New target, replacing config.h.
7151	(config.h): Just depend upon stamp-config.
7152	(mostlyclean): Remove stamp-*.
7153
7154Thu Jun 12 11:00:18 1997  Angela Marie Thomas (angela@cygnus.com)
7155
7156	* Makefile.in (FLAGS_TO_PASS): pass INSTALL, INSTALL_PROGRAM and
7157	INSTALL_DATA for multilibbed installs
7158
7159Tue Jun  3 13:21:05 1997  Doug Evans  <dje@canuck.cygnus.com>
7160
7161	Tue Dec 10 09:44:57 1996  Paul Eggert  <eggert@twinsun.com>
7162
7163	* choose-temp.c (choose_temp_base): Don't dump core if TMPDIR is empty.
7164
7165	* choose-temp.c (try): Insist that temp dir be searchable.
7166
7167	Wed Oct 23 17:36:39 1996  Doug Rupp  (rupp@gnat.com)
7168
7169	* choose-temp.c (choose_temp_base): On VMS, use proper syntax
7170	for current directory.
7171
7172	Sat Feb 15 19:03:48 1997  Geoffrey Noer  (noer@cygnus.com)
7173
7174	* pexecute.c: Remove special cases for cygwin32.
7175	(pwait): Remove local definition of `pid'.
7176
7177	Tue Nov 12 18:26:15 1996  Doug Rupp  (rupp@gnat.com)
7178
7179	* pexecute.c (vfork): Supply new definition for VMS.
7180	(pwait): Use waitpid instead of wait for VMS.
7181
7182Tue May 20 14:02:20 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
7183
7184	* cplus-dem.c (do_type): Handle `J'.
7185	(demangle_fund_type): Print "complex" for it.
7186
7187Wed Apr 30 12:15:45 1997  Jason Merrill  <jason@yorick.cygnus.com>
7188
7189	* configure.in: Don't turn on multilib here.
7190
7191Mon Apr 28 19:04:31 1997  Michael Snyder  <msnyder@cleaver.cygnus.com>
7192
7193	* obstack.c: move _obstack_memory_used outside of ifdef.  Cannot be
7194	elided; needed by gdb and not present in libc.
7195
7196Thu Apr 24 19:33:47 1997  Ian Lance Taylor  <ian@cygnus.com>
7197
7198	* Makefile.in (clean): Remove tmpmulti.out.
7199
7200Tue Apr 22 10:25:15 1997  Fred Fish  <fnf@cygnus.com>
7201
7202	* floatformat.c (floatformat_ieee_double_littlebyte_bigword):
7203	Add new floatformat, mainly for ARM doubles.
7204
7205Mon Apr 14 12:11:16 1997  Ian Lance Taylor  <ian@cygnus.com>
7206
7207	* config.table: Use ${config_shell} with ${moveifchange}.  From
7208	Thomas Graichen <graichen@rzpd.de>.
7209
7210Fri Apr  4 03:09:24 1997  Ulrich Drepper  <drepper@cygnus.com>
7211
7212	* configure.in: Enable multilibing by default.
7213	Update multilib template to read config-ml.in.
7214
7215Tue Apr  1 16:26:39 1997  Klaus Kaempf  <kkaempf@progis.de>
7216
7217	* makefile.vms: Add objalloc.
7218
7219Mon Mar 31 23:57:51 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
7220
7221	* cplus-dem.c (demangle_it): Add prototype declaration.
7222	(usage, fatal): Likewise.
7223
7224	* xexit.c (_xexit_cleanup): Add prototype.
7225
7226	* strerror.c (init_error_tables): Declare.
7227
7228Fri Mar 28 11:43:20 1997  H.J. Lu  <hjl@lucon.org>
7229
7230	* functions.def: Add DEF of vasprintf, and DEFFUNC of strsignal.
7231	* strsignal.c: Only define strsignal if NEED_strsignal.
7232	* Makefile.in (REQUIRED_OFILES): Remove vasprintf.o.
7233	* configure.in: Add NEED_strsignal to xconfig.h.  Add vasprintf.o
7234	to xneeded-list.
7235	* config/mh-cygwin32 (HDEFINES): Add -DNEED_strsignal.
7236	(EXTRA_OFILES): Define to vasprintf.o.
7237	* config/mh-windows (HDEFINES): Add -DNEED_strsignal.
7238	(EXTRA_OFILES): Add vasprintf.o.
7239	* config/mt-vxworks5 (vxconfig.h): Define NEED_strsignal.
7240	(vxneeded-list): Add vasprintf.o.
7241
7242Thu Mar 20 17:02:09 1997  Ian Lance Taylor  <ian@cygnus.com>
7243
7244	* objalloc.c: Include <stdio.h>.
7245
7246Mon Mar 17 19:23:11 1997  Ian Lance Taylor  <ian@cygnus.com>
7247
7248	* objalloc.c: New file.
7249	* Makefile.in (CFILES): Add objalloc.c
7250	(REQUIRED_OFILES): Add objalloc.o.
7251	(objalloc.o): New target.
7252
7253Sat Mar 15 18:49:41 1997  Ian Lance Taylor  <ian@cygnus.com>
7254
7255	* obstack.c: Update to current FSF version.
7256
7257Fri Mar 14 14:18:47 1997  Ian Lance Taylor  <ian@cygnus.com>
7258
7259	* cplus-dem.c: Add prototypes for all static functions.
7260	(mystrstr): Make static.  Make arguments and result const.
7261	(cplus_match): Remove; not used.
7262
7263Tue Mar 11 14:20:31 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
7264
7265	* cplus-dem.c (gnu_special): Call demangled_fund_type for other
7266	__t* symbols.
7267
7268Tue Mar 11 15:41:21 1997  H.J. Lu  <hjl@lucon.org>
7269
7270	* spaces.c: Declare malloc and free properly.
7271	* strsignal.c (init_signal_tables): Add prototype.
7272	* xatexit.c (_xexit_cleanup): Add parameter declarations.
7273
7274Wed Feb 19 15:43:24 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
7275
7276	* Makefile.in (lneeded-list): If alloca.o is needed, xexit.o is
7277	also required because of xmalloc.o.
7278
7279Fri Feb 14 13:43:38 1997  Ian Lance Taylor  <ian@cygnus.com>
7280
7281	* strsignal.c: Unconditionally redefine sys_siglist around the
7282	inclusion of the system header files.
7283
7284Thu Feb 13 22:01:04 1997  Klaus Kaempf  <kkaempf@progis.de>
7285
7286	* makefile.vms: Remove 8 bit characters.  Update to latest
7287	gcc release.
7288
7289Tue Feb  4 11:52:19 1997  Ian Lance Taylor  <ian@cygnus.com>
7290
7291	* strsignal.c: Use NEED_sys_siglist instead of
7292	LOSING_SYS_SIGLIST.
7293	* config.table: Don't use mh-lynxos.
7294	* config/mh-lynxos: Remove.
7295
7296Thu Jan 16 14:51:03 1997  Bob Manson  <manson@charmed.cygnus.com>
7297
7298	* cplus-dem.c: Fix indenting; make identical to the copy
7299	in GCC.
7300	(do_type, case 'M'): Check for a template as well as a class.
7301
7302Thu Dec 19 13:51:33 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>
7303
7304	* config/mt-vxworks5 (vxneeded-list): Remove sigsetmask.o, since
7305	vxworks 5.[0-3] all have sigsetmask in them; the one provided by
7306	libiberty is incorrect, as well.
7307
7308Mon Dec  2 15:03:42 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
7309
7310	* alloca.c (alloca): When compiled with an ANSI/ISO compiler,
7311	alloca takes a size_t argument, not just unsigned.
7312
7313Mon Nov 18 15:42:08 1996  Jason Merrill  <jason@yorick.cygnus.com>
7314
7315	* cplus-dem.c: Note that this file also lives in GCC.
7316
7317Mon Nov 18 15:19:00 1996  Dawn Perchik  <dawn@critters.cygnus.com>
7318
7319	* alloca.c: Remove include of libiberty.h for hpux.
7320	* argv.c:  Replace defs from libiberty.h.
7321	* spaces.c: Put back externs from removed from libiberty.h.
7322	* vasprintf.c: Remove include of libiberty.h for hpux.
7323
7324Mon Nov 18 14:08:00 1996  Dawn Perchik  <dawn@critters.cygnus.com>
7325
7326	* cplus-dem.c: Checking in again; last checkin filed due to sticky tag.
7327
7328Wed Nov 13 08:22:00 1996  Dawn Perchik  <dawn@critters.cygnus.com>
7329
7330	* cplus-dem.c: Revert last two commits due to conflicts with
7331	hpux system headers.
7332
7333Wed Nov 13 08:22:00 1996  Dawn Perchik  <dawn@critters.cygnus.com>
7334
7335	* alloca.c, argv.c, spaces.c, strcasecmp.c, vasprintf.c, vprintf.c:
7336	Revert last commit due to conflicts with hpux system headers.
7337
7338Wed Nov 13 10:36:50 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
7339
7340	* cplus-dem.c (x{m,re}alloc): Make declarations compatibile with
7341	libiberty.h when compiled with a standard compiler.
7342
7343Tue Nov 12 16:31:00 1996  Dawn Perchik  <dawn@critters.cygnus.com>
7344
7345	* alloca.c: Include libiberty.h for definition of xmalloc.
7346	Don't redefine NULL.
7347	* argv.c: Move prototypes to libiberty.h.
7348	* cplus-dem.c: Include libiberty.h for definition of xmalloc.
7349	Don't redefine NULL.
7350	Use casts to eliminate compiler warnings.
7351	* spaces.c: Remove prototypes for malloc and free which are
7352	already in libibrty.h.
7353	* strcasecmp.c: Use casts to eliminate compiler warnings.
7354	* vasprintf.c: Include libiberty.h for definition of malloc.
7355	Don't redefine NULL.
7356	* vprintf.c: Include stdarg.h if __STDC__.
7357
7358Fri Oct 11 15:42:12 1996  Stu Grossman  (grossman@critters.cygnus.com)
7359
7360	* config/mh-windows:  Add strcasecmp.o to EXTRA_OFILES.
7361
7362Fri Oct 11 11:16:31 1996  Stan Shebs  <shebs@andros.cygnus.com>
7363
7364	* mpw.c (mpwify_filename): Rewrite to simplify, and to handle
7365	upward components correctly.
7366
7367Tue Oct  8 08:55:34 1996  Stu Grossman  (grossman@critters.cygnus.com)
7368
7369	* config.table, config/mh-windows:  Add support for building under
7370	MSVC (the Microsoft build environment).
7371
7372Mon Oct  7 10:50:27 1996  Ian Lance Taylor  <ian@cygnus.com>
7373
7374	* fnmatch.c: Undef const if not __STDC__.
7375
7376Thu Oct  3 13:46:39 1996  Ian Lance Taylor  <ian@cygnus.com>
7377
7378	* fnmatch.c: New file.
7379	* Makefile.in (CFILES): Add fnmatch.c.
7380	(REQUIRED_OFILES): Add fnmatch.o.
7381	(fnmatch.o): New target.
7382
7383Wed Sep 18 14:49:13 1996  Jason Merrill  <jason@yorick.cygnus.com>
7384
7385	* cplus-dem.c (demangle_template): Fix handling of address args.
7386	(gnu_special): Handle type_info stuff.
7387
7388Fri Sep 13 17:52:55 1996  Stan Shebs  <shebs@andros.cygnus.com>
7389
7390	* mpw.c (DebugPI): Make settable from the env var DEBUG_PATHNAMES.
7391	(mpwify_filename): Handle "::/" case.
7392
7393Thu Sep 12 13:30:40 1996  Geoffrey Noer  <noer@cygnus.com>
7394
7395	* config/mh-cygwin32: new file (need -DNEED_basename and
7396		-DNEED_sys_siglist for native NT rebuilding)
7397	* config.table (*-*-cygwin32): new entry
7398	* choose-temp.c: bring in sync with gcc (revert Aug 17 change)
7399
7400Thu Aug 29 16:48:45 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
7401
7402	* config.table (i[345]86-*-*): Recognize i686 for pentium pro.
7403
7404Tue Aug 27 13:47:58 1996  Stan Shebs  <shebs@andros.cygnus.com>
7405
7406	* pexecute.c (pexecute) [MPW]: Remove old bogus code that
7407	messed with arguments that included a '/', add escape chars
7408	to double quotes, remove const decl from arg that Mac
7409	compilers don't seem to like.
7410
7411Sat Aug 17 04:44:27 1996  Geoffrey Noer  <noer@cygnus.com>
7412
7413	* pexecute.c: Update test for win32 (&& ! cygwin32).
7414	* choose-temp.c: fix WIN32 preprocessor defines
7415
7416Thu Aug 15 12:26:48 1996  Stan Shebs  <shebs@andros.cygnus.com>
7417
7418	* mpw-make.sed: Add @DASH_C_FLAG@ and @SEGMENT_FLAG({Default})@
7419	to editing of default makefile rule.
7420
7421Sun Aug 11 21:03:27 1996  Stu Grossman  (grossman@critters.cygnus.com)
7422
7423	* alloca-norm.h:  Include <malloc.h> if _WIN32.
7424	* argv.c:  Include non-prototyped decls for malloc and string
7425	functions if ! _WIN32 or if __GNUC__.
7426
7427Thu Aug  8 12:42:40 1996  Klaus Kaempf  <kkaempf@progis.de>
7428
7429	* config.h-vms: New file.
7430	* makefile.vms: Use it.
7431
7432Wed Aug  7 17:16:12 1996  Stu Grossman  (grossman@critters.cygnus.com)
7433
7434	* getopt.c (_getopt_internal):  If argc is 0, just return (before
7435	we reference *argv and segfault).
7436
7437Mon Aug  5 01:29:08 1996  Jason Merrill  <jason@yorick.cygnus.com>
7438
7439	* Makefile.in (distclean): Add multilib.out.
7440
7441Thu Jul 18 17:40:55 1996  Ian Lance Taylor  <ian@cygnus.com>
7442
7443	* alloca-norm.h: Change #ifdef sparc to #if defined (sparc) &&
7444	defined (sun).  From Andrew Gierth <ANDREWG@microlise.co.uk>.
7445
7446Mon Jul  1 13:40:44 1996  Ken Raeburn  <raeburn@cygnus.com>
7447
7448	Tue May 28 15:29:03 1996  Pat Rankin  <rankin@eql.caltech.edu>
7449
7450	* vmsbuild.com (REQUIRD_OFILES): Add choose-temp.o and xstrdup.o.
7451
7452	Thu Jan 25 18:20:04 1996  Pat Rankin  <rankin@eql.caltech.edu>
7453
7454	* vmsbuild.com: Changes to handle DEFFUNC(on_exit).
7455	(do_ofiles): Allow nonexistent source file in pass 3.
7456	(chk_deffunc): New routine.
7457
7458Tue Jun 25 19:24:43 1996  Doug Evans  <dje@canuck.cygnus.com>
7459
7460	* pexecute.c (PEXECUTE_VERBOSE): Define.
7461	(MPW pexecute): Check flags & PEXECUTE_VERBOSE instead of verbose_flag.
7462
7463Tue Jun 25 23:11:48 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
7464
7465	* Makefile.in (docdir): Removed.
7466
7467Tue Jun 25 23:01:07 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
7468
7469	* Makefile.in (oldincludedir): Removed.
7470
7471Tue Jun 25 22:50:07 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
7472
7473	* Makefile.in (datadir): Set to $(prefix)/share.
7474
7475Thu Jun 20 21:17:52 1996  Ian Lance Taylor  <ian@cygnus.com>
7476
7477	* cplus-dem.c (demangle_arm_pt): Reindent.  Avoid endless loop by
7478	checking for errors from do_type.
7479
7480Tue Jun 18 14:36:19 1996  Klaus Kaempf  <kkaempf@progis.de>
7481
7482	* makefile.vms: New file.
7483	* xmalloc.c: If VMS, include <stdlib.h> and <unixlib.h> rather
7484	than declaring malloc, realloc, and sbrk.
7485
7486Mon Jun 10 13:17:17 1996  Doug Evans  <dje@canuck.cygnus.com>
7487
7488	* pexecute.c: New file.
7489
7490Wed Jun  5 16:57:45 1996  Richard Henderson  <rth@tamu.edu>
7491
7492	* xmalloc.c: Declare sbrk.
7493
7494Sat May  4 05:08:45 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
7495
7496	* alloca-norm.h:  Add SPARCworks cc compatible __builtin_alloca
7497	declaration.
7498
7499Mon Apr 22 18:41:49 1996  Ian Lance Taylor  <ian@cygnus.com>
7500
7501	* xstrerror.c: Include <stdio.h>.
7502
7503Sun Apr 21 11:55:12 1996  Doug Evans  <dje@canuck.cygnus.com>
7504
7505	* Makefile.in (CFILES): Add atexit.c.
7506
7507Sun Apr 21 09:50:09 1996  Stephen L Moshier  (moshier@world.std.com)
7508
7509	* choose-temp.c: Include sys/types.h before sys/file.h for sco3.2v5.
7510
7511Wed Apr 17 11:17:55 1996  Doug Evans  <dje@canuck.cygnus.com>
7512
7513	* choose-temp.c: Don't #include sys/file.h ifdef NO_SYS_FILE_H.
7514	#include <stdio.h>
7515	* config/mt-vxworks5 (HDEFINES): Define NO_SYS_FILE_H.
7516
7517Tue Apr 16 11:27:16 1996  Jeffrey A Law  (law@cygnus.com)
7518
7519	* Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o.
7520	Reverts Feb 8, 1995 change.
7521
7522Mon Apr 15 12:53:26 1996  Doug Evans  <dje@canuck.cygnus.com>
7523
7524	* choose-temp.c: New file.
7525	* Makefile.in (CFILES): Add choose-temp.c.
7526	(REQUIRED_OFILES): Add choose-temp.o.
7527
7528Sat Apr 13 14:19:30 1996  Stu Grossman  (grossman@critters.cygnus.com)
7529
7530	* floatformat.c (floatformat_to_double):  Don't bias exponent when
7531	handling zero's, denorms or NaNs.
7532
7533Thu Apr 11 13:36:56 1996  Stu Grossman  (grossman@critters.cygnus.com)
7534
7535	* floatformat.c (floatformat_to_double):  Fix bugs with handling
7536	numbers with fractions < 32 bits.
7537
7538Mon Apr  8 14:48:34 1996  Ian Lance Taylor  <ian@cygnus.com>
7539
7540	* config.table: Permit --enable-shared to specify a list of
7541	directories.
7542
7543Tue Mar 19 22:02:07 1996  Jason Merrill  <jason@yorick.cygnus.com>
7544
7545	* cplus-dem.c (demangle_template): Fix for non-mangled pointer
7546	arguments.
7547
7548Fri Mar  8 17:24:18 1996  Ian Lance Taylor  <ian@cygnus.com>
7549
7550	* configure.in: If srcdir is `.' and with_target_subdir is not
7551	`.', then set MULTISRCTOP before calling config-ml.in.
7552
7553Thu Mar  7 13:37:10 1996  Stan Shebs  <shebs@andros.cygnus.com>
7554
7555	* mpw.c (mpw_open): Add debugging output option.
7556
7557Wed Mar  6 17:36:03 1996  Jason Merrill  <jason@yorick.cygnus.com>
7558
7559	* cplus-dem.c (demangle_template): Fix for address-of-extern arguments.
7560
7561Tue Feb 27 12:00:50 1996  Raymond Jou  <rjou@mexican.cygnus.com>
7562
7563	* mpw.c (mpwify_filename): Change 6 to 5 in
7564	strncmp (unixname, "/tmp/", 5).
7565
7566Tue Feb 20 10:55:53 1996  Ian Lance Taylor  <ian@cygnus.com>
7567
7568	* cplus-dem.c (demangle_template): Initialize is_bool.  Correctly
7569	handle 0 as a pointer value parameter.
7570
7571Mon Feb  5 16:41:44 1996  Ian Lance Taylor  <ian@cygnus.com>
7572
7573	* Makefile.in (all): Depend upon required-list.
7574	(required-list): New target.
7575	(clean): Remove required-list.
7576
7577Wed Jan 31 10:19:41 1996  Steve Chamberlain  <sac@slash.cygnus.com>
7578
7579	* win32.c: Deleted.
7580	* config.table (i386-*-win32): Deleted.
7581	* config/mh-i386win32: Deleted.
7582
7583Thu Jan 18 11:34:17 1996  Ian Lance Taylor  <ian@cygnus.com>
7584
7585	* cplus-dem.c (cplus_demangle_opname): Change opname parameter to
7586	const char *.
7587	(cplus_mangle_opname): Change return type and opname parameter to
7588	const char *.  Don't cast return value.
7589
7590Tue Jan 16 12:13:11 1996  Stan Shebs  <shebs@andros.cygnus.com>
7591
7592	* mpw.c: Include Timer.h, in order to get m68k Microseconds trap
7593	definition.
7594
7595Wed Jan  3 13:15:04 1996  Fred Fish  <fnf@cygnus.com>
7596
7597	* obstack.c: Update copyright to 1996.
7598	(_obstack_memory_used): Define new function.  Called via
7599	obstack_memory_used macro.
7600
7601Thu Dec 28 11:39:40 1995  Ian Lance Taylor  <ian@cygnus.com>
7602
7603	* xstrdup.c: New file.
7604	* Makefile.in (CFILES): Add xstrdup.c.
7605	(REQUIRED_OFILES): Add xstrdup.o.
7606	(xstrdup.o): New target.
7607
7608Mon Dec 11 18:18:52 1995  Mike Stump  <mrs@cygnus.com>
7609
7610	* atexit.c: New stub to provide atexit on systems that have
7611	on_exit, like SunOS 4.1.x systems.
7612	* functions.def (on_exit, atexit): Ditto.
7613
7614Mon Dec 11 15:42:14 1995  Stan Shebs  <shebs@andros.cygnus.com>
7615
7616	* mpw.c (mpw_abort): Remove decl.
7617	(mpw_access): Move debugging printf.
7618
7619Sat Dec  2 01:25:23 1995  Ian Lance Taylor  <ian@cygnus.com>
7620
7621	* config.table: Consistently use ${host} rather than ${xhost} or
7622	${target}.
7623	* configure.in: Don't bother to set ${xhost} before calling
7624	config.table.
7625
7626Tue Nov 28 14:16:57 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
7627
7628	* Makefile.in (.c.o): Use test instead of the left bracket, to
7629	avoid problems with some versions of make.
7630
7631Tue Nov 28 11:45:17 1995  Stan Shebs  <shebs@andros.cygnus.com>
7632
7633	* mpw-make.sed: Fix INCDIR edit to work with Nov 14 change.
7634
7635Tue Nov 21 11:26:34 1995  Fred Fish  <fnf@rtl.cygnus.com>
7636
7637	* config/mh-hpux: Remove.  It was only used to define EXTRA_OFILES,
7638	which was set to just alloca.o, which is now automatically marked
7639	as needed by the autoconfiguration process.
7640
7641Tue Nov 21 14:15:06 1995  Ian Lance Taylor  <ian@cygnus.com>
7642
7643	* config.table: Check ${with_cross_host} rather than comparing
7644	${host} and ${target}.
7645
7646Thu Nov 16 14:34:42 1995  Ian Lance Taylor  <ian@cygnus.com>
7647
7648	* configure.in: If with_target_subdir is empty, set xhost to
7649	${host} rather than ${target} before calling config.table.
7650
7651Tue Nov 14 01:38:30 1995  Doug Evans  <dje@canuck.cygnus.com>
7652
7653	* Makefile.in (MULTITOP): Deleted.
7654	(MULTISRCTOP, MULTIBUILDTOP): New.
7655	(FLAGS_TO_PASS): Delete INCDIR.
7656	(INCDIR): Add $(MULTISRCTOP).
7657	(install_to_libdir): Add $(MULTISUBDIR).  Call $(MULTIDO).
7658	* configure.in: Delete call to cfg-ml-com.in.  Call config-ml.in
7659	instead of cfg-ml-pos.in.
7660	(cross-compile check): Change to test for with_target_subdir.
7661	(EXTRA_LINKS): Delete.
7662
7663Sun Nov 12 12:13:04 1995  Stan Shebs  <shebs@andros.cygnus.com>
7664
7665	* mpw-make.sed: Add getpagesize.c.o to needed-list.
7666	* mpw.c [USE_MW_HEADERS]: Conditionalize compiling of
7667	functions that are supplied by Metrowerks libraries.
7668	(fstat): Clean up descriptor->pointer conversion code.
7669	(InstallConsole, etc): Empty definitions, for when linking
7670	with SIOUX.
7671
7672Sun Nov  5 19:25:27 1995  Per Bothner  <bothner@kalessin.cygnus.com>
7673
7674	* Makefile.in (FLAGS_TO_PASS):  Also pass PICFLAGS.
7675	(.c.o):  Stylistic change.
7676
7677Thu Nov  2 12:06:29 1995  Ian Lance Taylor  <ian@cygnus.com>
7678
7679	* strtol.c, strtoul.c: Don't include <stdlib.h>.  From
7680	phdm@info.ucl.ac.be (Philippe De Muyter).
7681
7682Wed Nov  1 11:59:36 1995  Ian Lance Taylor  <ian@cygnus.com>
7683
7684	* configure.in: Correct sed call.
7685
7686Mon Oct 30 13:03:45 1995  Per Bothner  <bothner@kalessin.cygnus.com>
7687
7688	* configure.in:  Clean up / simplify for native.
7689
7690	* configure.in:  Merge in stuff from ../xiberty/configure.in.
7691	* Makefile.in (CC):  Add definition (so it can be overrridden
7692	by ../configure).
7693
7694Tue Oct 24 17:57:27 1995  Stan Shebs  <shebs@andros.cygnus.com>
7695
7696	* mpw-make.sed: Leave strerror.c.o in standard list of functions.
7697	* mpw.c (R_OK, ENOENT, EACCESS, ENOSYS): Remove.
7698	(link): Remove useless definition with error return.
7699	(last_microseconds, warn_if_spin_delay, record_for_spin_delay):
7700	Use UnsignedWide type for microsecond counts.
7701
7702Thu Oct 19 10:52:07 1995  Michael Meissner  <meissner@wogglebug.tiac.net>
7703
7704	* memcmp.c (memcmp): Argument types are const void *, not void
7705	*const.
7706
7707	* strncasecmp.c (strncasecmp): Include ansidecl.h/stdarg.h, not
7708	sys/types.h.
7709	* strcasecmp.c (strcasecmp): Ditto.
7710
7711Tue Oct 10 11:03:24 1995  Fred Fish  <fnf@cygnus.com>
7712
7713	* Makefile.in (BISON):  Remove macro.
7714
7715Tue Sep 26 15:06:46 1995  Stan Shebs  <shebs@andros.cygnus.com>
7716
7717	* Makefile.in (HFILES): Add default empty definition.
7718	* mpw-config.in (config.h): Only update if changed.
7719	* mpw-make.in: Remove.
7720	* mpw-make.sed: New file, edits Makefile.in into MPW makefile.
7721	* mpw.c: Remove semi-clone of strerror code.
7722	(sys_nerr, sys_errlist): Define here.
7723	(Microseconds): Only define as A-line trap if m68k Mac.
7724
7725Wed Sep 20 12:53:32 1995  Ian Lance Taylor  <ian@cygnus.com>
7726
7727	* Makefile.in (maintainer-clean): New synonym for distclean.
7728
7729Mon Aug 28 19:47:52 1995  Per Bothner  <bothner@kalessin.cygnus.com>
7730
7731	* config.table:  For host, generalize rs6000-ibm-aix*
7732	to *-ibm-aix* so we also include powerpc.
7733
7734Tue Aug 22 03:18:05 1995  Ken Raeburn  <raeburn@kr-laptop.cygnus.com>
7735
7736	Fri Jun 16 18:35:40 1995  Pat Rankin  (rankin@eql.caltech.edu)
7737
7738	* xstrerror.c: New file.
7739	* Makefile.in, vmsbuild.com: Compile it.
7740
7741Mon Jul 31 12:16:32 1995  steve chamberlain  <sac@slash.cygnus.com>
7742
7743	* config.table (i386-*-win32): New.
7744
7745Fri Jul 21 11:35:52 1995  Doug Evans  <dje@canuck.cygnus.com>
7746
7747	* Makefile.in (MULTITOP): New variable.
7748	(MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): Likewise.
7749	(all): Add multilib support.
7750	(install_to_tooldir, *clean): Likewise.
7751
7752Mon Jul 10 11:47:27 1995  Ken Raeburn  <raeburn@cygnus.com>
7753
7754	* makefile.dos (OBJS): Add hex.o.  From DJ Delorie.
7755
7756Fri Jun 30 17:28:59 1995  Pat Rankin  (rankin@eql.caltech.edu)
7757
7758	* vmsbuild.com:  create "new-lib.olb", build libiberty under that
7759	name, and then make it become "liberty.olb" when done, so that an
7760	incomplete build attempt never leaves behind something which looks
7761	like a complete library.
7762
7763Thu Jun 29 00:22:02 1995  Steve Chamberlain  <sac@slash.cygnus.com>
7764
7765	* config/mh-i386pe: New file for PE hosts.
7766	* config.table: Understand PE hosts.
7767
7768Wed Jun 28 19:13:23 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
7769
7770	* cplus-dem.c: Update from gcc.
7771
7772	* argv.c, dummy.c: If __STDC__, #include "alloca-conf.h" after
7773	<stddef.h>.
7774	* alloca-norm.h: If __STDC__, declare alloca with its parameter.
7775
7776Thu Jun 22 18:57:47 1995  Stan Shebs  <shebs@andros.cygnus.com>
7777
7778	* mpw-make.in (ALL_CFLAGS): Define NEED_basename.
7779	* mpw.c: Only test DebugPI once whenever printing debug info.
7780	(mpwify_filename): If filename is /tmp/foo, change it into :_foo,
7781	also fix to not write on input filename buffer.
7782	(mpw_access): Use stat() instead of open(), works for directories
7783	as well as files.
7784
7785Mon Jun 19 00:33:22 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
7786
7787	* Makefile.in: Massage broken shells that require 'else true'.
7788
7789Sat Jun 17 23:21:58 1995  Fred Fish  <fnf@cygnus.com>
7790
7791	* alloca-norm.h: Declare alloca as type "PTR" to match functions.def.
7792	Declare __builtin_alloca in the sparc case, as argv.c did.
7793	* argv.c: Replace inline version of alloca-norm.h at start of file with
7794	a #include of alloca-conf.h.  Precede it with an include of ansidecl.h
7795	because alloca-norm.h needs to declare alloca as "PTR".
7796
7797Mon Jun 12 14:24:26 1995  Steve Chamberlain  <sac@slash.cygnus.com>
7798
7799	* win32.c: New file.
7800
7801Fri Jun  9 15:16:14 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
7802
7803	* dummy.c: #include "alloca-conf.h".
7804
7805Wed Jun  7 11:46:23 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
7806
7807	* Makefile.in (mostlyclean): Remove stamp-picdir.
7808	(clean): Don't.
7809
7810Mon Jun  5 18:46:06 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
7811
7812	* config.table (frags): Use toplevel pic frags.
7813
7814	* Makefile.in (PICFLAG): New macro.
7815	(all): Depend on stamp-picdir.
7816	(needed-list): Ditto.
7817	(.c.o): Also build pic object.
7818	(stamp-picdir): New rule.
7819	(mostlyclean): Remove pic.
7820	(clean): Remove stamp-picdir.
7821
7822Fri Mar 24 16:55:48 1995  Pat Rankin  (rankin@eql.caltech.edu)
7823
7824	* vmsbuild.com (config.h): Add `#define NEED_basename'.
7825
7826Tue May 23 10:12:46 1995  Per Bothner  <bothner@kalessin.cygnus.com>
7827
7828	* clock.c, getopt.c, strtod.c, vsprintf.c:  Change from using LGPL
7829	to libio-style copyright.
7830	* getpagesize.c:  Remove FSF copyright.
7831
7832Sat May 20 12:30:23 1995  Ken Raeburn  <raeburn@kr-laptop.cygnus.com>
7833
7834	Added improved VMS support from Pat Rankin:
7835
7836	Fri Mar 17 18:40:36 1995  Pat Rankin  (rankin@eql.caltech.edu)
7837
7838	* vmsbuild.com:  new file.
7839
7840	* getpagesize.c (getpagesize):  implement for VMS;
7841	* strerror.c (strerror, strerrno, strtoerrno):  add rudimentary
7842	support for EVMSERR.
7843
7844Thu May 18 17:01:42 1995  Ken Raeburn  <raeburn@kr-laptop.cygnus.com>
7845
7846	Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
7847
7848	* floatformat.c (floatformat_arm_ext): Define.
7849
7850Tue May 16 13:30:59 1995  Per Bothner  <bothner@kalessin.cygnus.com>
7851
7852	* basename.c, bcmp.c, getcwd.c, insque.c, rename.c, sigsetmask.c,
7853	strerror.c, strsignal.c:  Remove FSF copyright.
7854	* sigsetmask.c: #include <sys/types.h> - seems to be needed by ISC.
7855
7856Mon May 15 19:53:17 1995  Per Bothner  <bothner@kalessin.cygnus.com>
7857
7858	* bcopy.c, bzero.c, memcmp.c, memcpy.c, memset.c, strchr.c,
7859	strrchr.c, strstr.c, vfork.c:  Remove FSF Copyright, because this
7860	might contaminate libstdc++ with the LGPL.  (OK'd by RMS 11 Oct 94.)
7861	* strchr.c, strrchr.c:  Add cast to suppress const warning.
7862
7863Thu May  4 14:36:42 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
7864
7865	* cplus-dem.c: Use const instead of CONST.  Don't include
7866	ansidecl.h directly.
7867
7868Wed Apr 19 01:30:27 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
7869
7870	* cplus-dem.c: Don't include libiberty.h.  Do declare xmalloc and
7871	xrealloc.
7872	(-DMAIN): Don't rely on an externally-defined version number;
7873	instead, require the version number to be defined as a
7874	preprocessor macro.  Handle the RS/6000 leading dot.  Define
7875	xmalloc, xrealloc and fatal.  Don't strip a leading underscore
7876	if we couldn't demangle the word.
7877
7878Tue Apr  4 13:03:51 1995  Stan Shebs  <shebs@andros.cygnus.com>
7879
7880	(Old mpw.c change descriptions retained for informational value.)
7881	* mpw.c (warning_threshold): Default to .4 sec.
7882	(overflow_count, current_progress): New globals.
7883	(warn_if_spin_delay): Include current progress type,
7884	such as program name, in message.
7885	(mpw_start_progress): Set current_progress variable from arg.
7886	(mpw_end_progress): Report spin delays by power-of-two-size
7887	buckets instead of constant-size buckets.
7888
7889	* mpw.c: Clean up formatting, types, returns, etc.
7890	(ENOSYS): Define.
7891	(mpw_fread, mpw_fwrite): Define.
7892	(sleep): Define correctly.
7893
7894	* mpw.c: New code to implement cursor spinning support.
7895	(umask): New function.
7896	(mpw_fopen, mpw_fseek, stat, fstat): Call PROGRESS.
7897
7898	* mpw.c (mpw_basename, mpw_mixed_basename): New functions, find
7899	basenames for MPW and MPW/Unix filenames.
7900	(mpw_special_init): New function, calls Macsbug if desired.
7901
7902	* mpw.c: Add GPL notice.
7903	(mpwify_filename): Add more transformations.
7904	(mpw_fopen): Call mpwify_filename on file names.
7905	(rename): Remove.
7906	(chdir, getcwd): Add simple definitions.
7907
7908	* mpw.c: Random cleanups, remove unused code bits.
7909	Added copy of strerror.c for gcc's use.
7910	(stat, fstat, _stat): New versions based on Guido van Rossum code.
7911
7912	* mpw.c (mpw_fseek): Make it work correctly when doing SEEK_CUR.
7913
7914	* mpw.c (stat): Remove hack definition, get from sys/stat.h.
7915	(fork, vfork, etc): Print error messages if called.
7916	(getrusage, sbrk, environ, isatty, link, utime, mkdir, rmdir,
7917	rename, chown): Define.
7918
7919	* mpw-config.in: New file, MPW version of configure.in.
7920	* mpw-make.in: New file, MPW version of Makefile.in.
7921	* mpw.c: New file, MPW compatibility routines.
7922
7923Fri Mar 24 14:10:30 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
7924
7925	* basename.c: Include config.h before checking for NEED_basename.
7926
7927Thu Mar 23 19:09:54 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
7928
7929	* functions.def: Add DEFFUNC for basename.
7930
7931	* basename.c: Only define basename if NEED_basename.
7932
7933Thu Mar 16 13:36:05 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
7934
7935	* config.table: Fix --enable-shared logic for native builds.
7936
7937Mon Mar 13 11:05:11 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
7938
7939	* cplus-dem.c (demangle_template): Demangle bool literals properly.
7940
7941Mon Mar  6 23:57:28 1995  Stu Grossman  (grossman@cygnus.com)
7942
7943	* strtol.c strtoul.c:  Replace these with less buggy versions from
7944	NetBSD.  (strtoul in particular couldn't handle base 16.)
7945
7946Wed Mar  1 15:59:01 1995  Ian Lance Taylor  <ian@cygnus.com>
7947
7948	* config/mt-vxworks5 (HDEFINES): Define NO_SYS_PARAM_H.
7949
7950	* clock.c: If NO_SYS_PARAM_H is defined, don't include
7951	<sys/param.h>.
7952	* getcwd.c, getpagesize.c, getruntime.c: Likewise.
7953
7954Fri Feb 17 15:40:55 1995  Ian Lance Taylor  <ian@cygnus.com>
7955
7956	* getruntime.c (get_run_time): Don't assume that CLOCKS_PER_SEC is
7957	a number; ANSI appears to permit any expression, including a
7958	function call.
7959
7960	* config.table (*-*-vxworks5*): Use mt-vxworks5 when configuring
7961	xiberty.
7962	* config/mt-vxworks5: New file.
7963
7964Thu Feb  9 14:19:45 1995  Ian Lance Taylor  <ian@cygnus.com>
7965
7966	* basename.c (basename): Change argument to be const.
7967
7968Wed Feb  8 18:06:52 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
7969
7970	* Makefile.in (lneeded-list): Don't worry about xmalloc.
7971
7972Sun Jan 15 00:40:36 1995  Jeff Law  (law@snake.cs.utah.edu)
7973
7974	* Makefile.in (distclean): Delete xhost-mkfrag.
7975
7976Thu Jan 12 16:54:18 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
7977
7978	* Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o.
7979
7980Wed Jan 11 22:39:56 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
7981
7982	* hex.c: New file.
7983	* Makefile.in (REQUIRED_OFILES, CFILES): List it.
7984	(hex.o): Add dependencies.
7985
7986	* cplus-dem.c (demangle_prefix): For GNU style constructor and
7987	destructor names, try demangling the remainder of the string.
7988
7989Wed Dec 28 00:49:15 1994  Ian Lance Taylor  <ian@tweedledumb.cygnus.com>
7990
7991	* vasprintf.c (int_vasprintf): New static function.
7992	(vasprintf): Use int_vasprintf.  Removes assumption that va_list
7993	is assignment compatible.
7994
7995Sat Nov  5 19:29:12 1994  Jason Merrill  (jason@phydeaux.cygnus.com)
7996
7997	* Makefile.in (LIBCFLAGS): New variable.
7998	(FLAGS_TO_PASS): Pass it.
7999	(.c.o): Use it.
8000
8001Thu Nov  3 19:09:47 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
8002
8003	* getopt.c, getopt1.c: Do compile these functions under Linux,
8004	since many native versions are based on glibc but are buggy.
8005
8006Mon Oct 24 15:16:46 1994  Per Bothner  <bothner@kalessin.cygnus.com>
8007
8008	* vasprintf.c:  Make 'format' arg be const, to avoid a mismatch
8009	with prototype in GNU libc.  Support stdarg.h as well as varargs.h.
8010
8011Tue Oct 11 17:48:27 1994  Jason Merrill  (jason@phydeaux.cygnus.com)
8012
8013	* Makefile.in (REQUIRED_OFILES): Add vasprintf.o.
8014	* functions.def: Remove vasprintf.
8015
8016Wed Sep 14 17:04:55 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
8017
8018	* xmalloc.c (first_break): New static variable.
8019	(xmalloc_set_program_name): Record sbrk (0) in first_break.
8020	(xmalloc): If memory allocation fails, try to report how much
8021	memory was allocated by the program up to this point.
8022	(xrealloc): Likewise.
8023
8024Sun Sep 04 17:58:10 1994  Richard Earnshaw (rwe@pegasus.esprit.ec.org)
8025
8026	* Makefile.in (ERRORS_CC): New variable, defaulted to $(CC).  Use it
8027	when linking dummy.
8028	* config.table: Add host RISCiX Makefile frag.
8029	* config/mh-riscix: New file.
8030
8031Thu Aug 25 17:29:44 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
8032
8033	* Makefile.in (FLAGS_TO_PASS): Define.
8034	($(RULE1)): Use $(FLAGS_TO_PASS).
8035
8036Wed Aug 24 17:08:47 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
8037
8038	* vasprintf.c: Include <string.h>.
8039	(vasprintf): Add casts to void for va_arg to avoid gcc warnings.
8040	* xatexit.c: Declare malloc.
8041
8042Fri Aug 19 15:29:12 1994  Kung Hsu  (kung@mexican.cygnus.com)
8043
8044	* cplus-dem.c (demangle_args): Fix a bug in previous patch (the
8045	one below).
8046
8047Thu Aug 18 14:37:14 1994  Kung Hsu  (kung@mexican.cygnus.com)
8048
8049	* cplus-dem.c (demangle args): Handle ARM repeat encoding where
8050	the type index is greater than 9.
8051
8052Wed Aug 17 16:13:49 1994  Kung Hsu  (kung@mexican.cygnus.com)
8053
8054	* cplus-dem.c (demangle_qualified): accept optional '_' between
8055	qualified name. This is baecause the template name may end with
8056	numeric and can mixed up with the length of next qualified name.
8057
8058Wed Aug  3 05:52:14 1994  D. V. Henkel-Wallace  (gumby@cygnus.com)
8059
8060	* config/mt-sunos4: Use our standard location for cross-includes
8061	and cross-libs when the target is also a "host" environment (ie no
8062	newlib; includes and such don't belong to us).  This is specific
8063	to the Cygnus Support environment.
8064
8065Tue Aug  2 15:25:12 1994  Kung Hsu  (kung@mexican.cygnus.com)
8066
8067	* cplus-dem.c (demangle_template): demangle as xxx<'Q'> not
8068	xxx<ch=81>.
8069
8070Mon Aug  1 17:02:48 1994  Kung Hsu  (kung@mexican.cygnus.com)
8071
8072	* cplus-dem.c (main): flush stdout to make pipe work.
8073
8074Sat Jul 16 12:56:32 1994  Stan Shebs  (shebs@andros.cygnus.com)
8075
8076	* config.table (*-*-cxux7*):  Recognize.
8077	* floatformat.c (floatformat_m88110_ext) [HARRIS_FLOAT_FORMAT]:
8078	Harris-specific float format.
8079	* config/mh-cxux7: New file.
8080
8081Wed Jun 29 00:26:17 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
8082
8083	* cplus-dem.c (demangle_template):  Make sure that the result of
8084	consume_count doesn't index beyond the end of the string.
8085
8086Mon Jun 20 23:54:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
8087
8088	* cplus-dem.c (gnu_special):  Handle vtable mangling of gcc-2.4.5 and
8089	earlier. Improve test for new vtable mangling. Change output back
8090	to `virtual table'.
8091
8092Mon Jun 20 11:37:30 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
8093
8094	* obstack.c: Always compile this code, even if using the GNU
8095	library.  Avoids problems with relatively recent binary
8096	incompatibility.
8097
8098Thu Jun 16 17:54:01 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8099
8100	* cplus-dem.c: Include libiberty.h.
8101	(xmalloc, xrealloc, free): Don't declare.
8102	(strstr): Don't declare parameters.
8103	(xmalloc, xrealloc): Don't define.
8104	(long_options): Add no-strip-underscores.
8105	(main): Call xmalloc_set_program_name.  Pass n in short options to
8106	getopt_long.  Handle option 'n' to not strip underscores.
8107	(usage): Mention -n and --no-strip-underscores.
8108
8109Sun Jun 12 01:37:09 1994  Jason Merrill  (jason@deneb.cygnus.com)
8110
8111	* cplus-dem.c (demangle_template): Separate consecutive >'s with a
8112	space.
8113	(gnu_special): Demangle template and qualified names in a vtable name.
8114
8115Fri May 27 12:27:52 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
8116
8117	From gas-2.3 and binutils-2.4 net releases:
8118
8119	Wed May 11 22:32:00 1994  DJ Delorie (dj@ctron.com)
8120
8121	* makefile.dos: [new] Makefile for dos/go32
8122	* configure.bat: update for latest files
8123	* msdos.c: remove some functions now in libc.a
8124
8125Fri May 20 18:53:32 1994  Per Bothner  (bothner@kalessin.cygnus.com)
8126
8127	* cplus-dem.c (gnu_special):  Recognize thunks, as well as
8128	the new naming style for vtables (when -fvtable-thunks).
8129
8130Wed May 18 13:34:06 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8131
8132	* Makefile.in (XTRAFLAGS): Don't define.
8133	(.c.o, dummy.o): Don't use XTRAFLAGS.
8134	($(RULE1)): Don't pass XTRAFLAGS down in recursive call.
8135
8136Fri May 13 16:02:12 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
8137
8138	* vasprintf.c: New file.
8139	* Makefile.in, functions.def: Add it.
8140
8141Fri May 13 16:20:28 1994  Jason Merrill  (jason@deneb.cygnus.com)
8142
8143	* cplus-dem.c (demangle_fund_type): Grok bool.
8144
8145Fri May  6 14:44:21 1994  Steve Chamberlain  (sac@cygnus.com)
8146
8147	* config.table: Add go32
8148	* config/mh-go32: New template.
8149
8150Fri May  6 11:01:59 1994  D. V. Henkel-Wallace  (gumby@rtl.cygnus.com)
8151
8152	* config.table, config/mt-sunos4: config for when sun4 is cross target.
8153
8154Mon Apr 11 00:54:33 1994  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
8155
8156	* getopt.c [not __GNU_LIBRARY__] [__GCC__] [not __STDC__]:
8157	Declare strlen to return int.  Don't include stddef.h.
8158
8159Fri Apr  1 00:38:17 1994  Jim Wilson  (wilson@mole.gnu.ai.mit.edu)
8160
8161	* getopt.c: Delete use of IN_GCC to control whether
8162	stddef.h or gstddef.h is included.
8163
8164Thu Apr 14 14:00:56 1994  Kung Hsu  (kung@mexican.cygnus.com)
8165
8166	* cplus-dem.c (demangle_signature): Fix a bug in template function
8167	type numbering.
8168
8169Wed Apr 13 17:23:03 1994  Kung Hsu  (kung@mexican.cygnus.com)
8170
8171	* cplus-dem.c (demangle_signature): Fix template function with arm
8172	style argument type number, Tn.
8173
8174Wed Apr 13 17:11:15 1994  Jason Merrill  (jason@deneb.cygnus.com)
8175
8176	* cplus-dem.c (optable): Add new[] and delete[].
8177
8178Fri Apr  8 11:21:42 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
8179
8180	* argv.c (buildargv): Don't produce empty argument just because
8181	there is trailing whitespace.
8182
8183Wed Apr  6 11:42:14 1994  Kung Hsu  (kung@mexican.cygnus.com)
8184
8185	* cplus-dem.c (demangle_template): fix 'Q' qualified name bug.
8186	Handle 'p' same as 'P'.
8187	* cplus-dem.c (do_type): Handle 'p' same as 'P'.
8188
8189Sat Mar 26 12:00:13 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
8190
8191	* floatformat.c (get_field, put_field):  Fix off by one error in
8192	little endian case.
8193
8194Thu Mar 24 10:40:19 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
8195
8196	* floatformat.c (floatformat_from_double): Pass unsigned char *,
8197	not char *, to put_field.
8198
8199Fri Mar 18 12:34:33 1994  Per Bothner  (bothner@kalessin.cygnus.com)
8200
8201	* memmove.c:  Re-wrote;  placed in public domain.
8202
8203Wed Mar 16 10:33:07 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
8204
8205	* cplus-dem.c (demangle_prefix): If ARM demangling, don't treat
8206	__Q* as a constructor.
8207
8208Mon Mar 14 12:26:02 1994  Ian Lance Taylor  (ian@cygnus.com)
8209
8210	* ieee-float.c: Removed; no longer used.
8211	* Makefile.in: Changed accordingly.
8212
8213Mon Mar  7 12:28:17 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8214
8215	* floatformat.c (get_field): Removed unused local variable i.
8216	(put_field): Removed unused local variable i.
8217
8218Sun Feb 27 21:50:11 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
8219
8220	* floatformat.c: New file, intended to replace ieee-float.c.
8221	* Makefile.in: Change accordingly.
8222
8223Thu Feb 24 11:51:12 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
8224
8225	* getopt.c: Remove #ifdef GETOPT_COMPAT and #if 0 code.
8226	 (_getopt_initialize): New function, broken out of _getopt_internal.
8227	 (_getopt_internal):
8228	 If long_only and the ARGV-element has the form "-f", where f is
8229	 a valid short option, don't consider it an abbreviated form of
8230	 a long option that starts with f.  Otherwise there would be no
8231	 way to give the -f short option.
8232
8233Thu Feb 10 14:44:16 1994  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
8234
8235	* getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]:
8236	Test just __STDC__, not emacs.
8237
8238Wed Feb  9 00:14:00 1994  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
8239
8240	* getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]
8241	[emacs] [not __STDC__]: Don't include stddef.h.  Don't declare strlen.
8242
8243Fri Dec 24 19:43:00 1993  Noah Friedman  (friedman@nutrimat.gnu.ai.mit.edu)
8244
8245	* getopt.c (_NO_PROTO): Define before config.h is included.
8246
8247Mon Sep 20 15:59:03 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
8248
8249	* getopt.c, getopt1.c [emacs || CONFIG_BROKETS]: Include
8250	<config.h> only under these, else "config.h".
8251
8252Thu Aug 12 18:16:49 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
8253
8254	* getopt.c, getopt1.c [HAVE_CONFIG_H]: Include
8255	<config.h> instead of "config.h".
8256
8257Sun Feb 20 17:17:01 1994  Ian Lance Taylor  (ian@lisa.cygnus.com)
8258
8259	* concat.c: Check ANSI_PROTOTYPES rather than __STDC__ to decide
8260	whether to use prototypes or not.
8261	* strerror.c (const): Never undefine; let ansidecl.h handle it.
8262	* strsignal.c (const): Likewise.
8263
8264Thu Feb 17 13:27:35 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8265
8266	* xatexit.c (_xexit_cleanup): Declare as extern; don't initialize.
8267	Merging common and initialized variables need not be supported by
8268	ANSI C compilers.
8269	(xatexit): Initialize _xexit_cleanup if not already set.
8270	* xexit.c: Comment fix.
8271
8272Wed Feb 16 01:15:36 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8273
8274	* xmalloc.c: Don't declare xexit; it's declared in libiberty.h.
8275	(xrealloc): If oldmem is NULL, allocate with malloc, rather than
8276	assuming that realloc works correctly.
8277
8278Tue Feb 15 09:26:16 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
8279
8280	* concat.c, ieee-float.c:  Replace inclusion of <string.h>
8281	with explicit function declarations, as recommended by Ian Taylor.
8282
8283Sat Feb 12 10:31:11 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
8284
8285	* xmalloc.c (xmalloc, xrealloc): Use PTR and size_t throughout.
8286	(malloc, realloc): Declare.
8287
8288Thu Feb 10 17:08:19 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8289
8290	* argv.c, basename.c: Include ansidecl.h and libiberty.h.
8291	* concat.c, fdmatch.c, getruntime.c, spaces.c: Likewise.
8292	* strerror.c, strsignal.c, xatexit.c, xexit.c: Likewise.
8293	* xmalloc.c: Likewise.
8294	* concat.c: Don't declare xmalloc.  If __STDC__, use <stdarg.h>
8295	macros, not <varargs.h> macros.
8296	* spaces.c (spaces): Make return type const.  Don't crash if
8297	malloc returns NULL.
8298	* strerror.c (struct error_info): Make name and msg fields const.
8299	(error_names): Make const.
8300	(strerrno): Make const.
8301	(strtoerrno): Make argument const.
8302	* strsignal.c (struct signal_info): Make name and msg fields
8303	const.
8304	(signal_names, sys_siglist): Make const.
8305	(strsignal, strsigno): Make const.
8306	(strtosigno): Make argument const.
8307	* xatexit.c: Declare parameter types.
8308	* xmalloc.c (name): Make const.
8309	(xmalloc_set_program_name): Make argument const.
8310	* Makefile.in (INCDIR): Define.
8311	(.c.o): Use $(INCDIR).
8312	(dummy.o): Likewise.
8313	(argv.o, basename.o): New targets; depend on libiberty.h.
8314	(concat.o, fdmatch.o, getruntime.o, spaces.o): Likewise.
8315	(strerror.o, strsignal.o, xatexit.o, xexit.o): Likewise.
8316	(xmalloc.o): Likewise.
8317	(cplus-dem.o): New target; depend on demangle.h.
8318	(getopt.o, getopt1.o): New targets; depend on getopt.h.
8319	(ieee-float.o): New target; depend on ieee-float.h.
8320	(obstack.o): New target; depend on obstack.h.
8321
8322Tue Feb  8 05:29:08 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
8323
8324	Handle obstack_chunk_alloc returning NULL.  This allows
8325	obstacks to be used by libraries, without forcing them
8326	to call exit or longjmp.
8327	* obstack.c (_obstack_begin, _obstack_begin_1, _obstack_newchunk):
8328	If CALL_CHUNKFUN returns NULL, set alloc_failed, else clear it.
8329	(_obstack_begin, _obstack_begin_1): Return 1 if successful, 0 if not.
8330
8331Tue Feb  8 00:32:28 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
8332
8333	* concat.c, ieee-float.c:  Include <string.h>.
8334
8335Sun Feb  6 21:28:46 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
8336
8337	* xmalloc.c (xmalloc_set_program_name): New function.
8338	(xmalloc, xrealloc): Include the name in the error message, if set.
8339
8340	* Replace atexit.c with xatexit.c.
8341	* Makefile.in (CFILES), functions.def: Change references.
8342
8343Sat Feb  5 14:02:32 1994  Stan Shebs  (shebs@andros.cygnus.com)
8344
8345	* getruntime.c (get_run_time): Use getrusage or times if
8346	HAVE_GETRUSAGE or HAVE_TIMES are defined.
8347
8348Fri Feb  4 15:49:38 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
8349
8350	* atexit.c: New file.
8351	* Makefile.in (CFILES), functions.def: Add it.
8352	* xexit.c: New file.
8353	* Makefile.in (CFILES, REQUIRED_OFILES): Add it.
8354	* xmalloc.c (xmalloc, xrealloc): Call xexit instead of exit.
8355	Change request for 0 bytes into request for 1 byte.
8356
8357Wed Feb  2 11:36:49 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8358
8359	* xmalloc.c (xmalloc, xrealloc): Print size using %lu, and cast to
8360	unsigned long, to avoid warnings.
8361
8362Fri Jan 28 17:49:06 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
8363
8364	* dummy.c: Don't include time.h ever; always define clock_t as
8365	"unsigned long".  Until gcc/fixincludes ensures that clock_t
8366	exists, __STDC__ isn't a sufficient test.  And if clock() doesn't
8367	exist, clock_t probably doesn't either.
8368
8369Mon Jan 24 11:52:31 1994  Stan Shebs  (shebs@andros.cygnus.com)
8370
8371	* clock.c, getruntime.c: New files.
8372	* Makefile.in: Add to file lists.
8373	* functions.def (clock): Add to list.
8374	* dummy.c (time.h): Add if __STDC__.
8375	(clock_t): #define as "unsigned long" if not __STDC__.
8376
8377Tue Jan 11 11:27:44 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8378
8379	* strtod.c: Declare atof.  From edler@jan.ultra.nyu.edu (Jan
8380	Edler).
8381
8382Tue Dec 28 14:17:30 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8383
8384	* Makefile.in (errors): Use CFLAGS as well as LDFLAGS when
8385	linking.
8386
8387Fri Dec 17 12:26:07 1993  Kung Hsu  (kung@cirdan.cygnus.com)
8388
8389	* cplus-dem.c (demangle_arm_pt): New function.  Common code
8390	for ARM template demangling.
8391	* cplus-dem.c (demangle_class_name): Use demangle_arm_pt.
8392	* cplus-dem.c (demangle_prefix): Likewise.
8393
8394Tue Nov 30 15:47:48 1993  Jason Merrill  (jason@deneb.cygnus.com)
8395
8396	* cplus-dem.c (cplus_demangle_opname): Add CONST to please gcc.
8397
8398Sat Nov 27 11:05:50 1993  Fred Fish  (fnf@cygnus.com)
8399
8400	Merge changes from tom@basil.icce.rug.nl (Tom R.Hageman)
8401	* strerror.c, strsignal.c:  As a small space optimization, don't
8402	include messages when they aren't actually used.
8403
8404	Merge changes from takefive.co.at!joe (Josef Leherbauer)
8405	* cplus-dem.c (demangle_prefix, demangle_function_name,
8406	cplus_demangle_opname):  Fixes for systems where cplus_marker
8407	is something other than '$'.
8408
8409Fri Nov 26 13:51:11 1993  Per Bothner  (bothner@kalessin.cygnus.com)
8410
8411	* waitpid.c:  Simple-minded approcimation to waitpid
8412	using vanilla wait.
8413	* functions.def, Makefile.in:  Update accordingly,
8414
8415Thu Nov 18 18:01:15 1993  Kung Hsu  (kung@cirdan.cygnus.com)
8416
8417	* cplus-dem.c(demangle_template): fix bug template instantiation
8418	with value of user defined type.
8419
8420Wed Nov 17 18:30:21 1993  Kung Hsu  (kung@cirdan.cygnus.com)
8421
8422	* cplus-dem.c(cplus_demangle_opname): add the subject new function
8423	to support unified search of operator in class.
8424
8425Wed Nov 10 09:47:22 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
8426
8427	gcc -Wall lint:
8428	* strtoul.c (strtoul): use "(digit = *s) != '\0'" not just
8429	"digit = *s" as condition in while loop.
8430
8431Tue Nov  9 15:52:22 1993  Mark Eichin  (eichin@cygnus.com)
8432
8433	* Makefile.in: pass SHELL to recursive make
8434
8435Thu Nov  4 12:09:26 1993  Per Bothner  (bothner@kalessin.cygnus.com)
8436
8437	* vfprintf.c, vprintf.c, vsprintf.c:  Make format arg
8438	be (const char*), for ANSI (and gcc w/fixproto) consistency.
8439
8440Thu Nov  4 08:29:04 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
8441
8442	* config.table: Make *-*-hiux* use mh-hpux.
8443
8444Fri Oct 22 07:53:15 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
8445
8446	* config.table: Add * to end of all OS names.
8447
8448Tue Oct 19 17:12:01 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
8449
8450	* Makefile.in (lneeded-list): ensure that object file names are
8451	  not duplicated, as multiple instances of the same object file in
8452	  a library causes problems on some machines
8453
8454Mon Oct 18 21:59:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
8455
8456	* strcasecmp.c, strncasecmp.c: Change u_char to unsigned char.
8457
8458Fri Oct 15 22:17:11 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
8459
8460	* strncasecmp.c: new file, implements strncasecmp
8461	* strcasecmp.c: new file, implement strcasecmp
8462
8463	* Makefile.in (CFILES): list these two new source files
8464
8465	* functions.def: add strcasecmp and strncasecmp entries
8466
8467Fri Oct 15 14:53:05 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8468
8469	* strtoul.c (strtoul), strtol.c (strtol): Handle overflow
8470	according to ANSI C.
8471
8472Thu Oct 14 16:34:19 1993  Kung Hsu  (kung@cirdan.cygnus.com)
8473
8474	* cplus-dem.c: add support of ARM global constructor/destructor,
8475	and 'G' for passing record or union in parameter.
8476
8477Wed Oct 13 13:36:19 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
8478
8479	* Makefile.in: Fix comment to clarify that stuff in REQUIRED_OFILES
8480	should not be in functions.def.
8481
8482Wed Oct 13 13:13:38 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8483
8484	* functions.def: Removed xmalloc.  Stuff in REQUIRED_OFILES should
8485	not be in functions.def.
8486
8487Mon Oct  4 18:26:39 1993  Kung Hsu  (kung@cirdan.cygnus.com)
8488
8489	* cplus-dem.c: change globl constructor/destructor to proper name
8490
8491Tue Sep 28 18:11:07 1993  Kung Hsu  (kung@cirdan.cygnus.com)
8492
8493	* cplus-dem.c: fix bug in constructor/destructor
8494
8495Tue Sep 28 16:20:49 1993  Kung Hsu  (kung@cirdan.cygnus.com)
8496
8497	* cplus-dem.c: support both old and new _vt$... vtbl mangled names
8498
8499Fri Sep 24 19:07:16 1993  Jason Merrill  (jason@deneb.cygnus.com)
8500
8501	* cplus-dem.c: Fix demangle_template prototype
8502
8503Fri Sep 24 17:32:55 1993  Kung Hsu  (kung@cirdan.cygnus.com)
8504
8505	* cplus-dem.c: fix template demangling
8506	* cplus-dem.c: fix const type demangling
8507	* cplus-dem.c: fix constructor/destructor, virtual table,
8508	qualifier, global constructor/destructor demangling
8509
8510Wed Sep  1 23:13:11 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
8511
8512	* strsignal.c, strerror.c: Use fully-bracketed initializer to
8513	keep gcc -Wall happy.
8514
8515Fri Aug 27 10:30:09 1993  Jason Merrill  (jason@deneb.cygnus.com)
8516
8517	* cplus-dem.c (do_type): Add CONSTS to make gcc happy with last
8518	patch.
8519
8520Fri Aug 27 11:24:54 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
8521
8522	Patch from Paul Flinders:
8523	* cplus-dem.c (do_type): Deal with arrays.
8524
8525Tue Aug 24 14:23:50 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
8526
8527	* cplus-dem.c (demangle_qualified: Deal with GNU format for more
8528	than 9 classes.
8529
8530Wed Aug 18 19:50:29 1993  Jason Merrill  (jason@deneb.cygnus.com)
8531
8532	* Makefile.in (dummy.o): Redirect to /dev/null to avoid "variable
8533	not initialized" warnings under HP/UX
8534
8535Sun Aug 15 20:42:40 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
8536
8537	* strerror.c: Move include of stdio.h after sys_errlist #define.
8538	Also remove NULL definition (stdio.h always defines NULL, so it
8539	never did anything but clutter up the code).
8540
8541Sat Aug 14 14:21:49 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
8542
8543	* Makefile.in, functions.def: handle xmalloc.c
8544
8545	* xmalloc.c: provide xmalloc and xrealloc functions
8546
8547Thu Aug 12 17:38:57 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
8548
8549	* cplus-dem.c: Fix a comment.
8550
8551Sat Aug  7 13:56:35 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
8552
8553	* getopt1.c: Declare const the way getopt.c does.
8554
8555Fri Aug  6 17:03:13 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
8556
8557	* obstack.c, alloca.c: Update from FSF.
8558	* getopt.c, getopt1.c: Update to current FSF version, which
8559	doesn't use alloca.
8560
8561Tue Jul 27 14:03:57 1993  Brendan Kehoe  (brendan@lisa.cygnus.com)
8562
8563	* Makefile.in (demangle): Add the target with a message saying
8564	where demangle went.
8565
8566Mon Jul 26 15:49:54 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
8567
8568	* Makefile.in: Remove obsolete `demangle' target.
8569
8570Thu Jul 22 08:31:01 1993  Fred Fish  (fnf@deneb.cygnus.com)
8571
8572	* cplus-dem.c (arm_special):  Apply patch from arg@lucid.com to
8573	avoid infinite loop on vtbl symbols with disambiguating "junk"
8574	tacked on the end.
8575
8576Mon Jul 19 14:10:37 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
8577
8578	* strsignal.c: work around some systems losing definitions of
8579	sys_siglist
8580
8581	* config/mh-lynxos: this system has a losing definition of
8582	sys_siglist
8583
8584	* config.table: use mh-lynxos for *-*-lynxos
8585
8586Mon Jul 19 17:08:52 1993  Ken Raeburn  (raeburn@rtl.cygnus.com)
8587
8588	* config.table: Add support for HPPA BSD hosts.
8589
8590	* config/mh-hpbsd: New file.
8591
8592Mon Jul 12 18:00:40 1993  K. Richard Pixley  (rich@cygnus.com)
8593
8594	* Makefile.in (TAGS): make work when srcdir != objdir.
8595
8596Sun Jun 27 15:35:31 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
8597
8598	* cplus-dem.c (main): Add long options, including --help and
8599	--version.
8600	(usage): New function from code in main.
8601
8602Tue Jun 22 11:37:38 1993  Per Bothner  (bothner@deneb.cygnus.com)
8603
8604	* config.table:  New shell scipt, sourced by both ./configure,in
8605	and ../xiberty/configure.in, to avoid maintainance lossages.
8606	* configure.in and ../xiberty/configure.in:  Use config.table.
8607
8608	* configure.in: Don't use mh-aix for AIX 3.2, only for 3.1.
8609	* configure.in: Map *-*-irix* (except irix4) to mh-sysv.
8610	* ../xiberty/configure.in:  Update from ./configure.in.
8611
8612Tue Jun 15 17:05:31 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
8613
8614	* Makefile.in: remove parentdir support
8615
8616Wed May 26 12:59:09 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
8617
8618	* cplus-dem.c (xrealloc):  Match definition with prototype.
8619
8620Tue May 25 14:27:51 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
8621
8622	* cplus-dem.c (demangle_prefix):  Demangle cfront
8623	local variables as an extension to ARM demangling.
8624
8625Fri May 21 09:53:57 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
8626
8627	* ieee-float.c: Don't require pointers to double to be aligned.
8628
8629Tue May 18 17:12:10 1993  Fred Fish  (fnf@cygnus.com)
8630
8631	(merge changes from dlong@cse.ucsc.edu)
8632	* cplus-dem.c (consume_count):  Simplify.
8633	* cplus-dem.c (arm_pt, demangle_class_name):  New functions.
8634	* cplus-dem.c (various):  Calls to arm_pt, demangle_class_name.
8635
8636	* cplus-dem.c (xmalloc, xrealloc, strstr):  Make extern decls into
8637	full prototypes.
8638	* cplus-dem.c (free):  Add prototype.
8639	* cplus-dem.c (optable):  Fully bracketize initializer.
8640
8641Fri May 14 17:13:05 1993  Per Bothner  (bothner@cygnus.com)
8642
8643	* cplus-dem.c:  Whether initial underscores are stripped
8644	depends on the external variable prepends_underscore
8645	(which is generated by the binutils Makefile).
8646
8647Fri May 14 07:32:20 1993  Ken Raeburn  (raeburn@deneb.cygnus.com)
8648
8649	* cplus-dem.c (mop_up, arm_special): Remove some unused variables.
8650
8651Tue May  4 20:31:59 1993  Fred Fish  (fnf@cygnus.com)
8652
8653	* cplus-dem.c (consume_count):  Return zero if arg does not
8654	start with digit, and don't consume any input.
8655
8656Tue May  4 08:10:28 1993  Jim Kingdon  (kingdon@cygnus.com)
8657
8658	* Makefile.in (demangle): Use ${srcdir} not $^.
8659
8660	* strtod.c: New file, needed at least for BSD 4.3.
8661
8662Sun May  2 11:30:42 1993  Fred Fish  (fnf@cygnus.com)
8663
8664	* strsignal.c (sys_siglist):  For ANSI compilations, type is
8665	"const char *const".  Also remove conditionalization on __STDC__
8666	since const is defined away for non-ANSI.
8667
8668Wed Apr 28 19:29:55 1993  Ken Raeburn  (raeburn@deneb.cygnus.com)
8669
8670	* configure.in: Recognize *-*-hpux.
8671	* config/mh-hpux: New file.
8672
8673Tue Apr 27 15:22:19 1993  Per Bothner  (bothner@cygnus.com)
8674
8675	* tmpnam.c:  Added ANSI tmpnam() function.
8676	* functions.def, Makefile.in:  Update accordingly.
8677
8678Tue Apr 27 13:38:38 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
8679
8680	* cplus-dem.c (demangle_function_name): Get the demangling of
8681	stop__1A right.
8682
8683Fri Apr 16 23:48:24 1993  Jim Kingdon  (kingdon at calvin)
8684
8685	* cplus-dem.c: Declare strstr return type.
8686
8687Fri Mar 26 12:01:26 1993  Jim Kingdon  (kingdon@cygnus.com)
8688
8689	* strsignal.c: Add some AIX signals.
8690
8691Thu Mar 25 15:17:23 1993  Ian Lance Taylor  (ian@cygnus.com)
8692
8693	* Makefile.in (MAKEOVERRIDES): Define to be empty.
8694
8695Wed Mar 24 01:59:25 1993  david d `zoo' zuhn  (zoo at poseidon.cygnus.com)
8696
8697	* Makefile.in: add installcheck & dvi targets
8698
8699Thu Mar 18 14:05:44 1993  Per Bothner  (bothner@rtl.cygnus.com)
8700
8701	* ieee-float.c:  New file, moved from ../gdb (since it is
8702	needed by ../opcode/m68k-dis.c).
8703
8704Tue Mar  2 17:47:31 1993  Fred Fish  (fnf@cygnus.com)
8705
8706	* cplus-dem.c:  Replace all references to cfront with ARM.
8707
8708Fri Feb 26 00:17:07 1993  Per Bothner  (bothner@rtl.cygnus.com)
8709
8710	* cplus-dem.c:  Fix main program (when compiled with -DMAIN)
8711	to be more useful as a filter.
8712
8713Sat Feb 20 21:41:39 1993  Brendan Kehoe  (brendan@lisa.cygnus.com)
8714
8715	* Makefile.in (install_to_libdir, install_to_tooldir): Go into the
8716	destination directory before running $(RANLIB), in case that
8717	program tries to create a file in the current directory as part of
8718	its work.
8719
8720Thu Feb 18 23:00:19 1993  John Gilmore  (gnu@cygnus.com)
8721
8722	* strsignal.c (sys_siglist):  Remove yet another *%^&%&$# "const"
8723	because BSD 4.4 lacks one.  Isn't this fun?
8724
8725Thu Feb 18 11:24:25 1993  Fred Fish  (fnf@cygnus.com)
8726
8727	* cplus-dem.c (demangle_signature):  Set func_done after
8728	demangling a template.
8729	* cplus-dem.c (demangle_template):  Fix several small bugs
8730	in demangling GNU style templates.
8731	* cplus-dem.c (demangle_prefix):  Fix for templates in GNU
8732	style constructors.
8733	* cplus-dem.c (gnu_special):  Fix for templates in GNU style
8734	static data members.
8735
8736Tue Feb 16 17:28:35 1993  Fred Fish  (fnf@cygnus.com)
8737
8738	* cplus-dem.c (demangle_signature):  Modify to include type
8739	modifiers like static and const in remembered types.
8740
8741Thu Feb 11 22:20:47 1993  Fred Fish  (fnf@cygnus.com)
8742
8743	* cplus-dem.c (demangled_qualified):  Add new parameter that tells
8744	whether to prepend or append the qualifiers.
8745	* cplus-dem.c (string_prepends):  Used now, remove #if 0.
8746	* cplus-dem.c (demangle_signature):  Call demangle_qualified
8747	with prepending.
8748	* cplus-dem.c (gnu_special):  Recognize static data members that
8749	use qualified names.
8750	* cplus-dem.c (demangle_qualified):  Accumulate qualifiers in a
8751	temporary buffer and the prepend or append them to the result,
8752	as specified by the new "append" flag.
8753	* cplus-dem.c (do_type):  Call demangled_qualified with
8754	appending.
8755
8756Mon Dec 28 10:47:19 1992  Ken Raeburn  (raeburn@cygnus.com)
8757
8758	* strsignal.c (signal_table): Now const.
8759	(init_signal_tables): Variable eip now points to const.
8760
8761	* strerror.c (error_table): Now const.
8762	(init_error_tables): Variable eip now points to const.
8763
8764Tue Dec 15 15:36:50 1992  Per Bothner  (bothner@cygnus.com)
8765
8766	* memchr.c (memchr):  New (ANSI standard) function.
8767	* Makefile.in, functions.def:  Added memchr.
8768	* Makefile.in (AR_FLAGS): Use rc instad of non-standard cq.
8769
8770Wed Dec  2 22:49:10 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
8771
8772	* getopt.c: remove use of USG around <alloca.h>, which never meant
8773	anything anyway
8774
8775	* config/mh-{aix,apollo68,ncr3000,sysv,sysv4}: removed definitions
8776	of USG and USGr4
8777
8778Thu Nov 19 03:09:33 1992  Brendan Kehoe  (brendan@lisa.cygnus.com)
8779
8780	* cplus-dem.c (demangle_fund_type): Recognize `w', a wide character;
8781	it's now a type according to the ANSI X3J16 working paper; output
8782	"wchar_t" for it.
8783	(demangle_template): Accept `w' as an integral type.
8784	(xmalloc, xrealloc): Use `char *', not `PTR'.  Cast calls to their
8785	counterparts malloc and realloc to `char *'.
8786	(main): Exit with a 0 status.
8787	* Makefile.in (demangle): Don't expect the user to define
8788	DEMANGLE, instead force to be cplus-dem.c.  Look in $(srcdir)/../include
8789	for demangle.h.  Pass it any HDEFINES or XTRAFLAGS.
8790
8791Wed Nov 18 18:56:20 1992  John Gilmore  (gnu@cygnus.com)
8792
8793	* Makefile.in (AR_FLAGS):  Avoid verbosity.
8794	* config/mh-sysv4:  Remove AR_FLAGS override, use INSTALL=cp,
8795	replace USGr4 with HAVE_SYSCONF.
8796	* config/mh-solaris:  Remove; mh-sysv4 works now.
8797	* getpagesize.c:  Replace USGr4 with HAVE_SYSCONF.
8798	* configure.in:  Simplify host matching table, remove separate
8799	solaris config file.
8800
8801Sun Nov 15 09:35:16 1992  Fred Fish  (fnf@cygnus.com)
8802
8803	* configure.in (i[34]86-*-solaris2*):  Add, use mh-sysv4.
8804
8805Tue Nov  3 21:27:03 1992  Brendan Kehoe  (brendan@cygnus.com)
8806
8807	* cplus-dem.c (xmalloc, xrealloc): Add decls.
8808	(remember_type): Don't cast xmalloc.
8809	(string_need): Likewise; don't cast xrealloc either.
8810
8811Fri Oct 23 08:52:01 1992  Ian Lance Taylor  (ian@cygnus.com)
8812
8813	* Makefile.in, functions.defs, rename.c: added simple
8814	implementation of rename, since some binutils programs use it.
8815
8816Thu Oct 15 15:18:22 1992  Per Bothner  (bothner@cygnus.com)
8817
8818	* strsignal.c:  Add appropriate 'const' to sys_siglist
8819	extern declaration (if __STDC__).  (Needed for Linux.)
8820	* strsignal.c (strsignal): Add cast to remove const-ness.
8821
8822Fri Oct  9 03:22:55 1992  John Gilmore  (gnu@cygnus.com)
8823
8824	* Makefile.in (needed.awk, needed2.awk):  Remove erroneous \'s
8825	before "'s, diagnosed by BSD 4.4 awk.
8826
8827Thu Oct  8 15:25:12 1992  Ian Lance Taylor  (ian@cygnus.com)
8828
8829	* Makefile.in: create config.h and needed-list through $(CONFIG_H)
8830	and $(NEEDED_LIST), to give some hooks for xiberty.
8831
8832Thu Oct  1 23:31:42 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
8833
8834	* configure.in: use cpu-vendor-triple instead of nested cases
8835
8836Wed Sep 30 11:26:59 1992  Per Bothner  (bothner@rtl.cygnus.com)
8837
8838	* Makefile.in, argv.c, basename.c, bcmp.c, bcopy.c, bzero.c,
8839	concat.c, cplus-dem.c, fdmatch.c, getcwd.c, getopt.c, getopt1.c,
8840	getpagesize.c, insque.c, memcmp.c, memcpy.c, memmove.c, memset.c,
8841	obstack.c, sigsetmask.c, spaces.c, strchr.c, strerror.c,
8842	strrchr.c, strsignal.c, strstr.c, vfork.c, vsprintf.c:
8843	Convert from using GPL to LGPL.
8844
8845Sat Sep 26 04:01:30 1992  John Gilmore  (gnu@cygnus.com)
8846
8847	* Makefile.in (errors):  Leave dummy.o and dummy around so that
8848	we can see how the needed list was generated (it's sometimes wrong).
8849	(mostlyclean):  Remove them.
8850
8851Mon Sep 21 14:50:42 1992  Ian Lance Taylor  (ian@cygnus.com)
8852
8853	* getcwd.c: supply a default if MAXPATHLEN is not defined.
8854
8855	* config/mh-irix4: set EXTRA_OFILES to alloca.o, from WRS.
8856
8857Wed Sep  9 12:41:48 1992  Ian Lance Taylor  (ian@cygnus.com)
8858
8859	* Makefile.in: Use XTRAFLAGS when compiling, so that xiberty works
8860	when cross-compiling.
8861
8862Thu Sep  3 13:29:39 1992  K. Richard Pixley  (rich@sendai.cygnus.com)
8863
8864	* cplus-dem.c: (demangle_prefix): reduction in strength of strstr
8865	  as a time optimization.
8866
8867	* cplus-dem.c (cplus_demangle): remove strpbrk test.  Appears to
8868	  be more expensive than simply demangling.
8869
8870	* cplus-dem.c (cplus_match): new function.
8871
8872Tue Sep  1 15:24:04 1992  Per Bothner  (bothner@rtl.cygnus.com)
8873
8874	* cplus-dem.c:  #include <stdio.h>, to define NULL.
8875	Define current_demangling_style.
8876
8877Sun Aug 30 17:58:19 1992  Per Bothner  (bothner@rtl.cygnus.com)
8878
8879	* cplus-dem.c:  New file, moved from ../gdb.
8880	* cplus-dem.c (set_cplus_marker_for_demangling):  New exported
8881	function, to avoid compiling in target-dependency for CPLUS_MARKER.
8882	* cplus-dem.c (cplus_demangle):  Allow demangling style option
8883	to be passed as a parameter, but using the global variable
8884	current_demangling_style as a default.
8885	* Makefile.in:  Update for cplus-dem.c
8886
8887Sat Aug 29 10:44:09 1992  Fred Fish  (fnf@cygnus.com)
8888
8889	* obstack.c:  Merge in comment changes from FSF version.  Now
8890	matches the FSF version exactly.
8891
8892Fri Aug 28 18:39:08 1992  John Gilmore  (gnu@cygnus.com)
8893
8894	* obstack.c (CALL_FREEFUN):  Can't use ?: with void values (at
8895	least on losing DECstations!); use if-then-else instead.
8896
8897Wed Aug 19 14:40:34 1992  Ian Lance Taylor  (ian@cygnus.com)
8898
8899	* Makefile.in: always create installation directories.
8900
8901Mon Aug 10 17:33:40 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
8902
8903	* Makefile.in: clean up definition of CFILES, more comments
8904
8905Sat Aug  8 23:10:59 1992  Fred Fish  (fnf@cygnus.com)
8906
8907	* getopt.c (my_index):  Make first arg const to match strchr,
8908	which it sometimes is remapped to.
8909
8910Sat Aug  1 13:48:50 1992  Fred Fish  (fnf@cygnus.com)
8911
8912	* obstack.c (DEFAULT_ALIGNMENT):  Update to match FSF version.
8913	* obstack.c (_obstack_begin):  Initialize use_extra_arg.
8914	* obstack.c (_obstack_begin_1):  New, from FSF version.
8915
8916Mon Jul 20 21:07:58 1992  Fred Fish  (fnf@cygnus.com)
8917
8918	* obstack.c (CALL_CHECKFUN, CALL_FREEFUN):  Use use_extra_arg and
8919	extra_arg.
8920	* obstack.c (_obstack_begin):  Remove area_id and flags arguments
8921	(previously added for mmalloc support, interface has changed).
8922	Also convert flags usage to use use_extra_arg and maybe_empty_object.
8923
8924Fri Jul 10 00:41:53 1992  Fred Fish  (fnf@cygnus.com)
8925
8926	* argv.c:  Move expandargv inline and eliminate static variables.
8927	Rewrite to always allocate in powers of two.  Fix to return an
8928	argv with a single null string arg if passed a null string.
8929
8930Fri Jul  3 20:27:29 1992  Fred Fish  (fnf@cygnus.com)
8931
8932	* random.c, sigsetmask.c, strerror.c, strsignal.c:  Remove
8933	"(void)" casts from function calls where the return value is
8934	ignored, in accordance with GNU coding standards.
8935
8936Mon Jun 29 10:54:19 1992  Fred Fish  (fnf at cygnus.com)
8937
8938	* bcopy.c, strerror.c, strsignal.c:  Lint.
8939
8940Thu Jun 25 09:18:41 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
8941
8942	* getopt.c: merge changes from make.
8943
8944Thu Jun 25 04:43:22 1992  John Gilmore  (gnu at cygnus.com)
8945
8946	* alloca.c:  Incorporate fixes from gdb/alloca.c.
8947	FIXME:  Eventually move gdb's alloca configuration files here,
8948	and remove gdb/alloca.c and its Makefile.in support.
8949
8950Tue Jun 23 21:56:30 1992  Fred Fish  (fnf@cygnus.com)
8951
8952	* dummy.c:  Define NOTHING to /*nothing*/, change return type
8953	of main to int and return zero.
8954	* functions.def:  Supply NOTHING as the fourth arg to macros
8955	that don't have an explicit arg, to satisfy picky preprocessors.
8956
8957Wed Jun 17 18:13:58 1992  Per Bothner  (bothner@rtl.cygnus.com)
8958
8959	* Makefile.in:  Clean up *clean rules, as per standards.texi.
8960
8961Tue Jun 16 16:11:59 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
8962
8963	* getopt.c, getopt1.c: merged largely gratuitous, mostly
8964	  whitespace diffs from other prep distributions.
8965
8966Mon Jun 15 12:25:46 1992  Fred Fish  (fnf@cygnus.com)
8967
8968	* config/mh-ncr3000 (INSTALL):  Don't use /usr/ucb/install,
8969	it is broken on ncr 3000's.
8970
8971Mon Jun 15 01:03:26 1992  John Gilmore  (gnu at cygnus.com)
8972
8973	* sigsetmask.c:  Rewrite.  Old one was very confused about its
8974	arguments and result.  New one can't do much, but at least knows
8975	what it can't do, and it's good enough for GDB's use.
8976
8977Sun Jun 14 15:17:40 1992  Stu Grossman  (grossman at cygnus.com)
8978
8979	* functions.def:  Use proper prototype for strtoul.
8980
8981Fri Jun 12 19:22:40 1992  John Gilmore  (gnu at cygnus.com)
8982
8983	* Makefile.in:  Add random.c.
8984	* config/mh-*:  Use "true" rather than "echo >/dev/null" for ranlib.
8985	* configure.in:  update solaris2 config.
8986
8987Wed Jun 10 16:31:29 1992  Fred Fish  (fnf@cygnus.com)
8988
8989	* random.c:  Add for random() and srandom().
8990	* functions.def:  Add random
8991
8992Tue Jun  9 17:27:18 1992  Fred Fish  (fnf@cygnus.com)
8993
8994	* config/{mh-ncr3000, mh-sysv4}:  Add definition for INSTALL
8995	using /usr/ucb/install.
8996
8997Mon Jun  1 13:20:17 1992  Per Bothner  (bothner@rtl.cygnus.com)
8998
8999	* strerror.c:  Kludge to guard against a conflict with
9000	possible declaration of sys_errlist in errno.h.
9001
9002Sun May 31 15:07:47 1992  Mark Eichin  (eichin at cygnus.com)
9003
9004	* configure.in, config/mh-solaris: add solaris2 config support.
9005
9006Fri May 29 17:23:23 1992  Per Bothner  (bothner@rtl.cygnus.com)
9007
9008	* sigsetmask.c:  #ifdef out sigsetmask if SIG_SETMASK
9009	is not defined (should be defined in signal.h, says Posix.).
9010
9011Mon May 18 17:35:04 1992  K. Richard Pixley  (rich@cygnus.com)
9012
9013	* getopt.c: merged changes from make-3.62.11.
9014
9015Fri May  8 14:53:07 1992  K. Richard Pixley  (rich@cygnus.com)
9016
9017	* getopt.c: merged changes from bison-1.18.
9018
9019Tue May  5 11:51:40 1992  Per Bothner  (bothner@rtl.cygnus.com)
9020
9021	* Makefile.in:  Don't have $(EXTRA_OFILES) depend on config.h,
9022	since that introduces a circular dependency.
9023	($(EXTRA_OFILES) are used to build config.h.)
9024
9025	* strtoul.c:  Fixes to handle non-decimal bases better.
9026
9027Wed Apr 22 09:27:51 1992  Fred Fish  (fnf@cygnus.com)
9028
9029	* config/mh-ncr3000:  Replace MINUS_G with CFLAGS.
9030	* Makefile.dos:  Finish MINUS_G eradication.
9031	* Makefile.in (CFILES):  Add strsignal.c.
9032	* Makefile.in (REQUIRED_OFILES):  Add strerror.o strsignal.o
9033	* Makefile.in (needed-list):  Split creation of errors file to
9034	separate make target.
9035	* Makefile.in (config.h, needed2.awk, errors):  New targets.
9036	* Makefile.in (clean):  Split to multiple lines, add needed2.awk
9037	and config.h.
9038	* dummy.c (DEFFUNC, DEFVAR):  Add defines and undefs.
9039	* functions.def (strerror):  Remove from optional list.
9040	* functions.def (sys_nerr, sys_errlist, sys_siglist):  DEFVAR's
9041	* functions.def (strerror, psignal):  DEFFUNC's
9042	* strerror.c:  Rewrite from scratch to use sys_errlist only if
9043	available, add errno_max(), add strerrno(), add strtoerrno(),
9044	add test driver.
9045	* strsignal.c:  New file, signal equivalent to strerror.c.
9046	Uses sys_siglist if available, defines signo_max(), strsignal(),
9047	strsigno(), strtosigno(), psignal(), and test driver.
9048
9049Mon Apr 20 20:49:32 1992  K. Richard Pixley  (rich@cygnus.com)
9050
9051	* Makefile.in: do not print recursion line.
9052
9053	* Makefile.in: allow CFLAGS to be passed in from command line.
9054	  Removed MINUS_G.  Default CFLAGS to -g.
9055
9056Mon Apr 20 12:57:46 1992  Per Bothner  (bothner@rtl.cygnus.com)
9057
9058	* config/mh-aix:  New.  EXTRA_OFILES lists copysign.o,
9059	so libg++ users don't have to be inconvenienced by a
9060	libc.a bug (libc.a needs copysign, but doesn't define it!).
9061	* configure.in:  Use config/mh-aix.
9062	* strtoul.c:  Handle '-' as required by ANSI.
9063	Clean up radix handling.
9064	* strstr.c:  Fix buggy algorithm.
9065	* Makefile.in:  Change so that ${EXTRA_OFILES} is
9066	appended to needed-list (which is used by libg++).
9067
9068Fri Apr 10 22:51:41 1992  Fred Fish  (fnf@cygnus.com)
9069
9070	* configure.in:  Recognize new ncr3000 config.
9071	* config/mh-ncr3000:  New config file.
9072
9073Wed Apr  1 23:31:43 1992  John Gilmore  (gnu at cygnus.com)
9074
9075	* argv.c, dummy.c:  Lint.
9076
9077Tue Mar 31 18:46:44 1992  Fred Fish  (fnf@cygnus.com)
9078
9079	* config/mh-sysv4:  New config file.
9080	* configure.in (host_makefile_frag):  Set to config/mh-sysv4 for
9081	host_os == sysv4.
9082	* getpagesize.c:  For SVR4, use sysconf(_SC_PAGESIZE) to get
9083	pagesize.
9084
9085Sun Mar 29 12:26:42 1992  John Gilmore  (gnu at cygnus.com)
9086
9087	* getopt.c:  Lint.
9088
9089Fri Mar 27 08:32:55 1992  Fred Fish  (fnf@cygnus.com)
9090
9091	* functions.def (alloca):  Fix return type and args to avoid
9092	type clash with gcc's builtin alloca.
9093
9094Tue Mar 24 23:33:42 1992  K. Richard Pixley  (rich@cygnus.com)
9095
9096	* configure.in, config/mh-irix4: irix4 support.
9097
9098	* Makefile.in, functions.def, alloca.c: added alloca.
9099
9100Tue Mar 24 17:34:46 1992  Stu Grossman  (grossman at cygnus.com)
9101
9102	* obstack.c (CALL_FREEFUN):  Make it compile on DECstations.
9103
9104Thu Mar 19 13:57:42 1992  Fred Fish  (fnf@cygnus.com)
9105
9106	* argv.c:  Fix various external function definitions to be
9107	correct in an ANSI compilation environment.
9108
9109Sat Mar 14 17:28:17 1992  Fred Fish  (fnf@cygnus.com)
9110
9111	* obstack.c:  Changes to support calling mmalloc functions,
9112	which take an additional argument over malloc functions.
9113
9114Fri Mar  6 22:01:10 1992  K. Richard Pixley  (rich@cygnus.com)
9115
9116	* added check target.
9117
9118Thu Feb 27 22:19:39 1992  Per Bothner  (bothner@cygnus.com)
9119
9120	* argv.c:  #include alloca-conf.h (needed by AIX).
9121
9122Wed Feb 26 18:04:40 1992  K. Richard Pixley  (rich@cygnus.com)
9123
9124	* Makefile.in, configure.in: removed traces of namesubdir,
9125	  -subdirs, $(subdir), $(unsubdir), some rcs triggers.  Forced
9126	  copyrights to '92, changed some from Cygnus to FSF.
9127
9128Sat Feb 22 01:09:21 1992  Stu Grossman  (grossman at cygnus.com)
9129
9130	* argv.c:  Check in Fred's version which fixes problems with
9131	alloca().
9132
9133Fri Feb  7 21:46:08 1992  Stu Grossman  (grossman at cygnus.com)
9134
9135	* makefile.dos:  Remove NUL to keep patch from failing.
9136
9137Thu Jan 30 22:48:41 1992  Stu Grossman  (grossman at cygnus.com)
9138
9139	* getopt.c (_getopt_internal):  Fix usage of enum has_arg.
9140
9141Mon Jan 20 18:53:23 1992  Stu Grossman  (grossman at cygnus.com)
9142
9143	* getopt.c, getopt1.c, ../include/getopt.h:  Get latest versions.
9144
9145Sat Jan 18 16:53:01 1992  Fred Fish  (fnf at cygnus.com)
9146
9147	* argv.c:  New file to build and destroy standard argument
9148	vectors from a command string.
9149
9150	* Makefile.in:  Add argv.c and argv.o to appropriate macros.
9151
9152Fri Dec 20 12:12:57 1991  Fred Fish  (fnf at cygnus.com)
9153
9154	* configure.in:  Change svr4 references to sysv4.
9155
9156	* rindex.c:  Declare return type of externally used function
9157	strrchr().
9158
9159Thu Dec 19 18:35:03 1991  John Gilmore  (gnu at cygnus.com)
9160
9161	* Makefile.in:  Remove "***" in normal output, since Make produces
9162	this on errors, and it's convenient to search for.
9163
9164Tue Dec 17 23:21:30 1991  Per Bothner  (bothner at cygnus.com)
9165
9166	* memcmp.c, memcpy.c, memmove.c, memset.c, strchr.c, strrchr.c:
9167	New ANSI functions.  The old non-ANSI functions (such as bcopy)
9168	should be avoided.
9169	* bcopy.c:  Fix to correctly handle overlapping regions.
9170	* index.c, rindex.c:  Re-write in terms of strchr() and strrchr().
9171	* functions.def:  Add the new functions.
9172	* functions.def:  Add 4th parameter to DEF macro,
9173	an ansidecl.h-style prototype.
9174	* dummy.c:  Use expanded DEF macro to create a dummy function
9175	call, with correct parameter types.  (This avoids some
9176	complaints from gcc about predefined builtins.)
9177
9178	Move the functionality of config/mh-default into Makefile.in.
9179	This avoid duplication, and simplifies things slightly.
9180	* Makefile.in:  Tweak so we don't need config/mh-default.
9181	* README:  Update.
9182	* configure.in:  No longer need config/mh-default.
9183	* config/mh-default:  Deleted.
9184	* config/mh-sysv:  Remove lines copied from old mh-default.
9185
9186Tue Dec 17 05:46:46 1991  John Gilmore  (gnu at cygnus.com)
9187
9188	* fdmatch.c (fdmatch):  Don't compare st_rdev, which is for
9189	'mknod' device numbers.
9190
9191Mon Dec 16 12:25:34 1991  Fred Fish  (fnf at cygnus.com)
9192
9193	* fdmatch.c, Makefile.in:  Add new function that takes two
9194	open file descriptors and returns nonzero if they refer to
9195	the same file, zero otherwise.  (used in gdb)
9196
9197Wed Dec 11 17:40:39 1991  Steve Chamberlain  (sac at rtl.cygnus.com)
9198	From DJ:
9199	* msdos.c: stub functions for dos.
9200	* makefile.dos, configdj.bat: new.
9201	* getopt.c: Don't include alloca-conf.h in a GO32 world.
9202
9203
9204Tue Dec 10 04:14:49 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
9205
9206	* Makefile.in: infodir belongs in datadir.
9207
9208Fri Dec  6 23:26:45 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
9209
9210	* Makefile.in: remove spaces following hyphens because bsd make
9211	  can't cope.  added standards.text support.  install using
9212	  INSTALL_DATA.
9213
9214	* configure.in: remove commontargets as it is no longer a
9215	  recognized hook.
9216
9217Thu Dec  5 22:46:46 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
9218
9219	* Makefile.in: idestdir and ddestdir go away.  Added copyrights
9220	  and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
9221	  and mandir now keyed off datadir by default.
9222
9223Fri Nov 22 19:15:29 1991  John Gilmore  (gnu at cygnus.com)
9224
9225	* Makefile.in:  find-needed.awk does not fit in 14 chars.
9226
9227	* Makefile.in:  Suppress error checking when compiling the test
9228	program, because Ultrix make/sh aborts there due to a bug.
9229
9230Fri Nov 22 12:23:17 1991  Per Bothner  (bothner at cygnus.com)
9231
9232	* Makefile.in:  Re-did how EXTRA_OFILES is used to be more useful.
9233	* README:  Explained how the auto-configuration works,
9234	and how to add new files and/or configurations.
9235
9236Fri Nov 22 09:45:23 1991  John Gilmore  (gnu at cygnus.com)
9237
9238	* strtoul.c:  Avoid defining ULONG_MAX if already defined;
9239	cast a const char * to char * for pedants.
9240
9241	* getopt.c:  Only define "const" after local include files get to,
9242	and only if they haven't defined it.
9243
9244Thu Nov 21 16:58:53 1991  John Gilmore  (gnu at cygnus.com)
9245
9246	* getcwd.c (remove getwd.c): GNU code should call getcwd().  We
9247	emulate it with getwd() if available.  This avoids callers having
9248	to find a MAXPATHLEN or PATH_MAX value from somewhere.
9249	* Makefile.in, functions.def:  getwd->getcwd.
9250	* configure.in:  Use generic case for every system.
9251	* config/mh-{delta88,mach,rs6000,svr4}:  Remove.
9252	* config/mh-sysv:  Use default handling, just add -DUSG.
9253
9254Thu Nov 14 10:58:05 1991  Per Bothner  (bothner at cygnus.com)
9255
9256	* Makefile.in, config/mh-default: Re-do make magic
9257	so that for the default ("automatic") mode we only
9258	compile the files we actually need.  Do this using
9259	a recursive make:  The top-level generates the list
9260	of needed files (loosely, the ones missing in libc),
9261	and then passes that list to the recursive make.
9262	* config/mh-mach:  Remove obsolete STRERROR-{C,O} macros.
9263
9264Tue Nov 12 19:10:57 1991  John Gilmore  (gnu at cygnus.com)
9265
9266	RS/6000 host support (grumble).
9267
9268	* configure.in:  Build alloca-conf.h file from alloca-norm.h
9269	(everything else) or alloca-botch.h (rs/6000).
9270	* Makefile.in:  Include . on the include path.
9271	* getopt.c:  Use alloca-conf.h.
9272	* alloca-norm.h:  How to declare alloca on reasonable machines.
9273	* alloca-botch.h: How to declare alloca on braindead machines.
9274
9275Tue Nov 12 09:21:48 1991  Fred Fish  (fnf at cygnus.com)
9276
9277	* concat.c :  New file, like concat() in gdb but can take a
9278	variable number of arguments rather than fixed at 3 args.  For
9279	now, client applications must supply an xmalloc(), which is a
9280	front end function to malloc() that deals with out-of-memory
9281	conditions.
9282
9283	* Makefile.in:  Add concat.c and concat.o to appropriate macros.
9284
9285Sat Nov  9 13:29:59 1991  Fred Fish  (fnf at cygnus.com)
9286
9287	* config/mh-svr4:  Add sigsetmask to list of required functions.
9288
9289Sun Nov  3 11:57:56 1991  Per Bothner  (bothner at cygnus.com)
9290
9291	* vsprintf.c:  New file.
9292	* functions.def, Makefile.in:  Add vsprintf.
9293
9294Sun Oct 27 16:31:22 1991  John Gilmore  (gnu at cygnus.com)
9295
9296	* configure.in, config/mh-rs6000:  Add rs/6000 host support.
9297	* Makefile.in:  Compile with debug info.
9298
9299Fri Oct 25 17:01:12 1991  Per Bothner  (bothner at cygnus.com)
9300
9301	* Makefile.in, configure.in, and new files: dummy.c, functions.def,
9302	config/mf-default:  Added a default configuration mode,
9303	which includes into libiberty.a functions that are "missing" in libc.
9304	* strdup.c, vprintf.c, vfprintf.c: New files.
9305
9306Thu Oct 24 02:29:26 1991  Fred Fish  (fnf at cygnus.com)
9307
9308	* config/hmake-svr4: New file.
9309
9310	* config/hmake-sysv: Add HOST_CFILES and HOST_OFILES.
9311
9312	* basename.c, bcmp.c, bcopy.c, bzero.c, getpagesize.c getwd.c,
9313	index.c, insque.c, rindex.c, spaces.c, strstr.c, vfork.c: New
9314	files containing either portable C versions or emulations using
9315	native library calls.
9316
9317	* strerror.c:  Add copyright, internal documentation, etc.
9318
9319	* strtol.c:  Replace hardwired hex constants with some more
9320	portable macros.  Remove illegal (according to gcc) cast.
9321
9322	* strtoul.c: Replace hardwired hex constant with more portable
9323	macro.
9324
9325	* Makefile.in: Move TARGETLIB and CFLAGS where makefile fragments
9326	can override them.  Add new source and object file names to CFILES
9327	and OFILES respectively.
9328
9329	* configure.in: Add support for SVR4 makefile fragments.
9330
9331Tue Oct 22 19:00:23 1991  Steve Chamberlain  (steve at cygnus.com)
9332
9333	* Makefile.in: Move RANLIB, AR and AR_FLAGS to where they can be
9334	over-ridden by config/hmake-*
9335	* configure.in: added m88kcvs to sysv list
9336
9337Fri Oct  4 01:29:08 1991  John Gilmore  (gnu at cygnus.com)
9338
9339	* Makefile.in:  Most hosts need strerror, but one or two don't,
9340	and they override these definitions in the host-dependent makefile
9341	fragment.
9342	* config/hmake-mach:  The odd man out on strerror -- it's supplied.
9343	* strerror.c:  New file.
9344
9345	* strtol.c, strtoul.c:  Add strtol to libiberty, since Mach lacks
9346	it and bfd uses it.
9347	* configure.in, Makefile.in, config/hmake-mach:  Only configure
9348	strtol & strotoul in on Mach.
9349
9350Tue Sep  3 06:36:23 1991  John Gilmore  (gnu at cygint.cygnus.com)
9351
9352	* obstack.c:  Merge with latest FSF version.
9353
9354
9355Local Variables:
9356version-control: never
9357End:
9358