ChangeLog revision 1.1.1.18
12021-04-08  Release Manager
2
3	* GCC 10.3.0 released.
4
52020-10-07  Martin Liska  <mliska@suse.cz>
6
7	Backported from master:
8	2020-10-06  Martin Liska  <mliska@suse.cz>
9
10	PR lto/97290
11	* simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
12	Use sh_link of a .symtab_shndx section.
13
142020-09-11  Richard Biener  <rguenther@suse.de>
15
16	Backported from master:
17	2020-08-03  Richard Biener  <rguenther@suse.de>
18
19	PR lto/96385
20	* simple-object-elf.c
21	(simple_object_elf_copy_lto_debug_sections): Localize global
22	UNDEFs and reuse the prevailing name.
23
242020-07-23  Release Manager
25
26	* GCC 10.2.0 released.
27
282020-06-22  H.J. Lu  <hjl.tools@gmail.com>
29
30	Backported from master:
31	2020-05-12  H.J. Lu  <hjl.tools@gmail.com>
32
33	PR bootstrap/94998
34	* configure: Regenerated.
35
362020-05-07  Release Manager
37
38	* GCC 10.1.0 released.
39
402020-04-28  H.J. Lu  <hongjiu.lu@intel.com>
41
42	PR bootstrap/94739
43	* configure: Regenerated.
44
452020-04-27  Jakub Jelinek  <jakub@redhat.com>
46
47	PR demangler/94797
48	* cp-demangle.c (cplus_demangle_operators): Add ss <=> operator.
49	* testsuite/demangle-expected: Add operator<=> test.
50
512020-04-25  H.J. Lu  <hongjiu.lu@intel.com>
52
53	PR bootstrap/94739
54	* Makefile.in (COMPILE.c): Add @CET_HOST_FLAGS@.
55	(configure_deps): Add $(srcdir)/../config/cet.m4 and
56	$(srcdir)/../config/enable.m4.
57	* aclocal.m4: Include ../config/cet.m4 and ../config/enable.m4.
58	* configure.ac: Add GCC_CET_HOST_FLAGS(CET_HOST_FLAGS) and
59	AC_SUBST(CET_HOST_FLAGS).
60	* configure: Regenerated.
61
622020-03-05  Egeyar Bagcioglu  <egeyar.bagcioglu@oracle.com>
63
64	* simple-object.c (handle_lto_debug_sections): Name
65	".GCC.command.line" among debug sections to be copied over
66	from lto objects.
67
682020-03-02  Nick Clifton  <nickc@redhat.com>
69
70	* testsuite/demangle-expected: Update expected demangling of
71	enable_if pattern.
72
732020-03-02  H.J. Lu  <hongjiu.lu@intel.com>
74
75	PR lto/93966
76	* simple-object.c (handle_lto_debug_sections): Also copy
77	.note.gnu.property section.
78
792020-02-12  Sandra Loosemore  <sandra@codesourcery.com>
80
81	PR libstdc++/79193
82	PR libstdc++/88999
83
84	* configure: Regenerated.
85
862020-02-05  Andrew Burgess  <andrew.burgess@embecosm.com>
87
88	* hashtab.c (htab_remove_elt): Make a parameter const.
89	(htab_remove_elt_with_hash): Likewise.
90
912020-01-23  Alexandre Oliva <oliva@adacore.com>
92
93	* argv.c (writeargv): Output empty args as "".
94
952020-01-01  Jakub Jelinek  <jakub@redhat.com>
96
97	Update copyright years.
98
992019-12-06  Tim Ruehsen  <tim.ruehsen@gmx.de>
100
101	* make-relative-prefix.c (split_directories):
102	Return early on empty 'name'
103
1042019-11-16  Tim Ruehsen  <tim.ruehsen@gmx.de>
105
106	* cp-demangle.c (d_print_init): Remove const from 4th param.
107	(cplus_demangle_fill_name): Initialize d->d_counting.
108	(cplus_demangle_fill_extended_operator): Likewise.
109	(cplus_demangle_fill_ctor): Likewise.
110	(cplus_demangle_fill_dtor): Likewise.
111	(d_make_empty): Likewise.
112	(d_count_templates_scopes): Remobe const from 3rd param,
113	Return on dc->d_counting > 1,
114	Increment dc->d_counting.
115        * cp-demint.c (cplus_demangle_fill_component): Initialize d->d_counting.
116	(cplus_demangle_fill_builtin_type): Likewise.
117	(cplus_demangle_fill_operator): Likewise.
118
1192019-11-16  Eduard-Mihai Burtescu  <eddyb@lyken.rs>
120
121	* cplus-dem.c (cplus_demangle): Use rust_demangle directly.
122	(rust_demangle): Remove.
123	* rust-demangle.c (is_prefixed_hash): Rename to is_legacy_prefixed_hash.
124	(parse_lower_hex_nibble): Rename to decode_lower_hex_nibble.
125	(parse_legacy_escape): Rename to decode_legacy_escape.
126	(rust_is_mangled): Remove.
127	(struct rust_demangler): Add.
128	(peek): Add.
129	(next): Add.
130	(struct rust_mangled_ident): Add.
131	(parse_ident): Add.
132	(rust_demangle_sym): Remove.
133	(print_str): Add.
134	(PRINT): Add.
135	(print_ident): Add.
136	(rust_demangle_callback): Add.
137	(struct str_buf): Add.
138	(str_buf_reserve): Add.
139	(str_buf_append): Add.
140	(str_buf_demangle_callback): Add.
141	(rust_demangle): Add.
142	* rust-demangle.h: Remove.
143
1442019-11-15  Miguel Saldivar  <saldivarcher@gmail.com>
145
146	* testsuite/demangle-expected: Fix test.
147
1482019-11-04  Kamlesh Kumar  <kamleshbhalui@gmail.com>
149
150	* cp-demangle.c (d_expr_primary): Handle
151	nullptr demangling.
152	* testsuite/demangle-expected: Added test.
153
1542019-10-29 Paul Pluzhnikov  <ppluzhnikov@google.com>
155
156	* cp-demangle.c (d_number): Avoid signed int overflow.
157
1582019-10-28  Miguel Saldivar  <saldivarcher@gmail.com>
159
160	* cp-demangle.c (d_print_mod): Add a space before printing `complex`
161	and `imaginary`, as opposed to after.
162	* testsuite/demangle-expected: Adjust test.
163
1642019-10-03  Eduard-Mihai Burtescu  <eddyb@lyken.rs>
165
166	* rust-demangle.c (looks_like_rust): Remove.
167	(rust_is_mangled): Don't check escapes.
168	(is_prefixed_hash): Allow 0-9a-f permutations.
169	(rust_demangle_sym): Don't bail on unknown escapes.
170	* testsuite/rust-demangle-expected: Update 'main::$99$' test.
171
1722019-09-03  Eduard-Mihai Burtescu  <eddyb@lyken.rs>
173
174	* rust-demangle.c (unescape): Remove.
175	(parse_lower_hex_nibble): New function.
176	(parse_legacy_escape): New function.
177	(is_prefixed_hash): Use parse_lower_hex_nibble.
178	(looks_like_rust): Use parse_legacy_escape.
179	(rust_demangle_sym): Use parse_legacy_escape.
180	* testsuite/rust-demangle-expected: Add 'llv$u6d$' test.
181
1822019-08-27  Martin Liska  <mliska@suse.cz>
183
184	PR lto/91478
185	* simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
186	First find a WEAK HIDDEN symbol in symbol table that will be
187	preserved.  Later, use the symbol name for all removed symbols.
188
1892019-08-12  Martin Liska  <mliska@suse.cz>
190
191	* Makefile.in: Add filedescriptor.c.
192	* filedescriptor.c: New file.
193	* lrealpath.c (is_valid_fd): Remove.
194
1952019-08-08  Martin Liska  <mliska@suse.cz>
196
197	PR bootstrap/91352
198	* lrealpath.c (is_valid_fd): New function.
199
2002019-07-24  Martin Liska  <mliska@suse.cz>
201
202	PR lto/91228
203	* simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
204	Find first '\0' starting from gnu_lto + 1.
205
2062019-07-12  Ren Kimura  <rkx1209dev@gmail.com>
207
208	* simple-object-elf.c (simple_object_elf_match): Check zero value shstrndx.
209	This fixes a Bug 90924.
210
2112019-07-22  Martin Liska  <mliska@suse.cz>
212
213	* simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
214	Do not search for gnu_lto_v1, but search for first '\0'.
215
2162019-07-18  Eduard-Mihai Burtescu  <eddyb@lyken.rs>
217
218	* cplus-dem.c: Include rust-demangle.h.
219	* rust-demangle.c: Include rust-demangle.h.
220	* rust-demangle.h: New file.
221
2222019-05-31  Michael Forney  <mforney@mforney.org>
223
224	* cp-demangle.c: Don't define CP_DYNAMIC_ARRAYS if __STDC_NO_VLA__
225	is non-zero.
226
2272019-04-30  Ben L  <bobsayshilol@live.co.uk>
228
229	* d-demangle.c (dlang_parse_assocarray): Correctly handle error result.
230	* testsuite/d-demangle-expected: Add testcase.
231
232	* d-demangle.c (dlang_parse_tuple): Correctly handle error result.
233	* testsuite/d-demangle-expected: Add testcase.
234
235	* d-demangle.c (dlang_parse_structlit): Correctly handle error result.
236	* testsuite/d-demangle-expected: Add testcase.
237
238	* d-demangle.c (dlang_parse_arrayliteral): Correctly handle error result.
239	* testsuite/d-demangle-expected: Add testcase.
240
241	* d-demangle.c (dlang_parse_integer): Fix stack underflow.
242	* testsuite/d-demangle-expected: Add testcase.
243
244	* cp-demangle (d_print_comp_inner): Guard against a NULL 'typed_name'.
245	* testsuite/demangle-expected: Add testcase.
246
247	* cp-demangle.c (d_encoding): Guard against NULL return values from
248	d_right (dc).
249	* testsuite/demangle-expected: Add testcase.
250
2512019-04-29  Ben L  <bobsayshilol@live.co.uk>
252
253	* cp-demangle.c (d_expression_1): Don't peek ahead unless the current
254	char is valid.
255	* testsuite/demangle-expected: Add testcase.
256
2572019-04-10  Nick Clifton  <nickc@redhat.com>
258
259	PR 89394
260	* cp-demangle.c (cplus_demangle_fill_name): Reject negative
261	lengths.
262	(d_count_templates_scopes): Replace num_templates and num_scopes
263	parameters with a struct d_print_info pointer parameter.  Adjust
264	body of the function accordingly.  Add recursion counter and check
265	that the recursion limit is not reached.
266	(d_print_init): Pass dpi parameter to d_count_templates_scopes.
267	Reset recursion counter afterwards, unless the recursion limit was
268	reached.
269
2702019-04-07  Alan Modra  <amodra@gmail.com>
271
272	* functions.texi: Regenerate.
273
2742019-03-14  Jason Merrill  <jason@redhat.com>
275	    Jakub Jelinek  <jakub@redhat.com>
276
277	* hashtab.c (htab_remove_elt_with_hash): Return if slot is NULL rather
278	than if *slot is HTAB_EMPTY_ENTRY.
279
2802019-02-11  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
281
282	* splay-tree.c (splay_tree_insert): Also release old KEY in case
283	of insertion of a key equal to an already present key.
284	(splay_tree_new_typed_alloc): Update comment.
285
2862019-01-22  Nidal Faour  <nidal.faour@wdc.com>
287
288	PR lto/88422
289	* simple-object.c (O_BINARY): Define if not already defined.
290	(simple_object_copy_lto_debug_sections): Create file in binary
291	mode.
292
2932019-01-21  Tom Tromey  <tom@tromey.com>
294
295	* splay-tree.c (splay_tree_remove): Delete the key if necessary.
296
2972019-01-14  Tom Honermann  <tom@honermann.net>
298
299	* cp-demangle.c (cplus_demangle_builtin_types)
300	(cplus_demangle_type): Add name demangling for char8_t (Du).
301	* cp-demangle.h: Increase D_BUILTIN_TYPE_COUNT to accommodate the
302	new char8_t type.
303
3042019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
305
306	PR other/16615
307
308	* cp-demangle.c: Mechanically replace "can not" with "cannot".
309	* floatformat.c: Likewise.
310	* strerror.c: Likewise.
311
3122019-01-01  Jakub Jelinek  <jakub@redhat.com>
313
314	Update copyright years.
315
3162018-12-22  Jason Merrill  <jason@redhat.com>
317
318	Remove support for demangling GCC 2.x era mangling schemes.
319	* cplus-dem.c: Remove cplus_mangle_opname, cplus_demangle_opname,
320	internal_cplus_demangle, and all subroutines.
321	(libiberty_demanglers): Remove entries for ancient GNU (pre-3.0),
322	Lucid, ARM, HP, and EDG demangling styles.
323	(cplus_demangle): Remove 'work' variable.  Don't call
324	internal_cplus_demangle.
325
3262018-12-07  Nick Clifton  <nickc@redhat.com>
327
328	PR 87681
329	PR 87675
330	PR 87636
331	PR 87350
332	PR 87335
333	* cp-demangle.h (struct d_info): Add recursion_level field.
334	* cp-demangle.c (d_function_type): Add recursion counter.
335	If the recursion limit is reached and the check is not disabled,
336	then return with a failure result.
337	(cplus_demangle_init_info): Initialise the recursion_level field.
338        (d_demangle_callback): If the recursion limit is enabled, check
339	for a mangled string that is so long that there is not enough
340	stack space for the local arrays.
341        * cplus-dem.c (struct work): Add recursion_level field.
342	(squangle_mop_up): Set the numb and numk fields to zero.
343	(work_stuff_copy_to_from): Handle the case where a btypevec or
344	ktypevec field is NULL.
345	(demangle_nested_args): Add recursion counter.  If
346	the recursion limit is not disabled and reached, return with a
347	failure result.
348
3492018-10-23  Jason Merrill  <jason@redhat.com>
350
351	Implement P0732R2, class types in non-type template parameters.
352	* cp-demangle.c (d_dump, d_make_comp, d_count_templates_scopes)
353	(d_print_comp_inner): Handle DEMANGLE_COMPONENT_TPARM_OBJ.
354	(d_special_name): Handle TA.
355	(d_expresion_1): Fix demangling of brace-enclosed initializer list.
356
3572018-10-31  Joseph Myers  <joseph@codesourcery.com>
358
359	PR bootstrap/82856
360	Merge from binutils-gdb:
361	2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
362
363	* configure.ac: Remove AC_PREREQ.
364	* configure: Re-generate.
365	* config.in: Re-generate.
366
3672018-10-01  Nathan Sidwell  <nathan@acm.org>
368
369	* configure.ac (checkfuncs): Add pipe2.
370	* config.in, configure: Rebuilt.
371	* pex-unix.c (pex_unix_exec_child): Comminicate errors from child
372	to parent with a pipe, when possible.
373
3742018-08-23  Nathan Sidwell  <nathan@acm.org>
375	    Martin Liska  <mliska@suse.cz>
376
377	PR driver/87056
378	* pex-unix.c (pex_unix_exec_child): Duplicate bad_fn into local
379	scopes to avoid potential clobber.
380
3812018-08-20  Nathan Sidwell  <nathan@acm.org>
382
383	* pex-unix.c (pex_child_error): Delete.
384	(pex_unix_exec_child): Commonize error paths to single message &
385	exit.
386
3872018-07-30  Tom Tromey  <tom@tromey.com>
388
389	* cplus-dem.c (remember_Btype): Don't call memcpy with LEN==0.
390
3912018-07-26  Martin Liska  <mliska@suse.cz>
392
393	PR lto/86548
394	* make-temp-file.c (TEMP_FILE): Remove leading 'cc'.
395	(make_temp_file): Call make_temp_file_with_prefix with
396	first argument set to NULL.
397	(make_temp_file_with_prefix): Support also prefix.
398
3992018-07-19  Eli Zaretskii  <eliz@gnu.org>
400
401	* simple-object-elf.c (ENOTSUP): If not defined by errno.h, redirect
402	to ENOSYS.
403
4042018-05-30  Jan Hubicka  <hubicka@ucw.cz>
405
406	* simple-object.c (handle_lto_debug_sections): Add rename parameter.
407	(handle_lto_debug_sections_rename): New function.
408	(handle_lto_debug_sections_norename): New function.
409	(simple_object_copy_lto_debug_sections): Add rename parameter.
410
4112018-05-28  Bernd Edlinger  <bernd.edlinger@hotmail.de>
412
413	* splay-tree.c (splay_tree_compare_strings,
414	splay_tree_delete_pointers): New utility functions.
415
4162018-05-10  Martin Liska  <mliska@suse.cz>
417
418	PR bootstrap/64914
419	* md5.c: Use strict alignment with UBSAN_BOOTSTRAP.
420
4212018-04-30  Daniel van Gerpen  <daniel@vangerpen.de>
422
423	* argv.c (expandargv): Fix memory leak for copied argv.
424
4252018-04-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
426
427	PR lto/81968
428	* simple-object.c (handle_lto_debug_sections): Keep .comment
429	section.
430
4312018-03-02  David Malcolm  <dmalcolm@redhat.com>
432
433	* cp-demangle.c: Update URL for g++ V3 ABI.
434
4352018-01-20  Eli Zaretskii  <eliz@gnu.org>
436
437	* simple-object-xcoff.c (simple_object_xcoff_find_sections): Use
438	ulong_type to avoid warning about 32-bit shift.
439
4402018-01-11  Richard Biener  <rguenther@suse.de>
441	Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
442
443	PR lto/81968
444	* simple-object-common.h (struct simple_object_functions):
445	Change copy_lto_debug_sections callback signature.
446	* simple-object-elf.c (SHN_HIRESERVE, SHT_SYMTAB_SHNDX,
447	SHF_INFO_LINK): Add defines.
448	(simple_object_elf_copy_lto_debug_sections): Instead of
449	leaving not to be copied sections empty unnamed SHT_NULL
450	remove them from the target section headers and adjust section
451	reference everywhere.  Handle SHN_XINDEX in the symbol table
452	processing properly.
453	* simple-object.c (handle_lto_debug_sections): Change
454	interface to return a modified string and handle renaming
455	of relocation sections.
456
4572018-01-10  Daniel van Gerpen  <daniel@vangerpen.de>
458
459	* argv.c (expandargv): Correct check for dynamically
460	allocated argv.
461
4622018-01-03  Jakub Jelinek  <jakub@redhat.com>
463
464	Update copyright years.
465
4662017-01-02  Richard Biener  <rguenther@suse.de>
467
468	PR lto/83452
469	* simple-object-elf.c (simple_object_elf_copy_lto_debug_section):
470	Do not use UNDEF locals for removed symbols but instead just
471	define them in the first prevailing section and with no name.
472	Use the same gnu_lto_v1 name for all removed globals we promote to
473	WEAK UNDEFs so hpux can use a stub to provide this symbol.  Clear
474	sh_info and sh_link in removed sections.
475
4762017-10-30  Richard Biener  <rguenther@suse.de>
477
478	PR lto/82757
479	* simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
480	Strip two leading _s from the __gnu_lto_* symbols.
481
4822017-10-24  Alan Modra  <amodra@gmail.com>
483
484	PR lto/82687
485	PR lto/82575
486	* simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
487	Only make __gnu_lto symbols hidden.
488
4892017-10-20  Alan Modra  <amodra@gmail.com>
490
491	PR lto/82575
492	* simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
493	Make discarded non-local symbols weak and hidden.
494
4952017-10-18  Jakub Jelinek  <jakub@redhat.com>
496
497	PR lto/82598
498	* simple-object.c (handle_lto_debug_sections): Copy over also
499	.note.GNU-stack section with unchanged name.
500	* simple-object-elf.c (SHF_EXECINSTR): Define.
501	(simple_object_elf_copy_lto_debug_section): Drop SHF_EXECINSTR bit
502	on .note.GNU-stack section.
503
5042017-09-25  Nathan Sidwell  <nathan@acm.org>
505
506	PR demangler/82195
507	* cp-demangle.c (d_encoding): Strip return type when name is a
508	LOCAL_NAME.
509	(d_local_name): Strip return type of enclosing TYPED_NAME.
510	* testsuite/demangle-expected: Add and adjust tests.
511
5122017-09-21  Nathan Sidwell  <nathan@acm.org>
513
514	PR demangler/82195
515	* cp-demangle.c (d_name): Revert addition of 'toplevel' parm.
516	(has_return_type): Recurse for DEMANGLE_COMPONENT_LOCAL_NAME.
517	(d_encoding): Revert d_name change.  Use is_fnqual_component_type
518	to strip modifiers that do not belong.
519	(d_special_name, d_class_enum_type): Revert d_name call change.
520	(d_expresion_1): Commonize DEMANGLE_COMPONENT_UNARY building.
521	(d_local_name): Revert parsing of a function type.
522	(d_print_comp_inner): An inner LOCAL_NAME might contain a
523	TEMPLATE.
524	* testsuite/demangle-expected: Add & adjust tests
525
5262017-09-15  Nathan Sidwell  <nathan@acm.org>
527
528	PR demangler/82195
529	* cp-demangle.c (d_name): Add 'toplevel' parm.  Pass to	...
530	(d_local_name): ... here.  Parse trailing function args on nested
531	local_name.
532	(d_encoding, d_special_name, d_class_enum_type): Adjust d_name calls.
533	* testsuite/demangle-expected: Add tests.
534
5352017-09-15  Richard Biener  <rguenther@suse.de>
536
537	PR lto/81968
538	* simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
539	Iterate marking dependent sections necessary.
540
5412017-09-15  Nathan Sidwell  <nathan@acm.org>
542
543	* cp-demangle.c (is_fnqual_component_type): Reimplement using
544	FNQUAL_COMPONENT_CASE.
545	(d_encoding): Hold bare_function_type in local var.
546	(d_local_name): Build name in both cases and build result once.
547	Collapse switch-if to single conditional.
548	(d_local_name): 
549
550	* testsuite/demangle-expected: Realign blank lines with tests.
551
5522017-09-12  Jiong Wang  <jiong.wang@arm.com>
553
554	* dwarfnames.c (DW_CFA_DUP): New define.
555
5562017-09-01  Martin Liska  <mliska@suse.cz>
557
558	* simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
559	Remove duplicite declaration.
560
5612017-08-31  Richard Biener  <rguenther@suse.de>
562
563	PR lto/81968
564	* simple-object-elf.c (simple_object_elf_copy_lto_debug_section):
565	Keep names of removed global symbols.
566
5672017-08-29  Tony Reix  <tony.reix@atos.net>
568
569	* simple-object-xcoff.c (simple_object_xcoff_find_sections):
570	Improve .go_export csect handling.  Don't make assumptions
571	on containing section or number of auxiliary entries.
572
5732017-08-28  Richard Biener  <rguenther@suse.de>
574
575	PR lto/81968
576	* simple-object-elf.c (simple_object_elf_copy_lto_debug_section):
577	Adjust field with for sh_type write, set SHF_EXCLUDE only for
578	removed sections.
579
5802017-08-22  Richard Biener  <rguenther@suse.de>
581
582	PR lto/81925
583	* simple-object-elf.c (simple_object_elf_write_shdr): Adjust
584	type of sh_addralign and sh_entsize and properly write
585	sh_entsize as Elf_Addr.
586	(simple_object_elf_write_to_file): Read sh_entsize as Elf_Addr.
587
5882017-08-21  Richard Biener  <rguenther@suse.de>
589
590	* simple-object-common.h (struct simple_object_functions): Add
591	copy_lto_debug_sections hook.
592	* simple-object.c: Include fcntl.h.
593	(handle_lto_debug_sections): New helper function.
594	(simple_object_copy_lto_debug_sections): New function copying
595	early LTO debug sections to regular debug sections in a new file.
596	(simple_object_start_write): Handle NULL segment_name.
597	* simple-object-coff.c (simple_object_coff_functions): Adjust
598	for not implemented copy_lto_debug_sections hook.
599	* simple-object-mach-o.c (simple_object_mach_o_functions): Likewise.
600	* simple-object-xcoff.c (simple_object_xcoff_functions): Likewise.
601	* simple-object-elf.c (SHT_NULL, SHT_SYMTAB, SHT_RELA, SHT_REL,
602	SHT_GROUP): Add various sectopn header types.
603	(SHF_EXCLUDE): Add flag.
604	(Elf32_External_Sym, Elf64_External_Sym): Add symbol struct.
605	(ELF_ST_BIND, ELF_ST_TYPE, ELF_ST_INFO): Add accessors.
606	(STT_OBJECT, STT_FUNC, STT_TLS, STT_GNU_IFUNC): Add Symbol types.
607	(STV_DEFAULT): Add symbol visibility.
608	(SHN_COMMON): Add special section index name.
609	(struct simple_object_elf_write): New.
610	(simple_object_elf_start_write): Adjust for new private data.
611	(simple_object_elf_write_shdr): Pass in values for all fields
612	we write.
613	(simple_object_elf_write_to_file): Adjust.  Copy from recorded
614	section headers if requested.
615	(simple_object_elf_release_write): Release private data.
616	(simple_object_elf_copy_lto_debug_sections): Copy and rename sections
617	as denoted by PFN and all their dependences, symbols and relocations
618	to the empty destination file.
619	(simple_object_elf_functions): Adjust for copy_lto_debug_sections hook.
620
6212017-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
622
623	* dwarfnames.c (DW_FIRST_IDX, DW_END_IDX, DW_IDX, DW_IDX_DUP): New.
624
6252017-06-07  Tony Reix  <tony.reix@atos.net>
626	    Matthieu Sarter  <matthieu.sarter.external@atos.net>
627	    David Edelsohn  <dje.gcc@gmail.com>
628
629	* simple-object-xcoff.c (simple_object_xcoff_find_sections):
630	Search symbol table for .go_export symbol and apply pfn if found.
631
6322017-05-31  DJ Delorie  <dj@redhat.com>
633
634	* configure.ac (strnlen): Add to AC_CHECK_DECLS.
635	* configure: Likewise.
636	* config.in: Add HACE_DECL_STRNLEN.
637
6382017-05-27  Iain Buclaw  <ibuclaw@gdcproject.org>
639
640	* d-demangle.c (dlang_identifier): Prefix mangled init symbols
641	with `initializer for'.
642	* testsuite/demangle-expected: Update tests.
643
6442017-05-27  Iain Buclaw  <ibuclaw@gdcproject.org>
645
646	* d-demangle.c (dlang_call_convention_p): Move declaration
647	before dlang_type.
648	(dlang_type): Handle function types.
649	* testsuite/d-demangle-expected: Add tests.
650
6512017-05-27  Iain Buclaw  <ibuclaw@gdcproject.org>
652
653	* d-demangle.c (dlang_parse_real): Remove stack buffer, write
654	the demangled hexadecimal directly to string.
655	* testsuite/d-demangle-expected: Add tests.
656
6572017-05-24  Eli Zaretskii  <eliz@gnu.org>
658
659	* waitpid.c (wait) [__MINGW32__]: Define as a macro
660	that calls _cwait, so that this function works on MinGW.
661
6622017-05-02  Iain Buclaw  <ibuclaw@gdcproject.org>
663
664	* d-demangle.c (dlang_hexdigit): New function.
665	(ascii2hex): Remove function.
666	(dlang_parse_string): Update to call dlang_hexdigit.
667	* testsuite/d-demangle-expected: Add tests.
668
6692017-05-02  Iain Buclaw  <ibuclaw@gdcproject.org>
670
671	* d-demangle.c (strtol): Remove declaration.
672	Updated all callers to use dlang_number.
673	(dlang_number): New function.
674	(dlang_value): Moved check for ISDIGIT into dlang_parse_integer.
675	* testsuite/d-demangle-expected: Add tests.
676
6772017-05-02  Iain Buclaw  <ibuclaw@gdcproject.org>
678
679	* d-demangle.c (dlang_parse_symbol): Remove function.
680	(dlang_parse_qualified): New function.
681	(dlang_parse_mangle): New function.
682	(dlang_type): Update to call dlang_parse_qualified.
683	(dlang_identifier): Update to call either dlang_parse_qualified or
684	dlang_parse_mangle.
685	(dlang_type_modifier_p): Remove function.
686	(dlang_call_convention_p): Don't allow type modifiers in mangle.
687	(dlang_template_args): Update to call dlang_identifier.
688	(dlang_demangle): Update to call dlang_parse_mangle.
689	* testsuite/d-demangle-expected: Add tests.
690
6912017-05-01  Iain Buclaw  <ibuclaw@gdcproject.org>
692
693	* d-demangle.c (dlang_value): Add comment explaining why cases for
694	digits are required.
695	* testsuite/d-demangle-expected: Update integer value tests.
696
6972017-05-01  Iain Buclaw  <ibuclaw@gdcproject.org>
698
699	* d-demangle.c (dlang_parse_symbol): Skip over anonymous symbols.
700	* testsuite/d-demangle-expected: Add tests.
701
7022017-05-01  Iain Buclaw  <ibuclaw@gdcproject.org>
703
704	* d-demangle.c (dlang_identifier): Handle template constraint symbols.
705	(dlang_parse_template): Only advance if template symbol prefix is
706	followed by a digit.
707	* testsuite/d-demangle-expected: Add tests.
708
7092017-05-01  Iain Buclaw  <ibuclaw@gdcproject.org>
710
711	* d-demangle.c (dlang_attributes): Handle scope attributes.
712	* testsuite/d-demangle-expected: Add tests.
713
7142017-04-27  Jonathan Wakely  <jwakely@redhat.com>
715
716	PR demangler/80513
717	* cp-demangle.c (d_number): Check for overflow.
718	* cplus-dem.c (consume_count): Fix overflow check.
719	(gnu_special): Check for underscore after thunk delta.
720	* testsuite/demangle-expected: Add tests for overflows and invalid
721	characters in thunks.
722
7232017-04-21  Mark Wielaard  <mark@klomp.org>
724
725	* cp-demangle.c (MAX_RECURSION_COUNT): New constant.
726	(struct d_print_info): Add recursion field.
727	(d_print_init): Initialize recursion.
728	(d_print_comp): Check and update d_print_info recursion depth.
729
7302017-04-21  Mark Wielaard  <mark@klomp.org>
731
732	* cp-demangle.c (d_substitution): Return NULL if d_add_substitution
733	fails.
734
7352017-04-21  Mark Wielaard  <mark@klomp.org>
736
737	* cp-demangle.h (struct d_info): Remove did_subs field.
738	* cp-demangle.c (struct d_info_checkpoint): Likewise.
739	(d_template_param): Don't update did_subs.
740	(d_substitution): Likewise.
741	(d_checkpoint): Don't assign did_subs.
742	(d_backtrack): Likewise.
743	(cplus_demangle_init_info): Don't initialize did_subs.
744
7452017-03-27  Pedro Alves  <palves@redhat.com>
746
747	* cp-demint.c (cplus_demangle_fill_component): Handle
748	DEMANGLE_COMPONENT_RVALUE_REFERENCE.
749
7502017-03-12  Mark Wielaard  <mark@klomp.org>
751
752	* cp-demangle.c (cplus_demangle_fill_name): Initialize
753	demangle_component d_printing.
754	(cplus_demangle_fill_extended_operator): Likewise.
755	(cplus_demangle_fill_ctor): Likewise.
756	(cplus_demangle_fill_dtor): Likewise.
757
7582017-03-08  Mark Wielaard  <mark@klomp.org>
759
760	PR demangler/70909
761	PR demangler/67264
762	* cp-demangle.c: Fix endless recursion. Pass
763	struct demangle_component as non const.
764	(d_make_empty): Initialize variable.
765	(d_print_comp_inner): Limit recursion.
766	(d_print_comp): Decrement variable.
767	* cp-demint.c (cplus_demangle_fill_component): Initialize
768	variable.
769	(cplus_demangle_fill_builtin_type): Likewise.
770	(cplus_demangle_fill_operator): Likewise.
771	* testsuite/demangle-expected: Add tests.
772
7732017-01-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
774
775	PR PR c++/70182
776	* cp-demangle.c (d_unqualified_name): Handle "on" for
777	operator names.
778	* testsuite/demangle-expected: Add tests.
779
7802017-01-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
781
782	PR c++/77489
783	* cp-demangle.c (d_discriminator): Handle discriminator >= 10.
784	* testsuite/demangle-expected: Add tests for discriminator.
785
7862017-01-04  Jakub Jelinek  <jakub@redhat.com>
787
788	Update copyright years.
789
7902017-01-04  Alan Modra  <amodra@gmail.com>
791
792	* Makefile.in (configure_deps): Update.
793	* configure: Regenerate.
794
7952016-12-13  Jakub Jelinek  <jakub@redhat.com>
796
797	PR c++/78761
798	* cp-demangle.c (cplus_demangle_type): Demangle Dc as decltype(auto).
799	* testsuite/demangle-expected: Add test for decltype(auto).
800
8012016-12-12  Nathan Sidwell  <nathan@acm.org>
802
803	PR c++/78252
804	* cp-demangle.c (struct d_print_info): Add is_lambda_arg field.
805	(d_print_init): Initialize it.
806	(d_print_comp_inner) <DEMANGLE_COMPONENT_TEMPLATE_PARAM>: Check
807	is_lambda_arg for auto.
808	<DEMANGLE_COMPONENT_REFERENCE,
809	DEMANGLE_COMPONENT_RVALUE_REFERENCE>: Skip smashing check when
810	is_lambda_arg.
811	<DEMANGLE_COMPONENT_LAMBDA>: Increment is_lambda_arg around arg
812	printing.
813	* testsuite/demangle-expected: Add lambda auto mangling cases. 
814
8152016-12-06  DJ Delorie  <dj@redhat.com>
816
817	* argv.c (expandargv): Check for directories passed as @-files.
818
8192016-11-30  David Malcolm  <dmalcolm@redhat.com>
820
821	PR c/78498
822	* strndup.c (strlen): Delete decl.
823	(strnlen): Add decl.
824	(strndup): Call strnlen rather than strlen.
825	* xstrndup.c (xstrndup): Likewise.
826
8272016-11-29  Nathan Sidwell  <nathan@acm.org>
828
829	* cp-demangle.c (d_print_comp_inner): Fix parameter indentation.
830
8312016-11-03  David Tolnay <dtolnay@gmail.com>
832	    Mark Wielaard  <mark@klomp.org>
833
834	* Makefile.in (CFILES): Add rust-demangle.c.
835	(REQUIRED_OFILES): Add rust-demangle.o.
836	* cplus-dem.c (libiberty_demanglers): Add rust_demangling case.
837	(cplus_demangle): Handle RUST_DEMANGLING.
838	(rust_demangle): New function.
839	* rust-demangle.c: New file.
840	* testsuite/Makefile.in (really-check): Add check-rust-demangle.
841	(check-rust-demangle): New rule.
842	* testsuite/rust-demangle-expected: New file.
843
8442016-11-15  Mark Wielaard  <mark@klomp.org>
845
846	* cp-demangle.c (d_expression_1): Make sure third expression
847	exists for ?: and fold expressions.
848	* testsuite/demangle-expected: Add examples of strings that could
849	crash the demangler because of missing expression.
850
8512016-11-14  Mark Wielaard  <mark@klomp.org>
852
853	* cplus-dem.c (demangle_signature): After 'H', template function,
854	no success and don't advance position if end of string reached.
855	(demangle_template): After 'z', template name, return zero on
856	premature end of string.
857	(gnu_special): Guard strchr against searching for zero characters.
858	(do_type): If member, only advance mangled string when 'F' found.
859	* testsuite/demangle-expected: Add examples of strings that could
860	crash the demangler by reading past end of input.
861
8622016-11-06  Mark Wielaard  <mark@klomp.org>
863
864	* configure.ac (ac_libiberty_warn_cflags): Add -Wshadow=local.
865	* configure: Regenerated.
866
8672016-11-07  Jason Merrill  <jason@redhat.com>
868
869	* cp-demangle.c (is_fnqual_component_type): New.
870	(d_encoding, d_print_comp_inner, d_print_mod_list): Use it.
871	(FNQUAL_COMPONENT_CASE): New.
872	(d_make_comp, has_return_type, d_print_comp_inner)
873	(d_print_function_type): Use it.
874	(next_is_type_qual): New.
875	(d_cv_qualifiers, d_print_mod): Handle noexcept and throw-spec.
876
8772016-11-02  Mark Wielaard  <mjw@redhat.com>
878
879	* cplus-dem.c (demangle_signature): Move fall through comment.
880	(demangle_fund_type): Add fall through comment between 'G' and 'I'.
881	* hashtab.c (iterative_hash): Add fall through comments.
882	* regex.c (regex_compile): Add Fall through comment after '+'/'?'.
883	(byte_re_match_2_internal): Add Fall through comment after jump_n.
884	Change "Note fall through" to "Fall through".
885	(common_op_match_null_string_p): Return false after set_number_at
886	instead of fall through.
887
8882016-11-01  Jason Merrill  <jason@redhat.com>
889
890	* cp-demangle.c (d_ctor_dtor_name): Handle inheriting constructor.
891
8922016-10-31  Mark Wielaard  <mjw@redhat.com>
893
894	* cplus-dem.c (ada_demangle): Initialize demangled to NULL and
895	XDELETEVEC demangled when unknown.
896
8972016-09-19  Andrew Stubbs  <ams@codesourcery.com>
898
899	* pex-win32.c (argv_to_cmdline): Quote zero-length parameters.
900	* testsuite/test-pexecute.c (main): Insert check for zero-length parameters.
901
9022016-09-10  Mark Wielaard  <mjw@redhat.com>
903
904	* cp-demangle.c (d_substitution): Change struct demangle_component
905	variable name from c to dc.
906
9072016-08-12  Marek Polacek  <polacek@redhat.com>
908
909	PR c/7652
910	* cp-demangle.c (d_print_mod): Add FALLTHRU.
911
9122016-08-04  Marcel B��hme  <boehme.marcel@gmail.com>
913
914	PR c++/71696
915	* cplus-dem.c: Prevent infinite recursion when there is a cycle
916	in the referencing of remembered mangled types.
917	(work_stuff): New stack to keep track of the remembered mangled
918	types that are currently being processed.
919	(push_processed_type): New method to push currently processed
920	remembered type onto the stack.
921	(pop_processed_type): New method to pop currently processed
922	remembered type from the stack.
923	(work_stuff_copy_to_from): Copy values of new variables.
924	(delete_non_B_K_work_stuff): Free stack memory.
925	(demangle_args): Push/Pop currently processed remembered type.
926	(do_type): Do not demangle a cyclic reference and push/pop
927	referenced remembered type.
928
9292016-07-29  Aldy Hernandez  <aldyh@redhat.com>
930
931	* make-relative-prefix.c (make_relative_prefix_1): Fall back to
932	malloc if alloca argument is greater than MAX_ALLOCA_SIZE.
933
9342016-07-15  Jason Merrill  <jason@redhat.com>
935
936	* cp-demangle.c (cplus_demangle_operators): Add f[lrLR].
937	(d_expression_1): Handle them.
938	(d_maybe_print_fold_expression): New.
939	(d_print_comp_inner): Use it.
940	(d_index_template_argument): Handle negative index.
941
942	* cp-demangle.c (cplus_demangle_operators): Add sP and sZ.
943	(d_print_comp_inner): Handle them.
944	(d_template_args_1): Split out from d_template_args.
945	(d_args_length): New.
946
9472016-07-13  Marcel B��hme  <boehme.marcel@gmail.com>
948
949	PR c++/70926
950	* cplus-dem.c: Handle large values and overflow when demangling
951	length variables.
952	(demangle_template_value_parm): Read only until end of mangled string.
953	(do_hpacc_template_literal): Likewise.
954	(do_type): Handle overflow when demangling array indices.
955
9562016-06-12  Brooks Moses  <bmoses@google.com>
957
958	* cp-demangle.c (cplus_demangle_print_callback): Avoid zero-length
959	  VLAs.
960
9612016-05-31  Alan Modra  <amodra@gmail.com>
962
963	* xmemdup.c (xmemdup): Use xmalloc rather than xcalloc.
964
9652016-05-19  Jakub Jelinek  <jakub@redhat.com>
966
967	PR c++/70498
968	* cp-demangle.c (d_expression_1): Formatting fix.
969
9702016-05-18  Artemiy Volkov  <artemiyv@acm.org>
971
972	* cplus-dem.c (enum type_kind_t): Add tk_rvalue_reference
973	constant.
974	(demangle_template_value_parm): Handle tk_rvalue_reference
975	type kind.
976	(do_type): Support 'O' type id (rvalue references).
977
978	* testsuite/demangle-expected: Add tests.
979
9802016-05-02  Marcel B��hme  <boehme.marcel@gmail.com>
981
982	PR c++/70498
983	* cp-demangle.c: Parse numbers as integer instead of long to avoid
984	overflow after sanity checks. Include <limits.h> if available.
985	(INT_MAX): Define if necessary.
986	(d_make_template_param): Takes integer argument instead of long.
987	(d_make_function_param): Likewise.
988	(d_append_num): Likewise.
989	(d_identifier): Likewise.
990	(d_number): Parse as and return integer.
991	(d_compact_number): Handle overflow.
992	(d_source_name): Change variable type to integer for parsed number.
993	(d_java_resource): Likewise.
994	(d_special_name): Likewise.
995	(d_discriminator): Likewise.
996	(d_unnamed_type): Likewise.
997	* testsuite/demangle-expected: Add regression test cases.
998
9992016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
1000
1001	* configure: Remove SH5 support.
1002
10032016-04-08  Marcel B��hme  <boehme.marcel@gmail.com>
1004
1005	PR c++/69687
1006	* cplus-dem.c: Include <limits.h> if available.
1007	(INT_MAX): Define if necessary.
1008	(remember_type, remember_Ktype, register_Btype, string_need):
1009	Abort if we detect cases where we the size of the allocation would
1010	overflow.
1011
1012	PR c++/70492
1013	* cplus-dem.c (gnu_special): Handle case where consume_count returns
1014	-1.
1015
10162016-03-31  Mikhail Maltsev  <maltsevm@gmail.com>
1017	    Marcel Bohme  <boehme.marcel@gmail.com>
1018
1019	PR c++/67394
1020	PR c++/70481
1021	* cplus-dem.c (squangle_mop_up): Zero bsize/ksize after freeing
1022	btypevec/ktypevec.
1023	* testsuite/demangle-expected: Add coverage tests.
1024
10252016-01-27  Iain Buclaw  <ibuclaw@gdcproject.org>
1026
1027	* d-demangle.c (dlang_call_convention): Handle extern Objective-C
1028	function calling convention.
1029	(dlang_call_convention_p): Likewise.
1030	(dlang_type): Likewise.
1031	* testsuite/d-demangle-expected: Add coverage tests.
1032
10332016-01-27  Iain Buclaw  <ibuclaw@gdcproject.org>
1034
1035	* d-demangle.c (dlang_function_args): Append ',' for variadic functions
1036	only if parameters were seen before the elipsis symbol.
1037	* testsuite/d-demangle-expected: Add coverage test for parameter-less
1038	variadic functions.
1039
10402016-01-27  Iain Buclaw  <ibuclaw@gdcproject.org>
1041
1042	* d-demangle.c (dlang_type): Handle function types only in the context
1043	of seeing a pointer type symbol.
1044	* testsuite/d-demangle-expected: Update function pointer tests.
1045
10462016-01-05  Mike Frysinger  <vapier@gentoo.org>
1047
1048	* argv.c (dupargv): Change arg to char * const *.  Update comment.
1049	(writeargv, countargv): Likewise.
1050	* functions.texi (dupargv, writeargv, countargv): Likewise.
1051
10522016-01-05  Mike Frysinger  <vapier@gentoo.org>
1053
1054	* argv.c (dupargv): Replace strlen/xmalloc/strcpy with xstrdup.
1055
10562015-12-28  Patrick Palka  <ppalka@gcc.gnu.org>
1057
1058	* crc32.c: In the documentation, don't refer to GDB's
1059	now-nonexistent crc32 implementation.  In the table-generation
1060	program embedded within the documentation, change the type of
1061	the induction variables i and j from int to unsigned int, to
1062	avoid undefined behavior.
1063
10642015-12-21  Nick Clifton  <nickc@redhat.com>
1065
1066	PR 66827
1067	* regex.c (EXTRACT_NUMBER): Cast sign byte to unsigned before left
1068	shifting.
1069
10702015-11-27  Pedro Alves  <palves@redhat.com>
1071
1072	PR other/61321
1073	PR other/61233
1074	* cp-demangle.c (d_demangle_callback, d_make_comp): Handle
1075	DEMANGLE_COMPONENT_CONVERSION.
1076	(is_ctor_dtor_or_conversion): Handle DEMANGLE_COMPONENT_CONVERSION
1077	instead of DEMANGLE_COMPONENT_CAST.
1078	(d_operator_name): Return a DEMANGLE_COMPONENT_CONVERSION
1079	component if handling a conversion.
1080	(d_count_templates_scopes, d_print_comp_inner): Handle
1081	DEMANGLE_COMPONENT_CONVERSION.
1082	(d_print_comp_inner): Handle DEMANGLE_COMPONENT_CONVERSION instead
1083	of DEMANGLE_COMPONENT_CAST.
1084	(d_print_cast): Rename as ...
1085	(d_print_conversion): ... this.  Adjust comments.
1086	(d_print_cast): Rewrite - simply print the left subcomponent.
1087	* cp-demint.c (cplus_demangle_fill_component): Handle
1088	DEMANGLE_COMPONENT_CONVERSION.
1089
1090	* testsuite/demangle-expected: Add tests.
1091
10922015-11-12  Mike Stump  <mikestump@comcast.net>
1093
1094	* Makefile.in (etags tags TAGS): Use && instead of ;.
1095
10962015-11-09  Alan Modra  <amodra@gmail.com>
1097
1098	* configure.ac: Check size of size_t.
1099	* configure: Regenerate.
1100	* config.in: Regenerate.
1101
11022015-11-09  Alan Modra  <amodra@gmail.com>
1103
1104	* obstack.c (_obstack_newchunk): Silence -Wc++compat warning.
1105	(_obstack_begin_worker): Likewise.  Move assignment to h->chunk
1106	after alloc failure check.
1107
11082015-11-09  Alan Modra  <amodra@gmail.com>
1109
1110	PR gdb/17133
1111	* obstack.c (__alignof__): Expand alignof_type from alignof.h.
1112	(obstack_exit_failure): Don't use exitfail.h.
1113	(_): Include libintl.h when HAVE_LIBINTL_H and nls enabled.
1114	Provide default.  Don't include gettext.h.
1115	(_Noreturn): Define.
1116	* obstacks.texi: Adjust node references to external libc info files.
1117
11182015-11-09  Alan Modra  <amodra@gmail.com>
1119
1120	PR gdb/17133
1121	* obstack.c: Import current gnulib file.
1122	* obstacks.texi: Updated doc, from glibc's manual/memory.texi.
1123
11242015-11-06  Joel Brobecker  <brobecker@adacore.com>
1125
1126	* configure.ac: Set AC_CV_FUNC_GETPAGESIZE to "yes" on
1127	Android hosts.
1128	* configure: Regenerate.
1129
11302015-10-28  Jason Merrill  <jason@redhat.com>
1131
1132	* Makefile.in (TAGS): Fix for separate build directory.
1133
11342015-10-18  Roland McGrath  <roland@gnu.org>
1135	    Iain Sandoe  <iain@codesourcery.com>
1136
1137	PR other/63758
1138	* pex-unix.c: Obtain the environment interface from settings in
1139	environ.h rather than in-line code.  Update copyright date.
1140	* setenv.c: Likewise.
1141	* xmalloc.c: Likewise.
1142
11432015-09-30  Jason Merrill  <jason@redhat.com>
1144
1145	* cp-demangle.c (d_cv_qualifiers): Dx means transaction_safe.
1146	(cplus_demangle_type): Let d_cv_qualifiers handle it.
1147	(d_dump, d_make_comp, has_return_type, d_encoding)
1148	(d_count_templates_scopes, d_print_comp_inner)
1149	(d_print_mod_list, d_print_mod, d_print_function_type)
1150	(is_ctor_or_dtor): Handle DEMANGLE_COMPONENT_TRANSACTION_SAFE.
1151
11522015-08-15  Ian Lance Taylor  <iant@google.com>
1153
1154	* cp-demangle.c (d_abi_tags): Preserve di->last_name across any
1155	ABI tags.
1156
11572015-08-11  Iain Buclaw  <ibuclaw@gdcproject.org>
1158
1159	* d-demangle.c (dlang_parse_real): Remove call to strtod.
1160	(strtod): Remove declaration.
1161	* testsuite/d-demangle-expected: Update float and complex literal
1162	tests to check correct hexadecimal demangling.
1163
11642015-07-13  Mikhail Maltsev  <maltsevm@gmail.com>
1165
1166	* cp-demangle.c (d_dump): Fix syntax error.
1167	(d_identifier): Adjust type of len to match d_source_name.
1168	(d_expression_1): Fix out-of-bounds access.  Check code variable for
1169	NULL before dereferencing it.
1170	(d_find_pack): Do not recurse for FIXED_TYPE, DEFAULT_ARG and NUMBER.
1171	(d_print_comp_inner): Add NULL pointer check.
1172	* cp-demangle.h (d_peek_next_char): Define as inline function when
1173	CHECK_DEMANGLER is defined.
1174	(d_advance): Likewise.
1175	* testsuite/demangle-expected: Add new testcases.
1176
11772015-07-09  Uros Bizjak  <ubizjak@gmail.com>
1178
1179	* getruntime.c (RUSAGE_SELF): Define if not already defined.
1180	(get_runtime): Use RUSAGE_SELF as argument 1 of getrusage call.
1181
11822015-06-01  Jason Merrill  <jason@redhat.com>
1183
1184	* cp-demangle.c (cplus_demangle_type): Handle arguments to vendor
1185	extended qualifier.
1186
11872015-05-22  Yunlian Jiang  <yunlian@google.com>
1188
1189	* configure.ac: Add AC_GNU_SOURCE.
1190	* Makefile.in (COMPILE.c): Add -D_GNU_SOURCE.
1191	* configure, config.in: Rebuild.
1192	* floatformat.c (_GNU_SOURCE): Don't define if already defined.
1193
11942015-05-16  Iain Buclaw  <ibuclaw@gdcproject.org>
1195
1196	* d-demangle.c (dlang_symbol_kinds): New enum.
1197	(dlang_parse_symbol): Update signature.  Handle an ambiguity between
1198	pascal functions and template value arguments.  Only check for a type
1199	if parsing a function, or at the top level.  Return failure if the
1200	entire symbol was not successfully demangled.
1201	(dlang_identifier): Update signature.  Handle an ambiguity between two
1202	adjacent digits in a mangled symbol string.
1203	(dlang_type): Update call to dlang_parse_symbol.
1204	(dlang_template_args): Likewise.
1205	(dlang_parse_template): Likewise.
1206	(dlang_demangle): Likewise.
1207	* testsuite/d-demangle-expected: Fix bad tests found, and add problematic
1208	examples to the unittests.
1209
12102015-05-16  Iain Buclaw  <ibuclaw@gdcproject.org>
1211
1212	* d-demangle.c (dlang_template_args): Skip over specialized template
1213	parameters in mangled symbol.
1214	* testsuite/d-demangle-expected: Add coverage and unittest for specialized
1215	template parameters.
1216
12172015-05-16  Iain Buclaw  <ibuclaw@gdcproject.org>
1218
1219	* d-demangle.c (dlang_type): Handle cent and ucent types.
1220	* testsuite/d-demangle-expected: Add coverage tests for cent and ucent.
1221
12222015-05-16  Iain Buclaw  <ibuclaw@gdcproject.org>
1223
1224	* d-demangle.c (dlang_attributes): Handle return attributes, ignoring
1225	return parameters in the mangled string.  Return NULL if have encountered
1226	an unknown attribute.
1227	(dlang_function_args): Handle return parameters in the mangled string.
1228	* testsuite/d-demangle-expected: Add coverage tests for functions with
1229	return parameters and return attributes.
1230
12312015-05-16  Iain Buclaw  <ibuclaw@gdcproject.org>
1232
1233	* d-demangle.c (dlang_identifier): Check encoded length of identifier
1234	to verify strncmp matches entire string.
1235	* testsuite/d-demangle-expected: Fix wrong test for postblit symbol.
1236
12372015-05-16  Iain Buclaw  <ibuclaw@gdcproject.org>
1238
1239	* d-demangle.c (dlang_type_modifiers): New function.
1240	(dlang_type_modifier_p): New function.
1241	(dlang_call_convention_p): Ignore any kind of type modifier.
1242	(dlang_type): Handle and emit the type modifier after delegate types.
1243	(dlang_parse_symbol): Handle and emit the type modifier after the symbol.
1244	* testsuite/d-demangle-expected: Add coverage tests for all valid
1245	usages of function symbols with type modifiers.
1246
12472015-05-16  Iain Buclaw  <ibuclaw@gdcproject.org>
1248
1249	* d-demangle.c (dlang_call_convention): Return NULL if have reached the
1250	end of the symbol, but expected something to read.
1251	(dlang_attributes): Likewise.
1252	(dlang_function_type): Likewise.
1253	(dlang_type): Likewise.
1254	(dlang_identifier): Likewise.
1255	(dlang_value): Likewise.
1256
12572015-05-16  Iain Buclaw  <ibuclaw@gdcproject.org>
1258
1259	* d-demangle.c (dlang_parse_string): Represent embedded whitespace or
1260	non-printable characters as hex or escape sequences.
1261	* testsuite/d-demangle-expected: Add test for templates with tabs and
1262	newlines embedded into the signature.
1263
12642015-05-08  Joel Brobecker  <brobecker@adacore.com>
1265
1266	* mkstemps.c: #include <time.h> if HAVE_TIME_H is defined
1267	but not HAVE_SYS_TIME_H.
1268
12692015-04-22  Eli Zaretskii  <eliz@gnu.org>
1270
1271	* setenv.c <environ>: Declare only if not a macro.
1272
12732015-04-14  Max Ostapenko  <m.ostapenko@partner.samsung.com>
1274
1275	* testsuite/Makefile.in (LIBCFLAGS): Add LDFLAGS.
1276
12772015-04-10  Jakub Jelinek  <jakub@redhat.com>
1278	    Iain Sandoe  <iain@codesourcery.com>
1279
1280	PR target/65351
1281	* configure: Regenerate.
1282
12832015-04-07  Jakub Jelinek  <jakub@redhat.com>
1284	    Iain Sandoe  <iain@codesourcery.com>
1285
1286	PR target/65351
1287	* configure: Regenerate.
1288
12892015-01-19  Eli Zaretskii  <eliz@gnu.org>
1290
1291	* strerror.c <sys_nerr, sys_errlist>: Declare only if they aren't
1292	macros.
1293
12942014-12-24  Uros Bizjak  <ubizjak@gmail.com>
1295	    Ben Elliston  <bje@au.ibm.com>
1296	    Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
1297
1298	* xasprintf.c: New file.
1299	* Makefile.in (CFILES): Add xasprintf.c.
1300	(REQUIRED_OFILES): Add xasprintf.$(objext).
1301	(xasprintf.$(objext)): New target.
1302	* functions.texi: Regenerate.
1303
13042014-12-11  Uros Bizjak  <ubizjak@gmail.com>
1305	    Ben Elliston  <bje@au.ibm.com>
1306	    Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
1307
1308	* xvasprintf.c: New file.
1309	* vprintf-support.h: Likewise.
1310	* vprintf-support.c: Likewise.
1311	* Makefile.in (CFILES): Add vprintf-support.c, xvasprintf.c.
1312	(REQUIRED_OFILES): Add vprintf-support.$(objext), xvasprintf.$(objext).
1313	(vprintf-support.$(objext), xvasprintf.$(objext)): New targets.
1314	(vasprintf.$(objext)): Depend on $(srcdir)/vprintf-support.h.
1315	* functions.texi: Regenerate.
1316	* vasprintf.c (int_vasprintf): Use libiberty_vprintf_buffer_size.
1317
13182014-11-22  John David Anglin  <danglin@gcc.gnu.org>
1319
1320	PR other/63694
1321	* configure.ac: Check for strtol, strtoul, strtoll and strtoull
1322	declarations.
1323	* configure: Regenerated.
1324
13252014-11-12  Kirill Yukhin  <kirill.yukhin@intel.com>
1326
1327	* testsuite/test-strtol.c (run_tests): Cast strtol return to
1328	unsigned long.
1329
13302014-11-11  Anthony Brandon  <anthony.brandon@gmail.com>
1331	    Manuel L��pez-Ib����ez  <manu@gcc.gnu.org>
1332
1333	PR driver/36312
1334	* filename_cmp.c (canonical_filename_eq): New function to check if
1335	file names are the same.
1336	* functions.texi: Updated with documentation for new function.
1337
13382014-11-11  David Malcolm  <dmalcolm@redhat.com>
1339
1340	* ChangeLog.jit: New.
1341
13422014-11-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1343
1344	* sigsetmask.c (_POSIX_SOURCE): Remove.
1345
13462014-10-28  Yury Gribov  <y.gribov@samsung.com>
1347
1348	* strtoll.c: New file.
1349	* strtoull.c: New file.
1350	* configure.ac: Add long long checks.  Add harness for strtoll and
1351	strtoull.  Check decls for strtol, strtoul, strtoll, strtoull.
1352	* Makefile.in (CFILES, CONFIGURED_OFILES): Add strtoll and strtoull.
1353	* config.in: Regenerate.
1354	* configure: Regenerate.
1355	* functions.texi: Regenerate.
1356	* testsuite/Makefile.in (check-strtol): New rule.
1357	(test-strtol): Likewise.
1358	(mostlyclean): Clean up strtol test.
1359	* testsuite/test-strtol.c: New test.
1360
13612014-10-15  David Malcolm  <dmalcolm@redhat.com>
1362
1363	* choose-temp.c (choose_tmpdir): Remove now-redundant local
1364	copy of prototype.
1365	* functions.texi: Regenerate.
1366	* make-temp-file.c (choose_tmpdir): Convert return type from
1367	char * to const char * - given that this returns a pointer to
1368	a memoized allocation, the caller must not touch it.
1369
13702014-10-14  Joel Brobecker  <brobecker@adacore.com>
1371
1372	* d-demangle.c: Replace strtold with strtod in global comment.
1373	(strtold): Remove declaration.
1374	(strtod): New declaration.
1375	(dlang_parse_real): Declare value as double instead of long
1376	double.  Replace call to strtold by call to strtod.
1377	Update format in call to snprintf.
1378
13792014-09-26  Jason Merrill  <jason@redhat.com>
1380
1381	* cp-demangle.c (d_substitution): Handle abi tags on abbreviation.
1382
13832014-09-26  Max Ostapenko  <m.ostapenko@partner.samsung.com>
1384
1385	* pex-common.h (struct pex_funcs): Add new parameter for open_write field.
1386	* pex-unix.c (pex_unix_open_write): Add support for new parameter.
1387	* pex-djgpp.c (pex_djgpp_open_write): Likewise.
1388	* pex-win32.c (pex_win32_open_write): Likewise.
1389	* pex-common.c (pex_run_in_environment): Likewise.
1390
13912014-09-23  Iain Buclaw  <ibuclaw@gdcproject.org>
1392
1393	* Makefile.in (CFILES): Add d-demangle.c.
1394	(REQUIRED_OFILES): Add d-demangle.o.
1395	* cplus-dem.c (libiberty_demanglers): Add dlang_demangling case.
1396	(cplus_demangle): Likewise.
1397	* d-demangle.c: New file.
1398	* testsuite/Makefile.in (really-check): Add check-d-demangle.
1399	* testsuite/d-demangle-expected: New file.
1400
14012014-09-19  Ian Lance Taylor  <iant@google.com>
1402
1403	* simple-object-elf.c (simple_object_elf_write_ehdr): Correctly
1404	handle objects with more than SHN_LORESERVE sections.
1405	(simple_object_elf_write_shdr): Add sh_link parameter.
1406	(simple_object_elf_write_to_file): Correctly handle objects with
1407	more than SHN_LORESERVE sections.
1408
14092014-08-29  Andrew Burgess  <aburgess@broadcom.com>
1410
1411	* cp-demangle.c (d_dump): Only access field from s_fixed part of
1412	the union for DEMANGLE_COMPONENT_FIXED_TYPE.
1413	(d_count_templates_scopes): Likewise.
1414
14152014-08-13  Gary Benson  <gbenson@redhat.com>
1416
1417	* testsuite/demangler-fuzzer.c: New file.
1418	* testsuite/Makefile.in (fuzz-demangler): New rule.
1419	(demangler-fuzzer): Likewise.
1420	(mostlyclean): Clean up demangler fuzzer.
1421
14222014-06-11  Andrew Burgess  <aburgess@broadcom.com>
1423
1424	* cplus-dem.c (do_type): Call string_delete even if the call to
1425	demangle_template fails.
1426
14272014-06-01  Ray Donnelly  <mingw.android@gmail.com>
1428
1429	* pex-win32.c (argv_to_cmdline): Don't quote
1430	args unnecessarily
1431
14322014-05-28  Pedro Alves  <palves@redhat.com>
1433
1434	* cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_FUNCTION_PARAM
1435	and DEMANGLE_COMPONENT_NUMBER.
1436
14372014-05-22  Thomas Schwinge  <thomas@codesourcery.com>
1438
1439	* testsuite/demangle-expected: Fix last commit.
1440
14412014-05-14  Andrew Burgess  <aburgess@broadcom.com>
1442
1443	* cplus-dmem.c (internal_cplus_demangle): Free any resources
1444	allocated by possible previous call to gnu_special.
1445	(squangle_mop_up): Reset pointers to NULL after calling free.
1446	* testsuite/demangle-expected: New test case.
1447
14482014-05-08  Gary Benson  <gbenson@redhat.com>
1449
1450	* cp-demangle.c (struct d_component_stack): New structure.
1451	(struct d_print_info): New field component_stack.
1452	(d_print_init): Initialize the above.
1453	(d_print_comp_inner): Renamed from d_print_comp.
1454	Do not restore template stack if it would cause a loop.
1455	(d_print_comp): New function.
1456	* testsuite/demangle-expected: New test cases.
1457
14582014-04-17  Jakub Jelinek  <jakub@redhat.com>
1459
1460	PR sanitizer/56781
1461	* maint-tool: Also emit rule for noasan/ subdirectory.
1462	* configure.ac (NOASANFLAG): Set and substitute.
1463	* Makefile.in: Regenerated.
1464	(NOASANFLAG): Set.
1465	(all, $(TARGETLIB), mostlyclean): Handle noasan subdir like pic
1466	subdir.
1467	(stamp-noasandir): New goal.
1468	* configure: Regenerated.
1469
14702014-04-01  Richard Biener  <rguenther@suse.de>
1471
1472	* simple-object.c (simple_object_internal_write): Handle
1473	EINTR and short writes.
1474
14752014-03-28  Richard Biener  <rguenther@suse.de>
1476
1477	* simple-object.c (simple_object_internal_read): Handle
1478	EINTR and short reads.
1479
14802014-03-13  Uros Bizjak  <ubizjak@gmail.com>
1481
1482	* regex.c (bzero) [!_LIBC]: Define without coma expression.
1483	(regerror): Cast the call to memcpy to (void) to avoid unused
1484	value warnings.
1485
14862014-01-28  Thomas Schwinge  <thomas@codesourcery.com>
1487
1488	* cp-demangle.c (d_demangle_callback): Put an abort call in place,
1489	to help the compiler.
1490
14912014-01-21  Tom Tromey  <tromey@redhat.com>
1492
1493	* _doprint.c (checkit): Use stdarg, not VA_* macros.
1494	* asprintf.c (asprintf): Use stdarg, not VA_* macros.
1495	* concat.c (concat_length, concat_copy, concat_copy2, concat)
1496	(reconcat): Use stdarg, not VA_* macros.
1497	* snprintf.c (snprintf): Use stdarg, not VA_* macros.
1498	* vasprintf.c (checkit): Use stdarg, not VA_* macros.
1499	* vsnprintf.c (checkit): Use stdarg, not VA_* macros.
1500
15012014-01-06  Mike Frysinger  <vapier@gentoo.org>
1502
1503	PR other/56780
1504	* configure.ac: Delete target_header_dir assignment.
1505	* configure: Regenerated.
1506
15072014-01-06  Gary Benson  <gbenson@redhat.com>
1508
1509	* cp-demangle.c (struct d_print_info): New fields
1510	next_saved_scope, copy_templates, next_copy_template and
1511	num_copy_templates.
1512	(d_count_templates): New function.
1513	(d_print_init): New parameter "dc".
1514	Estimate numbers of templates and scopes required.
1515	(d_print_free): Removed function.
1516	(cplus_demangle_print_callback): Allocate stack for
1517	templates and scopes.  Removed call to d_print_free.
1518	(d_copy_templates): Removed function.
1519	(d_save_scope): New function.
1520	(d_get_saved_scope): Likewise.
1521	(d_print_comp): Replace state saving/restoring code with
1522	calls to d_save_scope and d_get_saved_scope.
1523
15242013-12-23  Bill Maddox  <maddox@google.com>
1525
1526	* cp-demangle.c (cplus_demangle_fill_ctor,cplus_demangle_fill_dtor):
1527	Handle unified ctor/dtor.
1528	(d_ctor_dtor_name): Handle unified ctor/dtor.
1529
15302013-11-22  Cary Coutant  <ccoutant@google.com>
1531    
1532	PR other/59195
1533	* cp-demangle.c (struct d_info_checkpoint): New struct.
1534	(struct d_print_info): Add current_template field.
1535	(d_operator_name): Set flag when processing a conversion
1536	operator.
1537	(cplus_demangle_type): When processing <template-args> for
1538	a conversion operator, backtrack if necessary.
1539	(d_expression_1): Renamed from d_expression.
1540	(d_expression): New wrapper around d_expression_1.
1541	(d_checkpoint): New function.
1542	(d_backtrack): New function.
1543	(d_print_init): Initialize current_template.
1544	(d_print_comp): Set current_template.
1545	(d_print_cast): Put current_template in scope for
1546	printing conversion operator name.
1547	(cplus_demangle_init_info): Initialize is_expression and
1548	is_conversion.
1549	* cp-demangle.h (struct d_info): Add is_expression and
1550	is_conversion fields.
1551	* testsuite/demangle-expected: New test cases.
1552
15532013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
1554
1555	* configure: Regenerate.
1556
15572013-11-12  Uros Bizjak  <ubizjak@gmail.com>
1558
1559	* cp-demangle.c (d_copy_templates): Cast result of malloc
1560	to (struct d_print_template *).
1561	(d_print_comp): Cast result of realloc to (struct d_saved scope *).
1562
15632013-10-29  Marc Glisse  <marc.glisse@inria.fr>
1564
1565	PR tree-optimization/58689
1566	* concat.c: Remove note about xmalloc.
1567
15682013-10-27  Gerald Pfeifer  <gerald@pfeifer.com>
1569
1570	* testsuite/test-demangle.c: Include unistd.h.
1571
15722013-10-25  Gary Benson  <gbenson@redhat.com>
1573
1574	* cp-demangle.c (struct d_saved_scope): New structure.
1575	(struct d_print_info): New fields saved_scopes and
1576	num_saved_scopes.
1577	(d_print_init): Initialize the above.
1578	(d_print_free): New function.
1579	(cplus_demangle_print_callback): Call the above.
1580	(d_copy_templates): New function.
1581	(d_print_comp): New variables saved_templates and
1582	need_template_restore.
1583	[DEMANGLE_COMPONENT_REFERENCE, DEMANGLE_COMPONENT_RVALUE_REFERENCE]:
1584	Capture scope the first time the component is traversed, and use the
1585	captured scope for subsequent traversals.
1586	* testsuite/demangle-expected: Add regression test.
1587
15882013-10-23  Gerald Pfeifer  <gerald@pfeifer.com>
1589
1590	* testsuite/test-expandargv.c: Include unistd.h.
1591
15922013-10-15  David Malcolm  <dmalcolm@redhat.com>
1593
1594	* configure.ac: If --enable-host-shared, use -fPIC.
1595	* configure: Regenerate.
1596
15972013-10-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1598
1599	* cp-demangle.c (d_name): Demangle local-source-names.
1600	* testsuite/demangle-expected: New test.
1601
16022013-09-10  Paolo Carlini  <paolo.carlini@oracle.com>
1603
1604	PR bootstrap/58386
1605	Revert:
1606
1607	2013-09-10  Gary Benson  <gbenson@redhat.com>
1608
1609	* cp-demangle.c: Include hashtab.h.
1610	(struct d_print_info): New field saved_scopes.
1611	(d_print_init): Initialize the above.
1612	(d_print_free): New function.
1613	(cplus_demangle_print_callback): Call the above.
1614	(struct d_saved_scope): New structure.
1615	(d_store_scope): New function.
1616	(d_free_scope) Likewise.
1617	(d_restore_scope) Likewise.
1618	(d_hash_saved_scope) Likewise.
1619	(d_equal_saved_scope) Likewise.
1620	(d_print_comp): New variable saved_scope.
1621	[DEMANGLE_COMPONENT_REFERENCE,
1622	DEMANGLE_COMPONENT_RVALUE_REFERENCE]: Capture scope the first
1623	time the component is traversed, and use the captured scope for
1624	subsequent traversals.
1625	* testsuite/demangle-expected: Add regression test.
1626
16272013-09-10  Gary Benson  <gbenson@redhat.com>
1628
1629	* cp-demangle.c: Include hashtab.h.
1630	(struct d_print_info): New field saved_scopes.
1631	(d_print_init): Initialize the above.
1632	(d_print_free): New function.
1633	(cplus_demangle_print_callback): Call the above.
1634	(struct d_saved_scope): New structure.
1635	(d_store_scope): New function.
1636	(d_free_scope) Likewise.
1637	(d_restore_scope) Likewise.
1638	(d_hash_saved_scope) Likewise.
1639	(d_equal_saved_scope) Likewise.
1640	(d_print_comp): New variable saved_scope.
1641	[DEMANGLE_COMPONENT_REFERENCE,
1642	DEMANGLE_COMPONENT_RVALUE_REFERENCE]: Capture scope the first
1643	time the component is traversed, and use the captured scope for
1644	subsequent traversals.
1645	* testsuite/demangle-expected: Add regression test.
1646
16472013-08-20  Alan Modra  <amodra@gmail.com>
1648
1649	* floatformat.c (floatformat_ibm_long_double): Rename to..
1650	(floatformat_ibm_long_double_big): ..this.
1651	(floatformat_ibm_long_double_little): New.
1652
16532013-07-09  Tristan Gingold  <gingold@adacore.com>
1654
1655	* makefile.vms (OBJS): Add dwarfnames.obj
1656
16572013-05-31  Matt Burgess <matthew@linuxfromscratch.org>
1658
1659	PR other/56780
1660	* configure.ac: Move test for --enable-install-libiberty
1661	outside of the 'with_target_subdir' test so that it actually gets
1662	run.  Add output messages to show the test result.
1663	* configure: Regenerate.
1664	* Makefile.in (install_to_libdir): Place the
1665	installation of the libiberty library in the same guard as that
1666	used for the headers to prevent it being installed unless
1667	requested via --enable-install-libiberty.
1668
16692013-05-06  David Edelsohn  <dje.gcc@gmail.com>
1670	    Peter Bergner  <bergner@vnet.ibm.com>
1671	    Segher Boessenkool  <segher@kernel.crashing.org>
1672	    Jakub Jelinek  <jakub@redhat.com>
1673
1674	* hashtab.c (hash_pointer): Remove conditional and avoid
1675	unexecuted shift equal to wordsize.
1676
16772013-04-22  Andi Kleen  <ak@linux.intel.com>
1678
1679	* hashtab.c (hash_pointer): Move to end of file and reimplement.
1680
16812013-04-03  Jason Merrill  <jason@redhat.com>
1682
1683	* cp-demangle.c (cplus_demangle_type): Fix function quals.
1684	(d_pointer_to_member_type): Simplify.
1685
1686	Demangle C++11 ref-qualifier.
1687	* cp-demangle.c (d_ref_qualifier): New.
1688	(d_nested_name, d_function_type): Use it.
1689	(d_parmlist): Don't get confused by a ref-qualifier.
1690	(cplus_demangle_type): Reorder ref-qualifier.
1691	(d_pointer_to_member_type): Likewise.
1692	(d_dump): Handle DEMANGLE_COMPONENT_REFERENCE_THIS and
1693	DEMANGLE_COMPONENT_RVALUE_REFERENCE_THIS.
1694	(d_make_comp, has_return_type, d_encoding): Likewise.
1695	(d_print_comp, d_print_mod_list, d_print_mod): Likewise.
1696	(d_print_function_type, is_ctor_or_dtor): Likewise.
1697
16982013-03-27  Kai Tietz  <ktietz@redhat.com>
1699
1700	* configure: Regenerated.
1701
17022013-03-06  Tobias Burnus  <burnus@net-b.de>
1703
1704	* libiberty.texi: Update comment, remove lowersections.
1705	* obstacks.texi: Regenerate.
1706
17072013-03-05  Jakub Jelinek  <jakub@redhat.com>
1708
1709	PR middle-end/56526
1710	* simple-object-mach-o.c (simple_object_mach_o_segment): Initialize
1711	wrapper_sect_offset to avoid a warning.
1712
17132013-03-01  Andreas Schwab  <schwab@linux-m68k.org>
1714
1715	* obstacks.texi (Obstacks): Trim @node to only contain the
1716	node name.
1717	* libiberty.texi (Obstacks): Lower section.
1718
17192013-02-14  Jason Merrill  <jason@redhat.com>
1720
1721	* cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_DEFAULT_ARG.
1722	(d_print_comp): Likewise.
1723
17242013-02-09  Jakub Jelinek  <jakub@redhat.com>
1725
1726	PR other/56245
1727	* regex.c (PTR_INT_TYPE): Define.
1728	(EXTEND_BUFFER): Change incr type from int to PTR_INT_TYPE.
1729
17302013-01-31  Kai Tietz  <ktietz@redhat.com>
1731
1732	PR other/54620
1733	* sha1.c (sha1_process_block):  Handle case that size_t is
1734	a wider-integer-scalar as a 32-bit unsigned integer.
1735
1736	PR other/53413
1737	* md5.c (md5_process_block):  Handle case that size_t is
1738	a wider-integer-scalar a 32-bit unsigned integer.
1739
17402013-01-04  Ian Lance Taylor  <iant@google.com>
1741
1742	PR other/54800
1743	* simple-object-mach-o.c (simple_object_mach_o_segment): Don't
1744	bother to zero out a buffer we are about to set anyhow.
1745
17462013-01-01  David Edelsohn  <dje.gcc@gmail.com>
1747
1748	* simple-object-xcoff.c: New file.
1749	* Makefile.in: Add it to build machinery.
1750	* simple-object-common.h (simple_object_xcoff_functions): Declare.
1751	* simple-object.c (format_functions): Add
1752	simple_object_xcoff_functions.
1753
17542012-11-10  Jason Merrill  <jason@redhat.com>
1755
1756	* cp-demangle.c (d_unqualified_name): Handle abi tags here.
1757	(d_name): Not here.
1758
17592012-11-09  Jason Merrill  <jason@redhat.com>
1760
1761	* cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_TAGGED_NAME.
1762	(d_make_comp, d_find_pack, d_print_comp): Likewise.
1763	(d_abi_tags): New.
1764	(d_name): Call it.
1765
17662012-10-08  Jason Merrill  <jason@redhat.com>
1767
1768	* cp-demangle.c (d_special_name, d_dump): Handle TH and TW.
1769	(d_make_comp, d_print_comp): Likewise.
1770
17712012-09-18  Ian Lance Taylor  <iant@google.com>
1772
1773	* strnlen.c: New file.
1774	* configure.ac: Check for strnlen, add it to AC_LIBOBJ if it's not
1775	present.
1776	* Makefile.in: Rebuild dependencies.
1777	(CFILES): Add strnlen.c.
1778	(CONFIGURED_OFILES): Add ./strnlen.$(objext).
1779	* configure, config.in, functions.texi: Rebuild.
1780
1781	* maint-tool: Accept .def files in the include directory.
1782
17832012-09-18  Florian Weimer  <fweimer@redhat.com>
1784
1785	PR other/54411
1786	* objalloc.c (_objalloc_alloc): Add overflow check covering
1787	alignment and CHUNK_HEADER_SIZE addition.
1788
17892011-08-28  H.J. Lu  <hongjiu.lu@intel.com>
1790
1791	* argv.c (dupargv): Replace malloc with xmalloc.  Don't check
1792	xmalloc return.
1793	(buildargv): Likewise.  Also replace strdup with xstrdup.
1794	(expandargv): Don't check dupargv return.
1795
17962011-08-28  H.J. Lu  <hongjiu.lu@intel.com>
1797
1798	PR binutils/14526
1799	* argv.c (buildargv): Replace alloca with xmalloc/free.
1800
18012012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
1802
1803	* floatformat.c (floatformat_to_double): Correctly handle numbers
1804	between 1 and 2.  Simplify handling of denormal number.
1805	(main): Test with 1.1.
1806
18072012-07-31  Mike Frysinger  <vapier@gentoo.org>
1808
1809	* md5.c (md5_finish_ctx): Declare swap_bytes.  Assign SWAP() output
1810	to swap_bytes, and then call memcpy to move it to ctx->buffer.
1811
18122012-07-26  Kazu Hirata  <kazu@codesourcery.com>
1813	    Sandra Loosemore  <sandra@codesourcery.com>
1814
1815	* pex-win32.c (pex_win32_exec_child): Only close original file
1816	descriptors if child is launched successfully.
1817
18182012-07-18  Jason Merrill  <jason@redhat.com>
1819
1820	* cp-demangle.c (cplus_demangle_operators): Add *_cast.
1821	(op_is_new_cast): New.
1822	(d_expression, d_print_comp): Check it.
1823
18242012-07-13  Doug Evans  <dje@google.com>
1825
1826	* filename_cmp.c (filename_hash, filename_eq): New functions.
1827
18282012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
1829
1830	* copying-lib.texi (Library Copying): Don't use @heading inside
1831	@enumerate.
1832
18332012-05-22  Tom Tromey  <tromey@redhat.com>
1834
1835	http://sourceware.org/bugzilla/show_bug.cgi?id=14065
1836	* testsuite/demangle-expected: Add regression test.
1837	* cp-demangle.c (d_find_pack): Return NULL for
1838	DEMANGLE_COMPONENT_UNNAMED_TYPE.
1839
18402012-04-27  Tom Tromey  <tromey@redhat.com>
1841
1842	* dwarfnames.c: New file.
1843	* Makefile.in (CFILES): Add dwarfnames.
1844	(REQUIRED_OFILES): Add dwarfnames.
1845	(./dwarfnames.$(objext)): New target.
1846
18472012-04-04  Tristan Gingold  <gingold@adacore.com>
1848
1849	* pex-unix.c (to_ptr32): Fix style.
1850
18512012-04-02  Tristan Gingold  <gingold@adacore.com>
1852
1853	* stack-limit.c: Includes ansidecl.h.
1854	(stack_limit_increase): Add ATTRIBUTE_UNUSED
1855
18562012-03-20  Jason Merrill  <jason@redhat.com>
1857
1858	* cp-demangle.c (cplus_demangle_type): Handle 'auto'.
1859
18602012-03-07  Jason Merrill  <jason@redhat.com>
1861
1862	* cp-demangle.c (cplus_demangle_operators): Add li.
1863	(d_unqualified_name): Handle it specially.
1864
18652012-01-26  Jakub Jelinek  <jakub@redhat.com>
1866
1867	* make-relative-prefix.c (make_relative_prefix_1): Avoid warning
1868	about using preprocessor directives inside of macro arguments.
1869
18702012-01-22  Douglas B Rupp  <rupp@gnat.com>
1871
1872	* configure: Regenerate.
1873
18742012-01-10  Jason Merrill  <jason@redhat.com>
1875
1876	* cp-demangle.c (d_print_comp) [DEMANGLE_COMPONENT_OPERATOR]:
1877	Omit a trailing space in the operator name.
1878
18792012-01-06  Jason Merrill  <jason@redhat.com>
1880
1881	PR c++/6057
1882	PR c++/48051
1883	PR c++/50855
1884	PR c++/51322
1885	* cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_NULLARY and
1886	DEMANGLE_COMPONENT_INITIALIZER_LIST.
1887	(d_make_comp): Likewise.  Allow null right arg for
1888	DEMANGLE_COMPONENT_TRINARY_ARG2.
1889	(cplus_demangle_operators): Adjust new/delete; add .*, :: and throw.
1890	(d_template_args, d_template_arg): Handle 'J' for argument packs.
1891	(d_exprlist): Add terminator parm.
1892	(d_expression, d_print_comp): Handle initializer lists, nullary
1893	expressions, prefix/suffix operators, and new.
1894	(d_print_subexpr): Avoid parens around DEMANGLE_COMPONENT_QUAL_NAME
1895	and DEMANGLE_COMPONENT_INITIALIZER_LIST.
1896	* testsuite/demangle-expected: Add tests.
1897
1898	* cp-demangle.c (cplus_demangle_type): decltype, pack expansion
1899	and vector are substitutable.
1900	(cplus_demangle_operators): Sort.
1901
19022012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1903
1904	* configure: Regenerate.
1905
19062012-01-02  Jakub Jelinek  <jakub@redhat.com>
1907
1908	* make-relative-prefix.c (make_relative_prefix_1): Avoid
1909	stack overflow if PATH contains just a single entry and
1910	HOST_EXECUTABLE_SUFFIX needs to be used.
1911
1912	PR driver/48306
1913	* make-relative-prefix.c: Include sys/stat.h.
1914	(make_relative_prefix_1): If access succeeds, check also stat
1915	if nstore is a regular file.
1916
19172011-12-20  Andreas Schwab  <schwab@linux-m68k.org>
1918
1919	* configure: Regenerate.
1920
19212011-12-20  Tristan Gingold  <gingold@adacore.com>
1922
1923	* aclocal.m4: Assume strncmp works in cross case.
1924	* configure: Regenerate
1925
19262011-12-19  Andreas Schwab  <schwab@linux-m68k.org>
1927
1928	* configure: Regenerate.
1929
19302011-11-07  Richard Henderson  <rth@redhat.com>
1931
1932	Merged from transactional-memory.
1933
1934	* cp-demangle.c (cplus_demangle_fill_ctor): Accept
1935	gnu_v3_object_ctor_group.
1936	(cplus_demangle_fill_dtor): Accept gnu_v3_object_dtor_group.
1937	(d_ctor_dtor_name): Recognize gnu_v3_object_ctor_group
1938	and gnu_v3_object_dtor_group.
1939	(d_dump): Handle DEMANGLE_COMPONENT_TRANSACTION_CLONE
1940	and DEMANGLE_COMPONENT_NONTRANSACTION_CLONE.
1941	(d_make_comp, d_print_comp): Likewise.
1942	(d_special_name): Generate them.
1943
19442011-11-04  Jason Merrill  <jason@redhat.com>
1945
1946	PR c++/48370
1947	* cp-demangle.c (d_special_name, d_print_comp): Handle a
1948	discriminator number on DEMANGLE_COMPONENT_REFTEMP.
1949
19502011-11-02  Doug Evans  <dje@google.com>
1951
1952	* Makefile.in (CFILES): Add timeval-utils.c.
1953	(REQUIRED_OFILES): Add timeval-utils.$(objext).
1954	(INSTALLED_HEADERS): Add timeval-utils.h.
1955	(timeval-utils.$(objext)): Add rule.
1956
19572011-10-28  Ian Lance Taylor  <iant@google.com>
1958
1959	* setproctitle.c (setproctitle): Use "GNU/Linux" in comment.
1960
19612011-10-26  Iain Sandoe  <iains@gcc.gnu.org>
1962
1963	PR target/48108
1964	* simple-object-mach-o.c  (GNU_WRAPPER_SECTS, GNU_WRAPPER_INDEX,
1965	GNU_WRAPPER_NAMES): New macros.
1966	(simple_object_mach_o_segment): Handle wrapper scheme.
1967	(simple_object_mach_o_write_section_header): Allow the segment name
1968	to be supplied.
1969	(simple_object_mach_o_write_segment): Handle wrapper scheme.  Ensure
1970	that the top-level segment name in the load command is empty.
1971	(simple_object_mach_o_write_to_file): Determine the number of
1972	sections during segment output, use that in writing the header.
1973
19742011-10-10  Ian Lance Taylor  <iant@google.com>
1975
1976	PR c++/48665
1977	* cp-demangle.c (d_cv_qualifiers): If qualifiers are applied to a
1978	function type, change them to apply to the "this" parameter.
1979	* testsuite/demangle-expected: Add test case.
1980
19812011-09-28  Doug Evans  <dje@google.com>
1982
1983	* timeval-utils.c: New file.
1984
1985	* argv.c (countargv): New function.
1986
19872011-09-23  Cary Coutant  <ccoutant@google.com>
1988
1989	PR 40831
1990	* cp-demangle.c (d_make_comp): Add new component type.
1991	(cplus_demangle_mangled_name): Check for clone suffixes.
1992	(d_parmlist): Don't error out if we see '.'.
1993	(d_clone_suffix): New function.
1994	(d_print_comp): Print info for clone suffixes.
1995	* testsuite/demangle-expected: Add new testcases.
1996
19972011-09-23  Ian Lance Taylor  <iant@google.com>
1998	    Pierre Vittet  <piervit@pvittet.com>
1999
2000	* md5.c (md5_process_bytes): Correct handling of unaligned
2001	buffer.
2002
20032011-08-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2004
2005	* aclocal.m4: Include ../config/picflag.m4.
2006	* configure.ac (GCC_PICFLAG): Call it.
2007	(enable_shared): Clear PICFLAG unless shared.
2008	* configure: Regenerate.
2009
20102011-08-12  Steve Ellcey  <sje@cup.hp.com>
2011
2012	* md5.c (md5_read_ctx): Handle mis-aligned resbuf pointer.
2013
20142011-08-06  Uros Bizjak  <ubizjak@gmail.com>
2015
2016	* testsuite/test-expandargv.c (writeout_test): Check result of fwrite.
2017
20182011-08-01  Jason Merrill  <jason@redhat.com>
2019
2020	PR c++/49932
2021	* cp-demangle.c (d_prefix): Handle decltype.
2022	* testsuite/demangle-expected: Test it.
2023
20242011-07-26  H.J. Lu  <hongjiu.lu@intel.com>
2025
2026	* testsuite/demangle-expected: Remove an extra line.
2027
20282011-07-26  Ian Lance Taylor  <iant@google.com>
2029
2030	* cp-demangle.c (d_print_init): Initialize pack_index field.
2031	(d_print_comp): Check for NULL template argument.
2032	* testsuite/demangle-expected: Add test case.
2033
20342011-07-22  Gerald Pfeifer  <gerald@pfeifer.com>
2035
2036	PR target/49817
2037	* stack-limit.c: Include <stdint.h>.
2038
20392011-07-22  Jakub Jelinek  <jakub@redhat.com>
2040
2041	PR c++/49756
2042	* stack-limit.c: New file.
2043	* Makefile.in: Regenerate deps.
2044	(CFILES): Add stack-limit.c.
2045	(REQUIRED_OFILES): Add ./stack-limit.$(objext).
2046	* configure.ac (checkfuncs): Add getrlimit and setrlimit.
2047	(AC_CHECK_FUNCS): Likewise.
2048	* configure: Regenerated.
2049	* config.in: Regenerated.
2050
20512011-07-04  Jason Merrill  <jason@redhat.com>
2052
2053	* cp-demangle.c (d_expression): Handle 'this'.
2054	(d_print_comp) [DEMANGLE_COMPONENT_FUNCTION_PARAM]: Likewise.
2055
20562011-07-01  Joel Brobecker  <brobecker@adacore.com>
2057
2058	* filename_cmp.c (filename_cmp, filename_ncmp): Add handling of
2059	HAVE_CASE_INSENSITIVE_FILE_SYSTEM.
2060
20612011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
2062
2063	PR debug/49408
2064	* cp-demangle.c (d_print_comp): Suppress argument list for function
2065	references by the '&' unary operator.  Keep also already processed
2066	variant without the argument list.  Suppress argument list types for
2067	function call used in an expression.
2068	* testsuite/demangle-expected: Fix excessive argument list types in
2069	`test for typed function in decltype'.  New testcase for no argument
2070	list types printed.  3 new testcases for function references by the
2071	'&' unary operator..
2072
20732011-06-20  Jason Merrill  <jason@redhat.com>
2074
2075	PR c++/37089
2076	* cp-demangle.c (d_print_comp): Handle reference smashing.
2077	* testsuite/demangle-expected: Test it.
2078
20792011-06-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
2080
2081	* cp-demangle.c (d_print_comp) <DEMANGLE_COMPONENT_FUNCTION_TYPE>:
2082	Suppress d_print_mod for DMGL_RET_POSTFIX.
2083	* testsuite/demangle-expected: New testcases for --ret-postfix.
2084
20852011-06-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
2086
2087	* cp-demangle.c (d_print_comp) <DEMANGLE_COMPONENT_FUNCTION_TYPE>: Do
2088	not pass DMGL_RET_POSTFIX or DMGL_RET_DROP.  Support DMGL_RET_DROP.
2089	* testsuite/demangle-expected: New testcases for --ret-drop.
2090	* testsuite/test-demangle.c: Document --ret-drop in a comment.
2091	(main): New variable ret_drop, fill it, call cplus_demangle with it.
2092
20932011-06-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
2094
2095	* cp-demangle.c (struct d_print_info): Remove field options.
2096	(d_print_init): Remove parameter options.
2097	(cplus_demangle_print_callback): Update all the callers.
2098	(d_print_comp, d_print_mod_list, d_print_mod, d_print_function_type)
2099	(d_print_array_type, d_print_expr_op, d_print_cast, d_print_subexpr):
2100	Add parameter options, update all the callers.
2101
21022011-04-20  Jim Meyering  <meyering@redhat.com>
2103
2104	* cp-demint.c (cplus_demangle_v3_components): Remove useless
2105	if-before-free.
2106	* cplus-dem.c (squangle_mop_up): Likewise.
2107	(delete_non_B_K_work_stuff): Likewise.
2108	* pex-common.c (pex_free): Likewise.
2109	* pex-msdos.c (pex_msdos_cleanup): Likewise.
2110	* pex-win32.c (mingw_rootify, msys_rootify): Likewise.
2111	(win32_spawn): Likewise.
2112	* regex.c (FREE_VAR, weak_alias): Likewise.
2113	* spaces.c (spaces): Likewise.
2114
21152011-04-10  Jim Meyering  <meyering@redhat.com>
2116
2117	Avoid memory overrun in a test leading to potential double-free.
2118	* testsuite/test-expandargv.c (writeout_test): Fix off-by-one error:
2119	i.e., do copy the trailing NUL byte.
2120
21212011-03-31  Tristan Gingold  <gingold@adacore.com>
2122
2123	* makefile.vms (OBJS): Add filename_cmp.obj
2124
21252011-02-28  Kai Tietz  <kai.tietz@onevision.com>
2126
2127	* filename_cmp.c (filename_ncmp): New function.
2128	* functions.texi: Regenerated.
2129
21302011-02-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2131
2132	* splay-tree.c: Escape wrapping newlines in texinfo markup
2133	with '@', to fix function declaration output rendering.
2134	* gather-docs: Relax and improve macro name matching to actually
2135	match all current names and to allow input line wrapping.
2136	* bsearch.c, concat.c, crc32.c, fnmatch.txh, fopen_unlocked.c,
2137	hashtab.c, insque.c, make-relative-prefix.c, memchr.c, memcmp.c,
2138	memcpy.c, memmem.c, memmove.c, mempcpy.c, memset.c,
2139	pexecute.txh, random.c, setenv.c, setproctitle.c,
2140	simple-object.txh, snprintf.c, stpncpy.c, strncmp.c, strtod.c,
2141	strtol.c, vasprintf.c, vprintf.c, vsnprintf.c, xmemdup.c:
2142	Wrap long texinfo input lines.
2143	* functions.texi: Regenerate.
2144
21452011-01-18  Mike Frysinger  <vapier@gentoo.org>
2146
2147	* .gitignore: New file.
2148
21492010-12-08  Doug Evans  <dje@google.com>
2150
2151	* splay-tree.c (splay_tree_foreach_helper): Remove arg `sp',
2152	all callers updated.  Rewrite to be non-recursive.
2153
21542010-11-29  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2155
2156	* setproctitle.c [HAVE_SYS_PRCTL_H]: Include <sys/types.h>.
2157
21582010-11-20  Anthony Green  <green@moxielogic.com>
2159
2160	* configure.ac: Turn PR_SET_NAME link test into a test for
2161	sys/prctl.h.
2162	* configure, config.in: Rebuilt.
2163	* setproctitle.c: Test for HAVE_SYS_PRCTL_H.
2164	(setproctitle) Test for PR_SET_NAME definition.
2165
21662010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2167
2168	PR other/46202
2169	* Makefile.in (install-strip): New phony target.
2170	(install): Also mark as phony.
2171
21722010-11-16  Ian Lance Taylor  <iant@google.com>
2173
2174	* simple-object.c (simple_object_attributes_merge): Rename from
2175	simple_object_attributes_compare.  Call merge field.
2176	* simple-object-common.h (struct simple_object_functions): Rename
2177	attributes_compare field to attribute_merge.
2178	* simple-object-elf.c (EM_SPARC): Define.
2179	(EM_SPARC32PLUS): Define.
2180	(simple_object_elf_attributes_merge): Renamed from
2181	simple_object_elf_attributes_compare.  Permit EM_SPARC and
2182	EM_SPARC32PLUS objects to be merged.
2183	(simple_object_elf_functions): Update function name.
2184	* simple-object-coff.c (simple_object_coff_attributes_merge):
2185	Rename from simple_object_coff_attributes_compare.
2186	(simple_object_coff_functions): Update function name.
2187	* simple-object-mach-o.c (simple_object_mach_o_attributes_merge):
2188	Renamed from simple_object_mach_o_attributes_compare.
2189	(simple_object_mach_o_functions): Update function name.
2190
21912010-11-16  H.J. Lu  <hongjiu.lu@intel.com>
2192
2193	PR other/42670
2194	PR binutils/11137
2195	* cp-demangle.c (d_make_demangle_mangled_name): New.
2196	(d_demangle_callback): Use it on DCT_GLOBAL_XTORS.
2197
2198	* testsuite/demangle-expected: Updated.
2199
22002010-11-14  Kai Tietz  <kai.tietz@onevision.com>
2201
2202	* simple-object-coff.c (simple_object_coff_read_strtab): Fix reading
2203	offset.
2204
22052010-11-12  Ian Lance Taylor  <iant@google.com>
2206
2207	PR other/46332
2208	* cp-demangle.c (d_print_function_type): Don't print parentheses
2209	if there are no modifiers to print.
2210	* testsuite/demangle-expected: Tweak one test case, add another.
2211
22122010-11-04  Richard Henderson  <rth@redhat.com>
2213
2214	* configure.ac (AC_CHECK_HEADERS): Add process.h.
2215	(checkfuncs): Add dup3, spawnve, spawnvpe; sort the list.
2216	(AC_CHECK_FUNCS): Add dup3, spawnve, spawnvpe.
2217	* configure, config.in: Rebuild.
2218	* pex-unix.c [HAVE_SPAWNVE] (pex_unix_exec_child): New function.
2219	[HAVE_SPAWNVE] (save_and_install_fd, restore_fd): New functions.
2220
22212010-11-02  Ian Lance Taylor  <iant@google.com>
2222	    Dave Korn  <dave.korn.cygwin@gmail.com>
2223	    Iain Sandoe  <iains@gcc.gnu.org>
2224
2225	* simple-object.c: New file.
2226	* simple-object-common.h: New file.
2227	* simple-object-elf.c: New file.
2228	* simple-object-mach-o.c: New file.
2229	* simple-object-coff.c: New file.
2230	* simple-object.txh: New file.
2231	* configure.ac: Add AC_TYPE_SSIZE_T.
2232	* Makefile.in: Rebuild dependencies.
2233	(CFILES): Add simple-object.c, simple-object-coff,
2234	simple-object-elf.c, and simple-object-mach-o.c.
2235	(REQUIRED_OFILES): Add corresponding object files.
2236	* configure: Rebuild.
2237	* config.in: Rebuild.
2238	* functions.texi: Rebuild.
2239
22402010-10-29  Ian Lance Taylor  <iant@google.com>
2241
2242	* setproctitle.c: Add space after function name in @deftypefn
2243	comment.
2244	* functions.texi: Rebuild.
2245
22462010-10-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2247
2248	* aclocal.m4 (AC_LANG_FUNC_LINK_TRY(C)): Delete.
2249	* configure: Regenerate.
2250
22512010-10-07  Andi Kleen  <ak@linux.intel.com>
2252
2253	* configure: Regenerate.
2254	* configure.ac: Turn PR_SET_NAME check into link check.
2255
22562010-10-06  Andi Kleen  <ak@linux.intel.com>
2257
2258	* Makefile.in (CFILES): Add setproctitle.
2259	(CONFIGURED_OFILES): Add setproctitle.
2260	(setproctitle): Add rule.
2261	* config.in: Regenerate.
2262	* configure: Regenerate.
2263	* configure.ac: Add checks for prctl PR_SET_NAME and setproctitle.
2264	* setproctitle.c: Add file.
2265	* functions.texi: Regenerate.
2266
22672010-09-22 Tristan Gingold  <gingold@adacore.com>
2268
2269	* cplus-dem.c (ada_demangle): Add comments.
2270	Handle stream and controlled type operations.
2271	Decoding of some uppercase letters moved before separators.
2272	* testsuite/demangle-expected: Add tests.
2273
22742010-09-10  James Lyon  <jameslyon0@googlemail.com>
2275
2276	http://sourceware.org/bugzilla/show_bug.cgi?id=11572
2277	* cp-demangle.c (d_find_pack): Add case for
2278	DEMANGLE_COMPONENT_LAMBDA.
2279	* testsuite/demangle-expected: Add regression test.
2280
22812010-09-08  Tristan Gingold  <gingold@adacore.com>
2282
2283	PR 44001
2284	* maint-tool (missing): Fix pattern for object file.
2285	(deps): Use $(objext) for object extension.
2286	* Makefile.in (objext): New variable.
2287	Replace all occurences of .o with .$(objext)
2288	Regenerate with maint-deps
2289	* configure.ac (pexecute): Set to the basename.
2290	* configure: Regenerate.
2291
22922010-08-20  Maciej W. Rozycki  <macro@codesourcery.com>
2293
2294	* pex-common.c (pex_read_err): Set stderr_pipe to -1 if a
2295	corresponding stream has been opened.
2296	(pex_free): Close pipe file descriptors corresponding to child's
2297	stdout and stderr before waiting.
2298
22992010-08-13  Nick Clifton  <nickc@redhat.com>
2300
2301	* argv.c (expandargv): Limit the number of times that response
2302	files are opened in order to prevent infinite recursion.
2303
23042010-07-21  Pascal Obry  <obry@adacore.com>
2305
2306	* make-temp-file.c (choose_tmpdir): Append a dot to P_tmpdir if needed.
2307
23082010-07-06  Ken Werner  <ken.werner@de.ibm.com>
2309
2310	* floatformat.c (floatformat_ieee_half_big): New variable.
2311	(floatformat_ieee_half_little): Likewise.
2312
23132010-06-14  Gerald Pfeifer  <gerald@pfeifer.com>
2314
2315	* libiberty.texi: Remove reference to GCC 3 and 2001 (thrice).
2316	Update copyright years.
2317	Move to GFDL 1.3.
2318
23192010-06-10  Jakub Jelinek  <jakub@redhat.com>
2320
2321	PR other/43838
2322	* cp-demangle.c (struct d_print_info): Add flush_count field.
2323	(d_print_init): Initialize it to 0.
2324	(d_print_flush): Increment it.
2325	(d_print_comp): If needed flush before appending ", ".  Only
2326	decrement dpi->len if no flushes happened during the recursive
2327	call.
2328	* testsuite/demangle-expected: Add a test for this.
2329
23302010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
2331
2332	* splay-tree.c: Update copyright years.
2333	(splay_tree_new_typed_alloc): New.
2334	(splay_tree_new_with_allocator): Use it.
2335
2336	* hashtab.c: Update copyright years.
2337	(htab_create_typed_alloc): New.
2338	(htab_create_alloc): Use it.
2339
2340	* functions.texi: Regenerate.
2341
23422010-06-03  Joern Rennecke <joern.rennecke@embecosm.com>
2343	    Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2344
2345	PR bootstrap/42798
2346	* configure.ac: Check for declaration of 'basename(char *)'.
2347	* configure: Regenerate.
2348
23492010-05-26  Kai Tietz  <kai.tietz@onevision.com>
2350
2351	* testsuite/demangle-expected: Add tests for __int128
2352	and unsigned __int128 types.
2353
23542010-05-06  Magnus Fromreide  <magfr@lysator.liu.se>
2355	    Jason Merrill  <jason@redhat.com>
2356
2357	* cp-demangle.c (cplus_demangle_builtin_types): Add nullptr.
2358	(cplus_demangle_type): Handle nullptr.
2359	* testsuite/demangle-expected: Test it.
2360
23612010-04-23  Pedro Alves  <pedro@codesourcery.com>
2362
2363	* lbasename.c (lbasename): Split into ...
2364	(unix_lbasename, dos_basename): ... these.
2365	(lbasename): ... and reimplement on top of them.
2366	* Makefile.in (lbasename.o): Add dependency on
2367	$(INCDIR)/filenames.h.
2368
23692010-04-07  Jakub Jelinek  <jakub@redhat.com>
2370
2371	* regex.c (byte_re_match_2_internal): Avoid set but not used
2372	warning.
2373
23742010-03-22  Jason Merrill  <jason@redhat.com>
2375
2376	* cp-demangle.c (d_print_mod): Use () rather than [] for vectors.
2377
23782010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2379
2380	* Makefile.in (all): Do not use exec.
2381
23822010-02-04  Tom Tromey  <tromey@redhat.com>
2383
2384	* testsuite/demangle-expected: Add missing --format=gnu-v3.
2385
23862010-02-03  Jason Merrill  <jason@redhat.com>
2387
2388	* cp-demangle.c (d_expression): Handle dependent operator name.
2389
2390	PR c++/12909
2391	* cp-demangle.c (d_number_component, d_vector_type): New.
2392	(cplus_demangle_type, d_print_comp, d_print_mod): Handle vectors.
2393
23942010-01-25  Ian Lance Taylor  <iant@google.com>
2395
2396	* cp-demangle.c (cplus_demangle_type): Check for invalid type
2397	after "DF".
2398	* testsuite/demangle-expected: Add test.
2399
24002010-01-20  Jason Merrill  <jason@redhat.com>
2401
2402	PR c++/42338
2403	* cp-demangle.c (d_print_comp): Fix array index printing.
2404
24052010-01-11  Tristan Gingold  <gingold@adacore.com>
2406
2407	* cplus-dem.c (ada_demangle): Remove prototype.
2408	(grow_vect): Removed.
2409	(ada_demangle): Rewritten.
2410	(cplus_demangle): Fix indentation.
2411	* testsuite/demangle-expected: Add tests for Ada.
2412
24132010-01-09  Ian Lance Taylor  <iant@google.com>
2414
2415	PR other/42230
2416	* cp-demangle.c (d_demangle): Return dgs.alc on success.
2417
24182010-01-04  Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2419
2420	PR target/42316
2421	* configure.ac (PICFLAG): Use -fPIC on SH hosts.
2422	* configure: Regenerate.
2423
24242009-12-07  Doug Evans  <dje@google.com>
2425
2426	* pex-unix.c (pex_unix_exec_child): Save/restore environ.
2427
24282009-11-26  Ben Elliston  <bje@au.ibm.com>
2429
2430	* configure.ac (AC_CHECK_FUNCS): Sort into alphabetic order.
2431	* configure: Regenerate.
2432
24332009-11-25  Ben Elliston  <bje@au.ibm.com>
2434
2435	* functions.texi: Rebuild.
2436
24372009-11-25  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
2438	    Ben Elliston  <bje@au.ibm.com>
2439
2440	* README: Mention changes to Makefile.in and functions.texi.
2441	* gather-docs: Mention 'make stamp-functions' in the header.
2442
24432009-11-23  Ben Elliston  <bje@au.ibm.com>
2444	    Ian Lance Taylor  <iant@google.com>
2445
2446	* pex-unix.c (pex_child_error): Improve warning avoidance by
2447	checking the results of write(3) and exiting with -2 if any write
2448	returns a negative value.
2449
24502009-11-22  Steve Ward  <planet36@gmail.com>
2451
2452	* dyn-string.c (dyn_string_append_char): Fix typo in comment.
2453
24542009-11-20  Ben Elliston  <bje@au.ibm.com>
2455
2456	* pex-unix.c (pex_child_error): Define writeerr macro to avoid
2457	unused result warnings from write(3) calls.  Undefine writeerr
2458	after all uses.
2459
24602009-10-08  Daniel Gutson  <dgutson@codesourcery.com>
2461	Daniel Jacobowitz  <dan@codesourcery.com>
2462	Pedro Alves  <pedro@codesourcery.com>
2463
2464	* argv.c (consume_whitespace): New function.
2465	(only_whitespace): New function.
2466	(buildargv): Always use ISSPACE by calling consume_whitespace.
2467	(expandargv): Skip empty files.  Do not stop at the first empty
2468	argument (calling only_whitespace)..
2469	* testsuite/test-expandargv.c: (test_data): Test empty lines
2470	and empty arguments.
2471	(run_tests): Fix false positives due to shorter arguments.
2472
24732009-09-30  Martin Thuresson  <martint@google.com>
2474
2475	* regex.c (byte_re_match_2_internal): Split declaration and
2476	assignment to avoid -Wc++-compat warning due to goto.
2477
24782009-09-29  Jason Merrill  <jason@redhat.com>
2479
2480	* Makefile.in: Enable demangle target.
2481	* cp-demangle.c (d_lambda, d_unnamed_type, d_make_default_arg): New.
2482	(d_name, d_prefix, d_unqualified_name, d_local_name): Handle lambdas.
2483	(d_parmlist): Factor out from d_bare_function_type.
2484	(d_compact_number): Factor out from d_template_param and d_expression.
2485	(d_append_num): Factor out from d_print_comp.
2486	(d_print_comp, d_print_mod_list): Handle lambdas.
2487	* testsuite/demangle-expected: Add lambda tests.
2488
24892009-09-23  Matthew Gingell  <gingell@adacore.com>
2490
2491	* cplus-dem.c (ada_demangle): Ensure demangled is freed.
2492
24932009-09-22  Ozkan Sezer  <sezeroz@gmail.com>
2494
2495	* choose-temp.c: Include unistd.h for mingw targets.
2496
24972009-09-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2498
2499	* hashtab.c [HAVE_INTTYPES_H]: Include <inttypes.h>.
2500
25012009-09-15  Tristan Gingold  <gingold@adacore.com>
2502
2503	* config.h-vms (intptr_t): Define to compile hashtab.c
2504
25052009-09-04  Ozkan Sezer  <sezeroz@gmail.com>
2506
2507	PR target/39065
2508	* configure.ac: Replace AC_CHECK_TYPE() for intptr_t and uintptr_t
2509	with AC_TYPE_INTPTR_T and AC_TYPE_UINTPTR_T.
2510	* config.in: Regenerated.
2511	* configure: Regenerated.
2512
25132009-09-03  Ozkan Sezer  <sezeroz@gmail.com>
2514
2515	PR target/39065
2516	* configure.ac: Also check for intptr_t.
2517	* config.h.in: Regenerated.
2518	* configure: Regenerated.
2519	* hashtab.c (hash_pointer): Cast the pointer argument to intptr_t
2520	instead of of long.
2521
25222009-09-02  Tristan Gingold  <gingold@adacore.com>
2523
2524	* vmsbuild.com: Removed as unused and superceeded by makefile.vms.
2525	* makefile.vms: Ported to Itanium VMS.  Remove useless targets and
2526	dependencies.  Remove unused FORMAT variable.
2527	* configure.com: New file to create build.com DCL script for
2528	Itanium VMS or Alpha VMS.
2529
25302009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2531
2532	* configure.ac (AC_PREREQ): Bump to 2.64.
2533
25342009-08-23  H.J. Lu  <hongjiu.lu@intel.com>
2535
2536	 PR ld/10536
2537	 * Makefile.in (install-html-recursive): Removed.
2538
25392009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2540
2541	* config.in: Regenerate.
2542	* configure: Regenerate.
2543
25442009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2545
2546	* Makefile.in (AUTOCONF, configure_deps): New variables.
2547	($(srcdir)/configure): New rule, active only in maintainer mode.
2548
25492009-07-29  Douglas B Rupp  <rupp@gnat.com>
2550
2551	* make-temp-file.c (choose_tmpdir): Try standard temp logical on VMS.
2552
25532009-07-27  Douglas B Rupp  <rupp@gnat.com>
2554
2555	* pex-unix.c (vfork): Remove VMS specific definition (get from header
2556	file instead).
2557	(to_ptr32): New function.
2558	(pex_unix_exec_child): Use it.
2559
25602009-07-24  Ian Lance Taylor  <iant@google.com>
2561
2562	PR bootstrap/40854
2563	* crc32.c (xcrc32): Rename from crc32.
2564
25652009-07-24  Ian Lance Taylor  <iant@google.com>
2566
2567	* crc32.c: New file.
2568	* Makefile.in: Rebuild dependencies.
2569	(CFILES): Add crc32.c.
2570	(REQUIRED_OFILES): Add ./crc32.o.
2571	* functions.texi: Rebuild.
2572
25732009-07-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
2574
2575	* cp-demangle.c (d_print_comp <DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS>)
2576	(d_print_comp <DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS): New.
2577	(d_make_comp <DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS>)
2578	(d_make_comp <DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS): New.
2579	(d_demangle_callback): The variable type is now declared as enum.
2580	Replace parser of _GLOBAL_ symbols by a d_make_comp call.
2581
25822009-06-21  Jakub Jelinek  <jakub@redhat.com>
2583
2584	* hashtab.c (htab_traverse): Don't call htab_expand for
2585	nearly empty hashtabs with sizes 7, 13 or 31.
2586
25872009-06-16  Nick Clifton  <nickc@redhat.com>
2588
2589	PR 10197
2590	* testsuite/test-demangle.c: Rename getline to get_line to avoid
2591	conflicts with system function of the same name.
2592
25932009-05-30  Eli Zaretskii  <eliz@gnu.org>
2594
2595	* snprintf.c: Doc fix.
2596
2597	* vsnprintf.c: Doc fix.
2598
25992009-05-29  Kai Tietz  <kai.tietz@onevision.com>
2600
2601	* pex-win32.c (pex_win32_fdopenr): Set INHERIT to false.
2602
26032009-05-29  Michael Matz  <matz@suse.de>
2604
2605	* fibheap.c (fibheap_replace_key_data): Make sure we don't early
2606	out when forcing the minimum.
2607	(fibheap_delete_node): Assert that we managed to force the minimum.
2608
26092009-05-25  Tristan Gingold  <gingold@adacore.com>
2610
2611	* config.h-vms: Rewritten.  Define configure macros.
2612	Use DEC-C builtin alloca.
2613
2614	* makefile.vms (OBJS): Update list.
2615	(OPT): New variable.
2616	(CFLAGS): Update compilation flags.
2617	(libiberty.olb): Do not depend on alloca-conf.h anymore.
2618
26192009-05-19  Ian Lance Taylor  <iant@google.com>
2620	    Ben Elliston  <bje@au.ibm.com>
2621
2622	* cp-demangle.c (cplus_demangle_fill_ctor): Fix logic bug.
2623	(cplus_demangle_fill_dtor): Likewise.
2624
26252009-05-17  Julian Brown  <julian@codesourcery.com>
2626
2627	* pex-win32.c (pex_win32_exec_child): Fix logic to avoid closing
2628	standard handles (stdin, stdout, stderr) in parent.
2629
26302009-04-29  Julian Brown  <julian@codesourcery.com>
2631
2632	* pex-win32.c (pex_win32_pipe): Add _O_NOINHERIT.
2633	(pex_win32_exec_child): Ensure each process has only one handle open
2634	on pipe endpoints. Close standard input after creating child for
2635	symmetry with standard output/standard error.
2636
26372009-04-25  Eli Zaretskii  <eliz@gnu.org>
2638
2639	* Makefile.in (needed-list): Target removed (not used in GCC
2640	3.0 and later).  All references deleted.
2641	(mostlyclean): Remove references to needed.awk and needed2.awk.
2642
26432009-04-14  Eli Zaretskii  <eliz@gnu.org>
2644
2645	* configure.ac  (setobjs, msdosdjgpp): Move a-priori setting of
2646	existing and required library functions to with_target_subdir
2647	section, so that the native build does detect them at configure
2648	time.
2649	* configure: Regenerated.
2650
26512009-04-13  Ozkan Sezer  <sezeroz@gmail.com>
2652
2653	PR target/39397
2654	* pex-common.h (struct pex_obj): Store pid values as pid_t,
2655	not as long (members *children and (*wait))
2656	* pex-common.c (pex_run_in_environment): Likewise.
2657	* pex-win32.c (pex_win32_wait): Return pid_t and properly check
2658	returned pid value.
2659	* pex-djgpp.c (pex_djgpp_wait): Return pid_t.
2660	* pex-msdos.c (pex_msdos_wait): Likewise.
2661
26622009-04-07  Arnaud Patard <apatard@mandriva.com>
2663
2664	* configure.ac: Fix Linux/MIPS matching rule.
2665	* configure: Regenerate.
2666
26672009-03-27  Ian Lance Taylor  <iant@google.com>
2668
2669	* memmem.c: New file, from gnulib.
2670	* configure.ac: Add memmem to list of functions provided if they
2671	are not available on the host.
2672	* Makefile.in: Rebuild dependencies.
2673	(CFILES): Add memmem.c.
2674	(CONFIGURED_OFILES): Add memmem.o.
2675	* configure, config.in, functions.texi: Rebuild.
2676
26772009-03-23  Jason Merrill  <jason@redhat.com>
2678
2679	* cp-demangle.c (d_expression): Handle pack expansion.
2680	(d_find_pack): Handle DEMANGLE_COMPONENT_FUNCTION_PARAM.
2681	(d_print_subexpr): Don't wrap function parms in ().
2682	(d_print_comp) [DEMANGLE_COMPONENT_PACK_EXPANSION]: Handle
2683	not finding a pack.
2684
26852009-03-17  Jason Merrill  <jason@redhat.com>
2686
2687	* cp-demangle.c (d_make_function_param): new fn.
2688	(cplus_demangle_mangled_name): Work around abi v2 bug.
2689	(d_expr_primary): Likewise.
2690	(cplus_demangle_operators): Add alignof ops.
2691	(d_expression): Handle function parameters and conversions
2692	with other than 1 operand.
2693	(d_print_comp): Handle function parameters.  Fix bug with
2694	function used in type of function.
2695	* testsuite/demangle-expected: Update tests.
2696
26972009-02-21  Mark Mitchell  <mark@codesourcery.com>
2698
2699	* make-temp-file.c (<windows.h>): Include on Windows.
2700	(choose_tmpdir): On Windows, use GetTempPath.
2701
27022009-01-18  Dave Korn  <dave.korn.cygwin@gmail.com>
2703
2704	* configure.ac (funcs, vars, checkfuncs):  Don't munge on Cygwin,
2705	as it no longer shares libiberty object files.
2706	* configure:  Regenerated.
2707
27082009-01-07  Jason Merrill  <jason@redhat.com>
2709
2710	* cp-demangle.c (d_expression): Remove mangling for zero-op casts.
2711
27122009-01-06  Ben Elliston  <bje@au.ibm.com>
2713
2714	* cp-demangle.c (cplus_demangle_type): Return NULL if the
2715	character following a 'D' cannot be recognised.
2716
27172008-12-18  Jason Merrill  <jason@redhat.com>
2718
2719	PR c++/38561
2720	* cp-demangle.c (d_expression, d_print_comp): Revert
2721	cast changes.
2722
27232008-12-17  Jason Merrill  <jason@redhat.com>
2724
2725	* cp-demangle.c (d_expression): Handle rvalue stubs too.
2726	[DEMANGLE_COMPONENT_CAST]: Update mangling.
2727	(d_print_comp): Avoid extra ", " with empty template argument packs.
2728	Remove handling for obsolete T() mangling.
2729
27302008-12-10  Jason Merrill  <jason@redhat.com>
2731
2732	* cp-demangle.c (cplus_demangle_type): Support fixed-point types.
2733	(d_print_comp, d_dump): Likewise.
2734
27352008-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
2736
2737	* Makefile.in (CPPFLAGS): Define.
2738	(FLAGS_TO_PASS, COMPILE.c): Add CPPFLAGS.
2739
27402008-10-15  Paolo Bonzini  <bonzini@gnu.org>
2741
2742	PR bootstrap/37137
2743	* Makefile.in (LIBCFLAGS): Remove.
2744	(FLAGS_TO_PASS): Don't mention it.
2745	(COMPILE.c, MULTIOSDIR): Replace it with CFLAGS.
2746
27472008-10-08  David Edelsohn  <edelsohn@gnu.org>
2748
2749	* xstrdup.c: Include <sys/types.h> after "config.h"
2750
27512008-10-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
2752
2753	* configure.ac: Call AC_SYS_LARGEFILE.
2754	* config.in: Regenerated.
2755	* configure: Likewise.
2756
27572008-10-06  Jason Merrill  <jason@redhat.com>
2758
2759	* cp-demangle.c (struct d_print_info): Add pack_index.
2760	(d_dump): Add DEMANGLE_COMPONENT_PACK_EXPANSION.
2761	(d_make_comp): Likewise.  DEMANGLE_COMPONENT_ARGLIST and
2762	DEMANGLE_COMPONENT_TEMPLATE_ARGLIST can have two null args.
2763	(cplus_demangle_builtin_types): Add char16/32_t.
2764	(cplus_demangle_type): Recognize them.
2765	(d_template_args): Handle empty argument packs.
2766	(d_template_arg): Handle argument packs.
2767	(d_expression): Handle dependent name.
2768	(d_index_template_argument): New fn.
2769	(d_lookup_template_argument): New fn.
2770	(d_find_pack, d_pack_length): New fn.
2771	(d_print_subexpr): Split out...
2772	(d_print_comp): ...from here.  Use d_*_template_argument.
2773	Handle empty arg lists.  Support pack expansions.
2774	* cp-demangle.h (D_BUILTIN_TYPE_COUNT): Increase to 32.
2775
27762008-09-09  Jason Merrill  <jason@redhat.com>
2777
2778	* cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_DECLTYPE.
2779	(d_make_comp): Likewise.
2780	(cplus_demangle_type): Handle decltype and DFP types.
2781	(cplus_demangle_operators): Call operator takes 2 args.
2782	(cplus_demangle_builtin_types): Add DFP types.
2783	(d_exprlist): New fn.
2784	(d_expression): Handle parm placeholders, T() and calls.
2785	(d_print_comp): Handle decltype, T() and calls.
2786	* testsuite/demangle-expected: Test the above.
2787
27882008-08-07  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
2789
2790	* pex-win32.c (argv_to_argc): New function.
2791	(spawn_script): Duplicate argv before calling win32_spawn.
2792
27932008-07-31  Jakub Jelinek  <jakub@redhat.com>
2794
2795	* mkstemps.c (mkstemps): Keep looping even for EISDIR.
2796
27972008-07-31  Denys Vlasenko  <dvlasenk@redhat.com>
2798
2799	* mkstemps.c (mkstemps): If open failed with errno other than
2800	EEXIST, return immediately.
2801	* make-temp-file.c: Include errno.h.
2802	(make_temp_file): If mkstemps failed, print an error message
2803	before aborting.
2804
28052008-07-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2806
2807	* maint-tool (deps): Output config.h instead of stamp-h.
2808	* Makefile.in: Rebuild deps.
2809	(maintainer-clean-subdir): Depend on stamp-h rather than config.h.
2810	Reverts 2007-07-11 change.
2811
28122008-06-19  Eric Blake  <ebb9@byu.net>
2813
2814	Adjust strsignal to POSIX 200x prototype.
2815	* strsignal.c (strsignal): Remove const.
2816
28172008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2818
2819	* configure: Regenerate.
2820
28212008-06-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2822
2823	* libiberty.texi: Expand TABs, drop indentation outside examples.
2824	* obstacks.texi: Likewise.
2825
28262008-04-21  Aurelien Jarno  <aurelien@aurel32.net>
2827
2828	* configure.ac: use -fPIC on Linux/MIPS hosts.
2829	* configure: Regenerate.
2830
28312008-04-18  Kris Van Hees <kris.van.hees@oracle.com>
2832
2833	* testsuite/demangle-expected: Added tests for char16_t and char32_t.
2834
28352008-04-18  Paolo Bonzini  <bonzini@gnu.org>
2836
2837	PR bootstrap/35457
2838	* aclocal.m4: Add override.m4.
2839	* configure: Regenerate.
2840
28412008-03-31  Ian Lance Taylor  <iant@google.com>
2842
2843	* cp-demangle.c (d_substitution): Correct overflow check to avoid
2844	-fstrict-overflow optimizations.
2845
28462008-03-27  Paolo Bonzini  <bonzini@gnu.org>
2847
2848	* configure.ac (frags): Don't set, use frag instead.
2849	(PICFLAG): Set here and substitute.
2850	* Makefile.in (PICFLAG): Substitute from autoconf.
2851	* configure: Regenerate.
2852
28532008-03-24  Ian Lance Taylor  <iant@google.com>
2854
2855	* sha1.c: New file, from gnulib.
2856	* Makefile.in: Rebuild dependencies.
2857	(CFILES): Add sha1.c.
2858	(REQUIRED_OFILES): Add sha1.o.
2859
28602008-03-24  Doug Evans  <dje@google.com>
2861
2862	* make-relative-prefix.c (make_relative_prefix_1): Handle NULL
2863	return from strdup.
2864
28652008-03-12  Seongbae Park <seongbae.park@gmail.com>
2866
2867	* cplus-dem.c (malloc, realloc): Use void * instead of char *
2868	as return type.
2869
28702008-03-11  Nick Clifton  <nickc@redhat.com>
2871
2872	* md5.c (md5_process_bytes): Do not assume that memcpy will
2873	provide a return value.
2874
28752008-02-19  Ben Elliston  <bje@au.ibm.com>
2876
2877	PR other/12618
2878	* testsuite/Makefile.in (mostlyclean): Remove any core file.
2879
28802008-01-26  David Daney  <ddaney@avtrex.com>
2881
2882	* cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
2883	DEMANGLE_COMPONENT_COMPOUND_NAME, and
2884	DEMANGLE_COMPONENT_CHARACTER cases.
2885	(d_make_comp): Handle DEMANGLE_COMPONENT_COMPOUND_NAME and
2886	DEMANGLE_COMPONENT_JAVA_RESOURCE cases.
2887	(d_make_character): New function.
2888	(d_java_resource): Same.
2889	(d_special_name): Handle "Gr" case.
2890	(d_print_comp): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
2891	DEMANGLE_COMPONENT_COMPOUND_NAME, and
2892	DEMANGLE_COMPONENT_CHARACTER cases.
2893	* testsuite/demangle-expected: Add test for java resource name
2894	mangling.
2895
28962008-01-23  Thiago Jung Bauermann  <bauerman@br.ibm.com>
2897
2898	* cplus-dem.c (demangle_function_name): Changed to return value
2899	indicating if a name was correctly demangled.
2900	(iterate_demangle_function): Use demangle_function_name return
2901	value.
2902
29032008-01-19  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
2904
2905	PR other/33768
2906	* splay-tree.c (rotate_left): Fix minor typo in comment.
2907	(rotate_right): Likewise.
2908
29092007-11-12  Joseph Myers  <joseph@codesourcery.com>
2910
2911	* floatformat.c (floatformat_ibm_long_double_is_valid): Fix
2912	compiler warnings.
2913	(floatformat_ibm_long_double): Use
2914	floatformat_ibm_long_double_is_valid.
2915
29162007-11-07  Joseph Myers  <joseph@codesourcery.com>
2917	    Daniel Jacobowitz  <dan@codesourcery.com>
2918
2919	* floatformat.c (mant_bits_set): New.
2920	(floatformat_to_double): Use it.  Note no special handling of
2921	split formats.
2922	(floatformat_from_double): Note no special handing of split
2923	formats.
2924	(floatformat_ibm_long_double_is_valid,
2925	floatformat_ibm_long_double): New.
2926	(floatformat_ieee_single_big, floatformat_ieee_single_little,
2927	floatformat_ieee_double_big, floatformat_ieee_double_little,
2928	floatformat_ieee_double_littlebyte_bigword, floatformat_vax_f,
2929	floatformat_vax_d, floatformat_vax_g, floatformat_i387_ext,
2930	floatformat_m68881_ext, floatformat_i960_ext,
2931	floatformat_m88110_ext, floatformat_m88110_harris_ext,
2932	floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword,
2933	floatformat_ia64_spill_big, floatformat_ia64_spill_little,
2934	floatformat_ia64_quad_big, floatformat_ia64_quad_little): Update
2935	for addition of split_half field.
2936
29372007-09-06  Tom Tromey  <tromey@redhat.com>
2938
2939	* pexecute.txh (pex_free): Document process killing.
2940
29412007-08-31  Douglas Gregor  <doug.gregor@gmail.com>
2942
2943	* cp-demangle.c (d_dump): Handle
2944	DEMANGLE_COMPONENT_RVALUE_REFERENCE.
2945	(d_make_comp): Ditto.
2946	(cplus_demangle_type): Ditto.
2947	(d_print_comp): Ditto.
2948	(d_print_mod): Ditto.
2949	(d_print_function_type): Ditto.
2950
29512007-08-24  Kai Tietz  <kai.tietz@onevision.com>
2952
2953	* pex-common.h: (pex_funcs): Retyped wait and exec_child to pid_t.
2954	* pex-djgpp.c: Likewise.
2955	* pex-msdos.c: Likewise.
2956	* pex-unix.c: Likewise.
2957	* pex-win32.c: Likewise.
2958
29592007-08-17  Michael Snyder  <msnyder@access-company.com>
2960
2961	* make-relative-prefix.c (make_relative_prefix_1): Resource leaks.
2962
29632007-08-03  Michael Snyder  <msnyder@access-company.com>
2964
2965	* make-relative-prefix.c (make_relative_prefix_1): Fix resource
2966	leak.
2967
29682007-07-31  Michael Snyder  <msnyder@access-company.com>
2969
2970	* cp-demangle.c (d_print_comp): Guard against null.
2971
29722007-07-25  Ben Elliston  <bje@au.ibm.com>
2973
2974	* Makefile.in (CFILES): Remove ternary.c.
2975	(REQUIRED_OFILES): Remove ./ternary.o.
2976	(INSTALLED_HEADERS): Remove ternary.h.
2977	(ternary.o): Remove.
2978	* ternary.c: Remove.
2979
29802007-07-23  DJ Delorie  <dj@redhat.com>
2981
2982	* argv.c (writeargv): Fix typo in inline documentation.
2983	* functions.texi: Regenerate.
2984
29852007-07-17  DJ Delorie  <dj@redhat.com>
2986
2987	* configure.ac (target_header_dir, msdosdjgpp): Remove duplicate
2988	gettimeofday entry.
2989	* configure: Likewise.
2990
29912007-07-11  Alexandre Oliva  <aoliva@redhat.com>
2992
2993	* maint-tool (deps): Output stamp-h instead of config.h.
2994	* Makefile.in: Rebuild deps.
2995	(maintainer-clean-subdir): Depend on stamp-h rather than config.h.
2996
29972007-07-02  Simon Baldwin <simonb@google.com>
2998
2999	* argv.c (writeargv): Removed declaration of unused variable.
3000
30012007-06-14  Paolo Bonzini  <bonzini@gnu.org>
3002
3003	* configure.ac: Use ACX_PROG_CC_ALMOST_PEDANTIC too.
3004	* configure: Regenerate.
3005
30062007-06-14  Paolo Bonzini  <bonzini@gnu.org>
3007
3008	* aclocal.m4: Include config/warnings.m4.
3009	* configure.ac: Use ACX_PROG_CC_WARNING_OPTS.
3010	* configure: Regenerate.
3011
30122007-06-07  Geoffrey Keating  <geoffk@apple.com>
3013
3014	* configure.ac: Non-default multilibs can be cross compilations.
3015	* configure: Regenerate
3016
30172007-05-07  Nathan Froyd  <froydnj@codesourcery.com>
3018
3019	* argv.c (writeargv): New function.
3020
30212007-05-05  Geoffrey Keating  <geoffk@apple.com>
3022
3023	* cp-demangle.c (d_name): Detect local-source-name.
3024	(d_prefix): Likewise.
3025	(d_unqualified_name): Implement local-source-name.
3026
30272007-05-03  Joel Brobecker  <brobecker@adacore.com>
3028
3029	* filename_cmp.c: Replace include of ctype.h by include of
3030	safe-ctype.h.
3031	(filename_cmp): Use TOLOWER instead of tolower for conversions
3032	that are locale-independent.
3033	* Makefile.in (filename_cmp.o): Add dependency on safe-ctype.h.
3034
30352007-04-11  Thomas Neumann  <tneumann@users.sourceforge.net>
3036
3037	* argv.c: Use ANSI C declarations.
3038	* make-relative-prefix.c: Likewise.
3039
30402007-04-06  Joel Brobecker  <brobecker@adacore.com>
3041
3042	* filename_cmp.c (filename_cmp): Improve documentation.
3043
30442007-04-02  Andreas Schwab  <schwab@suse.de>
3045
3046	* filename_cmp.c: Include "config.h".
3047
30482007-03-29  Joel Brobecker  <brobecker@adacore.com>
3049
3050	* filename_cmp.c: New file.
3051	* Makefile.in (CFILES): Add filename_cmp.c.
3052	(REQUIRED_OFILES): Add filename_cmp.o
3053	(filename_cmp.o): New rule.
3054	* functions.texi: Regenerate.
3055
30562007-03-15  Geoffrey Keating  <geoffk@apple.com>
3057
3058	* cp-demangle.c (d_encoding): Exit early on error.
3059	(d_pointer_to_member_type): Exit early if cplus_demangle_type
3060	returns NULL.
3061	(cplus_demangle_type): Likewise.
3062	* testsuite/demangle-expected: New testcase.
3063
30642007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
3065
3066	* Makefile.in: Add install-pdf target as copied from
3067	automake v1.10 rules.
3068	* testsuite/Makefile.in: Add dummy install-pdf target.
3069
30702007-03-01  Peter Breitenlohner  <peb@mppmu.mpg.de>
3071	    Eric Botcazou  <ebotcazou@libertysurf.fr>
3072
3073	PR other/16513
3074	* Makefile.in: Install library under $(MULTIOSDIR), not $(MULTISUBDIR).
3075	Install headers in multilib independent location.
3076
30772007-02-26  DJ Delorie  <dj@redhat.com>
3078
3079	* configure.ac: add djgpp-specific results, so we don't have to
3080	link during a cross compilation.
3081	* configure: Regenerated.
3082
30832007-01-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3084
3085	* hex.c: Fix typo.
3086	* choose-temp.c: Likewise.
3087	* functions.texi: Regenerate.
3088
30892007-01-31  Vladimir Prus  <vladimir@codesourcery.com>
3090
3091	* pex-common.h (struct pex_obj): New fields
3092	stderr_pipe and read_err.
3093	* pex-common.c (pex_init_common): Initialize
3094	stderr_pipe.
3095	(pex_run_in_environment): Add error checking
3096	for PEX_STDERR_TO_PIPE.  Create a pipe
3097	for stderr if necessary.
3098	(pex_read_err): New.
3099	(pex_free): Close read_err.
3100	* pexecute.txh: Document changes.
3101	* functions.texi: Regenerated.
3102
31032007-01-31  Ben Elliston  <bje@au.ibm.com>
3104
3105	* strsignal.c (psignal): Change type of signo to int.
3106	* functions.texi: Regenerate.
3107
31082007-01-29  Simon Baldwin <simonb@google.com>
3109
3110	* cp-demangle.h (cplus_demangle_operators): External definition
3111	suppressed if not building for libstdc++.
3112	* cp-demangle.c (__gcclibcxx_demangle_callback): Augmented interface
3113	to demangling, provides a malloc-less version of __cxa_demangle.
3114	(cplus_demangle_print_callback): Public callback version of
3115	cplus_demangle_print.
3116	(struct d_growable_string): New growable string structure.
3117	(d_growable_string_init): New function, provides support for
3118	growable strings separate from print info.
3119	(d_growable_string_resize): Likewise.
3120	(d_growable_string_append_buffer): Likewise.
3121	(d_growable_string_callback_adapter):): Likewise.
3122	(d_print_init): New print info initialization function.
3123	(d_print_error): Macro replace by inline function.
3124	(d_print_saw_error): Likewise.
3125	(d_append_char): Likewise.
3126	(d_append_buffer): Likewise.
3127	(d_append_string): New inline function, replaces the
3128	d_append_string_constant macro.
3129	(d_flush_buffer): New function, flushes buffer to callback.
3130	(d_demangle_callback, is_ctor_or_dtor): Malloc-based fallback
3131	for unsupported dynamic arrays replaced by alloca().
3132	(d_demangle): Return string length estimating removed.
3133	(d_dump): Moved error case handling from call site into function.
3134	(d_print_resize): Function removed.
3135	(d_print_append_char): Likewise.
3136	(d_print_append_buffer): Likewise.
3137	(d_print_error): Likewise.
3138	(d_print_comp): Added special case handling for Java arrays.
3139	(java_demangle_v3): Removed string post-processing for Java arrays,
3140	now replaced by special case handling in d_print_comp.
3141	(cplus_demangle_v3_callback): Augmented interface to demangling,
3142	provides a malloc-less version of cplus_demangle_v3.
3143	(java_demangle_v3_callback): Augmented interface to demangling,
3144	provides a malloc-less version of java_demangle_v3.
3145
31462007-01-12  Ben Elliston  <bje@au.ibm.com>
3147
3148	* pex-unix.c (writeerr): Cast write result to void.
3149
3150	* choose-temp.c (choose_temp_base): Check the result of the call
3151	to mktemp rather than testing the length of the modified string.
3152
31532006-12-20  Geoffrey Keating  <geoffk@apple.com>
3154
3155	* cp-demangle.h: Add comment explaining what to do to avoid
3156	overrunning string.
3157	(d_check_char): New.
3158	(d_next_char): Don't advance past trailing '\0'.
3159	* cp-demangle.c (cplus_demangle_mangled_name): Use d_check_char.
3160	(d_nested_name): Likewise.
3161	(d_special_name): Likewise.
3162	(d_call_offset): Likewise.
3163	(d_function_type): Likewise.
3164	(d_array_type): Likewise.
3165	(d_pointer_to_member_type): Likewise.
3166	(d_template_param): Likewise.
3167	(d_template_args): Likewise.
3168	(d_template_arg): Likewise.
3169	(d_expr_primary): Likewise.
3170	(d_local_name): Likewise.
3171	(d_substitution): Likewise.
3172	(d_ctor_dtor_name): Use d_advance rather than d_next_char.
3173	* testsuite/test-demangle.c: Include sys/mman.h.
3174	(MAP_ANONYMOUS): Define.
3175	(protect_end): New.
3176	(main): Use protect_end.
3177	* testsuite/demangle-expected: Add testcases for overrunning
3178	the end of the string.
3179
31802006-11-30  Andrew Stubbs  <andrew.stubbs@st.com>
3181	    J"orn Rennecke <joern.rennecke@st.com>
3182
3183	PR driver/29931
3184	* make-relative-prefix.c (make_relative_prefix_1): New function,
3185	broken out of make_relative_prefix.  Make link resolution dependent
3186	on new parameter.
3187	(make_relative_prefix): Use make_relative_prefix_1.
3188	(make_relative_prefix_ignore_links): New function.
3189
31902006-11-08  Vladimir Prus  <vladimir@codesourcery.com>
3191
3192	* pex-win32.c (no_suffixes): Remove.
3193	(std_suffixes): Add "" as first element.
3194	(find_executable): Remove detection of already-present
3195	extension. Try all suffixes in std_suffixes.
3196
31972006-11-07  Julian Brown  <julian@codesourcery.com>
3198
3199	* floatformat.c (get_field): Fix segfault with little-endian word
3200	order on 64-bit hosts.
3201	(put_field): Likewise.
3202	(min): Move definition.
3203
32042006-10-26  Danny Smith  <dannysmith@users.sourceforge.net>
3205
3206	pex-win32.c (argv_to_cmdline): Replace xmalloc with XNEWVEC.
3207	(find_executable): Likewise.
3208	(win32_spawn): Cast alloca return to (char**).
3209	Replace malloc with XNEWVEC.
3210	bcopy.c (bcopy): Add explict casts in assignments.
3211
32122006-10-25  Ben Elliston  <bje@au.ibm.com>
3213
3214	* pexecute.txh: Wrap pexecute's "flag" argument with @var {..}.
3215
32162006-10-10  Brooks Moses  <bmoses@stanford.edu>
3217
3218	* Makefile.in: Added "pdf", "libiberty.pdf" target support.
3219	* testsuite/Makefile.in: Added empty "pdf" target.
3220
32212006-09-22  Ian Lance Taylor  <ian@airs.com>
3222
3223	PR other/29176
3224	* cp-demangle.c (d_substitution): Check for overflow when
3225	computing substitution index.
3226
32272006-08-30  Corinna Vinschen  <corinna@vinschen.de>
3228
3229	* configure.ac: Add case for Mingw as host.
3230	* configure: Regenerate.
3231
32322006-08-27  Ian Lance Taylor  <ian@airs.com>
3233
3234	PR driver/27622
3235	* pex-common.h (struct pex_funcs): Add toclose parameter to
3236	exec_child field.
3237	* pex-common.c (pex_run_in_environment): Pass toclose to
3238	exec_child.
3239	* pex-djgpp.c (pex_djgpp_exec_child): Add toclose parameter.
3240	* pex-unix.c (pex_unix_exec_child): Likewise.
3241	* pex-msdos.c (pex_msdos_exec_child): Likewise.
3242	* pex-win32.c (pex_win32_exec_child): Likewise.
3243
3244	PR other/28797
3245	* cp-demangle.c (d_pointer_to_member_type): Do add a substitution
3246	for a qualified member which is not a function.
3247	* testsuite/demangle-expected: Add test case.
3248
32492006-07-27  Jan Hubicka  <jh@suse.cz>
3250
3251	PR rtl-optimization/28071
3252	* hashtab.c (htab_empty): Clear out n_deleted/n_elements;
3253	downsize the hashtable.
3254
32552006-07-04  Peter O'Gorman  <peter@pogma.com>
3256
3257	* Makefile.in: chmod 644 before ranlib during install.
3258
32592006-06-02  Mark Shinwell  <shinwell@codesourcery.com>
3260
3261	* pex-unix.c (pex_unix_exec_child): Insert cast when assigning
3262	to environ.
3263
32642006-06-01  Mark Shinwell  <shinwell@codesourcery.com>
3265
3266	* pex-common.c: New function pex_run_in_environment.
3267	* pex-common.h: Add environment parameter to exec_child.
3268	* pex-msdos.c: Add environment parameter to pex_msdos_exec_child.
3269	* pex-djgpp.c: Add environment parameter to pex_djgpp_exec_child.
3270	(pex_djgpp_exec_child): Pass environment to child process.
3271	* pex-unix.c: Add environment parameter to pex_unix_exec_child.
3272	(pex_unix_exec_child): Pass environment to child process.
3273	* pex-win32.c: Add environment parameter to pex_win32_exec_child.
3274	New function env_compare for comparing VAR=VALUE pairs.
3275	(win32_spawn): Assemble environment block and pass to CreateProcess.
3276	(spawn_script): Pass environment through to win32_spawn.
3277	(pex_win32_exec_child): Pass environment through to spawn_script and
3278	win32_spawn.
3279	* functions.texi: Regenerate.
3280	* pexecute.txh: Document pex_run_in_environment.
3281
32822006-05-28  Mark Shinwell  <shinwell@codesourcery.com>
3283
3284	* mkstemps.c: Open temporary files in binary mode.
3285
32862006-05-12  Anton Blanchard  <anton@samba.org>
3287
3288	* cplus-dem.c (demangle_fund_type): Ensure buf is large enough to
3289	hold "int%u_t".
3290
32912006-04-24  Julian Brown  <julian@codesourcery.com>
3292
3293	* floatformat.c (floatformat_to_double): Fix (biased) exponent=0 case.
3294
32952006-03-29  Jim Blandy  <jimb@codesourcery.com>
3296
3297	* pex-common.c (pex_input_file, pex_input_pipe): New functions.
3298	(pex_init_common): Initialize obj->input_file.
3299	(pex_run): Close any file opened by pex_input_file.
3300	* pexecute.txh (pex_input_file, pex_input_pipe): New docs.
3301	* pex-common.h (struct pex_obj): New field input_file.
3302	(struct pex_funcs): New function ptr fdopenw.
3303	* pex-unix.c (pex_unix_fdopenw): New function.
3304	(funcs): List it as our fdopenw function.
3305	* pex-win32.c (pex_win32_fdopenw): New function.
3306	(funcs): List it as our fdopenw function.
3307	* pex-djgpp.c (funcs): Leave fdopenw null.
3308	* pex-msdos (funcs): Same.
3309	* functions.texi: Regenerated.
3310
33112006-04-10  Jim Blandy  <jimb@codesourcery.com>
3312
3313	* pex-common.c (temp_file): New function, containing guts of
3314	pex-style temporary file name generation.
3315	(pex_run): Use it.
3316
33172006-04-06  Carlos O'Donell  <carlos@codesourcery.com>
3318
3319	* Makefile.in: Add install-html, install-html-am, and
3320	install-html-recursive targets. Define mkdir_p and
3321	NORMAL_INSTALL.
3322	* configure.ac: AC_SUBST datarootdir, docdir, htmldir.
3323	* configure: Regenerate.
3324	* testsuite/Makefile.in: Add install-html and html targets.
3325
33262006-03-31  Mark Mitchell  <mark@codesourcery.com>
3327
3328	* pex-win32.c (<errno.h>): Include.
3329	(fix_argv): Remove.
3330	(argv_to_cmdline): New function.
3331	(std_suffixes): New variable.
3332	(no_suffixes): Likewise.
3333	(find_executable): New function.
3334	(win32_spawn): Likewise.
3335	(spawn_script): Use win32_spawn instead of _spawnv[p].
3336	(pex_win32_exec_child): Replace MSVCRT calls with Win32 API calls.
3337	(pex_win32_wait): Likewise.
3338
33392006-03-24  Jim Blandy  <jimb@codesourcery.com>
3340
3341	* pex-common.c (pex_run): Simplify output name handling.
3342
33432006-03-12  Jim Blandy  <jimb@red-bean.com>
3344
3345	* pex-common.h (struct pex_obj): Doc fixes.
3346
33472006-03-11  Jim Blandy  <jimb@red-bean.com>
3348
3349	* functions.texi: Regenerate.
3350
33512006-02-21  Ben Elliston  <bje@au.ibm.com>
3352
3353	* pexecute.c (pwait): Syntax fix for previous change.
3354
33552006-02-17  Uttam Pawar  <uttamp@us.ibm.com>
3356
3357	* pexecute.c (pwait): Free vector pointer.
3358	* partition.c (partition_print): Free class_elements pointer.
3359
33602006-02-11  Roger Sayle  <roger@eyesopen.com>
3361	    R. Scott Bailey  <scott.bailey@eds.com>
3362	    Bill Northcott  <w.northcott@unsw.edu.au>
3363
3364	PR bootstrap/16787
3365	* floatformat.c: Include <float.h> where available.
3366	(NAN): Use value of DBL_QNAN if defined, and NAN isn't.
3367
33682006-01-29  Gabriel Dos Reis  <gdr@integrable-solutions.net>
3369
3370	* configure.ac: Add -Wc++-compat to ac_libibety_warn_cflags where
3371	supported.
3372	* configure: Regenerated.
3373
33742006-01-20  Carlos O'Donell  <carlos@codesourcery.com>
3375
3376	* testsuite/Makefile.in: Add test-expandargv test.
3377	* testsuite/test-expandargv.c: New test.
3378	* argv.c (expandargv): Check for errors with ferror,
3379	rather than just by looking at return value from fread.
3380
33812005-12-17  Gabriel Dos Reis  <gdr@integrable-solutions.net>
3382
3383	* floatformat.c (floatformat_i387_ext_is_valid): Use explicit cast
3384	to convert from "from".
3385	(floatformat_to_double): Likewise.
3386	(floatformat_from_double): Use explicit cast to convert from "to".
3387
33882005-12-10  Terry Laurenzo  <tlaurenzo@gmail.com>
3389
3390	PR java/9861
3391	* cp-demangle.c (d_bare_function_type): Recognize new 'J' qualifer
3392	and include return type when found.
3393	(d_print_comp)[DEMANGLE_COMPONENT_FUNCTION_TYPE]: Add
3394	conditional logic to change printing order of return type.when
3395	the DMGL_RET_POSTFIX option is present.
3396	(java_demangle_v3): Add DMGL_RET_POSTFIX option to d_demangle
3397	call.
3398	* testsuite/test-demangle.c (main): Recognize option --ret-postfix
3399	* testsuite/demangle-expected: Test cases to verify extended encoding.
3400	Updated comment to document --ret-postfix option.
3401
34022005-11-06  Richard Guenther  <rguenther@suse.de>
3403
3404	* splay-tree.c (rotate_left): New function.
3405	(rotate_right): Likewise.
3406	(splay_tree_splay_helper): Remove.
3407	(splay_tree_splay): Re-implement.
3408
34092005-10-31  Mark Kettenis  <kettenis@gnu.org>
3410
3411	* floatformat.c (floatformat_vax_aingle, floatformat_vax_double):
3412	New variables.
3413
34142005-10-07  Mark Mitchell  <mark@codesourcery.com>
3415
3416	* at-file.texi: Fix typo.
3417
34182005-10-03  Mark Mitchell  <mark@codesourcery.com>
3419
3420	* at-file.texi: New file.
3421
34222005-09-27  Mark Mitchell  <mark@codesourcery.com>
3423
3424	* argv.c (expandargv): Do not use xmalloc_failed.
3425
34262005-09-26  Mark Mitchell  <mark@codesourcery.com>
3427
3428	* argv.c (safe-ctype.h): Include it.
3429	(ISBLANK): Remove.
3430	(stdio.h): Include.
3431	(buildargv): Use ISSPACE instead of ISBLANK.
3432	(expandargv): New function.
3433	* Makefile.in: Regenerated.
3434
34352005-09-14  Christopher Faylor  <cgf@timesys.com>
3436
3437	* pex-win32.c: Include "windows.h".
3438	(backslashify): New function.
3439	(fix_argv): Use backslashify to convert path to windows format.
3440	Allocate one more place in new argv for potential executable from '#!'
3441	parsing.
3442	(tack_on_executable): New function.  Conditional on USE_MINGW_MSYS
3443	(openkey): Ditto.
3444	(mingw_rootify): Ditto.
3445	(msys_rootify): Ditto.
3446	(spawn_script): New function.
3447	(pex_win32_exec_child): Save translated argv in newargv.  Pass to
3448	spawn_script if spawnv* fails.
3449	(main): New function.  Conditional on MAIN.  Useful for testing.
3450
34512005-08-17  Mark Kettenis  <kettenis@gnu.org>
3452
3453	* floatformat.c (floatformat_always_valid): Change type of last
3454	argument to `void *'.
3455	(floatformat_i387_ext_is_valid): Likewise.
3456	(floatformat_to_double): Change type of second argument to `const
3457	void *'.
3458	(floatformat_from_double): Change type of last argument to `void
3459	*'.
3460	(floatformat_is_valid): Change type of last argument to `const
3461	void *'.
3462	(ieee_test): Remove redundant casts.
3463
34642005-08-17  Kelley Cook  <kcook@gcc.gnu.org>
3465
3466	* strverscmp.c: Update FSF address.
3467	* testsuite/Makefile.in: Likewise.
3468	* testsuite/test-demangle.c: Likewise.
3469	* testsuite/test-pexecute.c: Likewise.
3470
34712005-07-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3472
3473	* getopt.c: Include ansidecl.h before system headers.
3474
34752005-07-22  Ben Elliston  <bje@gnu.org>
3476
3477	* getopt.c: Include "ansidecl.h".
3478	(_getopt_initialize): Mark argc and argv parameters as unused.
3479
34802005-07-22  Ben Elliston  <bje@gnu.org>
3481
3482	* regex.c (regcomp): Change type of `i' from unsigned to int.
3483
34842005-07-22  Ben Elliston  <bje@gnu.org>
3485
3486	Recover patch lost in the sourceware repository:
3487	2005-07-09  Ben Elliston  <bje@au.ibm.com>
3488	* memcpy.c: Remove ANSI_PROTOTYPES conditional code.
3489	* memmove.c: Likewise.
3490	* objalloc.c: Likewise.
3491
34922005-07-22  Ben Elliston  <bje@gnu.org>
3493
3494	* configure.ac: Check for a getopt(3) declaration.
3495	* configure, config.in: Regenerate.
3496
34972005-07-15  Ben Elliston  <bje@au.ibm.com>
3498
3499	* regex.c (TRANSLATE): Cast rhs of ternary expression to char.
3500
35012005-07-12  Ben Elliston  <bje@au.ibm.com>
3502
3503	* floatformat.c (floatformat_to_double): Add a comment about a
3504	potential source of warnings when compiling this file.
3505
35062005-07-12  Ben Elliston  <bje@au.ibm.com>
3507
3508	* pexecute.c (pexecute): Cast string litrals to char *.
3509	* regex.c (re_comp): Cast a call to gettext() to char *.
3510
35112005-07-07  Kelley Cook  <kcook@gcc.gnu.org>
3512
3513	* config.table: Delete file.  Move former contents into ...
3514	* configure.ac: ... here and escape any brackets for m4.
3515	* Makefile.in (config.status): Remove dependency on config.table.
3516	* configure: Regenerate.
3517
35182005-07-07  Kelley Cook  <kcook@gcc.gnu.org>
3519
3520	* config.in: Regenerate for 6/20 change.
3521
35222005-07-03  Steve Ellcey  <sje@cup.hp.com>
3523
3524	PR other/13906
3525	* md5.c (md5_process_bytes): Check alignment.
3526
35272005-07-01  Ian Lance Taylor  <ian@airs.com>
3528
3529	PR other/22268
3530	* cp-demangle.c (d_expr_primary): Don't run off the end of the
3531	string while looking for the end of a literal value.
3532	* testsuite/demangle-expected: Add test case.
3533
35342005-06-30  Daniel Berlin  <dberlin@dberlin.org>
3535
3536	* hashtab.c (EMPTY_ENTRY): Moved and renamed.
3537	(DELETED_ENTRY): Ditto.
3538
35392005-06-20  Geoffrey Keating  <geoffk@apple.com>
3540
3541	* strverscmp.c: New.
3542	* Makefile.in (CFILES): Add strverscmp.c.
3543	(CONFIGURED_OFILES): Add strverscmp.o.
3544	(strverscmp.o): New rule.
3545	(stamp-functions): Add $(srcdir) to files in source directory.
3546	* configure.ac (funcs): Add strverscmp.
3547	(AC_CHECK_FUNCS): Add strverscmp.
3548	* configure: Regenerate.
3549	* functions.texi: Regenerate.
3550
35512005-05-28  Eli Zaretskii  <eliz@gnu.org>
3552
3553	* configure.ac: Add snprintf and vsnprintf to AC_CHEK_DECLS.
3554	* config.in, configure: Regenerate.
3555
35562005-05-25  Richard Henderson  <rth@redhat.com>
3557
3558	* cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_HIDDEN_ALIAS.
3559	(d_make_comp, d_print_comp): Likewise.
3560	(d_special_name): Generate one.
3561	* testsuite/demangle-expected: Add a hidden alias test.
3562
35632005-05-24  Gabriel Dos Reis  <gdr@integrable-solutions.net>
3564
3565	* configure.ac: Check declarations for calloc(), getenv(),
3566	malloc(), realloc() and sbrk().
3567	* config.in: Regenerate.
3568	* configure: Likewise.
3569
3570	* alloca.c (C_alloca): Change "new" to "new_storage".  Use XNEWVEC
3571	instead of xmalloc.
3572	* choose-temp.c (choose_temp_base): Use XNEWVEC instea od xmalloc.
3573	* concat.c (liiberty_concat_ptr): Surround definition with an
3574	extern "C" block, if __cplusplus.
3575	(concat): Use XNEWVEC instead of xmalloc.
3576	(reconcat): Likewise.
3577	* cp-demangle.c (struct d_print_template): Rename member
3578	"template" to "template_decl".  Adjust use throughout the file.
3579	(d_print_resize): Properly cast return value of realloc().
3580	(cplus_demangle_print): Same for malloc().
3581	(d_demangle): Likewise.
3582	* cp-demint.c (cplus_demangle_fill_builtin_type): Rename parameter
3583	"typename" to "type_name".
3584	* cplus-dem.c (grow_vect): Use XRESIZEVEC instead of xrealloc().
3585	(work_stuff_copy_to_from): Use XNEWVEC insteand of xmalloc().
3586	(demangle_template_value_parm): Likewise.
3587	(demangle_template): Likewise.
3588	(recursively_demangle): Likewise.
3589	(do_hpacc_template_literal): Likewise.
3590	(do_arg): Likewise.
3591	(remember_type): Likewise.
3592	(remember_Ktype): Likewise.
3593	(register_Btype): Likewise.
3594	(string_need): Use XRESIZEVEC instead of xrealloc().
3595	* dyn-string.c (dyn_string_init): Use XNEWVEC.
3596	(dyn_string_new): Use XNEW.
3597	(dyn_string_resize): Use XRESIZEVEC.
3598	* fnmatch.c (fnmatch): Rename local variable "not" to "negate".
3599	* getopt.c (getenv): Declare only if !__cplusplus and !getenv.
3600	Otherwise include <stdlib.h>.
3601	(exchange): Cast return value of malloc().
3602	* hashtab.c (htab_size): Define as both macro and non-inline
3603	function.
3604	(htab_elements): Likewise.
3605	* getpwd.c (getpwd): Use XNEWVEC.
3606	(htab_create_alloc_ex): Use C90 prototype-style.
3607	* lrealpath.c (lrealpath): Appropriately cast return value of
3608	malloc().
3609	* make-relative-prefix.c (save_string): Likewise.
3610	* make-temp-file.c (try_dir): Rename from "try".  Adjust use in
3611	the file.
3612	(choose_tmpdir): Use XNEWVEC.
3613	* mkstemps.c (mkstemps): Rename parameter "template" to "pattern".
3614	* pex-common.c (pex_init_common): Use XNEW.
3615	(pex_add_remove): Use XRESIZEVEC.
3616	(pex_run): Likewise.
3617	(pex_get_status_and_time): Likewise.
3618	* pex-djgpp.c (pex_djgpp_exec_child): Likewise.
3619	* pex-msdos.c (pex_init): Use XNEW.
3620	(pex_msdos_exec_child): Likewise.
3621	(pex_msdos_exec_child): Use XRESIZEVEC.
3622	* pex-unix.c (pex_wait): Use XNEW.
3623	* pex-win32.c (fix_argv): Use XNEWVEC.
3624	* pexecute.c (pwait): Likewise.
3625	* setenv.c (setenv): Properly cast return value of malloc().
3626	* sigsetmask.c (sigsetmask): Rename local variables "old" and
3627	"new" to "old_sig" and "new_sig".
3628	* sort.c (main): Use XNEWVEC.
3629	* spaces.c (spaces): Cast return value of malloc().
3630	* strndup.c (strndup): Likewise.
3631	* ternary.c (ternary_insert): Use XNEW.
3632	* xmalloc.c (malloc, realloc, calloc, sbrk): Surround declaration
3633	with an extern "C" block if __cplusplus.
3634	* xstrdup.c (xstrdup): Cast return value of memcpy().
3635	* xstrerror.c (strerror): Enclose declaration in an extern "C"
3636	block if __cplusplus.
3637	* xstrndup.c (xstrndup): Use XNEW. Cast return value of memcpy().
3638
36392005-05-16  Andreas Jaeger  <aj@suse.de>
3640
3641	* getpwd.c: Remove unneeded prototype getcwd and move getwd so
3642	that it's only declared if needed.
3643
3644	* getopt1.c: Change order of includes so that __GNU_LIBRARY__ is
3645	defined.
3646
36472005-05-15  Andreas Jaeger  <aj@suse.de>
3648
3649	* functions.texi: Regenerated.
3650
36512005-05-15  Eli Zaretskii  <eliz@gnu.org>
3652
3653	* pexecute.txh: Enclose multi-word data types in @deftypefn in
3654	braces.  Minor wording fixes.  Use --- for em-dash.  Use
3655	@enumerate in enumerated lists.
3656
3657	* fopen_unlocked.c: Enclose multi-word data types in @deftypefn in
3658	braces.
3659
36602005-05-11  Eli Zaretskii  <eliz@gnu.org>
3661
3662	* pex-djgpp.c: Include string.h, fcntl.h, unistd.h, and
3663	sys/stat.h.
3664	(pex_init): Fix last argument to pex_init_common.
3665	(pex_djgpp_exec_child): Remove leading underscore from _open,
3666	_dup, _dup2, _close, and _spawnv/_spawnvp.  Replace `program',
3667	which is undeclared, with `executable', which was unused.  Remove
3668	unused variable `e'.  Fix casting of last arg to spawnv/spawnvp.
3669	(pex_djgpp_wait): Declare arguments with ATTRIBUTE_UNUSED.
3670
36712005-05-11  Paul Brook  <paul@codesourcery.com>
3672
3673	* Makefile.in: Regenerate dependencies.
3674
36752005-05-10  Nick Clifton  <nickc@redhat.com>
3676
3677	* Update the address and phone number of the FSF organization in
3678	the GPL notices in the following files:
3679	COPYING.LIB, Makefile.in, _doprnt.c, argv.c, asprintf.c,
3680	choose-temp.c, clock.c, concat.c, copying-lib.texi, cp-demangle.c,
3681	cp-demangle.h, cp-demint.c, cplus-dem.c, dyn-string.c, fdmatch.c,
3682	fibheap.c, floatformat.c, fnmatch.c, fopen_unlocked.c,
3683	gather-docs, getopt.c, getopt1.c, getruntime.c, hashtab.c, hex.c,
3684	lbasename.c, lrealpath.c, maint-tool, make-relative-prefix.c,
3685	make-temp-file.c, md5.c, mempcpy.c, mkstemps.c, objalloc.c,
3686	obstack.c, partition.c, pex-common.c, pex-common.h, pex-djgpp.c,
3687	pex-msdos.c, pex-one.c, pex-unix.c, pex-win32.c, pexecute.c,
3688	physmem.c, putenv.c, regex.c, safe-ctype.c, setenv.c, snprintf.c,
3689	sort.c, spaces.c, splay-tree.c, stpcpy.c, stpncpy.c, strndup.c,
3690	strtod.c, ternary.c, unlink-if-ordinary.c, vasprintf.c,
3691	vsnprintf.c, vsprintf.c, xexit.c, xmalloc.c, xstrndup.c
3692
36932005-05-06  Kelley Cook  <kcook@gcc.gnu.org>
3694
3695	* aclocal.m4 (AC_DEFINE_NOAUTOHEADER): Remove.
3696	* configure.ac: Replace any AC_DEFINE_NOAUTOHEADER with AC_DEFINE.
3697	* configure: Regenerate.
3698
36992005-05-06  Kelley Cook  <kcook@gcc.gnu.org>
3700
3701	* configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
3702	Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
3703	* aclocal.m4: Don't include accross.m4.
3704	* configure, config.in: Regenerate.
3705
37062005-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3707
3708	* fopen_unlocked.c (unlock_std_streams): New.
3709
3710	* functions.texi: Regenerate.
3711
37122005-04-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3713
3714	* fopen_unlocked.c (unlock_stream): New.
3715	Consolidate unlocking code into a helper function.
3716
3717	* functions.texi: Regenerate.
3718
37192005-04-13  Gabriel Dos Reis  <gdr@integrable-solutions.net>
3720
3721	* asprintf.c: Include config.h.
3722	* basename.c: Likewise.
3723	* fdmatch.c: Likewise.
3724	* hex.c: Likewise.
3725	* lbasename.c: Likewise.
3726	* spaces.c: Likewise.
3727	* xatexit.c:Likewise.
3728	* configure.ac:  Do check declarations for basename, ffs, asprintf
3729	and vasprintf for real.
3730	* configure: Regenerate.
3731
37322005-04-13  Gabriel Dos Reis  <gdr@integrable-solutions.net>
3733
3734	* argv.c (dupargv): Allocate space of argv[argc], not
3735	sizeof(char *) of that amount.  Cast result to char *.
3736
37372005-04-12  Gabriel Dos Reis  <gdr@integrable-solutions.net>
3738
3739	* regex.c (wcs_re_match_2_internal, byte_re_match_2_internal):
3740	Replace not with negate.
3741
37422005-04-12  Gabriel Dos Reis  <gdr@integrable-solutions.net>
3743
3744	* configure.ac: Check declarations for basename, ffs, asprintf,
3745	vasprintf.
3746	* configure: Regenerate.
3747	* config.in: Likewise.
3748
37492005-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3750
3751	* Makefile.in (CFILES): Add fopen_unlocked.c.
3752	(REQUIRED_OFILES): Add ./fopen_unlocked.o.
3753	Regenerate dependencies.
3754
3755	* configure.ac: Check for stdio_ext.h and __fsetlocking.
3756
3757	* fopen_unlocked.c: New file.
3758
3759	* functions.texi, configure, config.in: Regenerate.
3760
37612005-04-04  Ian Lance Taylor  <ian@airs.com>
3762
3763	* testsuite/test-pexecute.c (TEST_PEX_RUN): Move variable
3764	declaration before statement.
3765
37662005-04-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3767
3768	* bcmp.c: Fix warnings and implement using memcmp.
3769	* bcopy.c: Fix warnings.
3770	* bzero.c: Fix warnings and implement using memset.
3771
3772	* configure.ac (ac_libiberty_warn_cflags): Add -Wwrite-strings
3773	-Wstrict-prototypes.
3774	* configure, config.in: Regenerate.
3775
3776	* bsearch.c, index.c, rindex.c, strstr.c, strtol.c, waitpid.c: Fix
3777	warnings and reconcile interfaces with relevant standards.
3778
37792005-04-02  Ian Lance Taylor  <ian@airs.com>
3780
3781	* cp-demangle.c: Update copyright.
3782
37832005-03-31  Joseph S. Myers  <joseph@codesourcery.com>
3784
3785	* gettimeofday.c: Add "Supplemental" to @deftypefn.
3786	* functions.texi: Regenerate.
3787
37882005-03-28  Ian Lance Taylor  <ian@airs.com>
3789
3790	* pex-common.c: New file.
3791	* pex-one.c: New file.
3792	* pexecute.c: New file.
3793	* pex-common.h: Include <stdio.h>.
3794	(struct pex_obj): Define.
3795	(struct pex_funcs): Define.
3796	(pex_init_common): Declare.
3797	* pex-unix.c: Rewrite.
3798	* pex-win32.c: Rewrite.
3799	* pex-djgpp.c: Rewrite.
3800	* pex-msdos.c: Rewrite.
3801	* testsuite/text-pexecute.c: New file.
3802	* pexecute.txh: Rewrite.
3803	* configure.ac: Check for wait3 and wait4.  Set CHECK to
3804	really-check rather than check-cplus-dem.
3805	* functions.texi: Rebuild.
3806	* Makefile.in: Rebuild dependencies.
3807	(CFILES): Add pexecute.c, pex-common.c, pex-one.c.
3808	(REQUIRED_OFILES): Add pexecute.o, pex-common.o, pex-one.o.
3809	* testsuite/Makefile.in (really-check): New target.
3810	(check-pexecute, test-pexecute): New targets.
3811	* configure: Rebuild.
3812
38132005-03-28  Mark Kettenis  <kettenis@gnu.org>
3814
3815	* unlink-if-ordinary.c: Include <sys/types.h>.
3816
38172005-03-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
3818
3819	Convert libiberty to use ISO C prototype style 7/n.
3820	* regex.c (PARAMS): Remove definition.
3821	(PREFIX): Unconditionaly define using ISO C ## operator.
3822	(init_syntax_once, extract_number, extract_number_and_incr,
3823	print_fastmap, print_partial_compiled_pattern,
3824	print_compiled_pattern, print_double_string, printchar,
3825	convert_mbs_to_wcs, re_set_syntax, regex_grow_registers,
3826	regex_compile, store_op1, store_op2, insert_op1, insert_op2,
3827	at_begline_loc_p, at_endline_p, group_in_compile_stack,
3828	insert_space, wcs_compile_range, byte_compile_range,
3829	truncate_wchar, re_compile_fastmap, re_compile_fastmap,
3830	re_set_registers, re_search, re_search_2, re_search_3, re_match,
3831	re_match_2, count_mbs_length, wcs_re_match_2_internal,
3832	byte_re_match_2_internal, group_match_null_string_p,
3833	alt_match_null_string_p, common_op_match_null_string_p,
3834	bcmp_translate, re_compile_pattern, re_comp, re_exec, regcomp,
3835	regexec, regerror, regfree): Use ISO C prototype style.
3836	* partition.c: (elem_compare): Likewise.
3837	* cp-demangle.c (print_usage): Likewise.
3838
38392005-03-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
3840
3841	Convert libiberty to use ISO C prototype style 5/n.
3842	* random.c (srandom, initstate, setstate, random): Use ISO C
3843	prototypes.
3844	* putenv.c (putenv): Likewise.
3845	* physmem.c (physmem_available, physmem_total, main): Likewise.
3846	* pex-win32.c (fix_argv, pexecute, pwait): Likewise.
3847	* pex-unix.c (pexecute, pwait): Likewise.
3848	* pex-msdos.c (pexecute, pwait): Likewise.
3849	* pex-djgpp.c (pexecute, pwait): Likewise.
3850	* partition.c (partition_new, partition_delete, partition_union)
3851	(elem_compare, partition_print): Likewise.
3852	* obstack.c (_obstack_begin, _obstack_begin_1, _obstack_newchunk,
3853	_obstack_allocated_p, _obstack_free, obstack_free,
3854	_obstack_memory_used, print_and_abort, obstack_next_free,
3855	obstack_object_size, obstack_base): Likewise.  Remove codes
3856	predicated on !defined(__STDC__).
3857	* objalloc.c (objalloc_create, _objalloc_alloc, objalloc_free,
3858	objalloc_free_block): Use ISO C prototypes.
3859	* mkstemps.c (mkstemps): Likewise.
3860	* memset.c (memset): Likewise.
3861	* mempcpy.c (mempcpy): Likewise.
3862	* rename.c (rename): Likewise.
3863	* rindex.c (rindex): Likewise.
3864	* setenv.c (setenv, unsetenv): Likewise.
3865	* sigsetmask.c (sigsetmask): Likewise.
3866	* snprintf.c (snprintf): Likewise.
3867	* sort.c (sort_pointers, xmalloc): Likewise.
3868	* spaces.c (spaces): Likewise.
3869	* splay-tree.c (splay_tree_delete_helper,
3870	splay_tree_splay_helper, splay_tree_splay,
3871	splay_tree_foreach_helper, splay_tree_xmalloc_allocate,
3872	splay_tree_new, splay_tree_xmalloc_allocate,
3873	splay_tree_new_with_allocator, splay_tree_delete,
3874	splay_tree_insert, splay_tree_remove, splay_tree_lookup,
3875	splay_tree_max, splay_tree_min, splay_tree_predecessor,
3876	splay_tree_successor, splay_tree_foreach,
3877	splay_tree_compare_ints, splay_tree_compare_pointers): Likewise.
3878	* stpcpy.c (stpcpy): Likewise.
3879	* stpncpy.c (stpncpy): Likewise.
3880	* strcasecmp.c (strcasecmp): Likewise.
3881	* strchr.c (strchr): Likewise.
3882	* strdup.c (strdup): Likewise.
3883
38842005-03-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
3885
3886	Convert libiberty to use ISO C prototype style 6/n.
3887	* strerror.c (init_error_tables, errno_max, strerror, strerrno,
3888	strtoerrno, main): Use ISO C prototype style.
3889	* strncasecmp.c (strncasecmp): Likewise.
3890	* strncmp.c (strncmp): Likewise.
3891	* strndup.c (strndup): Likewise.
3892	* strrchr.c (strrchr): Likewise.
3893	* strsignal.c (init_signal_tables, signo_max, strsignal,
3894	strsigno, strtosigno, psignal, main): Likewise.
3895	* strstr.c (strstr): Likewise.
3896	* strtod.c (strtod, atof): Likewise.
3897	* strtol.c (strtol): Likewise.
3898	* strtoul.c (strtoul): Likewise.
3899	* ternary.c (ternary_insert, ternary_cleanup, ternary_search,
3900	ternary_recursivesearch): Likewise.
3901	* tmpnam.c (tmpnam): Likewise.
3902	* unlink-if-ordinary.c (unlink_if_ordinary): Likewise.
3903	* vasprintf.c (int_vasprintf, vasprintf, checkit, main): Likewise.
3904	* vfork.c (vfork): Likewise.
3905	* vfprintf.c (vfprintf): Likewise.
3906	* vprintf.c (vprintf): Likewise.
3907	* vsnprintf.c (vsnprintf, checkit, main): Likewise.
3908	* vsprintf.c (vsprintf): Likewise.
3909	* waitpid.c (waitpid): Likewise.
3910	* xatexit.c (xatexit, xatexit_cleanup): Likewise.
3911	* xexit.c (xexit): Likewise.
3912	* xmalloc.c (xmalloc_set_program_name, xmalloc_failed, xmalloc,
3913	xcalloc, xrealloc): Likewise.
3914	* xmemdup.c (xmemdup): Likewise.
3915	* xstrdup.c (xstrdup): Likewise.
3916	* xstrerror.c (xstrerror): Likewise.
3917	* xstrndup.c (xstrndup): Likewise.
3918
39192005-03-27  Andreas Jaeger  <aj@suse.de>
3920
3921	* configure.ac (ac_c_preproc_warn_flag): Remove -Wtraditional
3922	flags.
3923	* configure: Regenerated.
3924
39252005-03-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
3926
3927	* getopt1.c (getopt_long_only): Fix thinko.
3928
39292005-03-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
3930
3931	Convert libiberty to use ISO C prototype style 4/n.
3932	* hashtab.c (higher_prime_index, hash_pointer, eq_pointer,
3933	htab_size, htab_elements, htab_mod_1, htab_mod, htab_mod_m2,
3934	htab_create_alloc, htab_set_functions_ex, htab_create,
3935	htab_try_create, htab_delete, htab_empty,
3936	find_empty_slot_for_expand, htab_expand, htab_find_with_hash,
3937	htab_find, htab_find_slot_with_hash, htab_find_slot,
3938	htab_remove_elt, htab_remove_elt_with_hash, htab_clear_slot,
3939	htab_traverse_noresize, htab_traverse, htab_collisions,
3940	htab_hash_string, iterative_hash): Use ISO C prototype.
3941	* hex.c (hex_init): Likewise.
3942	* index.c (index): Likewise.
3943	* insque.c (insque, remque): Likewise.
3944	* lbasename.c (lbasename): Likewise.
3945	* lrealpath.c (lrealpath): Likewise.
3946	* make-relative-prefix.c (save_string, split_directories,
3947	free_split_directories, make_relative_prefix): Likewise.
3948	* make-temp-file.c (try, choose_tmpdir, make_temp_file): Likewise.
3949	* md5.c (md5_init_ctx, md5_read_ctx, md5_finish_ctx, md5_stream,
3950	md5_buffer, md5_process_bytes, md5_process_block): Likewise.
3951	* memchr.c (memchr): Likewise.
3952	* memcpy.c (memcpy): Likewise.
3953	* memmove.c (memmove): Likewise.
3954	* gettimeofday.c (gettimeofday): Likewise.
3955	* getruntime.c (get_run_time): Likewise.
3956	* getpwd.c (getpwd, getpwd): Likewise.
3957	* getpagesize.c (getpagesize): Likewise.
3958	* getopt1.c (getopt_long, getopt_long_only, main): Likewise.
3959	* getopt.c (my_index, exchange, _getopt_initialize,
3960	_getopt_internal, getopt, main): Likewise.
3961	* getcwd.c (getcwd): Likewise.
3962	* fnmatch.c (fnmatch): Likewise.
3963	* floatformat.c (floatformat_always_valid,
3964	floatformat_i387_ext_is_valid, get_field, floatformat_to_double,
3965	put_field, floatformat_from_double, floatformat_is_valid,
3966	ieee_test, main): Likewise.
3967	* fibheap.c (fibheap_new, fibnode_new, fibheap_compare,
3968	fibheap_comp_data, fibheap_insert, fibheap_min, fibheap_min_key,
3969	fibheap_union, fibheap_extract_min, fibheap_replace_key_data,
3970	fibheap_replace_key, fibheap_replace_data, fibheap_delete_node,
3971	fibheap_delete, fibheap_empty, fibheap_extr_min_node,
3972	fibheap_ins_root, fibheap_rem_root, fibheap_consolidate,
3973	fibheap_link, fibheap_cut, fibheap_cascading_cut,
3974	fibnode_insert_after, fibnode_remove): Likewise.
3975	* ffs.c (ffs): Likewise.
3976	* fdmatch.c (fdmatch): Likewise.
3977	* dyn-string.c (dyn_string_init, dyn_string_new,
3978	dyn_string_delete, dyn_string_release, dyn_string_resize,
3979	dyn_string_clear, dyn_string_copy, dyn_string_copy_cstr,
3980	dyn_string_prepend, dyn_string_prepend_cstr, dyn_string_insert,
3981	dyn_string_insert_cstr, dyn_string_insert_char,
3982	dyn_string_append, dyn_string_append_cstr,
3983	dyn_string_append_char, dyn_string_substring, dyn_string_eq):
3984	Likewise.
3985
39862005-03-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
3987
3988	Convert libiberty to use ISO C prototype style 3/n.
3989	* cplus-dem.c (set_cplus_marker_for_demangling, consume_count,
3990	consume_count_with_underscores, code_for_qualifier,
3991	qualifier_string, demangle_qualifier, cplus_demangle_opname,
3992	cplus_mangle_opname, cplus_demangle_set_style,
3993	cplus_demangle_name_to_style, cplus_demangle, grow_vect,
3994	ada_demangle, internal_cplus_demangle, squangle_mop_up,
3995	work_stuff_copy_to_from, delete_non_B_K_work_stuff,
3996	delete_work_stuff, mop_up, demangle_signature,
3997	demangle_method_args, demangle_template_template_parm,
3998	demangle_expression, demangle_integral_value,
3999	demangle_real_value, demangle_template_value_parm,
4000	demangle_template, arm_pt, demangle_arm_hp_template,
4001	demangle_class_name, demangle_class, iterate_demangle_function,
4002	demangle_prefix, gnu_special, recursively_demangle, arm_special,
4003	demangle_qualified, get_count, do_type, demangle_fund_type,
4004	do_hpacc_template_const_value, do_hpacc_template_literal,
4005	snarf_numeric_literal, do_arg, remember_type, remember_Ktype,
4006	register_Btype, remember_Btype, forget_B_and_K_types,
4007	forget_types, demangle_args, demangle_nested_args,
4008	demangle_function_name, string_need, string_delete, string_init,
4009	string_clear, string_empty, string_append, string_appends,
4010	string_appendn, string_prepend, string_prepends, string_prependn,
4011	string_append_template_idx): Use ISO C prootype style.
4012	* cp-demint.c (cplus_demangle_fill_component,
4013	cplus_demangle_fill_builtin_type, cplus_demangle_fill_operator,
4014	cplus_demangle_v3_components): Likewise.
4015
40162005-03-26  Gabriel Dos Reis  <gdr@integrable-solutions.net>
4017
4018	Convert libiberty to use ISO C prototype style 2/n.
4019	* cp-demangle.h: Remove uses of PARAMS.
4020	* cp-demangle.c: Likewise.
4021	(d_dump, cplus_demangle_fill_name,
4022	cplus_demangle_fill_extended_operator, cplus_demangle_fill_ctor,
4023	cplus_demangle_fill_dtor, d_make_empty, d_make_comp, d_make_name,
4024	d_make_builtin_type, d_make_operator, d_make_extended_operator,
4025	d_make_ctor, d_make_dtor, d_make_template_param, d_make_sub,
4026	cplus_demangle_mangled_name, has_return_type,
4027	is_ctor_dtor_or_conversion, d_encoding, d_name, d_nested_name,
4028	d_prefix, d_unqualified_name, d_source_name, d_number,
4029	d_identifier, d_operator_name, d_special_name, d_call_offset,
4030	d_ctor_dtor_name, cplus_demangle_type, d_cv_qualifiers,
4031	d_function_type, d_bare_function_type, d_class_enum_type,
4032	d_array_type, d_pointer_to_member_type, d_template_param,
4033	d_template_args, d_template_arg, d_expression, d_expr_primary,
4034	d_local_name, d_discriminator, d_add_substitution,
4035	d_substitution, d_print_resize, d_print_append_char,
4036	d_print_append_buffer, d_print_error, cplus_demangle_print,
4037	d_print_comp, d_print_java_identifier, d_print_mod_list,
4038	d_print_mod, d_print_function_type, d_print_array_type,
4039	d_print_expr_op, d_print_cast, cplus_demangle_init_info,
4040	d_demangle, __cxa_demangle, cplus_demangle_v3, java_demangle_v3,
4041	is_ctor_or_dtor, is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor,
4042	print_usage, main):
4043
40442005-03-26  Gabriel Dos Reis  <gdr@integrable-solutions.net>
4045
4046	Convert libiberty to ISO C prototype style 1/n.
4047	* _doprnt.c: Remove conditional #include <varargs.h> on
4048	ANSI_PROTOTYPES as the latter is always assumed.
4049	(_doprnt, checkit, main): Use ISO C prototype.
4050	* alloca.c (find_stack_direction, C_alloca): Use ISO C prototype.
4051	* argv.c: Remove conditional #includes on ANSI_PROTOTYPES.
4052	(dupargv, freeargv, buildargv, main): Use ISO C prototype.
4053	* atexit.c (atexit): Likewise
4054	* asprintf.c: Remove conditional include on ANSI_PROTOTYPES.
4055	(asprintf): Use ISO C prototype.
4056	* basename.c (basename): Likewise
4057	* bcmp.c (bcmp): Likewise.
4058	* bcopy.c (bcopy): Likewise.
4059	* bzero.c (bzero): Likewise.
4060	* bsearch.c (bsearch): Likewise.  Improve const-correctness.
4061	* choose-temp.c (choose_temp_base): Likewise.
4062	* calloc.c: Remove conditional #include on ANSI_PROTOTYPES.
4063	(calloc): Use ISO C prototype.
4064	* clock.c (clock): Likewise.
4065	* concat.c: Remove conditional #include on ANSI_PROTOTYPES.
4066	(vconcat_length, vconcat_copy, concat_length, concat_copy,
4067	concat_copy2, concat, reconcat, main): Use ISO C prototype.
4068	* copysign.c (copysign): Likewise.
4069
40702005-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4071
4072	* Makefile.in (CFILES): Add strndup.c and xstrndup.c.
4073	(REQUIRED_OFILES): Add xstrndup.o.
4074	(CONFIGURED_OFILES): Add strndup.o.
4075	Regenerate dependencies.
4076
4077	* configure.ac (funcs, AC_CHECK_FUNCS): Add strndup.
4078
4079	* strndup.c, xstrndup.c: New.
4080
4081	* config.in, configure, functions.texi: Regenerate.
4082
40832005-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4084
4085	* xmemdup.c, xstrdup.c: Expose the tail call.
4086
40872005-03-09  Mark Mitchell  <mark@codesourcery.com>
4088
4089	* configure.ac (funcs): Add gettimeofday.
4090	* configure: Regenerated.
4091	* gettimeofday.c: New file.
4092	* Makefile.in (CFILES): Add gettimeofday.
4093	(CONFIGURED_OFILES): Add gettimeofday.o.
4094	(./gettimeofday.o): New rule.
4095
40962005-03-09  Ian Lance Taylor  <ian@airs.com>
4097
4098	* pex-os2.c: Remove.
4099	* configure.ac: Remove *-*-os2-emx* case when setting pexecute.
4100	* Makefile.in (CFILES): Remove pex-os2.c.
4101	(CONFIGURED_OFILES): Remove pex-os2.o.
4102	(pex-os2.o): Remove target.
4103	* configure: Rebuild.
4104
41052005-03-07  Ian Lance Taylor  <ian@airs.com>
4106
4107	* mpw-config.in: Remove.
4108	* mpw-make.sed: Remove.
4109	* mpw.c: Remove.
4110	* Makefile.in (CFILES): Remove pex-mpw.c.
4111	(CONFIGURED_OFILES): Remove pex-mpw.o.
4112	(mpw.o, pex-mpw.o): Remove targets.
4113	* maint-tool (undoc): Remove reference to mpw.c.
4114
41152005-03-06  DJ Delorie  <dj@redhat.com>
4116
4117	* configure.ac (target_header_dir): vfork is a stub under djgpp.
4118	* configure: Regenerated.
4119
41202005-03-01  Jan Beulich  <jbeulich@novell.com>
4121
4122	* Makefile.in (CFILES): Add unlink-if-ordinary.c
4123	(REQUIRED_OFILES): Add unlink-if-ordinary.o.
4124	Add dependencies and rule for unlink-if-ordinary.o.
4125	* unlink-if-ordinary.c: New.
4126
41272005-03-01  Ben Elliston  <bje@au.ibm.com>
4128
4129	* hashtab.c (htab_find_slot_with_hash): Make function
4130	documentation clearer.
4131
41322005-02-13  Jason Merrill  <jason@redhat.com>
4133
4134	* cp-demangle.c (__cxa_demangle): Change resolution of ambiguous
4135	arguments.
4136
41372005-01-11  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>
4138
4139	* hex.c (hex_value): Group 'unsigned int' together to get correct
4140	markup.
4141	* functions.texi: Regenerated.
4142
41432004-12-27  H.J. Lu  <hongjiu.lu@intel.com>
4144
4145	* Makefile.in: Undo to 2004-12-17.
4146	* aclocal.m4: Likewise.
4147	* config.table: Likewise.
4148	* configure.ac: Likewise.
4149	* maint-tool: Likewise.
4150	* configure: Likewise.
4151
41522004-12-19  H.J. Lu  <hongjiu.lu@intel.com>
4153
4154	PR bootstrap/19072
4155	* Makefile.in (enable_shared): New substitute.
4156	(LTTARGETLIB): New.
4157	(PREFIXTARGETLIB): New.
4158	(LTTESTLIB): New.
4159	(PREFIXTESTLIB): New.
4160	(CCLD): New.
4161	(LINK): New.
4162	($(TARGETLIB)): Use $(LINK) to create libraries and create
4163	targets by hand.
4164	($(TESTLIB)): Likewise.
4165	(mostlyclean): Don't remove .libs. Remove the libtool object
4166	directory.
4167
4168	* config.table (enable_shared): Removed.
4169
4170	* configure.ac (enable_static): Set to yes.
4171	(AC_PROG_LIBTOOL): Removed.
4172	(AM_DISABLE_SHARED): Uncommented.
4173	(AM_PROG_LIBTOOL): Likewise.
4174	(LIBOBJS): Add `./' to avoid VPATH.
4175	(LTLIBOBJS): Likewise.
4176	(enable_shared): Substitute.
4177	* configure: Regenerated.
4178
41792004-12-18  H.J. Lu  <hongjiu.lu@intel.com>
4180
4181	* Makefile.in (top_builddir): Set to `.'.
4182	(OUTPUT_OPTION): Removed.
4183	(LIBTOOL): New.
4184	(LTLIBOBJS): New.
4185	(EXTRA_LTOFILES): New.
4186	(FLAGS_TO_PASS): Add EXTRA_LTOFILES.
4187	(all): Remove stamp-picdir.
4188	(LTCOMPILE): New.
4189	(.c.lo): New rule.
4190	(REQUIRED_LTOFILES): New.
4191	(CONFIGURED_LTOFILES): New.
4192	($(TARGETLIB)): Check .libs for PIC object files. Depend on
4193	$(REQUIRED_LTOFILES) $(EXTRA_LTOFILES) $(LTLIBOBJS).
4194	(stamp-picdir): Completely removed.
4195	(maint-missing): Pass $(REQUIRED_LTOFILES)
4196	$(CONFIGURED_LTOFILES) instead of (REQUIRED_OFILES)
4197	$(CONFIGURED_OFILES)
4198	(maint-buildall): Depend on $(REQUIRED_LTOFILES)
4199	$(CONFIGURED_LTOFILES).
4200	(mostlyclean): Also remove *.lo .libs.
4201	Run "make maint-deps".
4202
4203	* aclocal.m4: Include ../libtool.m4.
4204
4205	* config.table: Don't check --enable-shared.
4206
4207	* configure.ac (AC_PROG_LIBTOOL): Add.
4208	(AC_PROG_CC_C_O): Removed.
4209	(OUTPUT_OPTION): Removed.
4210	(NO_MINUS_C_MINUS_O): Removed.
4211	(ltpexecute): New substitute.
4212	(LIBOBJS): Cleanup.
4213	* configure: Regenerated.
4214
4215	* maint-tool: Updated for .lo/libtool.
4216
42172004-12-11  Ben Elliston  <bje@au.ibm.com>
4218
4219	* configure.ac: Invoke AC_CHECK_SIZEOF for sizeof (int).
4220	* configure: Regenerate.
4221	* config.in: Likewise.
4222
42232004-12-07  DJ Delorie  <dj@redhat.com>
4224
4225	* splay-tree.c (splay_tree_delete_helper): Redesign the logic so
4226	that recursion (and thus large stack space) is not needed.
4227
42282004-11-29  Matt Kraai  <kraai@alumni.cmu.edu>
4229
4230	* pex-unix.c: Fix the spelling of longjmp.
4231
42322004-11-23  Ian Lance Taylor  <ian@wasabisystems.com>
4233
4234	PR other/18623
4235	* cp-demangle.c (d_call_offset): Remove useless local variables
4236	offset and virtual_offset.
4237	* cplus-dem.c (ada_demangle): Remove useless local variable
4238	at_start_name.
4239	(demangle_template): Remove useless local variable start.
4240
42412004-11-19  Roger Sayle  <roger@eyesopen.com>
4242
4243	* objalloc.c, strsignal.c, xstrerror.c: Include "config.h" before
4244	"ansidecl.h" to avoid redeclaration errors with native compilers.
4245	* regex.c: Protect config.h from multiple inclusion.
4246
42472004-11-12  Mike Stump  <mrs@apple.com>
4248
4249	* Makefile.in (libiberty.html): Fix html generation.
4250
42512004-09-08  Adam Nemet  <anemet@lnxw.com>
4252
4253	* vasprintf.c: Accept __va_copy in addition to va_copy.
4254
42552004-09-03  Paolo Bonzini  <bonzini@gnu.org>
4256
4257	* configure: Regenerate.
4258
42592004-09-02  Paolo Bonzini  <bonzini@gnu.org>
4260
4261	* configure.ac: Do not enable multilibs for build-side libiberty.
4262
42632004-06-29  Danny Smith  <dannysmith@users.sourceforge.net>
4264
4265	* lrealpath.c (lrealpath): Add _WIN32 support.
4266
42672004-06-28  Zack Weinberg  <zack@codesourcery.com>
4268
4269	* cp-demangle.h: Declare cplus_demangle_operators,
4270	cplus_demangle_builtin_types, cplus_demangle_mangled_name, and
4271	cplus_demangle_type as static if IN_GLIBCPP_V3.
4272
42732004-06-28  Ian Lance Taylor  <ian@wasabisystems.com>
4274
4275	PR other/16240
4276	* cp-demangle.c (d_expr_primary): Check for a failure return from
4277	cplus_demangle_type.
4278	* testsuite/demangle-expected: Add test case.
4279
42802004-05-31  Danny Smith  <dannysmith@users.sourceforge.net>
4281
4282	* pex-win32.c (fix_argv): Expand comment.
4283
42842004-05-25  Daniel Jacobowitz  <drow@false.org>
4285
4286	* Makefile.in: Add .NOEXPORT.
4287
42882004-04-29  Douglas B Rupp  <rupp@gnat.com>
4289
4290	* mkstemps.c (mkstemps) [VMS]: Remove special open option. Update
4291	copyright.
4292
42932004-04-26  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
4294
4295	* configure.ac (UNSIGNED_64BIT_TYPE): Unquote the definition.
4296	* configure: Regenerate.
4297
42982004-04-22  Richard Henderson  <rth@redhat.com>
4299
4300	* hashtab.c: Include limits.h, stdint.h, ansidecl.h.
4301	(CHAR_BIT): Provide default.
4302	(struct prime_ent, prime_tab): New.
4303	(higher_prime_index): Rename from higher_prime_number, return index.
4304	(htab_mod_1): New.
4305	(htab_mod, htab_mod_m2): Use it.
4306	(htab_create_alloc, htab_create_alloc_ex): Store prime index.
4307	(htab_expand): Likewise.
4308	* configure.ac: Check for stdint.h.
4309	(UNSIGNED_64BIT_TYPE): New define and checks to fill it in.
4310	* config.in, configure: Rebuild.
4311
43122004-04-13  Ian Lance Taylor  <ian@wasabisystems.com>
4313
4314	* strerror.c: Include config.h, and redefine sys_nerr and
4315	sys_errlist, before including ansidecl.h and libiberty.h.
4316
43172004-04-13  Jeff Law  <law@redhat.com>
4318
4319	* hashtab.c (htab_remove_elt_with_hash): New function.
4320	(htab_remove_elt): Implement in terms of htab_remove_elt_with_hash.
4321
43222004-03-31  Richard Henderson  <rth@redhat.com>
4323
4324	* hashtab.c (htab_size): Move to top of file; mark inline.
4325	(htab_elements): Likewise.
4326	(htab_mod, htab_mod_m2): New.
4327	(htab_delete): Refactor htab->size and htab->entries.
4328	(htab_empty): Likewise.
4329	(find_empty_slot_for_expand): Use htab_size, htab_mod, htab_mod_m2.
4330	(htab_find_with_hash, htab_find_slot_with_hash): Likewise.
4331	(htab_clear_slot): Use htab_size, htab_elements.
4332	(htab_traverse_noresize, htab_traverse): Likewise.
4333
43342004-03-17  Ian Lance Taylor  <ian@wasabisystems.com>
4335
4336	* pex-unix.c (pexecute): Use vfork instead of fork, with
4337	appropriate changes to make this safe.
4338	* pex-common.h (STDERR_FILE_NO): Define.
4339
4340	* Makefile.in: Clean up REQUIRED_OFILES and CONFIGURED_OFILES for
4341	an 80 column screen.  Run maint-deps.
4342
43432004-03-09  Kelley Cook  <kcook@gcc.gnu.org>
4344
4345	* configure.ac: Bump version to 2.59.  Apply suggested autoupdates.
4346	* acconfig.h: Delete redundant file.
4347	* config.in: Regenerate.
4348	* configure: Regenerate.
4349
43502004-03-09  Hans-Peter Nilsson  <hp@axis.com>
4351
4352	* configure: Regenerate for config/accross.m4 correction.
4353
43542004-03-07  Andreas Jaeger  <aj@suse.de>
4355
4356	* testsuite/test-demangle.c: Include <string.h> and <stdlib.h> for
4357	prototypes.
4358	(main): Initialize style.
4359
43602004-02-24  Ian Lance Taylor  <ian@wasabisystems.com>
4361
4362	* cp-demangle.h (enum d_builtin_type_print): Add D_PRINT_UNSIGNED,
4363	D_PRINT_UNSIGNED_LONG, D_PRINT_LONG_LONG,
4364	D_PRINT_UNSIGNED_LONG_LONG, D_PRINT_FLOAT.
4365	* cp-demangle.c (cplus_demangle_builtin_types): Change char and
4366	short types to D_PRINT_DEFAULT.  Change other integer types to use
4367	new D_PRINT_* values where appropriate.  Change float types to
4368	D_PRINT_FLOAT.
4369	(d_print_comp) [LITERAL, LITERAL_NEG]: Handle new D_PRINT_*
4370	values.
4371	* testsuite/demangle-expected: Adjust two test cases.
4372
4373	* cp-demangle.c (d_print_function_type): Print a space before the
4374	parenthesis around the function type in more cases.
4375	* testsuite/demangle-expected: Adjust one test case.
4376
4377	* cp-demangle.c (d_print_comp) [UNARY]: Don't emit extra
4378	parentheses around a cast.
4379	* testsuite/demangle-expected: Adjust two test cases to match new
4380	output.
4381
4382	* cp-demangle.c (__cxa_demangle): Pass DMGL_PARAMS to d_demangle.
4383
4384	* cp-demangle.c (d_print_comp) [RESTRICT, VOLATILE, CONST]: Don't
4385	push more than one of the same CV-qualifier on the top of the
4386	stack.
4387	(d_print_comp) [ARRAY_TYPE]: If the array itself is CV-qualified,
4388	move the CV-qualifiers to apply to the element type instead.
4389	(d_print_array_type): When checking the modifiers, keep looking
4390	past ones which have been printed already.
4391	* testsuite/demangle-expected: Add three test cases.
4392
43932004-02-23  Ian Lance Taylor  <ian@wasabisystems.com>
4394
4395	* cp-demangle.c (__cxa_demangle): Adjust last patch to handle
4396	empty string correctly.
4397
4398	* cp-demangle.c (__cxa_demangle): It is not an error if status is
4399	not NULL.  It is an error if the mangled name is the same as a
4400	built-in type name.
4401	(main): If IN_GLIBCPP_V3 is defined, test __cxa_demangle rather
4402	than cplus_demangle_v3.
4403
4404	* dyn-string.c: Remove test of IN_LIBGCC2 and IN_GLIBCPP_V3 and
4405	the associated #define of RETURN_ON_ALLOCATION_FAILURE.
4406
44072004-02-16  Matt Kraai  <kraai@alumni.cmu.edu>
4408
4409	* regex.c: Include <ansidecl.h>.
4410	(regcomp): Cast i to int.
4411	(regerror): Add ATTRIBUTE_UNUSED to parameter preg.
4412
44132004-01-25  Ian Lance Taylor  <ian@wasabisystems.com>
4414
4415	* configure.ac: Add m4_pattern_allow(LIBOBJS).
4416	* configure: Regenerate.
4417
44182004-01-22  DJ Delorie  <dj@redhat.com>
4419
4420	* Makefile.in: Convert to ./ throughout.  Rebuild dependencies
4421	with explicit build rules.
4422	(VPATH): Remove.
4423	(.c.o): Poison.
4424	* configure.ac (pexecute, LIBOBJS): Add ./ .
4425	* maint-tool: Build dependencies with explicit rules.
4426
44272004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
4428
4429	* strdup.c (strdup): Constify the argument.
4430
44312004-01-14  Loren J. Rittle  <ljrittle@acm.org>
4432
4433	* Makefile.in (distclean): Remove config.cache.
4434
44352004-01-13  Daniel Jacobowitz  <drow@mvista.com>
4436
4437	* cp-demangle.c (d_make_comp): DEMANGLE_COMPONENT_CONSTRUCTION_VTABLE
4438	takes two parameters.
4439	* cp-demint.c (cplus_demangle_fill_component): Likewise.
4440
44412004-01-12  Ian Lance Taylor  <ian@wasabisystems.com>
4442
4443	* cp-demangle.c: Include "cp-demangle.h".  If IN_GLIBCPP_V3 is
4444	defined, rename some functions which are to become static via
4445	#define.
4446	(CP_STATIC_IF_GLIBCPP_V3): Define.
4447	(struct d_operator_info): Move definition to cp-demangle.h, and
4448	rename to demangle_operator_info.  Change all uses.
4449	(enum d_builtin_type_print): Move definition to cp-demangle.h.
4450	(struct d_builtin_type_info): Move definition to cp-demangle.h,
4451	and rename to demangle_builtin_type_info.  Change all uses.
4452	(enum d_comp_type): Move definition to include/demangle.h, and
4453	rename to demangle_component_type, and change all enums to start
4454	with DEMANGLE_COMPONENT_ instead of D_.  Change all uses.
4455	(struct d_comp): Move definition to include/demangle.h, and rename
4456	to demangle_component.  Change all uses.
4457	(struct d_info): Move definition to cp-demangle.h.
4458	(cplus_demangle_fill_name): New function.
4459	(cplus_demangle_fill_extended_operator): New function.
4460	(cplus_demangle_fill_ctor): New function.
4461	(cplus_demangle_fill_dtor): New function.
4462	(d_make_empty): Remove type parameter.  Change all callers.
4463	(d_make_name): Use cplus_demangle_fill_name.
4464	(d_make_extended_operator): Use
4465	cplus_demangle_fill_extended_operator.
4466	(d_make_ctor): Use cplus_demangle_fill_ctor.
4467	(d_make_dtor): Use cplus_demangle_fill_dtor.
4468	(cplus_demangle_mangled_name): Rename from d_mangled_name.  Make
4469	non-static by default.  Change all callers.
4470	(cplus_demangle_operators): Rename from d_operators.  Change all
4471	uses.  Make non-static by default.  Add sentinel at end of array.
4472	(d_operator_name): Adjust initialization of high for new sentinel
4473	in cplus_demangle_operators.
4474	(cplus_demangle_builtin_types): Rename from d_builtin_types.
4475	Change all uses.  Make non-static by default.  Change initializer
4476	to use D_BUILTIN_TYPE_COUNT instead of magic number 26.
4477	(cplus_demangle_type): Rename from d_type.  Make non-static by
4478	default.  Change all callers.
4479	(cplus_demangle_init_info): Rename from d_init_info.  Make
4480	non-static by default.  Change all callers.
4481	* cp-demangle.h: New file.
4482	* cp-demint.c: New file.
4483	* Makefile.in: Rebuild dependencies.
4484	(CFILES): Add cp-demint.c.
4485	(REQUIRED_OFILES): Add cp-demint.o.
4486
44872004-01-09  Kelley Cook  <kcook@gcc.gnu.org>
4488
4489	* configure.in:  Rename file to ...
4490	* configure.ac:  ... this.
4491	* Makefile.in: Update a comment for above change.
4492	* README: Likewise.
4493	* config.in: Regenerate.
4494
44952004-01-02  Ian Lance Taylor  <ian@wasabisystems.com>
4496
4497	* cp-demangle.c (d_encoding): When DMGL_PARAMS is not set, strip
4498	CV-qualifiers from D_COMP_LOCAL_NAME right subtree.
4499	* cplus-dem.c (demangle_arm_hp_template): Set DMGL_PARAMS when
4500	demangling template parameters.
4501	* testsuite/test-demangle.c (fail): New static function.
4502	(main): Support new options in input file: --no-params,
4503	--is-v3-ctor, and --is-v3-dtor.
4504	* testsuite/demangle-expected: Add --no-params to most tests, and
4505	add the correct result when parameters are not demangled.  Add
4506	some simple tests for V3 constructor/destructor recognition.
4507
45082003-12-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4509
4510	* cp-demangle.c (is_ctor_or_dtor): Fix error in last change.
4511
45122003-12-22  Daniel Jacobowitz  <drow@mvista.com>
4513
4514	PR debug/13272
4515	* Makefile.in (lbasename.o): Depend on filenames.h.
4516	* lbasename.c: Include "filenames.h" instead of defining
4517	its macros locally.
4518
45192003-12-22  Ian Lance Taylor  <ian@wasabisystems.com>
4520
4521	* cp-demangle.c (CP_DYNAMIC_ARRAYS): Define if compiler supports
4522	dynamic arrays.
4523	(struct d_operator_info): Add len field.
4524	(struct d_builtin_type_info): Add len and java_len fields.
4525	(struct d_standard_sub_info): Add simple_len, full_len, and
4526	set_last_name_len fields.
4527	(struct d_comp): Add len field to s_string.
4528	(struct d_info): Add send, did_subs, and expansion fields.
4529	(d_append_string_constant): Define.
4530	(d_append_string): Remove.  Change all users to use
4531	d_append_string_constant or d_append_buffer instead.
4532	(d_make_sub): Add len parameter.  Change all callers.
4533	(d_name): Increase expansion when substituting std::.
4534	(d_unqualified_name): Increase expansion for an operator.
4535	(d_number): Don't use multiplication for negative numbers.
4536	(d_identifier): Make sure there are enough characters in the
4537	string for the specified length.  Adjust expansion for an
4538	anonymous namespace.
4539	(d_operators): Initialize len field.
4540	(d_special_name, d_ctor_dtor_name): Increase expansion.
4541	(d_builtin_types): Initialize len and java_len fields.
4542	(d_type): Increase expansion for a builtin type.
4543	(d_cv_qualifiers): Increase expansion for each qualifier.
4544	(d_bare_function_type): Decrease expansion when removing single
4545	void parameter.
4546	(d_template_param): Increment did_subs.
4547	(d_expression): Increase expansion for an operator.
4548	(d_expr_primary): Decrease expansion for a type we will print
4549	specially.
4550	(standard_subs): Initialize new fields.
4551	(d_substitution): Increment did_subs when doing a normal
4552	substitution.  Increase expansion for a special substitution.
4553	(d_print): Add estimate parameter.  Change all callers.
4554	(d_print_comp) [D_COMP_NAME]: Handle C++ case inline.
4555	(d_print_comp) [D_COMP_BINARY]: Use length to avoid strcmp call.
4556	(d_print_java_identifier): Rename from d_print_identifier.  Handle
4557	only Java case.  Change caller.
4558	(d_init_info): Change return type to void.  Change all callers.
4559	Initialize send, did_subs, and expansion fields.  Do not
4560	initialize comps and subs fields.
4561	(d_demangle): Ifdef CP_DYNAMIC_ARRAYS, allocate comps and subs
4562	arrays on stack.  Make an estimate of the length of the demangled
4563	name.  Ifdef CP_DEMANGLE_DEBUG, print estimation failures.
4564	(is_ctor_or_dtor): Ifdef CP_DYNAMIC_ARRAYS, allocate comps and
4565	subs arrays on stack.
4566
45672003-12-20  Ian Lance Taylor  <ian@wasabisystems.com>
4568
4569	* cp-demangle.c (d_identifier): In Java mode, skip an optional '$'
4570	after the identifier.
4571	* testsuite/demangle-expected: Add test case.
4572
45732003-12-19  Ian Lance Taylor  <ian@wasabisystems.com>
4574
4575	Fix for PR c++/13447:
4576	* cp-demangle.c (enum d_comp_type): Add D_COMP_LOCAL_NAME.
4577	(d_dump, d_make_comp): Handle D_COMP_LOCAL_NAME.
4578	(is_ctor_dtor_or_conversion): Handle D_COMP_LOCAL_NAME like
4579	D_COMP_QUAL_NAME.
4580	(is_ctor_or_dtor): Likewise.
4581	(d_local_name): Use D_COMP_LOCAL_NAME rather than
4582	D_COMP_QUAL_NAME.
4583	(d_print_comp) [D_COMP_LOCAL_NAME]: New.
4584	(d_prinT_comp) [D_COMP_TYPED_NAME]: If the left tree is
4585	D_COMP_LOCAL_NAME, pull any qualifiers off its right subtree.
4586	(d_print_mod_list): Handle D_COMP_LOCAL_NAME.
4587	* testsuite/demangle-expected: Add two test cases.
4588
4589	* cp-demangle.c (d_print_function_type): Clear the global modifier
4590	list when printing the modifiers, not just when printing the
4591	function parameters.
4592	* testsuite/demangle-expected: Add two test cases.
4593
45942003-12-15  Ian Lance Taylor  <ian@wasabisystems.com>
4595
4596	* cp-demangle.c (d_print_function_type): Print the function
4597	parameters with no modifiers.
4598	* testsuite/demangle-expected: Add test case.
4599
4600	* cp-demangle.c (d_demangle): If DMGL_PARAMS is not set, don't
4601	expect that we've read the entire string.
4602	(is_ctor_or_dtor): Don't expect that we've read the entire
4603	string--reverse patch of 2003-11-29.
4604
46052003-12-15  Brendan Kehoe  <brendan@zen.org>
4606
4607	* Makefile.in (floatformat.o): Add dependency on
4608	config.h to accompany change of 2003-12-03.
4609
46102003-12-15  Ian Lance Taylor  <ian@wasabisystems.com>
4611
4612	Fix handling of constructor/destructor of standard substitution:
4613	* cp-demangle.c (struct d_standard_sub_info): Define.
4614	(d_substitution): Add prefix argument.  Change all callers.
4615	Rework handling of standard substitutions to print full name when
4616	qualifying a constructor/destructor, or when DMGL_VERBOSE is set.
4617	* testsuite/demangle-expected: Add test case.
4618
4619	Fix handling of negative literal constants:
4620	* cp-demangle.c (enum d_comp_type): Add D_COMP_LITERAL_NEG.
4621	(d_dump, d_make_comp): Handle D_COMP_LITERAL_NEG.
4622	(d_expr_primary): Use D_COMP_LITERAL_NEG for a negative number.
4623	(d_print_comp): Handle D_COMP_LITERAL_NEG.
4624	* testsuite/demangle-expected: Add test case.
4625
46262003-12-04  Ian Lance Taylor  <ian@wasabisystems.com>
4627
4628	* cp-demangle.c (IS_UPPER, IS_LOWER): Define.
4629	(d_last_char): Define new macro.
4630	(d_make_name): Reject an empty name.
4631	(d_prefix, d_unqualified_name, d_type): Use new IS_* macros.
4632	(d_substitution, d_print_identifier): Likewise.
4633	(d_print_comp) [D_COMP_OPERATOR]: Likewise.
4634	(d_print_comp) [D_COMP_TEMPLATE]: Use new d_last_char macro.
4635	(d_print_mod) Use new d_last_char macro.
4636	(d_print_cast): Use new d_last_char macro.
4637	(is_ctor_or_dtor): Don't leak memory.
4638
4639	Fix handling of member function modifiers:
4640	* cp-demangle.c (enum d_comp_type): Add D_COMP_RESTRICT_THIS,
4641	D_COMP_VOLATILE_THIS, and D_COMP_CONST_THIS.
4642	(d_dump): Dump new d_comp_type values.
4643	(d_make_comp): Accept new d_comp_type values.
4644	(has_return_type): Only accept _THIS variants of qualifiers.
4645	(d_encoding): Without DMGL_PARAMS, only remove _THIS variants of
4646	qualifiers.
4647	(d_cv_qualifiers): Add member_fn parameter.  Change all callers.
4648	(d_print_comp) [D_COMP_TYPED_NAME]: Rather than removing
4649	qualifiers and printing them at the end, add _THIS qualifiers to
4650	the modifier list.
4651	(d_print_comp) [D_COMP_*_THIS]: New cases.
4652	(d_print_comp) [D_COMP_PTRMEM_TYPE]: Remove special handling of
4653	qualifiers.
4654	(d_print_mod_list): Add suffix parameter.  Change all callers.
4655	Keep walking the list even if the current modifier has been
4656	printed.
4657	(d_print_mod): Handle new _THIS qualifiers.
4658	(d_print_function_type): Handle new _THIS qualifiers when deciding
4659	whether to print a parenthesis.  Put a space before the
4660	parenthesis in some cases.  Call d_print_mod_list again at the
4661	end, passing suffix as 1.
4662	(is_ctor_or_dtor): Look for new _THIS qualifiers.
4663	* testsuite/demangle-expected: Add test case.
4664
4665	Fix for PR gcc/13304:
4666	* cp-demangle.c (d_print_comp) [D_COMP_TEMPLATE]: If the character
4667	before the '<' is itself a '<', insert a space.
4668	(d_print_cast): Likewise.
4669	* testsuite/demangle-expected: Add test case.
4670
4671	Fix for PR gcc/13244:
4672	* cp-demangle.c (d_print_comp) [D_COMP_BINARY]: Wrap an expression
4673	which uses the '>' operator in an extra layer of parens.
4674	* testsuite/demangle-expected: Add test case.
4675
46762003-12-03  Ian Lance Taylor  <ian@wasabisystems.com>
4677
4678	* floatformat.c: Include "config.h" and <string.h> if available.
4679	(INFINITY, NAN): Define if not defined by <math.h>.
4680	(floatformat_to_double): Handle NaN, infinity, and denormalized
4681	numbers.
4682	(floatformat_from_double): Likewise.
4683	(ieee_test): In debugging code, use little endian rather than big
4684	endian.  Correct tests to handle NaN and to check correct sign of
4685	zero.  Omit m68k extended test.
4686	(main): Add more debugging cases.
4687
46882003-11-29  Ian Lance Taylor  <ian@wasabisystems.com>
4689
4690	* cp-demangle.c (d_demangle): Only return success if we consumed
4691	the entire demangled string.
4692	(is_ctor_or_dtor): Likewise.
4693
4694	* testsuite/demangle-expected: Revert one part of 2003-06-26 patch
4695	to restore expected result of EDG test case to original expected
4696	result.
4697
46982003-11-26  Ian Lance Taylor  <ian@wasabisystems.com>
4699
4700	* cp-demangle.c (struct d_print_mod): Add templates field.
4701	(d_make_builtin_type): Check for NULL type.
4702	(d_make_extended_operator): Check for NULL name.
4703	(d_make_ctor, d_make_dtor): Likewise.
4704	(d_mangled_name): Add top_level parameter.  Change all callers.
4705	(d_encoding): If DMGL_PARAMS is not set, strip off initial
4706	CV-qualifiers.
4707	(d_type): Check some return values we rely on.
4708	(d_bare_function_type, d_array_type): Likewise.
4709	(d_pointer_to_member_type, d_template_args): Likewise.
4710	(d_add_substitution): Fail if argument is NULL.
4711	(d_print_resize): Check whether buf is NULL.
4712	(d_print_comp): Save current templates list with each modifier.
4713	Don't pass the modifier list down when printing a template.
4714	(d_print_cast): Don't pass the modifier list down when printing a
4715	template.
4716	(d_print_mod_list): Temporarily set templates list while printing
4717	a modifier.
4718	(d_print_mod): Check that buf is not NULL before using it.
4719	(d_print_function_type): Print parens if there is no modifier.
4720	(d_init_info): Permit as many substitutions as there are
4721	characters in the mangled name.
4722	* testsuite/demangle-expected: Add two new test cases.
4723
47242003-11-25  Ian Lance Taylor  <ian@wasabisystems.com>
4725
4726	* cp-demangle.c (java_demangle_v3): Pass DMGL_PARAMS to
4727	d_demangle.
4728
47292003-11-22  Ian Lance Taylor  <ian@wasabisystems.com>
4730
4731	* cp-demangle.c (d_encoding): Add top_level parameter.  Change all
4732	callers.
4733	(print_usage): Display new -p option.
4734	(long_options): Add --no-params.
4735	(main): Accept and handle -p.
4736
47372003-11-21  Ian Lance Taylor  <ian@wasabisystems.com>
4738
4739	* cp-demangle.c (has_return_type): Skip qualifiers when checking
4740	whether we have a template.
4741	* testsuite/demangle-expected: Add four new tests.
4742
47432003-11-20  Ian Lance Taylor  <ian@wasabisystems.com>
4744
4745	* testsuite/demangle-expected: Minor changes to match output of
4746	new demangler: adjust whitespace in four tests, and change order
4747	of qualifiers in one test.
4748
4749	* cp-demangle.c: Complete rewrite.
4750
47512003-11-19  Mark Mitchell  <mark@codesourcery.com>
4752
4753	* cp-demangle.c (demangle_type): Correct thinko in substitution
4754	processing.
4755
47562003-11-18  Ian Lance Taylor  <ian@wasabisystems.com>
4757
4758	* cp-demangle.c (demangle_operator_name): Remove space before
4759	"sizeof".
4760	(demangle_type_ptr): Put qualifiers in the right place.  Handle
4761	qualifiers in pointer to member specially.
4762	(demangle_type): Handle qualifiers for pointer or reference
4763	specially.  Handle function type.
4764	(demangle_local_name): Save and restore caret around demangling of
4765	initial encoding.
4766
4767	* testsuite/test-demangle.c (main): Don't pass DMGL_VERBOSE to
4768	cplus_demangle.
4769
4770	* testsuite/Makefile.in (test-demangle): Depend upon libiberty.a.
4771
47722003-10-31  Andreas Jaeger  <aj@suse.de>
4773
4774	* floatformat.c (floatformat_always_valid): Add unused attribute.
4775
47762003-10-30  Josef Zlomek  <zlomekj@suse.cz>
4777
4778	Jan Hubicka <jh@suse.cz>
4779	* vasprintf.c (int_vasprintf): Pass va_list by value.
4780	Use va_copy for copying va_list.
4781	(vasprintf): Pass va_list by value.
4782
47832003-10-30  Josef Zlomek  <zlomekj@suse.cz>
4784
4785	* hashtab.c (htab_find_slot_with_hash): Decrease n_deleted
4786	instead of increasing n_elements when inserting to deleted slot.
4787
47882003-10-20  J. Brobecker  <brobecker@gnat.com>
4789
4790	* cplus-dem.c (demangle_template): Register a new Btype only
4791	when needed.
4792	* testsuite/demangle-expected: Add a new test.
4793
47942003-10-16  H.J. Lu  <hongjiu.lu@intel.com>
4795
4796	* testsuite/demangle-expected: Update the expected output of
4797	_GLOBAL__I__Z2fnv.
4798
47992003-10-02  Daniel Jacobowitz  <drow@mvista.com>
4800
4801	* strerror.c: Revert last change.  Declare static sys_nerr
4802	and sys_errlist using different names.
4803
48042003-10-01  Daniel Jacobowitz  <drow@mvista.com>
4805
4806	* strerror.c: Don't provide or reference sys_errlist if
4807	strerror is available.
4808
48092003-10-01  H.J. Lu  <hongjiu.lu@intel.com>
4810
4811	* configure.in: Check if $MAKEINFO is missing.
4812	* configure: Regenerated.
4813
48142003-09-24  Daniel Jacobowitz  <drow@mvista.com>
4815
4816	* configure.in: Use AC_PROG_CPP_WERROR.
4817	* configure: Regenerated.
4818
48192003-09-22  Andrew Cagney  <cagney@redhat.com>
4820
4821	* floatformat.c (floatformat_i387_ext_is_valid): New function.
4822	(floatformat_always_valid): New function.
4823	(floatformat_i387_ext): Initialize new "is_valid" field to
4824	"floatformat_i387_ext_is_valid".
4825	(floatformat_ieee_single_little): Initialize "is_valid" field to
4826	floatformat_always_valid.
4827	(floatformat_ieee_double_big): Ditto.
4828	(floatformat_ieee_double_little): Ditto.
4829	(floatformat_ieee_double_little): Ditto.
4830	(floatformat_ieee_double_littlebyte_bigword): Ditto.
4831	(floatformat_i960_ext): Ditto.
4832	(floatformat_m88110_ext): Ditto.
4833	(floatformat_m88110_harris_ext): Ditto.
4834	(floatformat_arm_ext_big): Ditto.
4835	(floatformat_arm_ext_littlebyte_bigword): Ditto.
4836	(floatformat_ia64_spill_big): Ditto.
4837	(floatformat_ia64_spill_little): Ditto.
4838	(floatformat_ia64_quad_big): Ditto.
4839	(floatformat_ia64_quad_little): Ditto.
4840	(floatformat_ia64_quad_little): Ditto.
4841	(floatformat_is_valid): Call "is_valid".
4842
48432003-09-15  Andrew Cagney  <cagney@redhat.com>
4844
4845	* floatformat.c (get_field): Make "data" constant.
4846	(floatformat_is_valid, floatformat_to_double): Make "from"
4847	constant, fix casts.
4848	(floatformat_from_double): Make "from" constant.
4849
48502003-09-15  Daniel Jacobowitz  <drow@mvista.com>
4851
4852	* floatformat.c (floatformat_is_valid): New function.
4853	(get_field, put_field): Correct comments.
4854
48552003-09-06  Josef Zlomek  <zlomekj@suse.cz>
4856
4857	* fibheap.c (fibheap_replace_key_data): Change type of OKEY to
4858	FIBHEAPKEY_T.
4859
48602003-09-02  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4861
4862	PR bootstrap/12100
4863	* aclocal.m4 (AC_LANG_FUNC_LINK_TRY): Define.
4864	* configure: Rebuilt.
4865
48662003-08-27  Daniel Jacobowitz  <drow@mvista.com>
4867
4868	* aclocal.m4: Include acx.m4 and no-executables.m4.
4869	(libiberty_AC_FUNC_STRNCMP): Use AC_LIBOBJ.
4870	(LIB_AC_PROG_CC): Remove.
4871	* configure.in: Update AC_PREREQ to 2.57.  Use GCC_NO_EXECUTABLES.
4872	Use AC_PROG_CC and set ac_libiberty_warn_cflags instead of using
4873	LIB_AC_PROG_CC.  Use AC_LIBOBJ.  Call AC_ISC_POSIX later, only if
4874	performing link tests.
4875	* configure: Regenerated.
4876
48772003-08-12  Nathanael Nerode  <neroden@gcc.gnu.org>
4878
4879	* cp-demangle.c: Clarify what package(s) this is part of.
4880
48812003-07-05  Danny Smith  <dannysmith@users.sourceforge.net>
4882
4883	* pex-win32.c (pexecute): Mark parameters this_pname and
4884	temp_base as unused. Remove unused variables retries,
4885	sleep_interval. Initialize org_stdin, org_stdout.
4886	(pwait): Mark parameter flags as unused.
4887
48882003-07-02  Danny Smith  <dannysmith@users.sourceforge.net>
4889
4890	* pex-win32.c (fix_argv): Ensure that the executable pathname
4891	uses Win32 backslashes.
4892	(pexecute): Cast away constness when assigning *errmsg_arg.
4893
48942003-06-26  H.J. Lu <hongjiu.lu@intel.com>
4895
4896	* testsuite/demangle-expected: Add more GNU V3 testcases.
4897
48982003-06-22  Zack Weinberg  <zack@codesourcery.com>
4899
4900	* safe-ctype.c: Use HOST_CHARSET_ASCII and HOST_CHARSET_EBCDIC,
4901	not HC_ASCII and HC_EBCDIC.
4902	Add documentation in form expected by gather-docs.
4903	* hex.c: Use HOST_CHARSET, not hand-coded check of character set.
4904	* Makefile.in, functions.texi: Regenerate.
4905
49062003-06-21  Zack Weinberg  <zack@codesourcery.com>
4907
4908	* safe-ctype.c: Separate out EOF==-1 check.  Use HOST_CHARSET
4909	for charset determination.
4910
49112003-06-19  Dara Hazeghi  <dhazeghi@yahoo.com>
4912
4913	* configure.in: Add check for malloc.h needed by
4914	m68k for function free().
4915	* configure: Regenerated.
4916	* config.in: Add HAVE_MALLOC_H.
4917	* hashtab.c: include malloc.h were available for
4918	free().
4919
49202003-06-09  Albert Chin-A-Young  <china@thewrittenword.com>
4921
4922	PR bootstrap/10974
4923	* physmem.c: Update comment.
4924	* configure.in: Modify test for _system_configuration for older
4925	AIX systems.
4926
4927	* config.in, configure: Regenerated.
4928
49292003-06-05  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4930
4931	PR other/10810
4932	* test-demangle.c (getline): Fix fence-post error.
4933
49342003-06-03  Nick Clifton  <nickc@redhat.com>
4935
4936	* asprintf.c: Change comment to note that -1 is returned upon
4937	error.
4938	* vasprintf.c: Likewise.
4939	(vasprintf): Return -1 upon error.
4940	* functions.texi: Document changes to asprintf and vasprintf.
4941
49422003-05-19  Kelley Cook  <kelleycook@wideopenwest.com>
4943
4944	* config.table: Accept i[345867]86 variant.
4945
49462003-05-15  Jim Blandy  <jimb@redhat.com>
4947
4948	* hex.c (_hex_value): Make this unsigned.
4949	(hex_value): Update documentation for new return type.  hex_value
4950	now expands to an unsigned int expression, to avoid unexpected
4951	sign extension when we store it in a bfd_vma, which is larger than
4952	int on some platforms.
4953	* functions.texi: Regenerated.
4954
49552003-05-07  Josef Zlomek  <zlomekj@suse.cz>
4956
4957	* splay-tree.c (splay_tree_predecessor): Fix comment.
4958	(splay_tree_successor): Fix comment.
4959
49602003-05-07  Jason Merrill  <jason@redhat.com>
4961
4962	* hashtab.c (iterative_hash): New fn.
4963	* configure.in: Add AC_C_BIGENDIAN_CROSS.
4964	* aclocal.m4: Include accross.m4.
4965	* configure, config.in: Regenerate.
4966
49672003-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4968
4969	* configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
4970	* configure: Regenerate.
4971
49722003-05-03  Carlo Wood  <carlo@alinoe.com>
4973
4974	* cp-demangle.c: Fix typo in "char_traints" string-literal.
4975
49762003-04-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4977
4978	* vsnprintf.c (vsnprintf): Don't pad string with extra nulls.
4979	(main): Test that we don't write too much data.
4980
49812003-04-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4982
4983	* configure.in (funcs, AC_CHECK_FUNCS): Add snprintf and
4984	vsnprintf.
4985	* snprintf.c, vsnprintf.c: New files.
4986	* Makefile.in (CFILES): Add snprintf.c and vsnprintf.c.
4987	(CONFIGURED_OFILES): Add snprintf.o and vsnprintf.o.
4988	Regenerate dependencies.
4989
4990	* functions.texi, configure, config.in: Regenerated.
4991
49922003-04-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4993
4994	* mempcpy.c, stpcpy.c, stpncpy.c: New files.
4995	* configure.in (funcs, AC_CHECK_FUNCS): Add mempcpy, stpcpy
4996	and stpncpy.
4997	* Makefile.in (CFILES): Add mempcpy.c, stpcpy.c and stpncpy.c.
4998	(CONFIGURED_OFILES): Add mempcpy.o, stpcpy.o and stpncpy.o.
4999	Regenerate dependencies.
5000
5001	* functions.texi, configure, config.in: Regenerated.
5002
50032003-04-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5004
5005	* argv.c: Fix comments.
5006	* calloc.c: Don't unnecessarily include "libiberty.h".
5007	(bzero): Add prototype.
5008	* floatformat.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
5009	* getcwd.c (getcwd): Use standard definition to avoid conflicts
5010	with system headers.
5011	* hashtab.c (htab_traverse): Delete unused variables.
5012	* rename.c: Include "ansidecl.h".
5013	(rename): Use standard definition to avoid conflicts with system
5014	headers.
5015	* strsignal.c: Rely on ANSI_PROTOTYPES.
5016	* strstr.c: Check GNUC >= 2, not GNUC == 2.
5017	* vfprintf.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
5018	* vprintf.c: Include "ansidecl.h" earlier, rely on
5019	ANSI_PROTOTYPES.
5020	* vsprintf.c: Include "ansidecl.h" earlier, rely on
5021	ANSI_PROTOTYPES and possibly include <stdarg.h>.
5022
5023	* Makefile.in: Regenerate dependencies.
5024
50252003-04-15  DJ Delorie  <dj@redhat.com>
5026
5027	* maint-tool (deps): Scan for headers in $srcdir also.
5028
50292003-04-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5030
5031	PR target/10338
5032	PR bootstrap/10198
5033	PR bootstrap/10140
5034	* getopt.c (exchange, _getopt_initialize): Use mempcpy not
5035	__mempcpy.
5036	* regex.c (regerror): Likewise.
5037
50382003-04-14  Roger Sayle  <roger@eyesopen.com>
5039
5040	* argv.c: Use ANSI_PROTOTYPES instead of __STDC__.
5041	* memchr.c: Likewise.
5042	* strcasecmp.c: Likewise.
5043	* strncasecmp.c: Likewise.
5044	* strncmp.c: Likewise.
5045	* xatexit.c: Likewise.
5046	* xmalloc.c: Likewise.
5047
5048	* copysign.c: Use traditional function declaration instead of DEFUN.
5049	* sigsetmask.c: Likewise.
5050
5051	* memcmp.c: Both of the above, ANSI_PROTOTYPES and DEFUN.
5052	* memset.c: Likewise.
5053
5054	* memcpy.c: ANSI_PROTOTYPES, DEFUN and prototype bcopy.
5055	* memmove.c: Likewise.
5056
50572003-04-14  Roger Sayle  <roger@eyesopen.com>
5058
5059	* strdup.c (strdup): Tweak implementation to use memcpy.
5060
50612003-04-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5062
5063	* configure.in (HAVE_UINTPTR_T): Always define.
5064	* configure: Regenerated.
5065
50662003-03-23  Alexandre Oliva  <aoliva@redhat.com>
5067
5068	* Makefile.in (MULTIOSDIR): New macro.  Use $(CC) $(LIBCFLAGS)
5069	instead of $$CC alone.
5070	(install_to_tooldir): Use it.
5071
50722003-17-03  Jan Hubicka  <jh@suse.cz>
5073
5074	* hashtab.c (htab_traverse_noresize): Break out from ...
5075	* hashtab.c (htab_traverse): ... here.
5076
50772003-12-03  Jan Hubicka  <jh@suse.cz>
5078
5079	* hashtab.c (htab_expand): Fix warning.
5080
5081	* hashtab.c (htab_expand): Compute the size of hashtable based
5082	on the number of elements actually used.
5083	(htab_traverse):  Call htab_expand when table is too empty.
5084
50852003-03-11  Carlo Wood  <carlo@gnu.org>
5086
5087	* cplus-dem.c (demangle_integral_value): Correction to reflect
5088	patch of 2002-01-10 in order to also make negative multi-digits
5089	without leading underscore work.
5090
50912003-03-03  Mark Mitchell  <mark@codesourcery.com>
5092
5093	* cplus-dem.c: Add license exception to copyright notice.
5094
50952003-02-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5096
5097	* physmem.c: Formatting changes from upstream.
5098
50992003-02-24  Danny Smith  <dannysmith@users.source.forge.net>
5100
5101	* physmem.c (physmem_total): Add _WIN32 support.
5102	(physmem_available): Likewise.
5103
51042003-02-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5105
5106	* physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
5107	GSI_PHYSMEM.
5108	(physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS.
5109
51102003-02-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5111
5112	* configure.in: Check for sys/systemcfg.h and
5113	_system_configuration.
5114	* physmem.c: Add support for AIX.  Tweek formatting as per
5115	upstream coreutils beta.
5116
51172003-02-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5118	    Richard Earnshaw  <rearnsha@arm.com>
5119	    Geoffrey Keating  <geoffk@apple.com>
5120
5121	* configure.in: Check for sys/sysctl.h and sysctl.
5122	* physmem.c: Add support for *bsd and darwin.
5123	* Makefile.in: Generate depedency for physmem.o.
5124
51252003-02-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5126
5127	* physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on
5128	Tru64 UNIX.
5129	(physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on
5130	Tru64 UNIX.
5131
5132	* configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h,
5133	machine/hal_sysinfo.h, sys/table.h.
5134	(checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table.
5135	* configure, config.in: Regenerate.
5136
51372003-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5138
5139	* configure.in: Check for sys/sysmp.h and sysmp.
5140	* physmem.c: Pull upstream copy, add support for irix6.
5141
5142	* config.in, configure: Regenerated.
5143
51442003-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5145
5146	* physmem.c (physmem_total, physmem_available): De-ANSI-fy.
5147	* configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and
5148	pstat_getdynamic.
5149
51502003-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5151
5152	* Makefile.in (CFILES): Add physmem.c.
5153	(REQUIRED_OFILES): Add physmem.o.
5154	* configure.in: Check for sys/pstat.h.
5155	(checkfuncs): Add pstat_getstatic and pstat_getdynamic.
5156	* physmem.c: New file, copied from textutils.
5157
5158	* config.in, configure: Regenerated.
5159
51602003-02-20  Daniel Jacobowitz  <drow@mvista.com>
5161
5162	* Makefile.in (CFILES): Add lrealpath.c.
5163	(REQUIRED_OFILES): Add lrealpath.o.
5164	(lrealpath.o): Add rule.
5165	* aclocal.m4 (libiberty_NEED_DECLARATION): Add.
5166	* configure.in: Add realpath and canonicalize_file_name to
5167	checkfuncs and AC_CHECK_FUNCS.  Use libiberty_NEED_DECLARATION
5168	for canonicalize_file_name.
5169	* lrealpath.c: New file.
5170	* make-relative-prefix.c: Update documentation.
5171	(make_relative_prefix): Simplify.  Use lbasename and lrealpath.
5172	* config.in: Regenerated.
5173	* configure: Regenerated.
5174	* functions.texi: Regenerated.
5175
51762003-02-20  jmc  <jmc@prioris.mini.pw.edu.pl>
5177
5178	* cplus_dem.c: Fix typo: intializes -> initializes.
5179
51802003-02-20  Alexandre Oliva  <aoliva@redhat.com>
5181
5182	* configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
5183	config.status.
5184	* configure: Rebuilt.
5185
51862003-02-13  Daniel Jacobowitz  <drow@mvista.com>
5187
5188	Fix PR c++/7612.
5189	* cplus-dem.c (demangle_signature): Call string_delete.
5190	Remove extra string_init.
5191	(demangle_arm_hp_template): Call string_delete instead of
5192	string_clear.  Add missing string_delete call.
5193	(demangle_qualified): Add missing string_delete call.
5194	(do_type): Remove unused variable btype.  Add missing string_delete
5195	call.  Call string_delete instead of string_clear.
5196	(demangle_fund_type): Move variable btype inside of the switch
5197	statement.  Add missing string_delete call.
5198	(do_arg): Call string_delete instead of string_clear.  Remove extra
5199	string_init.
5200	(demangle_nested_args): Free work->previous_argument.
5201
52022003-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5203
5204	* acconfig.h: New file.  Add uintptr_t.
5205	* config.in: Regenerated.
5206
52072003-02-04  Joseph S. Myers  <jsm@polyomino.org.uk>
5208
5209	* libiberty.texi: Update to GFDL 1.2.
5210
52112003-01-30  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
5212
5213	* Makefile.in (libiberty_topdir): New subst.
5214	(mkinstalldirs): Redefine in terms of the above.
5215	* configure.in: AC_SUBST it.
5216	* configure: Regenerate.
5217
52182003-01-28  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
5219
5220	* Makefile.in (all-subdir, check-subdir, installcheck-subdir)
5221	(info-subdir, install-info-subdir, clean-info-subdir)
5222	(dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
5223	(clean-subdir, distclean-subdir, maintainer-clean-subdir):
5224	Pass $(FLAGS_TO_PASS).
5225
52262003-01-27  Alexandre Oliva  <aoliva@redhat.com>
5227
5228	* Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
5229	/`$$CC -print-multi-os-directory`.
5230
52312003-01-26  Daniel Jacobowitz  <drow@mvista.com>
5232
5233	* hashtab.c (htab_create_alloc_ex): New function.
5234	(hatab_set_functions_ex): New function.
5235	(htab_delete, htab_expand): Support alternate allocation functions.
5236
52372003-01-24  Christopher Faylor  <cgf@redhat.com>
5238
5239	* configure.in: Remove special pex-cygwin consideration.
5240	* configure: Regenerate.
5241	* pex-cygwin.c: Remove.
5242	* Makefile.in: Remove pex-cygwin.[co] lines.
5243
52442003-01-24  Zack Weinberg  <zack@codesourcery.com>
5245
5246	* Makefile.in (CFILES): Add pex-*.c.
5247	(REQUIRED_OFILES): Change pexecute.o to @pexecute@
5248	(CONFIGURED_OFILES): Add pex-*.o.
5249	(TEXIFILES): Add pexecute.txh.
5250	(pexecute.o): Delete rule.
5251	(pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o,
5252	pex-unix.o, pex-win32.o): New rules.
5253	* configure.in: Change AC_INIT argument to xmalloc.c.
5254	Compute appropriate pexecute implementation and substitute it
5255	as @pexecute@.
5256
5257	* pexecute.c: Split up into...
5258	* pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c,
5259	pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these
5260	new files.
5261
5262	* functions.texi: Regenerate.
5263	* configure: Regenerate.
5264
52652003-01-20  Josef Zlomek  <zlomekj@suse.cz>
5266
5267	* hashtab.c (htab_expand): Fix allocation of new entries.
5268
52692003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
5270
5271	* Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
5272
5273	* Makefile.in (install_to_libdir, install_to_tooldir): Add a
5274	mkinstalldirs command.
5275
52762002-12-04  Danny Smith  <dannysmith@users.sourceforge.net>
5277
5278	* make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
5279	Define for hosts with HOST_EXECUTABLE_SUFFIX.
5280
52812002-11-24  Nick Clifton  <nickc@redhat.com>
5282
5283	* make-relative-prefix.c (make_relative_prefix): Ensure return
5284	string is empty before using strcat to construct it.
5285
52862002-11-22  Daniel Jacobowitz  <drow@mvista.com>
5287
5288	* Makefile.in: Add make-relative-prefix.c.
5289	* make-relative-prefix.c: New file.
5290	* functions.texi: Rebuilt.
5291
52922002-11-16  Jakub Jelinek  <jakub@redhat.com>
5293
5294	* md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
5295	used with arguments in traditional C' warnings.
5296
52972002-10-16  Jakub Jelinek  <jakub@redhat.com>
5298
5299	* config.table: Use mh-s390pic for s390x too.
5300
53012002-10-06  Andreas Jaeger  <aj@suse.de>
5302
5303	* cplus-dem.c (ada_demangle): Get rid of unneeded
5304	variable and of strict-aliasing warning.
5305	(grow_vect): Use char as first parameter.
5306
53072002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5308
5309	* Makefile.in (all): Fix multilib parallel build.
5310
53112002-09-19  John David Anglin  <dave@hiuly1.hia.nrc.ca>
5312
5313	* cp-demangle.c (demangling_new): Cast 0 to enum.
5314	(demangle_char): Cast return of strdup to char *.
5315	(is_gnu_v3_mangled_ctor): Cast 0 to enum.
5316	(is_gnu_v3_mangled_dtor): Likewise.
5317	* cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
5318	(work_stuff_copy_to_from): Cast return of xmalloc to char **.
5319	* fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
5320	* md5.c (md5_process_bytes): Cast results back to const void *.
5321	(md5_process_block): Add cast to const md5_uint32 *.
5322	* regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
5323	* safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
5324	unsigned short.
5325	* splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
5326	to void *.
5327	* vasprintf.c (int_vasprintf): Cast return of malloc to char *.
5328
53292002-09-19  Nick Clifton  <nickc@redhat.com>
5330
5331	* README: Update email addresses for bugs and patches.
5332
53332002-09-10  Mike Stump  <mrs@apple.com>
5334
5335	* splay-tree.c (splay_tree_successor): Fix comments.
5336
53372002-09-11  Zack Weinberg  <zack@codesourcery.com>
5338
5339	* cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
5340	* testsuite/Makefile.in: Adjust for test-demangle.
5341	* testsuite/regress-demangle: Deleted.
5342	* testsuite/test-demangle.c: New file.
5343	* testsuite/demangle-expected: Change \$ to $ throughout, now that
5344	this file is not being read by a shell script.
5345
53462002-09-05  Roger Sayle  <roger@eyesopen.com>
5347
5348	* regex.c: Only use "#pragma alloca" on AIX when not using gcc.
5349
53502002-08-07  DJ Delorie  <dj@redhat.com>
5351
5352	* regex.c (re_error_msgid): Just use a simple array of strings.
5353	(re_compile_pattern): Compensate.
5354	(re_comp): Likewise.
5355	(re_comp): Likewise.
5356	(regerror): Likewise.
5357
53582002-07-29  Neil Booth  <neil@daikokuya.co.uk>
5359
5360	* cplus-dem.c (PREPEND_BLANK): Remove.
5361
53622002-07-10  Jason Merrill  <jason@redhat.com>
5363
5364	* cp-demangle.c (demangle_identifier): Support extended Unicode
5365	characters.
5366
53672002-07-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5368
5369	* cp-demangle.c (demangle_v3_with_details): Wrap in
5370	!defined IN_GLIBCPP_V3.
5371
53722002-07-01  Mark Mitchell  <mark@codesourcery.com>
5373
5374	* cp-demangle.c (demangle_operator_name): Add type_arg parameter.
5375	Set it for the "st" operator.
5376	(demangle_expression): Handle expressions with types as arguments.
5377
53782002-06-30  Douglas Rupp  <rupp@gnat.com>
5379
5380	* configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
5381	* Makefile.in (OUTPUT_OPTION): Use.
5382
53832002-06-22  Peter Breitenlohner <peb@mppmu.mpg.de>
5384
5385	* Makefile.in (install_to_libdir): Add $(DESTDIR).
5386	(install_to_tooldir): Likewise.
5387
53882002-06-17  Douglas Rupp  <rupp@gnat.com>
5389
5390	* lbasename.c: Add 2002 to copyright.
5391	(IS_DIR_SEPARATOR): Remove VMS junk.
5392
53932002-06-05  Geoffrey Keating  <geoffk@redhat.com>
5394
5395	* hashtab.c (htab_create): New stub function for backward
5396	compatibility.
5397	(htab_try_create): Likewise.
5398
53992002-06-03  Geoffrey Keating  <geoffk@redhat.com>
5400
5401	* hashtab.c (htab_create): Delete.
5402	(htab_try_create): Delete.
5403	(htab_create_alloc): New.
5404	(htab_delete): Support user-specified memory allocation.
5405	(htab_expand): Likewise.
5406
54072002-05-22  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
5408
5409	* configure.in: Fix typo in the code checking for sys_errlist.
5410	* configure: Regenerated.
5411
54122002-05-13  Andreas Schwab  <schwab@suse.de>
5413
5414	* config.table: Use mh-x86pic also for x86-64.
5415
54162002-05-08  Alexandre Oliva  <aoliva@redhat.com>
5417
5418	* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
5419	script entry, and set LD to it when configuring multilibs.
5420	* configure: Rebuilt.
5421
54222002-05-07  Mark Mitchell  <mark@codesourcery.com>
5423
5424	* configure.in (AC_TYPE_PID_T): Use it.
5425	* configure: Regenerated.
5426	* getruntime.c: Include <sys/types.h>.
5427	* waitpid.c: Likewise.  Use pid_t, not int, as the type of "pid".
5428
54292002-04-09  Richard Henderson  <rth@redhat.com>
5430
5431	* hashtab.c (higher_prime_number): Use 7 as minimum.
5432	(find_empty_slot_for_expand): Don't compute hash2 unless needed.
5433	(htab_find_slot_with_hash): Likewise.
5434
54352002-04-01  Phil Edwards  <pme@gcc.gnu.org>
5436
5437	* cp-demangle.c (__cxa_demangle):  Also protect with IN_GLIBCPP_V3.
5438	(is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor):  Conditionally
5439	not compile if IN_GLIBCPP_V3 defined.
5440	* dyn-string.c:  Also allow IN_GLIBCPP_V3 to change allocation scheme.
5441
54422002-03-30  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
5443
5444	* cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
5445	if it is NULL.
5446
54472002-03-27  DJ Delorie  <dj@redhat.com>
5448
5449	* hex.c: Add documentation.
5450	(_hex_value): Provide non-ASCII empty table.
5451	(hex_init): Initialize the non-ASCII table.
5452	* functions.texi: Regenerate.
5453
54542002-03-27  Mark Mitchell  <mark@codesourcery.com>
5455
5456	* dyn-string.c: Add libgcc exception to copyright notice.
5457
54582002-03-26  H.J. Lu  (hjl@gnu.org)
5459
5460	* config.table: Support --with-build-subdir.
5461	* configure.in: Likewise.
5462	* configure: Rebuild.
5463
54642002-03-18  Stuart Griffith  <Stuart_Griffith@credence.com>
5465
5466	* strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
5467	seen.
5468
54692002-03-12  Mark Mitchell  <mark@codesourcery.com>
5470
5471	* cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
5472	notice.
5473
54742002-03-11  Douglas B Rupp  <rupp@gnat.com>
5475
5476	* xatexit.c [VMS]: Include stdlib.h and unixlib.h.
5477
54782002-03-06  Jim Blandy  <jimb@redhat.com>
5479
5480	* splay-tree.c (splay_tree_xmalloc_allocate,
5481	splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
5482	prototyped definitions.  Mark `data' arguments as unused.
5483
54842002-03-06  Andrew Cagney  <ac131313@redhat.com>
5485
5486	* floatformat.c (floatformat_arm_ext_big): Delete definition.
5487
54882002-03-04  Phil Edwards  <pme@gcc.gnu.org>
5489
5490	* configure.in:  Add --enable-install-libiberty option.
5491	* Makefile.in (INSTALLED_HEADERS):  New variable.
5492	(install_to_libdir):  Possibly also copy headers.
5493	* configure:  Regenerated.
5494
54952002-03-04  Neil Booth  <neil@daikokuya.demon.co.uk>
5496
5497	* xmalloc.c (xmalloc_fail): Clarify error message further.
5498
54992002-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
5500
5501	* xmalloc.c (xmalloc_fail): Clarify error message.
5502
55032002-02-22  Jim Blandy  <jimb@redhat.com>
5504
5505	* splay-tree.c (splay_tree_xmalloc_allocate,
5506	splay_tree_xmalloc_deallocate): New functions.
5507	(splay_tree_new): Call splay_tree_new_with_allocator, passing the
5508	above functions and a dummy data pointer.
5509	(splay_tree_new_with_allocator): New function.
5510	(splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
5511	splay_tree_remove): Use the splay tree's allocation and
5512	deallocation functions.
5513
55142002-02-19  Scott Snyder  <snyder@fnal.gov>
5515
5516	* testsuite/demangle-expected: Add test case for infinite loop in
5517	demangler.
5518	* cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
5519	if do_type() doesn't make any progress --- prevents an infinite
5520	loop.
5521
55222002-02-18  Carlo Wood  <carlo@gnu.org>
5523
5524	PR c++/5390
5525	* cplus-dem.c (demangle_integral_value): Accept multi-digit
5526	numbers that do not start with an underscore; This is needed
5527	for integer template parameters. This doesn't break anything
5528	because multi-digit numbers are never followed by a digit.
5529	* testsuite/demangle-expected: Corrected all mangled test
5530	cases with multi-digit template parameters: g++ 2.95.x does
5531	not generate underscores around these parameters.
5532
55332002-02-05  Jason Merrill  <jason@redhat.com>
5534
5535	* cplus-dem.c (flags): Add DMGL_VERBOSE
5536	(cplus_demangle_v3_p): Remove.
5537	(demangle_it): Add DMGL_TYPES to passed flags.
5538	* cp-demangle.c (cplus_demangle_v3_all): Remove.
5539	(cplus_demangle_v3_type): Remove.
5540	(cplus_demangle_v3): Add options parm.
5541
55422002-02-02  H.J. Lu  (hjl@gnu.org)
5543
5544	* cp-demangle.c (cp_demangle_type): Do not protect with
5545	IN_LIBGCC2.
5546	(cplus_demangle_v3_all): New.
5547	(cplus_demangle_v3): Call cplus_demangle_v3_all.
5548	(cplus_demangle_v3_type): Call cplus_demangle_v3_all.
5549
5550	* cplus-dem.c (cplus_demangle_v3_p): New function pointer.
5551	Initialized to cplus_demangle_v3.
5552	(cplus_demangle_with_style): Call cplus_demangle_v3_p instead
5553	of cplus_demangle_v3.
5554	(main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
5555	command line symbol.
5556
5557	* testsuite/regress-demangle: Pass the mangled name at the
5558	command line.
5559
55602002-02-01  H.J. Lu  <hjl@gnu.org>
5561
5562	* cp-demangle.c (cp_demangle_type): Call demangling_new with
5563	DMGL_GNU_V3.
5564
55652002-01-31  Phil Edwards  <pme@gcc.gnu.org>
5566
5567	* cp-demangle.c:  Revert yesterday's change.
5568
55692002-01-31  Adam Megacz  <adam@xwt.org>
5570
5571	* configure.in: Treat mingw the same as cywin
5572	wrt HAVE_SYS_ERRLIST.
5573
55742002-01-30  Phil Edwards  <pme@gcc.gnu.org>
5575
5576	* cp-demangle.c (cp_demangle_type):  Do not protect with IN_LIBGCC2.
5577	(cplus_demangle_v3):  Mimic __cxa_demangle and fall back on
5578	cp_demangle_type.
5579	* testsuite/demangle-expected:  New gnu-v3 test.
5580
55812002-01-22  Momchil Velikov  <velco@fadata.bg>
5582
5583	* configure.in (variable detection): Use arrays of unspecified
5584	size instead of plain integers.
5585
55862002-01-18  DJ Delorie  <dj@redhat.com>
5587
5588	* Makefile.in (TESTLIB): New.  This library is for future
5589	testsuites.
5590	(CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
5591	break down by letter.
5592	(REQUIRED_OFILES): List long-to-compile files first.
5593	(maint-deps): New, target for updating dependencies.
5594	(dependencies): Update.
5595	* maint-tool: Add dependency-generating option.
5596	* configure.in: Check for _doprnt even if we're not providing it.
5597	* configure: Regenerate.
5598
5599	* _doprnt.c: Modifications to allow compiling on any platform.
5600	* copysign.c: Likewise.
5601	* putenv.c: Likewise.
5602	* setenv.c: Likewise.
5603	* vsprintf.c: Likewise.
5604
56052002-01-15  Douglas B Rupp  <rupp@gnat.com>
5606
5607	* mkstemps.c (mkstemps): On VMS, open temp file with option
5608	that causes it to be deleted when closed.
5609
56102002-01-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5611
5612	* cp-demangle.c (long_options): Const-ify.
5613	* cplus-dem.c (long_options): Likewise.
5614
5615	* cplus-dem.c (mystrstr): Delete.  All callers changed to use
5616	strstr instead.
5617
56182001-12-31  Ira Ruben	<ira@apple.com>
5619
5620	* aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
5621	* configure: Regenerated.
5622
56232001-12-24  Douglas B. Rupp  <rupp@gnat.com>
5624
5625	* configure.in (uintptr_t): Use AC_CHECK_TYPE.
5626	* configure: Regenerated.
5627
56282001-12-12  Craig Rodrigues  <rodrigc@gcc.gnu.org>
5629
5630	PR other/2719
5631	* cplus-dem.c (consume_count): Treat negative count as an error.
5632	* testsuite/demangle-expected: Added testcase.
5633
5634Tue Dec 11 07:08:57 2001  Douglas B. Rupp  <rupp@gnat.com>
5635
5636	* configure.in: Hardcode that vfork works on VMS host.
5637	* configure: Regenerated.
5638
56392001-12-06  Richard Henderson  <rth@redhat.com>
5640
5641	* cplus-dem.c (libiberty_demanglers): Add no_demangling case.
5642	(cplus_demangle): Support no_demangling.
5643
56442001-11-27  Zack Weinberg  <zack@codesourcery.com>
5645
5646	* _doprnt.c: Moved here from gcc/doprint.c.  Adjust to build
5647	in libiberty context.  Fix typo in leading comment.
5648	* configure.in: Fix various AC_DEFINEs so autoheader works.
5649	If any of vprintf, vsprintf, vfprintf is missing from libc,
5650	then AC_REPLACE_FUNCS(_doprnt).
5651
56522001-11-26  DJ Delorie  <dj@redhat.com>
5653	    Daniel Jacobowitz  <drow@mvista.com>
5654
5655	* Makefile.in (stamp-h): Depend on Makefile for proper
5656	serialization.
5657	(*-subdir): Depend on config.h for proper serialization.
5658
56592001-11-26  DJ Delorie  <dj@redhat.com>
5660
5661	* configure.in: Check for alloca.h (for regex.c and putenv.c).
5662	* configure: Regenerate.
5663	* config.h: Add HAVE_ALLOCA_H.
5664
56652001-11-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5666
5667	* regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
5668	defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
5669	is available.
5670
5671Thu Nov 15 11:06:25 2001  Jeffrey A Law  (law@cygnus.com)
5672
5673	* config.in (HAVE_UINTPTR_T): Provide autoconf stub.
5674	* configure.in (HAVE_UINTPTR_T): Test for system defining
5675	uintptr_t and define HAVE_UINTPTR_T appropriately.
5676	* regex.c (uintptr_t): Do not provide a definition if the
5677	system provided one.
5678
5679	* regex.c (PREFIX): Provide an alternate definition for
5680	non-ANSI/ISO compilers.
5681	(ARG_PREFIX): Likewise.
5682
56832001-11-12  Jim Meyering  <meyering@lucent.com>
5684
5685	* obstack.c (_): Honor the setting of ENABLE_NLS.  Otherwise,
5686	this code would end up calling gettext even in packages built
5687	with --disable-nls.
5688	* getopt.c (_): Likewise.
5689	* regex.c (_): Likewise.
5690
56912001-11-03  Alan Modra  <amodra@bigpond.net.au>
5692
5693	* configure.in: Cope with missing makeinfo.
5694	* configure: Regenerate.
5695
56962001-10-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5697
5698	* hex.c (hex_init): Provide empty stub.
5699
5700	* hex.c (hex_init): Delete.
5701	(_hex_value): Const-ify and initialize at compile-time.
5702
57032001-10-19  H.J. Lu <hjl@gnu.org>
5704
5705	* Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
5706	necessary.
5707
57082001-10-17  DJ Delorie  <dj@redhat.com>
5709
5710	* argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
5711	ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
5712	mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
5713	Improve manual formatting.
5714	* functions.texi: Regenerate.
5715
57162001-10-15  DJ Delorie  <dj@redhat.com>
5717
5718	* Makefile.in (TEXIFILES): Add fnmatch.txh.
5719	(maint-undoc): New.
5720	maint-tool: Add "undoc" tool.
5721	* alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
5722	fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
5723	make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
5724	strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
5725	documentation.
5726	* fnmatch.txh: New.
5727	* functions.texi: Regenerate.
5728
57292001-10-10  Joseph S. Myers  <jsm28@cam.ac.uk>
5730
5731	* bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
5732	* strtod.c: Use "ISO C" instead of "ANSI C".
5733	* functions.texi: Regenerate.
5734
57352001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
5736
5737	* alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
5738	libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
5739	strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
5740	xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting.  Fix
5741	spelling.  Give names to function arguments in documentation.  Use
5742	(void) prototypes in documentation.
5743	* functions.texi: Regenerate.
5744
57452001-10-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5746
5747	* argv.c (buildargv, tests, main): Const-ify.
5748	* cp-demangle.c (operator_code): Likewise.
5749	* cplus-dem.c (optable, libiberty_demanglers,
5750	cplus_demangle_set_style, cplus_demangle_name_to_style,
5751	print_demangler_list): Likewise.
5752	* hashtab.c (higher_prime_number): Likewise.
5753	* strcasecmp.c (charmap): Likewise.
5754	* strerror.c (error_info, strerror, main): Likewise.
5755	* strncasecmp.c (charmap): Likewise.
5756	* strsignal.c (signal_info): Likewise.
5757
57582001-09-29  DJ Delorie  <dj@redhat.com>
5759
5760	* configure: Regenerate.
5761
57622001-09-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5763
5764	* concat.c: Include stdlib.h.
5765
57662001-09-27  Eli Zaretskii  <eliz@is.elta.co.il>
5767
5768	* libiberty.texi: (Top level): Add syncodeindex pg.  Add
5769	@dircategory and @direntry directives.  Add @finalout.
5770	(many nodes): Lose the next,prev,up pointers on the @nide line.
5771	(Using, Supplemental Functions, Replacement Functions): Fix
5772	markup.
5773	(Functions): Move around, to allow makeinfo to build the manual
5774	without next,prev,up pointers in thye node lines.
5775	(Licenses): Fix typos.
5776
5777	* index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
5778	strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
5779	* functions.texi: Regenerate.
5780
5781	* copying-lib.texi: Lose the next,prev,up pointers on the @node
5782	line.
5783
57842001-09-27  DJ Delorie  <dj@redhat.com>
5785
5786	* configure.in: Don't use in-tree texinfo, because libiberty must
5787	be built before it.  Check for makeinfo version 4 or higher.
5788	* functions.texi: Regenerate.
5789
57902001-09-20  DJ Delorie  <dj@redhat.com>
5791	    Phil Edwards  <pedwards@disaster.jaj.com>
5792
5793	* configure.in (MAKEINFO, PERL): Detect these.
5794	(--enable-maintainer-mode): Add.
5795	* configure: Regenerate.
5796	* Makefile.in (MAKEINFO, PERL): Define.
5797	(libiberty.info, libiberty.dvi, libiberty.html): New.
5798	(CFILES): Add bsearch.c.
5799	(CONFIGURED_OFILES): New, list of objects configure might add.
5800	(maint-missing, maint-buildall): New, for maintainers only.
5801	(clean, mostlyclean): Add info/dvi/html files.
5802	* libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
5803	* gather-docs: New, for maintainers.
5804	* maint-tool: New, for maintainers.
5805	* alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
5806	bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
5807	getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
5808	memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
5809	sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
5810	strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
5811	tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
5812	xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
5813	documentation.
5814
58152001-09-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5816
5817	* concat.c (reconcat): Fix for traditional C.
5818
58192001-09-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5820
5821	* concat.c (reconcat): New function.
5822
58232001-09-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5824
5825	* concat.c (vconcat_length, vconcat_copy, concat_length,
5826	concat_copy, concat_copy2): New functions.
5827	(concat): Use vconcat_length/vconcat_copy.
5828
5829	* alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
5830	Define.
5831
58322001-09-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5833
5834	* asprintf.c: Don't define USE_STDARG.  Use VPARAMS, VA_OPEN,
5835	VA_FIXEDARG & VA_CLOSE.
5836
5837	* vasprintf.c: Check HAVE_STRING_H when including string.h.
5838	(checkit): Delete redundant prototype.  Add ATTRIBUTE_PRINTF_1.
5839	Use VA_OPEN, VA_FIXEDARG & VA_CLOSE.  Free allocated string.
5840
58412001-08-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5842
5843	* concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
5844
58452001-08-23  Ulrich Drepper  <drepper@redhat.com>
5846
5847	* regex.c (truncate_wchar): Use wcrtomb not wctomb.
5848
58492001-08-23  Ulrich Drepper  <drepper@redhat.com>
5850
5851	* posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
5852	instead of mbrtowc.
5853	[_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
5854	wcslen, and __wcscoll instead of wcscoll.
5855
58562001-08-22  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
5857
5858	* fibheap.c (fibheap_init, fibnode_init): Remove.
5859	(fibheap_new, fibnode_new): Use xcalloc to allocate and
5860	initialize memory.
5861	(fibheap_insert): Remove check for node allocation failure.
5862
58632001-08-21  Richard Henderson  <rth@redhat.com>
5864
5865	* Makefile.in (fibheap.o): Depend on config.h.
5866	* fibheap.c: Tidy formatting.  Use config.h.` Rearrange some
5867	functions for inlining.
5868
5869Tue Aug 21 12:35:04 2001  Christopher Faylor <cgf@cygnus.com>
5870
5871	* configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
5872	hosting on cygwin.
5873	* configure: Regenerate.
5874
58752001-08-20  Andrew Cagney  <ac131313@redhat.com>
5876
5877	* floatformat.c (floatformat_m88110_ext): Remove #ifdef
5878	HARRIS_FLOAT_FORMAT.
5879	(floatformat_ia64_spill_little, floatformat_ia64_quad_little)
5880	(floatformat_ia64_spill_big, floatformat_ia64_quad_big)
5881	(floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
5882	(floatformat_m88110_harris_ext): New float formats.
5883
58842001-08-20  Daniel Berlin  <dan@cgsoftware.com>
5885
5886	* fibheap.c: New file. Fibonacci heap.
5887
5888	* Makefile.in (CFILES): Add fibheap.c.
5889	(REQUIRED_OFILES): Add fibheap.o.
5890	(fibheap.o): Add dependencies for fibheap.o.
5891
58922001-08-17  Christopher Faylor <cgf@cygnus.com>
5893
5894	* configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
5895	* configure: Regenerate.
5896
58972001-08-16  Richard Henderson  <rth@redhat.com>
5898
5899	* hashtab.c (htab_hash_string): New.
5900
59012001-08-13  Andrew Cagney  <ac131313@redhat.com>
5902
5903	* floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
5904	name.
5905
59062001-08-12  Isamu Hasegawa  <isamu@yamato.ibm.com>
5907
5908	* regex.c (wcs_regex_compile): Use appropriate string
5909	to compare with collating element.
5910	Fix the padding for the alignment.
5911
59122001-08-10  Andrew Cagney  <ac131313@redhat.com>
5913
5914	* lbasename.c (lbasename): Change function definition to return a
5915	const char pointer.
5916
59172001-08-07  Jason Merrill  <jason_merrill@redhat.com>
5918
5919	* cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
5920	for".
5921
59222001-08-03  Richard Henderson  <rth@redhat.com>
5923
5924	* Makefile.in (concat.o): Depend on config.h.
5925
59262001-07-30  Andreas Jaeger  <aj@suse.de>
5927
5928	* concat.c: Include "config.h".
5929
59302001-07-30  Andreas Jaeger  <aj@suse.de>
5931
5932	* regex.c: Declare wcs functions only if compiling with
5933	MBS_SUPPORT.
5934	Don't use #elif for traditional C.
5935
59362001-07-23  Ulrich Drepper  <drepper@redhat.com>
5937
5938	* regex.c: Revamp memory allocation for WCHAR functions to
5939	not use too much stack.
5940
59412001-07-30  Andreas Jaeger  <aj@suse.de>
5942
5943	* regex.c: Declare wcs functions only if compiling with
5944	MBS_SUPPORT.
5945	Don't use #elif for traditional C.
5946
59472001-07-25  Daniel Jacobowitz  <drow@mvista.com>
5948
5949	* Makefile.in (regex.o): Add dependency on config.h.
5950
59512001-07-18  Andreas Schwab  <schwab@suse.de>
5952
5953	* regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
5954	underscore character.
5955
59562001-07-18  Ulrich Drepper  <drepper@redhat.com>
5957
5958	* regex.c: Limit string length printed in debug messages to 100
5959	chars.
5960
59612001-07-18  Andreas Jaeger  <aj@suse.de>
5962
5963	* regex.c: Place under LGPL version 2.1.
5964
59652001-07-10  Jeff Johnston  <jjohnstn@redhat.com>
5966
5967	* Makefile.in: Add support for regex code.
5968	* regex.c: New file.
5969
59702001-07-05  Mark Klein  <mklein@dis.com>
5971
5972	* Makefile.in: Add ffs.c dependency.
5973	* configure.in: Add ffs.c.
5974	* ffs.c: New file.
5975
59762001-06-18  Richard Henderson  <rth@redhat.com>
5977
5978	* concat.c: Include <sys/types.h>.
5979
59802001-06-11  Loren J. Rittle  <ljrittle@acm.org>
5981
5982	bootstrap/3106
5983	* strerror.c (sys_nerr): Hide the OS header version.
5984	* strsignal.c (sys_nsig): Likewise.
5985
59862001-06-10  Richard Henderson  <rth@redhat.com>
5987
5988	* concat.c: Include string.h.  Fix int vs size_t usage.
5989	Simplify the iteration loops.  Use memcpy.
5990
59912001-05-16  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
5992
5993	* partition.c: Fix misspelling of `implementation'.
5994
59952001-05-09  Thiemo Seufer  <seufer@csv.ica.uni-stuttgart.de>
5996
5997	* md5.c (md5_init_ctx): Declare constants as unsigned.
5998	(md5_process_block): Likewise.
5999
60002001-05-07  Zack Weinberg  <zackw@stanford.edu>
6001
6002	* cp-demangle.c (demangle_v3_with_details,
6003	is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
6004	function definition.
6005	* ternary.c: Use K+R style function definitions.  Use PTR, not
6006	void *.  Make arguments constant where possible.
6007
60082001-05-07  Mark Mitchell  <mark@codesourcery.com>
6009
6010	* splay-tree.h (splay_tree_max): New function.
6011	(splay_tree_min): Likewise.
6012
60132001-04-15  Daniel Berlin  <dan@cgsoftware.com>
6014
6015	* ternary.c: New file - Ternary search tree implementation.
6016
6017	* Makefile.in: Add ternary.o, and ternary.c dependencies.
6018
60192001-04-03  Zack Weinberg  <zackw@stanford.edu>
6020
6021	* make-temp-file.c (try): Inline.
6022
60232001-02-28  Richard Henderson  <rth@redhat.com>
6024
6025	* Makefile.in (make-temp-file.o): Depend on config.h.
6026
60272001-03-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6028
6029	* memchr.c (memchr): Adjust condition to avoid infinite loop.
6030
60312001-03-23  Jakub Jelinek  <jakub@redhat.com>
6032
6033	* cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
6034	`_' not followed by a digit is invalid.
6035
60362001-03-22  Jim Blandy  <jimb@redhat.com>
6037
6038	* cp-demangle.c (string_list_delete): Use dyn_string_delete
6039	instead of free, to free the contents as well as the string
6040	structure.
6041
60422001-03-21  Zack Weinberg  <zackw@stanford.edu>
6043
6044	* make-temp-file.c: Always default DIR_SEPARATOR to '/'.
6045	Don't default P_tmpdir to anything.  Try /var/tmp before
6046	/usr/tmp.
6047
60482001-03-20  Zack Weinberg  <zackw@stanford.edu>
6049
6050	* choose-temp.c: Split off make_temp_file, and the code
6051	duplicated between it and choose_temp_base, into...
6052	* make-temp-file.c: ... here; new file.
6053
6054	* Makefile.in (CFILES): Add make-temp-file.c.
6055	(REQUIRED_OFILES): Add make-temp-file.o.
6056
60572001-03-20  Jim Blandy  <jimb@redhat.com>
6058
6059	* cp-demangle.c (struct demangling_def): New fields:
6060	is_constructor and is_destructor.
6061	(demangling_new): Initialize them.
6062	(demangle_ctor_dtor_name): Set them, if we detect a constructor
6063	or destructor.
6064	(demangle_v3_with_details, is_gnu_v3_mangled_ctor,
6065	is_gnu_v3_mangled_dtor): New functions.
6066
60672001-03-20  Jason Merrill  <jason@redhat.com>
6068
6069	* cplus-dem.c (main): Skip initial $.
6070
60712001-03-15  Michael Meissner  <meissner@redhat.com>
6072
6073	* hashtab.c (higher_prime_number): Silence warning that 4294967291
6074	might be a signed integer under pre-ISO C systems.
6075
60762001-03-10  Neil Booth  <neil@daikokuya.demon.co.uk>
6077	    John David Anglin  <dave@hiauly1.hia.nrc.ca>
6078
6079	* lbasename.c: New file.
6080	* Makefile.in: Update for lbasename.
6081
60822001-03-06  Zack Weinberg  <zackw@stanford.edu>
6083
6084	* aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
6085	* configure.in: Replace all alloca logic with a simple use of
6086	the above new macro.
6087	* config.table: Kill *-*-beos* entry.
6088	* config/mh-beos: Delete.
6089	* configure, config.in: Regenerate.
6090
6091	* Makefile.in (ALLOCA, HFILES): Kill.
6092	(REQUIRED_OFILES): Add alloca.o.
6093	(alloca.o): Depend on libiberty.h.
6094	(argv.o): Don't depend on alloca-conf.h.
6095	* alloca-conf.h: Delete.
6096	* alloca.c: Include libiberty.h.  Kill all #ifdef emacs
6097	blocks.  Provide the C alloca unconditionally.  Use PTR where
6098	appropriate.  Make i00afunc static.
6099	* argv.c: Don't include alloca-conf.h.
6100
61012001-03-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6102
6103	* cplus-dem.c (main): Cast enum style to int.
6104
61052001-02-16  Loren J. Rittle  <ljrittle@acm.org>
6106
6107	* cplus-dem.c (main): Initialize style.
6108
61092001-02-02  Phil Edwards  <pme@sources.redhat.com>
6110
6111	* COPYING.LIB:  Update to LGPL 2.1 from the FSF.
6112
61132001-01-31  Bryce McKinlay  <bryce@albatross.co.nz>
6114
6115	Add support for Java demangling under the v3 ABI:
6116	* cp-demangle.c (NAMESPACE_SEPARATOR): New define.
6117	(struct demangling_def): Add `style' field.
6118	(demangling_new): New parameter `style'. Set it in demangling_t.
6119	(demangle_prefix): Use NAMESPACE_SEPARATOR.
6120	(demangle_type_ptr): Don't emit pointer symbol if doing Java output.
6121	(cp_demangle): New parameter `style'. Pass it to demangling_new().
6122	(main): Call cp_demangle with extra parameter.
6123	(java_demangle_v3): New function.
6124	(java_builtin_type_names): New. Table of primitive type names used
6125	for Java demangling.
6126	(demangle_builtin_type): Look up in java_builtin_type_names if doing
6127	Java output.
6128	* cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
6129	demangling.
6130	(long_options): Remove obsolete `java' option.
6131	(main): Remove explicit handling of `java' option. Instead, pass style
6132	parameter in cplus_demangle flags as gdb does.
6133	* testsuite/demangle.expected: Add some Java test cases.
6134
61352000-12-29  DJ Delorie  <dj@redhat.com>
6136
6137	* fnmatch.c: Make the note about the origins of this file more
6138	accurate, at least until we can sync with glibc.
6139	* getopt.c: Ditto.
6140	* getopt1.c: Ditto.
6141	* md5.c: Ditto.
6142	* obstack.c: Ditto.
6143
61442000-12-26  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
6145
6146	* bsearch.c: New file.
6147	* configure.in (funcs): Add bsearch.
6148	(AC_CHECK_FUNCS): Likewise.
6149	* configure, config.in: Regenerate.
6150
61512000-12-13  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
6152
6153	* safe-ctype.c: #include "ansidecl.h".
6154	* strtod.c: Likewise.
6155
61562000-12-13  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
6157
6158	* strtoul.c: Include safe-ctype.h, not ctype.h.
6159
61602000-12-07  Zack Weinberg  <zack@wolery.stanford.edu>
6161
6162	* safe-ctype.c: New file.
6163	* Makefile.in (CFILES): Add safe-ctype.c.
6164	(REQUIRED_OFILES): Add safe-ctype.o.
6165
6166	* argv.c: Define ISBLANK and use it, not isspace.
6167	* basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
6168	strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h.  Use
6169	uppercase ctype macros.  Don't test ISUPPER(c)/ISLOWER(c)
6170	before calling TOLOWER(c)/TOUPPER(c).
6171
61722000-12-07  Mike Stump  <mrs@wrs.com>
6173
6174	* Makefile.in (distclean): When cleaning, remove testsuite.
6175
61762000-12-05  Jason Merrill  <jason@redhat.com>
6177
6178	* cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
6179	name before allocating the dyn_string.
6180
61812000-12-04  Jason Merrill  <jason@redhat.com>
6182
6183	* cp-demangle.c: s/new_abi/v3/.
6184	* cplus-dem.c: Likewise.
6185	(current_demangling_style): Now auto_demangling.
6186	(cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
6187	(main): Use standard symbol chars for auto_demangling.
6188
61892000-11-26  Mark Mitchell  <mark@codesourcery.com>
6190
6191	* hashtab.c (higher_prime_number): Use a table, rather than a
6192	seive, to find the next prime.
6193
61942000-11-22  H.J. Lu  <hjl@gnu.org>
6195
6196	* cplus-dem.c (main): Handle gnat_demangling.
6197
61982000-11-22  Zack Weinberg  <zack@wolery.stanford.edu>
6199
6200	* aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
6201	(AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
6202	* configure.in: Call AC_C_INLINE and AC_C_CONST.  Use three
6203	argument form of AC_DEFINE in dummy definitions block.  Use
6204	AC_DEFINE_NOAUTOHEADER for real definitions of things defined
6205	in dummy block.  Preload cache variables instead of bypassing
6206	tests, where possible.
6207	* acconfig.h: Removed.
6208
6209	* xmalloc.c (xmalloc_failed): New function, does error
6210	reporting on failed allocation.
6211	(xmalloc, xcalloc, xrealloc): Use it.
6212
62132000-11-21  Hans-Peter Nilsson  <hp@bitrange.com>
6214
6215	* cplus-dem.c (cplus_demangle): Fix formatting.
6216	(grow_vect): Ditto.
6217	(ada_demangle): Ditto.
6218	(internal_cplus_demangle): Ditto.
6219	(mop_up): Ditto.
6220
62212000-11-21  H.J. Lu  <hjl@gnu.org>
6222
6223	* cplus-dem.c (main): Handle java_demangling.
6224
62252000-11-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6226
6227	* cplus-dem.c (grow_vect): Prototype.
6228	(ada_demangle): Cast the arg of ctype macros to unsigned char.
6229
62302000-11-15  Hans-Peter Nilsson  <hp@bitrange.com>
6231
6232	* cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
6233	parameter `option'.
6234
62352000-11-15  Kenneth Block  <kenneth.block@compaq.com>
6236
6237	* cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
6238	be used in GCC.
6239
62402000-11-15  Kenneth Block  <kenneth.block@compaq.com>
6241
6242	* cplus-dem.c: Add gnat demangler.  Add java to demangle style
6243	list.
6244
62452000-11-04  Hans-Peter Nilsson  <hp@bitrange.com>
6246
6247	* hashtab.c (htab_expand): Change to return int.  Use calloc or
6248	xcalloc depending on htab->return_allocation_failure.  Return zero
6249	if calloc fails.
6250	(htab_create): Update comment to cover memory allocation.
6251	(htab_try_create): New.
6252	(htab_find_slot_with_hash): Return NULL if htab_expand fails.
6253	Update comment to cover this.
6254
62552000-11-03  Hans-Peter Nilsson  <hp@bitrange.com>
6256
6257	* hashtab.c: Change void * to PTR where necessary.
6258	(htab_create, htab_expand): Correct formatting of comment before
6259	function.
6260
62612000-10-22  Alex Samuel  <samuel@codesourcery.com>
6262
6263	* cp-demangle.c (string_list_def): Add caret_position and comments.
6264	(result_caret_pos): New macro.
6265	(result_append_string): Rename to...
6266	(result_add_string): ... this, and insert at caret position.
6267	Rename throughout.
6268	(result_append): Rename to...
6269	(result_add): ... this, and insert at caret position.  Rename
6270	throughout.
6271	(result_append_char): Rename to...
6272	(result_add_char): ... this, and insert at caret position.  Rename
6273	throughout.
6274	(result_append_space): Remove.
6275	(string_list_new): Initialize caret position.
6276	(result_add_separated_char): Use caret position.
6277	(result_get_caret): New funtion.
6278	(result_set_caret): Likewise.
6279	(result_shift_caret): Likewise.
6280	(result_previous_char_is_space): Likewise.
6281	(substitution_start): Use caret position.
6282	(substitution_add): Likewise.
6283	(demangling_new): Initialize caret position.
6284	(demangle_encoding): Use caret position.
6285	(demanglin_nested_name): Put CV qualifiers after name.
6286	(demangle_type_ptr): Use switch statement.  Handle pointers to
6287	arrays.  Don't use result_append_space.  Use caret position.
6288	(demangle_type): Emit CV qualifiers after underlying type.  Adjust
6289	call to demangle_array_type.
6290	(demangle_array_type): Add parameter to handle pointers to arrays.
6291
62922000-10-01  Mark Mitchell  <mark@codesourcery.com>
6293
6294	* splay-tree.c (splay_tree_insert): Fix formatting.
6295
62962000-09-16  Mark Mitchell  <mark@codesourcery.com>
6297
6298	* splay-tree.c (splay_tree_predecessor): Fix typo in comment.
6299
63002000-09-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
6301
6302	* splay-tree.c: #include <stdio.h>.
6303
63042000-09-14  Hans-Peter Nilsson  <hp@axis.com>
6305
6306	* testsuite/demangle-expected: Add two tests for anonymous
6307	namespaces.
6308	* cplus-dem.c (gnu_special): Handle anonymous namespaces.
6309
63102000-09-10  Mark Mitchell  <mark@codesourcery.com>
6311
6312	* splay-tree.c (splay_tree_predecessor): New function.
6313	(splay_tree_successor): Likewise.
6314
63152000-09-10  Hans-Peter Nilsson  <hp@axis.com>
6316
6317	* testsuite/demangle-expected: Add four tests for type_info
6318	mangling.
6319	* cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
6320	for a non-template non-qualified type_info function or node.
6321
63222000-09-08  Alex Samuel  <samuel@codesourcery.com>
6323
6324	* cp-demangle.c: Fix copyright banner.
6325
63262000-09-07  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
6327
6328	* md5.c: #include "ansidecl.h".
6329
63302000-09-06  Alex Samuel  <samuel@codesourcery.com>
6331
6332	* cp-demangle.c (status_allocation_failed): Rearrange whitespace.
6333	(demangle_type): Handle substitution candidates correctly in the
6334	face of special substitutions.
6335
63362000-09-05  Alex Samuel  <samuel@codesourcery.com>
6337
6338	* cp-demangle.c (demangle_encoding): Rename variable.
6339	(demangle_name): Rename parameter.  Handle return type
6340	suppression.
6341	(demangle_nested_name): Rename parameter.
6342	(demangle_prefix): Likewise.  Change return type suppression.
6343	(demangle_unqualified_name): Add parameter.  Flag constructors and
6344	conversion operators.
6345	(demangle_special_name): Fix comment.
6346	(demangle_type): Rename variable.
6347	(demangle_bare_function_type): Check for missing return type and
6348	parameter.
6349	(demangle_class_enum_type): Rename parameter.
6350	(demangle_discriminator): Fix misspelling in comment.
6351
63522000-08-31  DJ Delorie  <dj@redhat.com>
6353
6354	* configure.in (Cygwin): special case cygwin only when we're
6355	building cygwin, not when we're hosting cygwin.
6356
63572000-09-04  Alex Samuel  <samuel@codesourcery.com>
6358
6359	* cp-demangle.c (demangle_template_arg): Eat an `E' after an
6360	<expression>.
6361
63622000-09-04  Alex Samuel  <samuel@codesourcery.com>
6363
6364	* cp-demangle.c (demangle_type_ptr): Increment position past
6365	pointer and reference characters.
6366
63672000-09-04  Alex Samuel  <samuel@codesourcery.com>
6368
6369	* cp-demangle.c (demangle_nv_offset): New function.
6370	(demangle_v_offset): Likewise.
6371	(demangle_call_offset): Likewise.
6372	(demangle_special_name): Update thunk demangling to comply with
6373	ABI changes.
6374
63752000-09-03  Alex Samuel  <samuel@codesourcery.com>
6376
6377	* cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
6378	(substitution_def): Remove template_parm_number.
6379	(NOT_TEMPLATE_PARM): Remove.
6380	(result_insert_string): New macro.
6381	(result_insert): Likewise.
6382	(result_insert_char): Likewise.
6383	(substitution_add): Remove last parameter.  Don't store template
6384	parm number.
6385	(BFT_NO_RETURN_TYPE): Define as NULL.
6386	(demangle_encoding): Adjust call to demangle_bare_function_type.
6387	(demangle_name): Adjust substitution.  Adjust call to
6388	substitution_add.
6389	(demangle_prefix): Adjust call to substitution_add.
6390	(demangle_identifier): Handle anonymous namespaces.
6391	(demangle_operator_name): Change demangling of vendor-extended
6392	operator to match ABI changes.
6393	(demangle_type_ptr): Change parameters.  Make recursive.  Handle
6394	substitutions here.
6395	(demangle_type): Adjust calls to demangle_template_param,
6396	substitution_add, and demangle_type_ptr.  Fix substitution of
6397	templated types.
6398	(demangle_function_type): Change parameter to a pointer.
6399	(demangle_bare_function_type): Likewise.  Adjust insertion point.
6400	(demangle_template_param): Remove last parameter.
6401	(demangle_expr_primary): Remove unused variable.  Adjust call to
6402	demangle_template_param.
6403	(is_mangled_char): Accept `$' and `.'.
6404	* cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
6405	* dyn-string.c (dyn_string_insert_char): New function.
6406
64072000-08-31  Hans-Peter Nilsson  <hp@axis.com>
6408
6409	* testsuite/demangle-expected: Add nine tests for
6410	underscore-after-number followed by five tests for name-signature
6411	delimiter.
6412
64132000-08-28  Richard Henderson  <rth@cygnus.com>
6414
6415	* Makefile.in (md5.o): Depend on config.h.
6416
64172000-08-28  Jason Merrill  <jason@redhat.com>
6418
6419	* Makefile.in (REQUIRED_OFILES): Add md5.o.
6420	(CFILES): Add md5.c.
6421	* md5.c: New file.
6422
64232000-08-27  Alex Samuel  <samuel@codesourcery.com>
6424
6425	* cp-demangle.c (demangle_name): Initialize template_p in local
6426	name case.  Don't re-add substitutions as candidates.
6427	(demangle_nested_name): Use <unqualified-name>.
6428	(demangle_prefix): Likewise.  Don't add template names as
6429	substitution candidates twice, or re-add a substitution or the
6430	last prefix component.
6431	(demangle_local_name): Adjust output format.
6432
64332000-08-25  Alex Samuel  <samuel@codesourcery.com>
6434
6435	* cp-demangle.c (result_add_separated_char): Change parameter to
6436	int.
6437	(substitution_add): Don't check for duplicates.  Check if
6438	previously allocated size is zero.
6439	(demangle_name): Remove duplicate check for std substitution.
6440	Clear template flag appropriately.
6441	(demangle_prefix): Remove argument to demangle_substitution.
6442	Don't check that template flag is already set.
6443	(demangle_operator_name): Add pt operator.
6444	(demangle_type): Don't treat r as built-in type.  Remove argument
6445	to demangle_substitution.  Fix substitution candidate mechanics.
6446	Handle <template-template-parm>s.  Improve comments.
6447	(demangle_template_param): Don't handle template arg lists here.
6448	(demangle_substitution): Remove parameter.
6449	(print_usage): Remove extra fprintf option.
6450
64512000-08-24  Greg McGary  <greg@mcgary.org>
6452
6453	* random.c (end_ptr): Revert previous change.
6454
64552000-08-24  Greg McGary  <greg@mcgary.org>
6456
6457	* cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
6458	demangle_expression, demangle_function_name): Use ARRAY_SIZE.
6459	* random.c (end_ptr): Likewise.
6460
64612000-08-23  Alex Samuel  <samuel@codesourcery.com>
6462
6463	* cp-demangle.c (result_close_template_list): Remove function.
6464	(result_add_separated_char): New function.
6465	(result_open_template_list): New macro.
6466	(result_close_template_list): Likewise.
6467	(demangle_prefix): Don't set template_p if the
6468	prefix ends with a ctor name.
6469	(demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
6470	(demangle_type): Check for template args after substitution.
6471	(demangle_template_args): Use result_open_template_list.
6472
64732000-08-02  Zack Weinberg  <zack@wolery.cumb.org>
6474
6475	* pexecute.c:  Don't use vfork.  Initialize 'pid' before retry loop.
6476
64772000-07-26  Dave Pitts  <dpitts@cozx.com>
6478
6479	* config/mh-openedition.h: Added -DLE370 definition.
6480
64812000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
6482
6483	* pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
6484	__DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
6485	Cast program to 'char *' in errmsg_arg assignment.
6486	(PWAIT_ERROR): Define.
6487	(pwait): Use PWAIT_ERROR.  Adjust DJGPP's status code to conform
6488	to DJGPP's WIF* macros.
6489
64902000-07-27  RodneyBrown  <RodneyBrown@pmsc.com>
6491	    Jeff Law <law@cygnus.com>
6492
6493	* getcwd.c: Include string.h, stdlib.h for prototypes
6494
6495	* Makefile.in (rename.o, waitpid.o): Depend on config.h
6496	* rename.c: Include config.h, unistd.h
6497	* waitpid.c: Include config.h, sys/wait.h
6498
64992000-07-24  Hans-Peter Nilsson  <hp@axis.com>
6500
6501	* cplus-dem.c (work_stuff_copy_to_from): New.
6502	(delete_non_B_K_work_stuff): New.
6503	(delete_work_stuff): New.
6504	(mop_up): Break out work_stuff partly destruction to
6505	delete_non_B_K_work_stuff.
6506	(iterate_demangle_function): New.
6507	(demangle_prefix): Call iterate_demangle_function instead of
6508	demangle_function_name.  Leave handling of name-signature
6509	__-delimiters to iterate_demangle_function.
6510	(demangle_integral_value): Strip an optional
6511	following underscore cautiously.  Handle negative numbers.
6512
65132000-07-24  Daniel Berlin <dberlin@redhat.com>
6514
6515	* cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
6516	if (AUTO_DEMANGLING || GNU_DEMANGLING)
6517
65182000-07-21  Alex Samuel  <samuel@codesourcery.com>
6519
6520	* cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
6521	allocating ctor mangling.
6522	(demangle_array_type): Handle empty and non-constant array length.
6523
65242000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
6525	    Jeff Law <law@cygnus.com>
6526
6527	* configure.in (AC_CHECK_HEADERS): Add time.h.
6528	(AC_HEADER_TIME): Add check.
6529	* configure, config.in: Regenerate.
6530	* getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
6531
6532	* configure.in (AC_CHECK_HEADERS): Add limits.h.
6533	* configure, config.in: Regenerate.
6534	* sort.c: Portably #include <limits.h> and/or <sys/param.h>.
6535	* strtol.c, strtoul.c: #include "config.h". Portably #include
6536	<limits.h> and/or <sys/param.h>.
6537	* Makefile.in (strtol.o, strtoul.o): Update dependencies.
6538
6539	* aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
6540	* configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
6541	* configure, config.in: Regenerate.
6542	* pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
6543
6544	* cp-demangle.c, mkstemps.c: #include <sys/types.h>.
6545
65462000-07-21  Mike Stump  <mrs@wrs.com>
6547
6548	* Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
6549	* (vasprintf.o): Add dependency for config.h in vasprintf.c.
6550
65512000-07-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6552
6553	* cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
6554
6555	* setenv.c (setenv): Initialize variable `ep'.
6556
6557	* sigsetmask.c (abort): Prototype.
6558
6559	* vasprintf.c: Include config.h.  Check ANSI_PROTOTYPES, not
6560	__STDC__ for stdarg.h include.
6561	(int_vasprintf): Prototype.
6562	(checkit): Prototype.  Use VPARAMS/ANSI_PROTOTYPES/VA_START in
6563	definition.  Cast `global_total_width' in comparison.
6564	(main): Prototype.  Return a value.
6565
6566	* vfork.c (fork): Prototype.
6567
6568	* xexit.c: Include config.h.
6569
65702000-07-20  Joseph S. Myers  <jsm28@cam.ac.uk>
6571
6572	* cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
6573	and print it with %u.
6574
65752000-07-17  Hans-Peter Nilsson  <hp@axis.com>
6576
6577	* testsuite/regress-demangle (failed test): Show result and
6578	expected output.
6579
65802000-07-07  Andrew Haley  <aph@cygnus.com>
6581
6582	* cplus-dem.c (main): fflush() after emitting last char before
6583	waiting for input.
6584
65852000-06-28  Alex Samuel  <samuel@codesourcery.com>
6586
6587	* cp-demangle.c (demangle_encoding): Accept no substitutions.
6588	(demangle_name): Handle <substitution> followed by
6589	<unqualified-template-name>.
6590	(demangle_type): Follow special substitutions with
6591	<class-enum-type>
6592	(demangle_subtitution): Set template_p for special substitutions.
6593	(main): Fix typos.
6594
65952000-06-27  Alex Samuel  <samuel@codesourcery.com>
6596
6597	* cp-demangle.c (demangle_special_name): Swap base and derived
6598	class when demangling construction vtables.
6599
66002000-06-21  Alex Samuel  <samuel@codesourcery.com>
6601
6602	* cp-demangle.c: Don't include ctype.h.
6603	(IS_DIGIT): New macro.
6604	(IS_ALPHA): Likewise.  Use IS_DIGIT and IS_ALPHA throughout
6605	instead of isdigit and isalpanum.
6606	(demangling_def): Make name and next const pointers.
6607	(STATUS_ALLOCATION_FAILED): New status code.
6608	(dyn_string_append_space): Handle failure in
6609	dyn_string_append_char.
6610	(int_to_dyn_string): Likewise.  Change return value to status_t.
6611	(string_list_new): Handle failure of dyn_string_init.
6612	(result_close_template_list): Change return type to status_t.
6613	Handle failure in dyn_string_append.
6614	(result_push): Change return value to status_t.  Handle failure in
6615	string_list_new.  Handle failure of result_push throughout.
6616	(substitution_add): Change return value to status_t.  Handle
6617	dyn_string failures.  Handle failure of substitution_add
6618	throughout.
6619	(template_arg_list_new): Return NULL on allocation failure.
6620	(result_append_string): Return STATUS_ALLOCATION_FAILED on error.
6621	Handle error result throughout.
6622	(result_append): Likewise.
6623	(result_append_char): Likewise.
6624	(result_append_space): Likewise.
6625	(demangling_new): Make argument a const pointer.  Handle
6626	allocation failures.
6627	(demangle_template_args): Handle failure in template_arg_list_new
6628	and result_close_template_list.
6629	(demangle_discriminator): Return if int_to_dyn_string fails.
6630	(cp_demangle): Likewise.
6631	(cp_demangle_type): New function.
6632	(cplus_demangle_new_abi): Don't call dyn_string_delete.  Abort on
6633	memory allocation failure.
6634	(main): Likewise.
6635	* dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
6636	IN_LIBGCC2.
6637	(dyn_string_init): Change return value to int.  Handle
6638	RETURN_ON_ALLOCATION_FAILURE case.
6639	(dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
6640	(dyn_string_release): Delete the dyn_string.
6641	(dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
6642	(dyn_string_copy): Change return type to int.
6643	(dyn_string_copy_cstr): Likewise.
6644	(dyn_string_prepend): Likewise.
6645	(dyn_string_prepend_cstr): Likewise.
6646	(dyn_string_insert): Likewise.
6647	(dyn_string_insert_cstr): Likewise.
6648	(dyn_string_append): Likewise.
6649	(dyn_string_append_cstr): Likewise.
6650	(dyn_string_append_char): Likewise.
6651	(dyn_string_substring): Likewise.
6652
66532000-06-09  Zack Weinberg  <zack@wolery.cumb.org>
6654
6655	* cp-demangle.c (demangle_operator_name): Add spaces before
6656	names beginning with a letter: delete, delete[], new, new[],
6657	sizeof.
6658	(demangle_special_name): Handle TF <type> and TJ <type>.
6659
6660Thu Jun  8 18:52:24 2000  Philippe De Muyter  <phdm@macqel.be>
6661
6662	* cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
6663
6664Thu Jun  8 09:25:54 2000  Philippe De Muyter  <phdm@macqel.be>
6665
6666	* cp-demangle.c (stdio.h): File included unconditionaly.
6667	(template_arg_list_new): Parameter list is PARAMS ((void)), not ().
6668	* dyn-string.c (stdio.h): File included.
6669	* partition.c (partition_print): No `&' needed to take the address of
6670	a function.
6671
66722000-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6673
6674	* configure.in (ac_libiberty_warn_cflags): Add -pedantic.
6675
6676	* choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
6677
6678	* cp-demangle.c (demangle_char): Change parameter from char to int.
6679	(demangle_expression, demangle_expr_primary): Remove extra
6680	semi-colon in prototype.
6681
6682	* dyn-string.c (dyn_string_append_char): Change parameter from
6683	char to int.
6684
6685	* memcmp.c (memcmp): Constify.
6686
6687	* mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
6688	__extension__.
6689
6690	* partition.c (elem_compare): Prototype.  Don't cast away
6691	const-ness.
6692
6693	* setenv.c (setenv): Use braces to avoid ambiguous `else'.
6694
66952000-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6696
6697	* Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
6698
6699	* cp-demangle.c: Include demangle.h.
6700	(template_arg_list_new): DeANSIfy.
6701	(cp_demangle): Make static and add prototype.
6702	(operator_code, operators): Constify.
6703	(demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
6704
67052000-06-05  Alex Samuel  <samuel@codesourcery.com>
6706
6707	* cp-demangle.c (demangle_prefix): Cast argument to isdigit to
6708	unsigned char.
6709	(demangle_unqualified_name): Likewise.
6710	(demangle_number_literally): Likewise.
6711	(demangle_type): Likewise.
6712	(demangle_substitution): Likewise.
6713	(is_mangled_char): Likewise, for isalnum.
6714
67152000-06-04  Alex Samuel  <samuel@codesourcery.com>
6716
6717	* Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
6718	(REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
6719	(cp-demangle.o): New dependency.
6720	(dyn-string.o): Likewise.
6721
6722	* dyn-string.c: Move here from gcc/dyn-string.c.  Add new functions.
6723
6724	* cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
6725	demangler.
6726	(cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
6727	demangling mode.
6728	(gnu_new_abi_symbol_characters): New function.
6729	(main): Use gnu_new_abi_symbol_characters.  * cp-demangle.c: New
6730	file.
6731	* cp-demangle.c: New file.
6732
6733Tue May 30 16:45:25 2000  Andrew Cagney  <cagney@b1.cygnus.com>
6734
6735	* floatformat.c: Add name to each floatformat field.
6736
6737Tue May 30 15:07:52 2000  Jeffrey A Law  (law@cygnus.com)
6738
6739	* Makefile.in (objalloc.o): Depend on config.h
6740
67412000-05-29  Zack Weinberg  <zack@wolery.cumb.org>
6742
6743	* hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
6744	if HAVE_STRING_H.
6745	* pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
6746	* objalloc.c: Include config.h.  Include stdlib.h and don't
6747	declare malloc or free if HAVE_STDLIB_H.
6748	* strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
6749	else declare malloc without prototype.  Include string.h if
6750	HAVE_STRING_H, else declare memset without prototype.  Don't
6751	include stddef.h.
6752
67532000-05-23  Mike Stump  <mrs@wrs.com>
6754
6755	* Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
6756	-j3.
6757
67582000-05-18  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
6759
6760	* xmalloc.c: Include config.h for HAVE_SBRK definition.
6761
67622000-05-16  Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
6763
6764	* hashtab.c (hash_pointer): Delete low-order bits which are
6765	probably zero, also eliminate a warning on alpha.
6766
67672000-05-15  David Edelsohn  <edelsohn@gnu.org>
6768
6769	* Makefile.in: Change "pic" to depend on $(PICFLAG), not
6770	on $(enable_shared).
6771
67722000-05-10  Jakub Jelinek  <jakub@redhat.com>
6773
6774	* config.table: Use mh-sparcpic for sparc*-*-*.
6775
67762000-05-08  Nick Clifton  <nickc@cygnus.com>
6777
6778	* Makefile.in (CFILES): Add strncmp.c.
6779	(NEEDED): Add strncmp.
6780
67812000-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6782
6783	* cplus-dem.c (cplus_demangle_opname, demangle_function_name):
6784	Cast the arguments to `islower' to `unsigned char'.
6785	(print_demangler_list): Prototype.
6786
6787Thu May  4 17:14:41 2000  Philippe De Muyter  <phdm@macqel.be>
6788
6789	* sort.c (UCHAR_MAX): Provide fallback definition.
6790
67912000-04-29  Alexandre Oliva  <aoliva@cygnus.com>
6792
6793	* Makefile.in (maintainer-clean-subdir): Fix handling of empty
6794	SUBDIRS.
6795
67962000-04-28  Kenneth Block  <block@zk3.dec.com>
6797	    Jason Merrill  <jason@casey.cygnus.com>
6798
6799	* cplus-dem.c (libiberty_demanglers): New table for demangle styles.
6800	(cplus_demangle_set_style): New function for setting style.
6801	(cplus_demangle_name_to_style): New function to translate name.
6802
68032000-04-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6804
6805	* aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
6806
6807	* configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
6808	(libiberty_AC_FUNC_STRNCMP): Invoke.
6809
6810	* strncmp.c: New file.
6811
6812Thu Apr 27 16:58:43 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6813
6814	* hashtab.c (htab_expand): Add prototype.
6815	(find_empty_slot_for_expand): Likewise.
6816
68172000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6818
6819	* hashtab.c (hash_pointer, eq_pointer): Make definition static to
6820	match prototype.
6821	(htab_expand): Cast the return value of xcalloc.
6822
68232000-04-24  Mark Mitchell  <mark@codesourcery.com>
6824
6825	* hashtab.c (hash_pointer): New function.
6826	(eq_pointer): Likewise.
6827	(htab_hash_pointer): New variable.
6828	(htab_eq_pointer): Likewise.
6829
68302000-04-23  Mark Mitchell  <mark@codesourcery.com>
6831
6832	* sort.c (sort_pointers): Fix endianness bugs.
6833
6834	* sort.c: New file.
6835	* Makefile.in (CFILES): Add sort.c
6836	(REQUIRED_OFILES): Add sort.o.
6837	(sort.o): New target.
6838
68392000-04-21  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
6840
6841	* Makefile.in (*-subdir): Revamp slightly to avoid losing on
6842	4.3BSD systems.
6843
6844Tue Apr 18 16:23:31 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6845
6846	* hashtab.c: Various minor cleanups.
6847	(htab_find_slot_with_hash): INSERT is now enum insert_option.
6848	(htab_find_slot): Likewise.
6849
68502000-04-16  Dave Pitts  <dpitts@cozx.com>
6851
6852	* cplus-dem.c (cplus_demangle_opname): Changed to use islower.
6853
68542000-04-05  Richard Henderson  <rth@cygnus.com>
6855
6856	* splay-tree.c (splay_tree_remove): New.
6857
68582000-03-30  Mark Mitchell  <mark@codesourcery.com>
6859
6860	* hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
6861	codes.
6862	(htab_find_with_hash): Likewise.
6863	(htab_find_slot_with_hash): Likewise.
6864
68652000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
6866
6867	* hashtab.c (htab_find_with_hash): Avoid calculating hash2
6868	unless it will be used.  Rearrange loop for better
6869	optimization.
6870	(higher_prime_number): Add static prototype.
6871
6872Thu Mar 16 01:33:58 2000  Jeffrey A Law  (law@cygnus.com)
6873
6874	* Makefile.in (partition.o): Depend on config.h
6875
68762000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
6877
6878	* hashtab.c (find_empty_slot_for_expand): New function.
6879	(htab_expand): Use it instead of htab_find_slot.
6880	(htab_find_with_hash): Renamed from htab_find; now accepts extra
6881	argument HASH.
6882	(htab_find_slot_with_hash): Likewise for htab_find_slot.
6883	(htab_find): New wrapper function.
6884	(htab_find_slot): Likewise.
6885	(htab_traverse): Pass slot, not entry, to called function.
6886
68872000-03-09  Alex Samuel  <samuel@codesourcery.com>
6888
6889	* Makefile.in (CFILES): Add partition.c.
6890	(REQUIRED_OFILES): Add partition.o.
6891	(partition.o): New rule.
6892	* partition.c: New file.
6893
68942000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
6895
6896	* hashtab.c (htab_create): Set del_f.
6897	(htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
6898	Use it.
6899
69002000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
6901
6902	* hashtab.c: Remove debugging variables (all_searches,
6903	all_collisions, all_expansions). Delete
6904	all_hash_table_collisions.
6905	(create_hash_table, delete_hash_table, empty_hash_table,
6906	find_hash_table_entry, remove_element_from_hash_table_entry,
6907	clear_hash_table_slot, traverse_hash_table, hash_table_size,
6908	hash_table_elements_number, hash_table_collisions): Rename to:
6909	htab_create, htab_delete, htab_empty, htab_find_slot,
6910	htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
6911	htab_elements, htab_collisions.
6912	(htab_find): New function, handles common case where you don't
6913	plan to add or delete an entry.
6914	(htab_expand): Don't create a whole new table, just a new
6915	entry vector.
6916	(htab_find_slot): Simplify logic.
6917
69181999-08-03  Ian Lance Taylor  <ian@zembu.com>
6919
6920	* floatformat.c: Add casts to avoid signed/unsigned warnings.
6921	* pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
6922
6923	* Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
6924	$(TARGETLIB)n so it works on MSDOS.
6925	(install_to_tooldir): Likewise.
6926
69271999-07-21  Ian Lance Taylor  <ian@zembu.com>
6928
6929	From Mark Elbrecht:
6930	* makefile.dos: Remove; obsolete.
6931	* configure.bat: Remove; obsolete.
6932
69331999-07-11  Ian Lance Taylor  <ian@zembu.com>
6934
6935	* splay-tree.c (splay_tree_insert): Add initialization to avoid
6936	warning.
6937
69382000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
6939
6940	* pexecute.c: Conditionally include string.h.
6941	(fix_argv): Handle embedded whitespace in args for Mingw32.
6942
69432000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6944
6945	* configure.in (ac_libiberty_warn_cflags): Turn on warnings if
6946	we're using gcc.
6947
6948	* Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
6949
69501999-12-27  Geoff Keating  <geoffk@cygnus.com>
6951
6952	* vasprintf.c (int_vasprintf): Don't re-read the format character
6953	as this mishandles strings like '%%s'.
6954
69551999-12-05  Mark Mitchell  <mark@codesourcery.com>
6956
6957	* splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
6958	rather than struct splay_tree_node.
6959	(splay_tree_insert): Use struct splay_tree_s rather than struct
6960	splay_tree.
6961
6962Sun Nov 28 00:59:39 1999  Philippe De Muyter  <phdm@macqel.be>
6963
6964	* hashtab.c (sys/types.h): File included.
6965
69661999-11-22  Jason Merrill  <jason@casey.cygnus.com>
6967
6968	* strtoul.c, strtol.c, random.c: Remove advertising clause from
6969	BSD license, pursuant with
6970
6971	  ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
6972
6973Wed Nov 10 09:42:39 1999  Jeffrey A Law  (law@cygnus.com)
6974
6975	* hashtab.c: Include stdio.h.
6976
6977Mon Nov  8 09:23:41 1999  Jeffrey A Law  (law@cygnus.com)
6978
6979	* hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
6980
6981Tue Nov  2 03:23:13 1999  Philippe De Muyter  <phdm@macqel.be>
6982
6983	* xstrdup (sys/types.h): Include this file.
6984
69851999-10-28  Nathan Sidwell  <nathan@acm.org>
6986
6987	* Makefile.in (SUBDIRS): New macro.
6988	(mostlyclean, clean, distclean, maintainer-clean): Adjust to
6989	avoid multiple subdirectory cleaning.
6990	(*-subdir): Use SUBDIRS.
6991
69921999-10-25  Jim Kingdon  <http://developer.redhat.com/>
6993
6994	* cplus-dem.c: Move declarations of standard_symbol_characters and
6995	hp_symbol_characters inside #ifdef MAIN to avoid compiler
6996	warnings.
6997
69981999-10-23 08:51 -0700  Zack Weinberg  <zack@bitmover.com>
6999
7000	* hashtab.c (find_hash_table_entry): When returning a
7001	DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
7002	(clear_hash_table_slot): New function which deletes an entry
7003	by its position in the table, not its value.
7004	(traverse_hash_table): New function which calls a hook
7005	function for every live entry in the table.
7006
70071999-10-19  Mark Mitchell  <mark@codesourcery.com>
7008
7009	* cplus-dem.c (INTBUF_SIZE): New macro.
7010	(string_append_template_idx): New function.
7011	(demangle_expression): Likewise.
7012	(demangle_integral_value): Use it.
7013	(demangle_real_value): New function, split out from ...
7014	(demangle_template_value_parm): ... here.  Use
7015	string_append_template_idx.  Use demangle_real_value.
7016	(demangle_template): Use string_append_template_idx.
7017	(demangle_qualified): Use consume_count_with_underscores.
7018	(get_count): Tweak formatting.
7019	(do_type): Use string_append_template_idx.
7020
70211999-10-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7022
7023	* calloc.c: Add a public domain notice.
7024
7025Mon Oct 18 02:30:47 1999  Philippe De Muyter  <phdm@macqel.be>
7026
7027	* setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
7028
7029Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
7030
7031	* Makefile.in (CFILES): Add hashtab.c
7032	(REQUIRED_OFILES): Add hashtab.o
7033	(hashtab.o): Add dependencies.
7034	* hashtab.c: New file
7035
7036Wed Oct 13 01:16:47 1999  Mumit Khan  <khan@xraylith.wisc.edu>
7037
7038	* basename.c (DIR_SEPARATOR): New macro.
7039	(DIR_SEPARATOR_2): Likewise.
7040	(HAVE_DOS_BASED_FILESYSTEM): Likewise.
7041	(IS_DIR_SEPARATOR): Likewise.
7042	(main): Handle MSDOS style pathname.
7043
70441999-10-11  Mark Mitchell  <mark@codesourcery.com>
7045
7046	* cplus-dem.c (do_type): Handle pointer to member types whose
7047	enclosing classes have namespace scope.
7048
7049Sun Oct 10 01:23:50 1999  Marc Espie <espie@cvs.openbsd.org>
7050
7051	* config.table:  Provide a backup shell for executing move-if-change.
7052
70531999-10-02  Mark Mitchell  <mark@codesourcery.com>
7054
7055	* xmalloc.c (xmalloc): Fix spelling error.
7056	(xcalloc, xrealloc): Likewise.
7057
70581999-10-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7059
7060	* cplus-dem.c (fancy_abort, demangle_integral_value,
7061	demangle_arm_hp_template, recursively_demangle,
7062	standard_symbol_characters, hp_symbol_characters, main): Add prototype.
7063	(program_name, program_version, fatal): Constify a char*.
7064	(usage, fatal): Mark with ATTRIBUTE_NORETURN.
7065	(main): Call return, not exit.
7066
70671999-09-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7068
7069	* choose-temp.c: Remove obsolete comment about gcc.
7070	(make_temp_file): Constify a char*.
7071
7072Wed Sep  8 20:03:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7073
7074	* xmemdup.c: Include sys/types.h.
7075
70761999-09-07  Jeff Garzik  <jgarzik@pobox.com>
7077
7078	* xmemdup.c: New xmemdup function.
7079	* Makefile.in, makefile.vms, vmsbuild.com:  Use xmemdup.[co].
7080
7081Tue Sep  7 23:32:18 1999  Linas Vepstas  <linas@linas.org>
7082
7083	* config.table: Add openedition target.
7084	* config/mh-openedition: New file.
7085
7086Thu Sep  2 01:36:12 1999  Marc Espie <espie@cvs.openbsd.org>
7087
7088	* pexecute.c (pexecute):  Fill in temp_base when needed.
7089
70901999-08-31  Richard Henderson  <rth@cygnus.com>
7091
7092	* getpwd.c: Check HAVE_GETCWD before defining it away.
7093
70941999-08-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7095
7096	* Makefile.in (CFILES): Add calloc.c and getpwd.c.
7097	(REQUIRED_OFILES): Add getpwd.o.
7098	(getpwd.o): Add target.
7099
7100	* configure.in (AC_PREREQ): Bump to 2.13.
7101	(AC_CHECK_HEADERS): Add check for <sys/stat.h>.
7102
7103	* getpwd.c: New file, moved here from gcc.
7104
71051999-08-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7106
7107	* cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
7108	comparing against a signed quantity.
7109	(arm_special): Likewise.
7110	(demangle_fund_type): Likewise.
7111	(do_hpacc_template_const_value): Mark parameter `work' with
7112	ATTRIBUTE_UNUSED.
7113	(main): Constify variable `valid_symbols'.
7114
7115Tue Aug 24 02:50:45 1999  Philippe De Muyter  <phdm@macqel.be>
7116
7117	* strtoul.c (strtoul): Add parentheses around && within ||.
7118
7119Fri Aug  6 23:32:29 1999  Daniel Jacobowitz <drow@drow.them.org>
7120
7121	* Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
7122	libdir, libsubdir and tooldir.
7123
71241999-08-01  Mark Mitchell  <mark@codesourcery.com>
7125
7126	* splay-tree.c (splay_tree_insert): Return the new node.
7127
71281999-07-14  Richard Henderson  <rth@cygnus.com>
7129
7130	* argv.c: Include stdlib.h and string.h instead of
7131	prototyping directly.
7132	* choose-temp.c: Conditionally include string.h.
7133
71341999-07-12  Jason Merrill  <jason@yorick.cygnus.com>
7135
7136	* Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
7137
71381999-07-11  Ian Lance Taylor  <ian@zembu.com>
7139
7140	* splay-tree.c (splay_tree_insert): Add initialization to avoid
7141	warning.
7142
71431999-07-07  Jason Merrill  <jason@yorick.cygnus.com>
7144
7145	* Makefile.in (needed-list): Only include stuff we actually need
7146	for libstdc++.
7147
71481999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7149
7150	* configure.in (checkfuncs): Add gettimeofday.
7151	* config.in, configure: Regenerated.
7152
7153Mon Jun 21 05:56:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
7154
7155	* configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
7156	the test fails.
7157	* configure: Regenerate.
7158
71591999-06-10  Mike Stump  <mrs@wrs.com>
7160
7161	* Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
7162	parallel builds.
7163
71641999-05-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7165
7166	* putenv.c: Include ansidecl.h to define `const'.
7167	* setenv.c: Likewise.
7168
7169Wed May 26 03:58:20 1999  "Melissa O'Neill" <oneill@cs.sfu.ca>
7170
7171	* Makefile.in (CFILES): Add putenv.c and setenv.c.
7172	* configure.in (funcs): Add putenv and setenv.
7173	(AC_CHECK_FUNCS): Check for putenv and setenv.
7174	* configure: Rebuilt.
7175	* putenv.c setenv.c: New files.
7176
7177	* getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
7178	bytes of space using malloc.
7179
7180Mon May 17 01:42:34 1999  Stu Grossman  <grossman@babylon-5.cygnus.com>
7181
7182	* cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
7183	the *mangled pointer beyond the end of the string.  Clean up code to
7184	match prevailing coding style.
7185
71861999-05-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7187
7188	* tmpnam.c (L_tmpnam): Fix typo.
7189
7190Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
7191
7192	* cplus-dem.c (standard_symbol_characters): Renamed from
7193	standard_symbol_alphabet.  No longer modify TABLE.
7194	(hp_symbol_characters): Renamed from hp_symbol_alphabet.  No longer
7195	modify TABLE.
7196	(main): Corresponding changes.  Use strchr to determine if a
7197	character is valid.
7198
71991999-05-11  Jim Blandy  <jimb@zwingli.cygnus.com>
7200
7201	* cplus-dem.c (main): Use table lookup to distinguish identifier
7202	characters from non-identifier characters.
7203	(standard_symbol_alphabet, hp_symbol_alphabet): New functions.
7204
7205Thu May  6 20:34:42 1999  Fred Fish  <fnf@be.com>
7206
7207	* configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
7208	* getruntime.c: Only attempt to include sys/resource.h and
7209	use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
7210	are defined.
7211
7212Mon Apr 26 01:36:06 1999  Donn Terry (donn@interix.com)
7213
7214	* configure.in (alloca detection): Handle alloca directly for interix.
7215	* configure: Rebuilt.
7216
7217Sun Apr 25 01:18:21 1999  Mumit Khan  <khan@xraylith.wisc.edu>
7218
7219	* choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
7220
72211999-04-20  Jim Blandy  <jimb@zwingli.cygnus.com>
7222
7223	Fix from Dale Hawkins:
7224	* cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
7225	reallocated properly if we use it again.
7226
7227	* cplus-dem.c (demangle_fund_type): Check for buffer overrun.  Be
7228	stricter about syntax.  Always null-terminate string.
7229
7230Thu Apr 15 23:00:55 1999  Mumit Khan  <khan@xraylith.wisc.edu>
7231
7232	* configure.in (checkfuncs): Check for sbrk.
7233	* config.in: Rebuilt.
7234	* configure: Likewise.
7235	* xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
7236
72371999-04-12  Jim Blandy  <jimb@zwingli.cygnus.com>
7238
7239	Fix from Marcus Daniels:
7240	* cplus-dem.c (demangle_fund_type): Don't run off the end of the
7241	identifier looking for another underscore.
7242
7243Sun Apr 11 23:20:59 1999  Mumit Khan  <khan@xraylith.wisc.edu>
7244
7245	* pexecute.c: Change all references to __UWIN__ to _UWIN.
7246	* xmalloc.c: Likewise.
7247	(xcalloc): UWIN has sbrk.
7248	(xrealloc): Fix guard macro.
7249
72501999-04-11  Richard Henderson  <rth@cygnus.com>
7251
7252	* alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
7253	or <alloca.h>.
7254	* clock.c (GNU_HZ): New definition.
7255	(clock): Use it.
7256	* getruntime.c: Likewise.
7257
7258	* config.table: Use mh-beos.
7259	* config/mh-beos: New file.
7260
72611999-04-11  Mark Mitchell  <mark@codesourcery.com>
7262
7263	* cplus-dem.c (demangle_template_value_parm): Handle
7264	pointers-to-members.
7265	(do_type): Handle template parameters as qualifiers.
7266
72671999-04-01  Jim Blandy  <jimb@zwingli.cygnus.com>
7268
7269	* cplus-dem.c: Attempt to handle overflows in counts with some
7270	semblance of grace.
7271	(consume_count): Detect overflows.  Return -1 to indicate errors,
7272	instead of zero.
7273	(demangle_template_value_parm, demangle_template): Handle change
7274	to consume_count's return convention.
7275
72761999-04-05  Tom Tromey  <tromey@cygnus.com>
7277
7278	* testsuite/regress-demangle: New file.
7279	* testsuite/demangle-expected: New file.
7280
7281	* Makefile.in (all, check, installcheck, info, install-info,
7282	clean-info, dvi, install, etags, tags, mostlyclean, clean,
7283	distclean, maintainer-clean, realclean): Depend on corresponding
7284	`-subdir' target.
7285	(all-subdir check-subdir installcheck-subdir info-subdir
7286	install-info-subdir clean-info-subdir dvi-subdir
7287	install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
7288	distclean-subdir maintainer-clean-subdir): New target.
7289	* testsuite/Makefile.in: New file.
7290	* configure: Rebuilt.
7291	* configure.in: Create testsuite/Makefile.
7292
72931999-04-02  Mark Mitchell  <mark@codesourcery.com>
7294
7295	* splay-tree.h (splay_tree_compare_pointers): Define.
7296
72971999-03-30  Mark Mitchell  <mark@codesourcery.com>
7298
7299	* splay-tree.c (splay_tree_compare_ints): Define.
7300
73011999-03-30  Tom Tromey  <tromey@cygnus.com>
7302
7303	* cplus-dem.c (consume_count): If `count' wraps, return 0 and
7304	don't advance input pointer.
7305	(demangle_class_name): If consume_count didn't find a count, do
7306	nothing.  Don't bother with `strlen' sanity check; consume_count
7307	does it for us.
7308
73091999-03-16  Stan Shebs  <shebs@andros.cygnus.com>
7310
7311	From Art Haas  <ahaas@neosoft.com>:
7312	* cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
7313	when doing arm or hp style.
7314	(demangle_nested_args): Decr forgetting_types field when done.
7315
7316Thu Mar 11 01:22:58 1999  Mumit Khan  <khan@xraylith.wisc.edu>
7317
7318	* pexecute.c (__CYGWIN32__): Rename to
7319	(__CYGWIN__): this.
7320	* xmalloc.c: Likewise.
7321
7322	Changes to support i386-pc-uwin.
7323	* configure.in (*-*-uwin*): Workaround for vfork bug.
7324	* configure: Regenerate.
7325	* pexecute.c (pexecute): Be like standard Unix.
7326	(pwait): Likewise.
7327	* xmalloc.c (first_break): Define.
7328	(xmalloc_set_program_name): Use.
7329	(xmalloc): Use.
7330
7331Thu Mar 11 01:07:55 1999  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7332
7333	* config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
7334
7335Sun Feb 28 22:30:44 1999  Geoffrey Noer  <noer@cygnus.com>
7336
7337	* config.table: Check cygwin*, not cygwin32*.
7338
7339Tue Feb  9 16:39:01 1999  Dave Brolley  <brolley@cygnus.com>
7340
7341	* Makefile.in: Change mkstemp -> mkstemps.
7342
7343Tue Feb  9 01:12:27 1999  Marc Espie <Marc.Espie@liafa.jussieu.fr>
7344
7345	* Makefile.in (REQUIRED_OFILES): remove mkstemp.o
7346	* configure.in (funcs): Check for and conditionally add mkstemps to
7347	the list of functions libiberty will provide.
7348	* configure: Rebuilt.
7349
7350Wed Feb  3 00:01:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
7351
7352	* clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
7353	platforms that don't have HZ.
7354	* getruntime.c (HZ): Likewise.
7355
7356Sat Jan 30 13:28:04 1999  Richard Henderson  <rth@cygnus.com>
7357
7358	* Makefile.in (xstrdup.o): Depend on config.h.
7359
7360Wed Jan 13 07:26:44 1999  H.J. Lu  (hjl@gnu.org)
7361
7362	* cplus-dem.c (mop_up): Set work->previous_argument to NULL after
7363	freeing it.
7364
7365Wed Jan 13 14:16:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7366
7367	* xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
7368
7369Tue Jan  5 15:58:29 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
7370
7371	* Makefile.in (CFILES): fix typo, splay-tree.c instead of
7372	splay-tree.o.
7373
73741999-01-04  Jason Molenda  (jsm@bugshack.cygnus.com)
7375
7376	* configure.in: Require autoconf 2.12.1 or higher.
7377
73781998-12-30  Michael Meissner  <meissner@cygnus.com>
7379
7380	* random.c (NULL): Don't redefine NULL if it is already defined.
7381
7382Tue Dec 22 09:43:35 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7383
7384	* argv.c (buildargv): Cast the result of alloca in assignment.
7385
7386	* choose-temp.c: Include stdlib.h.
7387
7388	* cplus-dem.c (demangle_arm_pt): Remove unused prototype.
7389	(snarf_numeric_literal): Constify first parameter.
7390	(code_for_qualifier): Avoid a gcc extension, make the parameter an
7391	int, not a char.
7392	(demangle_qualifier): Likewise.
7393	(demangle_signature): Cast the argument of a ctype function to
7394	unsigned char.
7395	(arm_pt): Add parens around assignment used as truth value.
7396	(demangle_arm_hp_template): Constify variable `args'.
7397	(do_hpacc_template_const_value): Cast the argument of a ctype
7398	function to unsigned char.
7399	(do_hpacc_template_literal): Remove unused variable `i'.
7400	(snarf_numeric_literal): Constify parameter `args'.
7401	Cast the argument of a ctype function to unsigned char.
7402
7403	* floatformat.c (floatformat_to_double): Add explicit braces to
7404	avoid ambiguous `else'.
7405
7406	* fnmatch.c (fnmatch): Change type of variables `c', `c1',
7407	`cstart' and `cend' to unsigned char.  Cast the argument of macro
7408	`FOLD', which uses ctype functions, to unsigned char.
7409
7410	* objalloc.c (free): Add prototype.
7411
7412Sun Dec 20 16:03:46 1998  Hans-Peter Nilsson  <hp@axis.se>
7413
7414	* Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
7415
7416Fri Dec 18 17:50:18 1998  David Taylor  <taylor@texas.cygnus.com>
7417
7418	* cplus-dem.c (demangle_arm_pt): remove declaration -- function
7419	doesn't exist.
7420	(do_hpacc_template_literal): remove unused variable `i'.
7421
7422Fri Dec 18 16:11:43 EST 1998  Andrew MacLeod  <amacleod@cygnus.com>
7423
7424	* cplus-dem.c (demangle_fund_type): Process CV and u codes before
7425	bumping the pointer we read from. Also prepend these codes,
7426	as we do in other places.
7427
74281998-12-18  Nick Clifton  <nickc@cygnus.com>
7429
7430	* cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
7431	'const char *' in order to match its usage when calling siblings.
7432	(snarf_numeric_literal): Make first arg 'const char **' in order
7433	to match usage.
7434
7435Mon Dec 14 09:55:50 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7436
7437	* choose-temp.c: Don't check IN_GCC anymore.
7438
7439	* floatformat.c (floatformat_from_double): Use `const', not `CONST'.
7440	* memchr.c (memchr): Likewise.
7441	* memcpy.c (memcpy): Likewise.
7442	* memmove.c (memmove): Likewise.
7443
7444	* mkstemp.c: Don't check IN_GCC anymore.
7445	* pexecute.c: Likewise.
7446	* splay-tree.c: Likewise.
7447
7448	* strchr.c (strchr): Use `const', not `CONST'.
7449	* strrchr.c (strrchr): Likewise.
7450	* strtol.c (strtol): Likewise.
7451	* strtoul.c (strtoul): Likewise.
7452
7453Fri Dec  4 13:51:04 1998  David Taylor   <taylor@texas.cygnus.com>
7454			  Elena Zannoni  <ezannoni@cygnus.com>
7455			  Stan Shebs     <shebs@cygnus.com>
7456			  Edith Epstein  <eepstein@cygnus.com>
7457			  Andres MacLeod <amacleod@cygnus.com>
7458			  Satish Pai	 <pai@apollo.hp.com>
7459
7460	* HP aCC demangling support.
7461	* cplus-dem.c
7462	(main): Remove default to HP style demangling, set to EDG
7463	demangling correctly when -edg specified; set the demangling style
7464	when user specifies 'edg'. Set strip_underscore to
7465	prepends_underscore, if not HPUXHPPA.  Set
7466	current_demangling_style to hp_demangling if HPUXHPPA.  Set
7467	current demangling style correctly if the switch is hp.  Read
7468	label correctly also in the HP style case.
7469	(work_stuff): add temp_start field; add field for volatile member
7470	function.
7471	(arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
7472	style for this case is the same as ARM.
7473	(demangle_args): handle EDG_DEMANGLING style; support HP style.
7474	(demangle_arm_hp_template): new function. (It was
7475	demangle_arm_pt.); check and set value of temp_start field in
7476	multiple places. Also, when ceching for end of template args,
7477	check to see if at end of static member of template class.
7478	(demangle_class): new local variable : save_class_name_end Don't
7479	include template args in string defining class.
7480	(demangle_class_name): use demangel_arm_hp_template.
7481	(demangle_function_name): handle case where demangling style is
7482	HP_DEMANGLING and currently point at an 'X' in the mangled name.
7483	Handle EDG_DEMANGLING style.  Handle constructor and destructor
7484	ops for HP style.
7485	(demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
7486	styles.  global destructor and constructor for HP style are same
7487	as for ARM style. Same for local variables.
7488	(demangle_qualified): handle EDG_DEMANGLING style.
7489	(demangle_signature): add case for volatile member function.  For
7490	cases '1' - '9' : initialize the temp_start field to -1 and handle
7491	the EDG_DEMANGLING style.  for case 'F' : handle EDG_DEMANGLING
7492	and AUTO_DEMANGLING styles.  If expecting a function and managed
7493	to demangle the funct args, then handle the LUCID_DEMANGLING,
7494	ARM_DEMANGLING, and EDG_DEMANGLING styles.  Add case for local
7495	class name after "Lnnn_ in HP style case. HP style too needs to
7496	forget types.  _nnn is OK for HP style, so don't report failure.
7497	(do_hpacc_template_const_value): new function. Handle template's
7498	value param for HP/aCC.
7499	(do_hpacc_template_literal): new function.  Handle a template's
7500	literal parameter for HP aCC.
7501	(recursively_demangle): new function
7502	(snarf_numeric_literal): new function.
7503	(usage): add 'edg' to the list of demangling styles; add hp switch
7504	to message.
7505
7506Sat Nov 28 17:25:22 1998  Christopher Faylor <cgf@cygnus.com>
7507
7508	* pexecute.c: Remove obsolete ifdefed cygwin code.
7509
7510Fri Nov 27 13:26:06 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7511
7512	* choose-temp.c: Always include libiberty.h.  Avoid redundancies.
7513	* cplus-dem.c: Likewise.  Conform to libiberty.h.
7514	* pexecute.c: Likewise.
7515	* splay-tree.c: Likewise.
7516
75171998-11-25  Mike Stump  <mrs@wrs.com>
7518
7519	* Makefile.in (splay-tree.o): Add config.h dependency.
7520
7521Mon Nov 23 16:59:49 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7522
7523	*  configure.in: Use AC_PREREQ(2.12.1).
7524
75251998-11-16  Benjamin Kosnik  <bkoz@haight.constant.com>
7526
7527	* cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
7528
7529Thu Nov 19 22:15:50 1998  Jeffrey A Law  (law@cygnus.com)
7530
7531	* mpw.c (mpw_access): Add missing parens.
7532
7533Thu Nov 19 12:59:21 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7534
7535	* configure.in: Call AC_HEADER_SYS_WAIT.
7536
7537	* pexecute.c: Include sys/wait.h when !IN_GCC.
7538
7539Thu Nov 19 14:38:20 1998  Geoffrey Noer  <noer@cygnus.com>
7540
7541	* pexecute.c: revert back to checking old Cygwin
7542	preprocessor symbol until some time has passed.
7543
7544Wed Nov 18 08:52:26 1998  Christopher Faylor <cgf@cygnus.com>
7545
7546	* pexecute.c: Reorganize WIN32 case to accomodate Cygwin
7547	since it will now support similar constructs.
7548
7549Fri Nov 13 19:18:05 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7550
7551	* configure.in: Check for calloc.
7552
7553	* calloc.c: New	file.
7554
7555	* xmalloc.c (xcalloc): New function.
7556
7557Fri Nov 13 08:51:46 EST 1998  Andrew MacLeod  <amacleod@cygnus.com>
7558
7559	*cplus-dem.c (demangle_prefix): Use the last "__"
7560	in the mangled name when looking for the signature. This allows
7561	template names to begin with "__".
7562
75631998-11-08  Mark Mitchell  <mark@markmitchell.com>
7564
7565	* cplus-dem.c (type_kind_t): Add tk_reference.
7566	(demangle_template_value_parm): Handle it.
7567	(do_type): Use it for references, instead of tk_pointer.
7568
7569	* cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
7570	not internal_cplus_demangle.
7571
7572Sat Nov  7 16:02:10 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7573
7574	* choose-temp.c: Don't include gansidecl.h.
7575	* mkstemp.c: Likewise.
7576	* pexecute.c: Likewise.
7577
7578Mon Nov  2 15:05:33 1998  Geoffrey Noer  <noer@cygnus.com>
7579
7580	* configure.in: detect cygwin* instead of cygwin32*
7581	* configure: regenerate
7582
7583Mon Nov  2 10:22:01 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7584
7585	* pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
7586	whether to include config.h.  Possibly include unistd.h in the
7587	!IN_GCC case.  Define VFORK_STRING as a printable function call
7588	for error messages (either "vfork" or "fork".)  If HAVE_VFORK_H is
7589	defined, include vfork.h.  If VMS is defined, define vfork()
7590	appropriately.  Remove vfork check on USG, we're using autoconf.
7591	(pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
7592	locally what string to use.
7593
75941998-10-26  Mark Mitchell  <mark@markmitchell.com>
7595
7596	* splay-tree.c: Tweak include directives to make sure declarations of
7597	xmalloc and free are available.
7598
75991998-10-25  Mark Mitchell  <mark@markmitchell.com>
7600
7601	* cplus-dem.c (gnu_special): Fix handling of virtual tables in
7602	anonymous namespaces.
7603
76041998-10-23  Mark Mitchell  <mark@markmitchell.com>
7605
7606	* cplus-dem.c (work_stuff): Replace const_type and volatile_type
7607	with type_quals.
7608	(TYPE_UNQUALIFIED): New macro.
7609	(TYPE_QUAL_CONST): Likewise.
7610	(TYPE_QUAL_VOLATILE): Likewise.
7611	(TYPE_QUAL_RESTRICT): Likewise.
7612	(code_for_qualifier): New function.
7613	(qualifier_string): Likewise.
7614	(demangle_qualifier): Likewise.
7615	(internal_cplus_demangle): Use them.
7616	(demangle_signature): Likewise.
7617	(demangle_template_value_parm): Likewise.
7618	(do_type): Likewise.
7619	(demangle_fund_type)): Likewise.
7620
7621Thu Oct 22 19:58:43 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7622
7623	* splay-tree.c (splay_tree_foreach_helper): Make definition static
7624	to match prototype.
7625
76261998-10-21  Mark Mitchell  <mark@markmitchell.com>
7627
7628	* splay-tree.c: New file.
7629	* Makefile.in (CFILES): Add it.
7630	(REQUIRED_OFILES): Likewise.
7631	(splay-tree.o): Add dependencies.
7632
7633Tue Oct 20 12:29:02 1998  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7634
7635	* cplus-dem.c (demangle_qualified): Fix off-by-one when checking
7636	range of 'K' index.
7637
7638Thu Oct 15 18:51:12 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7639
7640	* choose-temp.c: Prototype mkstemps() when IN_GCC.
7641
7642	* cplus-dem.c (consume_count): Cast argument of ctype macro to
7643	`unsigned char'.
7644	(cplus_demangle_opname): Cast the result of `strlen' to (int) when
7645	comparing against one.
7646	(cplus_mangle_opname): Likewise.
7647	(demangle_integral_value): Cast argument of ctype macro to
7648	`unsigned char'.
7649	(demangle_template_value_parm): Likewise.
7650	(demangle_template): Initialize variable `bindex'.  Cast the
7651	result of `strlen' to (int) when comparing against one.  Remove
7652	unused variable `start_of_value_parm'.
7653	(demangle_class_name): Cast the result of `strlen' to (int) when
7654	comparing against one.
7655	(demangle_prefix): Cast argument of ctype macro to `unsigned char'.
7656	(gnu_special): Likewise.  Cast the result of `strlen' to (int)
7657	when comparing against one.
7658	(demangle_qualified): Cast argument of ctype macro to `unsigned char'.
7659	(get_count): Likewise.
7660	(do_type): Likewise.  Cast the result of `strlen' to (int) when
7661	comparing against one.
7662	(demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
7663	(demangle_function_name): Cast the result of `strlen' to (int)
7664	when comparing against one.
7665
7666	* mkstemp.c (mkstemps): Cast variable `len' to (int) when
7667	comparing against one.
7668
7669Tue Oct 13 23:51:51 1998  Jeffrey A Law  (law@cygnus.com)
7670
7671	* mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
7672	* configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
7673	* config.in, configure: Rebuilt.
7674
7675	* getopt.c: Check HAVE_STRINGS_H before including strings.h.
7676	* configure.in (AC_CHECK_HEADERS): Check for strings.h too.
7677	* config.in, configure: Rebuilt.
7678
7679Mon Oct 12 19:15:59 1998  Geoffrey Noer  <noer@cygnus.com>
7680
7681	* configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
7682
7683Sun Oct 11 17:36:06 1998  Michael Tiemann  <tiemann@holodeck.cygnus.com>
7684
7685	* Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
7686
7687Thu Oct  8 23:42:08 1998  Jeffrey A Law  (law@cygnus.com)
7688
7689	* Merge egcs & devo libiberty.
7690
76911998-09-08  Martin von L��wis  <loewis@informatik.hu-berlin.de>
7692
7693	* cplus-dem.c (demangle_arm_pt): Demangle anonymous namespaces.
7694
7695Mon Sep  7 23:29:01 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7696
7697	* mkstemp.c: Include config.h even when not IN_GCC.  Wrap header
7698	inclusions inside HAVE_*_H macros.  Include ansidecl.h when not
7699	IN_GCC.
7700
7701	* vasprintf.c: Include stdarg.h/varargs.h first.
7702
7703	* vprintf.c: Likewise.
7704
7705Sat Sep  5 03:24:49 1998  Jeffrey A Law  (law@cygnus.com)
7706
7707	* pexecute.c: Updates from gcc.  Copy in gcc has been removed.  This
7708	is the canonical copy.  Define ISSPACE if !IN_GCC.
7709	* alloca.c, vfprintf.c, choose-temp.c, mkstemp.c, getopt.c: Similarly.
7710	* getopt1.c, obstack.c: Similarly.
7711	* Makefile.in: Build mkstemp.o
7712
7713Tue Sep  1 23:12:47 1998  Christopher Faylor <cgf@cygnus.com>
7714
7715	* configure.in: Include asprintf in list of functions known not
7716	to be in newlib.
7717	* configure: Rebuild.
7718
7719Wed Aug 19 14:05:01 1998  Mumit Khan  <khan@xraylith.wisc.edu>
7720
7721	* cplus-dem.c (work_stuff): Add dllimported.
7722	(demangled_prefix): Mark symbols imported from PE DLL.
7723	(internal_cplus_demangled): Handle.
7724
77251998-08-17  Jason Merrill  <jason@yorick.cygnus.com>
7726
7727	* cplus-dem.c (do_type): Fix simple array handling.  If we fail,
7728	stay failed.
7729
7730Mon Aug 17 10:40:34 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7731
7732	* cplus-dem.c: Include config.h if it exists.  Also, only
7733	prototype malloc/realloc if we can't get stdlib.h.
7734
7735Sat Aug 15 16:15:01 1998  Ian Lance Taylor  <ian@cygnus.com>
7736
7737	* configure.in: Switch back to checking --with-target-subdir when
7738	deciding whether to check for newlib, undoing part of July 15
7739	change.
7740	* configure: Rebuild.
7741
7742Thu Aug 13 16:47:38 1998  Mark Mitchell  <mark@markmitchell.com>
7743
7744	* cplus-dem.c (type_kind_t): New type.
7745	(demangle_template_value_parm): Add type_kind_t parameter.  Rely
7746	on this paramter, rather than demangling the type again.
7747	(demangle_integral_value): Pass tk_integral.
7748	(demangle_template_: Pass the value returned from do_type.
7749	(do_type): Return a type_kind_t.  Pass tk_integral to
7750	demangle_template_value_parm for array bounds.
7751	(demangle_fund_type): Likewise.
7752
7753	Also incorporate from GCC version:
7754
7755	Tue Jul 21 13:28:19 1998  Jason Merrill  <jason@yorick.cygnus.com>
7756
7757	* cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
7758
7759Thu Aug 13 16:47:38 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7760
7761	* cplus-dem.c (demangle_nested_args): Make function definition
7762	static to match the prototype.
7763
7764Tue Jul 28 11:33:09 1998  Mark Mitchell  <mark@markmitchell.com>
7765
7766	* cplus-dem.c (type_kind_t): New type.
7767	(demangle_template_value_parm): Add type_kind_t parameter.  Rely
7768	on this paramter, rather than demangling the type again.
7769	(demangle_integral_value): Pass tk_integral.
7770	(demangle_template_: Pass the value returned from do_type.
7771	(do_type): Return a type_kind_t.  Pass tk_integral to
7772	demangle_template_value_parm for array bounds.
7773	(demangle_fund_type): Likewise.
7774
7775	Also incorporate from GCC version:
7776
7777	Tue Jul 21 13:28:19 1998  Jason Merrill  <jason@yorick.cygnus.com>
7778
7779	* cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
7780
7781Mon Jul 27 12:16:08 1998  Ian Lance Taylor  <ian@cygnus.com>
7782
7783	* Makefile.in (ALLOCA): New variable.
7784	($(TARGETLIB)): Add $(ALLOCA) to library.
7785	(needed-list): Add $(ALLOCA).
7786	($(ALLOCA)): Depend upon stamp-picdir.
7787
7788Sun Jul 19 08:23:17 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7789
7790	* cplus-dem.c (demangle_nested_args): Make function definition
7791	static to match the prototype.
7792
7793Wed Jul 15 00:12:58 1998  Ian Lance Taylor  <ian@cygnus.com>
7794
7795	* configure.in: Check --with-cross-host rather than
7796	--with-target-subdir when deciding whether build uses a cross
7797	compiler, and when deciding where to install the library.
7798	* configure: Rebuild.
7799
7800Sun Jul 12 01:27:05 1998  Jason Merrill  <jason@yorick.cygnus.com>
7801
7802	* cplus-dem.c (demangle_nested_args): Return a value.
7803
7804Sat Jul 11 16:19:48 1998  Mark Mitchell  <mark@markmitchell.com>
7805
7806	* cplus-dem.c (string): Move definition before work_stuff.
7807	(work_stuff): Add volatile_type, forgetting_types,
7808	previous_argument, and nrepeats fields.
7809	(SCOPE_STRING): New macro.
7810	(demangle_template): Add `remember' parameter.  Add comment.
7811	Register the `B' code type here, if remembering.  Tidy.  Fix crash
7812	on NULL tmpl_argvec.  Be consistent with use of tname/trawname.
7813	(demangle_nested_args): New function.
7814	(internal_cplus_demangle): Handle volatile-qualified member
7815	functions.
7816	(mop_up): Delete the previous_argument string if present.
7817	(demangle_signature): Tidy.  Handle volatile-qualified member
7818	functions.  Handle back-references using the `B' code.  Use extra
7819	parameter to demangle_template and SCOPE_STRING where appropriate.
7820	(demangle_template_value_parm): Fix thinko; 'B' is not an integral
7821	code.
7822	(demangle_class): Use SCOPE_STRING.
7823	(gnu_special): Pass additional argument to demangle_template.
7824	Use SCOPE_STRING.
7825	(demangle_qualified): Save qualified types for later
7826	back-references.  Handle constructors and destructors for template
7827	types correctly.
7828	(do_type): Tidy.  Use SCOPE_STRING.  Pass extra argument to
7829	demangle_template.  Use demangled_nested_args.  Don't remember
7830	qualified types here; that's now done in demangle_qualified.
7831	Similarly for templates.
7832	(do_arg): Improve commment.  Handle 'n' repeat code.
7833	(remember_type): Check forgetting_types.
7834	(demangle_args): Deal with 'n' repeat codes.  Tidy.
7835
7836Thu Jul  2 16:26:24 1998  Ian Lance Taylor  <ian@cygnus.com>
7837
7838	* config.table: Only use mh-fbsd21 on *-*-freebsd2.2.[012], not on
7839	*-*-freebsd2.2.*.  From Dmitrij Tejblum <tejblum@arc.hq.cti.ru>.
7840
7841Mon Jun 15 16:29:01 1998  Ian Lance Taylor  <ian@cygnus.com>
7842
7843	* configure.in (setobjs): Correct quoting error in cygwin32 case.
7844	From Chris Faylor <cgf@cygnus.com>.
7845
7846Mon Jun  1 13:47:55 1998  Jason Molenda  (crash@bugshack.cygnus.com)
7847
7848	* obstack.c: Update to latest FSF version.
7849
7850Mon Jun  1 14:17:36 1998  Mike Stump  <mrs@wrs.com>
7851
7852	* Makefile.in: Add a dependency on stamp-picdir for the
7853	objects, so that we can do a parallel build.
7854
7855Sat May 30 22:17:13 1998  Mumit Khan  <khan@xraylith.wisc.edu>
7856
7857	* configure.in (checkfuncs): Add missing "'".
7858
7859Fri May 29 12:40:41 1998  Jason Molenda  (crash@bugshack.cygnus.com)
7860
7861	* obstack.c (_obstack_memory_used):  Elide this function if we're
7862	on a system with GNU libc.
7863
7864Tue May 26 18:28:43 1998  Ian Lance Taylor  <ian@cygnus.com>
7865
7866	* Makefile.in (distclean): Remove config.log.
7867
7868Tue May 26 15:01:52 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7869
7870	* Makefile.in (distclean): Don't remove alloca-conf.h.
7871
7872Fri May 22 01:38:07 1998  Hans-Peter Nilsson  <hp@axis.se>
7873
7874	* cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.
7875
78761998-05-21  Mark Mitchell  <mmitchell@usa.net>
7877
7878	* cplus-dem.c (do_type): Handle volatile qualification.
7879
78801998-05-21  Manfred Hollstein  <manfred@s-direktnet.de>
7881
7882	* configure.in: Check for unistd.h as well.
7883	* configure: Rebuild.
7884	* config.in: Rebuild.
7885	* getpagesize.c (GNU_OUR_PAGESIZE): Use sysconf only if _SC_PAGESIZE
7886	is defined in unistd.h. Reformat conditional block for easier reading.
7887
7888	* config.table (shared): Default to no if ${enable_shared}
7889	is unset or empty; this logic is used by the toplevel
7890	configure scripts, too.
7891
7892Sat May 16 14:01:26 1998  Jeffrey A Law  (law@cygnus.com)
7893
7894	* config.table: Add line to set enable_shared in the Makefile
7895	as needed.
7896
7897Wed May 13 14:24:38 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7898
7899	* cplus-dem.c (squangle_mop_up): Change return type to void.
7900	(internal_cplus_demangle): Remove unused parameter `options'.
7901	All callers changed.
7902	(cplus_demangle_opname): Remove function wide variable `int i' and
7903	replace with `size_t i' at each location where it is used.
7904	(cplus_mangle_opname): change type of `i' from int to size_t.
7905
7906Wed May 13 13:39:38 1998  Ian Lance Taylor  <ian@cygnus.com>
7907
7908	* alloca-conf.h: Include config.h.  Check HAVE_ALLOCA_H rather
7909	than sparc or sun.
7910	* Makefile.in (argv.o): Depend upon config.h and alloca-conf.h.
7911
7912Fri May  8 00:23:51 1998  Ian Lance Taylor  <ian@cygnus.com>
7913
7914	* configure.in: Set libiberty_topdir correctly when srcdir is
7915	"." and with_target_subdir is not set.
7916	* configure: Rebuild.
7917
7918Thu May  7 13:01:44 1998  Ian Lance Taylor  <ian@cygnus.com>
7919
7920	* configure.in: Add *-*-mingw32* case.
7921	* configure: Rebuild.
7922
7923Wed May  6 11:33:51 1998  Ian Lance Taylor  <ian@cygnus.com>
7924
7925	* config.table: Never use a PIC file for *-*-cygwin32*.
7926
7927	* Makefile.in (config.status): Depend upon config.table.
7928
7929	* configure.in: On a cygwin32 host, always compile random, and
7930	don't test for sys_siglist, strsignal, or psignal.
7931	* configure: Rebuild.
7932
7933	* clock.c: Check HAVE_SYS_PARAM_H rather than NO_SYS_PARAM_H.
7934	* getcwd.c: Likewise.
7935	* getpagesize.c: Likewise.
7936	* getruntime.c: Likewise.
7937
7938Tue May  5 18:08:32 1998  Ian Lance Taylor  <ian@cygnus.com>
7939
7940	Use autoconf tests rather than the old dummy.c test:
7941	* configure.in: Add AC_ARG_WITH calls for --with-target-subdir and
7942	--with-newlib.  Add AC_CONFIG_HEADER.  Use AC_REPLACE_FUNCS for
7943	most functions.  Add special cases to handle newlib and VxWorks.
7944	Remove target_makefile_frag.  Create stamp-h in AC_OUTPUT if
7945	CONFIG_HEADERS is set.  Only call config-ml.in in AC_OUTPUT if
7946	CONFIG_FILES is set; set ac_file before calling it.
7947	* config.table (arm-*-riscix*, *-*-cygwin32): Remove.
7948	(*-*-hpux*, *-*-hiux*, *-*-irix4*, *-*-solaris2*): Remove.
7949	(*-*-sysv4*, *-*-go32, *-*-vxworks5*, *-*-vxworks): Remove
7950	(i[3456]-*-mingw32*): Remove.
7951	* Makefile.in (ERRORS_CC, CONFIG_H, NEEDED_LIST): Remove.
7952	(LIBOBJS): New variable.
7953	(HOST_OFILES, DO_ALSO, STAGESTUFF): Remove.
7954	(all): Depend upon needed-list.  Don't check RULE1.
7955	(@target_makefile_frag@): Remove.
7956	(COMPILE.c): Include @DEFS@.
7957	(HFILES): Add alloca-conf.h.
7958	(REQUIRED_OFILES): Remove basename.o.
7959	($(TARGETLIB)): New target.
7960	(stamp-needed, lneeded-list, needed.awk, stamp-config): Remove.
7961	(lconfig.h, needed2.awk, dummy.o, errors): Remove.
7962	(needed-list, config.h): Rewrite.
7963	(RULE1, $(RULE1), RULE2, $(RULE2)): Remove.
7964	(.always.): Remove.
7965	(Makefile): Set CONFIG_FILES and CONFIG_HEADERS.
7966	(stamp-h): New target.
7967	(atexit.o, clock.o, getcwd.o, getpagesize.o): New targets.
7968	(basename.o): Don't depend upon config.h.
7969	(getruntime.o): Depend upon config.h.
7970	* atexit.c: Include config.h.  Check HAVE_ON_EXIT rather than
7971	NEED_on_exit.
7972	* basename.c: Don't include config.h.  Don't check NEED_basename.
7973	* clock.c: Include config.h.
7974	* getcwd.c: Likewise.
7975	* getpagesize.c: Likewise.
7976	* getruntime.c: Likewise.  Fix checks which set HAVE_GETRUSAGE and
7977	HAVE_TIMES.
7978	* strerror.c: Change uses of NEED_sys_errlist to
7979	HAVE_SYS_ERRLIST.  Likewise for NEED_strerror and HAVE_STRERROR.
7980	* strsignal.c: Likewise for NEED_sys_siglist and HAVE_SYS_SIGLIST,
7981	and for NEED_strsignal and HAVE_STRSIGNAL and for NEED_psignal and
7982	HAVE_PSIGNAL.
7983	* acconfig.h: New file.
7984	* dummy.c: Remove.
7985	* functions.def: Remove.
7986	* config/mh-cxux7 (HDEFINES): Remove -DHAVE_SYSCONF.
7987	* config/mh-windows (HDEFINES): Remove.
7988	* config/mh-cygwin32: Remove.
7989	* config/mh-go32: Remove.
7990	* config/mh-irix4: Remove.
7991	* config/mh-riscix: Remove.
7992	* config/mh-sysv4: Remove.
7993	* config/mt-mingw32: Remove.
7994	* config/mt-vxworks5: Remove.
7995	* config.in: New file, generated using autoheader.
7996	* configure: Rebuild.
7997
7998Mon May  4 13:00:28 1998  Ian Lance Taylor  <ian@cygnus.com>
7999
8000	* configure.in: Rewrite to use autoconf.
8001	* configure: Generate using autoconf.
8002	* config/mh-a68bsd: Remove.
8003	* config/mh-apollo68: Remove.
8004	* config/mh-hpbsd: Remove.
8005	* config/mh-ncr3000: Remove.
8006	* config/mh-sysv: Remove.
8007	* config/mh-aix (RANLIB, INSTALL): Don't define.
8008	* config/mh-cxux7 (RANLIB, INSTALL): Don't define.
8009	* config/mh-irix4 (CC, RANLIB, INSTALL): Don't define.
8010	* config/mh-sysv4 (RANLIB, INSTALL): Don't define.
8011	* config.table: Change config_shell to CONFIG_SHELL, and use
8012	libiberty_topdir to find move-if-change.
8013	(m68k-apollo-bsd*, m68k-apollo-sysv*): Remove.
8014	(i[3456]86-ncr-sysv4*, *-*-dgux*, hppa*-hp-bsd*): Remove.
8015	(*-*-irix*, *-*-m88kbcs*, *-*-sysv*): Remove.
8016	* Makefile.in (srcdir): Set to @srcdir@.
8017	(VPATH): Likewise.
8018	(prefix, exec_prefix, bindir, libdir): Set to autoconf variables.
8019	(SHELL, INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Likewise.
8020	(CC, CFLAGS, RANLIB)): Likewise.
8021	(datadir, man*dir, infodir, includedir, MAKEINFO): Remove.
8022	(target_makefile_frag, host_makefile_frag): Add substitutions.
8023	(INSTALL_DEST): Set to @INSTALL_DEST@.
8024	(Makefile): Depend upon config.status.  Don't depend upon
8025	$(host_makefile_frag) or $(target_makefile_frag).
8026	(config.status): New target.
8027
8028Sun May  3 17:58:49 1998  Ian Lance Taylor  <ian@cygnus.com>
8029
8030	* config/mt-sunos4: Remove.  Should be handled by --with-headers
8031	and --with-libraries options at top level.
8032	* config.table: Never use mt-sunos4.
8033
8034	* alloca-conf.h: New file, combining alloca-norm.h and
8035	alloca-botch.h.
8036	* alloca-norm.h: Remove.
8037	* alloca-botch.h: Remove.
8038	* configure.in: Set shell variables files and links to empty.
8039	* config.table: Don't set shell variable files.
8040	* configure.bat: Don't create alloca-conf.h.
8041	* makefile.vms: Likewise.
8042	* mpw-config.in: Likewise.
8043	* vmsbuild.com: Likewise.
8044
8045Fri May  1 11:41:42 1998  Ian Lance Taylor  <ian@cygnus.com>
8046
8047	* Makefile.in ($(HOST_OFILES) $(REQUIRED_OFILES)): Remove old
8048	target depending upon config.h.
8049	(alloca.o): Add target depending upon config.h
8050	(basename.o, choose-temp.o, fnmatch.o): Likewise.
8051	(getopt.o, getopt1.o, pexecute.o, strerror.o): Likewise.
8052	(strsignal.o, xstrerror.o): Likewise.
8053
8054Fri May  1 04:26:25 1998  Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
8055
8056	* cplus-dem.c (cplus_demangle_opname):  Initialize work.
8057
8058Mon Apr 27 15:53:30 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
8059
8060	* cplus-dem.c (demangle_qualified): Replace missing else.
8061
8062Sun Apr 26 15:38:50 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8063
8064	* cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
8065	length in the name of a virtual table.
8066
8067Wed Apr 22 10:53:49 EDT 1998 Andrew MacLeod  <amacleod@cygnus.com>
8068
8069	* cplus-dem.c (struct work stuff): Add field for B and K mangle codes.
8070	(cplus_demangle_opname): Call mop_up_squangle.
8071	(cplus_demangle): Initialize squangle info, then call
8072	internal_cplus_demangle. (Most code moved there as well)
8073	(internal_cplus_demangle): New function, performs most of what use
8074	to be done in cplus_demangle, but is only called with this file.
8075	(squangle_mop_up): New function to clean up B and K code data.
8076	(mop_up): set pointers to NULL after freeing.
8077	(demangle_signature, demangle_template, demangle_class): Add
8078	switch elements to handle K and B codes.
8079	(demangle_prefix, gnu_special, demangle_qualified): Add
8080	code to handle K and B codes.
8081	(do_type, demangle_fund_type): Handle B and K codes.
8082	(remember_Ktype): New function to store K info.
8083	(register_Btype, remember_Btype): New functions for B codes.
8084	(forget_B_and_K_types): New function to destroy B and K info.
8085
8086Fri Apr 10 01:49:10 1998  Jeffrey A Law  (law@cygnus.com)
8087
8088	* COPYING.LIB, choose-temp.c, cplus-dem.c: Sync with egcs & gcc.
8089
8090Thu Mar  5 09:23:28 1998  Manfred Hollstein  <manfred@s-direktnet.de>
8091
8092	* config.table: Make locating frag files failsafe even for the
8093	special case if configuring and building in srcdir.
8094
8095Mon Feb 23 14:33:15 1998  Ian Lance Taylor  <ian@cygnus.com>
8096
8097	* choose-temp.c: Fix handling of sys/file.h to work in libiberty.
8098
8099Sun Feb 22 18:03:23 1998  Jeffrey A Law  (law@cygnus.com)
8100
8101	* choose-temp.c: Sync with copy in gcc.
8102
8103Thu Feb 12 16:29:49 1998  Ian Lance Taylor  <ian@cygnus.com>
8104
8105	* getopt.c: Update to latest FSF version.
8106	* getopt1.c: Likewise.
8107
8108Tue Feb 10 16:58:33 1998  Stan Shebs  <shebs@andros.cygnus.com>
8109
8110	* cplus-dem.c (gnu_special): Don't get confused by .<digits>
8111	strings that are not actually lengths.
8112
8113Fri Feb  6 01:35:17 1998  Manfred Hollstein  <manfred@s-direktnet.de>
8114
8115	* Makefile.in (FLAGS_TO_PASS): Don't pass PICFLAG.
8116	(.c.o): Check value of enable_shared, not PICFLAG.
8117	(stamp-picdir): Dito.
8118
8119Thu Feb  5 18:48:56 1998  Geoffrey Noer  <noer@cygnus.com>
8120
8121	* config/mh-cygwin32: remove vasprintf.o from EXTRA_OFILES
8122	since it gets built automatically
8123
8124Sun Feb  1 02:52:32 1998  Mike Stump  <mrs@wrs.com>
8125
8126	* config.table (vxworks configs): Default to VxWorks 5.x, as that is
8127	the currently shipping OS.
8128
8129Tue Jan 27 16:08:20 1998  Pat Rankin  <rankin@eql.caltech.edu>
8130
8131	* vmsbuild.com [REQUIRE_OFILES]: Synchronized with Makefile.in:
8132	Add fnmatch.o and objalloc.o; remove vasprintf.o.
8133	[config.h]: Define NEED_strsignal.
8134
8135Mon Jan 19 12:20:01 1998  Ian Lance Taylor  <ian@cygnus.com>
8136
8137	* functions.def: Correct argument types for strerror and
8138	strsignal.  Reported by Alex Gutman <agutman@emc.com>.
8139
8140Sun Jan 18 15:57:28 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>
8141
8142	* vasprintf.c (int_vasprintf): Increase buffer size for float/double
8143	values.
8144
8145Sat Jan 17 22:28:38 1998  Mumit Khan  <khan@xraylith.wisc.edu>
8146			  J.J. VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
8147
8148	Add mingw32 support.
8149	* pexecute.c (pexecute): New function for mingw32. Supports pipes.
8150	(pwait): New function for mingw32.
8151
8152	* config.table (i[3456]86-*-mingw32*): Support for i386-mingw32.
8153	* config/mt-mingw32: New file.
8154	* xmalloc.c (first_break): Not used for mingw32.
8155	(xmalloc_set_program_name): Don't use sbrk on mingw32.
8156	(xmalloc): Likewise.
8157	(xrealloc): Likewise.
8158
8159Sat Jan 17 22:28:05 1998  Jeffrey A Law  (law@cygnus.com)
8160
8161	* choose-temp.c: Sync with gcc version.
8162
8163Tue Jan 13 18:34:39 1998  Jim Wilson  <wilson@cygnus.com>
8164
8165	* Makefile.in (install_to_libdir, install_to_tooldir): Add MULTISUBDIR
8166	to all filenames in libdir and tooldir.
8167	(distclean): Do MULTICLEAN before deleting Makefile.
8168	(stamp-needed, stamp-config): Add MULTISRCTOP to
8169	pathname for move-if-change.
8170
8171Thu Dec  4 17:25:19 1997  Jeffrey A Law  (law@cygnus.com)
8172
8173	* strsignal.c (sys_nsig): Try NSIG and _NSIG.
8174
8175Wed Nov 19 13:37:06 1997  Michael Meissner  <meissner@cygnus.com>
8176
8177	* alloca-norm.h (alloca, GCC case): Don't redefine alloca if it
8178	was already defined previously.
8179
8180Mon Nov 10 12:48:03 1997  Philippe De Muyter  <phdm@macqel.be>
8181
8182	* Makefile.in (INSTALL): Use ../install-sh, not install.
8183
8184Tue Oct 28 23:41:15 1997  Judy Goldberg  <jodyg@idt.net>
8185
8186	* Makefile.in (CFILES): Add pexecute.c.
8187
8188Wed Oct 15 19:13:48 1997  Ian Lance Taylor  <ian@cygnus.com>
8189
8190	* asprintf.c: Consistently use either stdarg or varargs.
8191
8192Tue Oct 14 12:01:00 1997  Mark Mitchell  <mmitchell@usa.net>
8193
8194	* cplus-dem.c (demangle_signature): Don't look for return types on
8195	constructors.  Handle member template constructors.
8196
8197Fri Oct  3 17:53:30 1997  Ian Lance Taylor  <ian@cygnus.com>
8198
8199	* README: Fix configuration instructions.
8200
8201Mon Sep 29 12:28:41 1997  Ian Lance Taylor  <ian@cygnus.com>
8202
8203	* pexecute.c: Update to current version from /gd/gnu/lib:
8204
8205	Mon Sep 29 12:27:59 1997  Ian Lance Taylor  <ian@cygnus.com>
8206
8207	* pexecute.c: Use spawn if __CYGWIN32__.
8208
8209	1997-08-08  Paul Eggert  <eggert@twinsun.com>
8210
8211	* pexecute.c: Include "config.h" first, as per autoconf manual.
8212
8213	Fri Jun 27 15:20:29 1997  Scott Christley <scottc@net-community.com>
8214
8215	* pexecute.c (fix_argv): New function.
8216	(pexecute): Win32 but not Cygwin32 needs its arguments fixed.
8217	Add underscore to cwait function call.
8218
8219Sun Sep 28 12:00:52 1997  Mark Mitchell  <mmitchell@usa.net>
8220
8221	* cplus-dem.c (demangle_template): Add new parameter.  Handle new
8222	template-function mangling.
8223	(consume_count_with_underscores): New function.
8224	(demangle_signature): Handle new name-mangling scheme.
8225
8226Wed Sep 24 00:31:59 1997  Felix Lee  <flee@yin.cygnus.com>
8227
8228	* asprintf.c: stdarg.h when ALMOST_STDC
8229	* config/mh-windows (EXTRA_OFILES): add asprintf.o and
8230	strncasecmp.o.
8231
8232Thu Aug 28 14:27:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
8233
8234	* vasprintf.c (vasprintf): Allow for _BSD_VA_LIST_.
8235
8236	* config.table: Add case for FreeBSD 2.1 and 2.2, needs mh-fbsd21.
8237
8238	* config/mh-fbsd21 (EXTRA_OFILES): Force vasprintf.o
8239
8240Wed Sep 10 12:43:10 1997  Jason Merrill  <jason@yorick.cygnus.com>
8241
8242	* cplus-dem.c (demangle_fund_type): Change "complex" to "__complex".
8243
8244Fri Sep  5 16:34:42 1997  Andrew Cagney  <cagney@b1.cygnus.com>
8245
8246	* asprintf.c (asprintf): New file.
8247	* Makefile.in (CFILES): Add asprintf.c
8248	* functions.def: Ditto.
8249
8250Thu Aug 28 18:53:34 1997  Andrew Cagney  <cagney@b1.cygnus.com>
8251
8252	* argv.c (dupargv): New function, duplicate an argument vector.
8253
8254Tue Aug 19 20:28:45 1997  Geoffrey Noer  <noer@cygnus.com>
8255
8256	* config/mh-cygwin32: also build random.o
8257
8258Tue Aug 19 17:10:56 1997  Jason Merrill  <jason@yorick.cygnus.com>
8259
8260	* cplus-dem.c: Add 'extern' to prepends_underscore.
8261
8262Wed Jul 30 11:42:19 1997  Per Bothner  <bothner@cygnus.com>
8263
8264	* cplus-dem.c: Various changes to produce Java output when passed
8265	DMGL_JAVA.  Thus "::" becomes "." and "JArray<Foo>" becomes "Foo[]".
8266	(main): Support --java and -j flags to set DMGL_JAVA.
8267
8268Tue Jul 22 19:05:23 1997  Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
8269
8270	* config/mh-go32 (CC, AR, RANLIB): Don't define.
8271
8272Tue Jul 22 17:49:54 1997  Ian Lance Taylor  <ian@cygnus.com>
8273
8274	* Makefile.in (REQUIRED_OFILES): Add pexecute.o.
8275	(pexecute.o): New target.
8276
8277	* Makefile.in (stamp-needed): New target, replacing needed-list.
8278	(needed-list): Just depend upon stamp-needed.
8279	(stamp-config): New target, replacing config.h.
8280	(config.h): Just depend upon stamp-config.
8281	(mostlyclean): Remove stamp-*.
8282
8283Thu Jun 12 11:00:18 1997  Angela Marie Thomas (angela@cygnus.com)
8284
8285	* Makefile.in (FLAGS_TO_PASS): pass INSTALL, INSTALL_PROGRAM and
8286	INSTALL_DATA for multilibbed installs
8287
8288Tue Jun  3 13:21:05 1997  Doug Evans  <dje@canuck.cygnus.com>
8289
8290	Tue Dec 10 09:44:57 1996  Paul Eggert  <eggert@twinsun.com>
8291
8292	* choose-temp.c (choose_temp_base): Don't dump core if TMPDIR is empty.
8293
8294	* choose-temp.c (try): Insist that temp dir be searchable.
8295
8296	Wed Oct 23 17:36:39 1996  Doug Rupp  (rupp@gnat.com)
8297
8298	* choose-temp.c (choose_temp_base): On VMS, use proper syntax
8299	for current directory.
8300
8301	Sat Feb 15 19:03:48 1997  Geoffrey Noer  (noer@cygnus.com)
8302
8303	* pexecute.c: Remove special cases for cygwin32.
8304	(pwait): Remove local definition of `pid'.
8305
8306	Tue Nov 12 18:26:15 1996  Doug Rupp  (rupp@gnat.com)
8307
8308	* pexecute.c (vfork): Supply new definition for VMS.
8309	(pwait): Use waitpid instead of wait for VMS.
8310
8311Tue May 20 14:02:20 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
8312
8313	* cplus-dem.c (do_type): Handle `J'.
8314	(demangle_fund_type): Print "complex" for it.
8315
8316Wed Apr 30 12:15:45 1997  Jason Merrill  <jason@yorick.cygnus.com>
8317
8318	* configure.in: Don't turn on multilib here.
8319
8320Mon Apr 28 19:04:31 1997  Michael Snyder  <msnyder@cleaver.cygnus.com>
8321
8322	* obstack.c: move _obstack_memory_used outside of ifdef.  Cannot be
8323	elided; needed by gdb and not present in libc.
8324
8325Thu Apr 24 19:33:47 1997  Ian Lance Taylor  <ian@cygnus.com>
8326
8327	* Makefile.in (clean): Remove tmpmulti.out.
8328
8329Tue Apr 22 10:25:15 1997  Fred Fish  <fnf@cygnus.com>
8330
8331	* floatformat.c (floatformat_ieee_double_littlebyte_bigword):
8332	Add new floatformat, mainly for ARM doubles.
8333
8334Mon Apr 14 12:11:16 1997  Ian Lance Taylor  <ian@cygnus.com>
8335
8336	* config.table: Use ${config_shell} with ${moveifchange}.  From
8337	Thomas Graichen <graichen@rzpd.de>.
8338
8339Fri Apr  4 03:09:24 1997  Ulrich Drepper  <drepper@cygnus.com>
8340
8341	* configure.in: Enable multilibing by default.
8342	Update multilib template to read config-ml.in.
8343
8344Tue Apr  1 16:26:39 1997  Klaus Kaempf  <kkaempf@progis.de>
8345
8346	* makefile.vms: Add objalloc.
8347
8348Mon Mar 31 23:57:51 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
8349
8350	* cplus-dem.c (demangle_it): Add prototype declaration.
8351	(usage, fatal): Likewise.
8352
8353	* xexit.c (_xexit_cleanup): Add prototype.
8354
8355	* strerror.c (init_error_tables): Declare.
8356
8357Fri Mar 28 11:43:20 1997  H.J. Lu  <hjl@lucon.org>
8358
8359	* functions.def: Add DEF of vasprintf, and DEFFUNC of strsignal.
8360	* strsignal.c: Only define strsignal if NEED_strsignal.
8361	* Makefile.in (REQUIRED_OFILES): Remove vasprintf.o.
8362	* configure.in: Add NEED_strsignal to xconfig.h.  Add vasprintf.o
8363	to xneeded-list.
8364	* config/mh-cygwin32 (HDEFINES): Add -DNEED_strsignal.
8365	(EXTRA_OFILES): Define to vasprintf.o.
8366	* config/mh-windows (HDEFINES): Add -DNEED_strsignal.
8367	(EXTRA_OFILES): Add vasprintf.o.
8368	* config/mt-vxworks5 (vxconfig.h): Define NEED_strsignal.
8369	(vxneeded-list): Add vasprintf.o.
8370
8371Thu Mar 20 17:02:09 1997  Ian Lance Taylor  <ian@cygnus.com>
8372
8373	* objalloc.c: Include <stdio.h>.
8374
8375Mon Mar 17 19:23:11 1997  Ian Lance Taylor  <ian@cygnus.com>
8376
8377	* objalloc.c: New file.
8378	* Makefile.in (CFILES): Add objalloc.c
8379	(REQUIRED_OFILES): Add objalloc.o.
8380	(objalloc.o): New target.
8381
8382Sat Mar 15 18:49:41 1997  Ian Lance Taylor  <ian@cygnus.com>
8383
8384	* obstack.c: Update to current FSF version.
8385
8386Fri Mar 14 14:18:47 1997  Ian Lance Taylor  <ian@cygnus.com>
8387
8388	* cplus-dem.c: Add prototypes for all static functions.
8389	(mystrstr): Make static.  Make arguments and result const.
8390	(cplus_match): Remove; not used.
8391
8392Tue Mar 11 14:20:31 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
8393
8394	* cplus-dem.c (gnu_special): Call demangled_fund_type for other
8395	__t* symbols.
8396
8397Tue Mar 11 15:41:21 1997  H.J. Lu  <hjl@lucon.org>
8398
8399	* spaces.c: Declare malloc and free properly.
8400	* strsignal.c (init_signal_tables): Add prototype.
8401	* xatexit.c (_xexit_cleanup): Add parameter declarations.
8402
8403Wed Feb 19 15:43:24 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
8404
8405	* Makefile.in (lneeded-list): If alloca.o is needed, xexit.o is
8406	also required because of xmalloc.o.
8407
8408Fri Feb 14 13:43:38 1997  Ian Lance Taylor  <ian@cygnus.com>
8409
8410	* strsignal.c: Unconditionally redefine sys_siglist around the
8411	inclusion of the system header files.
8412
8413Thu Feb 13 22:01:04 1997  Klaus Kaempf  <kkaempf@progis.de>
8414
8415	* makefile.vms: Remove 8 bit characters.  Update to latest
8416	gcc release.
8417
8418Tue Feb  4 11:52:19 1997  Ian Lance Taylor  <ian@cygnus.com>
8419
8420	* strsignal.c: Use NEED_sys_siglist instead of
8421	LOSING_SYS_SIGLIST.
8422	* config.table: Don't use mh-lynxos.
8423	* config/mh-lynxos: Remove.
8424
8425Thu Jan 16 14:51:03 1997  Bob Manson  <manson@charmed.cygnus.com>
8426
8427	* cplus-dem.c: Fix indenting; make identical to the copy
8428	in GCC.
8429	(do_type, case 'M'): Check for a template as well as a class.
8430
8431Thu Dec 19 13:51:33 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>
8432
8433	* config/mt-vxworks5 (vxneeded-list): Remove sigsetmask.o, since
8434	vxworks 5.[0-3] all have sigsetmask in them; the one provided by
8435	libiberty is incorrect, as well.
8436
8437Mon Dec  2 15:03:42 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
8438
8439	* alloca.c (alloca): When compiled with an ANSI/ISO compiler,
8440	alloca takes a size_t argument, not just unsigned.
8441
8442Mon Nov 18 15:42:08 1996  Jason Merrill  <jason@yorick.cygnus.com>
8443
8444	* cplus-dem.c: Note that this file also lives in GCC.
8445
8446Mon Nov 18 15:19:00 1996  Dawn Perchik  <dawn@critters.cygnus.com>
8447
8448	* alloca.c: Remove include of libiberty.h for hpux.
8449	* argv.c:  Replace defs from libiberty.h.
8450	* spaces.c: Put back externs from removed from libiberty.h.
8451	* vasprintf.c: Remove include of libiberty.h for hpux.
8452
8453Mon Nov 18 14:08:00 1996  Dawn Perchik  <dawn@critters.cygnus.com>
8454
8455	* cplus-dem.c: Checking in again; last checkin filed due to sticky tag.
8456
8457Wed Nov 13 08:22:00 1996  Dawn Perchik  <dawn@critters.cygnus.com>
8458
8459	* cplus-dem.c: Revert last two commits due to conflicts with
8460	hpux system headers.
8461
8462Wed Nov 13 08:22:00 1996  Dawn Perchik  <dawn@critters.cygnus.com>
8463
8464	* alloca.c, argv.c, spaces.c, strcasecmp.c, vasprintf.c, vprintf.c:
8465	Revert last commit due to conflicts with hpux system headers.
8466
8467Wed Nov 13 10:36:50 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
8468
8469	* cplus-dem.c (x{m,re}alloc): Make declarations compatibile with
8470	libiberty.h when compiled with a standard compiler.
8471
8472Tue Nov 12 16:31:00 1996  Dawn Perchik  <dawn@critters.cygnus.com>
8473
8474	* alloca.c: Include libiberty.h for definition of xmalloc.
8475	Don't redefine NULL.
8476	* argv.c: Move prototypes to libiberty.h.
8477	* cplus-dem.c: Include libiberty.h for definition of xmalloc.
8478	Don't redefine NULL.
8479	Use casts to eliminate compiler warnings.
8480	* spaces.c: Remove prototypes for malloc and free which are
8481	already in libibrty.h.
8482	* strcasecmp.c: Use casts to eliminate compiler warnings.
8483	* vasprintf.c: Include libiberty.h for definition of malloc.
8484	Don't redefine NULL.
8485	* vprintf.c: Include stdarg.h if __STDC__.
8486
8487Fri Oct 11 15:42:12 1996  Stu Grossman  (grossman@critters.cygnus.com)
8488
8489	* config/mh-windows:  Add strcasecmp.o to EXTRA_OFILES.
8490
8491Fri Oct 11 11:16:31 1996  Stan Shebs  <shebs@andros.cygnus.com>
8492
8493	* mpw.c (mpwify_filename): Rewrite to simplify, and to handle
8494	upward components correctly.
8495
8496Tue Oct  8 08:55:34 1996  Stu Grossman  (grossman@critters.cygnus.com)
8497
8498	* config.table, config/mh-windows:  Add support for building under
8499	MSVC (the Microsoft build environment).
8500
8501Mon Oct  7 10:50:27 1996  Ian Lance Taylor  <ian@cygnus.com>
8502
8503	* fnmatch.c: Undef const if not __STDC__.
8504
8505Thu Oct  3 13:46:39 1996  Ian Lance Taylor  <ian@cygnus.com>
8506
8507	* fnmatch.c: New file.
8508	* Makefile.in (CFILES): Add fnmatch.c.
8509	(REQUIRED_OFILES): Add fnmatch.o.
8510	(fnmatch.o): New target.
8511
8512Wed Sep 18 14:49:13 1996  Jason Merrill  <jason@yorick.cygnus.com>
8513
8514	* cplus-dem.c (demangle_template): Fix handling of address args.
8515	(gnu_special): Handle type_info stuff.
8516
8517Fri Sep 13 17:52:55 1996  Stan Shebs  <shebs@andros.cygnus.com>
8518
8519	* mpw.c (DebugPI): Make settable from the env var DEBUG_PATHNAMES.
8520	(mpwify_filename): Handle "::/" case.
8521
8522Thu Sep 12 13:30:40 1996  Geoffrey Noer  <noer@cygnus.com>
8523
8524	* config/mh-cygwin32: new file (need -DNEED_basename and
8525		-DNEED_sys_siglist for native NT rebuilding)
8526	* config.table (*-*-cygwin32): new entry
8527	* choose-temp.c: bring in sync with gcc (revert Aug 17 change)
8528
8529Thu Aug 29 16:48:45 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
8530
8531	* config.table (i[345]86-*-*): Recognize i686 for pentium pro.
8532
8533Tue Aug 27 13:47:58 1996  Stan Shebs  <shebs@andros.cygnus.com>
8534
8535	* pexecute.c (pexecute) [MPW]: Remove old bogus code that
8536	messed with arguments that included a '/', add escape chars
8537	to double quotes, remove const decl from arg that Mac
8538	compilers don't seem to like.
8539
8540Sat Aug 17 04:44:27 1996  Geoffrey Noer  <noer@cygnus.com>
8541
8542	* pexecute.c: Update test for win32 (&& ! cygwin32).
8543	* choose-temp.c: fix WIN32 preprocessor defines
8544
8545Thu Aug 15 12:26:48 1996  Stan Shebs  <shebs@andros.cygnus.com>
8546
8547	* mpw-make.sed: Add @DASH_C_FLAG@ and @SEGMENT_FLAG({Default})@
8548	to editing of default makefile rule.
8549
8550Sun Aug 11 21:03:27 1996  Stu Grossman  (grossman@critters.cygnus.com)
8551
8552	* alloca-norm.h:  Include <malloc.h> if _WIN32.
8553	* argv.c:  Include non-prototyped decls for malloc and string
8554	functions if ! _WIN32 or if __GNUC__.
8555
8556Thu Aug  8 12:42:40 1996  Klaus Kaempf  <kkaempf@progis.de>
8557
8558	* config.h-vms: New file.
8559	* makefile.vms: Use it.
8560
8561Wed Aug  7 17:16:12 1996  Stu Grossman  (grossman@critters.cygnus.com)
8562
8563	* getopt.c (_getopt_internal):  If argc is 0, just return (before
8564	we reference *argv and segfault).
8565
8566Mon Aug  5 01:29:08 1996  Jason Merrill  <jason@yorick.cygnus.com>
8567
8568	* Makefile.in (distclean): Add multilib.out.
8569
8570Thu Jul 18 17:40:55 1996  Ian Lance Taylor  <ian@cygnus.com>
8571
8572	* alloca-norm.h: Change #ifdef sparc to #if defined (sparc) &&
8573	defined (sun).  From Andrew Gierth <ANDREWG@microlise.co.uk>.
8574
8575Mon Jul  1 13:40:44 1996  Ken Raeburn  <raeburn@cygnus.com>
8576
8577	Tue May 28 15:29:03 1996  Pat Rankin  <rankin@eql.caltech.edu>
8578
8579	* vmsbuild.com (REQUIRD_OFILES): Add choose-temp.o and xstrdup.o.
8580
8581	Thu Jan 25 18:20:04 1996  Pat Rankin  <rankin@eql.caltech.edu>
8582
8583	* vmsbuild.com: Changes to handle DEFFUNC(on_exit).
8584	(do_ofiles): Allow nonexistent source file in pass 3.
8585	(chk_deffunc): New routine.
8586
8587Tue Jun 25 19:24:43 1996  Doug Evans  <dje@canuck.cygnus.com>
8588
8589	* pexecute.c (PEXECUTE_VERBOSE): Define.
8590	(MPW pexecute): Check flags & PEXECUTE_VERBOSE instead of verbose_flag.
8591
8592Tue Jun 25 23:11:48 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
8593
8594	* Makefile.in (docdir): Removed.
8595
8596Tue Jun 25 23:01:07 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
8597
8598	* Makefile.in (oldincludedir): Removed.
8599
8600Tue Jun 25 22:50:07 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
8601
8602	* Makefile.in (datadir): Set to $(prefix)/share.
8603
8604Thu Jun 20 21:17:52 1996  Ian Lance Taylor  <ian@cygnus.com>
8605
8606	* cplus-dem.c (demangle_arm_pt): Reindent.  Avoid endless loop by
8607	checking for errors from do_type.
8608
8609Tue Jun 18 14:36:19 1996  Klaus Kaempf  <kkaempf@progis.de>
8610
8611	* makefile.vms: New file.
8612	* xmalloc.c: If VMS, include <stdlib.h> and <unixlib.h> rather
8613	than declaring malloc, realloc, and sbrk.
8614
8615Mon Jun 10 13:17:17 1996  Doug Evans  <dje@canuck.cygnus.com>
8616
8617	* pexecute.c: New file.
8618
8619Wed Jun  5 16:57:45 1996  Richard Henderson  <rth@tamu.edu>
8620
8621	* xmalloc.c: Declare sbrk.
8622
8623Sat May  4 05:08:45 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
8624
8625	* alloca-norm.h:  Add SPARCworks cc compatible __builtin_alloca
8626	declaration.
8627
8628Mon Apr 22 18:41:49 1996  Ian Lance Taylor  <ian@cygnus.com>
8629
8630	* xstrerror.c: Include <stdio.h>.
8631
8632Sun Apr 21 11:55:12 1996  Doug Evans  <dje@canuck.cygnus.com>
8633
8634	* Makefile.in (CFILES): Add atexit.c.
8635
8636Sun Apr 21 09:50:09 1996  Stephen L Moshier  (moshier@world.std.com)
8637
8638	* choose-temp.c: Include sys/types.h before sys/file.h for sco3.2v5.
8639
8640Wed Apr 17 11:17:55 1996  Doug Evans  <dje@canuck.cygnus.com>
8641
8642	* choose-temp.c: Don't #include sys/file.h ifdef NO_SYS_FILE_H.
8643	#include <stdio.h>
8644	* config/mt-vxworks5 (HDEFINES): Define NO_SYS_FILE_H.
8645
8646Tue Apr 16 11:27:16 1996  Jeffrey A Law  (law@cygnus.com)
8647
8648	* Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o.
8649	Reverts Feb 8, 1995 change.
8650
8651Mon Apr 15 12:53:26 1996  Doug Evans  <dje@canuck.cygnus.com>
8652
8653	* choose-temp.c: New file.
8654	* Makefile.in (CFILES): Add choose-temp.c.
8655	(REQUIRED_OFILES): Add choose-temp.o.
8656
8657Sat Apr 13 14:19:30 1996  Stu Grossman  (grossman@critters.cygnus.com)
8658
8659	* floatformat.c (floatformat_to_double):  Don't bias exponent when
8660	handling zero's, denorms or NaNs.
8661
8662Thu Apr 11 13:36:56 1996  Stu Grossman  (grossman@critters.cygnus.com)
8663
8664	* floatformat.c (floatformat_to_double):  Fix bugs with handling
8665	numbers with fractions < 32 bits.
8666
8667Mon Apr  8 14:48:34 1996  Ian Lance Taylor  <ian@cygnus.com>
8668
8669	* config.table: Permit --enable-shared to specify a list of
8670	directories.
8671
8672Tue Mar 19 22:02:07 1996  Jason Merrill  <jason@yorick.cygnus.com>
8673
8674	* cplus-dem.c (demangle_template): Fix for non-mangled pointer
8675	arguments.
8676
8677Fri Mar  8 17:24:18 1996  Ian Lance Taylor  <ian@cygnus.com>
8678
8679	* configure.in: If srcdir is `.' and with_target_subdir is not
8680	`.', then set MULTISRCTOP before calling config-ml.in.
8681
8682Thu Mar  7 13:37:10 1996  Stan Shebs  <shebs@andros.cygnus.com>
8683
8684	* mpw.c (mpw_open): Add debugging output option.
8685
8686Wed Mar  6 17:36:03 1996  Jason Merrill  <jason@yorick.cygnus.com>
8687
8688	* cplus-dem.c (demangle_template): Fix for address-of-extern arguments.
8689
8690Tue Feb 27 12:00:50 1996  Raymond Jou  <rjou@mexican.cygnus.com>
8691
8692	* mpw.c (mpwify_filename): Change 6 to 5 in
8693	strncmp (unixname, "/tmp/", 5).
8694
8695Tue Feb 20 10:55:53 1996  Ian Lance Taylor  <ian@cygnus.com>
8696
8697	* cplus-dem.c (demangle_template): Initialize is_bool.  Correctly
8698	handle 0 as a pointer value parameter.
8699
8700Mon Feb  5 16:41:44 1996  Ian Lance Taylor  <ian@cygnus.com>
8701
8702	* Makefile.in (all): Depend upon required-list.
8703	(required-list): New target.
8704	(clean): Remove required-list.
8705
8706Wed Jan 31 10:19:41 1996  Steve Chamberlain  <sac@slash.cygnus.com>
8707
8708	* win32.c: Deleted.
8709	* config.table (i386-*-win32): Deleted.
8710	* config/mh-i386win32: Deleted.
8711
8712Thu Jan 18 11:34:17 1996  Ian Lance Taylor  <ian@cygnus.com>
8713
8714	* cplus-dem.c (cplus_demangle_opname): Change opname parameter to
8715	const char *.
8716	(cplus_mangle_opname): Change return type and opname parameter to
8717	const char *.  Don't cast return value.
8718
8719Tue Jan 16 12:13:11 1996  Stan Shebs  <shebs@andros.cygnus.com>
8720
8721	* mpw.c: Include Timer.h, in order to get m68k Microseconds trap
8722	definition.
8723
8724Wed Jan  3 13:15:04 1996  Fred Fish  <fnf@cygnus.com>
8725
8726	* obstack.c: Update copyright to 1996.
8727	(_obstack_memory_used): Define new function.  Called via
8728	obstack_memory_used macro.
8729
8730Thu Dec 28 11:39:40 1995  Ian Lance Taylor  <ian@cygnus.com>
8731
8732	* xstrdup.c: New file.
8733	* Makefile.in (CFILES): Add xstrdup.c.
8734	(REQUIRED_OFILES): Add xstrdup.o.
8735	(xstrdup.o): New target.
8736
8737Mon Dec 11 18:18:52 1995  Mike Stump  <mrs@cygnus.com>
8738
8739	* atexit.c: New stub to provide atexit on systems that have
8740	on_exit, like SunOS 4.1.x systems.
8741	* functions.def (on_exit, atexit): Ditto.
8742
8743Mon Dec 11 15:42:14 1995  Stan Shebs  <shebs@andros.cygnus.com>
8744
8745	* mpw.c (mpw_abort): Remove decl.
8746	(mpw_access): Move debugging printf.
8747
8748Sat Dec  2 01:25:23 1995  Ian Lance Taylor  <ian@cygnus.com>
8749
8750	* config.table: Consistently use ${host} rather than ${xhost} or
8751	${target}.
8752	* configure.in: Don't bother to set ${xhost} before calling
8753	config.table.
8754
8755Tue Nov 28 14:16:57 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
8756
8757	* Makefile.in (.c.o): Use test instead of the left bracket, to
8758	avoid problems with some versions of make.
8759
8760Tue Nov 28 11:45:17 1995  Stan Shebs  <shebs@andros.cygnus.com>
8761
8762	* mpw-make.sed: Fix INCDIR edit to work with Nov 14 change.
8763
8764Tue Nov 21 11:26:34 1995  Fred Fish  <fnf@rtl.cygnus.com>
8765
8766	* config/mh-hpux: Remove.  It was only used to define EXTRA_OFILES,
8767	which was set to just alloca.o, which is now automatically marked
8768	as needed by the autoconfiguration process.
8769
8770Tue Nov 21 14:15:06 1995  Ian Lance Taylor  <ian@cygnus.com>
8771
8772	* config.table: Check ${with_cross_host} rather than comparing
8773	${host} and ${target}.
8774
8775Thu Nov 16 14:34:42 1995  Ian Lance Taylor  <ian@cygnus.com>
8776
8777	* configure.in: If with_target_subdir is empty, set xhost to
8778	${host} rather than ${target} before calling config.table.
8779
8780Tue Nov 14 01:38:30 1995  Doug Evans  <dje@canuck.cygnus.com>
8781
8782	* Makefile.in (MULTITOP): Deleted.
8783	(MULTISRCTOP, MULTIBUILDTOP): New.
8784	(FLAGS_TO_PASS): Delete INCDIR.
8785	(INCDIR): Add $(MULTISRCTOP).
8786	(install_to_libdir): Add $(MULTISUBDIR).  Call $(MULTIDO).
8787	* configure.in: Delete call to cfg-ml-com.in.  Call config-ml.in
8788	instead of cfg-ml-pos.in.
8789	(cross-compile check): Change to test for with_target_subdir.
8790	(EXTRA_LINKS): Delete.
8791
8792Sun Nov 12 12:13:04 1995  Stan Shebs  <shebs@andros.cygnus.com>
8793
8794	* mpw-make.sed: Add getpagesize.c.o to needed-list.
8795	* mpw.c [USE_MW_HEADERS]: Conditionalize compiling of
8796	functions that are supplied by Metrowerks libraries.
8797	(fstat): Clean up descriptor->pointer conversion code.
8798	(InstallConsole, etc): Empty definitions, for when linking
8799	with SIOUX.
8800
8801Sun Nov  5 19:25:27 1995  Per Bothner  <bothner@kalessin.cygnus.com>
8802
8803	* Makefile.in (FLAGS_TO_PASS):  Also pass PICFLAGS.
8804	(.c.o):  Stylistic change.
8805
8806Thu Nov  2 12:06:29 1995  Ian Lance Taylor  <ian@cygnus.com>
8807
8808	* strtol.c, strtoul.c: Don't include <stdlib.h>.  From
8809	phdm@info.ucl.ac.be (Philippe De Muyter).
8810
8811Wed Nov  1 11:59:36 1995  Ian Lance Taylor  <ian@cygnus.com>
8812
8813	* configure.in: Correct sed call.
8814
8815Mon Oct 30 13:03:45 1995  Per Bothner  <bothner@kalessin.cygnus.com>
8816
8817	* configure.in:  Clean up / simplify for native.
8818
8819	* configure.in:  Merge in stuff from ../xiberty/configure.in.
8820	* Makefile.in (CC):  Add definition (so it can be overrridden
8821	by ../configure).
8822
8823Tue Oct 24 17:57:27 1995  Stan Shebs  <shebs@andros.cygnus.com>
8824
8825	* mpw-make.sed: Leave strerror.c.o in standard list of functions.
8826	* mpw.c (R_OK, ENOENT, EACCESS, ENOSYS): Remove.
8827	(link): Remove useless definition with error return.
8828	(last_microseconds, warn_if_spin_delay, record_for_spin_delay):
8829	Use UnsignedWide type for microsecond counts.
8830
8831Thu Oct 19 10:52:07 1995  Michael Meissner  <meissner@wogglebug.tiac.net>
8832
8833	* memcmp.c (memcmp): Argument types are const void *, not void
8834	*const.
8835
8836	* strncasecmp.c (strncasecmp): Include ansidecl.h/stdarg.h, not
8837	sys/types.h.
8838	* strcasecmp.c (strcasecmp): Ditto.
8839
8840Tue Oct 10 11:03:24 1995  Fred Fish  <fnf@cygnus.com>
8841
8842	* Makefile.in (BISON):  Remove macro.
8843
8844Tue Sep 26 15:06:46 1995  Stan Shebs  <shebs@andros.cygnus.com>
8845
8846	* Makefile.in (HFILES): Add default empty definition.
8847	* mpw-config.in (config.h): Only update if changed.
8848	* mpw-make.in: Remove.
8849	* mpw-make.sed: New file, edits Makefile.in into MPW makefile.
8850	* mpw.c: Remove semi-clone of strerror code.
8851	(sys_nerr, sys_errlist): Define here.
8852	(Microseconds): Only define as A-line trap if m68k Mac.
8853
8854Wed Sep 20 12:53:32 1995  Ian Lance Taylor  <ian@cygnus.com>
8855
8856	* Makefile.in (maintainer-clean): New synonym for distclean.
8857
8858Mon Aug 28 19:47:52 1995  Per Bothner  <bothner@kalessin.cygnus.com>
8859
8860	* config.table:  For host, generalize rs6000-ibm-aix*
8861	to *-ibm-aix* so we also include powerpc.
8862
8863Tue Aug 22 03:18:05 1995  Ken Raeburn  <raeburn@kr-laptop.cygnus.com>
8864
8865	Fri Jun 16 18:35:40 1995  Pat Rankin  (rankin@eql.caltech.edu)
8866
8867	* xstrerror.c: New file.
8868	* Makefile.in, vmsbuild.com: Compile it.
8869
8870Mon Jul 31 12:16:32 1995  steve chamberlain  <sac@slash.cygnus.com>
8871
8872	* config.table (i386-*-win32): New.
8873
8874Fri Jul 21 11:35:52 1995  Doug Evans  <dje@canuck.cygnus.com>
8875
8876	* Makefile.in (MULTITOP): New variable.
8877	(MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): Likewise.
8878	(all): Add multilib support.
8879	(install_to_tooldir, *clean): Likewise.
8880
8881Mon Jul 10 11:47:27 1995  Ken Raeburn  <raeburn@cygnus.com>
8882
8883	* makefile.dos (OBJS): Add hex.o.  From DJ Delorie.
8884
8885Fri Jun 30 17:28:59 1995  Pat Rankin  (rankin@eql.caltech.edu)
8886
8887	* vmsbuild.com:  create "new-lib.olb", build libiberty under that
8888	name, and then make it become "liberty.olb" when done, so that an
8889	incomplete build attempt never leaves behind something which looks
8890	like a complete library.
8891
8892Thu Jun 29 00:22:02 1995  Steve Chamberlain  <sac@slash.cygnus.com>
8893
8894	* config/mh-i386pe: New file for PE hosts.
8895	* config.table: Understand PE hosts.
8896
8897Wed Jun 28 19:13:23 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
8898
8899	* cplus-dem.c: Update from gcc.
8900
8901	* argv.c, dummy.c: If __STDC__, #include "alloca-conf.h" after
8902	<stddef.h>.
8903	* alloca-norm.h: If __STDC__, declare alloca with its parameter.
8904
8905Thu Jun 22 18:57:47 1995  Stan Shebs  <shebs@andros.cygnus.com>
8906
8907	* mpw-make.in (ALL_CFLAGS): Define NEED_basename.
8908	* mpw.c: Only test DebugPI once whenever printing debug info.
8909	(mpwify_filename): If filename is /tmp/foo, change it into :_foo,
8910	also fix to not write on input filename buffer.
8911	(mpw_access): Use stat() instead of open(), works for directories
8912	as well as files.
8913
8914Mon Jun 19 00:33:22 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
8915
8916	* Makefile.in: Massage broken shells that require 'else true'.
8917
8918Sat Jun 17 23:21:58 1995  Fred Fish  <fnf@cygnus.com>
8919
8920	* alloca-norm.h: Declare alloca as type "PTR" to match functions.def.
8921	Declare __builtin_alloca in the sparc case, as argv.c did.
8922	* argv.c: Replace inline version of alloca-norm.h at start of file with
8923	a #include of alloca-conf.h.  Precede it with an include of ansidecl.h
8924	because alloca-norm.h needs to declare alloca as "PTR".
8925
8926Mon Jun 12 14:24:26 1995  Steve Chamberlain  <sac@slash.cygnus.com>
8927
8928	* win32.c: New file.
8929
8930Fri Jun  9 15:16:14 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
8931
8932	* dummy.c: #include "alloca-conf.h".
8933
8934Wed Jun  7 11:46:23 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
8935
8936	* Makefile.in (mostlyclean): Remove stamp-picdir.
8937	(clean): Don't.
8938
8939Mon Jun  5 18:46:06 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
8940
8941	* config.table (frags): Use toplevel pic frags.
8942
8943	* Makefile.in (PICFLAG): New macro.
8944	(all): Depend on stamp-picdir.
8945	(needed-list): Ditto.
8946	(.c.o): Also build pic object.
8947	(stamp-picdir): New rule.
8948	(mostlyclean): Remove pic.
8949	(clean): Remove stamp-picdir.
8950
8951Fri Mar 24 16:55:48 1995  Pat Rankin  (rankin@eql.caltech.edu)
8952
8953	* vmsbuild.com (config.h): Add `#define NEED_basename'.
8954
8955Tue May 23 10:12:46 1995  Per Bothner  <bothner@kalessin.cygnus.com>
8956
8957	* clock.c, getopt.c, strtod.c, vsprintf.c:  Change from using LGPL
8958	to libio-style copyright.
8959	* getpagesize.c:  Remove FSF copyright.
8960
8961Sat May 20 12:30:23 1995  Ken Raeburn  <raeburn@kr-laptop.cygnus.com>
8962
8963	Added improved VMS support from Pat Rankin:
8964
8965	Fri Mar 17 18:40:36 1995  Pat Rankin  (rankin@eql.caltech.edu)
8966
8967	* vmsbuild.com:  new file.
8968
8969	* getpagesize.c (getpagesize):  implement for VMS;
8970	* strerror.c (strerror, strerrno, strtoerrno):  add rudimentary
8971	support for EVMSERR.
8972
8973Thu May 18 17:01:42 1995  Ken Raeburn  <raeburn@kr-laptop.cygnus.com>
8974
8975	Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
8976
8977	* floatformat.c (floatformat_arm_ext): Define.
8978
8979Tue May 16 13:30:59 1995  Per Bothner  <bothner@kalessin.cygnus.com>
8980
8981	* basename.c, bcmp.c, getcwd.c, insque.c, rename.c, sigsetmask.c,
8982	strerror.c, strsignal.c:  Remove FSF copyright.
8983	* sigsetmask.c: #include <sys/types.h> - seems to be needed by ISC.
8984
8985Mon May 15 19:53:17 1995  Per Bothner  <bothner@kalessin.cygnus.com>
8986
8987	* bcopy.c, bzero.c, memcmp.c, memcpy.c, memset.c, strchr.c,
8988	strrchr.c, strstr.c, vfork.c:  Remove FSF Copyright, because this
8989	might contaminate libstdc++ with the LGPL.  (OK'd by RMS 11 Oct 94.)
8990	* strchr.c, strrchr.c:  Add cast to suppress const warning.
8991
8992Thu May  4 14:36:42 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
8993
8994	* cplus-dem.c: Use const instead of CONST.  Don't include
8995	ansidecl.h directly.
8996
8997Wed Apr 19 01:30:27 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
8998
8999	* cplus-dem.c: Don't include libiberty.h.  Do declare xmalloc and
9000	xrealloc.
9001	(-DMAIN): Don't rely on an externally-defined version number;
9002	instead, require the version number to be defined as a
9003	preprocessor macro.  Handle the RS/6000 leading dot.  Define
9004	xmalloc, xrealloc and fatal.  Don't strip a leading underscore
9005	if we couldn't demangle the word.
9006
9007Tue Apr  4 13:03:51 1995  Stan Shebs  <shebs@andros.cygnus.com>
9008
9009	(Old mpw.c change descriptions retained for informational value.)
9010	* mpw.c (warning_threshold): Default to .4 sec.
9011	(overflow_count, current_progress): New globals.
9012	(warn_if_spin_delay): Include current progress type,
9013	such as program name, in message.
9014	(mpw_start_progress): Set current_progress variable from arg.
9015	(mpw_end_progress): Report spin delays by power-of-two-size
9016	buckets instead of constant-size buckets.
9017
9018	* mpw.c: Clean up formatting, types, returns, etc.
9019	(ENOSYS): Define.
9020	(mpw_fread, mpw_fwrite): Define.
9021	(sleep): Define correctly.
9022
9023	* mpw.c: New code to implement cursor spinning support.
9024	(umask): New function.
9025	(mpw_fopen, mpw_fseek, stat, fstat): Call PROGRESS.
9026
9027	* mpw.c (mpw_basename, mpw_mixed_basename): New functions, find
9028	basenames for MPW and MPW/Unix filenames.
9029	(mpw_special_init): New function, calls Macsbug if desired.
9030
9031	* mpw.c: Add GPL notice.
9032	(mpwify_filename): Add more transformations.
9033	(mpw_fopen): Call mpwify_filename on file names.
9034	(rename): Remove.
9035	(chdir, getcwd): Add simple definitions.
9036
9037	* mpw.c: Random cleanups, remove unused code bits.
9038	Added copy of strerror.c for gcc's use.
9039	(stat, fstat, _stat): New versions based on Guido van Rossum code.
9040
9041	* mpw.c (mpw_fseek): Make it work correctly when doing SEEK_CUR.
9042
9043	* mpw.c (stat): Remove hack definition, get from sys/stat.h.
9044	(fork, vfork, etc): Print error messages if called.
9045	(getrusage, sbrk, environ, isatty, link, utime, mkdir, rmdir,
9046	rename, chown): Define.
9047
9048	* mpw-config.in: New file, MPW version of configure.in.
9049	* mpw-make.in: New file, MPW version of Makefile.in.
9050	* mpw.c: New file, MPW compatibility routines.
9051
9052Fri Mar 24 14:10:30 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9053
9054	* basename.c: Include config.h before checking for NEED_basename.
9055
9056Thu Mar 23 19:09:54 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
9057
9058	* functions.def: Add DEFFUNC for basename.
9059
9060	* basename.c: Only define basename if NEED_basename.
9061
9062Thu Mar 16 13:36:05 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
9063
9064	* config.table: Fix --enable-shared logic for native builds.
9065
9066Mon Mar 13 11:05:11 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
9067
9068	* cplus-dem.c (demangle_template): Demangle bool literals properly.
9069
9070Mon Mar  6 23:57:28 1995  Stu Grossman  (grossman@cygnus.com)
9071
9072	* strtol.c strtoul.c:  Replace these with less buggy versions from
9073	NetBSD.  (strtoul in particular couldn't handle base 16.)
9074
9075Wed Mar  1 15:59:01 1995  Ian Lance Taylor  <ian@cygnus.com>
9076
9077	* config/mt-vxworks5 (HDEFINES): Define NO_SYS_PARAM_H.
9078
9079	* clock.c: If NO_SYS_PARAM_H is defined, don't include
9080	<sys/param.h>.
9081	* getcwd.c, getpagesize.c, getruntime.c: Likewise.
9082
9083Fri Feb 17 15:40:55 1995  Ian Lance Taylor  <ian@cygnus.com>
9084
9085	* getruntime.c (get_run_time): Don't assume that CLOCKS_PER_SEC is
9086	a number; ANSI appears to permit any expression, including a
9087	function call.
9088
9089	* config.table (*-*-vxworks5*): Use mt-vxworks5 when configuring
9090	xiberty.
9091	* config/mt-vxworks5: New file.
9092
9093Thu Feb  9 14:19:45 1995  Ian Lance Taylor  <ian@cygnus.com>
9094
9095	* basename.c (basename): Change argument to be const.
9096
9097Wed Feb  8 18:06:52 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
9098
9099	* Makefile.in (lneeded-list): Don't worry about xmalloc.
9100
9101Sun Jan 15 00:40:36 1995  Jeff Law  (law@snake.cs.utah.edu)
9102
9103	* Makefile.in (distclean): Delete xhost-mkfrag.
9104
9105Thu Jan 12 16:54:18 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
9106
9107	* Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o.
9108
9109Wed Jan 11 22:39:56 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
9110
9111	* hex.c: New file.
9112	* Makefile.in (REQUIRED_OFILES, CFILES): List it.
9113	(hex.o): Add dependencies.
9114
9115	* cplus-dem.c (demangle_prefix): For GNU style constructor and
9116	destructor names, try demangling the remainder of the string.
9117
9118Wed Dec 28 00:49:15 1994  Ian Lance Taylor  <ian@tweedledumb.cygnus.com>
9119
9120	* vasprintf.c (int_vasprintf): New static function.
9121	(vasprintf): Use int_vasprintf.  Removes assumption that va_list
9122	is assignment compatible.
9123
9124Sat Nov  5 19:29:12 1994  Jason Merrill  (jason@phydeaux.cygnus.com)
9125
9126	* Makefile.in (LIBCFLAGS): New variable.
9127	(FLAGS_TO_PASS): Pass it.
9128	(.c.o): Use it.
9129
9130Thu Nov  3 19:09:47 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
9131
9132	* getopt.c, getopt1.c: Do compile these functions under Linux,
9133	since many native versions are based on glibc but are buggy.
9134
9135Mon Oct 24 15:16:46 1994  Per Bothner  <bothner@kalessin.cygnus.com>
9136
9137	* vasprintf.c:  Make 'format' arg be const, to avoid a mismatch
9138	with prototype in GNU libc.  Support stdarg.h as well as varargs.h.
9139
9140Tue Oct 11 17:48:27 1994  Jason Merrill  (jason@phydeaux.cygnus.com)
9141
9142	* Makefile.in (REQUIRED_OFILES): Add vasprintf.o.
9143	* functions.def: Remove vasprintf.
9144
9145Wed Sep 14 17:04:55 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
9146
9147	* xmalloc.c (first_break): New static variable.
9148	(xmalloc_set_program_name): Record sbrk (0) in first_break.
9149	(xmalloc): If memory allocation fails, try to report how much
9150	memory was allocated by the program up to this point.
9151	(xrealloc): Likewise.
9152
9153Sun Sep 04 17:58:10 1994  Richard Earnshaw (rwe@pegasus.esprit.ec.org)
9154
9155	* Makefile.in (ERRORS_CC): New variable, defaulted to $(CC).  Use it
9156	when linking dummy.
9157	* config.table: Add host RISCiX Makefile frag.
9158	* config/mh-riscix: New file.
9159
9160Thu Aug 25 17:29:44 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
9161
9162	* Makefile.in (FLAGS_TO_PASS): Define.
9163	($(RULE1)): Use $(FLAGS_TO_PASS).
9164
9165Wed Aug 24 17:08:47 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
9166
9167	* vasprintf.c: Include <string.h>.
9168	(vasprintf): Add casts to void for va_arg to avoid gcc warnings.
9169	* xatexit.c: Declare malloc.
9170
9171Fri Aug 19 15:29:12 1994  Kung Hsu  (kung@mexican.cygnus.com)
9172
9173	* cplus-dem.c (demangle_args): Fix a bug in previous patch (the
9174	one below).
9175
9176Thu Aug 18 14:37:14 1994  Kung Hsu  (kung@mexican.cygnus.com)
9177
9178	* cplus-dem.c (demangle args): Handle ARM repeat encoding where
9179	the type index is greater than 9.
9180
9181Wed Aug 17 16:13:49 1994  Kung Hsu  (kung@mexican.cygnus.com)
9182
9183	* cplus-dem.c (demangle_qualified): accept optional '_' between
9184	qualified name. This is baecause the template name may end with
9185	numeric and can mixed up with the length of next qualified name.
9186
9187Wed Aug  3 05:52:14 1994  D. V. Henkel-Wallace  (gumby@cygnus.com)
9188
9189	* config/mt-sunos4: Use our standard location for cross-includes
9190	and cross-libs when the target is also a "host" environment (ie no
9191	newlib; includes and such don't belong to us).  This is specific
9192	to the Cygnus Support environment.
9193
9194Tue Aug  2 15:25:12 1994  Kung Hsu  (kung@mexican.cygnus.com)
9195
9196	* cplus-dem.c (demangle_template): demangle as xxx<'Q'> not
9197	xxx<ch=81>.
9198
9199Mon Aug  1 17:02:48 1994  Kung Hsu  (kung@mexican.cygnus.com)
9200
9201	* cplus-dem.c (main): flush stdout to make pipe work.
9202
9203Sat Jul 16 12:56:32 1994  Stan Shebs  (shebs@andros.cygnus.com)
9204
9205	* config.table (*-*-cxux7*):  Recognize.
9206	* floatformat.c (floatformat_m88110_ext) [HARRIS_FLOAT_FORMAT]:
9207	Harris-specific float format.
9208	* config/mh-cxux7: New file.
9209
9210Wed Jun 29 00:26:17 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9211
9212	* cplus-dem.c (demangle_template):  Make sure that the result of
9213	consume_count doesn't index beyond the end of the string.
9214
9215Mon Jun 20 23:54:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9216
9217	* cplus-dem.c (gnu_special):  Handle vtable mangling of gcc-2.4.5 and
9218	earlier. Improve test for new vtable mangling. Change output back
9219	to `virtual table'.
9220
9221Mon Jun 20 11:37:30 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
9222
9223	* obstack.c: Always compile this code, even if using the GNU
9224	library.  Avoids problems with relatively recent binary
9225	incompatibility.
9226
9227Thu Jun 16 17:54:01 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
9228
9229	* cplus-dem.c: Include libiberty.h.
9230	(xmalloc, xrealloc, free): Don't declare.
9231	(strstr): Don't declare parameters.
9232	(xmalloc, xrealloc): Don't define.
9233	(long_options): Add no-strip-underscores.
9234	(main): Call xmalloc_set_program_name.  Pass n in short options to
9235	getopt_long.  Handle option 'n' to not strip underscores.
9236	(usage): Mention -n and --no-strip-underscores.
9237
9238Sun Jun 12 01:37:09 1994  Jason Merrill  (jason@deneb.cygnus.com)
9239
9240	* cplus-dem.c (demangle_template): Separate consecutive >'s with a
9241	space.
9242	(gnu_special): Demangle template and qualified names in a vtable name.
9243
9244Fri May 27 12:27:52 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
9245
9246	From gas-2.3 and binutils-2.4 net releases:
9247
9248	Wed May 11 22:32:00 1994  DJ Delorie (dj@ctron.com)
9249
9250	* makefile.dos: [new] Makefile for dos/go32
9251	* configure.bat: update for latest files
9252	* msdos.c: remove some functions now in libc.a
9253
9254Fri May 20 18:53:32 1994  Per Bothner  (bothner@kalessin.cygnus.com)
9255
9256	* cplus-dem.c (gnu_special):  Recognize thunks, as well as
9257	the new naming style for vtables (when -fvtable-thunks).
9258
9259Wed May 18 13:34:06 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
9260
9261	* Makefile.in (XTRAFLAGS): Don't define.
9262	(.c.o, dummy.o): Don't use XTRAFLAGS.
9263	($(RULE1)): Don't pass XTRAFLAGS down in recursive call.
9264
9265Fri May 13 16:02:12 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
9266
9267	* vasprintf.c: New file.
9268	* Makefile.in, functions.def: Add it.
9269
9270Fri May 13 16:20:28 1994  Jason Merrill  (jason@deneb.cygnus.com)
9271
9272	* cplus-dem.c (demangle_fund_type): Grok bool.
9273
9274Fri May  6 14:44:21 1994  Steve Chamberlain  (sac@cygnus.com)
9275
9276	* config.table: Add go32
9277	* config/mh-go32: New template.
9278
9279Fri May  6 11:01:59 1994  D. V. Henkel-Wallace  (gumby@rtl.cygnus.com)
9280
9281	* config.table, config/mt-sunos4: config for when sun4 is cross target.
9282
9283Mon Apr 11 00:54:33 1994  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
9284
9285	* getopt.c [not __GNU_LIBRARY__] [__GCC__] [not __STDC__]:
9286	Declare strlen to return int.  Don't include stddef.h.
9287
9288Fri Apr  1 00:38:17 1994  Jim Wilson  (wilson@mole.gnu.ai.mit.edu)
9289
9290	* getopt.c: Delete use of IN_GCC to control whether
9291	stddef.h or gstddef.h is included.
9292
9293Thu Apr 14 14:00:56 1994  Kung Hsu  (kung@mexican.cygnus.com)
9294
9295	* cplus-dem.c (demangle_signature): Fix a bug in template function
9296	type numbering.
9297
9298Wed Apr 13 17:23:03 1994  Kung Hsu  (kung@mexican.cygnus.com)
9299
9300	* cplus-dem.c (demangle_signature): Fix template function with arm
9301	style argument type number, Tn.
9302
9303Wed Apr 13 17:11:15 1994  Jason Merrill  (jason@deneb.cygnus.com)
9304
9305	* cplus-dem.c (optable): Add new[] and delete[].
9306
9307Fri Apr  8 11:21:42 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
9308
9309	* argv.c (buildargv): Don't produce empty argument just because
9310	there is trailing whitespace.
9311
9312Wed Apr  6 11:42:14 1994  Kung Hsu  (kung@mexican.cygnus.com)
9313
9314	* cplus-dem.c (demangle_template): fix 'Q' qualified name bug.
9315	Handle 'p' same as 'P'.
9316	* cplus-dem.c (do_type): Handle 'p' same as 'P'.
9317
9318Sat Mar 26 12:00:13 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9319
9320	* floatformat.c (get_field, put_field):  Fix off by one error in
9321	little endian case.
9322
9323Thu Mar 24 10:40:19 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
9324
9325	* floatformat.c (floatformat_from_double): Pass unsigned char *,
9326	not char *, to put_field.
9327
9328Fri Mar 18 12:34:33 1994  Per Bothner  (bothner@kalessin.cygnus.com)
9329
9330	* memmove.c:  Re-wrote;  placed in public domain.
9331
9332Wed Mar 16 10:33:07 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
9333
9334	* cplus-dem.c (demangle_prefix): If ARM demangling, don't treat
9335	__Q* as a constructor.
9336
9337Mon Mar 14 12:26:02 1994  Ian Lance Taylor  (ian@cygnus.com)
9338
9339	* ieee-float.c: Removed; no longer used.
9340	* Makefile.in: Changed accordingly.
9341
9342Mon Mar  7 12:28:17 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
9343
9344	* floatformat.c (get_field): Removed unused local variable i.
9345	(put_field): Removed unused local variable i.
9346
9347Sun Feb 27 21:50:11 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
9348
9349	* floatformat.c: New file, intended to replace ieee-float.c.
9350	* Makefile.in: Change accordingly.
9351
9352Thu Feb 24 11:51:12 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
9353
9354	* getopt.c: Remove #ifdef GETOPT_COMPAT and #if 0 code.
9355	 (_getopt_initialize): New function, broken out of _getopt_internal.
9356	 (_getopt_internal):
9357	 If long_only and the ARGV-element has the form "-f", where f is
9358	 a valid short option, don't consider it an abbreviated form of
9359	 a long option that starts with f.  Otherwise there would be no
9360	 way to give the -f short option.
9361
9362Thu Feb 10 14:44:16 1994  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
9363
9364	* getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]:
9365	Test just __STDC__, not emacs.
9366
9367Wed Feb  9 00:14:00 1994  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
9368
9369	* getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]
9370	[emacs] [not __STDC__]: Don't include stddef.h.  Don't declare strlen.
9371
9372Fri Dec 24 19:43:00 1993  Noah Friedman  (friedman@nutrimat.gnu.ai.mit.edu)
9373
9374	* getopt.c (_NO_PROTO): Define before config.h is included.
9375
9376Mon Sep 20 15:59:03 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
9377
9378	* getopt.c, getopt1.c [emacs || CONFIG_BROKETS]: Include
9379	<config.h> only under these, else "config.h".
9380
9381Thu Aug 12 18:16:49 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
9382
9383	* getopt.c, getopt1.c [HAVE_CONFIG_H]: Include
9384	<config.h> instead of "config.h".
9385
9386Sun Feb 20 17:17:01 1994  Ian Lance Taylor  (ian@lisa.cygnus.com)
9387
9388	* concat.c: Check ANSI_PROTOTYPES rather than __STDC__ to decide
9389	whether to use prototypes or not.
9390	* strerror.c (const): Never undefine; let ansidecl.h handle it.
9391	* strsignal.c (const): Likewise.
9392
9393Thu Feb 17 13:27:35 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
9394
9395	* xatexit.c (_xexit_cleanup): Declare as extern; don't initialize.
9396	Merging common and initialized variables need not be supported by
9397	ANSI C compilers.
9398	(xatexit): Initialize _xexit_cleanup if not already set.
9399	* xexit.c: Comment fix.
9400
9401Wed Feb 16 01:15:36 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
9402
9403	* xmalloc.c: Don't declare xexit; it's declared in libiberty.h.
9404	(xrealloc): If oldmem is NULL, allocate with malloc, rather than
9405	assuming that realloc works correctly.
9406
9407Tue Feb 15 09:26:16 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9408
9409	* concat.c, ieee-float.c:  Replace inclusion of <string.h>
9410	with explicit function declarations, as recommended by Ian Taylor.
9411
9412Sat Feb 12 10:31:11 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
9413
9414	* xmalloc.c (xmalloc, xrealloc): Use PTR and size_t throughout.
9415	(malloc, realloc): Declare.
9416
9417Thu Feb 10 17:08:19 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
9418
9419	* argv.c, basename.c: Include ansidecl.h and libiberty.h.
9420	* concat.c, fdmatch.c, getruntime.c, spaces.c: Likewise.
9421	* strerror.c, strsignal.c, xatexit.c, xexit.c: Likewise.
9422	* xmalloc.c: Likewise.
9423	* concat.c: Don't declare xmalloc.  If __STDC__, use <stdarg.h>
9424	macros, not <varargs.h> macros.
9425	* spaces.c (spaces): Make return type const.  Don't crash if
9426	malloc returns NULL.
9427	* strerror.c (struct error_info): Make name and msg fields const.
9428	(error_names): Make const.
9429	(strerrno): Make const.
9430	(strtoerrno): Make argument const.
9431	* strsignal.c (struct signal_info): Make name and msg fields
9432	const.
9433	(signal_names, sys_siglist): Make const.
9434	(strsignal, strsigno): Make const.
9435	(strtosigno): Make argument const.
9436	* xatexit.c: Declare parameter types.
9437	* xmalloc.c (name): Make const.
9438	(xmalloc_set_program_name): Make argument const.
9439	* Makefile.in (INCDIR): Define.
9440	(.c.o): Use $(INCDIR).
9441	(dummy.o): Likewise.
9442	(argv.o, basename.o): New targets; depend on libiberty.h.
9443	(concat.o, fdmatch.o, getruntime.o, spaces.o): Likewise.
9444	(strerror.o, strsignal.o, xatexit.o, xexit.o): Likewise.
9445	(xmalloc.o): Likewise.
9446	(cplus-dem.o): New target; depend on demangle.h.
9447	(getopt.o, getopt1.o): New targets; depend on getopt.h.
9448	(ieee-float.o): New target; depend on ieee-float.h.
9449	(obstack.o): New target; depend on obstack.h.
9450
9451Tue Feb  8 05:29:08 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
9452
9453	Handle obstack_chunk_alloc returning NULL.  This allows
9454	obstacks to be used by libraries, without forcing them
9455	to call exit or longjmp.
9456	* obstack.c (_obstack_begin, _obstack_begin_1, _obstack_newchunk):
9457	If CALL_CHUNKFUN returns NULL, set alloc_failed, else clear it.
9458	(_obstack_begin, _obstack_begin_1): Return 1 if successful, 0 if not.
9459
9460Tue Feb  8 00:32:28 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9461
9462	* concat.c, ieee-float.c:  Include <string.h>.
9463
9464Sun Feb  6 21:28:46 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
9465
9466	* xmalloc.c (xmalloc_set_program_name): New function.
9467	(xmalloc, xrealloc): Include the name in the error message, if set.
9468
9469	* Replace atexit.c with xatexit.c.
9470	* Makefile.in (CFILES), functions.def: Change references.
9471
9472Sat Feb  5 14:02:32 1994  Stan Shebs  (shebs@andros.cygnus.com)
9473
9474	* getruntime.c (get_run_time): Use getrusage or times if
9475	HAVE_GETRUSAGE or HAVE_TIMES are defined.
9476
9477Fri Feb  4 15:49:38 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
9478
9479	* atexit.c: New file.
9480	* Makefile.in (CFILES), functions.def: Add it.
9481	* xexit.c: New file.
9482	* Makefile.in (CFILES, REQUIRED_OFILES): Add it.
9483	* xmalloc.c (xmalloc, xrealloc): Call xexit instead of exit.
9484	Change request for 0 bytes into request for 1 byte.
9485
9486Wed Feb  2 11:36:49 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
9487
9488	* xmalloc.c (xmalloc, xrealloc): Print size using %lu, and cast to
9489	unsigned long, to avoid warnings.
9490
9491Fri Jan 28 17:49:06 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
9492
9493	* dummy.c: Don't include time.h ever; always define clock_t as
9494	"unsigned long".  Until gcc/fixincludes ensures that clock_t
9495	exists, __STDC__ isn't a sufficient test.  And if clock() doesn't
9496	exist, clock_t probably doesn't either.
9497
9498Mon Jan 24 11:52:31 1994  Stan Shebs  (shebs@andros.cygnus.com)
9499
9500	* clock.c, getruntime.c: New files.
9501	* Makefile.in: Add to file lists.
9502	* functions.def (clock): Add to list.
9503	* dummy.c (time.h): Add if __STDC__.
9504	(clock_t): #define as "unsigned long" if not __STDC__.
9505
9506Tue Jan 11 11:27:44 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
9507
9508	* strtod.c: Declare atof.  From edler@jan.ultra.nyu.edu (Jan
9509	Edler).
9510
9511Tue Dec 28 14:17:30 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
9512
9513	* Makefile.in (errors): Use CFLAGS as well as LDFLAGS when
9514	linking.
9515
9516Fri Dec 17 12:26:07 1993  Kung Hsu  (kung@cirdan.cygnus.com)
9517
9518	* cplus-dem.c (demangle_arm_pt): New function.  Common code
9519	for ARM template demangling.
9520	* cplus-dem.c (demangle_class_name): Use demangle_arm_pt.
9521	* cplus-dem.c (demangle_prefix): Likewise.
9522
9523Tue Nov 30 15:47:48 1993  Jason Merrill  (jason@deneb.cygnus.com)
9524
9525	* cplus-dem.c (cplus_demangle_opname): Add CONST to please gcc.
9526
9527Sat Nov 27 11:05:50 1993  Fred Fish  (fnf@cygnus.com)
9528
9529	Merge changes from tom@basil.icce.rug.nl (Tom R.Hageman)
9530	* strerror.c, strsignal.c:  As a small space optimization, don't
9531	include messages when they aren't actually used.
9532
9533	Merge changes from takefive.co.at!joe (Josef Leherbauer)
9534	* cplus-dem.c (demangle_prefix, demangle_function_name,
9535	cplus_demangle_opname):  Fixes for systems where cplus_marker
9536	is something other than '$'.
9537
9538Fri Nov 26 13:51:11 1993  Per Bothner  (bothner@kalessin.cygnus.com)
9539
9540	* waitpid.c:  Simple-minded approcimation to waitpid
9541	using vanilla wait.
9542	* functions.def, Makefile.in:  Update accordingly,
9543
9544Thu Nov 18 18:01:15 1993  Kung Hsu  (kung@cirdan.cygnus.com)
9545
9546	* cplus-dem.c(demangle_template): fix bug template instantiation
9547	with value of user defined type.
9548
9549Wed Nov 17 18:30:21 1993  Kung Hsu  (kung@cirdan.cygnus.com)
9550
9551	* cplus-dem.c(cplus_demangle_opname): add the subject new function
9552	to support unified search of operator in class.
9553
9554Wed Nov 10 09:47:22 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
9555
9556	gcc -Wall lint:
9557	* strtoul.c (strtoul): use "(digit = *s) != '\0'" not just
9558	"digit = *s" as condition in while loop.
9559
9560Tue Nov  9 15:52:22 1993  Mark Eichin  (eichin@cygnus.com)
9561
9562	* Makefile.in: pass SHELL to recursive make
9563
9564Thu Nov  4 12:09:26 1993  Per Bothner  (bothner@kalessin.cygnus.com)
9565
9566	* vfprintf.c, vprintf.c, vsprintf.c:  Make format arg
9567	be (const char*), for ANSI (and gcc w/fixproto) consistency.
9568
9569Thu Nov  4 08:29:04 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
9570
9571	* config.table: Make *-*-hiux* use mh-hpux.
9572
9573Fri Oct 22 07:53:15 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
9574
9575	* config.table: Add * to end of all OS names.
9576
9577Tue Oct 19 17:12:01 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
9578
9579	* Makefile.in (lneeded-list): ensure that object file names are
9580	  not duplicated, as multiple instances of the same object file in
9581	  a library causes problems on some machines
9582
9583Mon Oct 18 21:59:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
9584
9585	* strcasecmp.c, strncasecmp.c: Change u_char to unsigned char.
9586
9587Fri Oct 15 22:17:11 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
9588
9589	* strncasecmp.c: new file, implements strncasecmp
9590	* strcasecmp.c: new file, implement strcasecmp
9591
9592	* Makefile.in (CFILES): list these two new source files
9593
9594	* functions.def: add strcasecmp and strncasecmp entries
9595
9596Fri Oct 15 14:53:05 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
9597
9598	* strtoul.c (strtoul), strtol.c (strtol): Handle overflow
9599	according to ANSI C.
9600
9601Thu Oct 14 16:34:19 1993  Kung Hsu  (kung@cirdan.cygnus.com)
9602
9603	* cplus-dem.c: add support of ARM global constructor/destructor,
9604	and 'G' for passing record or union in parameter.
9605
9606Wed Oct 13 13:36:19 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
9607
9608	* Makefile.in: Fix comment to clarify that stuff in REQUIRED_OFILES
9609	should not be in functions.def.
9610
9611Wed Oct 13 13:13:38 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
9612
9613	* functions.def: Removed xmalloc.  Stuff in REQUIRED_OFILES should
9614	not be in functions.def.
9615
9616Mon Oct  4 18:26:39 1993  Kung Hsu  (kung@cirdan.cygnus.com)
9617
9618	* cplus-dem.c: change globl constructor/destructor to proper name
9619
9620Tue Sep 28 18:11:07 1993  Kung Hsu  (kung@cirdan.cygnus.com)
9621
9622	* cplus-dem.c: fix bug in constructor/destructor
9623
9624Tue Sep 28 16:20:49 1993  Kung Hsu  (kung@cirdan.cygnus.com)
9625
9626	* cplus-dem.c: support both old and new _vt$... vtbl mangled names
9627
9628Fri Sep 24 19:07:16 1993  Jason Merrill  (jason@deneb.cygnus.com)
9629
9630	* cplus-dem.c: Fix demangle_template prototype
9631
9632Fri Sep 24 17:32:55 1993  Kung Hsu  (kung@cirdan.cygnus.com)
9633
9634	* cplus-dem.c: fix template demangling
9635	* cplus-dem.c: fix const type demangling
9636	* cplus-dem.c: fix constructor/destructor, virtual table,
9637	qualifier, global constructor/destructor demangling
9638
9639Wed Sep  1 23:13:11 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
9640
9641	* strsignal.c, strerror.c: Use fully-bracketed initializer to
9642	keep gcc -Wall happy.
9643
9644Fri Aug 27 10:30:09 1993  Jason Merrill  (jason@deneb.cygnus.com)
9645
9646	* cplus-dem.c (do_type): Add CONSTS to make gcc happy with last
9647	patch.
9648
9649Fri Aug 27 11:24:54 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
9650
9651	Patch from Paul Flinders:
9652	* cplus-dem.c (do_type): Deal with arrays.
9653
9654Tue Aug 24 14:23:50 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
9655
9656	* cplus-dem.c (demangle_qualified: Deal with GNU format for more
9657	than 9 classes.
9658
9659Wed Aug 18 19:50:29 1993  Jason Merrill  (jason@deneb.cygnus.com)
9660
9661	* Makefile.in (dummy.o): Redirect to /dev/null to avoid "variable
9662	not initialized" warnings under HP/UX
9663
9664Sun Aug 15 20:42:40 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
9665
9666	* strerror.c: Move include of stdio.h after sys_errlist #define.
9667	Also remove NULL definition (stdio.h always defines NULL, so it
9668	never did anything but clutter up the code).
9669
9670Sat Aug 14 14:21:49 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
9671
9672	* Makefile.in, functions.def: handle xmalloc.c
9673
9674	* xmalloc.c: provide xmalloc and xrealloc functions
9675
9676Thu Aug 12 17:38:57 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
9677
9678	* cplus-dem.c: Fix a comment.
9679
9680Sat Aug  7 13:56:35 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
9681
9682	* getopt1.c: Declare const the way getopt.c does.
9683
9684Fri Aug  6 17:03:13 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
9685
9686	* obstack.c, alloca.c: Update from FSF.
9687	* getopt.c, getopt1.c: Update to current FSF version, which
9688	doesn't use alloca.
9689
9690Tue Jul 27 14:03:57 1993  Brendan Kehoe  (brendan@lisa.cygnus.com)
9691
9692	* Makefile.in (demangle): Add the target with a message saying
9693	where demangle went.
9694
9695Mon Jul 26 15:49:54 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
9696
9697	* Makefile.in: Remove obsolete `demangle' target.
9698
9699Thu Jul 22 08:31:01 1993  Fred Fish  (fnf@deneb.cygnus.com)
9700
9701	* cplus-dem.c (arm_special):  Apply patch from arg@lucid.com to
9702	avoid infinite loop on vtbl symbols with disambiguating "junk"
9703	tacked on the end.
9704
9705Mon Jul 19 14:10:37 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
9706
9707	* strsignal.c: work around some systems losing definitions of
9708	sys_siglist
9709
9710	* config/mh-lynxos: this system has a losing definition of
9711	sys_siglist
9712
9713	* config.table: use mh-lynxos for *-*-lynxos
9714
9715Mon Jul 19 17:08:52 1993  Ken Raeburn  (raeburn@rtl.cygnus.com)
9716
9717	* config.table: Add support for HPPA BSD hosts.
9718
9719	* config/mh-hpbsd: New file.
9720
9721Mon Jul 12 18:00:40 1993  K. Richard Pixley  (rich@cygnus.com)
9722
9723	* Makefile.in (TAGS): make work when srcdir != objdir.
9724
9725Sun Jun 27 15:35:31 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
9726
9727	* cplus-dem.c (main): Add long options, including --help and
9728	--version.
9729	(usage): New function from code in main.
9730
9731Tue Jun 22 11:37:38 1993  Per Bothner  (bothner@deneb.cygnus.com)
9732
9733	* config.table:  New shell scipt, sourced by both ./configure,in
9734	and ../xiberty/configure.in, to avoid maintainance lossages.
9735	* configure.in and ../xiberty/configure.in:  Use config.table.
9736
9737	* configure.in: Don't use mh-aix for AIX 3.2, only for 3.1.
9738	* configure.in: Map *-*-irix* (except irix4) to mh-sysv.
9739	* ../xiberty/configure.in:  Update from ./configure.in.
9740
9741Tue Jun 15 17:05:31 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
9742
9743	* Makefile.in: remove parentdir support
9744
9745Wed May 26 12:59:09 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9746
9747	* cplus-dem.c (xrealloc):  Match definition with prototype.
9748
9749Tue May 25 14:27:51 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9750
9751	* cplus-dem.c (demangle_prefix):  Demangle cfront
9752	local variables as an extension to ARM demangling.
9753
9754Fri May 21 09:53:57 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
9755
9756	* ieee-float.c: Don't require pointers to double to be aligned.
9757
9758Tue May 18 17:12:10 1993  Fred Fish  (fnf@cygnus.com)
9759
9760	(merge changes from dlong@cse.ucsc.edu)
9761	* cplus-dem.c (consume_count):  Simplify.
9762	* cplus-dem.c (arm_pt, demangle_class_name):  New functions.
9763	* cplus-dem.c (various):  Calls to arm_pt, demangle_class_name.
9764
9765	* cplus-dem.c (xmalloc, xrealloc, strstr):  Make extern decls into
9766	full prototypes.
9767	* cplus-dem.c (free):  Add prototype.
9768	* cplus-dem.c (optable):  Fully bracketize initializer.
9769
9770Fri May 14 17:13:05 1993  Per Bothner  (bothner@cygnus.com)
9771
9772	* cplus-dem.c:  Whether initial underscores are stripped
9773	depends on the external variable prepends_underscore
9774	(which is generated by the binutils Makefile).
9775
9776Fri May 14 07:32:20 1993  Ken Raeburn  (raeburn@deneb.cygnus.com)
9777
9778	* cplus-dem.c (mop_up, arm_special): Remove some unused variables.
9779
9780Tue May  4 20:31:59 1993  Fred Fish  (fnf@cygnus.com)
9781
9782	* cplus-dem.c (consume_count):  Return zero if arg does not
9783	start with digit, and don't consume any input.
9784
9785Tue May  4 08:10:28 1993  Jim Kingdon  (kingdon@cygnus.com)
9786
9787	* Makefile.in (demangle): Use ${srcdir} not $^.
9788
9789	* strtod.c: New file, needed at least for BSD 4.3.
9790
9791Sun May  2 11:30:42 1993  Fred Fish  (fnf@cygnus.com)
9792
9793	* strsignal.c (sys_siglist):  For ANSI compilations, type is
9794	"const char *const".  Also remove conditionalization on __STDC__
9795	since const is defined away for non-ANSI.
9796
9797Wed Apr 28 19:29:55 1993  Ken Raeburn  (raeburn@deneb.cygnus.com)
9798
9799	* configure.in: Recognize *-*-hpux.
9800	* config/mh-hpux: New file.
9801
9802Tue Apr 27 15:22:19 1993  Per Bothner  (bothner@cygnus.com)
9803
9804	* tmpnam.c:  Added ANSI tmpnam() function.
9805	* functions.def, Makefile.in:  Update accordingly.
9806
9807Tue Apr 27 13:38:38 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9808
9809	* cplus-dem.c (demangle_function_name): Get the demangling of
9810	stop__1A right.
9811
9812Fri Apr 16 23:48:24 1993  Jim Kingdon  (kingdon at calvin)
9813
9814	* cplus-dem.c: Declare strstr return type.
9815
9816Fri Mar 26 12:01:26 1993  Jim Kingdon  (kingdon@cygnus.com)
9817
9818	* strsignal.c: Add some AIX signals.
9819
9820Thu Mar 25 15:17:23 1993  Ian Lance Taylor  (ian@cygnus.com)
9821
9822	* Makefile.in (MAKEOVERRIDES): Define to be empty.
9823
9824Wed Mar 24 01:59:25 1993  david d `zoo' zuhn  (zoo at poseidon.cygnus.com)
9825
9826	* Makefile.in: add installcheck & dvi targets
9827
9828Thu Mar 18 14:05:44 1993  Per Bothner  (bothner@rtl.cygnus.com)
9829
9830	* ieee-float.c:  New file, moved from ../gdb (since it is
9831	needed by ../opcode/m68k-dis.c).
9832
9833Tue Mar  2 17:47:31 1993  Fred Fish  (fnf@cygnus.com)
9834
9835	* cplus-dem.c:  Replace all references to cfront with ARM.
9836
9837Fri Feb 26 00:17:07 1993  Per Bothner  (bothner@rtl.cygnus.com)
9838
9839	* cplus-dem.c:  Fix main program (when compiled with -DMAIN)
9840	to be more useful as a filter.
9841
9842Sat Feb 20 21:41:39 1993  Brendan Kehoe  (brendan@lisa.cygnus.com)
9843
9844	* Makefile.in (install_to_libdir, install_to_tooldir): Go into the
9845	destination directory before running $(RANLIB), in case that
9846	program tries to create a file in the current directory as part of
9847	its work.
9848
9849Thu Feb 18 23:00:19 1993  John Gilmore  (gnu@cygnus.com)
9850
9851	* strsignal.c (sys_siglist):  Remove yet another *%^&%&$# "const"
9852	because BSD 4.4 lacks one.  Isn't this fun?
9853
9854Thu Feb 18 11:24:25 1993  Fred Fish  (fnf@cygnus.com)
9855
9856	* cplus-dem.c (demangle_signature):  Set func_done after
9857	demangling a template.
9858	* cplus-dem.c (demangle_template):  Fix several small bugs
9859	in demangling GNU style templates.
9860	* cplus-dem.c (demangle_prefix):  Fix for templates in GNU
9861	style constructors.
9862	* cplus-dem.c (gnu_special):  Fix for templates in GNU style
9863	static data members.
9864
9865Tue Feb 16 17:28:35 1993  Fred Fish  (fnf@cygnus.com)
9866
9867	* cplus-dem.c (demangle_signature):  Modify to include type
9868	modifiers like static and const in remembered types.
9869
9870Thu Feb 11 22:20:47 1993  Fred Fish  (fnf@cygnus.com)
9871
9872	* cplus-dem.c (demangled_qualified):  Add new parameter that tells
9873	whether to prepend or append the qualifiers.
9874	* cplus-dem.c (string_prepends):  Used now, remove #if 0.
9875	* cplus-dem.c (demangle_signature):  Call demangle_qualified
9876	with prepending.
9877	* cplus-dem.c (gnu_special):  Recognize static data members that
9878	use qualified names.
9879	* cplus-dem.c (demangle_qualified):  Accumulate qualifiers in a
9880	temporary buffer and the prepend or append them to the result,
9881	as specified by the new "append" flag.
9882	* cplus-dem.c (do_type):  Call demangled_qualified with
9883	appending.
9884
9885Mon Dec 28 10:47:19 1992  Ken Raeburn  (raeburn@cygnus.com)
9886
9887	* strsignal.c (signal_table): Now const.
9888	(init_signal_tables): Variable eip now points to const.
9889
9890	* strerror.c (error_table): Now const.
9891	(init_error_tables): Variable eip now points to const.
9892
9893Tue Dec 15 15:36:50 1992  Per Bothner  (bothner@cygnus.com)
9894
9895	* memchr.c (memchr):  New (ANSI standard) function.
9896	* Makefile.in, functions.def:  Added memchr.
9897	* Makefile.in (AR_FLAGS): Use rc instad of non-standard cq.
9898
9899Wed Dec  2 22:49:10 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
9900
9901	* getopt.c: remove use of USG around <alloca.h>, which never meant
9902	anything anyway
9903
9904	* config/mh-{aix,apollo68,ncr3000,sysv,sysv4}: removed definitions
9905	of USG and USGr4
9906
9907Thu Nov 19 03:09:33 1992  Brendan Kehoe  (brendan@lisa.cygnus.com)
9908
9909	* cplus-dem.c (demangle_fund_type): Recognize `w', a wide character;
9910	it's now a type according to the ANSI X3J16 working paper; output
9911	"wchar_t" for it.
9912	(demangle_template): Accept `w' as an integral type.
9913	(xmalloc, xrealloc): Use `char *', not `PTR'.  Cast calls to their
9914	counterparts malloc and realloc to `char *'.
9915	(main): Exit with a 0 status.
9916	* Makefile.in (demangle): Don't expect the user to define
9917	DEMANGLE, instead force to be cplus-dem.c.  Look in $(srcdir)/../include
9918	for demangle.h.  Pass it any HDEFINES or XTRAFLAGS.
9919
9920Wed Nov 18 18:56:20 1992  John Gilmore  (gnu@cygnus.com)
9921
9922	* Makefile.in (AR_FLAGS):  Avoid verbosity.
9923	* config/mh-sysv4:  Remove AR_FLAGS override, use INSTALL=cp,
9924	replace USGr4 with HAVE_SYSCONF.
9925	* config/mh-solaris:  Remove; mh-sysv4 works now.
9926	* getpagesize.c:  Replace USGr4 with HAVE_SYSCONF.
9927	* configure.in:  Simplify host matching table, remove separate
9928	solaris config file.
9929
9930Sun Nov 15 09:35:16 1992  Fred Fish  (fnf@cygnus.com)
9931
9932	* configure.in (i[34]86-*-solaris2*):  Add, use mh-sysv4.
9933
9934Tue Nov  3 21:27:03 1992  Brendan Kehoe  (brendan@cygnus.com)
9935
9936	* cplus-dem.c (xmalloc, xrealloc): Add decls.
9937	(remember_type): Don't cast xmalloc.
9938	(string_need): Likewise; don't cast xrealloc either.
9939
9940Fri Oct 23 08:52:01 1992  Ian Lance Taylor  (ian@cygnus.com)
9941
9942	* Makefile.in, functions.defs, rename.c: added simple
9943	implementation of rename, since some binutils programs use it.
9944
9945Thu Oct 15 15:18:22 1992  Per Bothner  (bothner@cygnus.com)
9946
9947	* strsignal.c:  Add appropriate 'const' to sys_siglist
9948	extern declaration (if __STDC__).  (Needed for Linux.)
9949	* strsignal.c (strsignal): Add cast to remove const-ness.
9950
9951Fri Oct  9 03:22:55 1992  John Gilmore  (gnu@cygnus.com)
9952
9953	* Makefile.in (needed.awk, needed2.awk):  Remove erroneous \'s
9954	before "'s, diagnosed by BSD 4.4 awk.
9955
9956Thu Oct  8 15:25:12 1992  Ian Lance Taylor  (ian@cygnus.com)
9957
9958	* Makefile.in: create config.h and needed-list through $(CONFIG_H)
9959	and $(NEEDED_LIST), to give some hooks for xiberty.
9960
9961Thu Oct  1 23:31:42 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
9962
9963	* configure.in: use cpu-vendor-triple instead of nested cases
9964
9965Wed Sep 30 11:26:59 1992  Per Bothner  (bothner@rtl.cygnus.com)
9966
9967	* Makefile.in, argv.c, basename.c, bcmp.c, bcopy.c, bzero.c,
9968	concat.c, cplus-dem.c, fdmatch.c, getcwd.c, getopt.c, getopt1.c,
9969	getpagesize.c, insque.c, memcmp.c, memcpy.c, memmove.c, memset.c,
9970	obstack.c, sigsetmask.c, spaces.c, strchr.c, strerror.c,
9971	strrchr.c, strsignal.c, strstr.c, vfork.c, vsprintf.c:
9972	Convert from using GPL to LGPL.
9973
9974Sat Sep 26 04:01:30 1992  John Gilmore  (gnu@cygnus.com)
9975
9976	* Makefile.in (errors):  Leave dummy.o and dummy around so that
9977	we can see how the needed list was generated (it's sometimes wrong).
9978	(mostlyclean):  Remove them.
9979
9980Mon Sep 21 14:50:42 1992  Ian Lance Taylor  (ian@cygnus.com)
9981
9982	* getcwd.c: supply a default if MAXPATHLEN is not defined.
9983
9984	* config/mh-irix4: set EXTRA_OFILES to alloca.o, from WRS.
9985
9986Wed Sep  9 12:41:48 1992  Ian Lance Taylor  (ian@cygnus.com)
9987
9988	* Makefile.in: Use XTRAFLAGS when compiling, so that xiberty works
9989	when cross-compiling.
9990
9991Thu Sep  3 13:29:39 1992  K. Richard Pixley  (rich@sendai.cygnus.com)
9992
9993	* cplus-dem.c: (demangle_prefix): reduction in strength of strstr
9994	  as a time optimization.
9995
9996	* cplus-dem.c (cplus_demangle): remove strpbrk test.  Appears to
9997	  be more expensive than simply demangling.
9998
9999	* cplus-dem.c (cplus_match): new function.
10000
10001Tue Sep  1 15:24:04 1992  Per Bothner  (bothner@rtl.cygnus.com)
10002
10003	* cplus-dem.c:  #include <stdio.h>, to define NULL.
10004	Define current_demangling_style.
10005
10006Sun Aug 30 17:58:19 1992  Per Bothner  (bothner@rtl.cygnus.com)
10007
10008	* cplus-dem.c:  New file, moved from ../gdb.
10009	* cplus-dem.c (set_cplus_marker_for_demangling):  New exported
10010	function, to avoid compiling in target-dependency for CPLUS_MARKER.
10011	* cplus-dem.c (cplus_demangle):  Allow demangling style option
10012	to be passed as a parameter, but using the global variable
10013	current_demangling_style as a default.
10014	* Makefile.in:  Update for cplus-dem.c
10015
10016Sat Aug 29 10:44:09 1992  Fred Fish  (fnf@cygnus.com)
10017
10018	* obstack.c:  Merge in comment changes from FSF version.  Now
10019	matches the FSF version exactly.
10020
10021Fri Aug 28 18:39:08 1992  John Gilmore  (gnu@cygnus.com)
10022
10023	* obstack.c (CALL_FREEFUN):  Can't use ?: with void values (at
10024	least on losing DECstations!); use if-then-else instead.
10025
10026Wed Aug 19 14:40:34 1992  Ian Lance Taylor  (ian@cygnus.com)
10027
10028	* Makefile.in: always create installation directories.
10029
10030Mon Aug 10 17:33:40 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
10031
10032	* Makefile.in: clean up definition of CFILES, more comments
10033
10034Sat Aug  8 23:10:59 1992  Fred Fish  (fnf@cygnus.com)
10035
10036	* getopt.c (my_index):  Make first arg const to match strchr,
10037	which it sometimes is remapped to.
10038
10039Sat Aug  1 13:48:50 1992  Fred Fish  (fnf@cygnus.com)
10040
10041	* obstack.c (DEFAULT_ALIGNMENT):  Update to match FSF version.
10042	* obstack.c (_obstack_begin):  Initialize use_extra_arg.
10043	* obstack.c (_obstack_begin_1):  New, from FSF version.
10044
10045Mon Jul 20 21:07:58 1992  Fred Fish  (fnf@cygnus.com)
10046
10047	* obstack.c (CALL_CHECKFUN, CALL_FREEFUN):  Use use_extra_arg and
10048	extra_arg.
10049	* obstack.c (_obstack_begin):  Remove area_id and flags arguments
10050	(previously added for mmalloc support, interface has changed).
10051	Also convert flags usage to use use_extra_arg and maybe_empty_object.
10052
10053Fri Jul 10 00:41:53 1992  Fred Fish  (fnf@cygnus.com)
10054
10055	* argv.c:  Move expandargv inline and eliminate static variables.
10056	Rewrite to always allocate in powers of two.  Fix to return an
10057	argv with a single null string arg if passed a null string.
10058
10059Fri Jul  3 20:27:29 1992  Fred Fish  (fnf@cygnus.com)
10060
10061	* random.c, sigsetmask.c, strerror.c, strsignal.c:  Remove
10062	"(void)" casts from function calls where the return value is
10063	ignored, in accordance with GNU coding standards.
10064
10065Mon Jun 29 10:54:19 1992  Fred Fish  (fnf at cygnus.com)
10066
10067	* bcopy.c, strerror.c, strsignal.c:  Lint.
10068
10069Thu Jun 25 09:18:41 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
10070
10071	* getopt.c: merge changes from make.
10072
10073Thu Jun 25 04:43:22 1992  John Gilmore  (gnu at cygnus.com)
10074
10075	* alloca.c:  Incorporate fixes from gdb/alloca.c.
10076	FIXME:  Eventually move gdb's alloca configuration files here,
10077	and remove gdb/alloca.c and its Makefile.in support.
10078
10079Tue Jun 23 21:56:30 1992  Fred Fish  (fnf@cygnus.com)
10080
10081	* dummy.c:  Define NOTHING to /*nothing*/, change return type
10082	of main to int and return zero.
10083	* functions.def:  Supply NOTHING as the fourth arg to macros
10084	that don't have an explicit arg, to satisfy picky preprocessors.
10085
10086Wed Jun 17 18:13:58 1992  Per Bothner  (bothner@rtl.cygnus.com)
10087
10088	* Makefile.in:  Clean up *clean rules, as per standards.texi.
10089
10090Tue Jun 16 16:11:59 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
10091
10092	* getopt.c, getopt1.c: merged largely gratuitous, mostly
10093	  whitespace diffs from other prep distributions.
10094
10095Mon Jun 15 12:25:46 1992  Fred Fish  (fnf@cygnus.com)
10096
10097	* config/mh-ncr3000 (INSTALL):  Don't use /usr/ucb/install,
10098	it is broken on ncr 3000's.
10099
10100Mon Jun 15 01:03:26 1992  John Gilmore  (gnu at cygnus.com)
10101
10102	* sigsetmask.c:  Rewrite.  Old one was very confused about its
10103	arguments and result.  New one can't do much, but at least knows
10104	what it can't do, and it's good enough for GDB's use.
10105
10106Sun Jun 14 15:17:40 1992  Stu Grossman  (grossman at cygnus.com)
10107
10108	* functions.def:  Use proper prototype for strtoul.
10109
10110Fri Jun 12 19:22:40 1992  John Gilmore  (gnu at cygnus.com)
10111
10112	* Makefile.in:  Add random.c.
10113	* config/mh-*:  Use "true" rather than "echo >/dev/null" for ranlib.
10114	* configure.in:  update solaris2 config.
10115
10116Wed Jun 10 16:31:29 1992  Fred Fish  (fnf@cygnus.com)
10117
10118	* random.c:  Add for random() and srandom().
10119	* functions.def:  Add random
10120
10121Tue Jun  9 17:27:18 1992  Fred Fish  (fnf@cygnus.com)
10122
10123	* config/{mh-ncr3000, mh-sysv4}:  Add definition for INSTALL
10124	using /usr/ucb/install.
10125
10126Mon Jun  1 13:20:17 1992  Per Bothner  (bothner@rtl.cygnus.com)
10127
10128	* strerror.c:  Kludge to guard against a conflict with
10129	possible declaration of sys_errlist in errno.h.
10130
10131Sun May 31 15:07:47 1992  Mark Eichin  (eichin at cygnus.com)
10132
10133	* configure.in, config/mh-solaris: add solaris2 config support.
10134
10135Fri May 29 17:23:23 1992  Per Bothner  (bothner@rtl.cygnus.com)
10136
10137	* sigsetmask.c:  #ifdef out sigsetmask if SIG_SETMASK
10138	is not defined (should be defined in signal.h, says Posix.).
10139
10140Mon May 18 17:35:04 1992  K. Richard Pixley  (rich@cygnus.com)
10141
10142	* getopt.c: merged changes from make-3.62.11.
10143
10144Fri May  8 14:53:07 1992  K. Richard Pixley  (rich@cygnus.com)
10145
10146	* getopt.c: merged changes from bison-1.18.
10147
10148Tue May  5 11:51:40 1992  Per Bothner  (bothner@rtl.cygnus.com)
10149
10150	* Makefile.in:  Don't have $(EXTRA_OFILES) depend on config.h,
10151	since that introduces a circular dependency.
10152	($(EXTRA_OFILES) are used to build config.h.)
10153
10154	* strtoul.c:  Fixes to handle non-decimal bases better.
10155
10156Wed Apr 22 09:27:51 1992  Fred Fish  (fnf@cygnus.com)
10157
10158	* config/mh-ncr3000:  Replace MINUS_G with CFLAGS.
10159	* Makefile.dos:  Finish MINUS_G eradication.
10160	* Makefile.in (CFILES):  Add strsignal.c.
10161	* Makefile.in (REQUIRED_OFILES):  Add strerror.o strsignal.o
10162	* Makefile.in (needed-list):  Split creation of errors file to
10163	separate make target.
10164	* Makefile.in (config.h, needed2.awk, errors):  New targets.
10165	* Makefile.in (clean):  Split to multiple lines, add needed2.awk
10166	and config.h.
10167	* dummy.c (DEFFUNC, DEFVAR):  Add defines and undefs.
10168	* functions.def (strerror):  Remove from optional list.
10169	* functions.def (sys_nerr, sys_errlist, sys_siglist):  DEFVAR's
10170	* functions.def (strerror, psignal):  DEFFUNC's
10171	* strerror.c:  Rewrite from scratch to use sys_errlist only if
10172	available, add errno_max(), add strerrno(), add strtoerrno(),
10173	add test driver.
10174	* strsignal.c:  New file, signal equivalent to strerror.c.
10175	Uses sys_siglist if available, defines signo_max(), strsignal(),
10176	strsigno(), strtosigno(), psignal(), and test driver.
10177
10178Mon Apr 20 20:49:32 1992  K. Richard Pixley  (rich@cygnus.com)
10179
10180	* Makefile.in: do not print recursion line.
10181
10182	* Makefile.in: allow CFLAGS to be passed in from command line.
10183	  Removed MINUS_G.  Default CFLAGS to -g.
10184
10185Mon Apr 20 12:57:46 1992  Per Bothner  (bothner@rtl.cygnus.com)
10186
10187	* config/mh-aix:  New.  EXTRA_OFILES lists copysign.o,
10188	so libg++ users don't have to be inconvenienced by a
10189	libc.a bug (libc.a needs copysign, but doesn't define it!).
10190	* configure.in:  Use config/mh-aix.
10191	* strtoul.c:  Handle '-' as required by ANSI.
10192	Clean up radix handling.
10193	* strstr.c:  Fix buggy algorithm.
10194	* Makefile.in:  Change so that ${EXTRA_OFILES} is
10195	appended to needed-list (which is used by libg++).
10196
10197Fri Apr 10 22:51:41 1992  Fred Fish  (fnf@cygnus.com)
10198
10199	* configure.in:  Recognize new ncr3000 config.
10200	* config/mh-ncr3000:  New config file.
10201
10202Wed Apr  1 23:31:43 1992  John Gilmore  (gnu at cygnus.com)
10203
10204	* argv.c, dummy.c:  Lint.
10205
10206Tue Mar 31 18:46:44 1992  Fred Fish  (fnf@cygnus.com)
10207
10208	* config/mh-sysv4:  New config file.
10209	* configure.in (host_makefile_frag):  Set to config/mh-sysv4 for
10210	host_os == sysv4.
10211	* getpagesize.c:  For SVR4, use sysconf(_SC_PAGESIZE) to get
10212	pagesize.
10213
10214Sun Mar 29 12:26:42 1992  John Gilmore  (gnu at cygnus.com)
10215
10216	* getopt.c:  Lint.
10217
10218Fri Mar 27 08:32:55 1992  Fred Fish  (fnf@cygnus.com)
10219
10220	* functions.def (alloca):  Fix return type and args to avoid
10221	type clash with gcc's builtin alloca.
10222
10223Tue Mar 24 23:33:42 1992  K. Richard Pixley  (rich@cygnus.com)
10224
10225	* configure.in, config/mh-irix4: irix4 support.
10226
10227	* Makefile.in, functions.def, alloca.c: added alloca.
10228
10229Tue Mar 24 17:34:46 1992  Stu Grossman  (grossman at cygnus.com)
10230
10231	* obstack.c (CALL_FREEFUN):  Make it compile on DECstations.
10232
10233Thu Mar 19 13:57:42 1992  Fred Fish  (fnf@cygnus.com)
10234
10235	* argv.c:  Fix various external function definitions to be
10236	correct in an ANSI compilation environment.
10237
10238Sat Mar 14 17:28:17 1992  Fred Fish  (fnf@cygnus.com)
10239
10240	* obstack.c:  Changes to support calling mmalloc functions,
10241	which take an additional argument over malloc functions.
10242
10243Fri Mar  6 22:01:10 1992  K. Richard Pixley  (rich@cygnus.com)
10244
10245	* added check target.
10246
10247Thu Feb 27 22:19:39 1992  Per Bothner  (bothner@cygnus.com)
10248
10249	* argv.c:  #include alloca-conf.h (needed by AIX).
10250
10251Wed Feb 26 18:04:40 1992  K. Richard Pixley  (rich@cygnus.com)
10252
10253	* Makefile.in, configure.in: removed traces of namesubdir,
10254	  -subdirs, $(subdir), $(unsubdir), some rcs triggers.  Forced
10255	  copyrights to '92, changed some from Cygnus to FSF.
10256
10257Sat Feb 22 01:09:21 1992  Stu Grossman  (grossman at cygnus.com)
10258
10259	* argv.c:  Check in Fred's version which fixes problems with
10260	alloca().
10261
10262Fri Feb  7 21:46:08 1992  Stu Grossman  (grossman at cygnus.com)
10263
10264	* makefile.dos:  Remove NUL to keep patch from failing.
10265
10266Thu Jan 30 22:48:41 1992  Stu Grossman  (grossman at cygnus.com)
10267
10268	* getopt.c (_getopt_internal):  Fix usage of enum has_arg.
10269
10270Mon Jan 20 18:53:23 1992  Stu Grossman  (grossman at cygnus.com)
10271
10272	* getopt.c, getopt1.c, ../include/getopt.h:  Get latest versions.
10273
10274Sat Jan 18 16:53:01 1992  Fred Fish  (fnf at cygnus.com)
10275
10276	* argv.c:  New file to build and destroy standard argument
10277	vectors from a command string.
10278
10279	* Makefile.in:  Add argv.c and argv.o to appropriate macros.
10280
10281Fri Dec 20 12:12:57 1991  Fred Fish  (fnf at cygnus.com)
10282
10283	* configure.in:  Change svr4 references to sysv4.
10284
10285	* rindex.c:  Declare return type of externally used function
10286	strrchr().
10287
10288Thu Dec 19 18:35:03 1991  John Gilmore  (gnu at cygnus.com)
10289
10290	* Makefile.in:  Remove "***" in normal output, since Make produces
10291	this on errors, and it's convenient to search for.
10292
10293Tue Dec 17 23:21:30 1991  Per Bothner  (bothner at cygnus.com)
10294
10295	* memcmp.c, memcpy.c, memmove.c, memset.c, strchr.c, strrchr.c:
10296	New ANSI functions.  The old non-ANSI functions (such as bcopy)
10297	should be avoided.
10298	* bcopy.c:  Fix to correctly handle overlapping regions.
10299	* index.c, rindex.c:  Re-write in terms of strchr() and strrchr().
10300	* functions.def:  Add the new functions.
10301	* functions.def:  Add 4th parameter to DEF macro,
10302	an ansidecl.h-style prototype.
10303	* dummy.c:  Use expanded DEF macro to create a dummy function
10304	call, with correct parameter types.  (This avoids some
10305	complaints from gcc about predefined builtins.)
10306
10307	Move the functionality of config/mh-default into Makefile.in.
10308	This avoid duplication, and simplifies things slightly.
10309	* Makefile.in:  Tweak so we don't need config/mh-default.
10310	* README:  Update.
10311	* configure.in:  No longer need config/mh-default.
10312	* config/mh-default:  Deleted.
10313	* config/mh-sysv:  Remove lines copied from old mh-default.
10314
10315Tue Dec 17 05:46:46 1991  John Gilmore  (gnu at cygnus.com)
10316
10317	* fdmatch.c (fdmatch):  Don't compare st_rdev, which is for
10318	'mknod' device numbers.
10319
10320Mon Dec 16 12:25:34 1991  Fred Fish  (fnf at cygnus.com)
10321
10322	* fdmatch.c, Makefile.in:  Add new function that takes two
10323	open file descriptors and returns nonzero if they refer to
10324	the same file, zero otherwise.  (used in gdb)
10325
10326Wed Dec 11 17:40:39 1991  Steve Chamberlain  (sac at rtl.cygnus.com)
10327	From DJ:
10328	* msdos.c: stub functions for dos.
10329	* makefile.dos, configdj.bat: new.
10330	* getopt.c: Don't include alloca-conf.h in a GO32 world.
10331
10332
10333Tue Dec 10 04:14:49 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
10334
10335	* Makefile.in: infodir belongs in datadir.
10336
10337Fri Dec  6 23:26:45 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
10338
10339	* Makefile.in: remove spaces following hyphens because bsd make
10340	  can't cope.  added standards.text support.  install using
10341	  INSTALL_DATA.
10342
10343	* configure.in: remove commontargets as it is no longer a
10344	  recognized hook.
10345
10346Thu Dec  5 22:46:46 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
10347
10348	* Makefile.in: idestdir and ddestdir go away.  Added copyrights
10349	  and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
10350	  and mandir now keyed off datadir by default.
10351
10352Fri Nov 22 19:15:29 1991  John Gilmore  (gnu at cygnus.com)
10353
10354	* Makefile.in:  find-needed.awk does not fit in 14 chars.
10355
10356	* Makefile.in:  Suppress error checking when compiling the test
10357	program, because Ultrix make/sh aborts there due to a bug.
10358
10359Fri Nov 22 12:23:17 1991  Per Bothner  (bothner at cygnus.com)
10360
10361	* Makefile.in:  Re-did how EXTRA_OFILES is used to be more useful.
10362	* README:  Explained how the auto-configuration works,
10363	and how to add new files and/or configurations.
10364
10365Fri Nov 22 09:45:23 1991  John Gilmore  (gnu at cygnus.com)
10366
10367	* strtoul.c:  Avoid defining ULONG_MAX if already defined;
10368	cast a const char * to char * for pedants.
10369
10370	* getopt.c:  Only define "const" after local include files get to,
10371	and only if they haven't defined it.
10372
10373Thu Nov 21 16:58:53 1991  John Gilmore  (gnu at cygnus.com)
10374
10375	* getcwd.c (remove getwd.c): GNU code should call getcwd().  We
10376	emulate it with getwd() if available.  This avoids callers having
10377	to find a MAXPATHLEN or PATH_MAX value from somewhere.
10378	* Makefile.in, functions.def:  getwd->getcwd.
10379	* configure.in:  Use generic case for every system.
10380	* config/mh-{delta88,mach,rs6000,svr4}:  Remove.
10381	* config/mh-sysv:  Use default handling, just add -DUSG.
10382
10383Thu Nov 14 10:58:05 1991  Per Bothner  (bothner at cygnus.com)
10384
10385	* Makefile.in, config/mh-default: Re-do make magic
10386	so that for the default ("automatic") mode we only
10387	compile the files we actually need.  Do this using
10388	a recursive make:  The top-level generates the list
10389	of needed files (loosely, the ones missing in libc),
10390	and then passes that list to the recursive make.
10391	* config/mh-mach:  Remove obsolete STRERROR-{C,O} macros.
10392
10393Tue Nov 12 19:10:57 1991  John Gilmore  (gnu at cygnus.com)
10394
10395	RS/6000 host support (grumble).
10396
10397	* configure.in:  Build alloca-conf.h file from alloca-norm.h
10398	(everything else) or alloca-botch.h (rs/6000).
10399	* Makefile.in:  Include . on the include path.
10400	* getopt.c:  Use alloca-conf.h.
10401	* alloca-norm.h:  How to declare alloca on reasonable machines.
10402	* alloca-botch.h: How to declare alloca on braindead machines.
10403
10404Tue Nov 12 09:21:48 1991  Fred Fish  (fnf at cygnus.com)
10405
10406	* concat.c :  New file, like concat() in gdb but can take a
10407	variable number of arguments rather than fixed at 3 args.  For
10408	now, client applications must supply an xmalloc(), which is a
10409	front end function to malloc() that deals with out-of-memory
10410	conditions.
10411
10412	* Makefile.in:  Add concat.c and concat.o to appropriate macros.
10413
10414Sat Nov  9 13:29:59 1991  Fred Fish  (fnf at cygnus.com)
10415
10416	* config/mh-svr4:  Add sigsetmask to list of required functions.
10417
10418Sun Nov  3 11:57:56 1991  Per Bothner  (bothner at cygnus.com)
10419
10420	* vsprintf.c:  New file.
10421	* functions.def, Makefile.in:  Add vsprintf.
10422
10423Sun Oct 27 16:31:22 1991  John Gilmore  (gnu at cygnus.com)
10424
10425	* configure.in, config/mh-rs6000:  Add rs/6000 host support.
10426	* Makefile.in:  Compile with debug info.
10427
10428Fri Oct 25 17:01:12 1991  Per Bothner  (bothner at cygnus.com)
10429
10430	* Makefile.in, configure.in, and new files: dummy.c, functions.def,
10431	config/mf-default:  Added a default configuration mode,
10432	which includes into libiberty.a functions that are "missing" in libc.
10433	* strdup.c, vprintf.c, vfprintf.c: New files.
10434
10435Thu Oct 24 02:29:26 1991  Fred Fish  (fnf at cygnus.com)
10436
10437	* config/hmake-svr4: New file.
10438
10439	* config/hmake-sysv: Add HOST_CFILES and HOST_OFILES.
10440
10441	* basename.c, bcmp.c, bcopy.c, bzero.c, getpagesize.c getwd.c,
10442	index.c, insque.c, rindex.c, spaces.c, strstr.c, vfork.c: New
10443	files containing either portable C versions or emulations using
10444	native library calls.
10445
10446	* strerror.c:  Add copyright, internal documentation, etc.
10447
10448	* strtol.c:  Replace hardwired hex constants with some more
10449	portable macros.  Remove illegal (according to gcc) cast.
10450
10451	* strtoul.c: Replace hardwired hex constant with more portable
10452	macro.
10453
10454	* Makefile.in: Move TARGETLIB and CFLAGS where makefile fragments
10455	can override them.  Add new source and object file names to CFILES
10456	and OFILES respectively.
10457
10458	* configure.in: Add support for SVR4 makefile fragments.
10459
10460Tue Oct 22 19:00:23 1991  Steve Chamberlain  (steve at cygnus.com)
10461
10462	* Makefile.in: Move RANLIB, AR and AR_FLAGS to where they can be
10463	over-ridden by config/hmake-*
10464	* configure.in: added m88kcvs to sysv list
10465
10466Fri Oct  4 01:29:08 1991  John Gilmore  (gnu at cygnus.com)
10467
10468	* Makefile.in:  Most hosts need strerror, but one or two don't,
10469	and they override these definitions in the host-dependent makefile
10470	fragment.
10471	* config/hmake-mach:  The odd man out on strerror -- it's supplied.
10472	* strerror.c:  New file.
10473
10474	* strtol.c, strtoul.c:  Add strtol to libiberty, since Mach lacks
10475	it and bfd uses it.
10476	* configure.in, Makefile.in, config/hmake-mach:  Only configure
10477	strtol & strotoul in on Mach.
10478
10479Tue Sep  3 06:36:23 1991  John Gilmore  (gnu at cygint.cygnus.com)
10480
10481	* obstack.c:  Merge with latest FSF version.
10482
10483
10484Local Variables:
10485version-control: never
10486End:
10487