ChangeLog revision 1.1.1.25 1 2026-06-26 Release Manager
2
3 * GCC 14.4.0 released.
4
5 2026-03-15 Jakub Jelinek <jakub (a] redhat.com>
6
7 Backported from master:
8 2026-03-05 Jakub Jelinek <jakub (a] redhat.com>
9
10 PR target/124365
11 * simple-object.c (handle_lto_debug_sections): Also copy over
12 .ARM.attributes section.
13
14 2025-05-23 Release Manager
15
16 * GCC 14.3.0 released.
17
18 2024-09-12 Jakub Jelinek <jakub (a] redhat.com>
19
20 Backported from master:
21 2024-09-07 Jakub Jelinek <jakub (a] redhat.com>
22
23 PR lto/116614
24 * simple-object-elf.c (SHN_COMMON): Align comment with neighbouring
25 comments.
26 (SHN_HIRESERVE): Use uppercase hex digits instead of lowercase for
27 consistency.
28 (simple_object_elf_find_sections): Formatting fixes.
29 (simple_object_elf_fetch_attributes): Likewise.
30 (simple_object_elf_attributes_merge): Likewise.
31 (simple_object_elf_start_write): Likewise.
32 (simple_object_elf_write_ehdr): Likewise.
33 (simple_object_elf_write_shdr): Likewise.
34 (simple_object_elf_write_to_file): Likewise.
35 (simple_object_elf_copy_lto_debug_section): Likewise. Don't fail for
36 new_i - 1 >= SHN_LORESERVE, instead arrange in that case to copy
37 over .symtab_shndx sections, though emit those last and compute their
38 section content when processing associated .symtab sections. Handle
39 simple_object_internal_read failure even in the .symtab_shndx reading
40 case.
41
42 2024-08-01 Release Manager
43
44 * GCC 14.2.0 released.
45
46 2024-05-07 Release Manager
47
48 * GCC 14.1.0 released.
49
50 2024-04-02 Tom Tromey <tom (a] tromey.com>
51
52 * cplus-dem.c (cplus_demangle): Try the D demangler with
53 "auto" format.
54 * testsuite/d-demangle-expected: Add --format=auto test.
55
56 2024-04-02 Jakub Jelinek <jakub (a] redhat.com>
57
58 * regex.c (byte_re_match_2_internal): Fix duplicated words in comment;
59 next next -> next.
60 * dyn-string.c (dyn_string_init): Fix duplicated words in comment;
61 of of -> of.
62
63 2024-02-19 Iain Sandoe <iain (a] sandoe.co.uk>
64
65 PR other/113957
66 * pex-unix.c (pex_unix_exec_child): Set pid = -1 in the error
67 paths, since that is used to signal an erroneous outcome for
68 the routine.
69
70 2024-02-15 Richard Biener <rguenther (a] suse.de>
71
72 * hashtab.c (iterative_hash): Remove TBAA violating handling
73 of aligned little-endian case in favor of just keeping the
74 aligned case special-cased. Use | for composing a larger word.
75
76 2024-02-12 Jakub Jelinek <jakub (a] redhat.com>
77
78 * vprintf-support.c (libiberty_vprintf_buffer_size): Handle
79 properly l, ll, z, t or on _WIN32 I64 modifiers for diouxX
80 and L modifier for fFgGeE.
81
82 2024-01-13 Jakub Jelinek <jakub (a] redhat.com>
83
84 * cp-demangle.c (FNQUAL_COMPONENT_CASE): Add case for
85 DEMANGLE_COMPONENT_XOBJ_MEMBER_FUNCTION.
86 (d_dump): Handle DEMANGLE_COMPONENT_XOBJ_MEMBER_FUNCTION.
87 (d_nested_name): Parse H after N in nested name.
88 (d_count_templates_scopes): Handle
89 DEMANGLE_COMPONENT_XOBJ_MEMBER_FUNCTION.
90 (d_print_mod): Likewise.
91 (d_print_function_type): Likewise.
92 * testsuite/demangle-expected: Add tests for explicit object
93 member functions.
94
95 2023-12-05 Jakub Jelinek <jakub (a] redhat.com>
96
97 * configure.ac (HAVE_X86_SHA1_HW_SUPPORT): Verify __get_cpuid and
98 __get_cpuid_count are not implicitly declared.
99 * configure: Regenerated.
100
101 2023-12-05 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
102
103 * pex-unix.c (pex_unix_wait): Change return type to pid_t.
104
105 2023-12-01 Jason Merrill <jason (a] redhat.com>
106
107 * cp-demangle.c (d_make_comp): Handle
108 DEMANGLE_COMPONENT_CONSTRAINTS.
109 (d_count_templates_scopes): Likewise.
110 (d_print_comp_inner): Likewise.
111 (d_maybe_constraints): New.
112 (d_encoding, d_template_args_1): Call it.
113 (d_parmlist): Handle 'Q'.
114 * testsuite/demangle-expected: Add some constraint tests.
115
116 2023-11-30 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
117
118 * configure.ac (GCC_CHECK_ASSEMBLER_HWCAP): Invoke.
119 * configure, aclocal.m4: Regenerate.
120 * Makefile.in (COMPILE.c): Add HWCAP_CFLAGS.
121
122 2023-11-28 Jakub Jelinek <jakub (a] redhat.com>
123
124 * configure.ac (HAVE_X86_SHA1_HW_SUPPORT): New check.
125 * sha1.c: If HAVE_X86_SHA1_HW_SUPPORT is defined, include x86intrin.h
126 and cpuid.h.
127 (sha1_hw_process_bytes, sha1_hw_process_block,
128 sha1_choose_process_bytes): New functions.
129 * config.in: Regenerated.
130 * configure: Regenerated.
131
132 2023-11-15 Mark Wielaard <mjw (a] redhat.com>
133
134 * aclocal.m4: Rebuild.
135
136 2023-11-10 Brendan Shanks <bshanks (a] codeweavers.com>
137
138 * configure.ac (AC_CHECK_HEADERS): Add spawn.h.
139 (checkfuncs): Add posix_spawn, posix_spawnp.
140 (AC_CHECK_FUNCS): Add posix_spawn, posix_spawnp.
141 * aclocal.m4, configure, config.in: Rebuild.
142 * pex-unix.c [HAVE_POSIX_SPAWN] (pex_unix_exec_child): New function.
143
144 2023-08-22 Jason Merrill <jason (a] redhat.com>
145
146 PR c++/109751
147 * cp-demangle.c (d_make_comp): Handle DEMANGLE_COMPONENT_FRIEND.
148 (d_count_templates_scopes): Likewise.
149 (d_print_comp_inner): Likewise.
150 (d_unqualified_name): Handle member-like friend mangling.
151 * testsuite/demangle-expected: Add test.
152
153 2023-08-07 John Ericson <git (a] JohnEricson.me>
154
155 * configure: Regenerate.
156
157 2023-08-07 H.J. Lu <hjl.tools (a] gmail.com>
158
159 * configure: Regenerate.
160
161 2023-08-07 H.J. Lu <hjl.tools (a] gmail.com>
162
163 * Makefile.in (AR): Add @AR_PLUGIN_OPTION@
164 (RANLIB): Add @RANLIB_PLUGIN_OPTION@.
165 (configure_deps): Depend on ../config/gcc-plugin.m4.
166 * configure.ac: AC_SUBST AR_PLUGIN_OPTION and
167 RANLIB_PLUGIN_OPTION.
168 * aclocal.m4: Regenerated.
169 * configure: Likewise.
170
171 2023-06-15 Marek Polacek <polacek (a] redhat.com>
172
173 * configure.ac: Also set shared when enable_host_pie.
174 * configure: Regenerate.
175
176 2023-06-13 Nathan Sidwell <nathan (a] acm.org>
177
178 * cp-demangle.c (d_print_conversion): Remove incorrect
179 template instantiation handling.
180 * testsuite/demangle-expected: Add testcases.
181
182 2023-06-07 Costas Argyris <costas.argyris (a] gmail.com>
183
184 * argv.c (writeargv): Constant propagate "0" for "status",
185 simplifying the code slightly.
186
187 2023-06-06 Costas Argyris <costas.argyris (a] gmail.com>
188
189 * argv.c (writeargv): Simplify & remove gotos.
190
191 2023-06-05 Costas Argyris <costas.argyris (a] gmail.com>
192
193 * pex-win32.c: fix typos.
194
195 2023-06-05 Costas Argyris <costas.argyris (a] gmail.com>
196
197 * pex-win32.c (win32_spawn): Check command line length
198 and generate a response file if necessary.
199 (spawn_script): Adjust parameters.
200 (pex_win32_exec_child): Ditto.
201
202 2023-06-03 Patrick Palka <ppalka (a] redhat.com>
203
204 PR c++/70790
205 * cp-demangle.c (cplus_demangle_operators): Add the noexcept
206 operator.
207 (d_print_comp_inner) <case DEMANGLE_COMPONENT_UNARY>: Always
208 print parens around the operand of noexcept too.
209 * testsuite/demangle-expected: Test noexcept operator
210 demangling.
211
212 2023-04-02 Jakub Jelinek <jakub (a] redhat.com>
213
214 PR other/109306
215 * strstr.c: Revert the 2020-11-13 changes.
216 (strstr): Return s1 if len is 0.
217
218 2023-03-30 Gerald Pfeifer <gerald (a] pfeifer.com>
219
220 * obstacks.texi (Preparing for Obstacks): Remove a (broken)
221 reference to the Glibc manual.
222
223 2023-03-03 Costas Argyris <costas.argyris (a] gmail.com>
224
225 * pex-win32.c (win32_spawn): Fix memory leak of cmdline
226 buffer and refactor to have cleanup code appear once
227 for all exit cases.
228
229 2023-02-11 niXman <i.nixman (a] autistici.org>
230
231 * lrealpath.c (lrealpath): try to resolve symlink and
232 use UNC paths where applicable.
233
234 2023-01-07 LIU Hao <lh_mouse (a] 126.com>
235
236 PR middle-end/108300
237 * make-temp-file.c: Define `WIN32_LEAN_AND_MEAN` before <windows.h>.
238 * pex-win32.c: Likewise.
239
240 2022-11-23 Marek Polacek <polacek (a] redhat.com>
241
242 Revert:
243 2022-11-23 Marek Polacek <polacek (a] redhat.com>
244
245 * configure.ac: Also set shared when enable_host_pie.
246 * configure: Regenerate.
247
248 2022-11-23 Marek Polacek <polacek (a] redhat.com>
249
250 * configure.ac: Also set shared when enable_host_pie.
251 * configure: Regenerate.
252
253 2022-11-15 Nathan Sidwell <nathan (a] acm.org>
254
255 * cp-demangle.c (struct d_print_info): Rename is_lambda_arg to
256 lambda_tpl_parms. Augment semantics.
257 (d_make_comp): Add checks for new components.
258 (d_template_parm, d_template_head): New.
259 (d_lambda): Add templated lambda support.
260 (d_print_init): Adjust.
261 (d_print_lambda_parm_name): New.
262 (d_print_comp_inner): Support templated lambdas,
263 * testsuite/demangle-expected: Add testcases.
264
265 2022-11-14 Martin Liska <mliska (a] suse.cz>
266
267 Revert:
268 2022-11-14 Martin Liska <mliska (a] suse.cz>
269
270 * doc/bsd.rst: New file.
271 * doc/conf.py: New file.
272 * doc/copyright.rst: New file.
273 * doc/extensions.rst: New file.
274 * doc/function-variable-and-macro-listing.rst: New file.
275 * doc/index.rst: New file.
276 * doc/indices-and-tables.rst: New file.
277 * doc/introduction.rst: New file.
278 * doc/lesser-general-public-license-2.1.rst: New file.
279 * doc/overview.rst: New file.
280 * doc/replacement-functions.rst: New file.
281 * doc/supplemental-functions.rst: New file.
282 * doc/using.rst: New file.
283
284 2022-11-14 Martin Liska <mliska (a] suse.cz>
285
286 Revert:
287 2022-11-14 Martin Liska <mliska (a] suse.cz>
288
289 * Makefile.in: Support Sphinx based documentation.
290
291 2022-11-14 Martin Liska <mliska (a] suse.cz>
292
293 Revert:
294 2022-11-14 Martin Liska <mliska (a] suse.cz>
295
296 * at-file.texi: Removed.
297 * copying-lib.texi: Removed.
298 * functions.texi: Removed.
299 * libiberty.texi: Removed.
300 * obstacks.texi: Removed.
301
302 2022-11-14 Martin Liska <mliska (a] suse.cz>
303
304 Revert:
305 2022-11-14 Martin Liska <mliska (a] suse.cz>
306
307 * Makefile.in: Support --with-sphinx-build.
308 * configure.ac: Likewise.
309 * configure: Regenerate.
310
311 2022-11-14 Martin Liska <mliska (a] suse.cz>
312
313 Revert:
314 2022-11-14 Martin Liska <mliska (a] suse.cz>
315
316 * doc/bsd.rst:
317 Add trailing newline.
318 * doc/copyright.rst:
319 Add trailing newline.
320 * doc/extensions.rst:
321 Add trailing newline.
322 * doc/function-variable-and-macro-listing.rst:
323 Add trailing newline.
324 * doc/index.rst:
325 Add trailing newline.
326 * doc/indices-and-tables.rst:
327 Add trailing newline.
328 * doc/introduction.rst:
329 Add trailing newline.
330 * doc/lesser-general-public-license-2.1.rst:
331 Add trailing newline.
332 * doc/overview.rst:
333 Add trailing newline.
334 * doc/replacement-functions.rst:
335 Add trailing newline.
336 * doc/supplemental-functions.rst:
337 Add trailing newline.
338 * doc/using.rst:
339 Add trailing newline.
340
341 2022-11-14 Martin Liska <mliska (a] suse.cz>
342
343 Revert:
344 2022-11-14 Martin Liska <mliska (a] suse.cz>
345
346 * doc/conf.py: Add newline at last line.
347
348 2022-11-14 Martin Liska <mliska (a] suse.cz>
349
350 Revert:
351 2022-11-14 Martin Liska <mliska (a] suse.cz>
352
353 PR other/107620
354 * configure: Regenerate.
355 * configure.ac: Always set sphinx-build.
356
357 2022-11-13 Martin Liska <mliska (a] suse.cz>
358
359 PR other/107620
360 * configure: Regenerate.
361 * configure.ac: Always set sphinx-build.
362
363 2022-11-10 Martin Liska <mliska (a] suse.cz>
364
365 * doc/conf.py: Add newline at last line.
366
367 2022-11-09 Martin Liska <mliska (a] suse.cz>
368
369 * doc/bsd.rst:
370 Add trailing newline.
371 * doc/copyright.rst:
372 Add trailing newline.
373 * doc/extensions.rst:
374 Add trailing newline.
375 * doc/function-variable-and-macro-listing.rst:
376 Add trailing newline.
377 * doc/index.rst:
378 Add trailing newline.
379 * doc/indices-and-tables.rst:
380 Add trailing newline.
381 * doc/introduction.rst:
382 Add trailing newline.
383 * doc/lesser-general-public-license-2.1.rst:
384 Add trailing newline.
385 * doc/overview.rst:
386 Add trailing newline.
387 * doc/replacement-functions.rst:
388 Add trailing newline.
389 * doc/supplemental-functions.rst:
390 Add trailing newline.
391 * doc/using.rst:
392 Add trailing newline.
393
394 2022-11-09 Martin Liska <mliska (a] suse.cz>
395
396 * Makefile.in: Support --with-sphinx-build.
397 * configure.ac: Likewise.
398 * configure: Regenerate.
399
400 2022-11-09 Martin Liska <mliska (a] suse.cz>
401
402 * at-file.texi: Removed.
403 * copying-lib.texi: Removed.
404 * functions.texi: Removed.
405 * libiberty.texi: Removed.
406 * obstacks.texi: Removed.
407
408 2022-11-09 Martin Liska <mliska (a] suse.cz>
409
410 * Makefile.in: Support Sphinx based documentation.
411
412 2022-11-09 Martin Liska <mliska (a] suse.cz>
413
414 * doc/bsd.rst: New file.
415 * doc/conf.py: New file.
416 * doc/copyright.rst: New file.
417 * doc/extensions.rst: New file.
418 * doc/function-variable-and-macro-listing.rst: New file.
419 * doc/index.rst: New file.
420 * doc/indices-and-tables.rst: New file.
421 * doc/introduction.rst: New file.
422 * doc/lesser-general-public-license-2.1.rst: New file.
423 * doc/overview.rst: New file.
424 * doc/replacement-functions.rst: New file.
425 * doc/supplemental-functions.rst: New file.
426 * doc/using.rst: New file.
427
428 2022-10-18 Florian Weimer <fweimer (a] redhat.com>
429
430 * acinclude.m4 (ac_cv_func_strncmp_works): Add missing
431 int return type and parameter list to the definition of main.
432 Include <stdlib.h> and <string.h> for prototypes.
433 (ac_cv_c_stack_direction): Add missing
434 int return type and parameter list to the definitions of
435 main, find_stack_direction. Include <stdlib.h> for exit
436 prototype.
437 * configure: Regenerate.
438
439 2022-10-14 Jakub Jelinek <jakub (a] redhat.com>
440
441 * cp-demangle.h (D_BUILTIN_TYPE_COUNT): Increment.
442 * cp-demangle.c (cplus_demangle_builtin_types): Add std::bfloat16_t
443 entry.
444 (cplus_demangle_type): Demangle DF16b.
445 * testsuite/demangle-expected (_Z3xxxDF16b): New test.
446
447 2022-10-11 Nathan Sidwell <nathan (a] acm.org>
448
449 * cp-demangle.c (d_prefix): 'M' components are not
450 (re-)added to the substitution table.
451 * testsuite/demangle-expected: Add tests.
452
453 2022-10-07 Nathan Sidwell <nathan (a] acm.org>
454
455 * cp-demangle.c (d_print_comp_inner): Allow parameter packs
456 in a lambda signature.
457 * testsuite/demangle-expected: Add tests.
458
459 2022-09-27 Jakub Jelinek <jakub (a] redhat.com>
460
461 PR c++/106652
462 PR c++/85518
463 * cp-demangle.c (d_dump): Handle
464 DEMANGLE_COMPONENT_EXTENDED_BUILTIN_TYPE. Don't handle
465 DEMANGLE_COMPONENT_FIXED_TYPE.
466 (d_make_extended_builtin_type): New function.
467 (cplus_demangle_builtin_types): Add _Float entry.
468 (cplus_demangle_type): For DF demangle it as _Float<N> or
469 _Float<N>x rather than fixed point which conflicts with it.
470 (d_count_templates_scopes): Handle
471 DEMANGLE_COMPONENT_EXTENDED_BUILTIN_TYPE. Just break; for
472 DEMANGLE_COMPONENT_FIXED_TYPE.
473 (d_find_pack): Handle DEMANGLE_COMPONENT_EXTENDED_BUILTIN_TYPE.
474 Don't handle DEMANGLE_COMPONENT_FIXED_TYPE.
475 (d_print_comp_inner): Likewise.
476 * cp-demangle.h (D_BUILTIN_TYPE_COUNT): Bump.
477 * testsuite/demangle-expected: Replace _Z3xxxDFyuVb test
478 with _Z3xxxDF16_DF32_DF64_DF128_CDF16_Vb. Add
479 _Z3xxxDF32xDF64xDF128xCDF32xVb test.
480
481 2022-09-22 Jonathan Wakely <jwakely (a] redhat.com>
482
483 * README: Replace gcc-bugs email address with Bugzilla URL.
484
485 2022-08-25 Martin Liska <mliska (a] suse.cz>
486
487 * configure: Regenerate.
488
489 2022-07-22 Martin Liska <mliska (a] suse.cz>
490
491 PR other/106370
492 * _doprnt.c: Remove continue as last stmt
493 in a loop.
494
495 2022-07-14 Martin Liska <mliska (a] suse.cz>
496
497 * functions.texi: Replace strtoul with strtoull.
498
499 2022-07-04 Nick Clifton <nickc (a] redhat.com>
500
501 * rust-demangle.c (demangle_const): Add a missing goto pass_return
502 at the end of the function.
503
504 2022-07-04 Nick Clifton <nickc (a] redhat.com>
505
506 * rust-demangle.c (demangle_path_maybe_open_generics): Add
507 recursion limit.
508
509 2022-07-01 Nick Clifton <nickc (a] redhat.com>
510
511 PR demangler/105039
512 * rust-demangle.c (demangle_const): Add recursion limit.
513
514 2022-06-26 Simon Marchi <simon.marchi (a] efficios.com>
515
516 * configure.ac: Add AC_CONFIG_MACRO_DIRS call.
517 * configure: Re-generate.
518
519 2022-05-23 Nathan Sidwell <nathan (a] acm.org>
520
521 * cp-demangle.c (d_make_comp): Adjust.
522 (d_name, d_prefix): Adjust subst handling. Add module handling.
523 (d_maybe_module_name): New.
524 (d_unqualified_name): Add incoming module parm. Handle it. Adjust all callers.
525 (d_special_name): Add 'GI' support.
526 (d_count_template_scopes): Adjust.
527 (d_print_comp_inner): Print module.
528 * testsuite/demangle-expected: New test cases
529
530 2022-05-18 Nathan Sidwell <nathan (a] acm.org>
531
532 * cp-demangle.c (d_name): Add SUBSTABLE parameter,
533 push substitution if requested. Adjust unscoped name handling.
534 (d_prefix): Reorder main loop. Adjust all calls.
535 (d_unqualified_name): Add SCOPE parameter, create qualified
536 name here. Adjust all calls.
537 (cplus_demangle_type): Do not handle 'S' here, leave all
538 to d_class_enum_type.
539 (d_class_enum_type): Add SUBSTABLE parameter.
540
541 2022-05-17 Nathan Sidwell <nathan (a] acm.org>
542
543 * cp-demangle.c (d_make_comp): Adjust.
544 (d_unqualified_name): Add 'DC' support.
545 (d_count_template_scopes): Adjust.
546 (d_print_comp_inner): Add structured binding.
547 * testsuite/demangle-expected: Add testcases.
548
549 2022-05-10 Martin Liska <mliska (a] suse.cz>
550
551 * regex.c: Restore comments.
552
553 2022-05-10 Martin Liska <mliska (a] suse.cz>
554 Alan Modra <amodra (a] gmail.com>
555
556 * hashtab.c (htab_empty): Use void * type instead of void **.
557 (htab_expand): Likewise.
558
559 2022-05-10 Martin Liska <mliska (a] suse.cz>
560
561 * random.c: Remove 'define PTR'.
562
563 2022-05-10 Martin Liska <mliska (a] suse.cz>
564
565 * alloca.c (C_alloca): Use void * instead PTR.
566 * calloc.c (malloc): Likewise.
567 (bzero): Likewise.
568 (calloc): Likewise.
569 * hashtab.c (find_empty_slot_for_expand): Likewise.
570 (eq_pointer): Likewise.
571 (htab_create_alloc_ex): Likewise.
572 (htab_create_typed_alloc): Likewise.
573 (htab_set_functions_ex): Likewise.
574 (htab_delete): Likewise.
575 (htab_empty): Likewise.
576 (htab_expand): Likewise.
577 (htab_find_with_hash): Likewise.
578 (htab_find): Likewise.
579 (htab_find_slot_with_hash): Likewise.
580 (htab_find_slot): Likewise.
581 (htab_remove_elt): Likewise.
582 (htab_remove_elt_with_hash): Likewise.
583 (htab_clear_slot): Likewise.
584 (htab_traverse_noresize): Likewise.
585 (htab_traverse): Likewise.
586 (htab_hash_string): Likewise.
587 (iterative_hash): Likewise.
588 (hash_pointer): Likewise.
589 * memchr.c (memchr): Likewise.
590 * memcmp.c (memcmp): Likewise.
591 * memcpy.c (memcpy): Likewise.
592 * memmove.c (memmove): Likewise.
593 * mempcpy.c (memcpy): Likewise.
594 (mempcpy): Likewise.
595 * memset.c (memset): Likewise.
596 * objalloc.c (malloc): Likewise.
597 (free): Likewise.
598 (objalloc_create): Likewise.
599 (_objalloc_alloc): Likewise.
600 (objalloc_free_block): Likewise.
601 * random.c (PTR): Likewise.
602 (void): Likewise.
603 (initstate): Likewise.
604 (setstate): Likewise.
605 * regex.c: Likewise.
606 * spaces.c (malloc): Likewise.
607 (free): Likewise.
608 * stpcpy.c (memcpy): Likewise.
609 * strdup.c (malloc): Likewise.
610 (memcpy): Likewise.
611 * strerror.c (malloc): Likewise.
612 (memset): Likewise.
613 * strndup.c (malloc): Likewise.
614 (memcpy): Likewise.
615 * strsignal.c (malloc): Likewise.
616 (memset): Likewise.
617 * vasprintf.c (malloc): Likewise.
618 * vprintf-support.c: Likewise.
619 * xatexit.c (malloc): Likewise.
620 * xmalloc.c (xmalloc): Likewise.
621 (xcalloc): Likewise.
622 (xrealloc): Likewise.
623 * xmemdup.c (xmemdup): Likewise.
624
625 2022-03-19 Tiezhu Yang <yangtiezhu (a] loongson.cn>
626
627 * floatformat.c (floatformat_ieee_quad_big): Renamed from
628 floatformat_ia64_quad_big.
629 (floatformat_ieee_quad_little): Similarly.
630
631 2022-02-22 Jakub Jelinek <jakub (a] redhat.com>
632
633 PR lto/104617
634 * simple-object-elf.c (simple_object_elf_match): Fix up URL
635 in comment.
636 (simple_object_elf_copy_lto_debug_sections): Remap sh_info and
637 sh_link even if they are in the SHN_LORESERVE .. SHN_HIRESERVE
638 range (inclusive).
639
640 2022-02-17 Mark Wielaard <mark (a] klomp.org>
641
642 * rust-demangle.c (rust_demangle_callback): Ignore everything
643 after '.' char in sym for v0. For legacy symbols search
644 backwards to find the last 'E' before any '.'.
645 * testsuite/rust-demangle-expected: Add new .suffix testcases.
646
647 2022-01-31 Nick Clifton <nickc (a] redhat.com>
648
649 PR demangler/98886
650 PR demangler/99935
651 * rust-demangle.c (struct rust_demangler): Add a recursion
652 counter.
653 (demangle_path): Increment/decrement the recursion counter upon
654 entry and exit. Fail if the counter exceeds a fixed limit.
655 (demangle_type): Likewise.
656 (rust_demangle_callback): Initialise the recursion counter,
657 disabling if requested by the option flags.
658
659 2022-01-15 Martin Sebor <msebor (a] redhat.com>
660
661 * regex.c: Suppress -Wuse-after-free.
662
663 2021-12-30 Lancelot SIX <lsix (a] lancelotsix.com>
664
665 * cp-demangle.c (d_clone_suffix): Support digits in clone tag
666 names.
667 * testsuite/demangle-expected: Check demangling of clone symbols
668 with digits in name.
669
670 2021-12-16 H.J. Lu <hjl.tools (a] gmail.com>
671
672 Revert:
673 2021-12-16 H.J. Lu <hjl.tools (a] gmail.com>
674
675 * Makefile.in (AR): Add @AR_PLUGIN_OPTION@
676 (RANLIB): Add @RANLIB_PLUGIN_OPTION@.
677 (configure_deps): Depend on ../config/gcc-plugin.m4.
678 * configure.ac: AC_SUBST AR_PLUGIN_OPTION and
679 RANLIB_PLUGIN_OPTION.
680 * aclocal.m4: Regenerated.
681 * configure: Likewise.
682
683 2021-12-15 H.J. Lu <hjl.tools (a] gmail.com>
684
685 * Makefile.in (AR): Add @AR_PLUGIN_OPTION@
686 (RANLIB): Add @RANLIB_PLUGIN_OPTION@.
687 (configure_deps): Depend on ../config/gcc-plugin.m4.
688 * configure.ac: AC_SUBST AR_PLUGIN_OPTION and
689 RANLIB_PLUGIN_OPTION.
690 * aclocal.m4: Regenerated.
691 * configure: Likewise.
692
693 2021-11-29 Eric Gallager <egallager (a] gcc.gnu.org>
694
695 PR other/103021
696 * Makefile.in: Use ETAGS variable in TAGS target.
697 * configure: Regenerate.
698 * configure.ac: Allow ETAGS variable to be overridden.
699
700 2021-11-29 Andrew Pinski <apinski (a] marvell.com>
701
702 * make-temp-file.c (try_dir): Check to see if the dir
703 is actually a directory.
704
705 2021-10-22 Eric Gallager <egallager (a] gcc.gnu.org>
706
707 PR other/102663
708 * Makefile.in: Allow dvi-formatted documentation
709 to be installed.
710
711 2021-10-17 Lus Ferreira <contact (a] lsferreira.net>
712
713 PR d/102618
714 * d-demangle.c (dlang_parse_qualified): Handle anonymous
715 symbols correctly.
716 * testsuite/d-demangle-expected: New tests to cover anonymous
717 symbols.
718
719 2021-10-14 Lus Ferreira <contact (a] lsferreira.net>
720
721 * testsuite/d-demangle-expected: Add test case for function literals.
722
723 2021-10-14 Lus Ferreira <contact (a] lsferreira.net>
724
725 * testsuite/d-demangle-expected: Add test cases for simple special
726 mangles.
727
728 2021-10-12 Lus Ferreira <contact (a] lsferreira.net>
729
730 * d-demangle.c (dlang_parse_qualified): Remove redudant parenthesis
731 around lhs and rhs of assignments.
732
733 2021-10-01 Lus Ferreira <contact (a] lsferreira.net>
734
735 * testsuite/d-demangle-expected: Add missing format for new test
736
737 2021-09-23 Lus Ferreira <contact (a] lsferreira.net>
738
739 * d-demangle.c (dlang_Type): Validate MANGLED is nonnull.
740 * testsuite/d-demangle-expected: New test.
741
742 2021-09-23 Lus Ferreira <contact (a] lsferreira.net>
743
744 * d-demangle.c (dlang_symbol_backref): Ensure strlen of
745 string is less than length computed by dlang_number.
746
747 2021-09-01 Iain Sandoe <iain (a] sandoe.co.uk>
748
749 * configure: Regenerate.
750 * configure.ac: Do not search for sbrk on Darwin.
751 * xmalloc.c: Do not declare sbrk unless it has been found
752 by configure.
753
754 2021-08-29 Iain Buclaw <ibuclaw (a] gdcproject.org>
755
756 * d-demangle.c (dlang_identifier): Skip over fake parent manglings.
757 * testsuite/d-demangle-expected: Add tests.
758
759 2021-08-29 Iain Buclaw <ibuclaw (a] gdcproject.org>
760
761 * d-demangle.c (dlang_parse_arrayliteral): Add 'info' parameter.
762 (dlang_parse_assocarray): Likewise.
763 (dlang_parse_structlit): Likewise.
764 (dlang_value): Likewise. Handle function literal symbols.
765 (dlang_template_args): Pass 'info' to dlang_value.
766 * testsuite/d-demangle-expected: Add new test.
767
768 2021-08-29 Iain Buclaw <ibuclaw (a] gdcproject.org>
769
770 * d-demangle.c (dlang_attributes): Handle typeof(*null).
771 (dlang_type): Likewise. Demangle 'n' as typeof(null).
772 * testsuite/d-demangle-expected: Update tests.
773
774 2021-08-23 Iain Sandoe <iain (a] sandoe.co.uk>
775
776 * simple-object-mach-o.c (simple_object_mach_o_write_segment):
777 Cast the first argument to set_32 as needed.
778
779 2021-08-18 Iain Sandoe <iain (a] sandoe.co.uk>
780
781 * simple-object-mach-o.c (simple_object_mach_o_write_segment):
782 Arrange to swap the LTO index tables where needed.
783
784 2021-06-30 Gerald Pfeifer <gerald (a] pfeifer.com>
785
786 * make-temp-file.c (usrtmp): Remove.
787 (choose_tmpdir): Remove use of usrtmp.
788
789 2021-06-28 Indu Bhagat <indu.bhagat (a] oracle.com>
790
791 * simple-object.c (handle_lto_debug_sections): Copy over .BTF section.
792
793 2021-06-28 Indu Bhagat <indu.bhagat (a] oracle.com>
794 David Faust <david.faust (a] oracle.com>
795 Jose E. Marchesi <jose.marchesi (a] oracle.com>
796 Weimin Pan <weimin.pan (a] oracle.com>
797
798 * simple-object.c (handle_lto_debug_sections): Copy over .ctf
799 sections.
800
801 2021-06-05 John David Anglin <danglin (a] gcc.gnu.org>
802
803 PR target/100734
804 * configure.ac: Use libiberty snprintf and vsnprintf on
805 hppa*-*-hpux*.
806 * configure: Regenerate.
807
808 2021-05-06 Tom Tromey <tom (a] tromey.com>
809
810 * hashtab.c (htab_eq_string): New function.
811
812 2021-05-04 Eric Botcazou <ebotcazou (a] adacore.com>
813
814 * configure.ac: Make test for variables more robust.
815 * configure: Regenerate.
816
817 2021-05-03 H.J. Lu <hjl.tools (a] gmail.com>
818
819 PR bootstrap/99703
820 * configure: Regenerated.
821
822 2021-04-21 Andreas Schwab <schwab (a] linux-m68k.org>
823
824 PR demangler/100177
825 * rust-demangle.c (demangle_const_char): Properly print the
826 character value.
827
828 2021-03-31 Patrick Palka <ppalka (a] redhat.com>
829
830 PR c++/88115
831 * cp-demangle.c (d_dump, d_make_comp, d_expression_1)
832 (d_count_templates_scopes): Handle DEMANGLE_COMPONENT_VENDOR_EXPR.
833 (d_print_comp_inner): Likewise.
834 <case DEMANGLE_COMPONENT_EXTENDED_OPERATOR>: Revert r11-4926
835 change.
836 <case DEMANGLE_COMPONENT_UNARY>: Likewise.
837 * testsuite/demangle-expected: Adjust __alignof__ tests.
838
839 2021-03-16 Nick Clifton <nickc (a] redhat.com>
840
841 * sha1.c (sha1_process_bytes): Use memmove in place of memcpy.
842
843 2021-02-20 Mike Frysinger <vapier (a] gentoo.org>
844
845 * Makefile.in (ACLOCAL, ACLOCAL_AMFLAGS, $(srcdir)/aclocal.m4): Define.
846 (configure_deps): Rename to ...
847 (aclocal_deps): ... this. Replace aclocal.m4 with acinclude.m4.
848 ($(srcdir)/configure): Replace $(configure_deps) with
849 $(srcdir)/aclocal.m4.
850 * aclocal.m4: Move libiberty macros to acinclude.m4, then regenerate.
851 * acinclude.m4: New file.
852 * configure: Regenerate.
853
854 2021-02-19 Ayush Mittal <ayush.m (a] samsung.com>
855
856 * argv.c (expandargv): free allocated buffer if read fails.
857
858 2021-02-01 Martin Sebor <msebor (a] redhat.com>
859
860 * dyn-string.c (dyn_string_insert_cstr): Use memcpy instead of strncpy
861 to avoid -Wstringop-truncation.
862
863 2021-01-04 Martin Liska <mliska (a] suse.cz>
864
865 * strverscmp.c: Convert to utf8 from iso8859.
866
867 2020-12-22 Jason Merrill <jason (a] redhat.com>
868
869 PR c++/67343
870 * cp-demangle.h (struct d_info): Add unresolved_name_state.
871 * cp-demangle.c (d_prefix): Add subst parm.
872 (d_nested_name): Pass it.
873 (d_unresolved_name): Split out from...
874 (d_expression_1): ...here.
875 (d_demangle_callback): Maybe retry with old sr mangling.
876 * testsuite/demangle-expected: Add test.
877
878 2020-12-21 Jason Merrill <jason (a] redhat.com>
879
880 * cp-demangle.c (d_expression_1): Recognize qualified-id
881 on RHS of dt/pt.
882 * testsuite/demangle-expected: Add test.
883
884 2020-12-21 Jason Merrill <jason (a] redhat.com>
885
886 * cp-demangle.c (d_unqualified_name): Clear is_expression.
887 * testsuite/demangle-expected: Add tests.
888
889 2020-11-25 Matthew Malcomson <matthew.malcomson (a] arm.com>
890
891 * configure: Regenerate.
892 * configure.ac: Avoid using sanitizer.
893
894 2020-11-13 Eduard-Mihai Burtescu <eddyb (a] lyken.rs>
895
896 * rust-demangle.c (struct rust_demangler): Add
897 skipping_printing and bound_lifetime_depth fields.
898 (eat): Add (v0-only).
899 (parse_integer_62): Add (v0-only).
900 (parse_opt_integer_62): Add (v0-only).
901 (parse_disambiguator): Add (v0-only).
902 (struct rust_mangled_ident): Add punycode{,_len} fields.
903 (parse_ident): Support v0 identifiers.
904 (print_str): Respect skipping_printing.
905 (print_uint64): Add (v0-only).
906 (print_uint64_hex): Add (v0-only).
907 (print_ident): Respect skipping_printing,
908 Support v0 identifiers.
909 (print_lifetime_from_index): Add (v0-only).
910 (demangle_binder): Add (v0-only).
911 (demangle_path): Add (v0-only).
912 (demangle_generic_arg): Add (v0-only).
913 (demangle_type): Add (v0-only).
914 (demangle_path_maybe_open_generics): Add (v0-only).
915 (demangle_dyn_trait): Add (v0-only).
916 (demangle_const): Add (v0-only).
917 (demangle_const_uint): Add (v0-only).
918 (basic_type): Add (v0-only).
919 (rust_demangle_callback): Support v0 symbols.
920 * testsuite/rust-demangle-expected: Add v0 testcases.
921
922 2020-11-13 Seija Kijin <doremylover456 (a] gmail.com>
923
924 * strstr.c (strstr): Make implementation ANSI/POSIX compliant.
925
926 2020-11-11 Patrick Palka <ppalka (a] redhat.com>
927
928 PR c++/88115
929 * cp-demangle.c (d_print_comp_inner)
930 <case DEMANGLE_COMPONENT_EXTENDED_OPERATOR>: Don't print the
931 "operator " prefix for __alignof__.
932 <case DEMANGLE_COMPONENT_UNARY>: Always print parens around the
933 operand of __alignof__.
934 * testsuite/demangle-expected: Test demangling for __alignof__.
935
936 2020-11-09 Christophe Lyon <christophe.lyon (a] linaro.org>
937
938 * pex-win32.c (pex_win32_exec_child): Initialize orig_err.
939
940 2020-10-06 Martin Liska <mliska (a] suse.cz>
941
942 PR lto/97290
943 * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
944 Use sh_link of a .symtab_shndx section.
945
946 2020-09-24 Mark Wielaard <mark (a] klomp.org>
947
948 * dwarfnames.c (get_DW_UT_name): Define using DW_UT_FIRST, DW_UT
949 and DW_UT_END.
950
951 2020-09-08 Felix Willgerodt <felix.willgerodt (a] intel.com>
952
953 * floatformat.c (floatformat_bfloat16_big): New.
954 (floatformat_bfloat16_little): New.
955
956 2020-09-08 Alan Modra <amodra (a] gmail.com>
957
958 * d-demangle.c: Include limits.h.
959 (ULONG_MAX, UINT_MAX): Provide fall-back definition.
960 (dlang_number): Simplify and correct overflow test. Only
961 write *ret on returning non-NULL. Make "ret" an unsigned long*.
962 Only succeed for result of [0,UINT_MAX].
963 (dlang_decode_backref): Simplify and correct overflow test.
964 Only write *ret on returning non-NULL. Only succeed for
965 result [1,MAX_LONG].
966 (dlang_backref): Remove now unnecessary range check.
967 (dlang_symbol_name_p): Likewise.
968 (string_need): Take a size_t n arg, and use size_t tem.
969 (string_append): Use size_t n.
970 (string_appendn, string_prependn): Take a size_t n arg.
971 (TEMPLATE_LENGTH_UNKNOWN): Define as -1UL.
972 (dlang_lname, dlang_parse_template): Take an unsigned long len
973 arg.
974 (dlang_symbol_backref, dlang_identifier, dlang_parse_integer),
975 (dlang_parse_integer, dlang_parse_string),
976 (dlang_parse_arrayliteral, dlang_parse_assocarray),
977 (dlang_parse_structlit, dlang_parse_tuple),
978 (dlang_template_symbol_param, dlang_template_args): Use
979 unsigned long variables.
980 * testsuite/d-demangle-expected: Add new tests.
981
982 2020-08-26 Iain Buclaw <ibuclaw (a] gdcproject.org>
983
984 * d-demangle.c (dlang_function_args): Handle 'in' and 'in ref'
985 parameter storage classes.
986 (dlang_type): Remove identifier type.
987 * testsuite/d-demangle-expected: Update tests.
988
989 2020-08-03 Richard Biener <rguenther (a] suse.de>
990
991 PR lto/96385
992 * simple-object-elf.c
993 (simple_object_elf_copy_lto_debug_sections): Localize global
994 UNDEFs and reuse the prevailing name.
995
996 2020-07-30 H.J. Lu <hjl.tools (a] gmail.com>
997
998 PR bootstrap/96202
999 * configure: Regenerated.
1000
1001 2020-07-14 Ian Lance Taylor <iant (a] golang.org>
1002
1003 PR demangler/96143
1004 * cp-demangle.c (d_lambda): Don't add substitution candidate.
1005 * testsuite/demangle-expected: Update a few existing test cases
1006 accordingly, and add a new test case.
1007
1008 2020-07-10 Jason Merrill <jason (a] redhat.com>
1009
1010 * cp-demangle.c (cplus_demangle_operators): Add di, dx, dX.
1011 (d_expression_1): Handle di and dX.
1012 (is_designated_init, d_maybe_print_designated_init): New.
1013 (d_print_comp_inner): Use d_maybe_print_designated_init.
1014 * testsuite/demangle-expected: Add designator tests.
1015
1016 2020-06-26 Nick Clifton <nickc (a] redhat.com>
1017
1018 * bsearch.c (bsearch): Remove use of register keyword.
1019 * bsearch_r.c (bsearch_r): Likewise.
1020
1021 2020-06-23 Nick Alcock <nick.alcock (a] oracle.com>
1022
1023 * bsearch_r.c: New file.
1024 * Makefile.in (CFILES): Add bsearch_r.c.
1025 (REQUIRED_OFILES): Add bsearch_r.o.
1026 * functions.texi: Regenerate.
1027
1028 2020-05-29 H.J. Lu <hjl.tools (a] gmail.com>
1029
1030 PR bootstrap/95413
1031 * configure: Regenerated.
1032
1033 2020-05-15 Iain Buclaw <ibuclaw (a] gdcproject.org>
1034
1035 * d-demangle.c (dlang_attributes): Add @live attribute.
1036 * testsuite/d-demangle-expected: Add new tests.
1037
1038 2020-05-14 Rainer Schuetze <r.sagitario (a] gmx.de>
1039 Iain Buclaw <ibuclaw (a] gdcproject.org>
1040
1041 * d-demangle.c (enum dlang_symbol_kinds): Remove enum.
1042 (struct dlang_info): New struct
1043 (dlang_decode_backref): New function.
1044 (dlang_backref): New function.
1045 (dlang_symbol_backref): New function.
1046 (dlang_type_backref): New function.
1047 (dlang_symbol_name_p): New function.
1048 (dlang_function_type_noreturn): New function.
1049 (dlang_function_type): Add 'info' parameter. Decode function type
1050 with dlang_function_type_noreturn.
1051 (dlang_function_args): Add 'info' parameter.
1052 (dlang_type): Add 'info' parameter. Handle back referenced types.
1053 (dlang_identifier): Replace 'kind' parameter with 'info'. Handle back
1054 referenced symbols. Split off decoding of plain identifiers to...
1055 (dlang_lname): ...here.
1056 (dlang_parse_mangle): Replace 'kind' parameter with 'info'. Decode
1057 function type and return with dlang_type.
1058 (dlang_parse_qualified): Replace 'kind' parameter with 'info', add
1059 'suffix_modifier' parameter. Decode function type with
1060 dlang_function_type_noreturn.
1061 (dlang_parse_tuple): Add 'info' parameter.
1062 (dlang_template_symbol_param): New function.
1063 (dlang_template_args): Add 'info' parameter. Decode symbol parameter
1064 with dlang_template_symbol_param. Handle back referenced values, and
1065 externally mangled parameters.
1066 (dlang_parse_template): Add 'info' parameter.
1067 (dlang_demangle_init_info): New function.
1068 (dlang_demangle): Initialize and pass 'info' parameter.
1069 * testsuite/d-demangle-expected: Add new tests.
1070
1071 2020-05-12 H.J. Lu <hongjiu.lu (a] intel.com>
1072
1073 PR bootstrap/94998
1074 * configure: Regenerated.
1075
1076 2020-04-28 H.J. Lu <hongjiu.lu (a] intel.com>
1077
1078 PR bootstrap/94739
1079 * configure: Regenerated.
1080
1081 2020-04-27 Jakub Jelinek <jakub (a] redhat.com>
1082
1083 PR demangler/94797
1084 * cp-demangle.c (cplus_demangle_operators): Add ss <=> operator.
1085 * testsuite/demangle-expected: Add operator<=> test.
1086
1087 2020-04-25 H.J. Lu <hongjiu.lu (a] intel.com>
1088
1089 PR bootstrap/94739
1090 * Makefile.in (COMPILE.c): Add @CET_HOST_FLAGS@.
1091 (configure_deps): Add $(srcdir)/../config/cet.m4 and
1092 $(srcdir)/../config/enable.m4.
1093 * aclocal.m4: Include ../config/cet.m4 and ../config/enable.m4.
1094 * configure.ac: Add GCC_CET_HOST_FLAGS(CET_HOST_FLAGS) and
1095 AC_SUBST(CET_HOST_FLAGS).
1096 * configure: Regenerated.
1097
1098 2020-03-05 Egeyar Bagcioglu <egeyar.bagcioglu (a] oracle.com>
1099
1100 * simple-object.c (handle_lto_debug_sections): Name
1101 ".GCC.command.line" among debug sections to be copied over
1102 from lto objects.
1103
1104 2020-03-02 Nick Clifton <nickc (a] redhat.com>
1105
1106 * testsuite/demangle-expected: Update expected demangling of
1107 enable_if pattern.
1108
1109 2020-03-02 H.J. Lu <hongjiu.lu (a] intel.com>
1110
1111 PR lto/93966
1112 * simple-object.c (handle_lto_debug_sections): Also copy
1113 .note.gnu.property section.
1114
1115 2020-02-12 Sandra Loosemore <sandra (a] codesourcery.com>
1116
1117 PR libstdc++/79193
1118 PR libstdc++/88999
1119
1120 * configure: Regenerated.
1121
1122 2020-02-05 Andrew Burgess <andrew.burgess (a] embecosm.com>
1123
1124 * hashtab.c (htab_remove_elt): Make a parameter const.
1125 (htab_remove_elt_with_hash): Likewise.
1126
1127 2020-01-23 Alexandre Oliva <oliva (a] adacore.com>
1128
1129 * argv.c (writeargv): Output empty args as "".
1130
1131 2020-01-01 Jakub Jelinek <jakub (a] redhat.com>
1132
1133 Update copyright years.
1134
1135 2019-12-06 Tim Ruehsen <tim.ruehsen (a] gmx.de>
1136
1137 * make-relative-prefix.c (split_directories):
1138 Return early on empty 'name'
1139
1140 2019-11-16 Tim Ruehsen <tim.ruehsen (a] gmx.de>
1141
1142 * cp-demangle.c (d_print_init): Remove const from 4th param.
1143 (cplus_demangle_fill_name): Initialize d->d_counting.
1144 (cplus_demangle_fill_extended_operator): Likewise.
1145 (cplus_demangle_fill_ctor): Likewise.
1146 (cplus_demangle_fill_dtor): Likewise.
1147 (d_make_empty): Likewise.
1148 (d_count_templates_scopes): Remobe const from 3rd param,
1149 Return on dc->d_counting > 1,
1150 Increment dc->d_counting.
1151 * cp-demint.c (cplus_demangle_fill_component): Initialize d->d_counting.
1152 (cplus_demangle_fill_builtin_type): Likewise.
1153 (cplus_demangle_fill_operator): Likewise.
1154
1155 2019-11-16 Eduard-Mihai Burtescu <eddyb (a] lyken.rs>
1156
1157 * cplus-dem.c (cplus_demangle): Use rust_demangle directly.
1158 (rust_demangle): Remove.
1159 * rust-demangle.c (is_prefixed_hash): Rename to is_legacy_prefixed_hash.
1160 (parse_lower_hex_nibble): Rename to decode_lower_hex_nibble.
1161 (parse_legacy_escape): Rename to decode_legacy_escape.
1162 (rust_is_mangled): Remove.
1163 (struct rust_demangler): Add.
1164 (peek): Add.
1165 (next): Add.
1166 (struct rust_mangled_ident): Add.
1167 (parse_ident): Add.
1168 (rust_demangle_sym): Remove.
1169 (print_str): Add.
1170 (PRINT): Add.
1171 (print_ident): Add.
1172 (rust_demangle_callback): Add.
1173 (struct str_buf): Add.
1174 (str_buf_reserve): Add.
1175 (str_buf_append): Add.
1176 (str_buf_demangle_callback): Add.
1177 (rust_demangle): Add.
1178 * rust-demangle.h: Remove.
1179
1180 2019-11-15 Miguel Saldivar <saldivarcher (a] gmail.com>
1181
1182 * testsuite/demangle-expected: Fix test.
1183
1184 2019-11-04 Kamlesh Kumar <kamleshbhalui (a] gmail.com>
1185
1186 * cp-demangle.c (d_expr_primary): Handle
1187 nullptr demangling.
1188 * testsuite/demangle-expected: Added test.
1189
1190 2019-10-29 Paul Pluzhnikov <ppluzhnikov (a] google.com>
1191
1192 * cp-demangle.c (d_number): Avoid signed int overflow.
1193
1194 2019-10-28 Miguel Saldivar <saldivarcher (a] gmail.com>
1195
1196 * cp-demangle.c (d_print_mod): Add a space before printing `complex`
1197 and `imaginary`, as opposed to after.
1198 * testsuite/demangle-expected: Adjust test.
1199
1200 2019-10-03 Eduard-Mihai Burtescu <eddyb (a] lyken.rs>
1201
1202 * rust-demangle.c (looks_like_rust): Remove.
1203 (rust_is_mangled): Don't check escapes.
1204 (is_prefixed_hash): Allow 0-9a-f permutations.
1205 (rust_demangle_sym): Don't bail on unknown escapes.
1206 * testsuite/rust-demangle-expected: Update 'main::$99$' test.
1207
1208 2019-09-03 Eduard-Mihai Burtescu <eddyb (a] lyken.rs>
1209
1210 * rust-demangle.c (unescape): Remove.
1211 (parse_lower_hex_nibble): New function.
1212 (parse_legacy_escape): New function.
1213 (is_prefixed_hash): Use parse_lower_hex_nibble.
1214 (looks_like_rust): Use parse_legacy_escape.
1215 (rust_demangle_sym): Use parse_legacy_escape.
1216 * testsuite/rust-demangle-expected: Add 'llv$u6d$' test.
1217
1218 2019-08-27 Martin Liska <mliska (a] suse.cz>
1219
1220 PR lto/91478
1221 * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
1222 First find a WEAK HIDDEN symbol in symbol table that will be
1223 preserved. Later, use the symbol name for all removed symbols.
1224
1225 2019-08-12 Martin Liska <mliska (a] suse.cz>
1226
1227 * Makefile.in: Add filedescriptor.c.
1228 * filedescriptor.c: New file.
1229 * lrealpath.c (is_valid_fd): Remove.
1230
1231 2019-08-08 Martin Liska <mliska (a] suse.cz>
1232
1233 PR bootstrap/91352
1234 * lrealpath.c (is_valid_fd): New function.
1235
1236 2019-07-24 Martin Liska <mliska (a] suse.cz>
1237
1238 PR lto/91228
1239 * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
1240 Find first '\0' starting from gnu_lto + 1.
1241
1242 2019-07-12 Ren Kimura <rkx1209dev (a] gmail.com>
1243
1244 * simple-object-elf.c (simple_object_elf_match): Check zero value shstrndx.
1245 This fixes a Bug 90924.
1246
1247 2019-07-22 Martin Liska <mliska (a] suse.cz>
1248
1249 * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
1250 Do not search for gnu_lto_v1, but search for first '\0'.
1251
1252 2019-07-18 Eduard-Mihai Burtescu <eddyb (a] lyken.rs>
1253
1254 * cplus-dem.c: Include rust-demangle.h.
1255 * rust-demangle.c: Include rust-demangle.h.
1256 * rust-demangle.h: New file.
1257
1258 2019-05-31 Michael Forney <mforney (a] mforney.org>
1259
1260 * cp-demangle.c: Don't define CP_DYNAMIC_ARRAYS if __STDC_NO_VLA__
1261 is non-zero.
1262
1263 2019-04-30 Ben L <bobsayshilol (a] live.co.uk>
1264
1265 * d-demangle.c (dlang_parse_assocarray): Correctly handle error result.
1266 * testsuite/d-demangle-expected: Add testcase.
1267
1268 * d-demangle.c (dlang_parse_tuple): Correctly handle error result.
1269 * testsuite/d-demangle-expected: Add testcase.
1270
1271 * d-demangle.c (dlang_parse_structlit): Correctly handle error result.
1272 * testsuite/d-demangle-expected: Add testcase.
1273
1274 * d-demangle.c (dlang_parse_arrayliteral): Correctly handle error result.
1275 * testsuite/d-demangle-expected: Add testcase.
1276
1277 * d-demangle.c (dlang_parse_integer): Fix stack underflow.
1278 * testsuite/d-demangle-expected: Add testcase.
1279
1280 * cp-demangle (d_print_comp_inner): Guard against a NULL 'typed_name'.
1281 * testsuite/demangle-expected: Add testcase.
1282
1283 * cp-demangle.c (d_encoding): Guard against NULL return values from
1284 d_right (dc).
1285 * testsuite/demangle-expected: Add testcase.
1286
1287 2019-04-29 Ben L <bobsayshilol (a] live.co.uk>
1288
1289 * cp-demangle.c (d_expression_1): Don't peek ahead unless the current
1290 char is valid.
1291 * testsuite/demangle-expected: Add testcase.
1292
1293 2019-04-10 Nick Clifton <nickc (a] redhat.com>
1294
1295 PR 89394
1296 * cp-demangle.c (cplus_demangle_fill_name): Reject negative
1297 lengths.
1298 (d_count_templates_scopes): Replace num_templates and num_scopes
1299 parameters with a struct d_print_info pointer parameter. Adjust
1300 body of the function accordingly. Add recursion counter and check
1301 that the recursion limit is not reached.
1302 (d_print_init): Pass dpi parameter to d_count_templates_scopes.
1303 Reset recursion counter afterwards, unless the recursion limit was
1304 reached.
1305
1306 2019-04-07 Alan Modra <amodra (a] gmail.com>
1307
1308 * functions.texi: Regenerate.
1309
1310 2019-03-14 Jason Merrill <jason (a] redhat.com>
1311 Jakub Jelinek <jakub (a] redhat.com>
1312
1313 * hashtab.c (htab_remove_elt_with_hash): Return if slot is NULL rather
1314 than if *slot is HTAB_EMPTY_ENTRY.
1315
1316 2019-02-11 Philippe Waroquiers <philippe.waroquiers (a] skynet.be>
1317
1318 * splay-tree.c (splay_tree_insert): Also release old KEY in case
1319 of insertion of a key equal to an already present key.
1320 (splay_tree_new_typed_alloc): Update comment.
1321
1322 2019-01-22 Nidal Faour <nidal.faour (a] wdc.com>
1323
1324 PR lto/88422
1325 * simple-object.c (O_BINARY): Define if not already defined.
1326 (simple_object_copy_lto_debug_sections): Create file in binary
1327 mode.
1328
1329 2019-01-21 Tom Tromey <tom (a] tromey.com>
1330
1331 * splay-tree.c (splay_tree_remove): Delete the key if necessary.
1332
1333 2019-01-14 Tom Honermann <tom (a] honermann.net>
1334
1335 * cp-demangle.c (cplus_demangle_builtin_types)
1336 (cplus_demangle_type): Add name demangling for char8_t (Du).
1337 * cp-demangle.h: Increase D_BUILTIN_TYPE_COUNT to accommodate the
1338 new char8_t type.
1339
1340 2019-01-09 Sandra Loosemore <sandra (a] codesourcery.com>
1341
1342 PR other/16615
1343
1344 * cp-demangle.c: Mechanically replace "can not" with "cannot".
1345 * floatformat.c: Likewise.
1346 * strerror.c: Likewise.
1347
1348 2019-01-01 Jakub Jelinek <jakub (a] redhat.com>
1349
1350 Update copyright years.
1351
1352 2018-12-22 Jason Merrill <jason (a] redhat.com>
1353
1354 Remove support for demangling GCC 2.x era mangling schemes.
1355 * cplus-dem.c: Remove cplus_mangle_opname, cplus_demangle_opname,
1356 internal_cplus_demangle, and all subroutines.
1357 (libiberty_demanglers): Remove entries for ancient GNU (pre-3.0),
1358 Lucid, ARM, HP, and EDG demangling styles.
1359 (cplus_demangle): Remove 'work' variable. Don't call
1360 internal_cplus_demangle.
1361
1362 2018-12-07 Nick Clifton <nickc (a] redhat.com>
1363
1364 PR 87681
1365 PR 87675
1366 PR 87636
1367 PR 87350
1368 PR 87335
1369 * cp-demangle.h (struct d_info): Add recursion_level field.
1370 * cp-demangle.c (d_function_type): Add recursion counter.
1371 If the recursion limit is reached and the check is not disabled,
1372 then return with a failure result.
1373 (cplus_demangle_init_info): Initialise the recursion_level field.
1374 (d_demangle_callback): If the recursion limit is enabled, check
1375 for a mangled string that is so long that there is not enough
1376 stack space for the local arrays.
1377 * cplus-dem.c (struct work): Add recursion_level field.
1378 (squangle_mop_up): Set the numb and numk fields to zero.
1379 (work_stuff_copy_to_from): Handle the case where a btypevec or
1380 ktypevec field is NULL.
1381 (demangle_nested_args): Add recursion counter. If
1382 the recursion limit is not disabled and reached, return with a
1383 failure result.
1384
1385 2018-10-23 Jason Merrill <jason (a] redhat.com>
1386
1387 Implement P0732R2, class types in non-type template parameters.
1388 * cp-demangle.c (d_dump, d_make_comp, d_count_templates_scopes)
1389 (d_print_comp_inner): Handle DEMANGLE_COMPONENT_TPARM_OBJ.
1390 (d_special_name): Handle TA.
1391 (d_expresion_1): Fix demangling of brace-enclosed initializer list.
1392
1393 2018-10-31 Joseph Myers <joseph (a] codesourcery.com>
1394
1395 PR bootstrap/82856
1396 Merge from binutils-gdb:
1397 2018-06-19 Simon Marchi <simon.marchi (a] ericsson.com>
1398
1399 * configure.ac: Remove AC_PREREQ.
1400 * configure: Re-generate.
1401 * config.in: Re-generate.
1402
1403 2018-10-01 Nathan Sidwell <nathan (a] acm.org>
1404
1405 * configure.ac (checkfuncs): Add pipe2.
1406 * config.in, configure: Rebuilt.
1407 * pex-unix.c (pex_unix_exec_child): Comminicate errors from child
1408 to parent with a pipe, when possible.
1409
1410 2018-08-23 Nathan Sidwell <nathan (a] acm.org>
1411 Martin Liska <mliska (a] suse.cz>
1412
1413 PR driver/87056
1414 * pex-unix.c (pex_unix_exec_child): Duplicate bad_fn into local
1415 scopes to avoid potential clobber.
1416
1417 2018-08-20 Nathan Sidwell <nathan (a] acm.org>
1418
1419 * pex-unix.c (pex_child_error): Delete.
1420 (pex_unix_exec_child): Commonize error paths to single message &
1421 exit.
1422
1423 2018-07-30 Tom Tromey <tom (a] tromey.com>
1424
1425 * cplus-dem.c (remember_Btype): Don't call memcpy with LEN==0.
1426
1427 2018-07-26 Martin Liska <mliska (a] suse.cz>
1428
1429 PR lto/86548
1430 * make-temp-file.c (TEMP_FILE): Remove leading 'cc'.
1431 (make_temp_file): Call make_temp_file_with_prefix with
1432 first argument set to NULL.
1433 (make_temp_file_with_prefix): Support also prefix.
1434
1435 2018-07-19 Eli Zaretskii <eliz (a] gnu.org>
1436
1437 * simple-object-elf.c (ENOTSUP): If not defined by errno.h, redirect
1438 to ENOSYS.
1439
1440 2018-05-30 Jan Hubicka <hubicka (a] ucw.cz>
1441
1442 * simple-object.c (handle_lto_debug_sections): Add rename parameter.
1443 (handle_lto_debug_sections_rename): New function.
1444 (handle_lto_debug_sections_norename): New function.
1445 (simple_object_copy_lto_debug_sections): Add rename parameter.
1446
1447 2018-05-28 Bernd Edlinger <bernd.edlinger (a] hotmail.de>
1448
1449 * splay-tree.c (splay_tree_compare_strings,
1450 splay_tree_delete_pointers): New utility functions.
1451
1452 2018-05-10 Martin Liska <mliska (a] suse.cz>
1453
1454 PR bootstrap/64914
1455 * md5.c: Use strict alignment with UBSAN_BOOTSTRAP.
1456
1457 2018-04-30 Daniel van Gerpen <daniel (a] vangerpen.de>
1458
1459 * argv.c (expandargv): Fix memory leak for copied argv.
1460
1461 2018-04-13 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
1462
1463 PR lto/81968
1464 * simple-object.c (handle_lto_debug_sections): Keep .comment
1465 section.
1466
1467 2018-03-02 David Malcolm <dmalcolm (a] redhat.com>
1468
1469 * cp-demangle.c: Update URL for g++ V3 ABI.
1470
1471 2018-01-20 Eli Zaretskii <eliz (a] gnu.org>
1472
1473 * simple-object-xcoff.c (simple_object_xcoff_find_sections): Use
1474 ulong_type to avoid warning about 32-bit shift.
1475
1476 2018-01-11 Richard Biener <rguenther (a] suse.de>
1477 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
1478
1479 PR lto/81968
1480 * simple-object-common.h (struct simple_object_functions):
1481 Change copy_lto_debug_sections callback signature.
1482 * simple-object-elf.c (SHN_HIRESERVE, SHT_SYMTAB_SHNDX,
1483 SHF_INFO_LINK): Add defines.
1484 (simple_object_elf_copy_lto_debug_sections): Instead of
1485 leaving not to be copied sections empty unnamed SHT_NULL
1486 remove them from the target section headers and adjust section
1487 reference everywhere. Handle SHN_XINDEX in the symbol table
1488 processing properly.
1489 * simple-object.c (handle_lto_debug_sections): Change
1490 interface to return a modified string and handle renaming
1491 of relocation sections.
1492
1493 2018-01-10 Daniel van Gerpen <daniel (a] vangerpen.de>
1494
1495 * argv.c (expandargv): Correct check for dynamically
1496 allocated argv.
1497
1498 2018-01-03 Jakub Jelinek <jakub (a] redhat.com>
1499
1500 Update copyright years.
1501
1502 2017-01-02 Richard Biener <rguenther (a] suse.de>
1503
1504 PR lto/83452
1505 * simple-object-elf.c (simple_object_elf_copy_lto_debug_section):
1506 Do not use UNDEF locals for removed symbols but instead just
1507 define them in the first prevailing section and with no name.
1508 Use the same gnu_lto_v1 name for all removed globals we promote to
1509 WEAK UNDEFs so hpux can use a stub to provide this symbol. Clear
1510 sh_info and sh_link in removed sections.
1511
1512 2017-10-30 Richard Biener <rguenther (a] suse.de>
1513
1514 PR lto/82757
1515 * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
1516 Strip two leading _s from the __gnu_lto_* symbols.
1517
1518 2017-10-24 Alan Modra <amodra (a] gmail.com>
1519
1520 PR lto/82687
1521 PR lto/82575
1522 * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
1523 Only make __gnu_lto symbols hidden.
1524
1525 2017-10-20 Alan Modra <amodra (a] gmail.com>
1526
1527 PR lto/82575
1528 * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
1529 Make discarded non-local symbols weak and hidden.
1530
1531 2017-10-18 Jakub Jelinek <jakub (a] redhat.com>
1532
1533 PR lto/82598
1534 * simple-object.c (handle_lto_debug_sections): Copy over also
1535 .note.GNU-stack section with unchanged name.
1536 * simple-object-elf.c (SHF_EXECINSTR): Define.
1537 (simple_object_elf_copy_lto_debug_section): Drop SHF_EXECINSTR bit
1538 on .note.GNU-stack section.
1539
1540 2017-09-25 Nathan Sidwell <nathan (a] acm.org>
1541
1542 PR demangler/82195
1543 * cp-demangle.c (d_encoding): Strip return type when name is a
1544 LOCAL_NAME.
1545 (d_local_name): Strip return type of enclosing TYPED_NAME.
1546 * testsuite/demangle-expected: Add and adjust tests.
1547
1548 2017-09-21 Nathan Sidwell <nathan (a] acm.org>
1549
1550 PR demangler/82195
1551 * cp-demangle.c (d_name): Revert addition of 'toplevel' parm.
1552 (has_return_type): Recurse for DEMANGLE_COMPONENT_LOCAL_NAME.
1553 (d_encoding): Revert d_name change. Use is_fnqual_component_type
1554 to strip modifiers that do not belong.
1555 (d_special_name, d_class_enum_type): Revert d_name call change.
1556 (d_expresion_1): Commonize DEMANGLE_COMPONENT_UNARY building.
1557 (d_local_name): Revert parsing of a function type.
1558 (d_print_comp_inner): An inner LOCAL_NAME might contain a
1559 TEMPLATE.
1560 * testsuite/demangle-expected: Add & adjust tests
1561
1562 2017-09-15 Nathan Sidwell <nathan (a] acm.org>
1563
1564 PR demangler/82195
1565 * cp-demangle.c (d_name): Add 'toplevel' parm. Pass to ...
1566 (d_local_name): ... here. Parse trailing function args on nested
1567 local_name.
1568 (d_encoding, d_special_name, d_class_enum_type): Adjust d_name calls.
1569 * testsuite/demangle-expected: Add tests.
1570
1571 2017-09-15 Richard Biener <rguenther (a] suse.de>
1572
1573 PR lto/81968
1574 * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
1575 Iterate marking dependent sections necessary.
1576
1577 2017-09-15 Nathan Sidwell <nathan (a] acm.org>
1578
1579 * cp-demangle.c (is_fnqual_component_type): Reimplement using
1580 FNQUAL_COMPONENT_CASE.
1581 (d_encoding): Hold bare_function_type in local var.
1582 (d_local_name): Build name in both cases and build result once.
1583 Collapse switch-if to single conditional.
1584 (d_local_name):
1585
1586 * testsuite/demangle-expected: Realign blank lines with tests.
1587
1588 2017-09-12 Jiong Wang <jiong.wang (a] arm.com>
1589
1590 * dwarfnames.c (DW_CFA_DUP): New define.
1591
1592 2017-09-01 Martin Liska <mliska (a] suse.cz>
1593
1594 * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
1595 Remove duplicite declaration.
1596
1597 2017-08-31 Richard Biener <rguenther (a] suse.de>
1598
1599 PR lto/81968
1600 * simple-object-elf.c (simple_object_elf_copy_lto_debug_section):
1601 Keep names of removed global symbols.
1602
1603 2017-08-29 Tony Reix <tony.reix (a] atos.net>
1604
1605 * simple-object-xcoff.c (simple_object_xcoff_find_sections):
1606 Improve .go_export csect handling. Don't make assumptions
1607 on containing section or number of auxiliary entries.
1608
1609 2017-08-28 Richard Biener <rguenther (a] suse.de>
1610
1611 PR lto/81968
1612 * simple-object-elf.c (simple_object_elf_copy_lto_debug_section):
1613 Adjust field with for sh_type write, set SHF_EXCLUDE only for
1614 removed sections.
1615
1616 2017-08-22 Richard Biener <rguenther (a] suse.de>
1617
1618 PR lto/81925
1619 * simple-object-elf.c (simple_object_elf_write_shdr): Adjust
1620 type of sh_addralign and sh_entsize and properly write
1621 sh_entsize as Elf_Addr.
1622 (simple_object_elf_write_to_file): Read sh_entsize as Elf_Addr.
1623
1624 2017-08-21 Richard Biener <rguenther (a] suse.de>
1625
1626 * simple-object-common.h (struct simple_object_functions): Add
1627 copy_lto_debug_sections hook.
1628 * simple-object.c: Include fcntl.h.
1629 (handle_lto_debug_sections): New helper function.
1630 (simple_object_copy_lto_debug_sections): New function copying
1631 early LTO debug sections to regular debug sections in a new file.
1632 (simple_object_start_write): Handle NULL segment_name.
1633 * simple-object-coff.c (simple_object_coff_functions): Adjust
1634 for not implemented copy_lto_debug_sections hook.
1635 * simple-object-mach-o.c (simple_object_mach_o_functions): Likewise.
1636 * simple-object-xcoff.c (simple_object_xcoff_functions): Likewise.
1637 * simple-object-elf.c (SHT_NULL, SHT_SYMTAB, SHT_RELA, SHT_REL,
1638 SHT_GROUP): Add various sectopn header types.
1639 (SHF_EXCLUDE): Add flag.
1640 (Elf32_External_Sym, Elf64_External_Sym): Add symbol struct.
1641 (ELF_ST_BIND, ELF_ST_TYPE, ELF_ST_INFO): Add accessors.
1642 (STT_OBJECT, STT_FUNC, STT_TLS, STT_GNU_IFUNC): Add Symbol types.
1643 (STV_DEFAULT): Add symbol visibility.
1644 (SHN_COMMON): Add special section index name.
1645 (struct simple_object_elf_write): New.
1646 (simple_object_elf_start_write): Adjust for new private data.
1647 (simple_object_elf_write_shdr): Pass in values for all fields
1648 we write.
1649 (simple_object_elf_write_to_file): Adjust. Copy from recorded
1650 section headers if requested.
1651 (simple_object_elf_release_write): Release private data.
1652 (simple_object_elf_copy_lto_debug_sections): Copy and rename sections
1653 as denoted by PFN and all their dependences, symbols and relocations
1654 to the empty destination file.
1655 (simple_object_elf_functions): Adjust for copy_lto_debug_sections hook.
1656
1657 2017-07-02 Jan Kratochvil <jan.kratochvil (a] redhat.com>
1658
1659 * dwarfnames.c (DW_FIRST_IDX, DW_END_IDX, DW_IDX, DW_IDX_DUP): New.
1660
1661 2017-06-07 Tony Reix <tony.reix (a] atos.net>
1662 Matthieu Sarter <matthieu.sarter.external (a] atos.net>
1663 David Edelsohn <dje.gcc (a] gmail.com>
1664
1665 * simple-object-xcoff.c (simple_object_xcoff_find_sections):
1666 Search symbol table for .go_export symbol and apply pfn if found.
1667
1668 2017-05-31 DJ Delorie <dj (a] redhat.com>
1669
1670 * configure.ac (strnlen): Add to AC_CHECK_DECLS.
1671 * configure: Likewise.
1672 * config.in: Add HACE_DECL_STRNLEN.
1673
1674 2017-05-27 Iain Buclaw <ibuclaw (a] gdcproject.org>
1675
1676 * d-demangle.c (dlang_identifier): Prefix mangled init symbols
1677 with `initializer for'.
1678 * testsuite/demangle-expected: Update tests.
1679
1680 2017-05-27 Iain Buclaw <ibuclaw (a] gdcproject.org>
1681
1682 * d-demangle.c (dlang_call_convention_p): Move declaration
1683 before dlang_type.
1684 (dlang_type): Handle function types.
1685 * testsuite/d-demangle-expected: Add tests.
1686
1687 2017-05-27 Iain Buclaw <ibuclaw (a] gdcproject.org>
1688
1689 * d-demangle.c (dlang_parse_real): Remove stack buffer, write
1690 the demangled hexadecimal directly to string.
1691 * testsuite/d-demangle-expected: Add tests.
1692
1693 2017-05-24 Eli Zaretskii <eliz (a] gnu.org>
1694
1695 * waitpid.c (wait) [__MINGW32__]: Define as a macro
1696 that calls _cwait, so that this function works on MinGW.
1697
1698 2017-05-02 Iain Buclaw <ibuclaw (a] gdcproject.org>
1699
1700 * d-demangle.c (dlang_hexdigit): New function.
1701 (ascii2hex): Remove function.
1702 (dlang_parse_string): Update to call dlang_hexdigit.
1703 * testsuite/d-demangle-expected: Add tests.
1704
1705 2017-05-02 Iain Buclaw <ibuclaw (a] gdcproject.org>
1706
1707 * d-demangle.c (strtol): Remove declaration.
1708 Updated all callers to use dlang_number.
1709 (dlang_number): New function.
1710 (dlang_value): Moved check for ISDIGIT into dlang_parse_integer.
1711 * testsuite/d-demangle-expected: Add tests.
1712
1713 2017-05-02 Iain Buclaw <ibuclaw (a] gdcproject.org>
1714
1715 * d-demangle.c (dlang_parse_symbol): Remove function.
1716 (dlang_parse_qualified): New function.
1717 (dlang_parse_mangle): New function.
1718 (dlang_type): Update to call dlang_parse_qualified.
1719 (dlang_identifier): Update to call either dlang_parse_qualified or
1720 dlang_parse_mangle.
1721 (dlang_type_modifier_p): Remove function.
1722 (dlang_call_convention_p): Don't allow type modifiers in mangle.
1723 (dlang_template_args): Update to call dlang_identifier.
1724 (dlang_demangle): Update to call dlang_parse_mangle.
1725 * testsuite/d-demangle-expected: Add tests.
1726
1727 2017-05-01 Iain Buclaw <ibuclaw (a] gdcproject.org>
1728
1729 * d-demangle.c (dlang_value): Add comment explaining why cases for
1730 digits are required.
1731 * testsuite/d-demangle-expected: Update integer value tests.
1732
1733 2017-05-01 Iain Buclaw <ibuclaw (a] gdcproject.org>
1734
1735 * d-demangle.c (dlang_parse_symbol): Skip over anonymous symbols.
1736 * testsuite/d-demangle-expected: Add tests.
1737
1738 2017-05-01 Iain Buclaw <ibuclaw (a] gdcproject.org>
1739
1740 * d-demangle.c (dlang_identifier): Handle template constraint symbols.
1741 (dlang_parse_template): Only advance if template symbol prefix is
1742 followed by a digit.
1743 * testsuite/d-demangle-expected: Add tests.
1744
1745 2017-05-01 Iain Buclaw <ibuclaw (a] gdcproject.org>
1746
1747 * d-demangle.c (dlang_attributes): Handle scope attributes.
1748 * testsuite/d-demangle-expected: Add tests.
1749
1750 2017-04-27 Jonathan Wakely <jwakely (a] redhat.com>
1751
1752 PR demangler/80513
1753 * cp-demangle.c (d_number): Check for overflow.
1754 * cplus-dem.c (consume_count): Fix overflow check.
1755 (gnu_special): Check for underscore after thunk delta.
1756 * testsuite/demangle-expected: Add tests for overflows and invalid
1757 characters in thunks.
1758
1759 2017-04-21 Mark Wielaard <mark (a] klomp.org>
1760
1761 * cp-demangle.c (MAX_RECURSION_COUNT): New constant.
1762 (struct d_print_info): Add recursion field.
1763 (d_print_init): Initialize recursion.
1764 (d_print_comp): Check and update d_print_info recursion depth.
1765
1766 2017-04-21 Mark Wielaard <mark (a] klomp.org>
1767
1768 * cp-demangle.c (d_substitution): Return NULL if d_add_substitution
1769 fails.
1770
1771 2017-04-21 Mark Wielaard <mark (a] klomp.org>
1772
1773 * cp-demangle.h (struct d_info): Remove did_subs field.
1774 * cp-demangle.c (struct d_info_checkpoint): Likewise.
1775 (d_template_param): Don't update did_subs.
1776 (d_substitution): Likewise.
1777 (d_checkpoint): Don't assign did_subs.
1778 (d_backtrack): Likewise.
1779 (cplus_demangle_init_info): Don't initialize did_subs.
1780
1781 2017-03-27 Pedro Alves <palves (a] redhat.com>
1782
1783 * cp-demint.c (cplus_demangle_fill_component): Handle
1784 DEMANGLE_COMPONENT_RVALUE_REFERENCE.
1785
1786 2017-03-12 Mark Wielaard <mark (a] klomp.org>
1787
1788 * cp-demangle.c (cplus_demangle_fill_name): Initialize
1789 demangle_component d_printing.
1790 (cplus_demangle_fill_extended_operator): Likewise.
1791 (cplus_demangle_fill_ctor): Likewise.
1792 (cplus_demangle_fill_dtor): Likewise.
1793
1794 2017-03-08 Mark Wielaard <mark (a] klomp.org>
1795
1796 PR demangler/70909
1797 PR demangler/67264
1798 * cp-demangle.c: Fix endless recursion. Pass
1799 struct demangle_component as non const.
1800 (d_make_empty): Initialize variable.
1801 (d_print_comp_inner): Limit recursion.
1802 (d_print_comp): Decrement variable.
1803 * cp-demint.c (cplus_demangle_fill_component): Initialize
1804 variable.
1805 (cplus_demangle_fill_builtin_type): Likewise.
1806 (cplus_demangle_fill_operator): Likewise.
1807 * testsuite/demangle-expected: Add tests.
1808
1809 2017-01-18 Markus Trippelsdorf <markus (a] trippelsdorf.de>
1810
1811 PR PR c++/70182
1812 * cp-demangle.c (d_unqualified_name): Handle "on" for
1813 operator names.
1814 * testsuite/demangle-expected: Add tests.
1815
1816 2017-01-18 Markus Trippelsdorf <markus (a] trippelsdorf.de>
1817
1818 PR c++/77489
1819 * cp-demangle.c (d_discriminator): Handle discriminator >= 10.
1820 * testsuite/demangle-expected: Add tests for discriminator.
1821
1822 2017-01-04 Jakub Jelinek <jakub (a] redhat.com>
1823
1824 Update copyright years.
1825
1826 2017-01-04 Alan Modra <amodra (a] gmail.com>
1827
1828 * Makefile.in (configure_deps): Update.
1829 * configure: Regenerate.
1830
1831 2016-12-13 Jakub Jelinek <jakub (a] redhat.com>
1832
1833 PR c++/78761
1834 * cp-demangle.c (cplus_demangle_type): Demangle Dc as decltype(auto).
1835 * testsuite/demangle-expected: Add test for decltype(auto).
1836
1837 2016-12-12 Nathan Sidwell <nathan (a] acm.org>
1838
1839 PR c++/78252
1840 * cp-demangle.c (struct d_print_info): Add is_lambda_arg field.
1841 (d_print_init): Initialize it.
1842 (d_print_comp_inner) <DEMANGLE_COMPONENT_TEMPLATE_PARAM>: Check
1843 is_lambda_arg for auto.
1844 <DEMANGLE_COMPONENT_REFERENCE,
1845 DEMANGLE_COMPONENT_RVALUE_REFERENCE>: Skip smashing check when
1846 is_lambda_arg.
1847 <DEMANGLE_COMPONENT_LAMBDA>: Increment is_lambda_arg around arg
1848 printing.
1849 * testsuite/demangle-expected: Add lambda auto mangling cases.
1850
1851 2016-12-06 DJ Delorie <dj (a] redhat.com>
1852
1853 * argv.c (expandargv): Check for directories passed as @-files.
1854
1855 2016-11-30 David Malcolm <dmalcolm (a] redhat.com>
1856
1857 PR c/78498
1858 * strndup.c (strlen): Delete decl.
1859 (strnlen): Add decl.
1860 (strndup): Call strnlen rather than strlen.
1861 * xstrndup.c (xstrndup): Likewise.
1862
1863 2016-11-29 Nathan Sidwell <nathan (a] acm.org>
1864
1865 * cp-demangle.c (d_print_comp_inner): Fix parameter indentation.
1866
1867 2016-11-03 David Tolnay <dtolnay (a] gmail.com>
1868 Mark Wielaard <mark (a] klomp.org>
1869
1870 * Makefile.in (CFILES): Add rust-demangle.c.
1871 (REQUIRED_OFILES): Add rust-demangle.o.
1872 * cplus-dem.c (libiberty_demanglers): Add rust_demangling case.
1873 (cplus_demangle): Handle RUST_DEMANGLING.
1874 (rust_demangle): New function.
1875 * rust-demangle.c: New file.
1876 * testsuite/Makefile.in (really-check): Add check-rust-demangle.
1877 (check-rust-demangle): New rule.
1878 * testsuite/rust-demangle-expected: New file.
1879
1880 2016-11-15 Mark Wielaard <mark (a] klomp.org>
1881
1882 * cp-demangle.c (d_expression_1): Make sure third expression
1883 exists for ?: and fold expressions.
1884 * testsuite/demangle-expected: Add examples of strings that could
1885 crash the demangler because of missing expression.
1886
1887 2016-11-14 Mark Wielaard <mark (a] klomp.org>
1888
1889 * cplus-dem.c (demangle_signature): After 'H', template function,
1890 no success and don't advance position if end of string reached.
1891 (demangle_template): After 'z', template name, return zero on
1892 premature end of string.
1893 (gnu_special): Guard strchr against searching for zero characters.
1894 (do_type): If member, only advance mangled string when 'F' found.
1895 * testsuite/demangle-expected: Add examples of strings that could
1896 crash the demangler by reading past end of input.
1897
1898 2016-11-06 Mark Wielaard <mark (a] klomp.org>
1899
1900 * configure.ac (ac_libiberty_warn_cflags): Add -Wshadow=local.
1901 * configure: Regenerated.
1902
1903 2016-11-07 Jason Merrill <jason (a] redhat.com>
1904
1905 * cp-demangle.c (is_fnqual_component_type): New.
1906 (d_encoding, d_print_comp_inner, d_print_mod_list): Use it.
1907 (FNQUAL_COMPONENT_CASE): New.
1908 (d_make_comp, has_return_type, d_print_comp_inner)
1909 (d_print_function_type): Use it.
1910 (next_is_type_qual): New.
1911 (d_cv_qualifiers, d_print_mod): Handle noexcept and throw-spec.
1912
1913 2016-11-02 Mark Wielaard <mjw (a] redhat.com>
1914
1915 * cplus-dem.c (demangle_signature): Move fall through comment.
1916 (demangle_fund_type): Add fall through comment between 'G' and 'I'.
1917 * hashtab.c (iterative_hash): Add fall through comments.
1918 * regex.c (regex_compile): Add Fall through comment after '+'/'?'.
1919 (byte_re_match_2_internal): Add Fall through comment after jump_n.
1920 Change "Note fall through" to "Fall through".
1921 (common_op_match_null_string_p): Return false after set_number_at
1922 instead of fall through.
1923
1924 2016-11-01 Jason Merrill <jason (a] redhat.com>
1925
1926 * cp-demangle.c (d_ctor_dtor_name): Handle inheriting constructor.
1927
1928 2016-10-31 Mark Wielaard <mjw (a] redhat.com>
1929
1930 * cplus-dem.c (ada_demangle): Initialize demangled to NULL and
1931 XDELETEVEC demangled when unknown.
1932
1933 2016-09-19 Andrew Stubbs <ams (a] codesourcery.com>
1934
1935 * pex-win32.c (argv_to_cmdline): Quote zero-length parameters.
1936 * testsuite/test-pexecute.c (main): Insert check for zero-length parameters.
1937
1938 2016-09-10 Mark Wielaard <mjw (a] redhat.com>
1939
1940 * cp-demangle.c (d_substitution): Change struct demangle_component
1941 variable name from c to dc.
1942
1943 2016-08-12 Marek Polacek <polacek (a] redhat.com>
1944
1945 PR c/7652
1946 * cp-demangle.c (d_print_mod): Add FALLTHRU.
1947
1948 2016-08-04 Marcel Bhme <boehme.marcel (a] gmail.com>
1949
1950 PR c++/71696
1951 * cplus-dem.c: Prevent infinite recursion when there is a cycle
1952 in the referencing of remembered mangled types.
1953 (work_stuff): New stack to keep track of the remembered mangled
1954 types that are currently being processed.
1955 (push_processed_type): New method to push currently processed
1956 remembered type onto the stack.
1957 (pop_processed_type): New method to pop currently processed
1958 remembered type from the stack.
1959 (work_stuff_copy_to_from): Copy values of new variables.
1960 (delete_non_B_K_work_stuff): Free stack memory.
1961 (demangle_args): Push/Pop currently processed remembered type.
1962 (do_type): Do not demangle a cyclic reference and push/pop
1963 referenced remembered type.
1964
1965 2016-07-29 Aldy Hernandez <aldyh (a] redhat.com>
1966
1967 * make-relative-prefix.c (make_relative_prefix_1): Fall back to
1968 malloc if alloca argument is greater than MAX_ALLOCA_SIZE.
1969
1970 2016-07-15 Jason Merrill <jason (a] redhat.com>
1971
1972 * cp-demangle.c (cplus_demangle_operators): Add f[lrLR].
1973 (d_expression_1): Handle them.
1974 (d_maybe_print_fold_expression): New.
1975 (d_print_comp_inner): Use it.
1976 (d_index_template_argument): Handle negative index.
1977
1978 * cp-demangle.c (cplus_demangle_operators): Add sP and sZ.
1979 (d_print_comp_inner): Handle them.
1980 (d_template_args_1): Split out from d_template_args.
1981 (d_args_length): New.
1982
1983 2016-07-13 Marcel Bhme <boehme.marcel (a] gmail.com>
1984
1985 PR c++/70926
1986 * cplus-dem.c: Handle large values and overflow when demangling
1987 length variables.
1988 (demangle_template_value_parm): Read only until end of mangled string.
1989 (do_hpacc_template_literal): Likewise.
1990 (do_type): Handle overflow when demangling array indices.
1991
1992 2016-06-12 Brooks Moses <bmoses (a] google.com>
1993
1994 * cp-demangle.c (cplus_demangle_print_callback): Avoid zero-length
1995 VLAs.
1996
1997 2016-05-31 Alan Modra <amodra (a] gmail.com>
1998
1999 * xmemdup.c (xmemdup): Use xmalloc rather than xcalloc.
2000
2001 2016-05-19 Jakub Jelinek <jakub (a] redhat.com>
2002
2003 PR c++/70498
2004 * cp-demangle.c (d_expression_1): Formatting fix.
2005
2006 2016-05-18 Artemiy Volkov <artemiyv (a] acm.org>
2007
2008 * cplus-dem.c (enum type_kind_t): Add tk_rvalue_reference
2009 constant.
2010 (demangle_template_value_parm): Handle tk_rvalue_reference
2011 type kind.
2012 (do_type): Support 'O' type id (rvalue references).
2013
2014 * testsuite/demangle-expected: Add tests.
2015
2016 2016-05-02 Marcel Bhme <boehme.marcel (a] gmail.com>
2017
2018 PR c++/70498
2019 * cp-demangle.c: Parse numbers as integer instead of long to avoid
2020 overflow after sanity checks. Include <limits.h> if available.
2021 (INT_MAX): Define if necessary.
2022 (d_make_template_param): Takes integer argument instead of long.
2023 (d_make_function_param): Likewise.
2024 (d_append_num): Likewise.
2025 (d_identifier): Likewise.
2026 (d_number): Parse as and return integer.
2027 (d_compact_number): Handle overflow.
2028 (d_source_name): Change variable type to integer for parsed number.
2029 (d_java_resource): Likewise.
2030 (d_special_name): Likewise.
2031 (d_discriminator): Likewise.
2032 (d_unnamed_type): Likewise.
2033 * testsuite/demangle-expected: Add regression test cases.
2034
2035 2016-04-30 Oleg Endo <olegendo (a] gcc.gnu.org>
2036
2037 * configure: Remove SH5 support.
2038
2039 2016-04-08 Marcel Bhme <boehme.marcel (a] gmail.com>
2040
2041 PR c++/69687
2042 * cplus-dem.c: Include <limits.h> if available.
2043 (INT_MAX): Define if necessary.
2044 (remember_type, remember_Ktype, register_Btype, string_need):
2045 Abort if we detect cases where we the size of the allocation would
2046 overflow.
2047
2048 PR c++/70492
2049 * cplus-dem.c (gnu_special): Handle case where consume_count returns
2050 -1.
2051
2052 2016-03-31 Mikhail Maltsev <maltsevm (a] gmail.com>
2053 Marcel Bohme <boehme.marcel (a] gmail.com>
2054
2055 PR c++/67394
2056 PR c++/70481
2057 * cplus-dem.c (squangle_mop_up): Zero bsize/ksize after freeing
2058 btypevec/ktypevec.
2059 * testsuite/demangle-expected: Add coverage tests.
2060
2061 2016-01-27 Iain Buclaw <ibuclaw (a] gdcproject.org>
2062
2063 * d-demangle.c (dlang_call_convention): Handle extern Objective-C
2064 function calling convention.
2065 (dlang_call_convention_p): Likewise.
2066 (dlang_type): Likewise.
2067 * testsuite/d-demangle-expected: Add coverage tests.
2068
2069 2016-01-27 Iain Buclaw <ibuclaw (a] gdcproject.org>
2070
2071 * d-demangle.c (dlang_function_args): Append ',' for variadic functions
2072 only if parameters were seen before the elipsis symbol.
2073 * testsuite/d-demangle-expected: Add coverage test for parameter-less
2074 variadic functions.
2075
2076 2016-01-27 Iain Buclaw <ibuclaw (a] gdcproject.org>
2077
2078 * d-demangle.c (dlang_type): Handle function types only in the context
2079 of seeing a pointer type symbol.
2080 * testsuite/d-demangle-expected: Update function pointer tests.
2081
2082 2016-01-05 Mike Frysinger <vapier (a] gentoo.org>
2083
2084 * argv.c (dupargv): Change arg to char * const *. Update comment.
2085 (writeargv, countargv): Likewise.
2086 * functions.texi (dupargv, writeargv, countargv): Likewise.
2087
2088 2016-01-05 Mike Frysinger <vapier (a] gentoo.org>
2089
2090 * argv.c (dupargv): Replace strlen/xmalloc/strcpy with xstrdup.
2091
2092 2015-12-28 Patrick Palka <ppalka (a] gcc.gnu.org>
2093
2094 * crc32.c: In the documentation, don't refer to GDB's
2095 now-nonexistent crc32 implementation. In the table-generation
2096 program embedded within the documentation, change the type of
2097 the induction variables i and j from int to unsigned int, to
2098 avoid undefined behavior.
2099
2100 2015-12-21 Nick Clifton <nickc (a] redhat.com>
2101
2102 PR 66827
2103 * regex.c (EXTRACT_NUMBER): Cast sign byte to unsigned before left
2104 shifting.
2105
2106 2015-11-27 Pedro Alves <palves (a] redhat.com>
2107
2108 PR other/61321
2109 PR other/61233
2110 * cp-demangle.c (d_demangle_callback, d_make_comp): Handle
2111 DEMANGLE_COMPONENT_CONVERSION.
2112 (is_ctor_dtor_or_conversion): Handle DEMANGLE_COMPONENT_CONVERSION
2113 instead of DEMANGLE_COMPONENT_CAST.
2114 (d_operator_name): Return a DEMANGLE_COMPONENT_CONVERSION
2115 component if handling a conversion.
2116 (d_count_templates_scopes, d_print_comp_inner): Handle
2117 DEMANGLE_COMPONENT_CONVERSION.
2118 (d_print_comp_inner): Handle DEMANGLE_COMPONENT_CONVERSION instead
2119 of DEMANGLE_COMPONENT_CAST.
2120 (d_print_cast): Rename as ...
2121 (d_print_conversion): ... this. Adjust comments.
2122 (d_print_cast): Rewrite - simply print the left subcomponent.
2123 * cp-demint.c (cplus_demangle_fill_component): Handle
2124 DEMANGLE_COMPONENT_CONVERSION.
2125
2126 * testsuite/demangle-expected: Add tests.
2127
2128 2015-11-12 Mike Stump <mikestump (a] comcast.net>
2129
2130 * Makefile.in (etags tags TAGS): Use && instead of ;.
2131
2132 2015-11-09 Alan Modra <amodra (a] gmail.com>
2133
2134 * configure.ac: Check size of size_t.
2135 * configure: Regenerate.
2136 * config.in: Regenerate.
2137
2138 2015-11-09 Alan Modra <amodra (a] gmail.com>
2139
2140 * obstack.c (_obstack_newchunk): Silence -Wc++compat warning.
2141 (_obstack_begin_worker): Likewise. Move assignment to h->chunk
2142 after alloc failure check.
2143
2144 2015-11-09 Alan Modra <amodra (a] gmail.com>
2145
2146 PR gdb/17133
2147 * obstack.c (__alignof__): Expand alignof_type from alignof.h.
2148 (obstack_exit_failure): Don't use exitfail.h.
2149 (_): Include libintl.h when HAVE_LIBINTL_H and nls enabled.
2150 Provide default. Don't include gettext.h.
2151 (_Noreturn): Define.
2152 * obstacks.texi: Adjust node references to external libc info files.
2153
2154 2015-11-09 Alan Modra <amodra (a] gmail.com>
2155
2156 PR gdb/17133
2157 * obstack.c: Import current gnulib file.
2158 * obstacks.texi: Updated doc, from glibc's manual/memory.texi.
2159
2160 2015-11-06 Joel Brobecker <brobecker (a] adacore.com>
2161
2162 * configure.ac: Set AC_CV_FUNC_GETPAGESIZE to "yes" on
2163 Android hosts.
2164 * configure: Regenerate.
2165
2166 2015-10-28 Jason Merrill <jason (a] redhat.com>
2167
2168 * Makefile.in (TAGS): Fix for separate build directory.
2169
2170 2015-10-18 Roland McGrath <roland (a] gnu.org>
2171 Iain Sandoe <iain (a] codesourcery.com>
2172
2173 PR other/63758
2174 * pex-unix.c: Obtain the environment interface from settings in
2175 environ.h rather than in-line code. Update copyright date.
2176 * setenv.c: Likewise.
2177 * xmalloc.c: Likewise.
2178
2179 2015-09-30 Jason Merrill <jason (a] redhat.com>
2180
2181 * cp-demangle.c (d_cv_qualifiers): Dx means transaction_safe.
2182 (cplus_demangle_type): Let d_cv_qualifiers handle it.
2183 (d_dump, d_make_comp, has_return_type, d_encoding)
2184 (d_count_templates_scopes, d_print_comp_inner)
2185 (d_print_mod_list, d_print_mod, d_print_function_type)
2186 (is_ctor_or_dtor): Handle DEMANGLE_COMPONENT_TRANSACTION_SAFE.
2187
2188 2015-08-15 Ian Lance Taylor <iant (a] google.com>
2189
2190 * cp-demangle.c (d_abi_tags): Preserve di->last_name across any
2191 ABI tags.
2192
2193 2015-08-11 Iain Buclaw <ibuclaw (a] gdcproject.org>
2194
2195 * d-demangle.c (dlang_parse_real): Remove call to strtod.
2196 (strtod): Remove declaration.
2197 * testsuite/d-demangle-expected: Update float and complex literal
2198 tests to check correct hexadecimal demangling.
2199
2200 2015-07-13 Mikhail Maltsev <maltsevm (a] gmail.com>
2201
2202 * cp-demangle.c (d_dump): Fix syntax error.
2203 (d_identifier): Adjust type of len to match d_source_name.
2204 (d_expression_1): Fix out-of-bounds access. Check code variable for
2205 NULL before dereferencing it.
2206 (d_find_pack): Do not recurse for FIXED_TYPE, DEFAULT_ARG and NUMBER.
2207 (d_print_comp_inner): Add NULL pointer check.
2208 * cp-demangle.h (d_peek_next_char): Define as inline function when
2209 CHECK_DEMANGLER is defined.
2210 (d_advance): Likewise.
2211 * testsuite/demangle-expected: Add new testcases.
2212
2213 2015-07-09 Uros Bizjak <ubizjak (a] gmail.com>
2214
2215 * getruntime.c (RUSAGE_SELF): Define if not already defined.
2216 (get_runtime): Use RUSAGE_SELF as argument 1 of getrusage call.
2217
2218 2015-06-01 Jason Merrill <jason (a] redhat.com>
2219
2220 * cp-demangle.c (cplus_demangle_type): Handle arguments to vendor
2221 extended qualifier.
2222
2223 2015-05-22 Yunlian Jiang <yunlian (a] google.com>
2224
2225 * configure.ac: Add AC_GNU_SOURCE.
2226 * Makefile.in (COMPILE.c): Add -D_GNU_SOURCE.
2227 * configure, config.in: Rebuild.
2228 * floatformat.c (_GNU_SOURCE): Don't define if already defined.
2229
2230 2015-05-16 Iain Buclaw <ibuclaw (a] gdcproject.org>
2231
2232 * d-demangle.c (dlang_symbol_kinds): New enum.
2233 (dlang_parse_symbol): Update signature. Handle an ambiguity between
2234 pascal functions and template value arguments. Only check for a type
2235 if parsing a function, or at the top level. Return failure if the
2236 entire symbol was not successfully demangled.
2237 (dlang_identifier): Update signature. Handle an ambiguity between two
2238 adjacent digits in a mangled symbol string.
2239 (dlang_type): Update call to dlang_parse_symbol.
2240 (dlang_template_args): Likewise.
2241 (dlang_parse_template): Likewise.
2242 (dlang_demangle): Likewise.
2243 * testsuite/d-demangle-expected: Fix bad tests found, and add problematic
2244 examples to the unittests.
2245
2246 2015-05-16 Iain Buclaw <ibuclaw (a] gdcproject.org>
2247
2248 * d-demangle.c (dlang_template_args): Skip over specialized template
2249 parameters in mangled symbol.
2250 * testsuite/d-demangle-expected: Add coverage and unittest for specialized
2251 template parameters.
2252
2253 2015-05-16 Iain Buclaw <ibuclaw (a] gdcproject.org>
2254
2255 * d-demangle.c (dlang_type): Handle cent and ucent types.
2256 * testsuite/d-demangle-expected: Add coverage tests for cent and ucent.
2257
2258 2015-05-16 Iain Buclaw <ibuclaw (a] gdcproject.org>
2259
2260 * d-demangle.c (dlang_attributes): Handle return attributes, ignoring
2261 return parameters in the mangled string. Return NULL if have encountered
2262 an unknown attribute.
2263 (dlang_function_args): Handle return parameters in the mangled string.
2264 * testsuite/d-demangle-expected: Add coverage tests for functions with
2265 return parameters and return attributes.
2266
2267 2015-05-16 Iain Buclaw <ibuclaw (a] gdcproject.org>
2268
2269 * d-demangle.c (dlang_identifier): Check encoded length of identifier
2270 to verify strncmp matches entire string.
2271 * testsuite/d-demangle-expected: Fix wrong test for postblit symbol.
2272
2273 2015-05-16 Iain Buclaw <ibuclaw (a] gdcproject.org>
2274
2275 * d-demangle.c (dlang_type_modifiers): New function.
2276 (dlang_type_modifier_p): New function.
2277 (dlang_call_convention_p): Ignore any kind of type modifier.
2278 (dlang_type): Handle and emit the type modifier after delegate types.
2279 (dlang_parse_symbol): Handle and emit the type modifier after the symbol.
2280 * testsuite/d-demangle-expected: Add coverage tests for all valid
2281 usages of function symbols with type modifiers.
2282
2283 2015-05-16 Iain Buclaw <ibuclaw (a] gdcproject.org>
2284
2285 * d-demangle.c (dlang_call_convention): Return NULL if have reached the
2286 end of the symbol, but expected something to read.
2287 (dlang_attributes): Likewise.
2288 (dlang_function_type): Likewise.
2289 (dlang_type): Likewise.
2290 (dlang_identifier): Likewise.
2291 (dlang_value): Likewise.
2292
2293 2015-05-16 Iain Buclaw <ibuclaw (a] gdcproject.org>
2294
2295 * d-demangle.c (dlang_parse_string): Represent embedded whitespace or
2296 non-printable characters as hex or escape sequences.
2297 * testsuite/d-demangle-expected: Add test for templates with tabs and
2298 newlines embedded into the signature.
2299
2300 2015-05-08 Joel Brobecker <brobecker (a] adacore.com>
2301
2302 * mkstemps.c: #include <time.h> if HAVE_TIME_H is defined
2303 but not HAVE_SYS_TIME_H.
2304
2305 2015-04-22 Eli Zaretskii <eliz (a] gnu.org>
2306
2307 * setenv.c <environ>: Declare only if not a macro.
2308
2309 2015-04-14 Max Ostapenko <m.ostapenko (a] partner.samsung.com>
2310
2311 * testsuite/Makefile.in (LIBCFLAGS): Add LDFLAGS.
2312
2313 2015-04-10 Jakub Jelinek <jakub (a] redhat.com>
2314 Iain Sandoe <iain (a] codesourcery.com>
2315
2316 PR target/65351
2317 * configure: Regenerate.
2318
2319 2015-04-07 Jakub Jelinek <jakub (a] redhat.com>
2320 Iain Sandoe <iain (a] codesourcery.com>
2321
2322 PR target/65351
2323 * configure: Regenerate.
2324
2325 2015-01-19 Eli Zaretskii <eliz (a] gnu.org>
2326
2327 * strerror.c <sys_nerr, sys_errlist>: Declare only if they aren't
2328 macros.
2329
2330 2014-12-24 Uros Bizjak <ubizjak (a] gmail.com>
2331 Ben Elliston <bje (a] au.ibm.com>
2332 Manuel Lopez-Ibanez <manu (a] gcc.gnu.org>
2333
2334 * xasprintf.c: New file.
2335 * Makefile.in (CFILES): Add xasprintf.c.
2336 (REQUIRED_OFILES): Add xasprintf.$(objext).
2337 (xasprintf.$(objext)): New target.
2338 * functions.texi: Regenerate.
2339
2340 2014-12-11 Uros Bizjak <ubizjak (a] gmail.com>
2341 Ben Elliston <bje (a] au.ibm.com>
2342 Manuel Lopez-Ibanez <manu (a] gcc.gnu.org>
2343
2344 * xvasprintf.c: New file.
2345 * vprintf-support.h: Likewise.
2346 * vprintf-support.c: Likewise.
2347 * Makefile.in (CFILES): Add vprintf-support.c, xvasprintf.c.
2348 (REQUIRED_OFILES): Add vprintf-support.$(objext), xvasprintf.$(objext).
2349 (vprintf-support.$(objext), xvasprintf.$(objext)): New targets.
2350 (vasprintf.$(objext)): Depend on $(srcdir)/vprintf-support.h.
2351 * functions.texi: Regenerate.
2352 * vasprintf.c (int_vasprintf): Use libiberty_vprintf_buffer_size.
2353
2354 2014-11-22 John David Anglin <danglin (a] gcc.gnu.org>
2355
2356 PR other/63694
2357 * configure.ac: Check for strtol, strtoul, strtoll and strtoull
2358 declarations.
2359 * configure: Regenerated.
2360
2361 2014-11-12 Kirill Yukhin <kirill.yukhin (a] intel.com>
2362
2363 * testsuite/test-strtol.c (run_tests): Cast strtol return to
2364 unsigned long.
2365
2366 2014-11-11 Anthony Brandon <anthony.brandon (a] gmail.com>
2367 Manuel Lpez-Ibez <manu (a] gcc.gnu.org>
2368
2369 PR driver/36312
2370 * filename_cmp.c (canonical_filename_eq): New function to check if
2371 file names are the same.
2372 * functions.texi: Updated with documentation for new function.
2373
2374 2014-11-11 David Malcolm <dmalcolm (a] redhat.com>
2375
2376 * ChangeLog.jit: New.
2377
2378 2014-11-05 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
2379
2380 * sigsetmask.c (_POSIX_SOURCE): Remove.
2381
2382 2014-10-28 Yury Gribov <y.gribov (a] samsung.com>
2383
2384 * strtoll.c: New file.
2385 * strtoull.c: New file.
2386 * configure.ac: Add long long checks. Add harness for strtoll and
2387 strtoull. Check decls for strtol, strtoul, strtoll, strtoull.
2388 * Makefile.in (CFILES, CONFIGURED_OFILES): Add strtoll and strtoull.
2389 * config.in: Regenerate.
2390 * configure: Regenerate.
2391 * functions.texi: Regenerate.
2392 * testsuite/Makefile.in (check-strtol): New rule.
2393 (test-strtol): Likewise.
2394 (mostlyclean): Clean up strtol test.
2395 * testsuite/test-strtol.c: New test.
2396
2397 2014-10-15 David Malcolm <dmalcolm (a] redhat.com>
2398
2399 * choose-temp.c (choose_tmpdir): Remove now-redundant local
2400 copy of prototype.
2401 * functions.texi: Regenerate.
2402 * make-temp-file.c (choose_tmpdir): Convert return type from
2403 char * to const char * - given that this returns a pointer to
2404 a memoized allocation, the caller must not touch it.
2405
2406 2014-10-14 Joel Brobecker <brobecker (a] adacore.com>
2407
2408 * d-demangle.c: Replace strtold with strtod in global comment.
2409 (strtold): Remove declaration.
2410 (strtod): New declaration.
2411 (dlang_parse_real): Declare value as double instead of long
2412 double. Replace call to strtold by call to strtod.
2413 Update format in call to snprintf.
2414
2415 2014-09-26 Jason Merrill <jason (a] redhat.com>
2416
2417 * cp-demangle.c (d_substitution): Handle abi tags on abbreviation.
2418
2419 2014-09-26 Max Ostapenko <m.ostapenko (a] partner.samsung.com>
2420
2421 * pex-common.h (struct pex_funcs): Add new parameter for open_write field.
2422 * pex-unix.c (pex_unix_open_write): Add support for new parameter.
2423 * pex-djgpp.c (pex_djgpp_open_write): Likewise.
2424 * pex-win32.c (pex_win32_open_write): Likewise.
2425 * pex-common.c (pex_run_in_environment): Likewise.
2426
2427 2014-09-23 Iain Buclaw <ibuclaw (a] gdcproject.org>
2428
2429 * Makefile.in (CFILES): Add d-demangle.c.
2430 (REQUIRED_OFILES): Add d-demangle.o.
2431 * cplus-dem.c (libiberty_demanglers): Add dlang_demangling case.
2432 (cplus_demangle): Likewise.
2433 * d-demangle.c: New file.
2434 * testsuite/Makefile.in (really-check): Add check-d-demangle.
2435 * testsuite/d-demangle-expected: New file.
2436
2437 2014-09-19 Ian Lance Taylor <iant (a] google.com>
2438
2439 * simple-object-elf.c (simple_object_elf_write_ehdr): Correctly
2440 handle objects with more than SHN_LORESERVE sections.
2441 (simple_object_elf_write_shdr): Add sh_link parameter.
2442 (simple_object_elf_write_to_file): Correctly handle objects with
2443 more than SHN_LORESERVE sections.
2444
2445 2014-08-29 Andrew Burgess <aburgess (a] broadcom.com>
2446
2447 * cp-demangle.c (d_dump): Only access field from s_fixed part of
2448 the union for DEMANGLE_COMPONENT_FIXED_TYPE.
2449 (d_count_templates_scopes): Likewise.
2450
2451 2014-08-13 Gary Benson <gbenson (a] redhat.com>
2452
2453 * testsuite/demangler-fuzzer.c: New file.
2454 * testsuite/Makefile.in (fuzz-demangler): New rule.
2455 (demangler-fuzzer): Likewise.
2456 (mostlyclean): Clean up demangler fuzzer.
2457
2458 2014-06-11 Andrew Burgess <aburgess (a] broadcom.com>
2459
2460 * cplus-dem.c (do_type): Call string_delete even if the call to
2461 demangle_template fails.
2462
2463 2014-06-01 Ray Donnelly <mingw.android (a] gmail.com>
2464
2465 * pex-win32.c (argv_to_cmdline): Don't quote
2466 args unnecessarily
2467
2468 2014-05-28 Pedro Alves <palves (a] redhat.com>
2469
2470 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_FUNCTION_PARAM
2471 and DEMANGLE_COMPONENT_NUMBER.
2472
2473 2014-05-22 Thomas Schwinge <thomas (a] codesourcery.com>
2474
2475 * testsuite/demangle-expected: Fix last commit.
2476
2477 2014-05-14 Andrew Burgess <aburgess (a] broadcom.com>
2478
2479 * cplus-dmem.c (internal_cplus_demangle): Free any resources
2480 allocated by possible previous call to gnu_special.
2481 (squangle_mop_up): Reset pointers to NULL after calling free.
2482 * testsuite/demangle-expected: New test case.
2483
2484 2014-05-08 Gary Benson <gbenson (a] redhat.com>
2485
2486 * cp-demangle.c (struct d_component_stack): New structure.
2487 (struct d_print_info): New field component_stack.
2488 (d_print_init): Initialize the above.
2489 (d_print_comp_inner): Renamed from d_print_comp.
2490 Do not restore template stack if it would cause a loop.
2491 (d_print_comp): New function.
2492 * testsuite/demangle-expected: New test cases.
2493
2494 2014-04-17 Jakub Jelinek <jakub (a] redhat.com>
2495
2496 PR sanitizer/56781
2497 * maint-tool: Also emit rule for noasan/ subdirectory.
2498 * configure.ac (NOASANFLAG): Set and substitute.
2499 * Makefile.in: Regenerated.
2500 (NOASANFLAG): Set.
2501 (all, $(TARGETLIB), mostlyclean): Handle noasan subdir like pic
2502 subdir.
2503 (stamp-noasandir): New goal.
2504 * configure: Regenerated.
2505
2506 2014-04-01 Richard Biener <rguenther (a] suse.de>
2507
2508 * simple-object.c (simple_object_internal_write): Handle
2509 EINTR and short writes.
2510
2511 2014-03-28 Richard Biener <rguenther (a] suse.de>
2512
2513 * simple-object.c (simple_object_internal_read): Handle
2514 EINTR and short reads.
2515
2516 2014-03-13 Uros Bizjak <ubizjak (a] gmail.com>
2517
2518 * regex.c (bzero) [!_LIBC]: Define without coma expression.
2519 (regerror): Cast the call to memcpy to (void) to avoid unused
2520 value warnings.
2521
2522 2014-01-28 Thomas Schwinge <thomas (a] codesourcery.com>
2523
2524 * cp-demangle.c (d_demangle_callback): Put an abort call in place,
2525 to help the compiler.
2526
2527 2014-01-21 Tom Tromey <tromey (a] redhat.com>
2528
2529 * _doprint.c (checkit): Use stdarg, not VA_* macros.
2530 * asprintf.c (asprintf): Use stdarg, not VA_* macros.
2531 * concat.c (concat_length, concat_copy, concat_copy2, concat)
2532 (reconcat): Use stdarg, not VA_* macros.
2533 * snprintf.c (snprintf): Use stdarg, not VA_* macros.
2534 * vasprintf.c (checkit): Use stdarg, not VA_* macros.
2535 * vsnprintf.c (checkit): Use stdarg, not VA_* macros.
2536
2537 2014-01-06 Mike Frysinger <vapier (a] gentoo.org>
2538
2539 PR other/56780
2540 * configure.ac: Delete target_header_dir assignment.
2541 * configure: Regenerated.
2542
2543 2014-01-06 Gary Benson <gbenson (a] redhat.com>
2544
2545 * cp-demangle.c (struct d_print_info): New fields
2546 next_saved_scope, copy_templates, next_copy_template and
2547 num_copy_templates.
2548 (d_count_templates): New function.
2549 (d_print_init): New parameter "dc".
2550 Estimate numbers of templates and scopes required.
2551 (d_print_free): Removed function.
2552 (cplus_demangle_print_callback): Allocate stack for
2553 templates and scopes. Removed call to d_print_free.
2554 (d_copy_templates): Removed function.
2555 (d_save_scope): New function.
2556 (d_get_saved_scope): Likewise.
2557 (d_print_comp): Replace state saving/restoring code with
2558 calls to d_save_scope and d_get_saved_scope.
2559
2560 2013-12-23 Bill Maddox <maddox (a] google.com>
2561
2562 * cp-demangle.c (cplus_demangle_fill_ctor,cplus_demangle_fill_dtor):
2563 Handle unified ctor/dtor.
2564 (d_ctor_dtor_name): Handle unified ctor/dtor.
2565
2566 2013-11-22 Cary Coutant <ccoutant (a] google.com>
2567
2568 PR other/59195
2569 * cp-demangle.c (struct d_info_checkpoint): New struct.
2570 (struct d_print_info): Add current_template field.
2571 (d_operator_name): Set flag when processing a conversion
2572 operator.
2573 (cplus_demangle_type): When processing <template-args> for
2574 a conversion operator, backtrack if necessary.
2575 (d_expression_1): Renamed from d_expression.
2576 (d_expression): New wrapper around d_expression_1.
2577 (d_checkpoint): New function.
2578 (d_backtrack): New function.
2579 (d_print_init): Initialize current_template.
2580 (d_print_comp): Set current_template.
2581 (d_print_cast): Put current_template in scope for
2582 printing conversion operator name.
2583 (cplus_demangle_init_info): Initialize is_expression and
2584 is_conversion.
2585 * cp-demangle.h (struct d_info): Add is_expression and
2586 is_conversion fields.
2587 * testsuite/demangle-expected: New test cases.
2588
2589 2013-11-15 Andreas Schwab <schwab (a] linux-m68k.org>
2590
2591 * configure: Regenerate.
2592
2593 2013-11-12 Uros Bizjak <ubizjak (a] gmail.com>
2594
2595 * cp-demangle.c (d_copy_templates): Cast result of malloc
2596 to (struct d_print_template *).
2597 (d_print_comp): Cast result of realloc to (struct d_saved scope *).
2598
2599 2013-10-29 Marc Glisse <marc.glisse (a] inria.fr>
2600
2601 PR tree-optimization/58689
2602 * concat.c: Remove note about xmalloc.
2603
2604 2013-10-27 Gerald Pfeifer <gerald (a] pfeifer.com>
2605
2606 * testsuite/test-demangle.c: Include unistd.h.
2607
2608 2013-10-25 Gary Benson <gbenson (a] redhat.com>
2609
2610 * cp-demangle.c (struct d_saved_scope): New structure.
2611 (struct d_print_info): New fields saved_scopes and
2612 num_saved_scopes.
2613 (d_print_init): Initialize the above.
2614 (d_print_free): New function.
2615 (cplus_demangle_print_callback): Call the above.
2616 (d_copy_templates): New function.
2617 (d_print_comp): New variables saved_templates and
2618 need_template_restore.
2619 [DEMANGLE_COMPONENT_REFERENCE, DEMANGLE_COMPONENT_RVALUE_REFERENCE]:
2620 Capture scope the first time the component is traversed, and use the
2621 captured scope for subsequent traversals.
2622 * testsuite/demangle-expected: Add regression test.
2623
2624 2013-10-23 Gerald Pfeifer <gerald (a] pfeifer.com>
2625
2626 * testsuite/test-expandargv.c: Include unistd.h.
2627
2628 2013-10-15 David Malcolm <dmalcolm (a] redhat.com>
2629
2630 * configure.ac: If --enable-host-shared, use -fPIC.
2631 * configure: Regenerate.
2632
2633 2013-10-11 Paul Pluzhnikov <ppluzhnikov (a] google.com>
2634
2635 * cp-demangle.c (d_name): Demangle local-source-names.
2636 * testsuite/demangle-expected: New test.
2637
2638 2013-09-10 Paolo Carlini <paolo.carlini (a] oracle.com>
2639
2640 PR bootstrap/58386
2641 Revert:
2642
2643 2013-09-10 Gary Benson <gbenson (a] redhat.com>
2644
2645 * cp-demangle.c: Include hashtab.h.
2646 (struct d_print_info): New field saved_scopes.
2647 (d_print_init): Initialize the above.
2648 (d_print_free): New function.
2649 (cplus_demangle_print_callback): Call the above.
2650 (struct d_saved_scope): New structure.
2651 (d_store_scope): New function.
2652 (d_free_scope) Likewise.
2653 (d_restore_scope) Likewise.
2654 (d_hash_saved_scope) Likewise.
2655 (d_equal_saved_scope) Likewise.
2656 (d_print_comp): New variable saved_scope.
2657 [DEMANGLE_COMPONENT_REFERENCE,
2658 DEMANGLE_COMPONENT_RVALUE_REFERENCE]: Capture scope the first
2659 time the component is traversed, and use the captured scope for
2660 subsequent traversals.
2661 * testsuite/demangle-expected: Add regression test.
2662
2663 2013-09-10 Gary Benson <gbenson (a] redhat.com>
2664
2665 * cp-demangle.c: Include hashtab.h.
2666 (struct d_print_info): New field saved_scopes.
2667 (d_print_init): Initialize the above.
2668 (d_print_free): New function.
2669 (cplus_demangle_print_callback): Call the above.
2670 (struct d_saved_scope): New structure.
2671 (d_store_scope): New function.
2672 (d_free_scope) Likewise.
2673 (d_restore_scope) Likewise.
2674 (d_hash_saved_scope) Likewise.
2675 (d_equal_saved_scope) Likewise.
2676 (d_print_comp): New variable saved_scope.
2677 [DEMANGLE_COMPONENT_REFERENCE,
2678 DEMANGLE_COMPONENT_RVALUE_REFERENCE]: Capture scope the first
2679 time the component is traversed, and use the captured scope for
2680 subsequent traversals.
2681 * testsuite/demangle-expected: Add regression test.
2682
2683 2013-08-20 Alan Modra <amodra (a] gmail.com>
2684
2685 * floatformat.c (floatformat_ibm_long_double): Rename to..
2686 (floatformat_ibm_long_double_big): ..this.
2687 (floatformat_ibm_long_double_little): New.
2688
2689 2013-07-09 Tristan Gingold <gingold (a] adacore.com>
2690
2691 * makefile.vms (OBJS): Add dwarfnames.obj
2692
2693 2013-05-31 Matt Burgess <matthew (a] linuxfromscratch.org>
2694
2695 PR other/56780
2696 * configure.ac: Move test for --enable-install-libiberty
2697 outside of the 'with_target_subdir' test so that it actually gets
2698 run. Add output messages to show the test result.
2699 * configure: Regenerate.
2700 * Makefile.in (install_to_libdir): Place the
2701 installation of the libiberty library in the same guard as that
2702 used for the headers to prevent it being installed unless
2703 requested via --enable-install-libiberty.
2704
2705 2013-05-06 David Edelsohn <dje.gcc (a] gmail.com>
2706 Peter Bergner <bergner (a] vnet.ibm.com>
2707 Segher Boessenkool <segher (a] kernel.crashing.org>
2708 Jakub Jelinek <jakub (a] redhat.com>
2709
2710 * hashtab.c (hash_pointer): Remove conditional and avoid
2711 unexecuted shift equal to wordsize.
2712
2713 2013-04-22 Andi Kleen <ak (a] linux.intel.com>
2714
2715 * hashtab.c (hash_pointer): Move to end of file and reimplement.
2716
2717 2013-04-03 Jason Merrill <jason (a] redhat.com>
2718
2719 * cp-demangle.c (cplus_demangle_type): Fix function quals.
2720 (d_pointer_to_member_type): Simplify.
2721
2722 Demangle C++11 ref-qualifier.
2723 * cp-demangle.c (d_ref_qualifier): New.
2724 (d_nested_name, d_function_type): Use it.
2725 (d_parmlist): Don't get confused by a ref-qualifier.
2726 (cplus_demangle_type): Reorder ref-qualifier.
2727 (d_pointer_to_member_type): Likewise.
2728 (d_dump): Handle DEMANGLE_COMPONENT_REFERENCE_THIS and
2729 DEMANGLE_COMPONENT_RVALUE_REFERENCE_THIS.
2730 (d_make_comp, has_return_type, d_encoding): Likewise.
2731 (d_print_comp, d_print_mod_list, d_print_mod): Likewise.
2732 (d_print_function_type, is_ctor_or_dtor): Likewise.
2733
2734 2013-03-27 Kai Tietz <ktietz (a] redhat.com>
2735
2736 * configure: Regenerated.
2737
2738 2013-03-06 Tobias Burnus <burnus (a] net-b.de>
2739
2740 * libiberty.texi: Update comment, remove lowersections.
2741 * obstacks.texi: Regenerate.
2742
2743 2013-03-05 Jakub Jelinek <jakub (a] redhat.com>
2744
2745 PR middle-end/56526
2746 * simple-object-mach-o.c (simple_object_mach_o_segment): Initialize
2747 wrapper_sect_offset to avoid a warning.
2748
2749 2013-03-01 Andreas Schwab <schwab (a] linux-m68k.org>
2750
2751 * obstacks.texi (Obstacks): Trim @node to only contain the
2752 node name.
2753 * libiberty.texi (Obstacks): Lower section.
2754
2755 2013-02-14 Jason Merrill <jason (a] redhat.com>
2756
2757 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_DEFAULT_ARG.
2758 (d_print_comp): Likewise.
2759
2760 2013-02-09 Jakub Jelinek <jakub (a] redhat.com>
2761
2762 PR other/56245
2763 * regex.c (PTR_INT_TYPE): Define.
2764 (EXTEND_BUFFER): Change incr type from int to PTR_INT_TYPE.
2765
2766 2013-01-31 Kai Tietz <ktietz (a] redhat.com>
2767
2768 PR other/54620
2769 * sha1.c (sha1_process_block): Handle case that size_t is
2770 a wider-integer-scalar as a 32-bit unsigned integer.
2771
2772 PR other/53413
2773 * md5.c (md5_process_block): Handle case that size_t is
2774 a wider-integer-scalar a 32-bit unsigned integer.
2775
2776 2013-01-04 Ian Lance Taylor <iant (a] google.com>
2777
2778 PR other/54800
2779 * simple-object-mach-o.c (simple_object_mach_o_segment): Don't
2780 bother to zero out a buffer we are about to set anyhow.
2781
2782 2013-01-01 David Edelsohn <dje.gcc (a] gmail.com>
2783
2784 * simple-object-xcoff.c: New file.
2785 * Makefile.in: Add it to build machinery.
2786 * simple-object-common.h (simple_object_xcoff_functions): Declare.
2787 * simple-object.c (format_functions): Add
2788 simple_object_xcoff_functions.
2789
2790 2012-11-10 Jason Merrill <jason (a] redhat.com>
2791
2792 * cp-demangle.c (d_unqualified_name): Handle abi tags here.
2793 (d_name): Not here.
2794
2795 2012-11-09 Jason Merrill <jason (a] redhat.com>
2796
2797 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_TAGGED_NAME.
2798 (d_make_comp, d_find_pack, d_print_comp): Likewise.
2799 (d_abi_tags): New.
2800 (d_name): Call it.
2801
2802 2012-10-08 Jason Merrill <jason (a] redhat.com>
2803
2804 * cp-demangle.c (d_special_name, d_dump): Handle TH and TW.
2805 (d_make_comp, d_print_comp): Likewise.
2806
2807 2012-09-18 Ian Lance Taylor <iant (a] google.com>
2808
2809 * strnlen.c: New file.
2810 * configure.ac: Check for strnlen, add it to AC_LIBOBJ if it's not
2811 present.
2812 * Makefile.in: Rebuild dependencies.
2813 (CFILES): Add strnlen.c.
2814 (CONFIGURED_OFILES): Add ./strnlen.$(objext).
2815 * configure, config.in, functions.texi: Rebuild.
2816
2817 * maint-tool: Accept .def files in the include directory.
2818
2819 2012-09-18 Florian Weimer <fweimer (a] redhat.com>
2820
2821 PR other/54411
2822 * objalloc.c (_objalloc_alloc): Add overflow check covering
2823 alignment and CHUNK_HEADER_SIZE addition.
2824
2825 2011-08-28 H.J. Lu <hongjiu.lu (a] intel.com>
2826
2827 * argv.c (dupargv): Replace malloc with xmalloc. Don't check
2828 xmalloc return.
2829 (buildargv): Likewise. Also replace strdup with xstrdup.
2830 (expandargv): Don't check dupargv return.
2831
2832 2011-08-28 H.J. Lu <hongjiu.lu (a] intel.com>
2833
2834 PR binutils/14526
2835 * argv.c (buildargv): Replace alloca with xmalloc/free.
2836
2837 2012-08-17 Andreas Schwab <schwab (a] linux-m68k.org>
2838
2839 * floatformat.c (floatformat_to_double): Correctly handle numbers
2840 between 1 and 2. Simplify handling of denormal number.
2841 (main): Test with 1.1.
2842
2843 2012-07-31 Mike Frysinger <vapier (a] gentoo.org>
2844
2845 * md5.c (md5_finish_ctx): Declare swap_bytes. Assign SWAP() output
2846 to swap_bytes, and then call memcpy to move it to ctx->buffer.
2847
2848 2012-07-26 Kazu Hirata <kazu (a] codesourcery.com>
2849 Sandra Loosemore <sandra (a] codesourcery.com>
2850
2851 * pex-win32.c (pex_win32_exec_child): Only close original file
2852 descriptors if child is launched successfully.
2853
2854 2012-07-18 Jason Merrill <jason (a] redhat.com>
2855
2856 * cp-demangle.c (cplus_demangle_operators): Add *_cast.
2857 (op_is_new_cast): New.
2858 (d_expression, d_print_comp): Check it.
2859
2860 2012-07-13 Doug Evans <dje (a] google.com>
2861
2862 * filename_cmp.c (filename_hash, filename_eq): New functions.
2863
2864 2012-06-29 Andreas Schwab <schwab (a] linux-m68k.org>
2865
2866 * copying-lib.texi (Library Copying): Don't use @heading inside
2867 @enumerate.
2868
2869 2012-05-22 Tom Tromey <tromey (a] redhat.com>
2870
2871 http://sourceware.org/bugzilla/show_bug.cgi?id=14065
2872 * testsuite/demangle-expected: Add regression test.
2873 * cp-demangle.c (d_find_pack): Return NULL for
2874 DEMANGLE_COMPONENT_UNNAMED_TYPE.
2875
2876 2012-04-27 Tom Tromey <tromey (a] redhat.com>
2877
2878 * dwarfnames.c: New file.
2879 * Makefile.in (CFILES): Add dwarfnames.
2880 (REQUIRED_OFILES): Add dwarfnames.
2881 (./dwarfnames.$(objext)): New target.
2882
2883 2012-04-04 Tristan Gingold <gingold (a] adacore.com>
2884
2885 * pex-unix.c (to_ptr32): Fix style.
2886
2887 2012-04-02 Tristan Gingold <gingold (a] adacore.com>
2888
2889 * stack-limit.c: Includes ansidecl.h.
2890 (stack_limit_increase): Add ATTRIBUTE_UNUSED
2891
2892 2012-03-20 Jason Merrill <jason (a] redhat.com>
2893
2894 * cp-demangle.c (cplus_demangle_type): Handle 'auto'.
2895
2896 2012-03-07 Jason Merrill <jason (a] redhat.com>
2897
2898 * cp-demangle.c (cplus_demangle_operators): Add li.
2899 (d_unqualified_name): Handle it specially.
2900
2901 2012-01-26 Jakub Jelinek <jakub (a] redhat.com>
2902
2903 * make-relative-prefix.c (make_relative_prefix_1): Avoid warning
2904 about using preprocessor directives inside of macro arguments.
2905
2906 2012-01-22 Douglas B Rupp <rupp (a] gnat.com>
2907
2908 * configure: Regenerate.
2909
2910 2012-01-10 Jason Merrill <jason (a] redhat.com>
2911
2912 * cp-demangle.c (d_print_comp) [DEMANGLE_COMPONENT_OPERATOR]:
2913 Omit a trailing space in the operator name.
2914
2915 2012-01-06 Jason Merrill <jason (a] redhat.com>
2916
2917 PR c++/6057
2918 PR c++/48051
2919 PR c++/50855
2920 PR c++/51322
2921 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_NULLARY and
2922 DEMANGLE_COMPONENT_INITIALIZER_LIST.
2923 (d_make_comp): Likewise. Allow null right arg for
2924 DEMANGLE_COMPONENT_TRINARY_ARG2.
2925 (cplus_demangle_operators): Adjust new/delete; add .*, :: and throw.
2926 (d_template_args, d_template_arg): Handle 'J' for argument packs.
2927 (d_exprlist): Add terminator parm.
2928 (d_expression, d_print_comp): Handle initializer lists, nullary
2929 expressions, prefix/suffix operators, and new.
2930 (d_print_subexpr): Avoid parens around DEMANGLE_COMPONENT_QUAL_NAME
2931 and DEMANGLE_COMPONENT_INITIALIZER_LIST.
2932 * testsuite/demangle-expected: Add tests.
2933
2934 * cp-demangle.c (cplus_demangle_type): decltype, pack expansion
2935 and vector are substitutable.
2936 (cplus_demangle_operators): Sort.
2937
2938 2012-01-04 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
2939
2940 * configure: Regenerate.
2941
2942 2012-01-02 Jakub Jelinek <jakub (a] redhat.com>
2943
2944 * make-relative-prefix.c (make_relative_prefix_1): Avoid
2945 stack overflow if PATH contains just a single entry and
2946 HOST_EXECUTABLE_SUFFIX needs to be used.
2947
2948 PR driver/48306
2949 * make-relative-prefix.c: Include sys/stat.h.
2950 (make_relative_prefix_1): If access succeeds, check also stat
2951 if nstore is a regular file.
2952
2953 2011-12-20 Andreas Schwab <schwab (a] linux-m68k.org>
2954
2955 * configure: Regenerate.
2956
2957 2011-12-20 Tristan Gingold <gingold (a] adacore.com>
2958
2959 * aclocal.m4: Assume strncmp works in cross case.
2960 * configure: Regenerate
2961
2962 2011-12-19 Andreas Schwab <schwab (a] linux-m68k.org>
2963
2964 * configure: Regenerate.
2965
2966 2011-11-07 Richard Henderson <rth (a] redhat.com>
2967
2968 Merged from transactional-memory.
2969
2970 * cp-demangle.c (cplus_demangle_fill_ctor): Accept
2971 gnu_v3_object_ctor_group.
2972 (cplus_demangle_fill_dtor): Accept gnu_v3_object_dtor_group.
2973 (d_ctor_dtor_name): Recognize gnu_v3_object_ctor_group
2974 and gnu_v3_object_dtor_group.
2975 (d_dump): Handle DEMANGLE_COMPONENT_TRANSACTION_CLONE
2976 and DEMANGLE_COMPONENT_NONTRANSACTION_CLONE.
2977 (d_make_comp, d_print_comp): Likewise.
2978 (d_special_name): Generate them.
2979
2980 2011-11-04 Jason Merrill <jason (a] redhat.com>
2981
2982 PR c++/48370
2983 * cp-demangle.c (d_special_name, d_print_comp): Handle a
2984 discriminator number on DEMANGLE_COMPONENT_REFTEMP.
2985
2986 2011-11-02 Doug Evans <dje (a] google.com>
2987
2988 * Makefile.in (CFILES): Add timeval-utils.c.
2989 (REQUIRED_OFILES): Add timeval-utils.$(objext).
2990 (INSTALLED_HEADERS): Add timeval-utils.h.
2991 (timeval-utils.$(objext)): Add rule.
2992
2993 2011-10-28 Ian Lance Taylor <iant (a] google.com>
2994
2995 * setproctitle.c (setproctitle): Use "GNU/Linux" in comment.
2996
2997 2011-10-26 Iain Sandoe <iains (a] gcc.gnu.org>
2998
2999 PR target/48108
3000 * simple-object-mach-o.c (GNU_WRAPPER_SECTS, GNU_WRAPPER_INDEX,
3001 GNU_WRAPPER_NAMES): New macros.
3002 (simple_object_mach_o_segment): Handle wrapper scheme.
3003 (simple_object_mach_o_write_section_header): Allow the segment name
3004 to be supplied.
3005 (simple_object_mach_o_write_segment): Handle wrapper scheme. Ensure
3006 that the top-level segment name in the load command is empty.
3007 (simple_object_mach_o_write_to_file): Determine the number of
3008 sections during segment output, use that in writing the header.
3009
3010 2011-10-10 Ian Lance Taylor <iant (a] google.com>
3011
3012 PR c++/48665
3013 * cp-demangle.c (d_cv_qualifiers): If qualifiers are applied to a
3014 function type, change them to apply to the "this" parameter.
3015 * testsuite/demangle-expected: Add test case.
3016
3017 2011-09-28 Doug Evans <dje (a] google.com>
3018
3019 * timeval-utils.c: New file.
3020
3021 * argv.c (countargv): New function.
3022
3023 2011-09-23 Cary Coutant <ccoutant (a] google.com>
3024
3025 PR 40831
3026 * cp-demangle.c (d_make_comp): Add new component type.
3027 (cplus_demangle_mangled_name): Check for clone suffixes.
3028 (d_parmlist): Don't error out if we see '.'.
3029 (d_clone_suffix): New function.
3030 (d_print_comp): Print info for clone suffixes.
3031 * testsuite/demangle-expected: Add new testcases.
3032
3033 2011-09-23 Ian Lance Taylor <iant (a] google.com>
3034 Pierre Vittet <piervit (a] pvittet.com>
3035
3036 * md5.c (md5_process_bytes): Correct handling of unaligned
3037 buffer.
3038
3039 2011-08-22 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3040
3041 * aclocal.m4: Include ../config/picflag.m4.
3042 * configure.ac (GCC_PICFLAG): Call it.
3043 (enable_shared): Clear PICFLAG unless shared.
3044 * configure: Regenerate.
3045
3046 2011-08-12 Steve Ellcey <sje (a] cup.hp.com>
3047
3048 * md5.c (md5_read_ctx): Handle mis-aligned resbuf pointer.
3049
3050 2011-08-06 Uros Bizjak <ubizjak (a] gmail.com>
3051
3052 * testsuite/test-expandargv.c (writeout_test): Check result of fwrite.
3053
3054 2011-08-01 Jason Merrill <jason (a] redhat.com>
3055
3056 PR c++/49932
3057 * cp-demangle.c (d_prefix): Handle decltype.
3058 * testsuite/demangle-expected: Test it.
3059
3060 2011-07-26 H.J. Lu <hongjiu.lu (a] intel.com>
3061
3062 * testsuite/demangle-expected: Remove an extra line.
3063
3064 2011-07-26 Ian Lance Taylor <iant (a] google.com>
3065
3066 * cp-demangle.c (d_print_init): Initialize pack_index field.
3067 (d_print_comp): Check for NULL template argument.
3068 * testsuite/demangle-expected: Add test case.
3069
3070 2011-07-22 Gerald Pfeifer <gerald (a] pfeifer.com>
3071
3072 PR target/49817
3073 * stack-limit.c: Include <stdint.h>.
3074
3075 2011-07-22 Jakub Jelinek <jakub (a] redhat.com>
3076
3077 PR c++/49756
3078 * stack-limit.c: New file.
3079 * Makefile.in: Regenerate deps.
3080 (CFILES): Add stack-limit.c.
3081 (REQUIRED_OFILES): Add ./stack-limit.$(objext).
3082 * configure.ac (checkfuncs): Add getrlimit and setrlimit.
3083 (AC_CHECK_FUNCS): Likewise.
3084 * configure: Regenerated.
3085 * config.in: Regenerated.
3086
3087 2011-07-04 Jason Merrill <jason (a] redhat.com>
3088
3089 * cp-demangle.c (d_expression): Handle 'this'.
3090 (d_print_comp) [DEMANGLE_COMPONENT_FUNCTION_PARAM]: Likewise.
3091
3092 2011-07-01 Joel Brobecker <brobecker (a] adacore.com>
3093
3094 * filename_cmp.c (filename_cmp, filename_ncmp): Add handling of
3095 HAVE_CASE_INSENSITIVE_FILE_SYSTEM.
3096
3097 2011-07-01 Jan Kratochvil <jan.kratochvil (a] redhat.com>
3098
3099 PR debug/49408
3100 * cp-demangle.c (d_print_comp): Suppress argument list for function
3101 references by the '&' unary operator. Keep also already processed
3102 variant without the argument list. Suppress argument list types for
3103 function call used in an expression.
3104 * testsuite/demangle-expected: Fix excessive argument list types in
3105 `test for typed function in decltype'. New testcase for no argument
3106 list types printed. 3 new testcases for function references by the
3107 '&' unary operator..
3108
3109 2011-06-20 Jason Merrill <jason (a] redhat.com>
3110
3111 PR c++/37089
3112 * cp-demangle.c (d_print_comp): Handle reference smashing.
3113 * testsuite/demangle-expected: Test it.
3114
3115 2011-06-13 Jan Kratochvil <jan.kratochvil (a] redhat.com>
3116
3117 * cp-demangle.c (d_print_comp) <DEMANGLE_COMPONENT_FUNCTION_TYPE>:
3118 Suppress d_print_mod for DMGL_RET_POSTFIX.
3119 * testsuite/demangle-expected: New testcases for --ret-postfix.
3120
3121 2011-06-13 Jan Kratochvil <jan.kratochvil (a] redhat.com>
3122
3123 * cp-demangle.c (d_print_comp) <DEMANGLE_COMPONENT_FUNCTION_TYPE>: Do
3124 not pass DMGL_RET_POSTFIX or DMGL_RET_DROP. Support DMGL_RET_DROP.
3125 * testsuite/demangle-expected: New testcases for --ret-drop.
3126 * testsuite/test-demangle.c: Document --ret-drop in a comment.
3127 (main): New variable ret_drop, fill it, call cplus_demangle with it.
3128
3129 2011-06-13 Jan Kratochvil <jan.kratochvil (a] redhat.com>
3130
3131 * cp-demangle.c (struct d_print_info): Remove field options.
3132 (d_print_init): Remove parameter options.
3133 (cplus_demangle_print_callback): Update all the callers.
3134 (d_print_comp, d_print_mod_list, d_print_mod, d_print_function_type)
3135 (d_print_array_type, d_print_expr_op, d_print_cast, d_print_subexpr):
3136 Add parameter options, update all the callers.
3137
3138 2011-04-20 Jim Meyering <meyering (a] redhat.com>
3139
3140 * cp-demint.c (cplus_demangle_v3_components): Remove useless
3141 if-before-free.
3142 * cplus-dem.c (squangle_mop_up): Likewise.
3143 (delete_non_B_K_work_stuff): Likewise.
3144 * pex-common.c (pex_free): Likewise.
3145 * pex-msdos.c (pex_msdos_cleanup): Likewise.
3146 * pex-win32.c (mingw_rootify, msys_rootify): Likewise.
3147 (win32_spawn): Likewise.
3148 * regex.c (FREE_VAR, weak_alias): Likewise.
3149 * spaces.c (spaces): Likewise.
3150
3151 2011-04-10 Jim Meyering <meyering (a] redhat.com>
3152
3153 Avoid memory overrun in a test leading to potential double-free.
3154 * testsuite/test-expandargv.c (writeout_test): Fix off-by-one error:
3155 i.e., do copy the trailing NUL byte.
3156
3157 2011-03-31 Tristan Gingold <gingold (a] adacore.com>
3158
3159 * makefile.vms (OBJS): Add filename_cmp.obj
3160
3161 2011-02-28 Kai Tietz <kai.tietz (a] onevision.com>
3162
3163 * filename_cmp.c (filename_ncmp): New function.
3164 * functions.texi: Regenerated.
3165
3166 2011-02-03 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
3167
3168 * splay-tree.c: Escape wrapping newlines in texinfo markup
3169 with '@', to fix function declaration output rendering.
3170 * gather-docs: Relax and improve macro name matching to actually
3171 match all current names and to allow input line wrapping.
3172 * bsearch.c, concat.c, crc32.c, fnmatch.txh, fopen_unlocked.c,
3173 hashtab.c, insque.c, make-relative-prefix.c, memchr.c, memcmp.c,
3174 memcpy.c, memmem.c, memmove.c, mempcpy.c, memset.c,
3175 pexecute.txh, random.c, setenv.c, setproctitle.c,
3176 simple-object.txh, snprintf.c, stpncpy.c, strncmp.c, strtod.c,
3177 strtol.c, vasprintf.c, vprintf.c, vsnprintf.c, xmemdup.c:
3178 Wrap long texinfo input lines.
3179 * functions.texi: Regenerate.
3180
3181 2011-01-18 Mike Frysinger <vapier (a] gentoo.org>
3182
3183 * .gitignore: New file.
3184
3185 2010-12-08 Doug Evans <dje (a] google.com>
3186
3187 * splay-tree.c (splay_tree_foreach_helper): Remove arg `sp',
3188 all callers updated. Rewrite to be non-recursive.
3189
3190 2010-11-29 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3191
3192 * setproctitle.c [HAVE_SYS_PRCTL_H]: Include <sys/types.h>.
3193
3194 2010-11-20 Anthony Green <green (a] moxielogic.com>
3195
3196 * configure.ac: Turn PR_SET_NAME link test into a test for
3197 sys/prctl.h.
3198 * configure, config.in: Rebuilt.
3199 * setproctitle.c: Test for HAVE_SYS_PRCTL_H.
3200 (setproctitle) Test for PR_SET_NAME definition.
3201
3202 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
3203
3204 PR other/46202
3205 * Makefile.in (install-strip): New phony target.
3206 (install): Also mark as phony.
3207
3208 2010-11-16 Ian Lance Taylor <iant (a] google.com>
3209
3210 * simple-object.c (simple_object_attributes_merge): Rename from
3211 simple_object_attributes_compare. Call merge field.
3212 * simple-object-common.h (struct simple_object_functions): Rename
3213 attributes_compare field to attribute_merge.
3214 * simple-object-elf.c (EM_SPARC): Define.
3215 (EM_SPARC32PLUS): Define.
3216 (simple_object_elf_attributes_merge): Renamed from
3217 simple_object_elf_attributes_compare. Permit EM_SPARC and
3218 EM_SPARC32PLUS objects to be merged.
3219 (simple_object_elf_functions): Update function name.
3220 * simple-object-coff.c (simple_object_coff_attributes_merge):
3221 Rename from simple_object_coff_attributes_compare.
3222 (simple_object_coff_functions): Update function name.
3223 * simple-object-mach-o.c (simple_object_mach_o_attributes_merge):
3224 Renamed from simple_object_mach_o_attributes_compare.
3225 (simple_object_mach_o_functions): Update function name.
3226
3227 2010-11-16 H.J. Lu <hongjiu.lu (a] intel.com>
3228
3229 PR other/42670
3230 PR binutils/11137
3231 * cp-demangle.c (d_make_demangle_mangled_name): New.
3232 (d_demangle_callback): Use it on DCT_GLOBAL_XTORS.
3233
3234 * testsuite/demangle-expected: Updated.
3235
3236 2010-11-14 Kai Tietz <kai.tietz (a] onevision.com>
3237
3238 * simple-object-coff.c (simple_object_coff_read_strtab): Fix reading
3239 offset.
3240
3241 2010-11-12 Ian Lance Taylor <iant (a] google.com>
3242
3243 PR other/46332
3244 * cp-demangle.c (d_print_function_type): Don't print parentheses
3245 if there are no modifiers to print.
3246 * testsuite/demangle-expected: Tweak one test case, add another.
3247
3248 2010-11-04 Richard Henderson <rth (a] redhat.com>
3249
3250 * configure.ac (AC_CHECK_HEADERS): Add process.h.
3251 (checkfuncs): Add dup3, spawnve, spawnvpe; sort the list.
3252 (AC_CHECK_FUNCS): Add dup3, spawnve, spawnvpe.
3253 * configure, config.in: Rebuild.
3254 * pex-unix.c [HAVE_SPAWNVE] (pex_unix_exec_child): New function.
3255 [HAVE_SPAWNVE] (save_and_install_fd, restore_fd): New functions.
3256
3257 2010-11-02 Ian Lance Taylor <iant (a] google.com>
3258 Dave Korn <dave.korn.cygwin (a] gmail.com>
3259 Iain Sandoe <iains (a] gcc.gnu.org>
3260
3261 * simple-object.c: New file.
3262 * simple-object-common.h: New file.
3263 * simple-object-elf.c: New file.
3264 * simple-object-mach-o.c: New file.
3265 * simple-object-coff.c: New file.
3266 * simple-object.txh: New file.
3267 * configure.ac: Add AC_TYPE_SSIZE_T.
3268 * Makefile.in: Rebuild dependencies.
3269 (CFILES): Add simple-object.c, simple-object-coff,
3270 simple-object-elf.c, and simple-object-mach-o.c.
3271 (REQUIRED_OFILES): Add corresponding object files.
3272 * configure: Rebuild.
3273 * config.in: Rebuild.
3274 * functions.texi: Rebuild.
3275
3276 2010-10-29 Ian Lance Taylor <iant (a] google.com>
3277
3278 * setproctitle.c: Add space after function name in @deftypefn
3279 comment.
3280 * functions.texi: Rebuild.
3281
3282 2010-10-26 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
3283
3284 * aclocal.m4 (AC_LANG_FUNC_LINK_TRY(C)): Delete.
3285 * configure: Regenerate.
3286
3287 2010-10-07 Andi Kleen <ak (a] linux.intel.com>
3288
3289 * configure: Regenerate.
3290 * configure.ac: Turn PR_SET_NAME check into link check.
3291
3292 2010-10-06 Andi Kleen <ak (a] linux.intel.com>
3293
3294 * Makefile.in (CFILES): Add setproctitle.
3295 (CONFIGURED_OFILES): Add setproctitle.
3296 (setproctitle): Add rule.
3297 * config.in: Regenerate.
3298 * configure: Regenerate.
3299 * configure.ac: Add checks for prctl PR_SET_NAME and setproctitle.
3300 * setproctitle.c: Add file.
3301 * functions.texi: Regenerate.
3302
3303 2010-09-22 Tristan Gingold <gingold (a] adacore.com>
3304
3305 * cplus-dem.c (ada_demangle): Add comments.
3306 Handle stream and controlled type operations.
3307 Decoding of some uppercase letters moved before separators.
3308 * testsuite/demangle-expected: Add tests.
3309
3310 2010-09-10 James Lyon <jameslyon0 (a] googlemail.com>
3311
3312 http://sourceware.org/bugzilla/show_bug.cgi?id=11572
3313 * cp-demangle.c (d_find_pack): Add case for
3314 DEMANGLE_COMPONENT_LAMBDA.
3315 * testsuite/demangle-expected: Add regression test.
3316
3317 2010-09-08 Tristan Gingold <gingold (a] adacore.com>
3318
3319 PR 44001
3320 * maint-tool (missing): Fix pattern for object file.
3321 (deps): Use $(objext) for object extension.
3322 * Makefile.in (objext): New variable.
3323 Replace all occurences of .o with .$(objext)
3324 Regenerate with maint-deps
3325 * configure.ac (pexecute): Set to the basename.
3326 * configure: Regenerate.
3327
3328 2010-08-20 Maciej W. Rozycki <macro (a] codesourcery.com>
3329
3330 * pex-common.c (pex_read_err): Set stderr_pipe to -1 if a
3331 corresponding stream has been opened.
3332 (pex_free): Close pipe file descriptors corresponding to child's
3333 stdout and stderr before waiting.
3334
3335 2010-08-13 Nick Clifton <nickc (a] redhat.com>
3336
3337 * argv.c (expandargv): Limit the number of times that response
3338 files are opened in order to prevent infinite recursion.
3339
3340 2010-07-21 Pascal Obry <obry (a] adacore.com>
3341
3342 * make-temp-file.c (choose_tmpdir): Append a dot to P_tmpdir if needed.
3343
3344 2010-07-06 Ken Werner <ken.werner (a] de.ibm.com>
3345
3346 * floatformat.c (floatformat_ieee_half_big): New variable.
3347 (floatformat_ieee_half_little): Likewise.
3348
3349 2010-06-14 Gerald Pfeifer <gerald (a] pfeifer.com>
3350
3351 * libiberty.texi: Remove reference to GCC 3 and 2001 (thrice).
3352 Update copyright years.
3353 Move to GFDL 1.3.
3354
3355 2010-06-10 Jakub Jelinek <jakub (a] redhat.com>
3356
3357 PR other/43838
3358 * cp-demangle.c (struct d_print_info): Add flush_count field.
3359 (d_print_init): Initialize it to 0.
3360 (d_print_flush): Increment it.
3361 (d_print_comp): If needed flush before appending ", ". Only
3362 decrement dpi->len if no flushes happened during the recursive
3363 call.
3364 * testsuite/demangle-expected: Add a test for this.
3365
3366 2010-06-08 Laurynas Biveinis <laurynas.biveinis (a] gmail.com>
3367
3368 * splay-tree.c: Update copyright years.
3369 (splay_tree_new_typed_alloc): New.
3370 (splay_tree_new_with_allocator): Use it.
3371
3372 * hashtab.c: Update copyright years.
3373 (htab_create_typed_alloc): New.
3374 (htab_create_alloc): Use it.
3375
3376 * functions.texi: Regenerate.
3377
3378 2010-06-03 Joern Rennecke <joern.rennecke (a] embecosm.com>
3379 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
3380
3381 PR bootstrap/42798
3382 * configure.ac: Check for declaration of 'basename(char *)'.
3383 * configure: Regenerate.
3384
3385 2010-05-26 Kai Tietz <kai.tietz (a] onevision.com>
3386
3387 * testsuite/demangle-expected: Add tests for __int128
3388 and unsigned __int128 types.
3389
3390 2010-05-06 Magnus Fromreide <magfr (a] lysator.liu.se>
3391 Jason Merrill <jason (a] redhat.com>
3392
3393 * cp-demangle.c (cplus_demangle_builtin_types): Add nullptr.
3394 (cplus_demangle_type): Handle nullptr.
3395 * testsuite/demangle-expected: Test it.
3396
3397 2010-04-23 Pedro Alves <pedro (a] codesourcery.com>
3398
3399 * lbasename.c (lbasename): Split into ...
3400 (unix_lbasename, dos_basename): ... these.
3401 (lbasename): ... and reimplement on top of them.
3402 * Makefile.in (lbasename.o): Add dependency on
3403 $(INCDIR)/filenames.h.
3404
3405 2010-04-07 Jakub Jelinek <jakub (a] redhat.com>
3406
3407 * regex.c (byte_re_match_2_internal): Avoid set but not used
3408 warning.
3409
3410 2010-03-22 Jason Merrill <jason (a] redhat.com>
3411
3412 * cp-demangle.c (d_print_mod): Use () rather than [] for vectors.
3413
3414 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
3415
3416 * Makefile.in (all): Do not use exec.
3417
3418 2010-02-04 Tom Tromey <tromey (a] redhat.com>
3419
3420 * testsuite/demangle-expected: Add missing --format=gnu-v3.
3421
3422 2010-02-03 Jason Merrill <jason (a] redhat.com>
3423
3424 * cp-demangle.c (d_expression): Handle dependent operator name.
3425
3426 PR c++/12909
3427 * cp-demangle.c (d_number_component, d_vector_type): New.
3428 (cplus_demangle_type, d_print_comp, d_print_mod): Handle vectors.
3429
3430 2010-01-25 Ian Lance Taylor <iant (a] google.com>
3431
3432 * cp-demangle.c (cplus_demangle_type): Check for invalid type
3433 after "DF".
3434 * testsuite/demangle-expected: Add test.
3435
3436 2010-01-20 Jason Merrill <jason (a] redhat.com>
3437
3438 PR c++/42338
3439 * cp-demangle.c (d_print_comp): Fix array index printing.
3440
3441 2010-01-11 Tristan Gingold <gingold (a] adacore.com>
3442
3443 * cplus-dem.c (ada_demangle): Remove prototype.
3444 (grow_vect): Removed.
3445 (ada_demangle): Rewritten.
3446 (cplus_demangle): Fix indentation.
3447 * testsuite/demangle-expected: Add tests for Ada.
3448
3449 2010-01-09 Ian Lance Taylor <iant (a] google.com>
3450
3451 PR other/42230
3452 * cp-demangle.c (d_demangle): Return dgs.alc on success.
3453
3454 2010-01-04 Nobuhiro Iwamatsu <iwamatsu (a] nigauri.org>
3455
3456 PR target/42316
3457 * configure.ac (PICFLAG): Use -fPIC on SH hosts.
3458 * configure: Regenerate.
3459
3460 2009-12-07 Doug Evans <dje (a] google.com>
3461
3462 * pex-unix.c (pex_unix_exec_child): Save/restore environ.
3463
3464 2009-11-26 Ben Elliston <bje (a] au.ibm.com>
3465
3466 * configure.ac (AC_CHECK_FUNCS): Sort into alphabetic order.
3467 * configure: Regenerate.
3468
3469 2009-11-25 Ben Elliston <bje (a] au.ibm.com>
3470
3471 * functions.texi: Rebuild.
3472
3473 2009-11-25 Manuel Lopez-Ibanez <manu (a] gcc.gnu.org>
3474 Ben Elliston <bje (a] au.ibm.com>
3475
3476 * README: Mention changes to Makefile.in and functions.texi.
3477 * gather-docs: Mention 'make stamp-functions' in the header.
3478
3479 2009-11-23 Ben Elliston <bje (a] au.ibm.com>
3480 Ian Lance Taylor <iant (a] google.com>
3481
3482 * pex-unix.c (pex_child_error): Improve warning avoidance by
3483 checking the results of write(3) and exiting with -2 if any write
3484 returns a negative value.
3485
3486 2009-11-22 Steve Ward <planet36 (a] gmail.com>
3487
3488 * dyn-string.c (dyn_string_append_char): Fix typo in comment.
3489
3490 2009-11-20 Ben Elliston <bje (a] au.ibm.com>
3491
3492 * pex-unix.c (pex_child_error): Define writeerr macro to avoid
3493 unused result warnings from write(3) calls. Undefine writeerr
3494 after all uses.
3495
3496 2009-10-08 Daniel Gutson <dgutson (a] codesourcery.com>
3497 Daniel Jacobowitz <dan (a] codesourcery.com>
3498 Pedro Alves <pedro (a] codesourcery.com>
3499
3500 * argv.c (consume_whitespace): New function.
3501 (only_whitespace): New function.
3502 (buildargv): Always use ISSPACE by calling consume_whitespace.
3503 (expandargv): Skip empty files. Do not stop at the first empty
3504 argument (calling only_whitespace)..
3505 * testsuite/test-expandargv.c: (test_data): Test empty lines
3506 and empty arguments.
3507 (run_tests): Fix false positives due to shorter arguments.
3508
3509 2009-09-30 Martin Thuresson <martint (a] google.com>
3510
3511 * regex.c (byte_re_match_2_internal): Split declaration and
3512 assignment to avoid -Wc++-compat warning due to goto.
3513
3514 2009-09-29 Jason Merrill <jason (a] redhat.com>
3515
3516 * Makefile.in: Enable demangle target.
3517 * cp-demangle.c (d_lambda, d_unnamed_type, d_make_default_arg): New.
3518 (d_name, d_prefix, d_unqualified_name, d_local_name): Handle lambdas.
3519 (d_parmlist): Factor out from d_bare_function_type.
3520 (d_compact_number): Factor out from d_template_param and d_expression.
3521 (d_append_num): Factor out from d_print_comp.
3522 (d_print_comp, d_print_mod_list): Handle lambdas.
3523 * testsuite/demangle-expected: Add lambda tests.
3524
3525 2009-09-23 Matthew Gingell <gingell (a] adacore.com>
3526
3527 * cplus-dem.c (ada_demangle): Ensure demangled is freed.
3528
3529 2009-09-22 Ozkan Sezer <sezeroz (a] gmail.com>
3530
3531 * choose-temp.c: Include unistd.h for mingw targets.
3532
3533 2009-09-16 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3534
3535 * hashtab.c [HAVE_INTTYPES_H]: Include <inttypes.h>.
3536
3537 2009-09-15 Tristan Gingold <gingold (a] adacore.com>
3538
3539 * config.h-vms (intptr_t): Define to compile hashtab.c
3540
3541 2009-09-04 Ozkan Sezer <sezeroz (a] gmail.com>
3542
3543 PR target/39065
3544 * configure.ac: Replace AC_CHECK_TYPE() for intptr_t and uintptr_t
3545 with AC_TYPE_INTPTR_T and AC_TYPE_UINTPTR_T.
3546 * config.in: Regenerated.
3547 * configure: Regenerated.
3548
3549 2009-09-03 Ozkan Sezer <sezeroz (a] gmail.com>
3550
3551 PR target/39065
3552 * configure.ac: Also check for intptr_t.
3553 * config.h.in: Regenerated.
3554 * configure: Regenerated.
3555 * hashtab.c (hash_pointer): Cast the pointer argument to intptr_t
3556 instead of of long.
3557
3558 2009-09-02 Tristan Gingold <gingold (a] adacore.com>
3559
3560 * vmsbuild.com: Removed as unused and superceeded by makefile.vms.
3561 * makefile.vms: Ported to Itanium VMS. Remove useless targets and
3562 dependencies. Remove unused FORMAT variable.
3563 * configure.com: New file to create build.com DCL script for
3564 Itanium VMS or Alpha VMS.
3565
3566 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
3567
3568 * configure.ac (AC_PREREQ): Bump to 2.64.
3569
3570 2009-08-23 H.J. Lu <hongjiu.lu (a] intel.com>
3571
3572 PR ld/10536
3573 * Makefile.in (install-html-recursive): Removed.
3574
3575 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
3576
3577 * config.in: Regenerate.
3578 * configure: Regenerate.
3579
3580 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
3581
3582 * Makefile.in (AUTOCONF, configure_deps): New variables.
3583 ($(srcdir)/configure): New rule, active only in maintainer mode.
3584
3585 2009-07-29 Douglas B Rupp <rupp (a] gnat.com>
3586
3587 * make-temp-file.c (choose_tmpdir): Try standard temp logical on VMS.
3588
3589 2009-07-27 Douglas B Rupp <rupp (a] gnat.com>
3590
3591 * pex-unix.c (vfork): Remove VMS specific definition (get from header
3592 file instead).
3593 (to_ptr32): New function.
3594 (pex_unix_exec_child): Use it.
3595
3596 2009-07-24 Ian Lance Taylor <iant (a] google.com>
3597
3598 PR bootstrap/40854
3599 * crc32.c (xcrc32): Rename from crc32.
3600
3601 2009-07-24 Ian Lance Taylor <iant (a] google.com>
3602
3603 * crc32.c: New file.
3604 * Makefile.in: Rebuild dependencies.
3605 (CFILES): Add crc32.c.
3606 (REQUIRED_OFILES): Add ./crc32.o.
3607 * functions.texi: Rebuild.
3608
3609 2009-07-17 Jan Kratochvil <jan.kratochvil (a] redhat.com>
3610
3611 * cp-demangle.c (d_print_comp <DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS>)
3612 (d_print_comp <DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS): New.
3613 (d_make_comp <DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS>)
3614 (d_make_comp <DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS): New.
3615 (d_demangle_callback): The variable type is now declared as enum.
3616 Replace parser of _GLOBAL_ symbols by a d_make_comp call.
3617
3618 2009-06-21 Jakub Jelinek <jakub (a] redhat.com>
3619
3620 * hashtab.c (htab_traverse): Don't call htab_expand for
3621 nearly empty hashtabs with sizes 7, 13 or 31.
3622
3623 2009-06-16 Nick Clifton <nickc (a] redhat.com>
3624
3625 PR 10197
3626 * testsuite/test-demangle.c: Rename getline to get_line to avoid
3627 conflicts with system function of the same name.
3628
3629 2009-05-30 Eli Zaretskii <eliz (a] gnu.org>
3630
3631 * snprintf.c: Doc fix.
3632
3633 * vsnprintf.c: Doc fix.
3634
3635 2009-05-29 Kai Tietz <kai.tietz (a] onevision.com>
3636
3637 * pex-win32.c (pex_win32_fdopenr): Set INHERIT to false.
3638
3639 2009-05-29 Michael Matz <matz (a] suse.de>
3640
3641 * fibheap.c (fibheap_replace_key_data): Make sure we don't early
3642 out when forcing the minimum.
3643 (fibheap_delete_node): Assert that we managed to force the minimum.
3644
3645 2009-05-25 Tristan Gingold <gingold (a] adacore.com>
3646
3647 * config.h-vms: Rewritten. Define configure macros.
3648 Use DEC-C builtin alloca.
3649
3650 * makefile.vms (OBJS): Update list.
3651 (OPT): New variable.
3652 (CFLAGS): Update compilation flags.
3653 (libiberty.olb): Do not depend on alloca-conf.h anymore.
3654
3655 2009-05-19 Ian Lance Taylor <iant (a] google.com>
3656 Ben Elliston <bje (a] au.ibm.com>
3657
3658 * cp-demangle.c (cplus_demangle_fill_ctor): Fix logic bug.
3659 (cplus_demangle_fill_dtor): Likewise.
3660
3661 2009-05-17 Julian Brown <julian (a] codesourcery.com>
3662
3663 * pex-win32.c (pex_win32_exec_child): Fix logic to avoid closing
3664 standard handles (stdin, stdout, stderr) in parent.
3665
3666 2009-04-29 Julian Brown <julian (a] codesourcery.com>
3667
3668 * pex-win32.c (pex_win32_pipe): Add _O_NOINHERIT.
3669 (pex_win32_exec_child): Ensure each process has only one handle open
3670 on pipe endpoints. Close standard input after creating child for
3671 symmetry with standard output/standard error.
3672
3673 2009-04-25 Eli Zaretskii <eliz (a] gnu.org>
3674
3675 * Makefile.in (needed-list): Target removed (not used in GCC
3676 3.0 and later). All references deleted.
3677 (mostlyclean): Remove references to needed.awk and needed2.awk.
3678
3679 2009-04-14 Eli Zaretskii <eliz (a] gnu.org>
3680
3681 * configure.ac (setobjs, msdosdjgpp): Move a-priori setting of
3682 existing and required library functions to with_target_subdir
3683 section, so that the native build does detect them at configure
3684 time.
3685 * configure: Regenerated.
3686
3687 2009-04-13 Ozkan Sezer <sezeroz (a] gmail.com>
3688
3689 PR target/39397
3690 * pex-common.h (struct pex_obj): Store pid values as pid_t,
3691 not as long (members *children and (*wait))
3692 * pex-common.c (pex_run_in_environment): Likewise.
3693 * pex-win32.c (pex_win32_wait): Return pid_t and properly check
3694 returned pid value.
3695 * pex-djgpp.c (pex_djgpp_wait): Return pid_t.
3696 * pex-msdos.c (pex_msdos_wait): Likewise.
3697
3698 2009-04-07 Arnaud Patard <apatard (a] mandriva.com>
3699
3700 * configure.ac: Fix Linux/MIPS matching rule.
3701 * configure: Regenerate.
3702
3703 2009-03-27 Ian Lance Taylor <iant (a] google.com>
3704
3705 * memmem.c: New file, from gnulib.
3706 * configure.ac: Add memmem to list of functions provided if they
3707 are not available on the host.
3708 * Makefile.in: Rebuild dependencies.
3709 (CFILES): Add memmem.c.
3710 (CONFIGURED_OFILES): Add memmem.o.
3711 * configure, config.in, functions.texi: Rebuild.
3712
3713 2009-03-23 Jason Merrill <jason (a] redhat.com>
3714
3715 * cp-demangle.c (d_expression): Handle pack expansion.
3716 (d_find_pack): Handle DEMANGLE_COMPONENT_FUNCTION_PARAM.
3717 (d_print_subexpr): Don't wrap function parms in ().
3718 (d_print_comp) [DEMANGLE_COMPONENT_PACK_EXPANSION]: Handle
3719 not finding a pack.
3720
3721 2009-03-17 Jason Merrill <jason (a] redhat.com>
3722
3723 * cp-demangle.c (d_make_function_param): new fn.
3724 (cplus_demangle_mangled_name): Work around abi v2 bug.
3725 (d_expr_primary): Likewise.
3726 (cplus_demangle_operators): Add alignof ops.
3727 (d_expression): Handle function parameters and conversions
3728 with other than 1 operand.
3729 (d_print_comp): Handle function parameters. Fix bug with
3730 function used in type of function.
3731 * testsuite/demangle-expected: Update tests.
3732
3733 2009-02-21 Mark Mitchell <mark (a] codesourcery.com>
3734
3735 * make-temp-file.c (<windows.h>): Include on Windows.
3736 (choose_tmpdir): On Windows, use GetTempPath.
3737
3738 2009-01-18 Dave Korn <dave.korn.cygwin (a] gmail.com>
3739
3740 * configure.ac (funcs, vars, checkfuncs): Don't munge on Cygwin,
3741 as it no longer shares libiberty object files.
3742 * configure: Regenerated.
3743
3744 2009-01-07 Jason Merrill <jason (a] redhat.com>
3745
3746 * cp-demangle.c (d_expression): Remove mangling for zero-op casts.
3747
3748 2009-01-06 Ben Elliston <bje (a] au.ibm.com>
3749
3750 * cp-demangle.c (cplus_demangle_type): Return NULL if the
3751 character following a 'D' cannot be recognised.
3752
3753 2008-12-18 Jason Merrill <jason (a] redhat.com>
3754
3755 PR c++/38561
3756 * cp-demangle.c (d_expression, d_print_comp): Revert
3757 cast changes.
3758
3759 2008-12-17 Jason Merrill <jason (a] redhat.com>
3760
3761 * cp-demangle.c (d_expression): Handle rvalue stubs too.
3762 [DEMANGLE_COMPONENT_CAST]: Update mangling.
3763 (d_print_comp): Avoid extra ", " with empty template argument packs.
3764 Remove handling for obsolete T() mangling.
3765
3766 2008-12-10 Jason Merrill <jason (a] redhat.com>
3767
3768 * cp-demangle.c (cplus_demangle_type): Support fixed-point types.
3769 (d_print_comp, d_dump): Likewise.
3770
3771 2008-10-22 Daniel Jacobowitz <dan (a] codesourcery.com>
3772
3773 * Makefile.in (CPPFLAGS): Define.
3774 (FLAGS_TO_PASS, COMPILE.c): Add CPPFLAGS.
3775
3776 2008-10-15 Paolo Bonzini <bonzini (a] gnu.org>
3777
3778 PR bootstrap/37137
3779 * Makefile.in (LIBCFLAGS): Remove.
3780 (FLAGS_TO_PASS): Don't mention it.
3781 (COMPILE.c, MULTIOSDIR): Replace it with CFLAGS.
3782
3783 2008-10-08 David Edelsohn <edelsohn (a] gnu.org>
3784
3785 * xstrdup.c: Include <sys/types.h> after "config.h"
3786
3787 2008-10-07 Jan Kratochvil <jan.kratochvil (a] redhat.com>
3788
3789 * configure.ac: Call AC_SYS_LARGEFILE.
3790 * config.in: Regenerated.
3791 * configure: Likewise.
3792
3793 2008-10-06 Jason Merrill <jason (a] redhat.com>
3794
3795 * cp-demangle.c (struct d_print_info): Add pack_index.
3796 (d_dump): Add DEMANGLE_COMPONENT_PACK_EXPANSION.
3797 (d_make_comp): Likewise. DEMANGLE_COMPONENT_ARGLIST and
3798 DEMANGLE_COMPONENT_TEMPLATE_ARGLIST can have two null args.
3799 (cplus_demangle_builtin_types): Add char16/32_t.
3800 (cplus_demangle_type): Recognize them.
3801 (d_template_args): Handle empty argument packs.
3802 (d_template_arg): Handle argument packs.
3803 (d_expression): Handle dependent name.
3804 (d_index_template_argument): New fn.
3805 (d_lookup_template_argument): New fn.
3806 (d_find_pack, d_pack_length): New fn.
3807 (d_print_subexpr): Split out...
3808 (d_print_comp): ...from here. Use d_*_template_argument.
3809 Handle empty arg lists. Support pack expansions.
3810 * cp-demangle.h (D_BUILTIN_TYPE_COUNT): Increase to 32.
3811
3812 2008-09-09 Jason Merrill <jason (a] redhat.com>
3813
3814 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_DECLTYPE.
3815 (d_make_comp): Likewise.
3816 (cplus_demangle_type): Handle decltype and DFP types.
3817 (cplus_demangle_operators): Call operator takes 2 args.
3818 (cplus_demangle_builtin_types): Add DFP types.
3819 (d_exprlist): New fn.
3820 (d_expression): Handle parm placeholders, T() and calls.
3821 (d_print_comp): Handle decltype, T() and calls.
3822 * testsuite/demangle-expected: Test the above.
3823
3824 2008-08-07 Aaron W. LaFramboise <aaronavay62 (a] aaronwl.com>
3825
3826 * pex-win32.c (argv_to_argc): New function.
3827 (spawn_script): Duplicate argv before calling win32_spawn.
3828
3829 2008-07-31 Jakub Jelinek <jakub (a] redhat.com>
3830
3831 * mkstemps.c (mkstemps): Keep looping even for EISDIR.
3832
3833 2008-07-31 Denys Vlasenko <dvlasenk (a] redhat.com>
3834
3835 * mkstemps.c (mkstemps): If open failed with errno other than
3836 EEXIST, return immediately.
3837 * make-temp-file.c: Include errno.h.
3838 (make_temp_file): If mkstemps failed, print an error message
3839 before aborting.
3840
3841 2008-07-24 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
3842
3843 * maint-tool (deps): Output config.h instead of stamp-h.
3844 * Makefile.in: Rebuild deps.
3845 (maintainer-clean-subdir): Depend on stamp-h rather than config.h.
3846 Reverts 2007-07-11 change.
3847
3848 2008-06-19 Eric Blake <ebb9 (a] byu.net>
3849
3850 Adjust strsignal to POSIX 200x prototype.
3851 * strsignal.c (strsignal): Remove const.
3852
3853 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
3854
3855 * configure: Regenerate.
3856
3857 2008-06-15 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
3858
3859 * libiberty.texi: Expand TABs, drop indentation outside examples.
3860 * obstacks.texi: Likewise.
3861
3862 2008-04-21 Aurelien Jarno <aurelien (a] aurel32.net>
3863
3864 * configure.ac: use -fPIC on Linux/MIPS hosts.
3865 * configure: Regenerate.
3866
3867 2008-04-18 Kris Van Hees <kris.van.hees (a] oracle.com>
3868
3869 * testsuite/demangle-expected: Added tests for char16_t and char32_t.
3870
3871 2008-04-18 Paolo Bonzini <bonzini (a] gnu.org>
3872
3873 PR bootstrap/35457
3874 * aclocal.m4: Add override.m4.
3875 * configure: Regenerate.
3876
3877 2008-03-31 Ian Lance Taylor <iant (a] google.com>
3878
3879 * cp-demangle.c (d_substitution): Correct overflow check to avoid
3880 -fstrict-overflow optimizations.
3881
3882 2008-03-27 Paolo Bonzini <bonzini (a] gnu.org>
3883
3884 * configure.ac (frags): Don't set, use frag instead.
3885 (PICFLAG): Set here and substitute.
3886 * Makefile.in (PICFLAG): Substitute from autoconf.
3887 * configure: Regenerate.
3888
3889 2008-03-24 Ian Lance Taylor <iant (a] google.com>
3890
3891 * sha1.c: New file, from gnulib.
3892 * Makefile.in: Rebuild dependencies.
3893 (CFILES): Add sha1.c.
3894 (REQUIRED_OFILES): Add sha1.o.
3895
3896 2008-03-24 Doug Evans <dje (a] google.com>
3897
3898 * make-relative-prefix.c (make_relative_prefix_1): Handle NULL
3899 return from strdup.
3900
3901 2008-03-12 Seongbae Park <seongbae.park (a] gmail.com>
3902
3903 * cplus-dem.c (malloc, realloc): Use void * instead of char *
3904 as return type.
3905
3906 2008-03-11 Nick Clifton <nickc (a] redhat.com>
3907
3908 * md5.c (md5_process_bytes): Do not assume that memcpy will
3909 provide a return value.
3910
3911 2008-02-19 Ben Elliston <bje (a] au.ibm.com>
3912
3913 PR other/12618
3914 * testsuite/Makefile.in (mostlyclean): Remove any core file.
3915
3916 2008-01-26 David Daney <ddaney (a] avtrex.com>
3917
3918 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
3919 DEMANGLE_COMPONENT_COMPOUND_NAME, and
3920 DEMANGLE_COMPONENT_CHARACTER cases.
3921 (d_make_comp): Handle DEMANGLE_COMPONENT_COMPOUND_NAME and
3922 DEMANGLE_COMPONENT_JAVA_RESOURCE cases.
3923 (d_make_character): New function.
3924 (d_java_resource): Same.
3925 (d_special_name): Handle "Gr" case.
3926 (d_print_comp): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
3927 DEMANGLE_COMPONENT_COMPOUND_NAME, and
3928 DEMANGLE_COMPONENT_CHARACTER cases.
3929 * testsuite/demangle-expected: Add test for java resource name
3930 mangling.
3931
3932 2008-01-23 Thiago Jung Bauermann <bauerman (a] br.ibm.com>
3933
3934 * cplus-dem.c (demangle_function_name): Changed to return value
3935 indicating if a name was correctly demangled.
3936 (iterate_demangle_function): Use demangle_function_name return
3937 value.
3938
3939 2008-01-19 Manuel Lopez-Ibanez <manu (a] gcc.gnu.org>
3940
3941 PR other/33768
3942 * splay-tree.c (rotate_left): Fix minor typo in comment.
3943 (rotate_right): Likewise.
3944
3945 2007-11-12 Joseph Myers <joseph (a] codesourcery.com>
3946
3947 * floatformat.c (floatformat_ibm_long_double_is_valid): Fix
3948 compiler warnings.
3949 (floatformat_ibm_long_double): Use
3950 floatformat_ibm_long_double_is_valid.
3951
3952 2007-11-07 Joseph Myers <joseph (a] codesourcery.com>
3953 Daniel Jacobowitz <dan (a] codesourcery.com>
3954
3955 * floatformat.c (mant_bits_set): New.
3956 (floatformat_to_double): Use it. Note no special handling of
3957 split formats.
3958 (floatformat_from_double): Note no special handing of split
3959 formats.
3960 (floatformat_ibm_long_double_is_valid,
3961 floatformat_ibm_long_double): New.
3962 (floatformat_ieee_single_big, floatformat_ieee_single_little,
3963 floatformat_ieee_double_big, floatformat_ieee_double_little,
3964 floatformat_ieee_double_littlebyte_bigword, floatformat_vax_f,
3965 floatformat_vax_d, floatformat_vax_g, floatformat_i387_ext,
3966 floatformat_m68881_ext, floatformat_i960_ext,
3967 floatformat_m88110_ext, floatformat_m88110_harris_ext,
3968 floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword,
3969 floatformat_ia64_spill_big, floatformat_ia64_spill_little,
3970 floatformat_ia64_quad_big, floatformat_ia64_quad_little): Update
3971 for addition of split_half field.
3972
3973 2007-09-06 Tom Tromey <tromey (a] redhat.com>
3974
3975 * pexecute.txh (pex_free): Document process killing.
3976
3977 2007-08-31 Douglas Gregor <doug.gregor (a] gmail.com>
3978
3979 * cp-demangle.c (d_dump): Handle
3980 DEMANGLE_COMPONENT_RVALUE_REFERENCE.
3981 (d_make_comp): Ditto.
3982 (cplus_demangle_type): Ditto.
3983 (d_print_comp): Ditto.
3984 (d_print_mod): Ditto.
3985 (d_print_function_type): Ditto.
3986
3987 2007-08-24 Kai Tietz <kai.tietz (a] onevision.com>
3988
3989 * pex-common.h: (pex_funcs): Retyped wait and exec_child to pid_t.
3990 * pex-djgpp.c: Likewise.
3991 * pex-msdos.c: Likewise.
3992 * pex-unix.c: Likewise.
3993 * pex-win32.c: Likewise.
3994
3995 2007-08-17 Michael Snyder <msnyder (a] access-company.com>
3996
3997 * make-relative-prefix.c (make_relative_prefix_1): Resource leaks.
3998
3999 2007-08-03 Michael Snyder <msnyder (a] access-company.com>
4000
4001 * make-relative-prefix.c (make_relative_prefix_1): Fix resource
4002 leak.
4003
4004 2007-07-31 Michael Snyder <msnyder (a] access-company.com>
4005
4006 * cp-demangle.c (d_print_comp): Guard against null.
4007
4008 2007-07-25 Ben Elliston <bje (a] au.ibm.com>
4009
4010 * Makefile.in (CFILES): Remove ternary.c.
4011 (REQUIRED_OFILES): Remove ./ternary.o.
4012 (INSTALLED_HEADERS): Remove ternary.h.
4013 (ternary.o): Remove.
4014 * ternary.c: Remove.
4015
4016 2007-07-23 DJ Delorie <dj (a] redhat.com>
4017
4018 * argv.c (writeargv): Fix typo in inline documentation.
4019 * functions.texi: Regenerate.
4020
4021 2007-07-17 DJ Delorie <dj (a] redhat.com>
4022
4023 * configure.ac (target_header_dir, msdosdjgpp): Remove duplicate
4024 gettimeofday entry.
4025 * configure: Likewise.
4026
4027 2007-07-11 Alexandre Oliva <aoliva (a] redhat.com>
4028
4029 * maint-tool (deps): Output stamp-h instead of config.h.
4030 * Makefile.in: Rebuild deps.
4031 (maintainer-clean-subdir): Depend on stamp-h rather than config.h.
4032
4033 2007-07-02 Simon Baldwin <simonb (a] google.com>
4034
4035 * argv.c (writeargv): Removed declaration of unused variable.
4036
4037 2007-06-14 Paolo Bonzini <bonzini (a] gnu.org>
4038
4039 * configure.ac: Use ACX_PROG_CC_ALMOST_PEDANTIC too.
4040 * configure: Regenerate.
4041
4042 2007-06-14 Paolo Bonzini <bonzini (a] gnu.org>
4043
4044 * aclocal.m4: Include config/warnings.m4.
4045 * configure.ac: Use ACX_PROG_CC_WARNING_OPTS.
4046 * configure: Regenerate.
4047
4048 2007-06-07 Geoffrey Keating <geoffk (a] apple.com>
4049
4050 * configure.ac: Non-default multilibs can be cross compilations.
4051 * configure: Regenerate
4052
4053 2007-05-07 Nathan Froyd <froydnj (a] codesourcery.com>
4054
4055 * argv.c (writeargv): New function.
4056
4057 2007-05-05 Geoffrey Keating <geoffk (a] apple.com>
4058
4059 * cp-demangle.c (d_name): Detect local-source-name.
4060 (d_prefix): Likewise.
4061 (d_unqualified_name): Implement local-source-name.
4062
4063 2007-05-03 Joel Brobecker <brobecker (a] adacore.com>
4064
4065 * filename_cmp.c: Replace include of ctype.h by include of
4066 safe-ctype.h.
4067 (filename_cmp): Use TOLOWER instead of tolower for conversions
4068 that are locale-independent.
4069 * Makefile.in (filename_cmp.o): Add dependency on safe-ctype.h.
4070
4071 2007-04-11 Thomas Neumann <tneumann (a] users.sourceforge.net>
4072
4073 * argv.c: Use ANSI C declarations.
4074 * make-relative-prefix.c: Likewise.
4075
4076 2007-04-06 Joel Brobecker <brobecker (a] adacore.com>
4077
4078 * filename_cmp.c (filename_cmp): Improve documentation.
4079
4080 2007-04-02 Andreas Schwab <schwab (a] suse.de>
4081
4082 * filename_cmp.c: Include "config.h".
4083
4084 2007-03-29 Joel Brobecker <brobecker (a] adacore.com>
4085
4086 * filename_cmp.c: New file.
4087 * Makefile.in (CFILES): Add filename_cmp.c.
4088 (REQUIRED_OFILES): Add filename_cmp.o
4089 (filename_cmp.o): New rule.
4090 * functions.texi: Regenerate.
4091
4092 2007-03-15 Geoffrey Keating <geoffk (a] apple.com>
4093
4094 * cp-demangle.c (d_encoding): Exit early on error.
4095 (d_pointer_to_member_type): Exit early if cplus_demangle_type
4096 returns NULL.
4097 (cplus_demangle_type): Likewise.
4098 * testsuite/demangle-expected: New testcase.
4099
4100 2007-03-01 Brooks Moses <brooks.moses (a] codesourcery.com>
4101
4102 * Makefile.in: Add install-pdf target as copied from
4103 automake v1.10 rules.
4104 * testsuite/Makefile.in: Add dummy install-pdf target.
4105
4106 2007-03-01 Peter Breitenlohner <peb (a] mppmu.mpg.de>
4107 Eric Botcazou <ebotcazou (a] libertysurf.fr>
4108
4109 PR other/16513
4110 * Makefile.in: Install library under $(MULTIOSDIR), not $(MULTISUBDIR).
4111 Install headers in multilib independent location.
4112
4113 2007-02-26 DJ Delorie <dj (a] redhat.com>
4114
4115 * configure.ac: add djgpp-specific results, so we don't have to
4116 link during a cross compilation.
4117 * configure: Regenerated.
4118
4119 2007-01-31 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
4120
4121 * hex.c: Fix typo.
4122 * choose-temp.c: Likewise.
4123 * functions.texi: Regenerate.
4124
4125 2007-01-31 Vladimir Prus <vladimir (a] codesourcery.com>
4126
4127 * pex-common.h (struct pex_obj): New fields
4128 stderr_pipe and read_err.
4129 * pex-common.c (pex_init_common): Initialize
4130 stderr_pipe.
4131 (pex_run_in_environment): Add error checking
4132 for PEX_STDERR_TO_PIPE. Create a pipe
4133 for stderr if necessary.
4134 (pex_read_err): New.
4135 (pex_free): Close read_err.
4136 * pexecute.txh: Document changes.
4137 * functions.texi: Regenerated.
4138
4139 2007-01-31 Ben Elliston <bje (a] au.ibm.com>
4140
4141 * strsignal.c (psignal): Change type of signo to int.
4142 * functions.texi: Regenerate.
4143
4144 2007-01-29 Simon Baldwin <simonb (a] google.com>
4145
4146 * cp-demangle.h (cplus_demangle_operators): External definition
4147 suppressed if not building for libstdc++.
4148 * cp-demangle.c (__gcclibcxx_demangle_callback): Augmented interface
4149 to demangling, provides a malloc-less version of __cxa_demangle.
4150 (cplus_demangle_print_callback): Public callback version of
4151 cplus_demangle_print.
4152 (struct d_growable_string): New growable string structure.
4153 (d_growable_string_init): New function, provides support for
4154 growable strings separate from print info.
4155 (d_growable_string_resize): Likewise.
4156 (d_growable_string_append_buffer): Likewise.
4157 (d_growable_string_callback_adapter):): Likewise.
4158 (d_print_init): New print info initialization function.
4159 (d_print_error): Macro replace by inline function.
4160 (d_print_saw_error): Likewise.
4161 (d_append_char): Likewise.
4162 (d_append_buffer): Likewise.
4163 (d_append_string): New inline function, replaces the
4164 d_append_string_constant macro.
4165 (d_flush_buffer): New function, flushes buffer to callback.
4166 (d_demangle_callback, is_ctor_or_dtor): Malloc-based fallback
4167 for unsupported dynamic arrays replaced by alloca().
4168 (d_demangle): Return string length estimating removed.
4169 (d_dump): Moved error case handling from call site into function.
4170 (d_print_resize): Function removed.
4171 (d_print_append_char): Likewise.
4172 (d_print_append_buffer): Likewise.
4173 (d_print_error): Likewise.
4174 (d_print_comp): Added special case handling for Java arrays.
4175 (java_demangle_v3): Removed string post-processing for Java arrays,
4176 now replaced by special case handling in d_print_comp.
4177 (cplus_demangle_v3_callback): Augmented interface to demangling,
4178 provides a malloc-less version of cplus_demangle_v3.
4179 (java_demangle_v3_callback): Augmented interface to demangling,
4180 provides a malloc-less version of java_demangle_v3.
4181
4182 2007-01-12 Ben Elliston <bje (a] au.ibm.com>
4183
4184 * pex-unix.c (writeerr): Cast write result to void.
4185
4186 * choose-temp.c (choose_temp_base): Check the result of the call
4187 to mktemp rather than testing the length of the modified string.
4188
4189 2006-12-20 Geoffrey Keating <geoffk (a] apple.com>
4190
4191 * cp-demangle.h: Add comment explaining what to do to avoid
4192 overrunning string.
4193 (d_check_char): New.
4194 (d_next_char): Don't advance past trailing '\0'.
4195 * cp-demangle.c (cplus_demangle_mangled_name): Use d_check_char.
4196 (d_nested_name): Likewise.
4197 (d_special_name): Likewise.
4198 (d_call_offset): Likewise.
4199 (d_function_type): Likewise.
4200 (d_array_type): Likewise.
4201 (d_pointer_to_member_type): Likewise.
4202 (d_template_param): Likewise.
4203 (d_template_args): Likewise.
4204 (d_template_arg): Likewise.
4205 (d_expr_primary): Likewise.
4206 (d_local_name): Likewise.
4207 (d_substitution): Likewise.
4208 (d_ctor_dtor_name): Use d_advance rather than d_next_char.
4209 * testsuite/test-demangle.c: Include sys/mman.h.
4210 (MAP_ANONYMOUS): Define.
4211 (protect_end): New.
4212 (main): Use protect_end.
4213 * testsuite/demangle-expected: Add testcases for overrunning
4214 the end of the string.
4215
4216 2006-11-30 Andrew Stubbs <andrew.stubbs (a] st.com>
4217 J"orn Rennecke <joern.rennecke (a] st.com>
4218
4219 PR driver/29931
4220 * make-relative-prefix.c (make_relative_prefix_1): New function,
4221 broken out of make_relative_prefix. Make link resolution dependent
4222 on new parameter.
4223 (make_relative_prefix): Use make_relative_prefix_1.
4224 (make_relative_prefix_ignore_links): New function.
4225
4226 2006-11-08 Vladimir Prus <vladimir (a] codesourcery.com>
4227
4228 * pex-win32.c (no_suffixes): Remove.
4229 (std_suffixes): Add "" as first element.
4230 (find_executable): Remove detection of already-present
4231 extension. Try all suffixes in std_suffixes.
4232
4233 2006-11-07 Julian Brown <julian (a] codesourcery.com>
4234
4235 * floatformat.c (get_field): Fix segfault with little-endian word
4236 order on 64-bit hosts.
4237 (put_field): Likewise.
4238 (min): Move definition.
4239
4240 2006-10-26 Danny Smith <dannysmith (a] users.sourceforge.net>
4241
4242 pex-win32.c (argv_to_cmdline): Replace xmalloc with XNEWVEC.
4243 (find_executable): Likewise.
4244 (win32_spawn): Cast alloca return to (char**).
4245 Replace malloc with XNEWVEC.
4246 bcopy.c (bcopy): Add explict casts in assignments.
4247
4248 2006-10-25 Ben Elliston <bje (a] au.ibm.com>
4249
4250 * pexecute.txh: Wrap pexecute's "flag" argument with @var {..}.
4251
4252 2006-10-10 Brooks Moses <bmoses (a] stanford.edu>
4253
4254 * Makefile.in: Added "pdf", "libiberty.pdf" target support.
4255 * testsuite/Makefile.in: Added empty "pdf" target.
4256
4257 2006-09-22 Ian Lance Taylor <ian (a] airs.com>
4258
4259 PR other/29176
4260 * cp-demangle.c (d_substitution): Check for overflow when
4261 computing substitution index.
4262
4263 2006-08-30 Corinna Vinschen <corinna (a] vinschen.de>
4264
4265 * configure.ac: Add case for Mingw as host.
4266 * configure: Regenerate.
4267
4268 2006-08-27 Ian Lance Taylor <ian (a] airs.com>
4269
4270 PR driver/27622
4271 * pex-common.h (struct pex_funcs): Add toclose parameter to
4272 exec_child field.
4273 * pex-common.c (pex_run_in_environment): Pass toclose to
4274 exec_child.
4275 * pex-djgpp.c (pex_djgpp_exec_child): Add toclose parameter.
4276 * pex-unix.c (pex_unix_exec_child): Likewise.
4277 * pex-msdos.c (pex_msdos_exec_child): Likewise.
4278 * pex-win32.c (pex_win32_exec_child): Likewise.
4279
4280 PR other/28797
4281 * cp-demangle.c (d_pointer_to_member_type): Do add a substitution
4282 for a qualified member which is not a function.
4283 * testsuite/demangle-expected: Add test case.
4284
4285 2006-07-27 Jan Hubicka <jh (a] suse.cz>
4286
4287 PR rtl-optimization/28071
4288 * hashtab.c (htab_empty): Clear out n_deleted/n_elements;
4289 downsize the hashtable.
4290
4291 2006-07-04 Peter O'Gorman <peter (a] pogma.com>
4292
4293 * Makefile.in: chmod 644 before ranlib during install.
4294
4295 2006-06-02 Mark Shinwell <shinwell (a] codesourcery.com>
4296
4297 * pex-unix.c (pex_unix_exec_child): Insert cast when assigning
4298 to environ.
4299
4300 2006-06-01 Mark Shinwell <shinwell (a] codesourcery.com>
4301
4302 * pex-common.c: New function pex_run_in_environment.
4303 * pex-common.h: Add environment parameter to exec_child.
4304 * pex-msdos.c: Add environment parameter to pex_msdos_exec_child.
4305 * pex-djgpp.c: Add environment parameter to pex_djgpp_exec_child.
4306 (pex_djgpp_exec_child): Pass environment to child process.
4307 * pex-unix.c: Add environment parameter to pex_unix_exec_child.
4308 (pex_unix_exec_child): Pass environment to child process.
4309 * pex-win32.c: Add environment parameter to pex_win32_exec_child.
4310 New function env_compare for comparing VAR=VALUE pairs.
4311 (win32_spawn): Assemble environment block and pass to CreateProcess.
4312 (spawn_script): Pass environment through to win32_spawn.
4313 (pex_win32_exec_child): Pass environment through to spawn_script and
4314 win32_spawn.
4315 * functions.texi: Regenerate.
4316 * pexecute.txh: Document pex_run_in_environment.
4317
4318 2006-05-28 Mark Shinwell <shinwell (a] codesourcery.com>
4319
4320 * mkstemps.c: Open temporary files in binary mode.
4321
4322 2006-05-12 Anton Blanchard <anton (a] samba.org>
4323
4324 * cplus-dem.c (demangle_fund_type): Ensure buf is large enough to
4325 hold "int%u_t".
4326
4327 2006-04-24 Julian Brown <julian (a] codesourcery.com>
4328
4329 * floatformat.c (floatformat_to_double): Fix (biased) exponent=0 case.
4330
4331 2006-03-29 Jim Blandy <jimb (a] codesourcery.com>
4332
4333 * pex-common.c (pex_input_file, pex_input_pipe): New functions.
4334 (pex_init_common): Initialize obj->input_file.
4335 (pex_run): Close any file opened by pex_input_file.
4336 * pexecute.txh (pex_input_file, pex_input_pipe): New docs.
4337 * pex-common.h (struct pex_obj): New field input_file.
4338 (struct pex_funcs): New function ptr fdopenw.
4339 * pex-unix.c (pex_unix_fdopenw): New function.
4340 (funcs): List it as our fdopenw function.
4341 * pex-win32.c (pex_win32_fdopenw): New function.
4342 (funcs): List it as our fdopenw function.
4343 * pex-djgpp.c (funcs): Leave fdopenw null.
4344 * pex-msdos (funcs): Same.
4345 * functions.texi: Regenerated.
4346
4347 2006-04-10 Jim Blandy <jimb (a] codesourcery.com>
4348
4349 * pex-common.c (temp_file): New function, containing guts of
4350 pex-style temporary file name generation.
4351 (pex_run): Use it.
4352
4353 2006-04-06 Carlos O'Donell <carlos (a] codesourcery.com>
4354
4355 * Makefile.in: Add install-html, install-html-am, and
4356 install-html-recursive targets. Define mkdir_p and
4357 NORMAL_INSTALL.
4358 * configure.ac: AC_SUBST datarootdir, docdir, htmldir.
4359 * configure: Regenerate.
4360 * testsuite/Makefile.in: Add install-html and html targets.
4361
4362 2006-03-31 Mark Mitchell <mark (a] codesourcery.com>
4363
4364 * pex-win32.c (<errno.h>): Include.
4365 (fix_argv): Remove.
4366 (argv_to_cmdline): New function.
4367 (std_suffixes): New variable.
4368 (no_suffixes): Likewise.
4369 (find_executable): New function.
4370 (win32_spawn): Likewise.
4371 (spawn_script): Use win32_spawn instead of _spawnv[p].
4372 (pex_win32_exec_child): Replace MSVCRT calls with Win32 API calls.
4373 (pex_win32_wait): Likewise.
4374
4375 2006-03-24 Jim Blandy <jimb (a] codesourcery.com>
4376
4377 * pex-common.c (pex_run): Simplify output name handling.
4378
4379 2006-03-12 Jim Blandy <jimb (a] red-bean.com>
4380
4381 * pex-common.h (struct pex_obj): Doc fixes.
4382
4383 2006-03-11 Jim Blandy <jimb (a] red-bean.com>
4384
4385 * functions.texi: Regenerate.
4386
4387 2006-02-21 Ben Elliston <bje (a] au.ibm.com>
4388
4389 * pexecute.c (pwait): Syntax fix for previous change.
4390
4391 2006-02-17 Uttam Pawar <uttamp (a] us.ibm.com>
4392
4393 * pexecute.c (pwait): Free vector pointer.
4394 * partition.c (partition_print): Free class_elements pointer.
4395
4396 2006-02-11 Roger Sayle <roger (a] eyesopen.com>
4397 R. Scott Bailey <scott.bailey (a] eds.com>
4398 Bill Northcott <w.northcott (a] unsw.edu.au>
4399
4400 PR bootstrap/16787
4401 * floatformat.c: Include <float.h> where available.
4402 (NAN): Use value of DBL_QNAN if defined, and NAN isn't.
4403
4404 2006-01-29 Gabriel Dos Reis <gdr (a] integrable-solutions.net>
4405
4406 * configure.ac: Add -Wc++-compat to ac_libibety_warn_cflags where
4407 supported.
4408 * configure: Regenerated.
4409
4410 2006-01-20 Carlos O'Donell <carlos (a] codesourcery.com>
4411
4412 * testsuite/Makefile.in: Add test-expandargv test.
4413 * testsuite/test-expandargv.c: New test.
4414 * argv.c (expandargv): Check for errors with ferror,
4415 rather than just by looking at return value from fread.
4416
4417 2005-12-17 Gabriel Dos Reis <gdr (a] integrable-solutions.net>
4418
4419 * floatformat.c (floatformat_i387_ext_is_valid): Use explicit cast
4420 to convert from "from".
4421 (floatformat_to_double): Likewise.
4422 (floatformat_from_double): Use explicit cast to convert from "to".
4423
4424 2005-12-10 Terry Laurenzo <tlaurenzo (a] gmail.com>
4425
4426 PR java/9861
4427 * cp-demangle.c (d_bare_function_type): Recognize new 'J' qualifer
4428 and include return type when found.
4429 (d_print_comp)[DEMANGLE_COMPONENT_FUNCTION_TYPE]: Add
4430 conditional logic to change printing order of return type.when
4431 the DMGL_RET_POSTFIX option is present.
4432 (java_demangle_v3): Add DMGL_RET_POSTFIX option to d_demangle
4433 call.
4434 * testsuite/test-demangle.c (main): Recognize option --ret-postfix
4435 * testsuite/demangle-expected: Test cases to verify extended encoding.
4436 Updated comment to document --ret-postfix option.
4437
4438 2005-11-06 Richard Guenther <rguenther (a] suse.de>
4439
4440 * splay-tree.c (rotate_left): New function.
4441 (rotate_right): Likewise.
4442 (splay_tree_splay_helper): Remove.
4443 (splay_tree_splay): Re-implement.
4444
4445 2005-10-31 Mark Kettenis <kettenis (a] gnu.org>
4446
4447 * floatformat.c (floatformat_vax_aingle, floatformat_vax_double):
4448 New variables.
4449
4450 2005-10-07 Mark Mitchell <mark (a] codesourcery.com>
4451
4452 * at-file.texi: Fix typo.
4453
4454 2005-10-03 Mark Mitchell <mark (a] codesourcery.com>
4455
4456 * at-file.texi: New file.
4457
4458 2005-09-27 Mark Mitchell <mark (a] codesourcery.com>
4459
4460 * argv.c (expandargv): Do not use xmalloc_failed.
4461
4462 2005-09-26 Mark Mitchell <mark (a] codesourcery.com>
4463
4464 * argv.c (safe-ctype.h): Include it.
4465 (ISBLANK): Remove.
4466 (stdio.h): Include.
4467 (buildargv): Use ISSPACE instead of ISBLANK.
4468 (expandargv): New function.
4469 * Makefile.in: Regenerated.
4470
4471 2005-09-14 Christopher Faylor <cgf (a] timesys.com>
4472
4473 * pex-win32.c: Include "windows.h".
4474 (backslashify): New function.
4475 (fix_argv): Use backslashify to convert path to windows format.
4476 Allocate one more place in new argv for potential executable from '#!'
4477 parsing.
4478 (tack_on_executable): New function. Conditional on USE_MINGW_MSYS
4479 (openkey): Ditto.
4480 (mingw_rootify): Ditto.
4481 (msys_rootify): Ditto.
4482 (spawn_script): New function.
4483 (pex_win32_exec_child): Save translated argv in newargv. Pass to
4484 spawn_script if spawnv* fails.
4485 (main): New function. Conditional on MAIN. Useful for testing.
4486
4487 2005-08-17 Mark Kettenis <kettenis (a] gnu.org>
4488
4489 * floatformat.c (floatformat_always_valid): Change type of last
4490 argument to `void *'.
4491 (floatformat_i387_ext_is_valid): Likewise.
4492 (floatformat_to_double): Change type of second argument to `const
4493 void *'.
4494 (floatformat_from_double): Change type of last argument to `void
4495 *'.
4496 (floatformat_is_valid): Change type of last argument to `const
4497 void *'.
4498 (ieee_test): Remove redundant casts.
4499
4500 2005-08-17 Kelley Cook <kcook (a] gcc.gnu.org>
4501
4502 * strverscmp.c: Update FSF address.
4503 * testsuite/Makefile.in: Likewise.
4504 * testsuite/test-demangle.c: Likewise.
4505 * testsuite/test-pexecute.c: Likewise.
4506
4507 2005-07-23 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
4508
4509 * getopt.c: Include ansidecl.h before system headers.
4510
4511 2005-07-22 Ben Elliston <bje (a] gnu.org>
4512
4513 * getopt.c: Include "ansidecl.h".
4514 (_getopt_initialize): Mark argc and argv parameters as unused.
4515
4516 2005-07-22 Ben Elliston <bje (a] gnu.org>
4517
4518 * regex.c (regcomp): Change type of `i' from unsigned to int.
4519
4520 2005-07-22 Ben Elliston <bje (a] gnu.org>
4521
4522 Recover patch lost in the sourceware repository:
4523 2005-07-09 Ben Elliston <bje (a] au.ibm.com>
4524 * memcpy.c: Remove ANSI_PROTOTYPES conditional code.
4525 * memmove.c: Likewise.
4526 * objalloc.c: Likewise.
4527
4528 2005-07-22 Ben Elliston <bje (a] gnu.org>
4529
4530 * configure.ac: Check for a getopt(3) declaration.
4531 * configure, config.in: Regenerate.
4532
4533 2005-07-15 Ben Elliston <bje (a] au.ibm.com>
4534
4535 * regex.c (TRANSLATE): Cast rhs of ternary expression to char.
4536
4537 2005-07-12 Ben Elliston <bje (a] au.ibm.com>
4538
4539 * floatformat.c (floatformat_to_double): Add a comment about a
4540 potential source of warnings when compiling this file.
4541
4542 2005-07-12 Ben Elliston <bje (a] au.ibm.com>
4543
4544 * pexecute.c (pexecute): Cast string litrals to char *.
4545 * regex.c (re_comp): Cast a call to gettext() to char *.
4546
4547 2005-07-07 Kelley Cook <kcook (a] gcc.gnu.org>
4548
4549 * config.table: Delete file. Move former contents into ...
4550 * configure.ac: ... here and escape any brackets for m4.
4551 * Makefile.in (config.status): Remove dependency on config.table.
4552 * configure: Regenerate.
4553
4554 2005-07-07 Kelley Cook <kcook (a] gcc.gnu.org>
4555
4556 * config.in: Regenerate for 6/20 change.
4557
4558 2005-07-03 Steve Ellcey <sje (a] cup.hp.com>
4559
4560 PR other/13906
4561 * md5.c (md5_process_bytes): Check alignment.
4562
4563 2005-07-01 Ian Lance Taylor <ian (a] airs.com>
4564
4565 PR other/22268
4566 * cp-demangle.c (d_expr_primary): Don't run off the end of the
4567 string while looking for the end of a literal value.
4568 * testsuite/demangle-expected: Add test case.
4569
4570 2005-06-30 Daniel Berlin <dberlin (a] dberlin.org>
4571
4572 * hashtab.c (EMPTY_ENTRY): Moved and renamed.
4573 (DELETED_ENTRY): Ditto.
4574
4575 2005-06-20 Geoffrey Keating <geoffk (a] apple.com>
4576
4577 * strverscmp.c: New.
4578 * Makefile.in (CFILES): Add strverscmp.c.
4579 (CONFIGURED_OFILES): Add strverscmp.o.
4580 (strverscmp.o): New rule.
4581 (stamp-functions): Add $(srcdir) to files in source directory.
4582 * configure.ac (funcs): Add strverscmp.
4583 (AC_CHECK_FUNCS): Add strverscmp.
4584 * configure: Regenerate.
4585 * functions.texi: Regenerate.
4586
4587 2005-05-28 Eli Zaretskii <eliz (a] gnu.org>
4588
4589 * configure.ac: Add snprintf and vsnprintf to AC_CHEK_DECLS.
4590 * config.in, configure: Regenerate.
4591
4592 2005-05-25 Richard Henderson <rth (a] redhat.com>
4593
4594 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_HIDDEN_ALIAS.
4595 (d_make_comp, d_print_comp): Likewise.
4596 (d_special_name): Generate one.
4597 * testsuite/demangle-expected: Add a hidden alias test.
4598
4599 2005-05-24 Gabriel Dos Reis <gdr (a] integrable-solutions.net>
4600
4601 * configure.ac: Check declarations for calloc(), getenv(),
4602 malloc(), realloc() and sbrk().
4603 * config.in: Regenerate.
4604 * configure: Likewise.
4605
4606 * alloca.c (C_alloca): Change "new" to "new_storage". Use XNEWVEC
4607 instead of xmalloc.
4608 * choose-temp.c (choose_temp_base): Use XNEWVEC instea od xmalloc.
4609 * concat.c (liiberty_concat_ptr): Surround definition with an
4610 extern "C" block, if __cplusplus.
4611 (concat): Use XNEWVEC instead of xmalloc.
4612 (reconcat): Likewise.
4613 * cp-demangle.c (struct d_print_template): Rename member
4614 "template" to "template_decl". Adjust use throughout the file.
4615 (d_print_resize): Properly cast return value of realloc().
4616 (cplus_demangle_print): Same for malloc().
4617 (d_demangle): Likewise.
4618 * cp-demint.c (cplus_demangle_fill_builtin_type): Rename parameter
4619 "typename" to "type_name".
4620 * cplus-dem.c (grow_vect): Use XRESIZEVEC instead of xrealloc().
4621 (work_stuff_copy_to_from): Use XNEWVEC insteand of xmalloc().
4622 (demangle_template_value_parm): Likewise.
4623 (demangle_template): Likewise.
4624 (recursively_demangle): Likewise.
4625 (do_hpacc_template_literal): Likewise.
4626 (do_arg): Likewise.
4627 (remember_type): Likewise.
4628 (remember_Ktype): Likewise.
4629 (register_Btype): Likewise.
4630 (string_need): Use XRESIZEVEC instead of xrealloc().
4631 * dyn-string.c (dyn_string_init): Use XNEWVEC.
4632 (dyn_string_new): Use XNEW.
4633 (dyn_string_resize): Use XRESIZEVEC.
4634 * fnmatch.c (fnmatch): Rename local variable "not" to "negate".
4635 * getopt.c (getenv): Declare only if !__cplusplus and !getenv.
4636 Otherwise include <stdlib.h>.
4637 (exchange): Cast return value of malloc().
4638 * hashtab.c (htab_size): Define as both macro and non-inline
4639 function.
4640 (htab_elements): Likewise.
4641 * getpwd.c (getpwd): Use XNEWVEC.
4642 (htab_create_alloc_ex): Use C90 prototype-style.
4643 * lrealpath.c (lrealpath): Appropriately cast return value of
4644 malloc().
4645 * make-relative-prefix.c (save_string): Likewise.
4646 * make-temp-file.c (try_dir): Rename from "try". Adjust use in
4647 the file.
4648 (choose_tmpdir): Use XNEWVEC.
4649 * mkstemps.c (mkstemps): Rename parameter "template" to "pattern".
4650 * pex-common.c (pex_init_common): Use XNEW.
4651 (pex_add_remove): Use XRESIZEVEC.
4652 (pex_run): Likewise.
4653 (pex_get_status_and_time): Likewise.
4654 * pex-djgpp.c (pex_djgpp_exec_child): Likewise.
4655 * pex-msdos.c (pex_init): Use XNEW.
4656 (pex_msdos_exec_child): Likewise.
4657 (pex_msdos_exec_child): Use XRESIZEVEC.
4658 * pex-unix.c (pex_wait): Use XNEW.
4659 * pex-win32.c (fix_argv): Use XNEWVEC.
4660 * pexecute.c (pwait): Likewise.
4661 * setenv.c (setenv): Properly cast return value of malloc().
4662 * sigsetmask.c (sigsetmask): Rename local variables "old" and
4663 "new" to "old_sig" and "new_sig".
4664 * sort.c (main): Use XNEWVEC.
4665 * spaces.c (spaces): Cast return value of malloc().
4666 * strndup.c (strndup): Likewise.
4667 * ternary.c (ternary_insert): Use XNEW.
4668 * xmalloc.c (malloc, realloc, calloc, sbrk): Surround declaration
4669 with an extern "C" block if __cplusplus.
4670 * xstrdup.c (xstrdup): Cast return value of memcpy().
4671 * xstrerror.c (strerror): Enclose declaration in an extern "C"
4672 block if __cplusplus.
4673 * xstrndup.c (xstrndup): Use XNEW. Cast return value of memcpy().
4674
4675 2005-05-16 Andreas Jaeger <aj (a] suse.de>
4676
4677 * getpwd.c: Remove unneeded prototype getcwd and move getwd so
4678 that it's only declared if needed.
4679
4680 * getopt1.c: Change order of includes so that __GNU_LIBRARY__ is
4681 defined.
4682
4683 2005-05-15 Andreas Jaeger <aj (a] suse.de>
4684
4685 * functions.texi: Regenerated.
4686
4687 2005-05-15 Eli Zaretskii <eliz (a] gnu.org>
4688
4689 * pexecute.txh: Enclose multi-word data types in @deftypefn in
4690 braces. Minor wording fixes. Use --- for em-dash. Use
4691 @enumerate in enumerated lists.
4692
4693 * fopen_unlocked.c: Enclose multi-word data types in @deftypefn in
4694 braces.
4695
4696 2005-05-11 Eli Zaretskii <eliz (a] gnu.org>
4697
4698 * pex-djgpp.c: Include string.h, fcntl.h, unistd.h, and
4699 sys/stat.h.
4700 (pex_init): Fix last argument to pex_init_common.
4701 (pex_djgpp_exec_child): Remove leading underscore from _open,
4702 _dup, _dup2, _close, and _spawnv/_spawnvp. Replace `program',
4703 which is undeclared, with `executable', which was unused. Remove
4704 unused variable `e'. Fix casting of last arg to spawnv/spawnvp.
4705 (pex_djgpp_wait): Declare arguments with ATTRIBUTE_UNUSED.
4706
4707 2005-05-11 Paul Brook <paul (a] codesourcery.com>
4708
4709 * Makefile.in: Regenerate dependencies.
4710
4711 2005-05-10 Nick Clifton <nickc (a] redhat.com>
4712
4713 * Update the address and phone number of the FSF organization in
4714 the GPL notices in the following files:
4715 COPYING.LIB, Makefile.in, _doprnt.c, argv.c, asprintf.c,
4716 choose-temp.c, clock.c, concat.c, copying-lib.texi, cp-demangle.c,
4717 cp-demangle.h, cp-demint.c, cplus-dem.c, dyn-string.c, fdmatch.c,
4718 fibheap.c, floatformat.c, fnmatch.c, fopen_unlocked.c,
4719 gather-docs, getopt.c, getopt1.c, getruntime.c, hashtab.c, hex.c,
4720 lbasename.c, lrealpath.c, maint-tool, make-relative-prefix.c,
4721 make-temp-file.c, md5.c, mempcpy.c, mkstemps.c, objalloc.c,
4722 obstack.c, partition.c, pex-common.c, pex-common.h, pex-djgpp.c,
4723 pex-msdos.c, pex-one.c, pex-unix.c, pex-win32.c, pexecute.c,
4724 physmem.c, putenv.c, regex.c, safe-ctype.c, setenv.c, snprintf.c,
4725 sort.c, spaces.c, splay-tree.c, stpcpy.c, stpncpy.c, strndup.c,
4726 strtod.c, ternary.c, unlink-if-ordinary.c, vasprintf.c,
4727 vsnprintf.c, vsprintf.c, xexit.c, xmalloc.c, xstrndup.c
4728
4729 2005-05-06 Kelley Cook <kcook (a] gcc.gnu.org>
4730
4731 * aclocal.m4 (AC_DEFINE_NOAUTOHEADER): Remove.
4732 * configure.ac: Replace any AC_DEFINE_NOAUTOHEADER with AC_DEFINE.
4733 * configure: Regenerate.
4734
4735 2005-05-06 Kelley Cook <kcook (a] gcc.gnu.org>
4736
4737 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
4738 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
4739 * aclocal.m4: Don't include accross.m4.
4740 * configure, config.in: Regenerate.
4741
4742 2005-04-25 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
4743
4744 * fopen_unlocked.c (unlock_std_streams): New.
4745
4746 * functions.texi: Regenerate.
4747
4748 2005-04-16 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
4749
4750 * fopen_unlocked.c (unlock_stream): New.
4751 Consolidate unlocking code into a helper function.
4752
4753 * functions.texi: Regenerate.
4754
4755 2005-04-13 Gabriel Dos Reis <gdr (a] integrable-solutions.net>
4756
4757 * asprintf.c: Include config.h.
4758 * basename.c: Likewise.
4759 * fdmatch.c: Likewise.
4760 * hex.c: Likewise.
4761 * lbasename.c: Likewise.
4762 * spaces.c: Likewise.
4763 * xatexit.c:Likewise.
4764 * configure.ac: Do check declarations for basename, ffs, asprintf
4765 and vasprintf for real.
4766 * configure: Regenerate.
4767
4768 2005-04-13 Gabriel Dos Reis <gdr (a] integrable-solutions.net>
4769
4770 * argv.c (dupargv): Allocate space of argv[argc], not
4771 sizeof(char *) of that amount. Cast result to char *.
4772
4773 2005-04-12 Gabriel Dos Reis <gdr (a] integrable-solutions.net>
4774
4775 * regex.c (wcs_re_match_2_internal, byte_re_match_2_internal):
4776 Replace not with negate.
4777
4778 2005-04-12 Gabriel Dos Reis <gdr (a] integrable-solutions.net>
4779
4780 * configure.ac: Check declarations for basename, ffs, asprintf,
4781 vasprintf.
4782 * configure: Regenerate.
4783 * config.in: Likewise.
4784
4785 2005-04-11 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
4786
4787 * Makefile.in (CFILES): Add fopen_unlocked.c.
4788 (REQUIRED_OFILES): Add ./fopen_unlocked.o.
4789 Regenerate dependencies.
4790
4791 * configure.ac: Check for stdio_ext.h and __fsetlocking.
4792
4793 * fopen_unlocked.c: New file.
4794
4795 * functions.texi, configure, config.in: Regenerate.
4796
4797 2005-04-04 Ian Lance Taylor <ian (a] airs.com>
4798
4799 * testsuite/test-pexecute.c (TEST_PEX_RUN): Move variable
4800 declaration before statement.
4801
4802 2005-04-02 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
4803
4804 * bcmp.c: Fix warnings and implement using memcmp.
4805 * bcopy.c: Fix warnings.
4806 * bzero.c: Fix warnings and implement using memset.
4807
4808 * configure.ac (ac_libiberty_warn_cflags): Add -Wwrite-strings
4809 -Wstrict-prototypes.
4810 * configure, config.in: Regenerate.
4811
4812 * bsearch.c, index.c, rindex.c, strstr.c, strtol.c, waitpid.c: Fix
4813 warnings and reconcile interfaces with relevant standards.
4814
4815 2005-04-02 Ian Lance Taylor <ian (a] airs.com>
4816
4817 * cp-demangle.c: Update copyright.
4818
4819 2005-03-31 Joseph S. Myers <joseph (a] codesourcery.com>
4820
4821 * gettimeofday.c: Add "Supplemental" to @deftypefn.
4822 * functions.texi: Regenerate.
4823
4824 2005-03-28 Ian Lance Taylor <ian (a] airs.com>
4825
4826 * pex-common.c: New file.
4827 * pex-one.c: New file.
4828 * pexecute.c: New file.
4829 * pex-common.h: Include <stdio.h>.
4830 (struct pex_obj): Define.
4831 (struct pex_funcs): Define.
4832 (pex_init_common): Declare.
4833 * pex-unix.c: Rewrite.
4834 * pex-win32.c: Rewrite.
4835 * pex-djgpp.c: Rewrite.
4836 * pex-msdos.c: Rewrite.
4837 * testsuite/text-pexecute.c: New file.
4838 * pexecute.txh: Rewrite.
4839 * configure.ac: Check for wait3 and wait4. Set CHECK to
4840 really-check rather than check-cplus-dem.
4841 * functions.texi: Rebuild.
4842 * Makefile.in: Rebuild dependencies.
4843 (CFILES): Add pexecute.c, pex-common.c, pex-one.c.
4844 (REQUIRED_OFILES): Add pexecute.o, pex-common.o, pex-one.o.
4845 * testsuite/Makefile.in (really-check): New target.
4846 (check-pexecute, test-pexecute): New targets.
4847 * configure: Rebuild.
4848
4849 2005-03-28 Mark Kettenis <kettenis (a] gnu.org>
4850
4851 * unlink-if-ordinary.c: Include <sys/types.h>.
4852
4853 2005-03-27 Gabriel Dos Reis <gdr (a] integrable-solutions.net>
4854
4855 Convert libiberty to use ISO C prototype style 7/n.
4856 * regex.c (PARAMS): Remove definition.
4857 (PREFIX): Unconditionaly define using ISO C ## operator.
4858 (init_syntax_once, extract_number, extract_number_and_incr,
4859 print_fastmap, print_partial_compiled_pattern,
4860 print_compiled_pattern, print_double_string, printchar,
4861 convert_mbs_to_wcs, re_set_syntax, regex_grow_registers,
4862 regex_compile, store_op1, store_op2, insert_op1, insert_op2,
4863 at_begline_loc_p, at_endline_p, group_in_compile_stack,
4864 insert_space, wcs_compile_range, byte_compile_range,
4865 truncate_wchar, re_compile_fastmap, re_compile_fastmap,
4866 re_set_registers, re_search, re_search_2, re_search_3, re_match,
4867 re_match_2, count_mbs_length, wcs_re_match_2_internal,
4868 byte_re_match_2_internal, group_match_null_string_p,
4869 alt_match_null_string_p, common_op_match_null_string_p,
4870 bcmp_translate, re_compile_pattern, re_comp, re_exec, regcomp,
4871 regexec, regerror, regfree): Use ISO C prototype style.
4872 * partition.c: (elem_compare): Likewise.
4873 * cp-demangle.c (print_usage): Likewise.
4874
4875 2005-03-27 Gabriel Dos Reis <gdr (a] integrable-solutions.net>
4876
4877 Convert libiberty to use ISO C prototype style 5/n.
4878 * random.c (srandom, initstate, setstate, random): Use ISO C
4879 prototypes.
4880 * putenv.c (putenv): Likewise.
4881 * physmem.c (physmem_available, physmem_total, main): Likewise.
4882 * pex-win32.c (fix_argv, pexecute, pwait): Likewise.
4883 * pex-unix.c (pexecute, pwait): Likewise.
4884 * pex-msdos.c (pexecute, pwait): Likewise.
4885 * pex-djgpp.c (pexecute, pwait): Likewise.
4886 * partition.c (partition_new, partition_delete, partition_union)
4887 (elem_compare, partition_print): Likewise.
4888 * obstack.c (_obstack_begin, _obstack_begin_1, _obstack_newchunk,
4889 _obstack_allocated_p, _obstack_free, obstack_free,
4890 _obstack_memory_used, print_and_abort, obstack_next_free,
4891 obstack_object_size, obstack_base): Likewise. Remove codes
4892 predicated on !defined(__STDC__).
4893 * objalloc.c (objalloc_create, _objalloc_alloc, objalloc_free,
4894 objalloc_free_block): Use ISO C prototypes.
4895 * mkstemps.c (mkstemps): Likewise.
4896 * memset.c (memset): Likewise.
4897 * mempcpy.c (mempcpy): Likewise.
4898 * rename.c (rename): Likewise.
4899 * rindex.c (rindex): Likewise.
4900 * setenv.c (setenv, unsetenv): Likewise.
4901 * sigsetmask.c (sigsetmask): Likewise.
4902 * snprintf.c (snprintf): Likewise.
4903 * sort.c (sort_pointers, xmalloc): Likewise.
4904 * spaces.c (spaces): Likewise.
4905 * splay-tree.c (splay_tree_delete_helper,
4906 splay_tree_splay_helper, splay_tree_splay,
4907 splay_tree_foreach_helper, splay_tree_xmalloc_allocate,
4908 splay_tree_new, splay_tree_xmalloc_allocate,
4909 splay_tree_new_with_allocator, splay_tree_delete,
4910 splay_tree_insert, splay_tree_remove, splay_tree_lookup,
4911 splay_tree_max, splay_tree_min, splay_tree_predecessor,
4912 splay_tree_successor, splay_tree_foreach,
4913 splay_tree_compare_ints, splay_tree_compare_pointers): Likewise.
4914 * stpcpy.c (stpcpy): Likewise.
4915 * stpncpy.c (stpncpy): Likewise.
4916 * strcasecmp.c (strcasecmp): Likewise.
4917 * strchr.c (strchr): Likewise.
4918 * strdup.c (strdup): Likewise.
4919
4920 2005-03-27 Gabriel Dos Reis <gdr (a] integrable-solutions.net>
4921
4922 Convert libiberty to use ISO C prototype style 6/n.
4923 * strerror.c (init_error_tables, errno_max, strerror, strerrno,
4924 strtoerrno, main): Use ISO C prototype style.
4925 * strncasecmp.c (strncasecmp): Likewise.
4926 * strncmp.c (strncmp): Likewise.
4927 * strndup.c (strndup): Likewise.
4928 * strrchr.c (strrchr): Likewise.
4929 * strsignal.c (init_signal_tables, signo_max, strsignal,
4930 strsigno, strtosigno, psignal, main): Likewise.
4931 * strstr.c (strstr): Likewise.
4932 * strtod.c (strtod, atof): Likewise.
4933 * strtol.c (strtol): Likewise.
4934 * strtoul.c (strtoul): Likewise.
4935 * ternary.c (ternary_insert, ternary_cleanup, ternary_search,
4936 ternary_recursivesearch): Likewise.
4937 * tmpnam.c (tmpnam): Likewise.
4938 * unlink-if-ordinary.c (unlink_if_ordinary): Likewise.
4939 * vasprintf.c (int_vasprintf, vasprintf, checkit, main): Likewise.
4940 * vfork.c (vfork): Likewise.
4941 * vfprintf.c (vfprintf): Likewise.
4942 * vprintf.c (vprintf): Likewise.
4943 * vsnprintf.c (vsnprintf, checkit, main): Likewise.
4944 * vsprintf.c (vsprintf): Likewise.
4945 * waitpid.c (waitpid): Likewise.
4946 * xatexit.c (xatexit, xatexit_cleanup): Likewise.
4947 * xexit.c (xexit): Likewise.
4948 * xmalloc.c (xmalloc_set_program_name, xmalloc_failed, xmalloc,
4949 xcalloc, xrealloc): Likewise.
4950 * xmemdup.c (xmemdup): Likewise.
4951 * xstrdup.c (xstrdup): Likewise.
4952 * xstrerror.c (xstrerror): Likewise.
4953 * xstrndup.c (xstrndup): Likewise.
4954
4955 2005-03-27 Andreas Jaeger <aj (a] suse.de>
4956
4957 * configure.ac (ac_c_preproc_warn_flag): Remove -Wtraditional
4958 flags.
4959 * configure: Regenerated.
4960
4961 2005-03-27 Gabriel Dos Reis <gdr (a] integrable-solutions.net>
4962
4963 * getopt1.c (getopt_long_only): Fix thinko.
4964
4965 2005-03-27 Gabriel Dos Reis <gdr (a] integrable-solutions.net>
4966
4967 Convert libiberty to use ISO C prototype style 4/n.
4968 * hashtab.c (higher_prime_index, hash_pointer, eq_pointer,
4969 htab_size, htab_elements, htab_mod_1, htab_mod, htab_mod_m2,
4970 htab_create_alloc, htab_set_functions_ex, htab_create,
4971 htab_try_create, htab_delete, htab_empty,
4972 find_empty_slot_for_expand, htab_expand, htab_find_with_hash,
4973 htab_find, htab_find_slot_with_hash, htab_find_slot,
4974 htab_remove_elt, htab_remove_elt_with_hash, htab_clear_slot,
4975 htab_traverse_noresize, htab_traverse, htab_collisions,
4976 htab_hash_string, iterative_hash): Use ISO C prototype.
4977 * hex.c (hex_init): Likewise.
4978 * index.c (index): Likewise.
4979 * insque.c (insque, remque): Likewise.
4980 * lbasename.c (lbasename): Likewise.
4981 * lrealpath.c (lrealpath): Likewise.
4982 * make-relative-prefix.c (save_string, split_directories,
4983 free_split_directories, make_relative_prefix): Likewise.
4984 * make-temp-file.c (try, choose_tmpdir, make_temp_file): Likewise.
4985 * md5.c (md5_init_ctx, md5_read_ctx, md5_finish_ctx, md5_stream,
4986 md5_buffer, md5_process_bytes, md5_process_block): Likewise.
4987 * memchr.c (memchr): Likewise.
4988 * memcpy.c (memcpy): Likewise.
4989 * memmove.c (memmove): Likewise.
4990 * gettimeofday.c (gettimeofday): Likewise.
4991 * getruntime.c (get_run_time): Likewise.
4992 * getpwd.c (getpwd, getpwd): Likewise.
4993 * getpagesize.c (getpagesize): Likewise.
4994 * getopt1.c (getopt_long, getopt_long_only, main): Likewise.
4995 * getopt.c (my_index, exchange, _getopt_initialize,
4996 _getopt_internal, getopt, main): Likewise.
4997 * getcwd.c (getcwd): Likewise.
4998 * fnmatch.c (fnmatch): Likewise.
4999 * floatformat.c (floatformat_always_valid,
5000 floatformat_i387_ext_is_valid, get_field, floatformat_to_double,
5001 put_field, floatformat_from_double, floatformat_is_valid,
5002 ieee_test, main): Likewise.
5003 * fibheap.c (fibheap_new, fibnode_new, fibheap_compare,
5004 fibheap_comp_data, fibheap_insert, fibheap_min, fibheap_min_key,
5005 fibheap_union, fibheap_extract_min, fibheap_replace_key_data,
5006 fibheap_replace_key, fibheap_replace_data, fibheap_delete_node,
5007 fibheap_delete, fibheap_empty, fibheap_extr_min_node,
5008 fibheap_ins_root, fibheap_rem_root, fibheap_consolidate,
5009 fibheap_link, fibheap_cut, fibheap_cascading_cut,
5010 fibnode_insert_after, fibnode_remove): Likewise.
5011 * ffs.c (ffs): Likewise.
5012 * fdmatch.c (fdmatch): Likewise.
5013 * dyn-string.c (dyn_string_init, dyn_string_new,
5014 dyn_string_delete, dyn_string_release, dyn_string_resize,
5015 dyn_string_clear, dyn_string_copy, dyn_string_copy_cstr,
5016 dyn_string_prepend, dyn_string_prepend_cstr, dyn_string_insert,
5017 dyn_string_insert_cstr, dyn_string_insert_char,
5018 dyn_string_append, dyn_string_append_cstr,
5019 dyn_string_append_char, dyn_string_substring, dyn_string_eq):
5020 Likewise.
5021
5022 2005-03-27 Gabriel Dos Reis <gdr (a] integrable-solutions.net>
5023
5024 Convert libiberty to use ISO C prototype style 3/n.
5025 * cplus-dem.c (set_cplus_marker_for_demangling, consume_count,
5026 consume_count_with_underscores, code_for_qualifier,
5027 qualifier_string, demangle_qualifier, cplus_demangle_opname,
5028 cplus_mangle_opname, cplus_demangle_set_style,
5029 cplus_demangle_name_to_style, cplus_demangle, grow_vect,
5030 ada_demangle, internal_cplus_demangle, squangle_mop_up,
5031 work_stuff_copy_to_from, delete_non_B_K_work_stuff,
5032 delete_work_stuff, mop_up, demangle_signature,
5033 demangle_method_args, demangle_template_template_parm,
5034 demangle_expression, demangle_integral_value,
5035 demangle_real_value, demangle_template_value_parm,
5036 demangle_template, arm_pt, demangle_arm_hp_template,
5037 demangle_class_name, demangle_class, iterate_demangle_function,
5038 demangle_prefix, gnu_special, recursively_demangle, arm_special,
5039 demangle_qualified, get_count, do_type, demangle_fund_type,
5040 do_hpacc_template_const_value, do_hpacc_template_literal,
5041 snarf_numeric_literal, do_arg, remember_type, remember_Ktype,
5042 register_Btype, remember_Btype, forget_B_and_K_types,
5043 forget_types, demangle_args, demangle_nested_args,
5044 demangle_function_name, string_need, string_delete, string_init,
5045 string_clear, string_empty, string_append, string_appends,
5046 string_appendn, string_prepend, string_prepends, string_prependn,
5047 string_append_template_idx): Use ISO C prootype style.
5048 * cp-demint.c (cplus_demangle_fill_component,
5049 cplus_demangle_fill_builtin_type, cplus_demangle_fill_operator,
5050 cplus_demangle_v3_components): Likewise.
5051
5052 2005-03-26 Gabriel Dos Reis <gdr (a] integrable-solutions.net>
5053
5054 Convert libiberty to use ISO C prototype style 2/n.
5055 * cp-demangle.h: Remove uses of PARAMS.
5056 * cp-demangle.c: Likewise.
5057 (d_dump, cplus_demangle_fill_name,
5058 cplus_demangle_fill_extended_operator, cplus_demangle_fill_ctor,
5059 cplus_demangle_fill_dtor, d_make_empty, d_make_comp, d_make_name,
5060 d_make_builtin_type, d_make_operator, d_make_extended_operator,
5061 d_make_ctor, d_make_dtor, d_make_template_param, d_make_sub,
5062 cplus_demangle_mangled_name, has_return_type,
5063 is_ctor_dtor_or_conversion, d_encoding, d_name, d_nested_name,
5064 d_prefix, d_unqualified_name, d_source_name, d_number,
5065 d_identifier, d_operator_name, d_special_name, d_call_offset,
5066 d_ctor_dtor_name, cplus_demangle_type, d_cv_qualifiers,
5067 d_function_type, d_bare_function_type, d_class_enum_type,
5068 d_array_type, d_pointer_to_member_type, d_template_param,
5069 d_template_args, d_template_arg, d_expression, d_expr_primary,
5070 d_local_name, d_discriminator, d_add_substitution,
5071 d_substitution, d_print_resize, d_print_append_char,
5072 d_print_append_buffer, d_print_error, cplus_demangle_print,
5073 d_print_comp, d_print_java_identifier, d_print_mod_list,
5074 d_print_mod, d_print_function_type, d_print_array_type,
5075 d_print_expr_op, d_print_cast, cplus_demangle_init_info,
5076 d_demangle, __cxa_demangle, cplus_demangle_v3, java_demangle_v3,
5077 is_ctor_or_dtor, is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor,
5078 print_usage, main):
5079
5080 2005-03-26 Gabriel Dos Reis <gdr (a] integrable-solutions.net>
5081
5082 Convert libiberty to ISO C prototype style 1/n.
5083 * _doprnt.c: Remove conditional #include <varargs.h> on
5084 ANSI_PROTOTYPES as the latter is always assumed.
5085 (_doprnt, checkit, main): Use ISO C prototype.
5086 * alloca.c (find_stack_direction, C_alloca): Use ISO C prototype.
5087 * argv.c: Remove conditional #includes on ANSI_PROTOTYPES.
5088 (dupargv, freeargv, buildargv, main): Use ISO C prototype.
5089 * atexit.c (atexit): Likewise
5090 * asprintf.c: Remove conditional include on ANSI_PROTOTYPES.
5091 (asprintf): Use ISO C prototype.
5092 * basename.c (basename): Likewise
5093 * bcmp.c (bcmp): Likewise.
5094 * bcopy.c (bcopy): Likewise.
5095 * bzero.c (bzero): Likewise.
5096 * bsearch.c (bsearch): Likewise. Improve const-correctness.
5097 * choose-temp.c (choose_temp_base): Likewise.
5098 * calloc.c: Remove conditional #include on ANSI_PROTOTYPES.
5099 (calloc): Use ISO C prototype.
5100 * clock.c (clock): Likewise.
5101 * concat.c: Remove conditional #include on ANSI_PROTOTYPES.
5102 (vconcat_length, vconcat_copy, concat_length, concat_copy,
5103 concat_copy2, concat, reconcat, main): Use ISO C prototype.
5104 * copysign.c (copysign): Likewise.
5105
5106 2005-03-24 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
5107
5108 * Makefile.in (CFILES): Add strndup.c and xstrndup.c.
5109 (REQUIRED_OFILES): Add xstrndup.o.
5110 (CONFIGURED_OFILES): Add strndup.o.
5111 Regenerate dependencies.
5112
5113 * configure.ac (funcs, AC_CHECK_FUNCS): Add strndup.
5114
5115 * strndup.c, xstrndup.c: New.
5116
5117 * config.in, configure, functions.texi: Regenerate.
5118
5119 2005-03-24 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
5120
5121 * xmemdup.c, xstrdup.c: Expose the tail call.
5122
5123 2005-03-09 Mark Mitchell <mark (a] codesourcery.com>
5124
5125 * configure.ac (funcs): Add gettimeofday.
5126 * configure: Regenerated.
5127 * gettimeofday.c: New file.
5128 * Makefile.in (CFILES): Add gettimeofday.
5129 (CONFIGURED_OFILES): Add gettimeofday.o.
5130 (./gettimeofday.o): New rule.
5131
5132 2005-03-09 Ian Lance Taylor <ian (a] airs.com>
5133
5134 * pex-os2.c: Remove.
5135 * configure.ac: Remove *-*-os2-emx* case when setting pexecute.
5136 * Makefile.in (CFILES): Remove pex-os2.c.
5137 (CONFIGURED_OFILES): Remove pex-os2.o.
5138 (pex-os2.o): Remove target.
5139 * configure: Rebuild.
5140
5141 2005-03-07 Ian Lance Taylor <ian (a] airs.com>
5142
5143 * mpw-config.in: Remove.
5144 * mpw-make.sed: Remove.
5145 * mpw.c: Remove.
5146 * Makefile.in (CFILES): Remove pex-mpw.c.
5147 (CONFIGURED_OFILES): Remove pex-mpw.o.
5148 (mpw.o, pex-mpw.o): Remove targets.
5149 * maint-tool (undoc): Remove reference to mpw.c.
5150
5151 2005-03-06 DJ Delorie <dj (a] redhat.com>
5152
5153 * configure.ac (target_header_dir): vfork is a stub under djgpp.
5154 * configure: Regenerated.
5155
5156 2005-03-01 Jan Beulich <jbeulich (a] novell.com>
5157
5158 * Makefile.in (CFILES): Add unlink-if-ordinary.c
5159 (REQUIRED_OFILES): Add unlink-if-ordinary.o.
5160 Add dependencies and rule for unlink-if-ordinary.o.
5161 * unlink-if-ordinary.c: New.
5162
5163 2005-03-01 Ben Elliston <bje (a] au.ibm.com>
5164
5165 * hashtab.c (htab_find_slot_with_hash): Make function
5166 documentation clearer.
5167
5168 2005-02-13 Jason Merrill <jason (a] redhat.com>
5169
5170 * cp-demangle.c (__cxa_demangle): Change resolution of ambiguous
5171 arguments.
5172
5173 2005-01-11 Tobias Schl"uter <tobias.schlueter (a] physik.uni-muenchen.de>
5174
5175 * hex.c (hex_value): Group 'unsigned int' together to get correct
5176 markup.
5177 * functions.texi: Regenerated.
5178
5179 2004-12-27 H.J. Lu <hongjiu.lu (a] intel.com>
5180
5181 * Makefile.in: Undo to 2004-12-17.
5182 * aclocal.m4: Likewise.
5183 * config.table: Likewise.
5184 * configure.ac: Likewise.
5185 * maint-tool: Likewise.
5186 * configure: Likewise.
5187
5188 2004-12-19 H.J. Lu <hongjiu.lu (a] intel.com>
5189
5190 PR bootstrap/19072
5191 * Makefile.in (enable_shared): New substitute.
5192 (LTTARGETLIB): New.
5193 (PREFIXTARGETLIB): New.
5194 (LTTESTLIB): New.
5195 (PREFIXTESTLIB): New.
5196 (CCLD): New.
5197 (LINK): New.
5198 ($(TARGETLIB)): Use $(LINK) to create libraries and create
5199 targets by hand.
5200 ($(TESTLIB)): Likewise.
5201 (mostlyclean): Don't remove .libs. Remove the libtool object
5202 directory.
5203
5204 * config.table (enable_shared): Removed.
5205
5206 * configure.ac (enable_static): Set to yes.
5207 (AC_PROG_LIBTOOL): Removed.
5208 (AM_DISABLE_SHARED): Uncommented.
5209 (AM_PROG_LIBTOOL): Likewise.
5210 (LIBOBJS): Add `./' to avoid VPATH.
5211 (LTLIBOBJS): Likewise.
5212 (enable_shared): Substitute.
5213 * configure: Regenerated.
5214
5215 2004-12-18 H.J. Lu <hongjiu.lu (a] intel.com>
5216
5217 * Makefile.in (top_builddir): Set to `.'.
5218 (OUTPUT_OPTION): Removed.
5219 (LIBTOOL): New.
5220 (LTLIBOBJS): New.
5221 (EXTRA_LTOFILES): New.
5222 (FLAGS_TO_PASS): Add EXTRA_LTOFILES.
5223 (all): Remove stamp-picdir.
5224 (LTCOMPILE): New.
5225 (.c.lo): New rule.
5226 (REQUIRED_LTOFILES): New.
5227 (CONFIGURED_LTOFILES): New.
5228 ($(TARGETLIB)): Check .libs for PIC object files. Depend on
5229 $(REQUIRED_LTOFILES) $(EXTRA_LTOFILES) $(LTLIBOBJS).
5230 (stamp-picdir): Completely removed.
5231 (maint-missing): Pass $(REQUIRED_LTOFILES)
5232 $(CONFIGURED_LTOFILES) instead of (REQUIRED_OFILES)
5233 $(CONFIGURED_OFILES)
5234 (maint-buildall): Depend on $(REQUIRED_LTOFILES)
5235 $(CONFIGURED_LTOFILES).
5236 (mostlyclean): Also remove *.lo .libs.
5237 Run "make maint-deps".
5238
5239 * aclocal.m4: Include ../libtool.m4.
5240
5241 * config.table: Don't check --enable-shared.
5242
5243 * configure.ac (AC_PROG_LIBTOOL): Add.
5244 (AC_PROG_CC_C_O): Removed.
5245 (OUTPUT_OPTION): Removed.
5246 (NO_MINUS_C_MINUS_O): Removed.
5247 (ltpexecute): New substitute.
5248 (LIBOBJS): Cleanup.
5249 * configure: Regenerated.
5250
5251 * maint-tool: Updated for .lo/libtool.
5252
5253 2004-12-11 Ben Elliston <bje (a] au.ibm.com>
5254
5255 * configure.ac: Invoke AC_CHECK_SIZEOF for sizeof (int).
5256 * configure: Regenerate.
5257 * config.in: Likewise.
5258
5259 2004-12-07 DJ Delorie <dj (a] redhat.com>
5260
5261 * splay-tree.c (splay_tree_delete_helper): Redesign the logic so
5262 that recursion (and thus large stack space) is not needed.
5263
5264 2004-11-29 Matt Kraai <kraai (a] alumni.cmu.edu>
5265
5266 * pex-unix.c: Fix the spelling of longjmp.
5267
5268 2004-11-23 Ian Lance Taylor <ian (a] wasabisystems.com>
5269
5270 PR other/18623
5271 * cp-demangle.c (d_call_offset): Remove useless local variables
5272 offset and virtual_offset.
5273 * cplus-dem.c (ada_demangle): Remove useless local variable
5274 at_start_name.
5275 (demangle_template): Remove useless local variable start.
5276
5277 2004-11-19 Roger Sayle <roger (a] eyesopen.com>
5278
5279 * objalloc.c, strsignal.c, xstrerror.c: Include "config.h" before
5280 "ansidecl.h" to avoid redeclaration errors with native compilers.
5281 * regex.c: Protect config.h from multiple inclusion.
5282
5283 2004-11-12 Mike Stump <mrs (a] apple.com>
5284
5285 * Makefile.in (libiberty.html): Fix html generation.
5286
5287 2004-09-08 Adam Nemet <anemet (a] lnxw.com>
5288
5289 * vasprintf.c: Accept __va_copy in addition to va_copy.
5290
5291 2004-09-03 Paolo Bonzini <bonzini (a] gnu.org>
5292
5293 * configure: Regenerate.
5294
5295 2004-09-02 Paolo Bonzini <bonzini (a] gnu.org>
5296
5297 * configure.ac: Do not enable multilibs for build-side libiberty.
5298
5299 2004-06-29 Danny Smith <dannysmith (a] users.sourceforge.net>
5300
5301 * lrealpath.c (lrealpath): Add _WIN32 support.
5302
5303 2004-06-28 Zack Weinberg <zack (a] codesourcery.com>
5304
5305 * cp-demangle.h: Declare cplus_demangle_operators,
5306 cplus_demangle_builtin_types, cplus_demangle_mangled_name, and
5307 cplus_demangle_type as static if IN_GLIBCPP_V3.
5308
5309 2004-06-28 Ian Lance Taylor <ian (a] wasabisystems.com>
5310
5311 PR other/16240
5312 * cp-demangle.c (d_expr_primary): Check for a failure return from
5313 cplus_demangle_type.
5314 * testsuite/demangle-expected: Add test case.
5315
5316 2004-05-31 Danny Smith <dannysmith (a] users.sourceforge.net>
5317
5318 * pex-win32.c (fix_argv): Expand comment.
5319
5320 2004-05-25 Daniel Jacobowitz <drow (a] false.org>
5321
5322 * Makefile.in: Add .NOEXPORT.
5323
5324 2004-04-29 Douglas B Rupp <rupp (a] gnat.com>
5325
5326 * mkstemps.c (mkstemps) [VMS]: Remove special open option. Update
5327 copyright.
5328
5329 2004-04-26 Maciej W. Rozycki <macro (a] ds2.pg.gda.pl>
5330
5331 * configure.ac (UNSIGNED_64BIT_TYPE): Unquote the definition.
5332 * configure: Regenerate.
5333
5334 2004-04-22 Richard Henderson <rth (a] redhat.com>
5335
5336 * hashtab.c: Include limits.h, stdint.h, ansidecl.h.
5337 (CHAR_BIT): Provide default.
5338 (struct prime_ent, prime_tab): New.
5339 (higher_prime_index): Rename from higher_prime_number, return index.
5340 (htab_mod_1): New.
5341 (htab_mod, htab_mod_m2): Use it.
5342 (htab_create_alloc, htab_create_alloc_ex): Store prime index.
5343 (htab_expand): Likewise.
5344 * configure.ac: Check for stdint.h.
5345 (UNSIGNED_64BIT_TYPE): New define and checks to fill it in.
5346 * config.in, configure: Rebuild.
5347
5348 2004-04-13 Ian Lance Taylor <ian (a] wasabisystems.com>
5349
5350 * strerror.c: Include config.h, and redefine sys_nerr and
5351 sys_errlist, before including ansidecl.h and libiberty.h.
5352
5353 2004-04-13 Jeff Law <law (a] redhat.com>
5354
5355 * hashtab.c (htab_remove_elt_with_hash): New function.
5356 (htab_remove_elt): Implement in terms of htab_remove_elt_with_hash.
5357
5358 2004-03-31 Richard Henderson <rth (a] redhat.com>
5359
5360 * hashtab.c (htab_size): Move to top of file; mark inline.
5361 (htab_elements): Likewise.
5362 (htab_mod, htab_mod_m2): New.
5363 (htab_delete): Refactor htab->size and htab->entries.
5364 (htab_empty): Likewise.
5365 (find_empty_slot_for_expand): Use htab_size, htab_mod, htab_mod_m2.
5366 (htab_find_with_hash, htab_find_slot_with_hash): Likewise.
5367 (htab_clear_slot): Use htab_size, htab_elements.
5368 (htab_traverse_noresize, htab_traverse): Likewise.
5369
5370 2004-03-17 Ian Lance Taylor <ian (a] wasabisystems.com>
5371
5372 * pex-unix.c (pexecute): Use vfork instead of fork, with
5373 appropriate changes to make this safe.
5374 * pex-common.h (STDERR_FILE_NO): Define.
5375
5376 * Makefile.in: Clean up REQUIRED_OFILES and CONFIGURED_OFILES for
5377 an 80 column screen. Run maint-deps.
5378
5379 2004-03-09 Kelley Cook <kcook (a] gcc.gnu.org>
5380
5381 * configure.ac: Bump version to 2.59. Apply suggested autoupdates.
5382 * acconfig.h: Delete redundant file.
5383 * config.in: Regenerate.
5384 * configure: Regenerate.
5385
5386 2004-03-09 Hans-Peter Nilsson <hp (a] axis.com>
5387
5388 * configure: Regenerate for config/accross.m4 correction.
5389
5390 2004-03-07 Andreas Jaeger <aj (a] suse.de>
5391
5392 * testsuite/test-demangle.c: Include <string.h> and <stdlib.h> for
5393 prototypes.
5394 (main): Initialize style.
5395
5396 2004-02-24 Ian Lance Taylor <ian (a] wasabisystems.com>
5397
5398 * cp-demangle.h (enum d_builtin_type_print): Add D_PRINT_UNSIGNED,
5399 D_PRINT_UNSIGNED_LONG, D_PRINT_LONG_LONG,
5400 D_PRINT_UNSIGNED_LONG_LONG, D_PRINT_FLOAT.
5401 * cp-demangle.c (cplus_demangle_builtin_types): Change char and
5402 short types to D_PRINT_DEFAULT. Change other integer types to use
5403 new D_PRINT_* values where appropriate. Change float types to
5404 D_PRINT_FLOAT.
5405 (d_print_comp) [LITERAL, LITERAL_NEG]: Handle new D_PRINT_*
5406 values.
5407 * testsuite/demangle-expected: Adjust two test cases.
5408
5409 * cp-demangle.c (d_print_function_type): Print a space before the
5410 parenthesis around the function type in more cases.
5411 * testsuite/demangle-expected: Adjust one test case.
5412
5413 * cp-demangle.c (d_print_comp) [UNARY]: Don't emit extra
5414 parentheses around a cast.
5415 * testsuite/demangle-expected: Adjust two test cases to match new
5416 output.
5417
5418 * cp-demangle.c (__cxa_demangle): Pass DMGL_PARAMS to d_demangle.
5419
5420 * cp-demangle.c (d_print_comp) [RESTRICT, VOLATILE, CONST]: Don't
5421 push more than one of the same CV-qualifier on the top of the
5422 stack.
5423 (d_print_comp) [ARRAY_TYPE]: If the array itself is CV-qualified,
5424 move the CV-qualifiers to apply to the element type instead.
5425 (d_print_array_type): When checking the modifiers, keep looking
5426 past ones which have been printed already.
5427 * testsuite/demangle-expected: Add three test cases.
5428
5429 2004-02-23 Ian Lance Taylor <ian (a] wasabisystems.com>
5430
5431 * cp-demangle.c (__cxa_demangle): Adjust last patch to handle
5432 empty string correctly.
5433
5434 * cp-demangle.c (__cxa_demangle): It is not an error if status is
5435 not NULL. It is an error if the mangled name is the same as a
5436 built-in type name.
5437 (main): If IN_GLIBCPP_V3 is defined, test __cxa_demangle rather
5438 than cplus_demangle_v3.
5439
5440 * dyn-string.c: Remove test of IN_LIBGCC2 and IN_GLIBCPP_V3 and
5441 the associated #define of RETURN_ON_ALLOCATION_FAILURE.
5442
5443 2004-02-16 Matt Kraai <kraai (a] alumni.cmu.edu>
5444
5445 * regex.c: Include <ansidecl.h>.
5446 (regcomp): Cast i to int.
5447 (regerror): Add ATTRIBUTE_UNUSED to parameter preg.
5448
5449 2004-01-25 Ian Lance Taylor <ian (a] wasabisystems.com>
5450
5451 * configure.ac: Add m4_pattern_allow(LIBOBJS).
5452 * configure: Regenerate.
5453
5454 2004-01-22 DJ Delorie <dj (a] redhat.com>
5455
5456 * Makefile.in: Convert to ./ throughout. Rebuild dependencies
5457 with explicit build rules.
5458 (VPATH): Remove.
5459 (.c.o): Poison.
5460 * configure.ac (pexecute, LIBOBJS): Add ./ .
5461 * maint-tool: Build dependencies with explicit rules.
5462
5463 2004-01-15 Kazu Hirata <kazu (a] cs.umass.edu>
5464
5465 * strdup.c (strdup): Constify the argument.
5466
5467 2004-01-14 Loren J. Rittle <ljrittle (a] acm.org>
5468
5469 * Makefile.in (distclean): Remove config.cache.
5470
5471 2004-01-13 Daniel Jacobowitz <drow (a] mvista.com>
5472
5473 * cp-demangle.c (d_make_comp): DEMANGLE_COMPONENT_CONSTRUCTION_VTABLE
5474 takes two parameters.
5475 * cp-demint.c (cplus_demangle_fill_component): Likewise.
5476
5477 2004-01-12 Ian Lance Taylor <ian (a] wasabisystems.com>
5478
5479 * cp-demangle.c: Include "cp-demangle.h". If IN_GLIBCPP_V3 is
5480 defined, rename some functions which are to become static via
5481 #define.
5482 (CP_STATIC_IF_GLIBCPP_V3): Define.
5483 (struct d_operator_info): Move definition to cp-demangle.h, and
5484 rename to demangle_operator_info. Change all uses.
5485 (enum d_builtin_type_print): Move definition to cp-demangle.h.
5486 (struct d_builtin_type_info): Move definition to cp-demangle.h,
5487 and rename to demangle_builtin_type_info. Change all uses.
5488 (enum d_comp_type): Move definition to include/demangle.h, and
5489 rename to demangle_component_type, and change all enums to start
5490 with DEMANGLE_COMPONENT_ instead of D_. Change all uses.
5491 (struct d_comp): Move definition to include/demangle.h, and rename
5492 to demangle_component. Change all uses.
5493 (struct d_info): Move definition to cp-demangle.h.
5494 (cplus_demangle_fill_name): New function.
5495 (cplus_demangle_fill_extended_operator): New function.
5496 (cplus_demangle_fill_ctor): New function.
5497 (cplus_demangle_fill_dtor): New function.
5498 (d_make_empty): Remove type parameter. Change all callers.
5499 (d_make_name): Use cplus_demangle_fill_name.
5500 (d_make_extended_operator): Use
5501 cplus_demangle_fill_extended_operator.
5502 (d_make_ctor): Use cplus_demangle_fill_ctor.
5503 (d_make_dtor): Use cplus_demangle_fill_dtor.
5504 (cplus_demangle_mangled_name): Rename from d_mangled_name. Make
5505 non-static by default. Change all callers.
5506 (cplus_demangle_operators): Rename from d_operators. Change all
5507 uses. Make non-static by default. Add sentinel at end of array.
5508 (d_operator_name): Adjust initialization of high for new sentinel
5509 in cplus_demangle_operators.
5510 (cplus_demangle_builtin_types): Rename from d_builtin_types.
5511 Change all uses. Make non-static by default. Change initializer
5512 to use D_BUILTIN_TYPE_COUNT instead of magic number 26.
5513 (cplus_demangle_type): Rename from d_type. Make non-static by
5514 default. Change all callers.
5515 (cplus_demangle_init_info): Rename from d_init_info. Make
5516 non-static by default. Change all callers.
5517 * cp-demangle.h: New file.
5518 * cp-demint.c: New file.
5519 * Makefile.in: Rebuild dependencies.
5520 (CFILES): Add cp-demint.c.
5521 (REQUIRED_OFILES): Add cp-demint.o.
5522
5523 2004-01-09 Kelley Cook <kcook (a] gcc.gnu.org>
5524
5525 * configure.in: Rename file to ...
5526 * configure.ac: ... this.
5527 * Makefile.in: Update a comment for above change.
5528 * README: Likewise.
5529 * config.in: Regenerate.
5530
5531 2004-01-02 Ian Lance Taylor <ian (a] wasabisystems.com>
5532
5533 * cp-demangle.c (d_encoding): When DMGL_PARAMS is not set, strip
5534 CV-qualifiers from D_COMP_LOCAL_NAME right subtree.
5535 * cplus-dem.c (demangle_arm_hp_template): Set DMGL_PARAMS when
5536 demangling template parameters.
5537 * testsuite/test-demangle.c (fail): New static function.
5538 (main): Support new options in input file: --no-params,
5539 --is-v3-ctor, and --is-v3-dtor.
5540 * testsuite/demangle-expected: Add --no-params to most tests, and
5541 add the correct result when parameters are not demangled. Add
5542 some simple tests for V3 constructor/destructor recognition.
5543
5544 2003-12-25 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
5545
5546 * cp-demangle.c (is_ctor_or_dtor): Fix error in last change.
5547
5548 2003-12-22 Daniel Jacobowitz <drow (a] mvista.com>
5549
5550 PR debug/13272
5551 * Makefile.in (lbasename.o): Depend on filenames.h.
5552 * lbasename.c: Include "filenames.h" instead of defining
5553 its macros locally.
5554
5555 2003-12-22 Ian Lance Taylor <ian (a] wasabisystems.com>
5556
5557 * cp-demangle.c (CP_DYNAMIC_ARRAYS): Define if compiler supports
5558 dynamic arrays.
5559 (struct d_operator_info): Add len field.
5560 (struct d_builtin_type_info): Add len and java_len fields.
5561 (struct d_standard_sub_info): Add simple_len, full_len, and
5562 set_last_name_len fields.
5563 (struct d_comp): Add len field to s_string.
5564 (struct d_info): Add send, did_subs, and expansion fields.
5565 (d_append_string_constant): Define.
5566 (d_append_string): Remove. Change all users to use
5567 d_append_string_constant or d_append_buffer instead.
5568 (d_make_sub): Add len parameter. Change all callers.
5569 (d_name): Increase expansion when substituting std::.
5570 (d_unqualified_name): Increase expansion for an operator.
5571 (d_number): Don't use multiplication for negative numbers.
5572 (d_identifier): Make sure there are enough characters in the
5573 string for the specified length. Adjust expansion for an
5574 anonymous namespace.
5575 (d_operators): Initialize len field.
5576 (d_special_name, d_ctor_dtor_name): Increase expansion.
5577 (d_builtin_types): Initialize len and java_len fields.
5578 (d_type): Increase expansion for a builtin type.
5579 (d_cv_qualifiers): Increase expansion for each qualifier.
5580 (d_bare_function_type): Decrease expansion when removing single
5581 void parameter.
5582 (d_template_param): Increment did_subs.
5583 (d_expression): Increase expansion for an operator.
5584 (d_expr_primary): Decrease expansion for a type we will print
5585 specially.
5586 (standard_subs): Initialize new fields.
5587 (d_substitution): Increment did_subs when doing a normal
5588 substitution. Increase expansion for a special substitution.
5589 (d_print): Add estimate parameter. Change all callers.
5590 (d_print_comp) [D_COMP_NAME]: Handle C++ case inline.
5591 (d_print_comp) [D_COMP_BINARY]: Use length to avoid strcmp call.
5592 (d_print_java_identifier): Rename from d_print_identifier. Handle
5593 only Java case. Change caller.
5594 (d_init_info): Change return type to void. Change all callers.
5595 Initialize send, did_subs, and expansion fields. Do not
5596 initialize comps and subs fields.
5597 (d_demangle): Ifdef CP_DYNAMIC_ARRAYS, allocate comps and subs
5598 arrays on stack. Make an estimate of the length of the demangled
5599 name. Ifdef CP_DEMANGLE_DEBUG, print estimation failures.
5600 (is_ctor_or_dtor): Ifdef CP_DYNAMIC_ARRAYS, allocate comps and
5601 subs arrays on stack.
5602
5603 2003-12-20 Ian Lance Taylor <ian (a] wasabisystems.com>
5604
5605 * cp-demangle.c (d_identifier): In Java mode, skip an optional '$'
5606 after the identifier.
5607 * testsuite/demangle-expected: Add test case.
5608
5609 2003-12-19 Ian Lance Taylor <ian (a] wasabisystems.com>
5610
5611 Fix for PR c++/13447:
5612 * cp-demangle.c (enum d_comp_type): Add D_COMP_LOCAL_NAME.
5613 (d_dump, d_make_comp): Handle D_COMP_LOCAL_NAME.
5614 (is_ctor_dtor_or_conversion): Handle D_COMP_LOCAL_NAME like
5615 D_COMP_QUAL_NAME.
5616 (is_ctor_or_dtor): Likewise.
5617 (d_local_name): Use D_COMP_LOCAL_NAME rather than
5618 D_COMP_QUAL_NAME.
5619 (d_print_comp) [D_COMP_LOCAL_NAME]: New.
5620 (d_prinT_comp) [D_COMP_TYPED_NAME]: If the left tree is
5621 D_COMP_LOCAL_NAME, pull any qualifiers off its right subtree.
5622 (d_print_mod_list): Handle D_COMP_LOCAL_NAME.
5623 * testsuite/demangle-expected: Add two test cases.
5624
5625 * cp-demangle.c (d_print_function_type): Clear the global modifier
5626 list when printing the modifiers, not just when printing the
5627 function parameters.
5628 * testsuite/demangle-expected: Add two test cases.
5629
5630 2003-12-15 Ian Lance Taylor <ian (a] wasabisystems.com>
5631
5632 * cp-demangle.c (d_print_function_type): Print the function
5633 parameters with no modifiers.
5634 * testsuite/demangle-expected: Add test case.
5635
5636 * cp-demangle.c (d_demangle): If DMGL_PARAMS is not set, don't
5637 expect that we've read the entire string.
5638 (is_ctor_or_dtor): Don't expect that we've read the entire
5639 string--reverse patch of 2003-11-29.
5640
5641 2003-12-15 Brendan Kehoe <brendan (a] zen.org>
5642
5643 * Makefile.in (floatformat.o): Add dependency on
5644 config.h to accompany change of 2003-12-03.
5645
5646 2003-12-15 Ian Lance Taylor <ian (a] wasabisystems.com>
5647
5648 Fix handling of constructor/destructor of standard substitution:
5649 * cp-demangle.c (struct d_standard_sub_info): Define.
5650 (d_substitution): Add prefix argument. Change all callers.
5651 Rework handling of standard substitutions to print full name when
5652 qualifying a constructor/destructor, or when DMGL_VERBOSE is set.
5653 * testsuite/demangle-expected: Add test case.
5654
5655 Fix handling of negative literal constants:
5656 * cp-demangle.c (enum d_comp_type): Add D_COMP_LITERAL_NEG.
5657 (d_dump, d_make_comp): Handle D_COMP_LITERAL_NEG.
5658 (d_expr_primary): Use D_COMP_LITERAL_NEG for a negative number.
5659 (d_print_comp): Handle D_COMP_LITERAL_NEG.
5660 * testsuite/demangle-expected: Add test case.
5661
5662 2003-12-04 Ian Lance Taylor <ian (a] wasabisystems.com>
5663
5664 * cp-demangle.c (IS_UPPER, IS_LOWER): Define.
5665 (d_last_char): Define new macro.
5666 (d_make_name): Reject an empty name.
5667 (d_prefix, d_unqualified_name, d_type): Use new IS_* macros.
5668 (d_substitution, d_print_identifier): Likewise.
5669 (d_print_comp) [D_COMP_OPERATOR]: Likewise.
5670 (d_print_comp) [D_COMP_TEMPLATE]: Use new d_last_char macro.
5671 (d_print_mod) Use new d_last_char macro.
5672 (d_print_cast): Use new d_last_char macro.
5673 (is_ctor_or_dtor): Don't leak memory.
5674
5675 Fix handling of member function modifiers:
5676 * cp-demangle.c (enum d_comp_type): Add D_COMP_RESTRICT_THIS,
5677 D_COMP_VOLATILE_THIS, and D_COMP_CONST_THIS.
5678 (d_dump): Dump new d_comp_type values.
5679 (d_make_comp): Accept new d_comp_type values.
5680 (has_return_type): Only accept _THIS variants of qualifiers.
5681 (d_encoding): Without DMGL_PARAMS, only remove _THIS variants of
5682 qualifiers.
5683 (d_cv_qualifiers): Add member_fn parameter. Change all callers.
5684 (d_print_comp) [D_COMP_TYPED_NAME]: Rather than removing
5685 qualifiers and printing them at the end, add _THIS qualifiers to
5686 the modifier list.
5687 (d_print_comp) [D_COMP_*_THIS]: New cases.
5688 (d_print_comp) [D_COMP_PTRMEM_TYPE]: Remove special handling of
5689 qualifiers.
5690 (d_print_mod_list): Add suffix parameter. Change all callers.
5691 Keep walking the list even if the current modifier has been
5692 printed.
5693 (d_print_mod): Handle new _THIS qualifiers.
5694 (d_print_function_type): Handle new _THIS qualifiers when deciding
5695 whether to print a parenthesis. Put a space before the
5696 parenthesis in some cases. Call d_print_mod_list again at the
5697 end, passing suffix as 1.
5698 (is_ctor_or_dtor): Look for new _THIS qualifiers.
5699 * testsuite/demangle-expected: Add test case.
5700
5701 Fix for PR gcc/13304:
5702 * cp-demangle.c (d_print_comp) [D_COMP_TEMPLATE]: If the character
5703 before the '<' is itself a '<', insert a space.
5704 (d_print_cast): Likewise.
5705 * testsuite/demangle-expected: Add test case.
5706
5707 Fix for PR gcc/13244:
5708 * cp-demangle.c (d_print_comp) [D_COMP_BINARY]: Wrap an expression
5709 which uses the '>' operator in an extra layer of parens.
5710 * testsuite/demangle-expected: Add test case.
5711
5712 2003-12-03 Ian Lance Taylor <ian (a] wasabisystems.com>
5713
5714 * floatformat.c: Include "config.h" and <string.h> if available.
5715 (INFINITY, NAN): Define if not defined by <math.h>.
5716 (floatformat_to_double): Handle NaN, infinity, and denormalized
5717 numbers.
5718 (floatformat_from_double): Likewise.
5719 (ieee_test): In debugging code, use little endian rather than big
5720 endian. Correct tests to handle NaN and to check correct sign of
5721 zero. Omit m68k extended test.
5722 (main): Add more debugging cases.
5723
5724 2003-11-29 Ian Lance Taylor <ian (a] wasabisystems.com>
5725
5726 * cp-demangle.c (d_demangle): Only return success if we consumed
5727 the entire demangled string.
5728 (is_ctor_or_dtor): Likewise.
5729
5730 * testsuite/demangle-expected: Revert one part of 2003-06-26 patch
5731 to restore expected result of EDG test case to original expected
5732 result.
5733
5734 2003-11-26 Ian Lance Taylor <ian (a] wasabisystems.com>
5735
5736 * cp-demangle.c (struct d_print_mod): Add templates field.
5737 (d_make_builtin_type): Check for NULL type.
5738 (d_make_extended_operator): Check for NULL name.
5739 (d_make_ctor, d_make_dtor): Likewise.
5740 (d_mangled_name): Add top_level parameter. Change all callers.
5741 (d_encoding): If DMGL_PARAMS is not set, strip off initial
5742 CV-qualifiers.
5743 (d_type): Check some return values we rely on.
5744 (d_bare_function_type, d_array_type): Likewise.
5745 (d_pointer_to_member_type, d_template_args): Likewise.
5746 (d_add_substitution): Fail if argument is NULL.
5747 (d_print_resize): Check whether buf is NULL.
5748 (d_print_comp): Save current templates list with each modifier.
5749 Don't pass the modifier list down when printing a template.
5750 (d_print_cast): Don't pass the modifier list down when printing a
5751 template.
5752 (d_print_mod_list): Temporarily set templates list while printing
5753 a modifier.
5754 (d_print_mod): Check that buf is not NULL before using it.
5755 (d_print_function_type): Print parens if there is no modifier.
5756 (d_init_info): Permit as many substitutions as there are
5757 characters in the mangled name.
5758 * testsuite/demangle-expected: Add two new test cases.
5759
5760 2003-11-25 Ian Lance Taylor <ian (a] wasabisystems.com>
5761
5762 * cp-demangle.c (java_demangle_v3): Pass DMGL_PARAMS to
5763 d_demangle.
5764
5765 2003-11-22 Ian Lance Taylor <ian (a] wasabisystems.com>
5766
5767 * cp-demangle.c (d_encoding): Add top_level parameter. Change all
5768 callers.
5769 (print_usage): Display new -p option.
5770 (long_options): Add --no-params.
5771 (main): Accept and handle -p.
5772
5773 2003-11-21 Ian Lance Taylor <ian (a] wasabisystems.com>
5774
5775 * cp-demangle.c (has_return_type): Skip qualifiers when checking
5776 whether we have a template.
5777 * testsuite/demangle-expected: Add four new tests.
5778
5779 2003-11-20 Ian Lance Taylor <ian (a] wasabisystems.com>
5780
5781 * testsuite/demangle-expected: Minor changes to match output of
5782 new demangler: adjust whitespace in four tests, and change order
5783 of qualifiers in one test.
5784
5785 * cp-demangle.c: Complete rewrite.
5786
5787 2003-11-19 Mark Mitchell <mark (a] codesourcery.com>
5788
5789 * cp-demangle.c (demangle_type): Correct thinko in substitution
5790 processing.
5791
5792 2003-11-18 Ian Lance Taylor <ian (a] wasabisystems.com>
5793
5794 * cp-demangle.c (demangle_operator_name): Remove space before
5795 "sizeof".
5796 (demangle_type_ptr): Put qualifiers in the right place. Handle
5797 qualifiers in pointer to member specially.
5798 (demangle_type): Handle qualifiers for pointer or reference
5799 specially. Handle function type.
5800 (demangle_local_name): Save and restore caret around demangling of
5801 initial encoding.
5802
5803 * testsuite/test-demangle.c (main): Don't pass DMGL_VERBOSE to
5804 cplus_demangle.
5805
5806 * testsuite/Makefile.in (test-demangle): Depend upon libiberty.a.
5807
5808 2003-10-31 Andreas Jaeger <aj (a] suse.de>
5809
5810 * floatformat.c (floatformat_always_valid): Add unused attribute.
5811
5812 2003-10-30 Josef Zlomek <zlomekj (a] suse.cz>
5813
5814 Jan Hubicka <jh (a] suse.cz>
5815 * vasprintf.c (int_vasprintf): Pass va_list by value.
5816 Use va_copy for copying va_list.
5817 (vasprintf): Pass va_list by value.
5818
5819 2003-10-30 Josef Zlomek <zlomekj (a] suse.cz>
5820
5821 * hashtab.c (htab_find_slot_with_hash): Decrease n_deleted
5822 instead of increasing n_elements when inserting to deleted slot.
5823
5824 2003-10-20 J. Brobecker <brobecker (a] gnat.com>
5825
5826 * cplus-dem.c (demangle_template): Register a new Btype only
5827 when needed.
5828 * testsuite/demangle-expected: Add a new test.
5829
5830 2003-10-16 H.J. Lu <hongjiu.lu (a] intel.com>
5831
5832 * testsuite/demangle-expected: Update the expected output of
5833 _GLOBAL__I__Z2fnv.
5834
5835 2003-10-02 Daniel Jacobowitz <drow (a] mvista.com>
5836
5837 * strerror.c: Revert last change. Declare static sys_nerr
5838 and sys_errlist using different names.
5839
5840 2003-10-01 Daniel Jacobowitz <drow (a] mvista.com>
5841
5842 * strerror.c: Don't provide or reference sys_errlist if
5843 strerror is available.
5844
5845 2003-10-01 H.J. Lu <hongjiu.lu (a] intel.com>
5846
5847 * configure.in: Check if $MAKEINFO is missing.
5848 * configure: Regenerated.
5849
5850 2003-09-24 Daniel Jacobowitz <drow (a] mvista.com>
5851
5852 * configure.in: Use AC_PROG_CPP_WERROR.
5853 * configure: Regenerated.
5854
5855 2003-09-22 Andrew Cagney <cagney (a] redhat.com>
5856
5857 * floatformat.c (floatformat_i387_ext_is_valid): New function.
5858 (floatformat_always_valid): New function.
5859 (floatformat_i387_ext): Initialize new "is_valid" field to
5860 "floatformat_i387_ext_is_valid".
5861 (floatformat_ieee_single_little): Initialize "is_valid" field to
5862 floatformat_always_valid.
5863 (floatformat_ieee_double_big): Ditto.
5864 (floatformat_ieee_double_little): Ditto.
5865 (floatformat_ieee_double_little): Ditto.
5866 (floatformat_ieee_double_littlebyte_bigword): Ditto.
5867 (floatformat_i960_ext): Ditto.
5868 (floatformat_m88110_ext): Ditto.
5869 (floatformat_m88110_harris_ext): Ditto.
5870 (floatformat_arm_ext_big): Ditto.
5871 (floatformat_arm_ext_littlebyte_bigword): Ditto.
5872 (floatformat_ia64_spill_big): Ditto.
5873 (floatformat_ia64_spill_little): Ditto.
5874 (floatformat_ia64_quad_big): Ditto.
5875 (floatformat_ia64_quad_little): Ditto.
5876 (floatformat_ia64_quad_little): Ditto.
5877 (floatformat_is_valid): Call "is_valid".
5878
5879 2003-09-15 Andrew Cagney <cagney (a] redhat.com>
5880
5881 * floatformat.c (get_field): Make "data" constant.
5882 (floatformat_is_valid, floatformat_to_double): Make "from"
5883 constant, fix casts.
5884 (floatformat_from_double): Make "from" constant.
5885
5886 2003-09-15 Daniel Jacobowitz <drow (a] mvista.com>
5887
5888 * floatformat.c (floatformat_is_valid): New function.
5889 (get_field, put_field): Correct comments.
5890
5891 2003-09-06 Josef Zlomek <zlomekj (a] suse.cz>
5892
5893 * fibheap.c (fibheap_replace_key_data): Change type of OKEY to
5894 FIBHEAPKEY_T.
5895
5896 2003-09-02 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca>
5897
5898 PR bootstrap/12100
5899 * aclocal.m4 (AC_LANG_FUNC_LINK_TRY): Define.
5900 * configure: Rebuilt.
5901
5902 2003-08-27 Daniel Jacobowitz <drow (a] mvista.com>
5903
5904 * aclocal.m4: Include acx.m4 and no-executables.m4.
5905 (libiberty_AC_FUNC_STRNCMP): Use AC_LIBOBJ.
5906 (LIB_AC_PROG_CC): Remove.
5907 * configure.in: Update AC_PREREQ to 2.57. Use GCC_NO_EXECUTABLES.
5908 Use AC_PROG_CC and set ac_libiberty_warn_cflags instead of using
5909 LIB_AC_PROG_CC. Use AC_LIBOBJ. Call AC_ISC_POSIX later, only if
5910 performing link tests.
5911 * configure: Regenerated.
5912
5913 2003-08-12 Nathanael Nerode <neroden (a] gcc.gnu.org>
5914
5915 * cp-demangle.c: Clarify what package(s) this is part of.
5916
5917 2003-07-05 Danny Smith <dannysmith (a] users.sourceforge.net>
5918
5919 * pex-win32.c (pexecute): Mark parameters this_pname and
5920 temp_base as unused. Remove unused variables retries,
5921 sleep_interval. Initialize org_stdin, org_stdout.
5922 (pwait): Mark parameter flags as unused.
5923
5924 2003-07-02 Danny Smith <dannysmith (a] users.sourceforge.net>
5925
5926 * pex-win32.c (fix_argv): Ensure that the executable pathname
5927 uses Win32 backslashes.
5928 (pexecute): Cast away constness when assigning *errmsg_arg.
5929
5930 2003-06-26 H.J. Lu <hongjiu.lu (a] intel.com>
5931
5932 * testsuite/demangle-expected: Add more GNU V3 testcases.
5933
5934 2003-06-22 Zack Weinberg <zack (a] codesourcery.com>
5935
5936 * safe-ctype.c: Use HOST_CHARSET_ASCII and HOST_CHARSET_EBCDIC,
5937 not HC_ASCII and HC_EBCDIC.
5938 Add documentation in form expected by gather-docs.
5939 * hex.c: Use HOST_CHARSET, not hand-coded check of character set.
5940 * Makefile.in, functions.texi: Regenerate.
5941
5942 2003-06-21 Zack Weinberg <zack (a] codesourcery.com>
5943
5944 * safe-ctype.c: Separate out EOF==-1 check. Use HOST_CHARSET
5945 for charset determination.
5946
5947 2003-06-19 Dara Hazeghi <dhazeghi (a] yahoo.com>
5948
5949 * configure.in: Add check for malloc.h needed by
5950 m68k for function free().
5951 * configure: Regenerated.
5952 * config.in: Add HAVE_MALLOC_H.
5953 * hashtab.c: include malloc.h were available for
5954 free().
5955
5956 2003-06-09 Albert Chin-A-Young <china (a] thewrittenword.com>
5957
5958 PR bootstrap/10974
5959 * physmem.c: Update comment.
5960 * configure.in: Modify test for _system_configuration for older
5961 AIX systems.
5962
5963 * config.in, configure: Regenerated.
5964
5965 2003-06-05 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca>
5966
5967 PR other/10810
5968 * test-demangle.c (getline): Fix fence-post error.
5969
5970 2003-06-03 Nick Clifton <nickc (a] redhat.com>
5971
5972 * asprintf.c: Change comment to note that -1 is returned upon
5973 error.
5974 * vasprintf.c: Likewise.
5975 (vasprintf): Return -1 upon error.
5976 * functions.texi: Document changes to asprintf and vasprintf.
5977
5978 2003-05-19 Kelley Cook <kelleycook (a] wideopenwest.com>
5979
5980 * config.table: Accept i[345867]86 variant.
5981
5982 2003-05-15 Jim Blandy <jimb (a] redhat.com>
5983
5984 * hex.c (_hex_value): Make this unsigned.
5985 (hex_value): Update documentation for new return type. hex_value
5986 now expands to an unsigned int expression, to avoid unexpected
5987 sign extension when we store it in a bfd_vma, which is larger than
5988 int on some platforms.
5989 * functions.texi: Regenerated.
5990
5991 2003-05-07 Josef Zlomek <zlomekj (a] suse.cz>
5992
5993 * splay-tree.c (splay_tree_predecessor): Fix comment.
5994 (splay_tree_successor): Fix comment.
5995
5996 2003-05-07 Jason Merrill <jason (a] redhat.com>
5997
5998 * hashtab.c (iterative_hash): New fn.
5999 * configure.in: Add AC_C_BIGENDIAN_CROSS.
6000 * aclocal.m4: Include accross.m4.
6001 * configure, config.in: Regenerate.
6002
6003 2003-05-04 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
6004
6005 * configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
6006 * configure: Regenerate.
6007
6008 2003-05-03 Carlo Wood <carlo (a] alinoe.com>
6009
6010 * cp-demangle.c: Fix typo in "char_traints" string-literal.
6011
6012 2003-04-22 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
6013
6014 * vsnprintf.c (vsnprintf): Don't pad string with extra nulls.
6015 (main): Test that we don't write too much data.
6016
6017 2003-04-16 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
6018
6019 * configure.in (funcs, AC_CHECK_FUNCS): Add snprintf and
6020 vsnprintf.
6021 * snprintf.c, vsnprintf.c: New files.
6022 * Makefile.in (CFILES): Add snprintf.c and vsnprintf.c.
6023 (CONFIGURED_OFILES): Add snprintf.o and vsnprintf.o.
6024 Regenerate dependencies.
6025
6026 * functions.texi, configure, config.in: Regenerated.
6027
6028 2003-04-15 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
6029
6030 * mempcpy.c, stpcpy.c, stpncpy.c: New files.
6031 * configure.in (funcs, AC_CHECK_FUNCS): Add mempcpy, stpcpy
6032 and stpncpy.
6033 * Makefile.in (CFILES): Add mempcpy.c, stpcpy.c and stpncpy.c.
6034 (CONFIGURED_OFILES): Add mempcpy.o, stpcpy.o and stpncpy.o.
6035 Regenerate dependencies.
6036
6037 * functions.texi, configure, config.in: Regenerated.
6038
6039 2003-04-15 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
6040
6041 * argv.c: Fix comments.
6042 * calloc.c: Don't unnecessarily include "libiberty.h".
6043 (bzero): Add prototype.
6044 * floatformat.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
6045 * getcwd.c (getcwd): Use standard definition to avoid conflicts
6046 with system headers.
6047 * hashtab.c (htab_traverse): Delete unused variables.
6048 * rename.c: Include "ansidecl.h".
6049 (rename): Use standard definition to avoid conflicts with system
6050 headers.
6051 * strsignal.c: Rely on ANSI_PROTOTYPES.
6052 * strstr.c: Check GNUC >= 2, not GNUC == 2.
6053 * vfprintf.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
6054 * vprintf.c: Include "ansidecl.h" earlier, rely on
6055 ANSI_PROTOTYPES.
6056 * vsprintf.c: Include "ansidecl.h" earlier, rely on
6057 ANSI_PROTOTYPES and possibly include <stdarg.h>.
6058
6059 * Makefile.in: Regenerate dependencies.
6060
6061 2003-04-15 DJ Delorie <dj (a] redhat.com>
6062
6063 * maint-tool (deps): Scan for headers in $srcdir also.
6064
6065 2003-04-15 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
6066
6067 PR target/10338
6068 PR bootstrap/10198
6069 PR bootstrap/10140
6070 * getopt.c (exchange, _getopt_initialize): Use mempcpy not
6071 __mempcpy.
6072 * regex.c (regerror): Likewise.
6073
6074 2003-04-14 Roger Sayle <roger (a] eyesopen.com>
6075
6076 * argv.c: Use ANSI_PROTOTYPES instead of __STDC__.
6077 * memchr.c: Likewise.
6078 * strcasecmp.c: Likewise.
6079 * strncasecmp.c: Likewise.
6080 * strncmp.c: Likewise.
6081 * xatexit.c: Likewise.
6082 * xmalloc.c: Likewise.
6083
6084 * copysign.c: Use traditional function declaration instead of DEFUN.
6085 * sigsetmask.c: Likewise.
6086
6087 * memcmp.c: Both of the above, ANSI_PROTOTYPES and DEFUN.
6088 * memset.c: Likewise.
6089
6090 * memcpy.c: ANSI_PROTOTYPES, DEFUN and prototype bcopy.
6091 * memmove.c: Likewise.
6092
6093 2003-04-14 Roger Sayle <roger (a] eyesopen.com>
6094
6095 * strdup.c (strdup): Tweak implementation to use memcpy.
6096
6097 2003-04-14 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
6098
6099 * configure.in (HAVE_UINTPTR_T): Always define.
6100 * configure: Regenerated.
6101
6102 2003-03-23 Alexandre Oliva <aoliva (a] redhat.com>
6103
6104 * Makefile.in (MULTIOSDIR): New macro. Use $(CC) $(LIBCFLAGS)
6105 instead of $$CC alone.
6106 (install_to_tooldir): Use it.
6107
6108 2003-17-03 Jan Hubicka <jh (a] suse.cz>
6109
6110 * hashtab.c (htab_traverse_noresize): Break out from ...
6111 * hashtab.c (htab_traverse): ... here.
6112
6113 2003-12-03 Jan Hubicka <jh (a] suse.cz>
6114
6115 * hashtab.c (htab_expand): Fix warning.
6116
6117 * hashtab.c (htab_expand): Compute the size of hashtable based
6118 on the number of elements actually used.
6119 (htab_traverse): Call htab_expand when table is too empty.
6120
6121 2003-03-11 Carlo Wood <carlo (a] gnu.org>
6122
6123 * cplus-dem.c (demangle_integral_value): Correction to reflect
6124 patch of 2002-01-10 in order to also make negative multi-digits
6125 without leading underscore work.
6126
6127 2003-03-03 Mark Mitchell <mark (a] codesourcery.com>
6128
6129 * cplus-dem.c: Add license exception to copyright notice.
6130
6131 2003-02-27 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
6132
6133 * physmem.c: Formatting changes from upstream.
6134
6135 2003-02-24 Danny Smith <dannysmith (a] users.source.forge.net>
6136
6137 * physmem.c (physmem_total): Add _WIN32 support.
6138 (physmem_available): Likewise.
6139
6140 2003-02-24 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE>
6141
6142 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
6143 GSI_PHYSMEM.
6144 (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS.
6145
6146 2003-02-22 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
6147
6148 * configure.in: Check for sys/systemcfg.h and
6149 _system_configuration.
6150 * physmem.c: Add support for AIX. Tweek formatting as per
6151 upstream coreutils beta.
6152
6153 2003-02-22 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
6154 Richard Earnshaw <rearnsha (a] arm.com>
6155 Geoffrey Keating <geoffk (a] apple.com>
6156
6157 * configure.in: Check for sys/sysctl.h and sysctl.
6158 * physmem.c: Add support for *bsd and darwin.
6159 * Makefile.in: Generate depedency for physmem.o.
6160
6161 2003-02-21 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE>
6162
6163 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on
6164 Tru64 UNIX.
6165 (physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on
6166 Tru64 UNIX.
6167
6168 * configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h,
6169 machine/hal_sysinfo.h, sys/table.h.
6170 (checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table.
6171 * configure, config.in: Regenerate.
6172
6173 2003-02-21 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
6174
6175 * configure.in: Check for sys/sysmp.h and sysmp.
6176 * physmem.c: Pull upstream copy, add support for irix6.
6177
6178 * config.in, configure: Regenerated.
6179
6180 2003-02-21 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
6181
6182 * physmem.c (physmem_total, physmem_available): De-ANSI-fy.
6183 * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and
6184 pstat_getdynamic.
6185
6186 2003-02-20 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
6187
6188 * Makefile.in (CFILES): Add physmem.c.
6189 (REQUIRED_OFILES): Add physmem.o.
6190 * configure.in: Check for sys/pstat.h.
6191 (checkfuncs): Add pstat_getstatic and pstat_getdynamic.
6192 * physmem.c: New file, copied from textutils.
6193
6194 * config.in, configure: Regenerated.
6195
6196 2003-02-20 Daniel Jacobowitz <drow (a] mvista.com>
6197
6198 * Makefile.in (CFILES): Add lrealpath.c.
6199 (REQUIRED_OFILES): Add lrealpath.o.
6200 (lrealpath.o): Add rule.
6201 * aclocal.m4 (libiberty_NEED_DECLARATION): Add.
6202 * configure.in: Add realpath and canonicalize_file_name to
6203 checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION
6204 for canonicalize_file_name.
6205 * lrealpath.c: New file.
6206 * make-relative-prefix.c: Update documentation.
6207 (make_relative_prefix): Simplify. Use lbasename and lrealpath.
6208 * config.in: Regenerated.
6209 * configure: Regenerated.
6210 * functions.texi: Regenerated.
6211
6212 2003-02-20 jmc <jmc (a] prioris.mini.pw.edu.pl>
6213
6214 * cplus_dem.c: Fix typo: intializes -> initializes.
6215
6216 2003-02-20 Alexandre Oliva <aoliva (a] redhat.com>
6217
6218 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
6219 config.status.
6220 * configure: Rebuilt.
6221
6222 2003-02-13 Daniel Jacobowitz <drow (a] mvista.com>
6223
6224 Fix PR c++/7612.
6225 * cplus-dem.c (demangle_signature): Call string_delete.
6226 Remove extra string_init.
6227 (demangle_arm_hp_template): Call string_delete instead of
6228 string_clear. Add missing string_delete call.
6229 (demangle_qualified): Add missing string_delete call.
6230 (do_type): Remove unused variable btype. Add missing string_delete
6231 call. Call string_delete instead of string_clear.
6232 (demangle_fund_type): Move variable btype inside of the switch
6233 statement. Add missing string_delete call.
6234 (do_arg): Call string_delete instead of string_clear. Remove extra
6235 string_init.
6236 (demangle_nested_args): Free work->previous_argument.
6237
6238 2003-02-12 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
6239
6240 * acconfig.h: New file. Add uintptr_t.
6241 * config.in: Regenerated.
6242
6243 2003-02-04 Joseph S. Myers <jsm (a] polyomino.org.uk>
6244
6245 * libiberty.texi: Update to GFDL 1.2.
6246
6247 2003-01-30 Christian Cornelssen <ccorn (a] cs.tu-berlin.de>
6248
6249 * Makefile.in (libiberty_topdir): New subst.
6250 (mkinstalldirs): Redefine in terms of the above.
6251 * configure.in: AC_SUBST it.
6252 * configure: Regenerate.
6253
6254 2003-01-28 Christian Cornelssen <ccorn (a] cs.tu-berlin.de>
6255
6256 * Makefile.in (all-subdir, check-subdir, installcheck-subdir)
6257 (info-subdir, install-info-subdir, clean-info-subdir)
6258 (dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
6259 (clean-subdir, distclean-subdir, maintainer-clean-subdir):
6260 Pass $(FLAGS_TO_PASS).
6261
6262 2003-01-27 Alexandre Oliva <aoliva (a] redhat.com>
6263
6264 * Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
6265 /`$$CC -print-multi-os-directory`.
6266
6267 2003-01-26 Daniel Jacobowitz <drow (a] mvista.com>
6268
6269 * hashtab.c (htab_create_alloc_ex): New function.
6270 (hatab_set_functions_ex): New function.
6271 (htab_delete, htab_expand): Support alternate allocation functions.
6272
6273 2003-01-24 Christopher Faylor <cgf (a] redhat.com>
6274
6275 * configure.in: Remove special pex-cygwin consideration.
6276 * configure: Regenerate.
6277 * pex-cygwin.c: Remove.
6278 * Makefile.in: Remove pex-cygwin.[co] lines.
6279
6280 2003-01-24 Zack Weinberg <zack (a] codesourcery.com>
6281
6282 * Makefile.in (CFILES): Add pex-*.c.
6283 (REQUIRED_OFILES): Change pexecute.o to @pexecute@
6284 (CONFIGURED_OFILES): Add pex-*.o.
6285 (TEXIFILES): Add pexecute.txh.
6286 (pexecute.o): Delete rule.
6287 (pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o,
6288 pex-unix.o, pex-win32.o): New rules.
6289 * configure.in: Change AC_INIT argument to xmalloc.c.
6290 Compute appropriate pexecute implementation and substitute it
6291 as @pexecute@.
6292
6293 * pexecute.c: Split up into...
6294 * pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c,
6295 pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these
6296 new files.
6297
6298 * functions.texi: Regenerate.
6299 * configure: Regenerate.
6300
6301 2003-01-20 Josef Zlomek <zlomekj (a] suse.cz>
6302
6303 * hashtab.c (htab_expand): Fix allocation of new entries.
6304
6305 2003-01-09 Christian Cornelssen <ccorn (a] cs.tu-berlin.de>
6306
6307 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
6308
6309 * Makefile.in (install_to_libdir, install_to_tooldir): Add a
6310 mkinstalldirs command.
6311
6312 2002-12-04 Danny Smith <dannysmith (a] users.sourceforge.net>
6313
6314 * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
6315 Define for hosts with HOST_EXECUTABLE_SUFFIX.
6316
6317 2002-11-24 Nick Clifton <nickc (a] redhat.com>
6318
6319 * make-relative-prefix.c (make_relative_prefix): Ensure return
6320 string is empty before using strcat to construct it.
6321
6322 2002-11-22 Daniel Jacobowitz <drow (a] mvista.com>
6323
6324 * Makefile.in: Add make-relative-prefix.c.
6325 * make-relative-prefix.c: New file.
6326 * functions.texi: Rebuilt.
6327
6328 2002-11-16 Jakub Jelinek <jakub (a] redhat.com>
6329
6330 * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
6331 used with arguments in traditional C' warnings.
6332
6333 2002-10-16 Jakub Jelinek <jakub (a] redhat.com>
6334
6335 * config.table: Use mh-s390pic for s390x too.
6336
6337 2002-10-06 Andreas Jaeger <aj (a] suse.de>
6338
6339 * cplus-dem.c (ada_demangle): Get rid of unneeded
6340 variable and of strict-aliasing warning.
6341 (grow_vect): Use char as first parameter.
6342
6343 2002-09-22 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
6344
6345 * Makefile.in (all): Fix multilib parallel build.
6346
6347 2002-09-19 John David Anglin <dave (a] hiuly1.hia.nrc.ca>
6348
6349 * cp-demangle.c (demangling_new): Cast 0 to enum.
6350 (demangle_char): Cast return of strdup to char *.
6351 (is_gnu_v3_mangled_ctor): Cast 0 to enum.
6352 (is_gnu_v3_mangled_dtor): Likewise.
6353 * cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
6354 (work_stuff_copy_to_from): Cast return of xmalloc to char **.
6355 * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
6356 * md5.c (md5_process_bytes): Cast results back to const void *.
6357 (md5_process_block): Add cast to const md5_uint32 *.
6358 * regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
6359 * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
6360 unsigned short.
6361 * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
6362 to void *.
6363 * vasprintf.c (int_vasprintf): Cast return of malloc to char *.
6364
6365 2002-09-19 Nick Clifton <nickc (a] redhat.com>
6366
6367 * README: Update email addresses for bugs and patches.
6368
6369 2002-09-10 Mike Stump <mrs (a] apple.com>
6370
6371 * splay-tree.c (splay_tree_successor): Fix comments.
6372
6373 2002-09-11 Zack Weinberg <zack (a] codesourcery.com>
6374
6375 * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
6376 * testsuite/Makefile.in: Adjust for test-demangle.
6377 * testsuite/regress-demangle: Deleted.
6378 * testsuite/test-demangle.c: New file.
6379 * testsuite/demangle-expected: Change \$ to $ throughout, now that
6380 this file is not being read by a shell script.
6381
6382 2002-09-05 Roger Sayle <roger (a] eyesopen.com>
6383
6384 * regex.c: Only use "#pragma alloca" on AIX when not using gcc.
6385
6386 2002-08-07 DJ Delorie <dj (a] redhat.com>
6387
6388 * regex.c (re_error_msgid): Just use a simple array of strings.
6389 (re_compile_pattern): Compensate.
6390 (re_comp): Likewise.
6391 (re_comp): Likewise.
6392 (regerror): Likewise.
6393
6394 2002-07-29 Neil Booth <neil (a] daikokuya.co.uk>
6395
6396 * cplus-dem.c (PREPEND_BLANK): Remove.
6397
6398 2002-07-10 Jason Merrill <jason (a] redhat.com>
6399
6400 * cp-demangle.c (demangle_identifier): Support extended Unicode
6401 characters.
6402
6403 2002-07-08 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
6404
6405 * cp-demangle.c (demangle_v3_with_details): Wrap in
6406 !defined IN_GLIBCPP_V3.
6407
6408 2002-07-01 Mark Mitchell <mark (a] codesourcery.com>
6409
6410 * cp-demangle.c (demangle_operator_name): Add type_arg parameter.
6411 Set it for the "st" operator.
6412 (demangle_expression): Handle expressions with types as arguments.
6413
6414 2002-06-30 Douglas Rupp <rupp (a] gnat.com>
6415
6416 * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
6417 * Makefile.in (OUTPUT_OPTION): Use.
6418
6419 2002-06-22 Peter Breitenlohner <peb (a] mppmu.mpg.de>
6420
6421 * Makefile.in (install_to_libdir): Add $(DESTDIR).
6422 (install_to_tooldir): Likewise.
6423
6424 2002-06-17 Douglas Rupp <rupp (a] gnat.com>
6425
6426 * lbasename.c: Add 2002 to copyright.
6427 (IS_DIR_SEPARATOR): Remove VMS junk.
6428
6429 2002-06-05 Geoffrey Keating <geoffk (a] redhat.com>
6430
6431 * hashtab.c (htab_create): New stub function for backward
6432 compatibility.
6433 (htab_try_create): Likewise.
6434
6435 2002-06-03 Geoffrey Keating <geoffk (a] redhat.com>
6436
6437 * hashtab.c (htab_create): Delete.
6438 (htab_try_create): Delete.
6439 (htab_create_alloc): New.
6440 (htab_delete): Support user-specified memory allocation.
6441 (htab_expand): Likewise.
6442
6443 2002-05-22 Roman Lechtchinsky <rl (a] cs.tu-berlin.de>
6444
6445 * configure.in: Fix typo in the code checking for sys_errlist.
6446 * configure: Regenerated.
6447
6448 2002-05-13 Andreas Schwab <schwab (a] suse.de>
6449
6450 * config.table: Use mh-x86pic also for x86-64.
6451
6452 2002-05-08 Alexandre Oliva <aoliva (a] redhat.com>
6453
6454 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
6455 script entry, and set LD to it when configuring multilibs.
6456 * configure: Rebuilt.
6457
6458 2002-05-07 Mark Mitchell <mark (a] codesourcery.com>
6459
6460 * configure.in (AC_TYPE_PID_T): Use it.
6461 * configure: Regenerated.
6462 * getruntime.c: Include <sys/types.h>.
6463 * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid".
6464
6465 2002-04-09 Richard Henderson <rth (a] redhat.com>
6466
6467 * hashtab.c (higher_prime_number): Use 7 as minimum.
6468 (find_empty_slot_for_expand): Don't compute hash2 unless needed.
6469 (htab_find_slot_with_hash): Likewise.
6470
6471 2002-04-01 Phil Edwards <pme (a] gcc.gnu.org>
6472
6473 * cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
6474 (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally
6475 not compile if IN_GLIBCPP_V3 defined.
6476 * dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme.
6477
6478 2002-03-30 Bryce McKinlay <bryce (a] waitaki.otago.ac.nz>
6479
6480 * cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
6481 if it is NULL.
6482
6483 2002-03-27 DJ Delorie <dj (a] redhat.com>
6484
6485 * hex.c: Add documentation.
6486 (_hex_value): Provide non-ASCII empty table.
6487 (hex_init): Initialize the non-ASCII table.
6488 * functions.texi: Regenerate.
6489
6490 2002-03-27 Mark Mitchell <mark (a] codesourcery.com>
6491
6492 * dyn-string.c: Add libgcc exception to copyright notice.
6493
6494 2002-03-26 H.J. Lu (hjl (a] gnu.org)
6495
6496 * config.table: Support --with-build-subdir.
6497 * configure.in: Likewise.
6498 * configure: Rebuild.
6499
6500 2002-03-18 Stuart Griffith <Stuart_Griffith (a] credence.com>
6501
6502 * strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
6503 seen.
6504
6505 2002-03-12 Mark Mitchell <mark (a] codesourcery.com>
6506
6507 * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
6508 notice.
6509
6510 2002-03-11 Douglas B Rupp <rupp (a] gnat.com>
6511
6512 * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
6513
6514 2002-03-06 Jim Blandy <jimb (a] redhat.com>
6515
6516 * splay-tree.c (splay_tree_xmalloc_allocate,
6517 splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
6518 prototyped definitions. Mark `data' arguments as unused.
6519
6520 2002-03-06 Andrew Cagney <ac131313 (a] redhat.com>
6521
6522 * floatformat.c (floatformat_arm_ext_big): Delete definition.
6523
6524 2002-03-04 Phil Edwards <pme (a] gcc.gnu.org>
6525
6526 * configure.in: Add --enable-install-libiberty option.
6527 * Makefile.in (INSTALLED_HEADERS): New variable.
6528 (install_to_libdir): Possibly also copy headers.
6529 * configure: Regenerated.
6530
6531 2002-03-04 Neil Booth <neil (a] daikokuya.demon.co.uk>
6532
6533 * xmalloc.c (xmalloc_fail): Clarify error message further.
6534
6535 2002-03-03 Neil Booth <neil (a] daikokuya.demon.co.uk>
6536
6537 * xmalloc.c (xmalloc_fail): Clarify error message.
6538
6539 2002-02-22 Jim Blandy <jimb (a] redhat.com>
6540
6541 * splay-tree.c (splay_tree_xmalloc_allocate,
6542 splay_tree_xmalloc_deallocate): New functions.
6543 (splay_tree_new): Call splay_tree_new_with_allocator, passing the
6544 above functions and a dummy data pointer.
6545 (splay_tree_new_with_allocator): New function.
6546 (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
6547 splay_tree_remove): Use the splay tree's allocation and
6548 deallocation functions.
6549
6550 2002-02-19 Scott Snyder <snyder (a] fnal.gov>
6551
6552 * testsuite/demangle-expected: Add test case for infinite loop in
6553 demangler.
6554 * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
6555 if do_type() doesn't make any progress --- prevents an infinite
6556 loop.
6557
6558 2002-02-18 Carlo Wood <carlo (a] gnu.org>
6559
6560 PR c++/5390
6561 * cplus-dem.c (demangle_integral_value): Accept multi-digit
6562 numbers that do not start with an underscore; This is needed
6563 for integer template parameters. This doesn't break anything
6564 because multi-digit numbers are never followed by a digit.
6565 * testsuite/demangle-expected: Corrected all mangled test
6566 cases with multi-digit template parameters: g++ 2.95.x does
6567 not generate underscores around these parameters.
6568
6569 2002-02-05 Jason Merrill <jason (a] redhat.com>
6570
6571 * cplus-dem.c (flags): Add DMGL_VERBOSE
6572 (cplus_demangle_v3_p): Remove.
6573 (demangle_it): Add DMGL_TYPES to passed flags.
6574 * cp-demangle.c (cplus_demangle_v3_all): Remove.
6575 (cplus_demangle_v3_type): Remove.
6576 (cplus_demangle_v3): Add options parm.
6577
6578 2002-02-02 H.J. Lu (hjl (a] gnu.org)
6579
6580 * cp-demangle.c (cp_demangle_type): Do not protect with
6581 IN_LIBGCC2.
6582 (cplus_demangle_v3_all): New.
6583 (cplus_demangle_v3): Call cplus_demangle_v3_all.
6584 (cplus_demangle_v3_type): Call cplus_demangle_v3_all.
6585
6586 * cplus-dem.c (cplus_demangle_v3_p): New function pointer.
6587 Initialized to cplus_demangle_v3.
6588 (cplus_demangle_with_style): Call cplus_demangle_v3_p instead
6589 of cplus_demangle_v3.
6590 (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
6591 command line symbol.
6592
6593 * testsuite/regress-demangle: Pass the mangled name at the
6594 command line.
6595
6596 2002-02-01 H.J. Lu <hjl (a] gnu.org>
6597
6598 * cp-demangle.c (cp_demangle_type): Call demangling_new with
6599 DMGL_GNU_V3.
6600
6601 2002-01-31 Phil Edwards <pme (a] gcc.gnu.org>
6602
6603 * cp-demangle.c: Revert yesterday's change.
6604
6605 2002-01-31 Adam Megacz <adam (a] xwt.org>
6606
6607 * configure.in: Treat mingw the same as cywin
6608 wrt HAVE_SYS_ERRLIST.
6609
6610 2002-01-30 Phil Edwards <pme (a] gcc.gnu.org>
6611
6612 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
6613 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on
6614 cp_demangle_type.
6615 * testsuite/demangle-expected: New gnu-v3 test.
6616
6617 2002-01-22 Momchil Velikov <velco (a] fadata.bg>
6618
6619 * configure.in (variable detection): Use arrays of unspecified
6620 size instead of plain integers.
6621
6622 2002-01-18 DJ Delorie <dj (a] redhat.com>
6623
6624 * Makefile.in (TESTLIB): New. This library is for future
6625 testsuites.
6626 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
6627 break down by letter.
6628 (REQUIRED_OFILES): List long-to-compile files first.
6629 (maint-deps): New, target for updating dependencies.
6630 (dependencies): Update.
6631 * maint-tool: Add dependency-generating option.
6632 * configure.in: Check for _doprnt even if we're not providing it.
6633 * configure: Regenerate.
6634
6635 * _doprnt.c: Modifications to allow compiling on any platform.
6636 * copysign.c: Likewise.
6637 * putenv.c: Likewise.
6638 * setenv.c: Likewise.
6639 * vsprintf.c: Likewise.
6640
6641 2002-01-15 Douglas B Rupp <rupp (a] gnat.com>
6642
6643 * mkstemps.c (mkstemps): On VMS, open temp file with option
6644 that causes it to be deleted when closed.
6645
6646 2002-01-02 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
6647
6648 * cp-demangle.c (long_options): Const-ify.
6649 * cplus-dem.c (long_options): Likewise.
6650
6651 * cplus-dem.c (mystrstr): Delete. All callers changed to use
6652 strstr instead.
6653
6654 2001-12-31 Ira Ruben <ira (a] apple.com>
6655
6656 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
6657 * configure: Regenerated.
6658
6659 2001-12-24 Douglas B. Rupp <rupp (a] gnat.com>
6660
6661 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
6662 * configure: Regenerated.
6663
6664 2001-12-12 Craig Rodrigues <rodrigc (a] gcc.gnu.org>
6665
6666 PR other/2719
6667 * cplus-dem.c (consume_count): Treat negative count as an error.
6668 * testsuite/demangle-expected: Added testcase.
6669
6670 Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp (a] gnat.com>
6671
6672 * configure.in: Hardcode that vfork works on VMS host.
6673 * configure: Regenerated.
6674
6675 2001-12-06 Richard Henderson <rth (a] redhat.com>
6676
6677 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
6678 (cplus_demangle): Support no_demangling.
6679
6680 2001-11-27 Zack Weinberg <zack (a] codesourcery.com>
6681
6682 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
6683 in libiberty context. Fix typo in leading comment.
6684 * configure.in: Fix various AC_DEFINEs so autoheader works.
6685 If any of vprintf, vsprintf, vfprintf is missing from libc,
6686 then AC_REPLACE_FUNCS(_doprnt).
6687
6688 2001-11-26 DJ Delorie <dj (a] redhat.com>
6689 Daniel Jacobowitz <drow (a] mvista.com>
6690
6691 * Makefile.in (stamp-h): Depend on Makefile for proper
6692 serialization.
6693 (*-subdir): Depend on config.h for proper serialization.
6694
6695 2001-11-26 DJ Delorie <dj (a] redhat.com>
6696
6697 * configure.in: Check for alloca.h (for regex.c and putenv.c).
6698 * configure: Regenerate.
6699 * config.h: Add HAVE_ALLOCA_H.
6700
6701 2001-11-16 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
6702
6703 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
6704 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
6705 is available.
6706
6707 Thu Nov 15 11:06:25 2001 Jeffrey A Law (law (a] cygnus.com)
6708
6709 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
6710 * configure.in (HAVE_UINTPTR_T): Test for system defining
6711 uintptr_t and define HAVE_UINTPTR_T appropriately.
6712 * regex.c (uintptr_t): Do not provide a definition if the
6713 system provided one.
6714
6715 * regex.c (PREFIX): Provide an alternate definition for
6716 non-ANSI/ISO compilers.
6717 (ARG_PREFIX): Likewise.
6718
6719 2001-11-12 Jim Meyering <meyering (a] lucent.com>
6720
6721 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
6722 this code would end up calling gettext even in packages built
6723 with --disable-nls.
6724 * getopt.c (_): Likewise.
6725 * regex.c (_): Likewise.
6726
6727 2001-11-03 Alan Modra <amodra (a] bigpond.net.au>
6728
6729 * configure.in: Cope with missing makeinfo.
6730 * configure: Regenerate.
6731
6732 2001-10-22 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
6733
6734 * hex.c (hex_init): Provide empty stub.
6735
6736 * hex.c (hex_init): Delete.
6737 (_hex_value): Const-ify and initialize at compile-time.
6738
6739 2001-10-19 H.J. Lu <hjl (a] gnu.org>
6740
6741 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
6742 necessary.
6743
6744 2001-10-17 DJ Delorie <dj (a] redhat.com>
6745
6746 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
6747 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
6748 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
6749 Improve manual formatting.
6750 * functions.texi: Regenerate.
6751
6752 2001-10-15 DJ Delorie <dj (a] redhat.com>
6753
6754 * Makefile.in (TEXIFILES): Add fnmatch.txh.
6755 (maint-undoc): New.
6756 maint-tool: Add "undoc" tool.
6757 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
6758 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
6759 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
6760 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
6761 documentation.
6762 * fnmatch.txh: New.
6763 * functions.texi: Regenerate.
6764
6765 2001-10-10 Joseph S. Myers <jsm28 (a] cam.ac.uk>
6766
6767 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
6768 * strtod.c: Use "ISO C" instead of "ANSI C".
6769 * functions.texi: Regenerate.
6770
6771 2001-10-07 Joseph S. Myers <jsm28 (a] cam.ac.uk>
6772
6773 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
6774 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
6775 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
6776 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
6777 spelling. Give names to function arguments in documentation. Use
6778 (void) prototypes in documentation.
6779 * functions.texi: Regenerate.
6780
6781 2001-10-07 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
6782
6783 * argv.c (buildargv, tests, main): Const-ify.
6784 * cp-demangle.c (operator_code): Likewise.
6785 * cplus-dem.c (optable, libiberty_demanglers,
6786 cplus_demangle_set_style, cplus_demangle_name_to_style,
6787 print_demangler_list): Likewise.
6788 * hashtab.c (higher_prime_number): Likewise.
6789 * strcasecmp.c (charmap): Likewise.
6790 * strerror.c (error_info, strerror, main): Likewise.
6791 * strncasecmp.c (charmap): Likewise.
6792 * strsignal.c (signal_info): Likewise.
6793
6794 2001-09-29 DJ Delorie <dj (a] redhat.com>
6795
6796 * configure: Regenerate.
6797
6798 2001-09-28 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
6799
6800 * concat.c: Include stdlib.h.
6801
6802 2001-09-27 Eli Zaretskii <eliz (a] is.elta.co.il>
6803
6804 * libiberty.texi: (Top level): Add syncodeindex pg. Add
6805 @dircategory and @direntry directives. Add @finalout.
6806 (many nodes): Lose the next,prev,up pointers on the @nide line.
6807 (Using, Supplemental Functions, Replacement Functions): Fix
6808 markup.
6809 (Functions): Move around, to allow makeinfo to build the manual
6810 without next,prev,up pointers in thye node lines.
6811 (Licenses): Fix typos.
6812
6813 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
6814 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
6815 * functions.texi: Regenerate.
6816
6817 * copying-lib.texi: Lose the next,prev,up pointers on the @node
6818 line.
6819
6820 2001-09-27 DJ Delorie <dj (a] redhat.com>
6821
6822 * configure.in: Don't use in-tree texinfo, because libiberty must
6823 be built before it. Check for makeinfo version 4 or higher.
6824 * functions.texi: Regenerate.
6825
6826 2001-09-20 DJ Delorie <dj (a] redhat.com>
6827 Phil Edwards <pedwards (a] disaster.jaj.com>
6828
6829 * configure.in (MAKEINFO, PERL): Detect these.
6830 (--enable-maintainer-mode): Add.
6831 * configure: Regenerate.
6832 * Makefile.in (MAKEINFO, PERL): Define.
6833 (libiberty.info, libiberty.dvi, libiberty.html): New.
6834 (CFILES): Add bsearch.c.
6835 (CONFIGURED_OFILES): New, list of objects configure might add.
6836 (maint-missing, maint-buildall): New, for maintainers only.
6837 (clean, mostlyclean): Add info/dvi/html files.
6838 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
6839 * gather-docs: New, for maintainers.
6840 * maint-tool: New, for maintainers.
6841 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
6842 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
6843 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
6844 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
6845 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
6846 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
6847 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
6848 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
6849 documentation.
6850
6851 2001-09-25 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
6852
6853 * concat.c (reconcat): Fix for traditional C.
6854
6855 2001-09-24 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
6856
6857 * concat.c (reconcat): New function.
6858
6859 2001-09-17 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
6860
6861 * concat.c (vconcat_length, vconcat_copy, concat_length,
6862 concat_copy, concat_copy2): New functions.
6863 (concat): Use vconcat_length/vconcat_copy.
6864
6865 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
6866 Define.
6867
6868 2001-09-04 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
6869
6870 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
6871 VA_FIXEDARG & VA_CLOSE.
6872
6873 * vasprintf.c: Check HAVE_STRING_H when including string.h.
6874 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
6875 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
6876
6877 2001-08-27 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
6878
6879 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
6880
6881 2001-08-23 Ulrich Drepper <drepper (a] redhat.com>
6882
6883 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
6884
6885 2001-08-23 Ulrich Drepper <drepper (a] redhat.com>
6886
6887 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
6888 instead of mbrtowc.
6889 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
6890 wcslen, and __wcscoll instead of wcscoll.
6891
6892 2001-08-22 Matt Kraai <kraai (a] alumni.carnegiemellon.edu>
6893
6894 * fibheap.c (fibheap_init, fibnode_init): Remove.
6895 (fibheap_new, fibnode_new): Use xcalloc to allocate and
6896 initialize memory.
6897 (fibheap_insert): Remove check for node allocation failure.
6898
6899 2001-08-21 Richard Henderson <rth (a] redhat.com>
6900
6901 * Makefile.in (fibheap.o): Depend on config.h.
6902 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
6903 functions for inlining.
6904
6905 Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf (a] cygnus.com>
6906
6907 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
6908 hosting on cygwin.
6909 * configure: Regenerate.
6910
6911 2001-08-20 Andrew Cagney <ac131313 (a] redhat.com>
6912
6913 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
6914 HARRIS_FLOAT_FORMAT.
6915 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
6916 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
6917 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
6918 (floatformat_m88110_harris_ext): New float formats.
6919
6920 2001-08-20 Daniel Berlin <dan (a] cgsoftware.com>
6921
6922 * fibheap.c: New file. Fibonacci heap.
6923
6924 * Makefile.in (CFILES): Add fibheap.c.
6925 (REQUIRED_OFILES): Add fibheap.o.
6926 (fibheap.o): Add dependencies for fibheap.o.
6927
6928 2001-08-17 Christopher Faylor <cgf (a] cygnus.com>
6929
6930 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
6931 * configure: Regenerate.
6932
6933 2001-08-16 Richard Henderson <rth (a] redhat.com>
6934
6935 * hashtab.c (htab_hash_string): New.
6936
6937 2001-08-13 Andrew Cagney <ac131313 (a] redhat.com>
6938
6939 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
6940 name.
6941
6942 2001-08-12 Isamu Hasegawa <isamu (a] yamato.ibm.com>
6943
6944 * regex.c (wcs_regex_compile): Use appropriate string
6945 to compare with collating element.
6946 Fix the padding for the alignment.
6947
6948 2001-08-10 Andrew Cagney <ac131313 (a] redhat.com>
6949
6950 * lbasename.c (lbasename): Change function definition to return a
6951 const char pointer.
6952
6953 2001-08-07 Jason Merrill <jason_merrill (a] redhat.com>
6954
6955 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
6956 for".
6957
6958 2001-08-03 Richard Henderson <rth (a] redhat.com>
6959
6960 * Makefile.in (concat.o): Depend on config.h.
6961
6962 2001-07-30 Andreas Jaeger <aj (a] suse.de>
6963
6964 * concat.c: Include "config.h".
6965
6966 2001-07-30 Andreas Jaeger <aj (a] suse.de>
6967
6968 * regex.c: Declare wcs functions only if compiling with
6969 MBS_SUPPORT.
6970 Don't use #elif for traditional C.
6971
6972 2001-07-23 Ulrich Drepper <drepper (a] redhat.com>
6973
6974 * regex.c: Revamp memory allocation for WCHAR functions to
6975 not use too much stack.
6976
6977 2001-07-30 Andreas Jaeger <aj (a] suse.de>
6978
6979 * regex.c: Declare wcs functions only if compiling with
6980 MBS_SUPPORT.
6981 Don't use #elif for traditional C.
6982
6983 2001-07-25 Daniel Jacobowitz <drow (a] mvista.com>
6984
6985 * Makefile.in (regex.o): Add dependency on config.h.
6986
6987 2001-07-18 Andreas Schwab <schwab (a] suse.de>
6988
6989 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
6990 underscore character.
6991
6992 2001-07-18 Ulrich Drepper <drepper (a] redhat.com>
6993
6994 * regex.c: Limit string length printed in debug messages to 100
6995 chars.
6996
6997 2001-07-18 Andreas Jaeger <aj (a] suse.de>
6998
6999 * regex.c: Place under LGPL version 2.1.
7000
7001 2001-07-10 Jeff Johnston <jjohnstn (a] redhat.com>
7002
7003 * Makefile.in: Add support for regex code.
7004 * regex.c: New file.
7005
7006 2001-07-05 Mark Klein <mklein (a] dis.com>
7007
7008 * Makefile.in: Add ffs.c dependency.
7009 * configure.in: Add ffs.c.
7010 * ffs.c: New file.
7011
7012 2001-06-18 Richard Henderson <rth (a] redhat.com>
7013
7014 * concat.c: Include <sys/types.h>.
7015
7016 2001-06-11 Loren J. Rittle <ljrittle (a] acm.org>
7017
7018 bootstrap/3106
7019 * strerror.c (sys_nerr): Hide the OS header version.
7020 * strsignal.c (sys_nsig): Likewise.
7021
7022 2001-06-10 Richard Henderson <rth (a] redhat.com>
7023
7024 * concat.c: Include string.h. Fix int vs size_t usage.
7025 Simplify the iteration loops. Use memcpy.
7026
7027 2001-05-16 Matt Kraai <kraai (a] alumni.carnegiemellon.edu>
7028
7029 * partition.c: Fix misspelling of `implementation'.
7030
7031 2001-05-09 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de>
7032
7033 * md5.c (md5_init_ctx): Declare constants as unsigned.
7034 (md5_process_block): Likewise.
7035
7036 2001-05-07 Zack Weinberg <zackw (a] stanford.edu>
7037
7038 * cp-demangle.c (demangle_v3_with_details,
7039 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
7040 function definition.
7041 * ternary.c: Use K+R style function definitions. Use PTR, not
7042 void *. Make arguments constant where possible.
7043
7044 2001-05-07 Mark Mitchell <mark (a] codesourcery.com>
7045
7046 * splay-tree.h (splay_tree_max): New function.
7047 (splay_tree_min): Likewise.
7048
7049 2001-04-15 Daniel Berlin <dan (a] cgsoftware.com>
7050
7051 * ternary.c: New file - Ternary search tree implementation.
7052
7053 * Makefile.in: Add ternary.o, and ternary.c dependencies.
7054
7055 2001-04-03 Zack Weinberg <zackw (a] stanford.edu>
7056
7057 * make-temp-file.c (try): Inline.
7058
7059 2001-02-28 Richard Henderson <rth (a] redhat.com>
7060
7061 * Makefile.in (make-temp-file.o): Depend on config.h.
7062
7063 2001-03-27 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
7064
7065 * memchr.c (memchr): Adjust condition to avoid infinite loop.
7066
7067 2001-03-23 Jakub Jelinek <jakub (a] redhat.com>
7068
7069 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
7070 `_' not followed by a digit is invalid.
7071
7072 2001-03-22 Jim Blandy <jimb (a] redhat.com>
7073
7074 * cp-demangle.c (string_list_delete): Use dyn_string_delete
7075 instead of free, to free the contents as well as the string
7076 structure.
7077
7078 2001-03-21 Zack Weinberg <zackw (a] stanford.edu>
7079
7080 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
7081 Don't default P_tmpdir to anything. Try /var/tmp before
7082 /usr/tmp.
7083
7084 2001-03-20 Zack Weinberg <zackw (a] stanford.edu>
7085
7086 * choose-temp.c: Split off make_temp_file, and the code
7087 duplicated between it and choose_temp_base, into...
7088 * make-temp-file.c: ... here; new file.
7089
7090 * Makefile.in (CFILES): Add make-temp-file.c.
7091 (REQUIRED_OFILES): Add make-temp-file.o.
7092
7093 2001-03-20 Jim Blandy <jimb (a] redhat.com>
7094
7095 * cp-demangle.c (struct demangling_def): New fields:
7096 is_constructor and is_destructor.
7097 (demangling_new): Initialize them.
7098 (demangle_ctor_dtor_name): Set them, if we detect a constructor
7099 or destructor.
7100 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
7101 is_gnu_v3_mangled_dtor): New functions.
7102
7103 2001-03-20 Jason Merrill <jason (a] redhat.com>
7104
7105 * cplus-dem.c (main): Skip initial $.
7106
7107 2001-03-15 Michael Meissner <meissner (a] redhat.com>
7108
7109 * hashtab.c (higher_prime_number): Silence warning that 4294967291
7110 might be a signed integer under pre-ISO C systems.
7111
7112 2001-03-10 Neil Booth <neil (a] daikokuya.demon.co.uk>
7113 John David Anglin <dave (a] hiauly1.hia.nrc.ca>
7114
7115 * lbasename.c: New file.
7116 * Makefile.in: Update for lbasename.
7117
7118 2001-03-06 Zack Weinberg <zackw (a] stanford.edu>
7119
7120 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
7121 * configure.in: Replace all alloca logic with a simple use of
7122 the above new macro.
7123 * config.table: Kill *-*-beos* entry.
7124 * config/mh-beos: Delete.
7125 * configure, config.in: Regenerate.
7126
7127 * Makefile.in (ALLOCA, HFILES): Kill.
7128 (REQUIRED_OFILES): Add alloca.o.
7129 (alloca.o): Depend on libiberty.h.
7130 (argv.o): Don't depend on alloca-conf.h.
7131 * alloca-conf.h: Delete.
7132 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
7133 blocks. Provide the C alloca unconditionally. Use PTR where
7134 appropriate. Make i00afunc static.
7135 * argv.c: Don't include alloca-conf.h.
7136
7137 2001-03-04 John David Anglin <dave (a] hiauly1.hia.nrc.ca>
7138
7139 * cplus-dem.c (main): Cast enum style to int.
7140
7141 2001-02-16 Loren J. Rittle <ljrittle (a] acm.org>
7142
7143 * cplus-dem.c (main): Initialize style.
7144
7145 2001-02-02 Phil Edwards <pme (a] sources.redhat.com>
7146
7147 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
7148
7149 2001-01-31 Bryce McKinlay <bryce (a] albatross.co.nz>
7150
7151 Add support for Java demangling under the v3 ABI:
7152 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
7153 (struct demangling_def): Add `style' field.
7154 (demangling_new): New parameter `style'. Set it in demangling_t.
7155 (demangle_prefix): Use NAMESPACE_SEPARATOR.
7156 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
7157 (cp_demangle): New parameter `style'. Pass it to demangling_new().
7158 (main): Call cp_demangle with extra parameter.
7159 (java_demangle_v3): New function.
7160 (java_builtin_type_names): New. Table of primitive type names used
7161 for Java demangling.
7162 (demangle_builtin_type): Look up in java_builtin_type_names if doing
7163 Java output.
7164 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
7165 demangling.
7166 (long_options): Remove obsolete `java' option.
7167 (main): Remove explicit handling of `java' option. Instead, pass style
7168 parameter in cplus_demangle flags as gdb does.
7169 * testsuite/demangle.expected: Add some Java test cases.
7170
7171 2000-12-29 DJ Delorie <dj (a] redhat.com>
7172
7173 * fnmatch.c: Make the note about the origins of this file more
7174 accurate, at least until we can sync with glibc.
7175 * getopt.c: Ditto.
7176 * getopt1.c: Ditto.
7177 * md5.c: Ditto.
7178 * obstack.c: Ditto.
7179
7180 2000-12-26 Michael Sokolov <msokolov (a] ivan.Harhan.ORG>
7181
7182 * bsearch.c: New file.
7183 * configure.in (funcs): Add bsearch.
7184 (AC_CHECK_FUNCS): Likewise.
7185 * configure, config.in: Regenerate.
7186
7187 2000-12-13 Michael Sokolov <msokolov (a] ivan.Harhan.ORG>
7188
7189 * safe-ctype.c: #include "ansidecl.h".
7190 * strtod.c: Likewise.
7191
7192 2000-12-13 Michael Sokolov <msokolov (a] ivan.Harhan.ORG>
7193
7194 * strtoul.c: Include safe-ctype.h, not ctype.h.
7195
7196 2000-12-07 Zack Weinberg <zack (a] wolery.stanford.edu>
7197
7198 * safe-ctype.c: New file.
7199 * Makefile.in (CFILES): Add safe-ctype.c.
7200 (REQUIRED_OFILES): Add safe-ctype.o.
7201
7202 * argv.c: Define ISBLANK and use it, not isspace.
7203 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
7204 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
7205 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
7206 before calling TOLOWER(c)/TOUPPER(c).
7207
7208 2000-12-07 Mike Stump <mrs (a] wrs.com>
7209
7210 * Makefile.in (distclean): When cleaning, remove testsuite.
7211
7212 2000-12-05 Jason Merrill <jason (a] redhat.com>
7213
7214 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
7215 name before allocating the dyn_string.
7216
7217 2000-12-04 Jason Merrill <jason (a] redhat.com>
7218
7219 * cp-demangle.c: s/new_abi/v3/.
7220 * cplus-dem.c: Likewise.
7221 (current_demangling_style): Now auto_demangling.
7222 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
7223 (main): Use standard symbol chars for auto_demangling.
7224
7225 2000-11-26 Mark Mitchell <mark (a] codesourcery.com>
7226
7227 * hashtab.c (higher_prime_number): Use a table, rather than a
7228 seive, to find the next prime.
7229
7230 2000-11-22 H.J. Lu <hjl (a] gnu.org>
7231
7232 * cplus-dem.c (main): Handle gnat_demangling.
7233
7234 2000-11-22 Zack Weinberg <zack (a] wolery.stanford.edu>
7235
7236 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
7237 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
7238 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
7239 argument form of AC_DEFINE in dummy definitions block. Use
7240 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
7241 in dummy block. Preload cache variables instead of bypassing
7242 tests, where possible.
7243 * acconfig.h: Removed.
7244
7245 * xmalloc.c (xmalloc_failed): New function, does error
7246 reporting on failed allocation.
7247 (xmalloc, xcalloc, xrealloc): Use it.
7248
7249 2000-11-21 Hans-Peter Nilsson <hp (a] bitrange.com>
7250
7251 * cplus-dem.c (cplus_demangle): Fix formatting.
7252 (grow_vect): Ditto.
7253 (ada_demangle): Ditto.
7254 (internal_cplus_demangle): Ditto.
7255 (mop_up): Ditto.
7256
7257 2000-11-21 H.J. Lu <hjl (a] gnu.org>
7258
7259 * cplus-dem.c (main): Handle java_demangling.
7260
7261 2000-11-19 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
7262
7263 * cplus-dem.c (grow_vect): Prototype.
7264 (ada_demangle): Cast the arg of ctype macros to unsigned char.
7265
7266 2000-11-15 Hans-Peter Nilsson <hp (a] bitrange.com>
7267
7268 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
7269 parameter `option'.
7270
7271 2000-11-15 Kenneth Block <kenneth.block (a] compaq.com>
7272
7273 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
7274 be used in GCC.
7275
7276 2000-11-15 Kenneth Block <kenneth.block (a] compaq.com>
7277
7278 * cplus-dem.c: Add gnat demangler. Add java to demangle style
7279 list.
7280
7281 2000-11-04 Hans-Peter Nilsson <hp (a] bitrange.com>
7282
7283 * hashtab.c (htab_expand): Change to return int. Use calloc or
7284 xcalloc depending on htab->return_allocation_failure. Return zero
7285 if calloc fails.
7286 (htab_create): Update comment to cover memory allocation.
7287 (htab_try_create): New.
7288 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
7289 Update comment to cover this.
7290
7291 2000-11-03 Hans-Peter Nilsson <hp (a] bitrange.com>
7292
7293 * hashtab.c: Change void * to PTR where necessary.
7294 (htab_create, htab_expand): Correct formatting of comment before
7295 function.
7296
7297 2000-10-22 Alex Samuel <samuel (a] codesourcery.com>
7298
7299 * cp-demangle.c (string_list_def): Add caret_position and comments.
7300 (result_caret_pos): New macro.
7301 (result_append_string): Rename to...
7302 (result_add_string): ... this, and insert at caret position.
7303 Rename throughout.
7304 (result_append): Rename to...
7305 (result_add): ... this, and insert at caret position. Rename
7306 throughout.
7307 (result_append_char): Rename to...
7308 (result_add_char): ... this, and insert at caret position. Rename
7309 throughout.
7310 (result_append_space): Remove.
7311 (string_list_new): Initialize caret position.
7312 (result_add_separated_char): Use caret position.
7313 (result_get_caret): New funtion.
7314 (result_set_caret): Likewise.
7315 (result_shift_caret): Likewise.
7316 (result_previous_char_is_space): Likewise.
7317 (substitution_start): Use caret position.
7318 (substitution_add): Likewise.
7319 (demangling_new): Initialize caret position.
7320 (demangle_encoding): Use caret position.
7321 (demanglin_nested_name): Put CV qualifiers after name.
7322 (demangle_type_ptr): Use switch statement. Handle pointers to
7323 arrays. Don't use result_append_space. Use caret position.
7324 (demangle_type): Emit CV qualifiers after underlying type. Adjust
7325 call to demangle_array_type.
7326 (demangle_array_type): Add parameter to handle pointers to arrays.
7327
7328 2000-10-01 Mark Mitchell <mark (a] codesourcery.com>
7329
7330 * splay-tree.c (splay_tree_insert): Fix formatting.
7331
7332 2000-09-16 Mark Mitchell <mark (a] codesourcery.com>
7333
7334 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
7335
7336 2000-09-14 Michael Sokolov <msokolov (a] ivan.Harhan.ORG>
7337
7338 * splay-tree.c: #include <stdio.h>.
7339
7340 2000-09-14 Hans-Peter Nilsson <hp (a] axis.com>
7341
7342 * testsuite/demangle-expected: Add two tests for anonymous
7343 namespaces.
7344 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
7345
7346 2000-09-10 Mark Mitchell <mark (a] codesourcery.com>
7347
7348 * splay-tree.c (splay_tree_predecessor): New function.
7349 (splay_tree_successor): Likewise.
7350
7351 2000-09-10 Hans-Peter Nilsson <hp (a] axis.com>
7352
7353 * testsuite/demangle-expected: Add four tests for type_info
7354 mangling.
7355 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
7356 for a non-template non-qualified type_info function or node.
7357
7358 2000-09-08 Alex Samuel <samuel (a] codesourcery.com>
7359
7360 * cp-demangle.c: Fix copyright banner.
7361
7362 2000-09-07 Michael Sokolov <msokolov (a] ivan.Harhan.ORG>
7363
7364 * md5.c: #include "ansidecl.h".
7365
7366 2000-09-06 Alex Samuel <samuel (a] codesourcery.com>
7367
7368 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
7369 (demangle_type): Handle substitution candidates correctly in the
7370 face of special substitutions.
7371
7372 2000-09-05 Alex Samuel <samuel (a] codesourcery.com>
7373
7374 * cp-demangle.c (demangle_encoding): Rename variable.
7375 (demangle_name): Rename parameter. Handle return type
7376 suppression.
7377 (demangle_nested_name): Rename parameter.
7378 (demangle_prefix): Likewise. Change return type suppression.
7379 (demangle_unqualified_name): Add parameter. Flag constructors and
7380 conversion operators.
7381 (demangle_special_name): Fix comment.
7382 (demangle_type): Rename variable.
7383 (demangle_bare_function_type): Check for missing return type and
7384 parameter.
7385 (demangle_class_enum_type): Rename parameter.
7386 (demangle_discriminator): Fix misspelling in comment.
7387
7388 2000-08-31 DJ Delorie <dj (a] redhat.com>
7389
7390 * configure.in (Cygwin): special case cygwin only when we're
7391 building cygwin, not when we're hosting cygwin.
7392
7393 2000-09-04 Alex Samuel <samuel (a] codesourcery.com>
7394
7395 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
7396 <expression>.
7397
7398 2000-09-04 Alex Samuel <samuel (a] codesourcery.com>
7399
7400 * cp-demangle.c (demangle_type_ptr): Increment position past
7401 pointer and reference characters.
7402
7403 2000-09-04 Alex Samuel <samuel (a] codesourcery.com>
7404
7405 * cp-demangle.c (demangle_nv_offset): New function.
7406 (demangle_v_offset): Likewise.
7407 (demangle_call_offset): Likewise.
7408 (demangle_special_name): Update thunk demangling to comply with
7409 ABI changes.
7410
7411 2000-09-03 Alex Samuel <samuel (a] codesourcery.com>
7412
7413 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
7414 (substitution_def): Remove template_parm_number.
7415 (NOT_TEMPLATE_PARM): Remove.
7416 (result_insert_string): New macro.
7417 (result_insert): Likewise.
7418 (result_insert_char): Likewise.
7419 (substitution_add): Remove last parameter. Don't store template
7420 parm number.
7421 (BFT_NO_RETURN_TYPE): Define as NULL.
7422 (demangle_encoding): Adjust call to demangle_bare_function_type.
7423 (demangle_name): Adjust substitution. Adjust call to
7424 substitution_add.
7425 (demangle_prefix): Adjust call to substitution_add.
7426 (demangle_identifier): Handle anonymous namespaces.
7427 (demangle_operator_name): Change demangling of vendor-extended
7428 operator to match ABI changes.
7429 (demangle_type_ptr): Change parameters. Make recursive. Handle
7430 substitutions here.
7431 (demangle_type): Adjust calls to demangle_template_param,
7432 substitution_add, and demangle_type_ptr. Fix substitution of
7433 templated types.
7434 (demangle_function_type): Change parameter to a pointer.
7435 (demangle_bare_function_type): Likewise. Adjust insertion point.
7436 (demangle_template_param): Remove last parameter.
7437 (demangle_expr_primary): Remove unused variable. Adjust call to
7438 demangle_template_param.
7439 (is_mangled_char): Accept `$' and `.'.
7440 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
7441 * dyn-string.c (dyn_string_insert_char): New function.
7442
7443 2000-08-31 Hans-Peter Nilsson <hp (a] axis.com>
7444
7445 * testsuite/demangle-expected: Add nine tests for
7446 underscore-after-number followed by five tests for name-signature
7447 delimiter.
7448
7449 2000-08-28 Richard Henderson <rth (a] cygnus.com>
7450
7451 * Makefile.in (md5.o): Depend on config.h.
7452
7453 2000-08-28 Jason Merrill <jason (a] redhat.com>
7454
7455 * Makefile.in (REQUIRED_OFILES): Add md5.o.
7456 (CFILES): Add md5.c.
7457 * md5.c: New file.
7458
7459 2000-08-27 Alex Samuel <samuel (a] codesourcery.com>
7460
7461 * cp-demangle.c (demangle_name): Initialize template_p in local
7462 name case. Don't re-add substitutions as candidates.
7463 (demangle_nested_name): Use <unqualified-name>.
7464 (demangle_prefix): Likewise. Don't add template names as
7465 substitution candidates twice, or re-add a substitution or the
7466 last prefix component.
7467 (demangle_local_name): Adjust output format.
7468
7469 2000-08-25 Alex Samuel <samuel (a] codesourcery.com>
7470
7471 * cp-demangle.c (result_add_separated_char): Change parameter to
7472 int.
7473 (substitution_add): Don't check for duplicates. Check if
7474 previously allocated size is zero.
7475 (demangle_name): Remove duplicate check for std substitution.
7476 Clear template flag appropriately.
7477 (demangle_prefix): Remove argument to demangle_substitution.
7478 Don't check that template flag is already set.
7479 (demangle_operator_name): Add pt operator.
7480 (demangle_type): Don't treat r as built-in type. Remove argument
7481 to demangle_substitution. Fix substitution candidate mechanics.
7482 Handle <template-template-parm>s. Improve comments.
7483 (demangle_template_param): Don't handle template arg lists here.
7484 (demangle_substitution): Remove parameter.
7485 (print_usage): Remove extra fprintf option.
7486
7487 2000-08-24 Greg McGary <greg (a] mcgary.org>
7488
7489 * random.c (end_ptr): Revert previous change.
7490
7491 2000-08-24 Greg McGary <greg (a] mcgary.org>
7492
7493 * cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
7494 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
7495 * random.c (end_ptr): Likewise.
7496
7497 2000-08-23 Alex Samuel <samuel (a] codesourcery.com>
7498
7499 * cp-demangle.c (result_close_template_list): Remove function.
7500 (result_add_separated_char): New function.
7501 (result_open_template_list): New macro.
7502 (result_close_template_list): Likewise.
7503 (demangle_prefix): Don't set template_p if the
7504 prefix ends with a ctor name.
7505 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
7506 (demangle_type): Check for template args after substitution.
7507 (demangle_template_args): Use result_open_template_list.
7508
7509 2000-08-02 Zack Weinberg <zack (a] wolery.cumb.org>
7510
7511 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
7512
7513 2000-07-26 Dave Pitts <dpitts (a] cozx.com>
7514
7515 * config/mh-openedition.h: Added -DLE370 definition.
7516
7517 2000-07-26 Mark Elbrecht <snowball3 (a] bigfoot.com>
7518
7519 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
7520 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
7521 Cast program to 'char *' in errmsg_arg assignment.
7522 (PWAIT_ERROR): Define.
7523 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
7524 to DJGPP's WIF* macros.
7525
7526 2000-07-27 RodneyBrown <RodneyBrown (a] pmsc.com>
7527 Jeff Law <law (a] cygnus.com>
7528
7529 * getcwd.c: Include string.h, stdlib.h for prototypes
7530
7531 * Makefile.in (rename.o, waitpid.o): Depend on config.h
7532 * rename.c: Include config.h, unistd.h
7533 * waitpid.c: Include config.h, sys/wait.h
7534
7535 2000-07-24 Hans-Peter Nilsson <hp (a] axis.com>
7536
7537 * cplus-dem.c (work_stuff_copy_to_from): New.
7538 (delete_non_B_K_work_stuff): New.
7539 (delete_work_stuff): New.
7540 (mop_up): Break out work_stuff partly destruction to
7541 delete_non_B_K_work_stuff.
7542 (iterate_demangle_function): New.
7543 (demangle_prefix): Call iterate_demangle_function instead of
7544 demangle_function_name. Leave handling of name-signature
7545 __-delimiters to iterate_demangle_function.
7546 (demangle_integral_value): Strip an optional
7547 following underscore cautiously. Handle negative numbers.
7548
7549 2000-07-24 Daniel Berlin <dberlin (a] redhat.com>
7550
7551 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
7552 if (AUTO_DEMANGLING || GNU_DEMANGLING)
7553
7554 2000-07-21 Alex Samuel <samuel (a] codesourcery.com>
7555
7556 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
7557 allocating ctor mangling.
7558 (demangle_array_type): Handle empty and non-constant array length.
7559
7560 2000-07-23 Michael Sokolov <msokolov (a] ivan.Harhan.ORG>
7561 Jeff Law <law (a] cygnus.com>
7562
7563 * configure.in (AC_CHECK_HEADERS): Add time.h.
7564 (AC_HEADER_TIME): Add check.
7565 * configure, config.in: Regenerate.
7566 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
7567
7568 * configure.in (AC_CHECK_HEADERS): Add limits.h.
7569 * configure, config.in: Regenerate.
7570 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
7571 * strtol.c, strtoul.c: #include "config.h". Portably #include
7572 <limits.h> and/or <sys/param.h>.
7573 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
7574
7575 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
7576 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
7577 * configure, config.in: Regenerate.
7578 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
7579
7580 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
7581
7582 2000-07-21 Mike Stump <mrs (a] wrs.com>
7583
7584 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
7585 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
7586
7587 2000-07-21 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
7588
7589 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
7590
7591 * setenv.c (setenv): Initialize variable `ep'.
7592
7593 * sigsetmask.c (abort): Prototype.
7594
7595 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
7596 __STDC__ for stdarg.h include.
7597 (int_vasprintf): Prototype.
7598 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
7599 definition. Cast `global_total_width' in comparison.
7600 (main): Prototype. Return a value.
7601
7602 * vfork.c (fork): Prototype.
7603
7604 * xexit.c: Include config.h.
7605
7606 2000-07-20 Joseph S. Myers <jsm28 (a] cam.ac.uk>
7607
7608 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
7609 and print it with %u.
7610
7611 2000-07-17 Hans-Peter Nilsson <hp (a] axis.com>
7612
7613 * testsuite/regress-demangle (failed test): Show result and
7614 expected output.
7615
7616 2000-07-07 Andrew Haley <aph (a] cygnus.com>
7617
7618 * cplus-dem.c (main): fflush() after emitting last char before
7619 waiting for input.
7620
7621 2000-06-28 Alex Samuel <samuel (a] codesourcery.com>
7622
7623 * cp-demangle.c (demangle_encoding): Accept no substitutions.
7624 (demangle_name): Handle <substitution> followed by
7625 <unqualified-template-name>.
7626 (demangle_type): Follow special substitutions with
7627 <class-enum-type>
7628 (demangle_subtitution): Set template_p for special substitutions.
7629 (main): Fix typos.
7630
7631 2000-06-27 Alex Samuel <samuel (a] codesourcery.com>
7632
7633 * cp-demangle.c (demangle_special_name): Swap base and derived
7634 class when demangling construction vtables.
7635
7636 2000-06-21 Alex Samuel <samuel (a] codesourcery.com>
7637
7638 * cp-demangle.c: Don't include ctype.h.
7639 (IS_DIGIT): New macro.
7640 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
7641 instead of isdigit and isalpanum.
7642 (demangling_def): Make name and next const pointers.
7643 (STATUS_ALLOCATION_FAILED): New status code.
7644 (dyn_string_append_space): Handle failure in
7645 dyn_string_append_char.
7646 (int_to_dyn_string): Likewise. Change return value to status_t.
7647 (string_list_new): Handle failure of dyn_string_init.
7648 (result_close_template_list): Change return type to status_t.
7649 Handle failure in dyn_string_append.
7650 (result_push): Change return value to status_t. Handle failure in
7651 string_list_new. Handle failure of result_push throughout.
7652 (substitution_add): Change return value to status_t. Handle
7653 dyn_string failures. Handle failure of substitution_add
7654 throughout.
7655 (template_arg_list_new): Return NULL on allocation failure.
7656 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
7657 Handle error result throughout.
7658 (result_append): Likewise.
7659 (result_append_char): Likewise.
7660 (result_append_space): Likewise.
7661 (demangling_new): Make argument a const pointer. Handle
7662 allocation failures.
7663 (demangle_template_args): Handle failure in template_arg_list_new
7664 and result_close_template_list.
7665 (demangle_discriminator): Return if int_to_dyn_string fails.
7666 (cp_demangle): Likewise.
7667 (cp_demangle_type): New function.
7668 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
7669 memory allocation failure.
7670 (main): Likewise.
7671 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
7672 IN_LIBGCC2.
7673 (dyn_string_init): Change return value to int. Handle
7674 RETURN_ON_ALLOCATION_FAILURE case.
7675 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
7676 (dyn_string_release): Delete the dyn_string.
7677 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
7678 (dyn_string_copy): Change return type to int.
7679 (dyn_string_copy_cstr): Likewise.
7680 (dyn_string_prepend): Likewise.
7681 (dyn_string_prepend_cstr): Likewise.
7682 (dyn_string_insert): Likewise.
7683 (dyn_string_insert_cstr): Likewise.
7684 (dyn_string_append): Likewise.
7685 (dyn_string_append_cstr): Likewise.
7686 (dyn_string_append_char): Likewise.
7687 (dyn_string_substring): Likewise.
7688
7689 2000-06-09 Zack Weinberg <zack (a] wolery.cumb.org>
7690
7691 * cp-demangle.c (demangle_operator_name): Add spaces before
7692 names beginning with a letter: delete, delete[], new, new[],
7693 sizeof.
7694 (demangle_special_name): Handle TF <type> and TJ <type>.
7695
7696 Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm (a] macqel.be>
7697
7698 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
7699
7700 Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm (a] macqel.be>
7701
7702 * cp-demangle.c (stdio.h): File included unconditionaly.
7703 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
7704 * dyn-string.c (stdio.h): File included.
7705 * partition.c (partition_print): No `&' needed to take the address of
7706 a function.
7707
7708 2000-06-07 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
7709
7710 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
7711
7712 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
7713
7714 * cp-demangle.c (demangle_char): Change parameter from char to int.
7715 (demangle_expression, demangle_expr_primary): Remove extra
7716 semi-colon in prototype.
7717
7718 * dyn-string.c (dyn_string_append_char): Change parameter from
7719 char to int.
7720
7721 * memcmp.c (memcmp): Constify.
7722
7723 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
7724 __extension__.
7725
7726 * partition.c (elem_compare): Prototype. Don't cast away
7727 const-ness.
7728
7729 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
7730
7731 2000-06-07 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
7732
7733 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
7734
7735 * cp-demangle.c: Include demangle.h.
7736 (template_arg_list_new): DeANSIfy.
7737 (cp_demangle): Make static and add prototype.
7738 (operator_code, operators): Constify.
7739 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
7740
7741 2000-06-05 Alex Samuel <samuel (a] codesourcery.com>
7742
7743 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
7744 unsigned char.
7745 (demangle_unqualified_name): Likewise.
7746 (demangle_number_literally): Likewise.
7747 (demangle_type): Likewise.
7748 (demangle_substitution): Likewise.
7749 (is_mangled_char): Likewise, for isalnum.
7750
7751 2000-06-04 Alex Samuel <samuel (a] codesourcery.com>
7752
7753 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
7754 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
7755 (cp-demangle.o): New dependency.
7756 (dyn-string.o): Likewise.
7757
7758 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
7759
7760 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
7761 demangler.
7762 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
7763 demangling mode.
7764 (gnu_new_abi_symbol_characters): New function.
7765 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
7766 file.
7767 * cp-demangle.c: New file.
7768
7769 Tue May 30 16:45:25 2000 Andrew Cagney <cagney (a] b1.cygnus.com>
7770
7771 * floatformat.c: Add name to each floatformat field.
7772
7773 Tue May 30 15:07:52 2000 Jeffrey A Law (law (a] cygnus.com)
7774
7775 * Makefile.in (objalloc.o): Depend on config.h
7776
7777 2000-05-29 Zack Weinberg <zack (a] wolery.cumb.org>
7778
7779 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
7780 if HAVE_STRING_H.
7781 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
7782 * objalloc.c: Include config.h. Include stdlib.h and don't
7783 declare malloc or free if HAVE_STDLIB_H.
7784 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
7785 else declare malloc without prototype. Include string.h if
7786 HAVE_STRING_H, else declare memset without prototype. Don't
7787 include stddef.h.
7788
7789 2000-05-23 Mike Stump <mrs (a] wrs.com>
7790
7791 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
7792 -j3.
7793
7794 2000-05-18 J. David Anglin <dave (a] hiauly1.hia.nrc.ca>
7795
7796 * xmalloc.c: Include config.h for HAVE_SBRK definition.
7797
7798 2000-05-16 Horst von Brand <vonbrand (a] sleipnir.valparaiso.cl>
7799
7800 * hashtab.c (hash_pointer): Delete low-order bits which are
7801 probably zero, also eliminate a warning on alpha.
7802
7803 2000-05-15 David Edelsohn <edelsohn (a] gnu.org>
7804
7805 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
7806 on $(enable_shared).
7807
7808 2000-05-10 Jakub Jelinek <jakub (a] redhat.com>
7809
7810 * config.table: Use mh-sparcpic for sparc*-*-*.
7811
7812 2000-05-08 Nick Clifton <nickc (a] cygnus.com>
7813
7814 * Makefile.in (CFILES): Add strncmp.c.
7815 (NEEDED): Add strncmp.
7816
7817 2000-05-04 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
7818
7819 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
7820 Cast the arguments to `islower' to `unsigned char'.
7821 (print_demangler_list): Prototype.
7822
7823 Thu May 4 17:14:41 2000 Philippe De Muyter <phdm (a] macqel.be>
7824
7825 * sort.c (UCHAR_MAX): Provide fallback definition.
7826
7827 2000-04-29 Alexandre Oliva <aoliva (a] cygnus.com>
7828
7829 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
7830 SUBDIRS.
7831
7832 2000-04-28 Kenneth Block <block (a] zk3.dec.com>
7833 Jason Merrill <jason (a] casey.cygnus.com>
7834
7835 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
7836 (cplus_demangle_set_style): New function for setting style.
7837 (cplus_demangle_name_to_style): New function to translate name.
7838
7839 2000-04-27 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
7840
7841 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
7842
7843 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
7844 (libiberty_AC_FUNC_STRNCMP): Invoke.
7845
7846 * strncmp.c: New file.
7847
7848 Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh (a] suse.cz>
7849
7850 * hashtab.c (htab_expand): Add prototype.
7851 (find_empty_slot_for_expand): Likewise.
7852
7853 2000-04-24 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
7854
7855 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
7856 match prototype.
7857 (htab_expand): Cast the return value of xcalloc.
7858
7859 2000-04-24 Mark Mitchell <mark (a] codesourcery.com>
7860
7861 * hashtab.c (hash_pointer): New function.
7862 (eq_pointer): Likewise.
7863 (htab_hash_pointer): New variable.
7864 (htab_eq_pointer): Likewise.
7865
7866 2000-04-23 Mark Mitchell <mark (a] codesourcery.com>
7867
7868 * sort.c (sort_pointers): Fix endianness bugs.
7869
7870 * sort.c: New file.
7871 * Makefile.in (CFILES): Add sort.c
7872 (REQUIRED_OFILES): Add sort.o.
7873 (sort.o): New target.
7874
7875 2000-04-21 Michael Sokolov <msokolov (a] ivan.Harhan.ORG>
7876
7877 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
7878 4.3BSD systems.
7879
7880 Tue Apr 18 16:23:31 2000 Richard Kenner <kenner (a] vlsi1.ultra.nyu.edu>
7881
7882 * hashtab.c: Various minor cleanups.
7883 (htab_find_slot_with_hash): INSERT is now enum insert_option.
7884 (htab_find_slot): Likewise.
7885
7886 2000-04-16 Dave Pitts <dpitts (a] cozx.com>
7887
7888 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
7889
7890 2000-04-05 Richard Henderson <rth (a] cygnus.com>
7891
7892 * splay-tree.c (splay_tree_remove): New.
7893
7894 2000-03-30 Mark Mitchell <mark (a] codesourcery.com>
7895
7896 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
7897 codes.
7898 (htab_find_with_hash): Likewise.
7899 (htab_find_slot_with_hash): Likewise.
7900
7901 2000-03-29 Zack Weinberg <zack (a] wolery.cumb.org>
7902
7903 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
7904 unless it will be used. Rearrange loop for better
7905 optimization.
7906 (higher_prime_number): Add static prototype.
7907
7908 Thu Mar 16 01:33:58 2000 Jeffrey A Law (law (a] cygnus.com)
7909
7910 * Makefile.in (partition.o): Depend on config.h
7911
7912 2000-03-14 Bernd Schmidt <bernds (a] cygnus.co.uk>
7913
7914 * hashtab.c (find_empty_slot_for_expand): New function.
7915 (htab_expand): Use it instead of htab_find_slot.
7916 (htab_find_with_hash): Renamed from htab_find; now accepts extra
7917 argument HASH.
7918 (htab_find_slot_with_hash): Likewise for htab_find_slot.
7919 (htab_find): New wrapper function.
7920 (htab_find_slot): Likewise.
7921 (htab_traverse): Pass slot, not entry, to called function.
7922
7923 2000-03-09 Alex Samuel <samuel (a] codesourcery.com>
7924
7925 * Makefile.in (CFILES): Add partition.c.
7926 (REQUIRED_OFILES): Add partition.o.
7927 (partition.o): New rule.
7928 * partition.c: New file.
7929
7930 2000-03-09 Zack Weinberg <zack (a] wolery.cumb.org>
7931
7932 * hashtab.c (htab_create): Set del_f.
7933 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
7934 Use it.
7935
7936 2000-03-08 Zack Weinberg <zack (a] wolery.cumb.org>
7937
7938 * hashtab.c: Remove debugging variables (all_searches,
7939 all_collisions, all_expansions). Delete
7940 all_hash_table_collisions.
7941 (create_hash_table, delete_hash_table, empty_hash_table,
7942 find_hash_table_entry, remove_element_from_hash_table_entry,
7943 clear_hash_table_slot, traverse_hash_table, hash_table_size,
7944 hash_table_elements_number, hash_table_collisions): Rename to:
7945 htab_create, htab_delete, htab_empty, htab_find_slot,
7946 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
7947 htab_elements, htab_collisions.
7948 (htab_find): New function, handles common case where you don't
7949 plan to add or delete an entry.
7950 (htab_expand): Don't create a whole new table, just a new
7951 entry vector.
7952 (htab_find_slot): Simplify logic.
7953
7954 1999-08-03 Ian Lance Taylor <ian (a] zembu.com>
7955
7956 * floatformat.c: Add casts to avoid signed/unsigned warnings.
7957 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
7958
7959 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
7960 $(TARGETLIB)n so it works on MSDOS.
7961 (install_to_tooldir): Likewise.
7962
7963 1999-07-21 Ian Lance Taylor <ian (a] zembu.com>
7964
7965 From Mark Elbrecht:
7966 * makefile.dos: Remove; obsolete.
7967 * configure.bat: Remove; obsolete.
7968
7969 1999-07-11 Ian Lance Taylor <ian (a] zembu.com>
7970
7971 * splay-tree.c (splay_tree_insert): Add initialization to avoid
7972 warning.
7973
7974 2000-01-04 Mumit Khan <khan (a] xraylith.wisc.edu>
7975
7976 * pexecute.c: Conditionally include string.h.
7977 (fix_argv): Handle embedded whitespace in args for Mingw32.
7978
7979 2000-01-04 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
7980
7981 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
7982 we're using gcc.
7983
7984 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
7985
7986 1999-12-27 Geoff Keating <geoffk (a] cygnus.com>
7987
7988 * vasprintf.c (int_vasprintf): Don't re-read the format character
7989 as this mishandles strings like '%%s'.
7990
7991 1999-12-05 Mark Mitchell <mark (a] codesourcery.com>
7992
7993 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
7994 rather than struct splay_tree_node.
7995 (splay_tree_insert): Use struct splay_tree_s rather than struct
7996 splay_tree.
7997
7998 Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm (a] macqel.be>
7999
8000 * hashtab.c (sys/types.h): File included.
8001
8002 1999-11-22 Jason Merrill <jason (a] casey.cygnus.com>
8003
8004 * strtoul.c, strtol.c, random.c: Remove advertising clause from
8005 BSD license, pursuant with
8006
8007 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
8008
8009 Wed Nov 10 09:42:39 1999 Jeffrey A Law (law (a] cygnus.com)
8010
8011 * hashtab.c: Include stdio.h.
8012
8013 Mon Nov 8 09:23:41 1999 Jeffrey A Law (law (a] cygnus.com)
8014
8015 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
8016
8017 Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm (a] macqel.be>
8018
8019 * xstrdup (sys/types.h): Include this file.
8020
8021 1999-10-28 Nathan Sidwell <nathan (a] acm.org>
8022
8023 * Makefile.in (SUBDIRS): New macro.
8024 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
8025 avoid multiple subdirectory cleaning.
8026 (*-subdir): Use SUBDIRS.
8027
8028 1999-10-25 Jim Kingdon <http://developer.redhat.com/>
8029
8030 * cplus-dem.c: Move declarations of standard_symbol_characters and
8031 hp_symbol_characters inside #ifdef MAIN to avoid compiler
8032 warnings.
8033
8034 1999-10-23 08:51 -0700 Zack Weinberg <zack (a] bitmover.com>
8035
8036 * hashtab.c (find_hash_table_entry): When returning a
8037 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
8038 (clear_hash_table_slot): New function which deletes an entry
8039 by its position in the table, not its value.
8040 (traverse_hash_table): New function which calls a hook
8041 function for every live entry in the table.
8042
8043 1999-10-19 Mark Mitchell <mark (a] codesourcery.com>
8044
8045 * cplus-dem.c (INTBUF_SIZE): New macro.
8046 (string_append_template_idx): New function.
8047 (demangle_expression): Likewise.
8048 (demangle_integral_value): Use it.
8049 (demangle_real_value): New function, split out from ...
8050 (demangle_template_value_parm): ... here. Use
8051 string_append_template_idx. Use demangle_real_value.
8052 (demangle_template): Use string_append_template_idx.
8053 (demangle_qualified): Use consume_count_with_underscores.
8054 (get_count): Tweak formatting.
8055 (do_type): Use string_append_template_idx.
8056
8057 1999-10-18 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
8058
8059 * calloc.c: Add a public domain notice.
8060
8061 Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm (a] macqel.be>
8062
8063 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
8064
8065 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov (a] loony.cygnus.com>
8066
8067 * Makefile.in (CFILES): Add hashtab.c
8068 (REQUIRED_OFILES): Add hashtab.o
8069 (hashtab.o): Add dependencies.
8070 * hashtab.c: New file
8071
8072 Wed Oct 13 01:16:47 1999 Mumit Khan <khan (a] xraylith.wisc.edu>
8073
8074 * basename.c (DIR_SEPARATOR): New macro.
8075 (DIR_SEPARATOR_2): Likewise.
8076 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
8077 (IS_DIR_SEPARATOR): Likewise.
8078 (main): Handle MSDOS style pathname.
8079
8080 1999-10-11 Mark Mitchell <mark (a] codesourcery.com>
8081
8082 * cplus-dem.c (do_type): Handle pointer to member types whose
8083 enclosing classes have namespace scope.
8084
8085 Sun Oct 10 01:23:50 1999 Marc Espie <espie (a] cvs.openbsd.org>
8086
8087 * config.table: Provide a backup shell for executing move-if-change.
8088
8089 1999-10-02 Mark Mitchell <mark (a] codesourcery.com>
8090
8091 * xmalloc.c (xmalloc): Fix spelling error.
8092 (xcalloc, xrealloc): Likewise.
8093
8094 1999-10-02 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
8095
8096 * cplus-dem.c (fancy_abort, demangle_integral_value,
8097 demangle_arm_hp_template, recursively_demangle,
8098 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
8099 (program_name, program_version, fatal): Constify a char*.
8100 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
8101 (main): Call return, not exit.
8102
8103 1999-09-25 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
8104
8105 * choose-temp.c: Remove obsolete comment about gcc.
8106 (make_temp_file): Constify a char*.
8107
8108 Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
8109
8110 * xmemdup.c: Include sys/types.h.
8111
8112 1999-09-07 Jeff Garzik <jgarzik (a] pobox.com>
8113
8114 * xmemdup.c: New xmemdup function.
8115 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
8116
8117 Tue Sep 7 23:32:18 1999 Linas Vepstas <linas (a] linas.org>
8118
8119 * config.table: Add openedition target.
8120 * config/mh-openedition: New file.
8121
8122 Thu Sep 2 01:36:12 1999 Marc Espie <espie (a] cvs.openbsd.org>
8123
8124 * pexecute.c (pexecute): Fill in temp_base when needed.
8125
8126 1999-08-31 Richard Henderson <rth (a] cygnus.com>
8127
8128 * getpwd.c: Check HAVE_GETCWD before defining it away.
8129
8130 1999-08-30 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
8131
8132 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
8133 (REQUIRED_OFILES): Add getpwd.o.
8134 (getpwd.o): Add target.
8135
8136 * configure.in (AC_PREREQ): Bump to 2.13.
8137 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
8138
8139 * getpwd.c: New file, moved here from gcc.
8140
8141 1999-08-25 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
8142
8143 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
8144 comparing against a signed quantity.
8145 (arm_special): Likewise.
8146 (demangle_fund_type): Likewise.
8147 (do_hpacc_template_const_value): Mark parameter `work' with
8148 ATTRIBUTE_UNUSED.
8149 (main): Constify variable `valid_symbols'.
8150
8151 Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm (a] macqel.be>
8152
8153 * strtoul.c (strtoul): Add parentheses around && within ||.
8154
8155 Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow (a] drow.them.org>
8156
8157 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
8158 libdir, libsubdir and tooldir.
8159
8160 1999-08-01 Mark Mitchell <mark (a] codesourcery.com>
8161
8162 * splay-tree.c (splay_tree_insert): Return the new node.
8163
8164 1999-07-14 Richard Henderson <rth (a] cygnus.com>
8165
8166 * argv.c: Include stdlib.h and string.h instead of
8167 prototyping directly.
8168 * choose-temp.c: Conditionally include string.h.
8169
8170 1999-07-12 Jason Merrill <jason (a] yorick.cygnus.com>
8171
8172 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
8173
8174 1999-07-11 Ian Lance Taylor <ian (a] zembu.com>
8175
8176 * splay-tree.c (splay_tree_insert): Add initialization to avoid
8177 warning.
8178
8179 1999-07-07 Jason Merrill <jason (a] yorick.cygnus.com>
8180
8181 * Makefile.in (needed-list): Only include stuff we actually need
8182 for libstdc++.
8183
8184 1999-06-21 Andreas Schwab <schwab (a] issan.cs.uni-dortmund.de>
8185
8186 * configure.in (checkfuncs): Add gettimeofday.
8187 * config.in, configure: Regenerated.
8188
8189 Mon Jun 21 05:56:01 1999 Mumit Khan <khan (a] xraylith.wisc.edu>
8190
8191 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
8192 the test fails.
8193 * configure: Regenerate.
8194
8195 1999-06-10 Mike Stump <mrs (a] wrs.com>
8196
8197 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
8198 parallel builds.
8199
8200 1999-05-28 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
8201
8202 * putenv.c: Include ansidecl.h to define `const'.
8203 * setenv.c: Likewise.
8204
8205 Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill (a] cs.sfu.ca>
8206
8207 * Makefile.in (CFILES): Add putenv.c and setenv.c.
8208 * configure.in (funcs): Add putenv and setenv.
8209 (AC_CHECK_FUNCS): Check for putenv and setenv.
8210 * configure: Rebuilt.
8211 * putenv.c setenv.c: New files.
8212
8213 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
8214 bytes of space using malloc.
8215
8216 Mon May 17 01:42:34 1999 Stu Grossman <grossman (a] babylon-5.cygnus.com>
8217
8218 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
8219 the *mangled pointer beyond the end of the string. Clean up code to
8220 match prevailing coding style.
8221
8222 1999-05-13 Michael Hayes <m.hayes (a] elec.canterbury.ac.nz>
8223
8224 * tmpnam.c (L_tmpnam): Fix typo.
8225
8226 Thu May 13 01:14:46 1999 Marc Espie <espie (a] cvs.openbsd.org>
8227
8228 * cplus-dem.c (standard_symbol_characters): Renamed from
8229 standard_symbol_alphabet. No longer modify TABLE.
8230 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
8231 modify TABLE.
8232 (main): Corresponding changes. Use strchr to determine if a
8233 character is valid.
8234
8235 1999-05-11 Jim Blandy <jimb (a] zwingli.cygnus.com>
8236
8237 * cplus-dem.c (main): Use table lookup to distinguish identifier
8238 characters from non-identifier characters.
8239 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
8240
8241 Thu May 6 20:34:42 1999 Fred Fish <fnf (a] be.com>
8242
8243 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
8244 * getruntime.c: Only attempt to include sys/resource.h and
8245 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
8246 are defined.
8247
8248 Mon Apr 26 01:36:06 1999 Donn Terry (donn (a] interix.com)
8249
8250 * configure.in (alloca detection): Handle alloca directly for interix.
8251 * configure: Rebuilt.
8252
8253 Sun Apr 25 01:18:21 1999 Mumit Khan <khan (a] xraylith.wisc.edu>
8254
8255 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
8256
8257 1999-04-20 Jim Blandy <jimb (a] zwingli.cygnus.com>
8258
8259 Fix from Dale Hawkins:
8260 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
8261 reallocated properly if we use it again.
8262
8263 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
8264 stricter about syntax. Always null-terminate string.
8265
8266 Thu Apr 15 23:00:55 1999 Mumit Khan <khan (a] xraylith.wisc.edu>
8267
8268 * configure.in (checkfuncs): Check for sbrk.
8269 * config.in: Rebuilt.
8270 * configure: Likewise.
8271 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
8272
8273 1999-04-12 Jim Blandy <jimb (a] zwingli.cygnus.com>
8274
8275 Fix from Marcus Daniels:
8276 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
8277 identifier looking for another underscore.
8278
8279 Sun Apr 11 23:20:59 1999 Mumit Khan <khan (a] xraylith.wisc.edu>
8280
8281 * pexecute.c: Change all references to __UWIN__ to _UWIN.
8282 * xmalloc.c: Likewise.
8283 (xcalloc): UWIN has sbrk.
8284 (xrealloc): Fix guard macro.
8285
8286 1999-04-11 Richard Henderson <rth (a] cygnus.com>
8287
8288 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
8289 or <alloca.h>.
8290 * clock.c (GNU_HZ): New definition.
8291 (clock): Use it.
8292 * getruntime.c: Likewise.
8293
8294 * config.table: Use mh-beos.
8295 * config/mh-beos: New file.
8296
8297 1999-04-11 Mark Mitchell <mark (a] codesourcery.com>
8298
8299 * cplus-dem.c (demangle_template_value_parm): Handle
8300 pointers-to-members.
8301 (do_type): Handle template parameters as qualifiers.
8302
8303 1999-04-01 Jim Blandy <jimb (a] zwingli.cygnus.com>
8304
8305 * cplus-dem.c: Attempt to handle overflows in counts with some
8306 semblance of grace.
8307 (consume_count): Detect overflows. Return -1 to indicate errors,
8308 instead of zero.
8309 (demangle_template_value_parm, demangle_template): Handle change
8310 to consume_count's return convention.
8311
8312 1999-04-05 Tom Tromey <tromey (a] cygnus.com>
8313
8314 * testsuite/regress-demangle: New file.
8315 * testsuite/demangle-expected: New file.
8316
8317 * Makefile.in (all, check, installcheck, info, install-info,
8318 clean-info, dvi, install, etags, tags, mostlyclean, clean,
8319 distclean, maintainer-clean, realclean): Depend on corresponding
8320 `-subdir' target.
8321 (all-subdir check-subdir installcheck-subdir info-subdir
8322 install-info-subdir clean-info-subdir dvi-subdir
8323 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
8324 distclean-subdir maintainer-clean-subdir): New target.
8325 * testsuite/Makefile.in: New file.
8326 * configure: Rebuilt.
8327 * configure.in: Create testsuite/Makefile.
8328
8329 1999-04-02 Mark Mitchell <mark (a] codesourcery.com>
8330
8331 * splay-tree.h (splay_tree_compare_pointers): Define.
8332
8333 1999-03-30 Mark Mitchell <mark (a] codesourcery.com>
8334
8335 * splay-tree.c (splay_tree_compare_ints): Define.
8336
8337 1999-03-30 Tom Tromey <tromey (a] cygnus.com>
8338
8339 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
8340 don't advance input pointer.
8341 (demangle_class_name): If consume_count didn't find a count, do
8342 nothing. Don't bother with `strlen' sanity check; consume_count
8343 does it for us.
8344
8345 1999-03-16 Stan Shebs <shebs (a] andros.cygnus.com>
8346
8347 From Art Haas <ahaas (a] neosoft.com>:
8348 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
8349 when doing arm or hp style.
8350 (demangle_nested_args): Decr forgetting_types field when done.
8351
8352 Thu Mar 11 01:22:58 1999 Mumit Khan <khan (a] xraylith.wisc.edu>
8353
8354 * pexecute.c (__CYGWIN32__): Rename to
8355 (__CYGWIN__): this.
8356 * xmalloc.c: Likewise.
8357
8358 Changes to support i386-pc-uwin.
8359 * configure.in (*-*-uwin*): Workaround for vfork bug.
8360 * configure: Regenerate.
8361 * pexecute.c (pexecute): Be like standard Unix.
8362 (pwait): Likewise.
8363 * xmalloc.c (first_break): Define.
8364 (xmalloc_set_program_name): Use.
8365 (xmalloc): Use.
8366
8367 Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel (a] lauterbach.com>
8368
8369 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
8370
8371 Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer (a] cygnus.com>
8372
8373 * config.table: Check cygwin*, not cygwin32*.
8374
8375 Tue Feb 9 16:39:01 1999 Dave Brolley <brolley (a] cygnus.com>
8376
8377 * Makefile.in: Change mkstemp -> mkstemps.
8378
8379 Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie (a] liafa.jussieu.fr>
8380
8381 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
8382 * configure.in (funcs): Check for and conditionally add mkstemps to
8383 the list of functions libiberty will provide.
8384 * configure: Rebuilt.
8385
8386 Wed Feb 3 00:01:15 1999 Mumit Khan <khan (a] xraylith.wisc.edu>
8387
8388 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
8389 platforms that don't have HZ.
8390 * getruntime.c (HZ): Likewise.
8391
8392 Sat Jan 30 13:28:04 1999 Richard Henderson <rth (a] cygnus.com>
8393
8394 * Makefile.in (xstrdup.o): Depend on config.h.
8395
8396 Wed Jan 13 07:26:44 1999 H.J. Lu (hjl (a] gnu.org)
8397
8398 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
8399 freeing it.
8400
8401 Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
8402
8403 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
8404
8405 Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni (a] kwikemart.cygnus.com>
8406
8407 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
8408 splay-tree.o.
8409
8410 1999-01-04 Jason Molenda (jsm (a] bugshack.cygnus.com)
8411
8412 * configure.in: Require autoconf 2.12.1 or higher.
8413
8414 1998-12-30 Michael Meissner <meissner (a] cygnus.com>
8415
8416 * random.c (NULL): Don't redefine NULL if it is already defined.
8417
8418 Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
8419
8420 * argv.c (buildargv): Cast the result of alloca in assignment.
8421
8422 * choose-temp.c: Include stdlib.h.
8423
8424 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
8425 (snarf_numeric_literal): Constify first parameter.
8426 (code_for_qualifier): Avoid a gcc extension, make the parameter an
8427 int, not a char.
8428 (demangle_qualifier): Likewise.
8429 (demangle_signature): Cast the argument of a ctype function to
8430 unsigned char.
8431 (arm_pt): Add parens around assignment used as truth value.
8432 (demangle_arm_hp_template): Constify variable `args'.
8433 (do_hpacc_template_const_value): Cast the argument of a ctype
8434 function to unsigned char.
8435 (do_hpacc_template_literal): Remove unused variable `i'.
8436 (snarf_numeric_literal): Constify parameter `args'.
8437 Cast the argument of a ctype function to unsigned char.
8438
8439 * floatformat.c (floatformat_to_double): Add explicit braces to
8440 avoid ambiguous `else'.
8441
8442 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
8443 `cstart' and `cend' to unsigned char. Cast the argument of macro
8444 `FOLD', which uses ctype functions, to unsigned char.
8445
8446 * objalloc.c (free): Add prototype.
8447
8448 Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp (a] axis.se>
8449
8450 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
8451
8452 Fri Dec 18 17:50:18 1998 David Taylor <taylor (a] texas.cygnus.com>
8453
8454 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
8455 doesn't exist.
8456 (do_hpacc_template_literal): remove unused variable `i'.
8457
8458 Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod (a] cygnus.com>
8459
8460 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
8461 bumping the pointer we read from. Also prepend these codes,
8462 as we do in other places.
8463
8464 1998-12-18 Nick Clifton <nickc (a] cygnus.com>
8465
8466 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
8467 'const char *' in order to match its usage when calling siblings.
8468 (snarf_numeric_literal): Make first arg 'const char **' in order
8469 to match usage.
8470
8471 Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
8472
8473 * choose-temp.c: Don't check IN_GCC anymore.
8474
8475 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
8476 * memchr.c (memchr): Likewise.
8477 * memcpy.c (memcpy): Likewise.
8478 * memmove.c (memmove): Likewise.
8479
8480 * mkstemp.c: Don't check IN_GCC anymore.
8481 * pexecute.c: Likewise.
8482 * splay-tree.c: Likewise.
8483
8484 * strchr.c (strchr): Use `const', not `CONST'.
8485 * strrchr.c (strrchr): Likewise.
8486 * strtol.c (strtol): Likewise.
8487 * strtoul.c (strtoul): Likewise.
8488
8489 Fri Dec 4 13:51:04 1998 David Taylor <taylor (a] texas.cygnus.com>
8490 Elena Zannoni <ezannoni (a] cygnus.com>
8491 Stan Shebs <shebs (a] cygnus.com>
8492 Edith Epstein <eepstein (a] cygnus.com>
8493 Andres MacLeod <amacleod (a] cygnus.com>
8494 Satish Pai <pai (a] apollo.hp.com>
8495
8496 * HP aCC demangling support.
8497 * cplus-dem.c
8498 (main): Remove default to HP style demangling, set to EDG
8499 demangling correctly when -edg specified; set the demangling style
8500 when user specifies 'edg'. Set strip_underscore to
8501 prepends_underscore, if not HPUXHPPA. Set
8502 current_demangling_style to hp_demangling if HPUXHPPA. Set
8503 current demangling style correctly if the switch is hp. Read
8504 label correctly also in the HP style case.
8505 (work_stuff): add temp_start field; add field for volatile member
8506 function.
8507 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
8508 style for this case is the same as ARM.
8509 (demangle_args): handle EDG_DEMANGLING style; support HP style.
8510 (demangle_arm_hp_template): new function. (It was
8511 demangle_arm_pt.); check and set value of temp_start field in
8512 multiple places. Also, when ceching for end of template args,
8513 check to see if at end of static member of template class.
8514 (demangle_class): new local variable : save_class_name_end Don't
8515 include template args in string defining class.
8516 (demangle_class_name): use demangel_arm_hp_template.
8517 (demangle_function_name): handle case where demangling style is
8518 HP_DEMANGLING and currently point at an 'X' in the mangled name.
8519 Handle EDG_DEMANGLING style. Handle constructor and destructor
8520 ops for HP style.
8521 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
8522 styles. global destructor and constructor for HP style are same
8523 as for ARM style. Same for local variables.
8524 (demangle_qualified): handle EDG_DEMANGLING style.
8525 (demangle_signature): add case for volatile member function. For
8526 cases '1' - '9' : initialize the temp_start field to -1 and handle
8527 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
8528 and AUTO_DEMANGLING styles. If expecting a function and managed
8529 to demangle the funct args, then handle the LUCID_DEMANGLING,
8530 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
8531 class name after "Lnnn_ in HP style case. HP style too needs to
8532 forget types. _nnn is OK for HP style, so don't report failure.
8533 (do_hpacc_template_const_value): new function. Handle template's
8534 value param for HP/aCC.
8535 (do_hpacc_template_literal): new function. Handle a template's
8536 literal parameter for HP aCC.
8537 (recursively_demangle): new function
8538 (snarf_numeric_literal): new function.
8539 (usage): add 'edg' to the list of demangling styles; add hp switch
8540 to message.
8541
8542 Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf (a] cygnus.com>
8543
8544 * pexecute.c: Remove obsolete ifdefed cygwin code.
8545
8546 Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
8547
8548 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
8549 * cplus-dem.c: Likewise. Conform to libiberty.h.
8550 * pexecute.c: Likewise.
8551 * splay-tree.c: Likewise.
8552
8553 1998-11-25 Mike Stump <mrs (a] wrs.com>
8554
8555 * Makefile.in (splay-tree.o): Add config.h dependency.
8556
8557 Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
8558
8559 * configure.in: Use AC_PREREQ(2.12.1).
8560
8561 1998-11-16 Benjamin Kosnik <bkoz (a] haight.constant.com>
8562
8563 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
8564
8565 Thu Nov 19 22:15:50 1998 Jeffrey A Law (law (a] cygnus.com)
8566
8567 * mpw.c (mpw_access): Add missing parens.
8568
8569 Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
8570
8571 * configure.in: Call AC_HEADER_SYS_WAIT.
8572
8573 * pexecute.c: Include sys/wait.h when !IN_GCC.
8574
8575 Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer (a] cygnus.com>
8576
8577 * pexecute.c: revert back to checking old Cygwin
8578 preprocessor symbol until some time has passed.
8579
8580 Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf (a] cygnus.com>
8581
8582 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
8583 since it will now support similar constructs.
8584
8585 Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
8586
8587 * configure.in: Check for calloc.
8588
8589 * calloc.c: New file.
8590
8591 * xmalloc.c (xcalloc): New function.
8592
8593 Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod (a] cygnus.com>
8594
8595 *cplus-dem.c (demangle_prefix): Use the last "__"
8596 in the mangled name when looking for the signature. This allows
8597 template names to begin with "__".
8598
8599 1998-11-08 Mark Mitchell <mark (a] markmitchell.com>
8600
8601 * cplus-dem.c (type_kind_t): Add tk_reference.
8602 (demangle_template_value_parm): Handle it.
8603 (do_type): Use it for references, instead of tk_pointer.
8604
8605 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
8606 not internal_cplus_demangle.
8607
8608 Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
8609
8610 * choose-temp.c: Don't include gansidecl.h.
8611 * mkstemp.c: Likewise.
8612 * pexecute.c: Likewise.
8613
8614 Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer (a] cygnus.com>
8615
8616 * configure.in: detect cygwin* instead of cygwin32*
8617 * configure: regenerate
8618
8619 Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
8620
8621 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
8622 whether to include config.h. Possibly include unistd.h in the
8623 !IN_GCC case. Define VFORK_STRING as a printable function call
8624 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
8625 defined, include vfork.h. If VMS is defined, define vfork()
8626 appropriately. Remove vfork check on USG, we're using autoconf.
8627 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
8628 locally what string to use.
8629
8630 1998-10-26 Mark Mitchell <mark (a] markmitchell.com>
8631
8632 * splay-tree.c: Tweak include directives to make sure declarations of
8633 xmalloc and free are available.
8634
8635 1998-10-25 Mark Mitchell <mark (a] markmitchell.com>
8636
8637 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
8638 anonymous namespaces.
8639
8640 1998-10-23 Mark Mitchell <mark (a] markmitchell.com>
8641
8642 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
8643 with type_quals.
8644 (TYPE_UNQUALIFIED): New macro.
8645 (TYPE_QUAL_CONST): Likewise.
8646 (TYPE_QUAL_VOLATILE): Likewise.
8647 (TYPE_QUAL_RESTRICT): Likewise.
8648 (code_for_qualifier): New function.
8649 (qualifier_string): Likewise.
8650 (demangle_qualifier): Likewise.
8651 (internal_cplus_demangle): Use them.
8652 (demangle_signature): Likewise.
8653 (demangle_template_value_parm): Likewise.
8654 (do_type): Likewise.
8655 (demangle_fund_type)): Likewise.
8656
8657 Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
8658
8659 * splay-tree.c (splay_tree_foreach_helper): Make definition static
8660 to match prototype.
8661
8662 1998-10-21 Mark Mitchell <mark (a] markmitchell.com>
8663
8664 * splay-tree.c: New file.
8665 * Makefile.in (CFILES): Add it.
8666 (REQUIRED_OFILES): Likewise.
8667 (splay-tree.o): Add dependencies.
8668
8669 Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab (a] issan.cs.uni-dortmund.de>
8670
8671 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
8672 range of 'K' index.
8673
8674 Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
8675
8676 * choose-temp.c: Prototype mkstemps() when IN_GCC.
8677
8678 * cplus-dem.c (consume_count): Cast argument of ctype macro to
8679 `unsigned char'.
8680 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
8681 comparing against one.
8682 (cplus_mangle_opname): Likewise.
8683 (demangle_integral_value): Cast argument of ctype macro to
8684 `unsigned char'.
8685 (demangle_template_value_parm): Likewise.
8686 (demangle_template): Initialize variable `bindex'. Cast the
8687 result of `strlen' to (int) when comparing against one. Remove
8688 unused variable `start_of_value_parm'.
8689 (demangle_class_name): Cast the result of `strlen' to (int) when
8690 comparing against one.
8691 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
8692 (gnu_special): Likewise. Cast the result of `strlen' to (int)
8693 when comparing against one.
8694 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
8695 (get_count): Likewise.
8696 (do_type): Likewise. Cast the result of `strlen' to (int) when
8697 comparing against one.
8698 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
8699 (demangle_function_name): Cast the result of `strlen' to (int)
8700 when comparing against one.
8701
8702 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
8703 comparing against one.
8704
8705 Tue Oct 13 23:51:51 1998 Jeffrey A Law (law (a] cygnus.com)
8706
8707 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
8708 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
8709 * config.in, configure: Rebuilt.
8710
8711 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
8712 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
8713 * config.in, configure: Rebuilt.
8714
8715 Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer (a] cygnus.com>
8716
8717 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
8718
8719 Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann (a] holodeck.cygnus.com>
8720
8721 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
8722
8723 Thu Oct 8 23:42:08 1998 Jeffrey A Law (law (a] cygnus.com)
8724
8725 * Merge egcs & devo libiberty.
8726
8727 1998-09-08 Martin von Lwis <loewis (a] informatik.hu-berlin.de>
8728
8729 * cplus-dem.c (demangle_arm_pt): Demangle anonymous namespaces.
8730
8731 Mon Sep 7 23:29:01 1998 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
8732
8733 * mkstemp.c: Include config.h even when not IN_GCC. Wrap header
8734 inclusions inside HAVE_*_H macros. Include ansidecl.h when not
8735 IN_GCC.
8736
8737 * vasprintf.c: Include stdarg.h/varargs.h first.
8738
8739 * vprintf.c: Likewise.
8740
8741 Sat Sep 5 03:24:49 1998 Jeffrey A Law (law (a] cygnus.com)
8742
8743 * pexecute.c: Updates from gcc. Copy in gcc has been removed. This
8744 is the canonical copy. Define ISSPACE if !IN_GCC.
8745 * alloca.c, vfprintf.c, choose-temp.c, mkstemp.c, getopt.c: Similarly.
8746 * getopt1.c, obstack.c: Similarly.
8747 * Makefile.in: Build mkstemp.o
8748
8749 Tue Sep 1 23:12:47 1998 Christopher Faylor <cgf (a] cygnus.com>
8750
8751 * configure.in: Include asprintf in list of functions known not
8752 to be in newlib.
8753 * configure: Rebuild.
8754
8755 Wed Aug 19 14:05:01 1998 Mumit Khan <khan (a] xraylith.wisc.edu>
8756
8757 * cplus-dem.c (work_stuff): Add dllimported.
8758 (demangled_prefix): Mark symbols imported from PE DLL.
8759 (internal_cplus_demangled): Handle.
8760
8761 1998-08-17 Jason Merrill <jason (a] yorick.cygnus.com>
8762
8763 * cplus-dem.c (do_type): Fix simple array handling. If we fail,
8764 stay failed.
8765
8766 Mon Aug 17 10:40:34 1998 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
8767
8768 * cplus-dem.c: Include config.h if it exists. Also, only
8769 prototype malloc/realloc if we can't get stdlib.h.
8770
8771 Sat Aug 15 16:15:01 1998 Ian Lance Taylor <ian (a] cygnus.com>
8772
8773 * configure.in: Switch back to checking --with-target-subdir when
8774 deciding whether to check for newlib, undoing part of July 15
8775 change.
8776 * configure: Rebuild.
8777
8778 Thu Aug 13 16:47:38 1998 Mark Mitchell <mark (a] markmitchell.com>
8779
8780 * cplus-dem.c (type_kind_t): New type.
8781 (demangle_template_value_parm): Add type_kind_t parameter. Rely
8782 on this paramter, rather than demangling the type again.
8783 (demangle_integral_value): Pass tk_integral.
8784 (demangle_template_: Pass the value returned from do_type.
8785 (do_type): Return a type_kind_t. Pass tk_integral to
8786 demangle_template_value_parm for array bounds.
8787 (demangle_fund_type): Likewise.
8788
8789 Also incorporate from GCC version:
8790
8791 Tue Jul 21 13:28:19 1998 Jason Merrill <jason (a] yorick.cygnus.com>
8792
8793 * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
8794
8795 Thu Aug 13 16:47:38 1998 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
8796
8797 * cplus-dem.c (demangle_nested_args): Make function definition
8798 static to match the prototype.
8799
8800 Tue Jul 28 11:33:09 1998 Mark Mitchell <mark (a] markmitchell.com>
8801
8802 * cplus-dem.c (type_kind_t): New type.
8803 (demangle_template_value_parm): Add type_kind_t parameter. Rely
8804 on this paramter, rather than demangling the type again.
8805 (demangle_integral_value): Pass tk_integral.
8806 (demangle_template_: Pass the value returned from do_type.
8807 (do_type): Return a type_kind_t. Pass tk_integral to
8808 demangle_template_value_parm for array bounds.
8809 (demangle_fund_type): Likewise.
8810
8811 Also incorporate from GCC version:
8812
8813 Tue Jul 21 13:28:19 1998 Jason Merrill <jason (a] yorick.cygnus.com>
8814
8815 * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
8816
8817 Mon Jul 27 12:16:08 1998 Ian Lance Taylor <ian (a] cygnus.com>
8818
8819 * Makefile.in (ALLOCA): New variable.
8820 ($(TARGETLIB)): Add $(ALLOCA) to library.
8821 (needed-list): Add $(ALLOCA).
8822 ($(ALLOCA)): Depend upon stamp-picdir.
8823
8824 Sun Jul 19 08:23:17 1998 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
8825
8826 * cplus-dem.c (demangle_nested_args): Make function definition
8827 static to match the prototype.
8828
8829 Wed Jul 15 00:12:58 1998 Ian Lance Taylor <ian (a] cygnus.com>
8830
8831 * configure.in: Check --with-cross-host rather than
8832 --with-target-subdir when deciding whether build uses a cross
8833 compiler, and when deciding where to install the library.
8834 * configure: Rebuild.
8835
8836 Sun Jul 12 01:27:05 1998 Jason Merrill <jason (a] yorick.cygnus.com>
8837
8838 * cplus-dem.c (demangle_nested_args): Return a value.
8839
8840 Sat Jul 11 16:19:48 1998 Mark Mitchell <mark (a] markmitchell.com>
8841
8842 * cplus-dem.c (string): Move definition before work_stuff.
8843 (work_stuff): Add volatile_type, forgetting_types,
8844 previous_argument, and nrepeats fields.
8845 (SCOPE_STRING): New macro.
8846 (demangle_template): Add `remember' parameter. Add comment.
8847 Register the `B' code type here, if remembering. Tidy. Fix crash
8848 on NULL tmpl_argvec. Be consistent with use of tname/trawname.
8849 (demangle_nested_args): New function.
8850 (internal_cplus_demangle): Handle volatile-qualified member
8851 functions.
8852 (mop_up): Delete the previous_argument string if present.
8853 (demangle_signature): Tidy. Handle volatile-qualified member
8854 functions. Handle back-references using the `B' code. Use extra
8855 parameter to demangle_template and SCOPE_STRING where appropriate.
8856 (demangle_template_value_parm): Fix thinko; 'B' is not an integral
8857 code.
8858 (demangle_class): Use SCOPE_STRING.
8859 (gnu_special): Pass additional argument to demangle_template.
8860 Use SCOPE_STRING.
8861 (demangle_qualified): Save qualified types for later
8862 back-references. Handle constructors and destructors for template
8863 types correctly.
8864 (do_type): Tidy. Use SCOPE_STRING. Pass extra argument to
8865 demangle_template. Use demangled_nested_args. Don't remember
8866 qualified types here; that's now done in demangle_qualified.
8867 Similarly for templates.
8868 (do_arg): Improve commment. Handle 'n' repeat code.
8869 (remember_type): Check forgetting_types.
8870 (demangle_args): Deal with 'n' repeat codes. Tidy.
8871
8872 Thu Jul 2 16:26:24 1998 Ian Lance Taylor <ian (a] cygnus.com>
8873
8874 * config.table: Only use mh-fbsd21 on *-*-freebsd2.2.[012], not on
8875 *-*-freebsd2.2.*. From Dmitrij Tejblum <tejblum (a] arc.hq.cti.ru>.
8876
8877 Mon Jun 15 16:29:01 1998 Ian Lance Taylor <ian (a] cygnus.com>
8878
8879 * configure.in (setobjs): Correct quoting error in cygwin32 case.
8880 From Chris Faylor <cgf (a] cygnus.com>.
8881
8882 Mon Jun 1 13:47:55 1998 Jason Molenda (crash (a] bugshack.cygnus.com)
8883
8884 * obstack.c: Update to latest FSF version.
8885
8886 Mon Jun 1 14:17:36 1998 Mike Stump <mrs (a] wrs.com>
8887
8888 * Makefile.in: Add a dependency on stamp-picdir for the
8889 objects, so that we can do a parallel build.
8890
8891 Sat May 30 22:17:13 1998 Mumit Khan <khan (a] xraylith.wisc.edu>
8892
8893 * configure.in (checkfuncs): Add missing "'".
8894
8895 Fri May 29 12:40:41 1998 Jason Molenda (crash (a] bugshack.cygnus.com)
8896
8897 * obstack.c (_obstack_memory_used): Elide this function if we're
8898 on a system with GNU libc.
8899
8900 Tue May 26 18:28:43 1998 Ian Lance Taylor <ian (a] cygnus.com>
8901
8902 * Makefile.in (distclean): Remove config.log.
8903
8904 Tue May 26 15:01:52 1998 Andreas Schwab <schwab (a] issan.informatik.uni-dortmund.de>
8905
8906 * Makefile.in (distclean): Don't remove alloca-conf.h.
8907
8908 Fri May 22 01:38:07 1998 Hans-Peter Nilsson <hp (a] axis.se>
8909
8910 * cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.
8911
8912 1998-05-21 Mark Mitchell <mmitchell (a] usa.net>
8913
8914 * cplus-dem.c (do_type): Handle volatile qualification.
8915
8916 1998-05-21 Manfred Hollstein <manfred (a] s-direktnet.de>
8917
8918 * configure.in: Check for unistd.h as well.
8919 * configure: Rebuild.
8920 * config.in: Rebuild.
8921 * getpagesize.c (GNU_OUR_PAGESIZE): Use sysconf only if _SC_PAGESIZE
8922 is defined in unistd.h. Reformat conditional block for easier reading.
8923
8924 * config.table (shared): Default to no if ${enable_shared}
8925 is unset or empty; this logic is used by the toplevel
8926 configure scripts, too.
8927
8928 Sat May 16 14:01:26 1998 Jeffrey A Law (law (a] cygnus.com)
8929
8930 * config.table: Add line to set enable_shared in the Makefile
8931 as needed.
8932
8933 Wed May 13 14:24:38 1998 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu>
8934
8935 * cplus-dem.c (squangle_mop_up): Change return type to void.
8936 (internal_cplus_demangle): Remove unused parameter `options'.
8937 All callers changed.
8938 (cplus_demangle_opname): Remove function wide variable `int i' and
8939 replace with `size_t i' at each location where it is used.
8940 (cplus_mangle_opname): change type of `i' from int to size_t.
8941
8942 Wed May 13 13:39:38 1998 Ian Lance Taylor <ian (a] cygnus.com>
8943
8944 * alloca-conf.h: Include config.h. Check HAVE_ALLOCA_H rather
8945 than sparc or sun.
8946 * Makefile.in (argv.o): Depend upon config.h and alloca-conf.h.
8947
8948 Fri May 8 00:23:51 1998 Ian Lance Taylor <ian (a] cygnus.com>
8949
8950 * configure.in: Set libiberty_topdir correctly when srcdir is
8951 "." and with_target_subdir is not set.
8952 * configure: Rebuild.
8953
8954 Thu May 7 13:01:44 1998 Ian Lance Taylor <ian (a] cygnus.com>
8955
8956 * configure.in: Add *-*-mingw32* case.
8957 * configure: Rebuild.
8958
8959 Wed May 6 11:33:51 1998 Ian Lance Taylor <ian (a] cygnus.com>
8960
8961 * config.table: Never use a PIC file for *-*-cygwin32*.
8962
8963 * Makefile.in (config.status): Depend upon config.table.
8964
8965 * configure.in: On a cygwin32 host, always compile random, and
8966 don't test for sys_siglist, strsignal, or psignal.
8967 * configure: Rebuild.
8968
8969 * clock.c: Check HAVE_SYS_PARAM_H rather than NO_SYS_PARAM_H.
8970 * getcwd.c: Likewise.
8971 * getpagesize.c: Likewise.
8972 * getruntime.c: Likewise.
8973
8974 Tue May 5 18:08:32 1998 Ian Lance Taylor <ian (a] cygnus.com>
8975
8976 Use autoconf tests rather than the old dummy.c test:
8977 * configure.in: Add AC_ARG_WITH calls for --with-target-subdir and
8978 --with-newlib. Add AC_CONFIG_HEADER. Use AC_REPLACE_FUNCS for
8979 most functions. Add special cases to handle newlib and VxWorks.
8980 Remove target_makefile_frag. Create stamp-h in AC_OUTPUT if
8981 CONFIG_HEADERS is set. Only call config-ml.in in AC_OUTPUT if
8982 CONFIG_FILES is set; set ac_file before calling it.
8983 * config.table (arm-*-riscix*, *-*-cygwin32): Remove.
8984 (*-*-hpux*, *-*-hiux*, *-*-irix4*, *-*-solaris2*): Remove.
8985 (*-*-sysv4*, *-*-go32, *-*-vxworks5*, *-*-vxworks): Remove
8986 (i[3456]-*-mingw32*): Remove.
8987 * Makefile.in (ERRORS_CC, CONFIG_H, NEEDED_LIST): Remove.
8988 (LIBOBJS): New variable.
8989 (HOST_OFILES, DO_ALSO, STAGESTUFF): Remove.
8990 (all): Depend upon needed-list. Don't check RULE1.
8991 (@target_makefile_frag@): Remove.
8992 (COMPILE.c): Include @DEFS@.
8993 (HFILES): Add alloca-conf.h.
8994 (REQUIRED_OFILES): Remove basename.o.
8995 ($(TARGETLIB)): New target.
8996 (stamp-needed, lneeded-list, needed.awk, stamp-config): Remove.
8997 (lconfig.h, needed2.awk, dummy.o, errors): Remove.
8998 (needed-list, config.h): Rewrite.
8999 (RULE1, $(RULE1), RULE2, $(RULE2)): Remove.
9000 (.always.): Remove.
9001 (Makefile): Set CONFIG_FILES and CONFIG_HEADERS.
9002 (stamp-h): New target.
9003 (atexit.o, clock.o, getcwd.o, getpagesize.o): New targets.
9004 (basename.o): Don't depend upon config.h.
9005 (getruntime.o): Depend upon config.h.
9006 * atexit.c: Include config.h. Check HAVE_ON_EXIT rather than
9007 NEED_on_exit.
9008 * basename.c: Don't include config.h. Don't check NEED_basename.
9009 * clock.c: Include config.h.
9010 * getcwd.c: Likewise.
9011 * getpagesize.c: Likewise.
9012 * getruntime.c: Likewise. Fix checks which set HAVE_GETRUSAGE and
9013 HAVE_TIMES.
9014 * strerror.c: Change uses of NEED_sys_errlist to
9015 HAVE_SYS_ERRLIST. Likewise for NEED_strerror and HAVE_STRERROR.
9016 * strsignal.c: Likewise for NEED_sys_siglist and HAVE_SYS_SIGLIST,
9017 and for NEED_strsignal and HAVE_STRSIGNAL and for NEED_psignal and
9018 HAVE_PSIGNAL.
9019 * acconfig.h: New file.
9020 * dummy.c: Remove.
9021 * functions.def: Remove.
9022 * config/mh-cxux7 (HDEFINES): Remove -DHAVE_SYSCONF.
9023 * config/mh-windows (HDEFINES): Remove.
9024 * config/mh-cygwin32: Remove.
9025 * config/mh-go32: Remove.
9026 * config/mh-irix4: Remove.
9027 * config/mh-riscix: Remove.
9028 * config/mh-sysv4: Remove.
9029 * config/mt-mingw32: Remove.
9030 * config/mt-vxworks5: Remove.
9031 * config.in: New file, generated using autoheader.
9032 * configure: Rebuild.
9033
9034 Mon May 4 13:00:28 1998 Ian Lance Taylor <ian (a] cygnus.com>
9035
9036 * configure.in: Rewrite to use autoconf.
9037 * configure: Generate using autoconf.
9038 * config/mh-a68bsd: Remove.
9039 * config/mh-apollo68: Remove.
9040 * config/mh-hpbsd: Remove.
9041 * config/mh-ncr3000: Remove.
9042 * config/mh-sysv: Remove.
9043 * config/mh-aix (RANLIB, INSTALL): Don't define.
9044 * config/mh-cxux7 (RANLIB, INSTALL): Don't define.
9045 * config/mh-irix4 (CC, RANLIB, INSTALL): Don't define.
9046 * config/mh-sysv4 (RANLIB, INSTALL): Don't define.
9047 * config.table: Change config_shell to CONFIG_SHELL, and use
9048 libiberty_topdir to find move-if-change.
9049 (m68k-apollo-bsd*, m68k-apollo-sysv*): Remove.
9050 (i[3456]86-ncr-sysv4*, *-*-dgux*, hppa*-hp-bsd*): Remove.
9051 (*-*-irix*, *-*-m88kbcs*, *-*-sysv*): Remove.
9052 * Makefile.in (srcdir): Set to @srcdir@.
9053 (VPATH): Likewise.
9054 (prefix, exec_prefix, bindir, libdir): Set to autoconf variables.
9055 (SHELL, INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Likewise.
9056 (CC, CFLAGS, RANLIB)): Likewise.
9057 (datadir, man*dir, infodir, includedir, MAKEINFO): Remove.
9058 (target_makefile_frag, host_makefile_frag): Add substitutions.
9059 (INSTALL_DEST): Set to @INSTALL_DEST@.
9060 (Makefile): Depend upon config.status. Don't depend upon
9061 $(host_makefile_frag) or $(target_makefile_frag).
9062 (config.status): New target.
9063
9064 Sun May 3 17:58:49 1998 Ian Lance Taylor <ian (a] cygnus.com>
9065
9066 * config/mt-sunos4: Remove. Should be handled by --with-headers
9067 and --with-libraries options at top level.
9068 * config.table: Never use mt-sunos4.
9069
9070 * alloca-conf.h: New file, combining alloca-norm.h and
9071 alloca-botch.h.
9072 * alloca-norm.h: Remove.
9073 * alloca-botch.h: Remove.
9074 * configure.in: Set shell variables files and links to empty.
9075 * config.table: Don't set shell variable files.
9076 * configure.bat: Don't create alloca-conf.h.
9077 * makefile.vms: Likewise.
9078 * mpw-config.in: Likewise.
9079 * vmsbuild.com: Likewise.
9080
9081 Fri May 1 11:41:42 1998 Ian Lance Taylor <ian (a] cygnus.com>
9082
9083 * Makefile.in ($(HOST_OFILES) $(REQUIRED_OFILES)): Remove old
9084 target depending upon config.h.
9085 (alloca.o): Add target depending upon config.h
9086 (basename.o, choose-temp.o, fnmatch.o): Likewise.
9087 (getopt.o, getopt1.o, pexecute.o, strerror.o): Likewise.
9088 (strsignal.o, xstrerror.o): Likewise.
9089
9090 Fri May 1 04:26:25 1998 Peter Schauer <pes (a] regent.e-technik.tu-muenchen.de>
9091
9092 * cplus-dem.c (cplus_demangle_opname): Initialize work.
9093
9094 Mon Apr 27 15:53:30 EDT 1998 Andrew MacLeod <amacleod (a] cygnus.com>
9095
9096 * cplus-dem.c (demangle_qualified): Replace missing else.
9097
9098 Sun Apr 26 15:38:50 1998 Andreas Schwab <schwab (a] issan.informatik.uni-dortmund.de>
9099
9100 * cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
9101 length in the name of a virtual table.
9102
9103 Wed Apr 22 10:53:49 EDT 1998 Andrew MacLeod <amacleod (a] cygnus.com>
9104
9105 * cplus-dem.c (struct work stuff): Add field for B and K mangle codes.
9106 (cplus_demangle_opname): Call mop_up_squangle.
9107 (cplus_demangle): Initialize squangle info, then call
9108 internal_cplus_demangle. (Most code moved there as well)
9109 (internal_cplus_demangle): New function, performs most of what use
9110 to be done in cplus_demangle, but is only called with this file.
9111 (squangle_mop_up): New function to clean up B and K code data.
9112 (mop_up): set pointers to NULL after freeing.
9113 (demangle_signature, demangle_template, demangle_class): Add
9114 switch elements to handle K and B codes.
9115 (demangle_prefix, gnu_special, demangle_qualified): Add
9116 code to handle K and B codes.
9117 (do_type, demangle_fund_type): Handle B and K codes.
9118 (remember_Ktype): New function to store K info.
9119 (register_Btype, remember_Btype): New functions for B codes.
9120 (forget_B_and_K_types): New function to destroy B and K info.
9121
9122 Fri Apr 10 01:49:10 1998 Jeffrey A Law (law (a] cygnus.com)
9123
9124 * COPYING.LIB, choose-temp.c, cplus-dem.c: Sync with egcs & gcc.
9125
9126 Thu Mar 5 09:23:28 1998 Manfred Hollstein <manfred (a] s-direktnet.de>
9127
9128 * config.table: Make locating frag files failsafe even for the
9129 special case if configuring and building in srcdir.
9130
9131 Mon Feb 23 14:33:15 1998 Ian Lance Taylor <ian (a] cygnus.com>
9132
9133 * choose-temp.c: Fix handling of sys/file.h to work in libiberty.
9134
9135 Sun Feb 22 18:03:23 1998 Jeffrey A Law (law (a] cygnus.com)
9136
9137 * choose-temp.c: Sync with copy in gcc.
9138
9139 Thu Feb 12 16:29:49 1998 Ian Lance Taylor <ian (a] cygnus.com>
9140
9141 * getopt.c: Update to latest FSF version.
9142 * getopt1.c: Likewise.
9143
9144 Tue Feb 10 16:58:33 1998 Stan Shebs <shebs (a] andros.cygnus.com>
9145
9146 * cplus-dem.c (gnu_special): Don't get confused by .<digits>
9147 strings that are not actually lengths.
9148
9149 Fri Feb 6 01:35:17 1998 Manfred Hollstein <manfred (a] s-direktnet.de>
9150
9151 * Makefile.in (FLAGS_TO_PASS): Don't pass PICFLAG.
9152 (.c.o): Check value of enable_shared, not PICFLAG.
9153 (stamp-picdir): Dito.
9154
9155 Thu Feb 5 18:48:56 1998 Geoffrey Noer <noer (a] cygnus.com>
9156
9157 * config/mh-cygwin32: remove vasprintf.o from EXTRA_OFILES
9158 since it gets built automatically
9159
9160 Sun Feb 1 02:52:32 1998 Mike Stump <mrs (a] wrs.com>
9161
9162 * config.table (vxworks configs): Default to VxWorks 5.x, as that is
9163 the currently shipping OS.
9164
9165 Tue Jan 27 16:08:20 1998 Pat Rankin <rankin (a] eql.caltech.edu>
9166
9167 * vmsbuild.com [REQUIRE_OFILES]: Synchronized with Makefile.in:
9168 Add fnmatch.o and objalloc.o; remove vasprintf.o.
9169 [config.h]: Define NEED_strsignal.
9170
9171 Mon Jan 19 12:20:01 1998 Ian Lance Taylor <ian (a] cygnus.com>
9172
9173 * functions.def: Correct argument types for strerror and
9174 strsignal. Reported by Alex Gutman <agutman (a] emc.com>.
9175
9176 Sun Jan 18 15:57:28 1998 Michael Snyder <msnyder (a] cleaver.cygnus.com>
9177
9178 * vasprintf.c (int_vasprintf): Increase buffer size for float/double
9179 values.
9180
9181 Sat Jan 17 22:28:38 1998 Mumit Khan <khan (a] xraylith.wisc.edu>
9182 J.J. VanderHeijden <J.J.vanderHeijden (a] student.utwente.nl>
9183
9184 Add mingw32 support.
9185 * pexecute.c (pexecute): New function for mingw32. Supports pipes.
9186 (pwait): New function for mingw32.
9187
9188 * config.table (i[3456]86-*-mingw32*): Support for i386-mingw32.
9189 * config/mt-mingw32: New file.
9190 * xmalloc.c (first_break): Not used for mingw32.
9191 (xmalloc_set_program_name): Don't use sbrk on mingw32.
9192 (xmalloc): Likewise.
9193 (xrealloc): Likewise.
9194
9195 Sat Jan 17 22:28:05 1998 Jeffrey A Law (law (a] cygnus.com)
9196
9197 * choose-temp.c: Sync with gcc version.
9198
9199 Tue Jan 13 18:34:39 1998 Jim Wilson <wilson (a] cygnus.com>
9200
9201 * Makefile.in (install_to_libdir, install_to_tooldir): Add MULTISUBDIR
9202 to all filenames in libdir and tooldir.
9203 (distclean): Do MULTICLEAN before deleting Makefile.
9204 (stamp-needed, stamp-config): Add MULTISRCTOP to
9205 pathname for move-if-change.
9206
9207 Thu Dec 4 17:25:19 1997 Jeffrey A Law (law (a] cygnus.com)
9208
9209 * strsignal.c (sys_nsig): Try NSIG and _NSIG.
9210
9211 Wed Nov 19 13:37:06 1997 Michael Meissner <meissner (a] cygnus.com>
9212
9213 * alloca-norm.h (alloca, GCC case): Don't redefine alloca if it
9214 was already defined previously.
9215
9216 Mon Nov 10 12:48:03 1997 Philippe De Muyter <phdm (a] macqel.be>
9217
9218 * Makefile.in (INSTALL): Use ../install-sh, not install.
9219
9220 Tue Oct 28 23:41:15 1997 Judy Goldberg <jodyg (a] idt.net>
9221
9222 * Makefile.in (CFILES): Add pexecute.c.
9223
9224 Wed Oct 15 19:13:48 1997 Ian Lance Taylor <ian (a] cygnus.com>
9225
9226 * asprintf.c: Consistently use either stdarg or varargs.
9227
9228 Tue Oct 14 12:01:00 1997 Mark Mitchell <mmitchell (a] usa.net>
9229
9230 * cplus-dem.c (demangle_signature): Don't look for return types on
9231 constructors. Handle member template constructors.
9232
9233 Fri Oct 3 17:53:30 1997 Ian Lance Taylor <ian (a] cygnus.com>
9234
9235 * README: Fix configuration instructions.
9236
9237 Mon Sep 29 12:28:41 1997 Ian Lance Taylor <ian (a] cygnus.com>
9238
9239 * pexecute.c: Update to current version from /gd/gnu/lib:
9240
9241 Mon Sep 29 12:27:59 1997 Ian Lance Taylor <ian (a] cygnus.com>
9242
9243 * pexecute.c: Use spawn if __CYGWIN32__.
9244
9245 1997-08-08 Paul Eggert <eggert (a] twinsun.com>
9246
9247 * pexecute.c: Include "config.h" first, as per autoconf manual.
9248
9249 Fri Jun 27 15:20:29 1997 Scott Christley <scottc (a] net-community.com>
9250
9251 * pexecute.c (fix_argv): New function.
9252 (pexecute): Win32 but not Cygwin32 needs its arguments fixed.
9253 Add underscore to cwait function call.
9254
9255 Sun Sep 28 12:00:52 1997 Mark Mitchell <mmitchell (a] usa.net>
9256
9257 * cplus-dem.c (demangle_template): Add new parameter. Handle new
9258 template-function mangling.
9259 (consume_count_with_underscores): New function.
9260 (demangle_signature): Handle new name-mangling scheme.
9261
9262 Wed Sep 24 00:31:59 1997 Felix Lee <flee (a] yin.cygnus.com>
9263
9264 * asprintf.c: stdarg.h when ALMOST_STDC
9265 * config/mh-windows (EXTRA_OFILES): add asprintf.o and
9266 strncasecmp.o.
9267
9268 Thu Aug 28 14:27:15 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
9269
9270 * vasprintf.c (vasprintf): Allow for _BSD_VA_LIST_.
9271
9272 * config.table: Add case for FreeBSD 2.1 and 2.2, needs mh-fbsd21.
9273
9274 * config/mh-fbsd21 (EXTRA_OFILES): Force vasprintf.o
9275
9276 Wed Sep 10 12:43:10 1997 Jason Merrill <jason (a] yorick.cygnus.com>
9277
9278 * cplus-dem.c (demangle_fund_type): Change "complex" to "__complex".
9279
9280 Fri Sep 5 16:34:42 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
9281
9282 * asprintf.c (asprintf): New file.
9283 * Makefile.in (CFILES): Add asprintf.c
9284 * functions.def: Ditto.
9285
9286 Thu Aug 28 18:53:34 1997 Andrew Cagney <cagney (a] b1.cygnus.com>
9287
9288 * argv.c (dupargv): New function, duplicate an argument vector.
9289
9290 Tue Aug 19 20:28:45 1997 Geoffrey Noer <noer (a] cygnus.com>
9291
9292 * config/mh-cygwin32: also build random.o
9293
9294 Tue Aug 19 17:10:56 1997 Jason Merrill <jason (a] yorick.cygnus.com>
9295
9296 * cplus-dem.c: Add 'extern' to prepends_underscore.
9297
9298 Wed Jul 30 11:42:19 1997 Per Bothner <bothner (a] cygnus.com>
9299
9300 * cplus-dem.c: Various changes to produce Java output when passed
9301 DMGL_JAVA. Thus "::" becomes "." and "JArray<Foo>" becomes "Foo[]".
9302 (main): Support --java and -j flags to set DMGL_JAVA.
9303
9304 Tue Jul 22 19:05:23 1997 Robert Hoehne <robert.hoehne (a] Mathematik.TU-Chemnitz.DE>
9305
9306 * config/mh-go32 (CC, AR, RANLIB): Don't define.
9307
9308 Tue Jul 22 17:49:54 1997 Ian Lance Taylor <ian (a] cygnus.com>
9309
9310 * Makefile.in (REQUIRED_OFILES): Add pexecute.o.
9311 (pexecute.o): New target.
9312
9313 * Makefile.in (stamp-needed): New target, replacing needed-list.
9314 (needed-list): Just depend upon stamp-needed.
9315 (stamp-config): New target, replacing config.h.
9316 (config.h): Just depend upon stamp-config.
9317 (mostlyclean): Remove stamp-*.
9318
9319 Thu Jun 12 11:00:18 1997 Angela Marie Thomas (angela (a] cygnus.com)
9320
9321 * Makefile.in (FLAGS_TO_PASS): pass INSTALL, INSTALL_PROGRAM and
9322 INSTALL_DATA for multilibbed installs
9323
9324 Tue Jun 3 13:21:05 1997 Doug Evans <dje (a] canuck.cygnus.com>
9325
9326 Tue Dec 10 09:44:57 1996 Paul Eggert <eggert (a] twinsun.com>
9327
9328 * choose-temp.c (choose_temp_base): Don't dump core if TMPDIR is empty.
9329
9330 * choose-temp.c (try): Insist that temp dir be searchable.
9331
9332 Wed Oct 23 17:36:39 1996 Doug Rupp (rupp (a] gnat.com)
9333
9334 * choose-temp.c (choose_temp_base): On VMS, use proper syntax
9335 for current directory.
9336
9337 Sat Feb 15 19:03:48 1997 Geoffrey Noer (noer (a] cygnus.com)
9338
9339 * pexecute.c: Remove special cases for cygwin32.
9340 (pwait): Remove local definition of `pid'.
9341
9342 Tue Nov 12 18:26:15 1996 Doug Rupp (rupp (a] gnat.com)
9343
9344 * pexecute.c (vfork): Supply new definition for VMS.
9345 (pwait): Use waitpid instead of wait for VMS.
9346
9347 Tue May 20 14:02:20 1997 Brendan Kehoe <brendan (a] lisa.cygnus.com>
9348
9349 * cplus-dem.c (do_type): Handle `J'.
9350 (demangle_fund_type): Print "complex" for it.
9351
9352 Wed Apr 30 12:15:45 1997 Jason Merrill <jason (a] yorick.cygnus.com>
9353
9354 * configure.in: Don't turn on multilib here.
9355
9356 Mon Apr 28 19:04:31 1997 Michael Snyder <msnyder (a] cleaver.cygnus.com>
9357
9358 * obstack.c: move _obstack_memory_used outside of ifdef. Cannot be
9359 elided; needed by gdb and not present in libc.
9360
9361 Thu Apr 24 19:33:47 1997 Ian Lance Taylor <ian (a] cygnus.com>
9362
9363 * Makefile.in (clean): Remove tmpmulti.out.
9364
9365 Tue Apr 22 10:25:15 1997 Fred Fish <fnf (a] cygnus.com>
9366
9367 * floatformat.c (floatformat_ieee_double_littlebyte_bigword):
9368 Add new floatformat, mainly for ARM doubles.
9369
9370 Mon Apr 14 12:11:16 1997 Ian Lance Taylor <ian (a] cygnus.com>
9371
9372 * config.table: Use ${config_shell} with ${moveifchange}. From
9373 Thomas Graichen <graichen (a] rzpd.de>.
9374
9375 Fri Apr 4 03:09:24 1997 Ulrich Drepper <drepper (a] cygnus.com>
9376
9377 * configure.in: Enable multilibing by default.
9378 Update multilib template to read config-ml.in.
9379
9380 Tue Apr 1 16:26:39 1997 Klaus Kaempf <kkaempf (a] progis.de>
9381
9382 * makefile.vms: Add objalloc.
9383
9384 Mon Mar 31 23:57:51 1997 H.J. Lu <hjl (a] gnu.ai.mit.edu>
9385
9386 * cplus-dem.c (demangle_it): Add prototype declaration.
9387 (usage, fatal): Likewise.
9388
9389 * xexit.c (_xexit_cleanup): Add prototype.
9390
9391 * strerror.c (init_error_tables): Declare.
9392
9393 Fri Mar 28 11:43:20 1997 H.J. Lu <hjl (a] lucon.org>
9394
9395 * functions.def: Add DEF of vasprintf, and DEFFUNC of strsignal.
9396 * strsignal.c: Only define strsignal if NEED_strsignal.
9397 * Makefile.in (REQUIRED_OFILES): Remove vasprintf.o.
9398 * configure.in: Add NEED_strsignal to xconfig.h. Add vasprintf.o
9399 to xneeded-list.
9400 * config/mh-cygwin32 (HDEFINES): Add -DNEED_strsignal.
9401 (EXTRA_OFILES): Define to vasprintf.o.
9402 * config/mh-windows (HDEFINES): Add -DNEED_strsignal.
9403 (EXTRA_OFILES): Add vasprintf.o.
9404 * config/mt-vxworks5 (vxconfig.h): Define NEED_strsignal.
9405 (vxneeded-list): Add vasprintf.o.
9406
9407 Thu Mar 20 17:02:09 1997 Ian Lance Taylor <ian (a] cygnus.com>
9408
9409 * objalloc.c: Include <stdio.h>.
9410
9411 Mon Mar 17 19:23:11 1997 Ian Lance Taylor <ian (a] cygnus.com>
9412
9413 * objalloc.c: New file.
9414 * Makefile.in (CFILES): Add objalloc.c
9415 (REQUIRED_OFILES): Add objalloc.o.
9416 (objalloc.o): New target.
9417
9418 Sat Mar 15 18:49:41 1997 Ian Lance Taylor <ian (a] cygnus.com>
9419
9420 * obstack.c: Update to current FSF version.
9421
9422 Fri Mar 14 14:18:47 1997 Ian Lance Taylor <ian (a] cygnus.com>
9423
9424 * cplus-dem.c: Add prototypes for all static functions.
9425 (mystrstr): Make static. Make arguments and result const.
9426 (cplus_match): Remove; not used.
9427
9428 Tue Mar 11 14:20:31 1997 Brendan Kehoe <brendan (a] lisa.cygnus.com>
9429
9430 * cplus-dem.c (gnu_special): Call demangled_fund_type for other
9431 __t* symbols.
9432
9433 Tue Mar 11 15:41:21 1997 H.J. Lu <hjl (a] lucon.org>
9434
9435 * spaces.c: Declare malloc and free properly.
9436 * strsignal.c (init_signal_tables): Add prototype.
9437 * xatexit.c (_xexit_cleanup): Add parameter declarations.
9438
9439 Wed Feb 19 15:43:24 1997 Brendan Kehoe <brendan (a] lisa.cygnus.com>
9440
9441 * Makefile.in (lneeded-list): If alloca.o is needed, xexit.o is
9442 also required because of xmalloc.o.
9443
9444 Fri Feb 14 13:43:38 1997 Ian Lance Taylor <ian (a] cygnus.com>
9445
9446 * strsignal.c: Unconditionally redefine sys_siglist around the
9447 inclusion of the system header files.
9448
9449 Thu Feb 13 22:01:04 1997 Klaus Kaempf <kkaempf (a] progis.de>
9450
9451 * makefile.vms: Remove 8 bit characters. Update to latest
9452 gcc release.
9453
9454 Tue Feb 4 11:52:19 1997 Ian Lance Taylor <ian (a] cygnus.com>
9455
9456 * strsignal.c: Use NEED_sys_siglist instead of
9457 LOSING_SYS_SIGLIST.
9458 * config.table: Don't use mh-lynxos.
9459 * config/mh-lynxos: Remove.
9460
9461 Thu Jan 16 14:51:03 1997 Bob Manson <manson (a] charmed.cygnus.com>
9462
9463 * cplus-dem.c: Fix indenting; make identical to the copy
9464 in GCC.
9465 (do_type, case 'M'): Check for a template as well as a class.
9466
9467 Thu Dec 19 13:51:33 1996 Brendan Kehoe <brendan (a] lisa.cygnus.com>
9468
9469 * config/mt-vxworks5 (vxneeded-list): Remove sigsetmask.o, since
9470 vxworks 5.[0-3] all have sigsetmask in them; the one provided by
9471 libiberty is incorrect, as well.
9472
9473 Mon Dec 2 15:03:42 1996 Michael Meissner <meissner (a] tiktok.cygnus.com>
9474
9475 * alloca.c (alloca): When compiled with an ANSI/ISO compiler,
9476 alloca takes a size_t argument, not just unsigned.
9477
9478 Mon Nov 18 15:42:08 1996 Jason Merrill <jason (a] yorick.cygnus.com>
9479
9480 * cplus-dem.c: Note that this file also lives in GCC.
9481
9482 Mon Nov 18 15:19:00 1996 Dawn Perchik <dawn (a] critters.cygnus.com>
9483
9484 * alloca.c: Remove include of libiberty.h for hpux.
9485 * argv.c: Replace defs from libiberty.h.
9486 * spaces.c: Put back externs from removed from libiberty.h.
9487 * vasprintf.c: Remove include of libiberty.h for hpux.
9488
9489 Mon Nov 18 14:08:00 1996 Dawn Perchik <dawn (a] critters.cygnus.com>
9490
9491 * cplus-dem.c: Checking in again; last checkin filed due to sticky tag.
9492
9493 Wed Nov 13 08:22:00 1996 Dawn Perchik <dawn (a] critters.cygnus.com>
9494
9495 * cplus-dem.c: Revert last two commits due to conflicts with
9496 hpux system headers.
9497
9498 Wed Nov 13 08:22:00 1996 Dawn Perchik <dawn (a] critters.cygnus.com>
9499
9500 * alloca.c, argv.c, spaces.c, strcasecmp.c, vasprintf.c, vprintf.c:
9501 Revert last commit due to conflicts with hpux system headers.
9502
9503 Wed Nov 13 10:36:50 1996 Michael Meissner <meissner (a] tiktok.cygnus.com>
9504
9505 * cplus-dem.c (x{m,re}alloc): Make declarations compatibile with
9506 libiberty.h when compiled with a standard compiler.
9507
9508 Tue Nov 12 16:31:00 1996 Dawn Perchik <dawn (a] critters.cygnus.com>
9509
9510 * alloca.c: Include libiberty.h for definition of xmalloc.
9511 Don't redefine NULL.
9512 * argv.c: Move prototypes to libiberty.h.
9513 * cplus-dem.c: Include libiberty.h for definition of xmalloc.
9514 Don't redefine NULL.
9515 Use casts to eliminate compiler warnings.
9516 * spaces.c: Remove prototypes for malloc and free which are
9517 already in libibrty.h.
9518 * strcasecmp.c: Use casts to eliminate compiler warnings.
9519 * vasprintf.c: Include libiberty.h for definition of malloc.
9520 Don't redefine NULL.
9521 * vprintf.c: Include stdarg.h if __STDC__.
9522
9523 Fri Oct 11 15:42:12 1996 Stu Grossman (grossman (a] critters.cygnus.com)
9524
9525 * config/mh-windows: Add strcasecmp.o to EXTRA_OFILES.
9526
9527 Fri Oct 11 11:16:31 1996 Stan Shebs <shebs (a] andros.cygnus.com>
9528
9529 * mpw.c (mpwify_filename): Rewrite to simplify, and to handle
9530 upward components correctly.
9531
9532 Tue Oct 8 08:55:34 1996 Stu Grossman (grossman (a] critters.cygnus.com)
9533
9534 * config.table, config/mh-windows: Add support for building under
9535 MSVC (the Microsoft build environment).
9536
9537 Mon Oct 7 10:50:27 1996 Ian Lance Taylor <ian (a] cygnus.com>
9538
9539 * fnmatch.c: Undef const if not __STDC__.
9540
9541 Thu Oct 3 13:46:39 1996 Ian Lance Taylor <ian (a] cygnus.com>
9542
9543 * fnmatch.c: New file.
9544 * Makefile.in (CFILES): Add fnmatch.c.
9545 (REQUIRED_OFILES): Add fnmatch.o.
9546 (fnmatch.o): New target.
9547
9548 Wed Sep 18 14:49:13 1996 Jason Merrill <jason (a] yorick.cygnus.com>
9549
9550 * cplus-dem.c (demangle_template): Fix handling of address args.
9551 (gnu_special): Handle type_info stuff.
9552
9553 Fri Sep 13 17:52:55 1996 Stan Shebs <shebs (a] andros.cygnus.com>
9554
9555 * mpw.c (DebugPI): Make settable from the env var DEBUG_PATHNAMES.
9556 (mpwify_filename): Handle "::/" case.
9557
9558 Thu Sep 12 13:30:40 1996 Geoffrey Noer <noer (a] cygnus.com>
9559
9560 * config/mh-cygwin32: new file (need -DNEED_basename and
9561 -DNEED_sys_siglist for native NT rebuilding)
9562 * config.table (*-*-cygwin32): new entry
9563 * choose-temp.c: bring in sync with gcc (revert Aug 17 change)
9564
9565 Thu Aug 29 16:48:45 1996 Michael Meissner <meissner (a] tiktok.cygnus.com>
9566
9567 * config.table (i[345]86-*-*): Recognize i686 for pentium pro.
9568
9569 Tue Aug 27 13:47:58 1996 Stan Shebs <shebs (a] andros.cygnus.com>
9570
9571 * pexecute.c (pexecute) [MPW]: Remove old bogus code that
9572 messed with arguments that included a '/', add escape chars
9573 to double quotes, remove const decl from arg that Mac
9574 compilers don't seem to like.
9575
9576 Sat Aug 17 04:44:27 1996 Geoffrey Noer <noer (a] cygnus.com>
9577
9578 * pexecute.c: Update test for win32 (&& ! cygwin32).
9579 * choose-temp.c: fix WIN32 preprocessor defines
9580
9581 Thu Aug 15 12:26:48 1996 Stan Shebs <shebs (a] andros.cygnus.com>
9582
9583 * mpw-make.sed: Add @DASH_C_FLAG@ and @SEGMENT_FLAG({Default})@
9584 to editing of default makefile rule.
9585
9586 Sun Aug 11 21:03:27 1996 Stu Grossman (grossman (a] critters.cygnus.com)
9587
9588 * alloca-norm.h: Include <malloc.h> if _WIN32.
9589 * argv.c: Include non-prototyped decls for malloc and string
9590 functions if ! _WIN32 or if __GNUC__.
9591
9592 Thu Aug 8 12:42:40 1996 Klaus Kaempf <kkaempf (a] progis.de>
9593
9594 * config.h-vms: New file.
9595 * makefile.vms: Use it.
9596
9597 Wed Aug 7 17:16:12 1996 Stu Grossman (grossman (a] critters.cygnus.com)
9598
9599 * getopt.c (_getopt_internal): If argc is 0, just return (before
9600 we reference *argv and segfault).
9601
9602 Mon Aug 5 01:29:08 1996 Jason Merrill <jason (a] yorick.cygnus.com>
9603
9604 * Makefile.in (distclean): Add multilib.out.
9605
9606 Thu Jul 18 17:40:55 1996 Ian Lance Taylor <ian (a] cygnus.com>
9607
9608 * alloca-norm.h: Change #ifdef sparc to #if defined (sparc) &&
9609 defined (sun). From Andrew Gierth <ANDREWG (a] microlise.co.uk>.
9610
9611 Mon Jul 1 13:40:44 1996 Ken Raeburn <raeburn (a] cygnus.com>
9612
9613 Tue May 28 15:29:03 1996 Pat Rankin <rankin (a] eql.caltech.edu>
9614
9615 * vmsbuild.com (REQUIRD_OFILES): Add choose-temp.o and xstrdup.o.
9616
9617 Thu Jan 25 18:20:04 1996 Pat Rankin <rankin (a] eql.caltech.edu>
9618
9619 * vmsbuild.com: Changes to handle DEFFUNC(on_exit).
9620 (do_ofiles): Allow nonexistent source file in pass 3.
9621 (chk_deffunc): New routine.
9622
9623 Tue Jun 25 19:24:43 1996 Doug Evans <dje (a] canuck.cygnus.com>
9624
9625 * pexecute.c (PEXECUTE_VERBOSE): Define.
9626 (MPW pexecute): Check flags & PEXECUTE_VERBOSE instead of verbose_flag.
9627
9628 Tue Jun 25 23:11:48 1996 Jason Molenda (crash (a] godzilla.cygnus.co.jp)
9629
9630 * Makefile.in (docdir): Removed.
9631
9632 Tue Jun 25 23:01:07 1996 Jason Molenda (crash (a] godzilla.cygnus.co.jp)
9633
9634 * Makefile.in (oldincludedir): Removed.
9635
9636 Tue Jun 25 22:50:07 1996 Jason Molenda (crash (a] godzilla.cygnus.co.jp)
9637
9638 * Makefile.in (datadir): Set to $(prefix)/share.
9639
9640 Thu Jun 20 21:17:52 1996 Ian Lance Taylor <ian (a] cygnus.com>
9641
9642 * cplus-dem.c (demangle_arm_pt): Reindent. Avoid endless loop by
9643 checking for errors from do_type.
9644
9645 Tue Jun 18 14:36:19 1996 Klaus Kaempf <kkaempf (a] progis.de>
9646
9647 * makefile.vms: New file.
9648 * xmalloc.c: If VMS, include <stdlib.h> and <unixlib.h> rather
9649 than declaring malloc, realloc, and sbrk.
9650
9651 Mon Jun 10 13:17:17 1996 Doug Evans <dje (a] canuck.cygnus.com>
9652
9653 * pexecute.c: New file.
9654
9655 Wed Jun 5 16:57:45 1996 Richard Henderson <rth (a] tamu.edu>
9656
9657 * xmalloc.c: Declare sbrk.
9658
9659 Sat May 4 05:08:45 1996 Peter Schauer (pes (a] regent.e-technik.tu-muenchen.de)
9660
9661 * alloca-norm.h: Add SPARCworks cc compatible __builtin_alloca
9662 declaration.
9663
9664 Mon Apr 22 18:41:49 1996 Ian Lance Taylor <ian (a] cygnus.com>
9665
9666 * xstrerror.c: Include <stdio.h>.
9667
9668 Sun Apr 21 11:55:12 1996 Doug Evans <dje (a] canuck.cygnus.com>
9669
9670 * Makefile.in (CFILES): Add atexit.c.
9671
9672 Sun Apr 21 09:50:09 1996 Stephen L Moshier (moshier (a] world.std.com)
9673
9674 * choose-temp.c: Include sys/types.h before sys/file.h for sco3.2v5.
9675
9676 Wed Apr 17 11:17:55 1996 Doug Evans <dje (a] canuck.cygnus.com>
9677
9678 * choose-temp.c: Don't #include sys/file.h ifdef NO_SYS_FILE_H.
9679 #include <stdio.h>
9680 * config/mt-vxworks5 (HDEFINES): Define NO_SYS_FILE_H.
9681
9682 Tue Apr 16 11:27:16 1996 Jeffrey A Law (law (a] cygnus.com)
9683
9684 * Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o.
9685 Reverts Feb 8, 1995 change.
9686
9687 Mon Apr 15 12:53:26 1996 Doug Evans <dje (a] canuck.cygnus.com>
9688
9689 * choose-temp.c: New file.
9690 * Makefile.in (CFILES): Add choose-temp.c.
9691 (REQUIRED_OFILES): Add choose-temp.o.
9692
9693 Sat Apr 13 14:19:30 1996 Stu Grossman (grossman (a] critters.cygnus.com)
9694
9695 * floatformat.c (floatformat_to_double): Don't bias exponent when
9696 handling zero's, denorms or NaNs.
9697
9698 Thu Apr 11 13:36:56 1996 Stu Grossman (grossman (a] critters.cygnus.com)
9699
9700 * floatformat.c (floatformat_to_double): Fix bugs with handling
9701 numbers with fractions < 32 bits.
9702
9703 Mon Apr 8 14:48:34 1996 Ian Lance Taylor <ian (a] cygnus.com>
9704
9705 * config.table: Permit --enable-shared to specify a list of
9706 directories.
9707
9708 Tue Mar 19 22:02:07 1996 Jason Merrill <jason (a] yorick.cygnus.com>
9709
9710 * cplus-dem.c (demangle_template): Fix for non-mangled pointer
9711 arguments.
9712
9713 Fri Mar 8 17:24:18 1996 Ian Lance Taylor <ian (a] cygnus.com>
9714
9715 * configure.in: If srcdir is `.' and with_target_subdir is not
9716 `.', then set MULTISRCTOP before calling config-ml.in.
9717
9718 Thu Mar 7 13:37:10 1996 Stan Shebs <shebs (a] andros.cygnus.com>
9719
9720 * mpw.c (mpw_open): Add debugging output option.
9721
9722 Wed Mar 6 17:36:03 1996 Jason Merrill <jason (a] yorick.cygnus.com>
9723
9724 * cplus-dem.c (demangle_template): Fix for address-of-extern arguments.
9725
9726 Tue Feb 27 12:00:50 1996 Raymond Jou <rjou (a] mexican.cygnus.com>
9727
9728 * mpw.c (mpwify_filename): Change 6 to 5 in
9729 strncmp (unixname, "/tmp/", 5).
9730
9731 Tue Feb 20 10:55:53 1996 Ian Lance Taylor <ian (a] cygnus.com>
9732
9733 * cplus-dem.c (demangle_template): Initialize is_bool. Correctly
9734 handle 0 as a pointer value parameter.
9735
9736 Mon Feb 5 16:41:44 1996 Ian Lance Taylor <ian (a] cygnus.com>
9737
9738 * Makefile.in (all): Depend upon required-list.
9739 (required-list): New target.
9740 (clean): Remove required-list.
9741
9742 Wed Jan 31 10:19:41 1996 Steve Chamberlain <sac (a] slash.cygnus.com>
9743
9744 * win32.c: Deleted.
9745 * config.table (i386-*-win32): Deleted.
9746 * config/mh-i386win32: Deleted.
9747
9748 Thu Jan 18 11:34:17 1996 Ian Lance Taylor <ian (a] cygnus.com>
9749
9750 * cplus-dem.c (cplus_demangle_opname): Change opname parameter to
9751 const char *.
9752 (cplus_mangle_opname): Change return type and opname parameter to
9753 const char *. Don't cast return value.
9754
9755 Tue Jan 16 12:13:11 1996 Stan Shebs <shebs (a] andros.cygnus.com>
9756
9757 * mpw.c: Include Timer.h, in order to get m68k Microseconds trap
9758 definition.
9759
9760 Wed Jan 3 13:15:04 1996 Fred Fish <fnf (a] cygnus.com>
9761
9762 * obstack.c: Update copyright to 1996.
9763 (_obstack_memory_used): Define new function. Called via
9764 obstack_memory_used macro.
9765
9766 Thu Dec 28 11:39:40 1995 Ian Lance Taylor <ian (a] cygnus.com>
9767
9768 * xstrdup.c: New file.
9769 * Makefile.in (CFILES): Add xstrdup.c.
9770 (REQUIRED_OFILES): Add xstrdup.o.
9771 (xstrdup.o): New target.
9772
9773 Mon Dec 11 18:18:52 1995 Mike Stump <mrs (a] cygnus.com>
9774
9775 * atexit.c: New stub to provide atexit on systems that have
9776 on_exit, like SunOS 4.1.x systems.
9777 * functions.def (on_exit, atexit): Ditto.
9778
9779 Mon Dec 11 15:42:14 1995 Stan Shebs <shebs (a] andros.cygnus.com>
9780
9781 * mpw.c (mpw_abort): Remove decl.
9782 (mpw_access): Move debugging printf.
9783
9784 Sat Dec 2 01:25:23 1995 Ian Lance Taylor <ian (a] cygnus.com>
9785
9786 * config.table: Consistently use ${host} rather than ${xhost} or
9787 ${target}.
9788 * configure.in: Don't bother to set ${xhost} before calling
9789 config.table.
9790
9791 Tue Nov 28 14:16:57 1995 Brendan Kehoe <brendan (a] lisa.cygnus.com>
9792
9793 * Makefile.in (.c.o): Use test instead of the left bracket, to
9794 avoid problems with some versions of make.
9795
9796 Tue Nov 28 11:45:17 1995 Stan Shebs <shebs (a] andros.cygnus.com>
9797
9798 * mpw-make.sed: Fix INCDIR edit to work with Nov 14 change.
9799
9800 Tue Nov 21 11:26:34 1995 Fred Fish <fnf (a] rtl.cygnus.com>
9801
9802 * config/mh-hpux: Remove. It was only used to define EXTRA_OFILES,
9803 which was set to just alloca.o, which is now automatically marked
9804 as needed by the autoconfiguration process.
9805
9806 Tue Nov 21 14:15:06 1995 Ian Lance Taylor <ian (a] cygnus.com>
9807
9808 * config.table: Check ${with_cross_host} rather than comparing
9809 ${host} and ${target}.
9810
9811 Thu Nov 16 14:34:42 1995 Ian Lance Taylor <ian (a] cygnus.com>
9812
9813 * configure.in: If with_target_subdir is empty, set xhost to
9814 ${host} rather than ${target} before calling config.table.
9815
9816 Tue Nov 14 01:38:30 1995 Doug Evans <dje (a] canuck.cygnus.com>
9817
9818 * Makefile.in (MULTITOP): Deleted.
9819 (MULTISRCTOP, MULTIBUILDTOP): New.
9820 (FLAGS_TO_PASS): Delete INCDIR.
9821 (INCDIR): Add $(MULTISRCTOP).
9822 (install_to_libdir): Add $(MULTISUBDIR). Call $(MULTIDO).
9823 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
9824 instead of cfg-ml-pos.in.
9825 (cross-compile check): Change to test for with_target_subdir.
9826 (EXTRA_LINKS): Delete.
9827
9828 Sun Nov 12 12:13:04 1995 Stan Shebs <shebs (a] andros.cygnus.com>
9829
9830 * mpw-make.sed: Add getpagesize.c.o to needed-list.
9831 * mpw.c [USE_MW_HEADERS]: Conditionalize compiling of
9832 functions that are supplied by Metrowerks libraries.
9833 (fstat): Clean up descriptor->pointer conversion code.
9834 (InstallConsole, etc): Empty definitions, for when linking
9835 with SIOUX.
9836
9837 Sun Nov 5 19:25:27 1995 Per Bothner <bothner (a] kalessin.cygnus.com>
9838
9839 * Makefile.in (FLAGS_TO_PASS): Also pass PICFLAGS.
9840 (.c.o): Stylistic change.
9841
9842 Thu Nov 2 12:06:29 1995 Ian Lance Taylor <ian (a] cygnus.com>
9843
9844 * strtol.c, strtoul.c: Don't include <stdlib.h>. From
9845 phdm (a] info.ucl.ac.be (Philippe De Muyter).
9846
9847 Wed Nov 1 11:59:36 1995 Ian Lance Taylor <ian (a] cygnus.com>
9848
9849 * configure.in: Correct sed call.
9850
9851 Mon Oct 30 13:03:45 1995 Per Bothner <bothner (a] kalessin.cygnus.com>
9852
9853 * configure.in: Clean up / simplify for native.
9854
9855 * configure.in: Merge in stuff from ../xiberty/configure.in.
9856 * Makefile.in (CC): Add definition (so it can be overrridden
9857 by ../configure).
9858
9859 Tue Oct 24 17:57:27 1995 Stan Shebs <shebs (a] andros.cygnus.com>
9860
9861 * mpw-make.sed: Leave strerror.c.o in standard list of functions.
9862 * mpw.c (R_OK, ENOENT, EACCESS, ENOSYS): Remove.
9863 (link): Remove useless definition with error return.
9864 (last_microseconds, warn_if_spin_delay, record_for_spin_delay):
9865 Use UnsignedWide type for microsecond counts.
9866
9867 Thu Oct 19 10:52:07 1995 Michael Meissner <meissner (a] wogglebug.tiac.net>
9868
9869 * memcmp.c (memcmp): Argument types are const void *, not void
9870 *const.
9871
9872 * strncasecmp.c (strncasecmp): Include ansidecl.h/stdarg.h, not
9873 sys/types.h.
9874 * strcasecmp.c (strcasecmp): Ditto.
9875
9876 Tue Oct 10 11:03:24 1995 Fred Fish <fnf (a] cygnus.com>
9877
9878 * Makefile.in (BISON): Remove macro.
9879
9880 Tue Sep 26 15:06:46 1995 Stan Shebs <shebs (a] andros.cygnus.com>
9881
9882 * Makefile.in (HFILES): Add default empty definition.
9883 * mpw-config.in (config.h): Only update if changed.
9884 * mpw-make.in: Remove.
9885 * mpw-make.sed: New file, edits Makefile.in into MPW makefile.
9886 * mpw.c: Remove semi-clone of strerror code.
9887 (sys_nerr, sys_errlist): Define here.
9888 (Microseconds): Only define as A-line trap if m68k Mac.
9889
9890 Wed Sep 20 12:53:32 1995 Ian Lance Taylor <ian (a] cygnus.com>
9891
9892 * Makefile.in (maintainer-clean): New synonym for distclean.
9893
9894 Mon Aug 28 19:47:52 1995 Per Bothner <bothner (a] kalessin.cygnus.com>
9895
9896 * config.table: For host, generalize rs6000-ibm-aix*
9897 to *-ibm-aix* so we also include powerpc.
9898
9899 Tue Aug 22 03:18:05 1995 Ken Raeburn <raeburn (a] kr-laptop.cygnus.com>
9900
9901 Fri Jun 16 18:35:40 1995 Pat Rankin (rankin (a] eql.caltech.edu)
9902
9903 * xstrerror.c: New file.
9904 * Makefile.in, vmsbuild.com: Compile it.
9905
9906 Mon Jul 31 12:16:32 1995 steve chamberlain <sac (a] slash.cygnus.com>
9907
9908 * config.table (i386-*-win32): New.
9909
9910 Fri Jul 21 11:35:52 1995 Doug Evans <dje (a] canuck.cygnus.com>
9911
9912 * Makefile.in (MULTITOP): New variable.
9913 (MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): Likewise.
9914 (all): Add multilib support.
9915 (install_to_tooldir, *clean): Likewise.
9916
9917 Mon Jul 10 11:47:27 1995 Ken Raeburn <raeburn (a] cygnus.com>
9918
9919 * makefile.dos (OBJS): Add hex.o. From DJ Delorie.
9920
9921 Fri Jun 30 17:28:59 1995 Pat Rankin (rankin (a] eql.caltech.edu)
9922
9923 * vmsbuild.com: create "new-lib.olb", build libiberty under that
9924 name, and then make it become "liberty.olb" when done, so that an
9925 incomplete build attempt never leaves behind something which looks
9926 like a complete library.
9927
9928 Thu Jun 29 00:22:02 1995 Steve Chamberlain <sac (a] slash.cygnus.com>
9929
9930 * config/mh-i386pe: New file for PE hosts.
9931 * config.table: Understand PE hosts.
9932
9933 Wed Jun 28 19:13:23 1995 Jason Merrill <jason (a] phydeaux.cygnus.com>
9934
9935 * cplus-dem.c: Update from gcc.
9936
9937 * argv.c, dummy.c: If __STDC__, #include "alloca-conf.h" after
9938 <stddef.h>.
9939 * alloca-norm.h: If __STDC__, declare alloca with its parameter.
9940
9941 Thu Jun 22 18:57:47 1995 Stan Shebs <shebs (a] andros.cygnus.com>
9942
9943 * mpw-make.in (ALL_CFLAGS): Define NEED_basename.
9944 * mpw.c: Only test DebugPI once whenever printing debug info.
9945 (mpwify_filename): If filename is /tmp/foo, change it into :_foo,
9946 also fix to not write on input filename buffer.
9947 (mpw_access): Use stat() instead of open(), works for directories
9948 as well as files.
9949
9950 Mon Jun 19 00:33:22 1995 Jason Merrill <jason (a] phydeaux.cygnus.com>
9951
9952 * Makefile.in: Massage broken shells that require 'else true'.
9953
9954 Sat Jun 17 23:21:58 1995 Fred Fish <fnf (a] cygnus.com>
9955
9956 * alloca-norm.h: Declare alloca as type "PTR" to match functions.def.
9957 Declare __builtin_alloca in the sparc case, as argv.c did.
9958 * argv.c: Replace inline version of alloca-norm.h at start of file with
9959 a #include of alloca-conf.h. Precede it with an include of ansidecl.h
9960 because alloca-norm.h needs to declare alloca as "PTR".
9961
9962 Mon Jun 12 14:24:26 1995 Steve Chamberlain <sac (a] slash.cygnus.com>
9963
9964 * win32.c: New file.
9965
9966 Fri Jun 9 15:16:14 1995 Jason Merrill <jason (a] phydeaux.cygnus.com>
9967
9968 * dummy.c: #include "alloca-conf.h".
9969
9970 Wed Jun 7 11:46:23 1995 Jason Merrill <jason (a] phydeaux.cygnus.com>
9971
9972 * Makefile.in (mostlyclean): Remove stamp-picdir.
9973 (clean): Don't.
9974
9975 Mon Jun 5 18:46:06 1995 Jason Merrill <jason (a] phydeaux.cygnus.com>
9976
9977 * config.table (frags): Use toplevel pic frags.
9978
9979 * Makefile.in (PICFLAG): New macro.
9980 (all): Depend on stamp-picdir.
9981 (needed-list): Ditto.
9982 (.c.o): Also build pic object.
9983 (stamp-picdir): New rule.
9984 (mostlyclean): Remove pic.
9985 (clean): Remove stamp-picdir.
9986
9987 Fri Mar 24 16:55:48 1995 Pat Rankin (rankin (a] eql.caltech.edu)
9988
9989 * vmsbuild.com (config.h): Add `#define NEED_basename'.
9990
9991 Tue May 23 10:12:46 1995 Per Bothner <bothner (a] kalessin.cygnus.com>
9992
9993 * clock.c, getopt.c, strtod.c, vsprintf.c: Change from using LGPL
9994 to libio-style copyright.
9995 * getpagesize.c: Remove FSF copyright.
9996
9997 Sat May 20 12:30:23 1995 Ken Raeburn <raeburn (a] kr-laptop.cygnus.com>
9998
9999 Added improved VMS support from Pat Rankin:
10000
10001 Fri Mar 17 18:40:36 1995 Pat Rankin (rankin (a] eql.caltech.edu)
10002
10003 * vmsbuild.com: new file.
10004
10005 * getpagesize.c (getpagesize): implement for VMS;
10006 * strerror.c (strerror, strerrno, strtoerrno): add rudimentary
10007 support for EVMSERR.
10008
10009 Thu May 18 17:01:42 1995 Ken Raeburn <raeburn (a] kr-laptop.cygnus.com>
10010
10011 Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha (a] armltd.co.uk)
10012
10013 * floatformat.c (floatformat_arm_ext): Define.
10014
10015 Tue May 16 13:30:59 1995 Per Bothner <bothner (a] kalessin.cygnus.com>
10016
10017 * basename.c, bcmp.c, getcwd.c, insque.c, rename.c, sigsetmask.c,
10018 strerror.c, strsignal.c: Remove FSF copyright.
10019 * sigsetmask.c: #include <sys/types.h> - seems to be needed by ISC.
10020
10021 Mon May 15 19:53:17 1995 Per Bothner <bothner (a] kalessin.cygnus.com>
10022
10023 * bcopy.c, bzero.c, memcmp.c, memcpy.c, memset.c, strchr.c,
10024 strrchr.c, strstr.c, vfork.c: Remove FSF Copyright, because this
10025 might contaminate libstdc++ with the LGPL. (OK'd by RMS 11 Oct 94.)
10026 * strchr.c, strrchr.c: Add cast to suppress const warning.
10027
10028 Thu May 4 14:36:42 1995 Jason Merrill <jason (a] phydeaux.cygnus.com>
10029
10030 * cplus-dem.c: Use const instead of CONST. Don't include
10031 ansidecl.h directly.
10032
10033 Wed Apr 19 01:30:27 1995 Jason Merrill <jason (a] phydeaux.cygnus.com>
10034
10035 * cplus-dem.c: Don't include libiberty.h. Do declare xmalloc and
10036 xrealloc.
10037 (-DMAIN): Don't rely on an externally-defined version number;
10038 instead, require the version number to be defined as a
10039 preprocessor macro. Handle the RS/6000 leading dot. Define
10040 xmalloc, xrealloc and fatal. Don't strip a leading underscore
10041 if we couldn't demangle the word.
10042
10043 Tue Apr 4 13:03:51 1995 Stan Shebs <shebs (a] andros.cygnus.com>
10044
10045 (Old mpw.c change descriptions retained for informational value.)
10046 * mpw.c (warning_threshold): Default to .4 sec.
10047 (overflow_count, current_progress): New globals.
10048 (warn_if_spin_delay): Include current progress type,
10049 such as program name, in message.
10050 (mpw_start_progress): Set current_progress variable from arg.
10051 (mpw_end_progress): Report spin delays by power-of-two-size
10052 buckets instead of constant-size buckets.
10053
10054 * mpw.c: Clean up formatting, types, returns, etc.
10055 (ENOSYS): Define.
10056 (mpw_fread, mpw_fwrite): Define.
10057 (sleep): Define correctly.
10058
10059 * mpw.c: New code to implement cursor spinning support.
10060 (umask): New function.
10061 (mpw_fopen, mpw_fseek, stat, fstat): Call PROGRESS.
10062
10063 * mpw.c (mpw_basename, mpw_mixed_basename): New functions, find
10064 basenames for MPW and MPW/Unix filenames.
10065 (mpw_special_init): New function, calls Macsbug if desired.
10066
10067 * mpw.c: Add GPL notice.
10068 (mpwify_filename): Add more transformations.
10069 (mpw_fopen): Call mpwify_filename on file names.
10070 (rename): Remove.
10071 (chdir, getcwd): Add simple definitions.
10072
10073 * mpw.c: Random cleanups, remove unused code bits.
10074 Added copy of strerror.c for gcc's use.
10075 (stat, fstat, _stat): New versions based on Guido van Rossum code.
10076
10077 * mpw.c (mpw_fseek): Make it work correctly when doing SEEK_CUR.
10078
10079 * mpw.c (stat): Remove hack definition, get from sys/stat.h.
10080 (fork, vfork, etc): Print error messages if called.
10081 (getrusage, sbrk, environ, isatty, link, utime, mkdir, rmdir,
10082 rename, chown): Define.
10083
10084 * mpw-config.in: New file, MPW version of configure.in.
10085 * mpw-make.in: New file, MPW version of Makefile.in.
10086 * mpw.c: New file, MPW compatibility routines.
10087
10088 Fri Mar 24 14:10:30 1995 Jim Kingdon (kingdon (a] lioth.cygnus.com)
10089
10090 * basename.c: Include config.h before checking for NEED_basename.
10091
10092 Thu Mar 23 19:09:54 1995 Jason Merrill <jason (a] phydeaux.cygnus.com>
10093
10094 * functions.def: Add DEFFUNC for basename.
10095
10096 * basename.c: Only define basename if NEED_basename.
10097
10098 Thu Mar 16 13:36:05 1995 Jason Merrill <jason (a] phydeaux.cygnus.com>
10099
10100 * config.table: Fix --enable-shared logic for native builds.
10101
10102 Mon Mar 13 11:05:11 1995 Jason Merrill <jason (a] phydeaux.cygnus.com>
10103
10104 * cplus-dem.c (demangle_template): Demangle bool literals properly.
10105
10106 Mon Mar 6 23:57:28 1995 Stu Grossman (grossman (a] cygnus.com)
10107
10108 * strtol.c strtoul.c: Replace these with less buggy versions from
10109 NetBSD. (strtoul in particular couldn't handle base 16.)
10110
10111 Wed Mar 1 15:59:01 1995 Ian Lance Taylor <ian (a] cygnus.com>
10112
10113 * config/mt-vxworks5 (HDEFINES): Define NO_SYS_PARAM_H.
10114
10115 * clock.c: If NO_SYS_PARAM_H is defined, don't include
10116 <sys/param.h>.
10117 * getcwd.c, getpagesize.c, getruntime.c: Likewise.
10118
10119 Fri Feb 17 15:40:55 1995 Ian Lance Taylor <ian (a] cygnus.com>
10120
10121 * getruntime.c (get_run_time): Don't assume that CLOCKS_PER_SEC is
10122 a number; ANSI appears to permit any expression, including a
10123 function call.
10124
10125 * config.table (*-*-vxworks5*): Use mt-vxworks5 when configuring
10126 xiberty.
10127 * config/mt-vxworks5: New file.
10128
10129 Thu Feb 9 14:19:45 1995 Ian Lance Taylor <ian (a] cygnus.com>
10130
10131 * basename.c (basename): Change argument to be const.
10132
10133 Wed Feb 8 18:06:52 1995 Jason Merrill <jason (a] phydeaux.cygnus.com>
10134
10135 * Makefile.in (lneeded-list): Don't worry about xmalloc.
10136
10137 Sun Jan 15 00:40:36 1995 Jeff Law (law (a] snake.cs.utah.edu)
10138
10139 * Makefile.in (distclean): Delete xhost-mkfrag.
10140
10141 Thu Jan 12 16:54:18 1995 Jason Merrill <jason (a] phydeaux.cygnus.com>
10142
10143 * Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o.
10144
10145 Wed Jan 11 22:39:56 1995 Ken Raeburn <raeburn (a] cujo.cygnus.com>
10146
10147 * hex.c: New file.
10148 * Makefile.in (REQUIRED_OFILES, CFILES): List it.
10149 (hex.o): Add dependencies.
10150
10151 * cplus-dem.c (demangle_prefix): For GNU style constructor and
10152 destructor names, try demangling the remainder of the string.
10153
10154 Wed Dec 28 00:49:15 1994 Ian Lance Taylor <ian (a] tweedledumb.cygnus.com>
10155
10156 * vasprintf.c (int_vasprintf): New static function.
10157 (vasprintf): Use int_vasprintf. Removes assumption that va_list
10158 is assignment compatible.
10159
10160 Sat Nov 5 19:29:12 1994 Jason Merrill (jason (a] phydeaux.cygnus.com)
10161
10162 * Makefile.in (LIBCFLAGS): New variable.
10163 (FLAGS_TO_PASS): Pass it.
10164 (.c.o): Use it.
10165
10166 Thu Nov 3 19:09:47 1994 Ken Raeburn <raeburn (a] cujo.cygnus.com>
10167
10168 * getopt.c, getopt1.c: Do compile these functions under Linux,
10169 since many native versions are based on glibc but are buggy.
10170
10171 Mon Oct 24 15:16:46 1994 Per Bothner <bothner (a] kalessin.cygnus.com>
10172
10173 * vasprintf.c: Make 'format' arg be const, to avoid a mismatch
10174 with prototype in GNU libc. Support stdarg.h as well as varargs.h.
10175
10176 Tue Oct 11 17:48:27 1994 Jason Merrill (jason (a] phydeaux.cygnus.com)
10177
10178 * Makefile.in (REQUIRED_OFILES): Add vasprintf.o.
10179 * functions.def: Remove vasprintf.
10180
10181 Wed Sep 14 17:04:55 1994 Ian Lance Taylor (ian (a] sanguine.cygnus.com)
10182
10183 * xmalloc.c (first_break): New static variable.
10184 (xmalloc_set_program_name): Record sbrk (0) in first_break.
10185 (xmalloc): If memory allocation fails, try to report how much
10186 memory was allocated by the program up to this point.
10187 (xrealloc): Likewise.
10188
10189 Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe (a] pegasus.esprit.ec.org)
10190
10191 * Makefile.in (ERRORS_CC): New variable, defaulted to $(CC). Use it
10192 when linking dummy.
10193 * config.table: Add host RISCiX Makefile frag.
10194 * config/mh-riscix: New file.
10195
10196 Thu Aug 25 17:29:44 1994 Ian Lance Taylor (ian (a] sanguine.cygnus.com)
10197
10198 * Makefile.in (FLAGS_TO_PASS): Define.
10199 ($(RULE1)): Use $(FLAGS_TO_PASS).
10200
10201 Wed Aug 24 17:08:47 1994 Ian Lance Taylor (ian (a] sanguine.cygnus.com)
10202
10203 * vasprintf.c: Include <string.h>.
10204 (vasprintf): Add casts to void for va_arg to avoid gcc warnings.
10205 * xatexit.c: Declare malloc.
10206
10207 Fri Aug 19 15:29:12 1994 Kung Hsu (kung (a] mexican.cygnus.com)
10208
10209 * cplus-dem.c (demangle_args): Fix a bug in previous patch (the
10210 one below).
10211
10212 Thu Aug 18 14:37:14 1994 Kung Hsu (kung (a] mexican.cygnus.com)
10213
10214 * cplus-dem.c (demangle args): Handle ARM repeat encoding where
10215 the type index is greater than 9.
10216
10217 Wed Aug 17 16:13:49 1994 Kung Hsu (kung (a] mexican.cygnus.com)
10218
10219 * cplus-dem.c (demangle_qualified): accept optional '_' between
10220 qualified name. This is baecause the template name may end with
10221 numeric and can mixed up with the length of next qualified name.
10222
10223 Wed Aug 3 05:52:14 1994 D. V. Henkel-Wallace (gumby (a] cygnus.com)
10224
10225 * config/mt-sunos4: Use our standard location for cross-includes
10226 and cross-libs when the target is also a "host" environment (ie no
10227 newlib; includes and such don't belong to us). This is specific
10228 to the Cygnus Support environment.
10229
10230 Tue Aug 2 15:25:12 1994 Kung Hsu (kung (a] mexican.cygnus.com)
10231
10232 * cplus-dem.c (demangle_template): demangle as xxx<'Q'> not
10233 xxx<ch=81>.
10234
10235 Mon Aug 1 17:02:48 1994 Kung Hsu (kung (a] mexican.cygnus.com)
10236
10237 * cplus-dem.c (main): flush stdout to make pipe work.
10238
10239 Sat Jul 16 12:56:32 1994 Stan Shebs (shebs (a] andros.cygnus.com)
10240
10241 * config.table (*-*-cxux7*): Recognize.
10242 * floatformat.c (floatformat_m88110_ext) [HARRIS_FLOAT_FORMAT]:
10243 Harris-specific float format.
10244 * config/mh-cxux7: New file.
10245
10246 Wed Jun 29 00:26:17 1994 Peter Schauer (pes (a] regent.e-technik.tu-muenchen.de)
10247
10248 * cplus-dem.c (demangle_template): Make sure that the result of
10249 consume_count doesn't index beyond the end of the string.
10250
10251 Mon Jun 20 23:54:37 1994 Peter Schauer (pes (a] regent.e-technik.tu-muenchen.de)
10252
10253 * cplus-dem.c (gnu_special): Handle vtable mangling of gcc-2.4.5 and
10254 earlier. Improve test for new vtable mangling. Change output back
10255 to `virtual table'.
10256
10257 Mon Jun 20 11:37:30 1994 Ian Lance Taylor (ian (a] sanguine.cygnus.com)
10258
10259 * obstack.c: Always compile this code, even if using the GNU
10260 library. Avoids problems with relatively recent binary
10261 incompatibility.
10262
10263 Thu Jun 16 17:54:01 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com)
10264
10265 * cplus-dem.c: Include libiberty.h.
10266 (xmalloc, xrealloc, free): Don't declare.
10267 (strstr): Don't declare parameters.
10268 (xmalloc, xrealloc): Don't define.
10269 (long_options): Add no-strip-underscores.
10270 (main): Call xmalloc_set_program_name. Pass n in short options to
10271 getopt_long. Handle option 'n' to not strip underscores.
10272 (usage): Mention -n and --no-strip-underscores.
10273
10274 Sun Jun 12 01:37:09 1994 Jason Merrill (jason (a] deneb.cygnus.com)
10275
10276 * cplus-dem.c (demangle_template): Separate consecutive >'s with a
10277 space.
10278 (gnu_special): Demangle template and qualified names in a vtable name.
10279
10280 Fri May 27 12:27:52 1994 Ken Raeburn (raeburn (a] cujo.cygnus.com)
10281
10282 From gas-2.3 and binutils-2.4 net releases:
10283
10284 Wed May 11 22:32:00 1994 DJ Delorie (dj (a] ctron.com)
10285
10286 * makefile.dos: [new] Makefile for dos/go32
10287 * configure.bat: update for latest files
10288 * msdos.c: remove some functions now in libc.a
10289
10290 Fri May 20 18:53:32 1994 Per Bothner (bothner (a] kalessin.cygnus.com)
10291
10292 * cplus-dem.c (gnu_special): Recognize thunks, as well as
10293 the new naming style for vtables (when -fvtable-thunks).
10294
10295 Wed May 18 13:34:06 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com)
10296
10297 * Makefile.in (XTRAFLAGS): Don't define.
10298 (.c.o, dummy.o): Don't use XTRAFLAGS.
10299 ($(RULE1)): Don't pass XTRAFLAGS down in recursive call.
10300
10301 Fri May 13 16:02:12 1994 Jim Kingdon (kingdon (a] lioth.cygnus.com)
10302
10303 * vasprintf.c: New file.
10304 * Makefile.in, functions.def: Add it.
10305
10306 Fri May 13 16:20:28 1994 Jason Merrill (jason (a] deneb.cygnus.com)
10307
10308 * cplus-dem.c (demangle_fund_type): Grok bool.
10309
10310 Fri May 6 14:44:21 1994 Steve Chamberlain (sac (a] cygnus.com)
10311
10312 * config.table: Add go32
10313 * config/mh-go32: New template.
10314
10315 Fri May 6 11:01:59 1994 D. V. Henkel-Wallace (gumby (a] rtl.cygnus.com)
10316
10317 * config.table, config/mt-sunos4: config for when sun4 is cross target.
10318
10319 Mon Apr 11 00:54:33 1994 Richard Stallman (rms (a] mole.gnu.ai.mit.edu)
10320
10321 * getopt.c [not __GNU_LIBRARY__] [__GCC__] [not __STDC__]:
10322 Declare strlen to return int. Don't include stddef.h.
10323
10324 Fri Apr 1 00:38:17 1994 Jim Wilson (wilson (a] mole.gnu.ai.mit.edu)
10325
10326 * getopt.c: Delete use of IN_GCC to control whether
10327 stddef.h or gstddef.h is included.
10328
10329 Thu Apr 14 14:00:56 1994 Kung Hsu (kung (a] mexican.cygnus.com)
10330
10331 * cplus-dem.c (demangle_signature): Fix a bug in template function
10332 type numbering.
10333
10334 Wed Apr 13 17:23:03 1994 Kung Hsu (kung (a] mexican.cygnus.com)
10335
10336 * cplus-dem.c (demangle_signature): Fix template function with arm
10337 style argument type number, Tn.
10338
10339 Wed Apr 13 17:11:15 1994 Jason Merrill (jason (a] deneb.cygnus.com)
10340
10341 * cplus-dem.c (optable): Add new[] and delete[].
10342
10343 Fri Apr 8 11:21:42 1994 Jim Kingdon (kingdon (a] deneb.cygnus.com)
10344
10345 * argv.c (buildargv): Don't produce empty argument just because
10346 there is trailing whitespace.
10347
10348 Wed Apr 6 11:42:14 1994 Kung Hsu (kung (a] mexican.cygnus.com)
10349
10350 * cplus-dem.c (demangle_template): fix 'Q' qualified name bug.
10351 Handle 'p' same as 'P'.
10352 * cplus-dem.c (do_type): Handle 'p' same as 'P'.
10353
10354 Sat Mar 26 12:00:13 1994 Peter Schauer (pes (a] regent.e-technik.tu-muenchen.de)
10355
10356 * floatformat.c (get_field, put_field): Fix off by one error in
10357 little endian case.
10358
10359 Thu Mar 24 10:40:19 1994 Jim Kingdon (kingdon (a] lioth.cygnus.com)
10360
10361 * floatformat.c (floatformat_from_double): Pass unsigned char *,
10362 not char *, to put_field.
10363
10364 Fri Mar 18 12:34:33 1994 Per Bothner (bothner (a] kalessin.cygnus.com)
10365
10366 * memmove.c: Re-wrote; placed in public domain.
10367
10368 Wed Mar 16 10:33:07 1994 Jim Kingdon (kingdon (a] lioth.cygnus.com)
10369
10370 * cplus-dem.c (demangle_prefix): If ARM demangling, don't treat
10371 __Q* as a constructor.
10372
10373 Mon Mar 14 12:26:02 1994 Ian Lance Taylor (ian (a] cygnus.com)
10374
10375 * ieee-float.c: Removed; no longer used.
10376 * Makefile.in: Changed accordingly.
10377
10378 Mon Mar 7 12:28:17 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com)
10379
10380 * floatformat.c (get_field): Removed unused local variable i.
10381 (put_field): Removed unused local variable i.
10382
10383 Sun Feb 27 21:50:11 1994 Jim Kingdon (kingdon (a] deneb.cygnus.com)
10384
10385 * floatformat.c: New file, intended to replace ieee-float.c.
10386 * Makefile.in: Change accordingly.
10387
10388 Thu Feb 24 11:51:12 1994 David J. Mackenzie (djm (a] rtl.cygnus.com)
10389
10390 * getopt.c: Remove #ifdef GETOPT_COMPAT and #if 0 code.
10391 (_getopt_initialize): New function, broken out of _getopt_internal.
10392 (_getopt_internal):
10393 If long_only and the ARGV-element has the form "-f", where f is
10394 a valid short option, don't consider it an abbreviated form of
10395 a long option that starts with f. Otherwise there would be no
10396 way to give the -f short option.
10397
10398 Thu Feb 10 14:44:16 1994 Richard Stallman (rms (a] mole.gnu.ai.mit.edu)
10399
10400 * getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]:
10401 Test just __STDC__, not emacs.
10402
10403 Wed Feb 9 00:14:00 1994 Richard Stallman (rms (a] mole.gnu.ai.mit.edu)
10404
10405 * getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]
10406 [emacs] [not __STDC__]: Don't include stddef.h. Don't declare strlen.
10407
10408 Fri Dec 24 19:43:00 1993 Noah Friedman (friedman (a] nutrimat.gnu.ai.mit.edu)
10409
10410 * getopt.c (_NO_PROTO): Define before config.h is included.
10411
10412 Mon Sep 20 15:59:03 1993 Roland McGrath (roland (a] churchy.gnu.ai.mit.edu)
10413
10414 * getopt.c, getopt1.c [emacs || CONFIG_BROKETS]: Include
10415 <config.h> only under these, else "config.h".
10416
10417 Thu Aug 12 18:16:49 1993 Roland McGrath (roland (a] churchy.gnu.ai.mit.edu)
10418
10419 * getopt.c, getopt1.c [HAVE_CONFIG_H]: Include
10420 <config.h> instead of "config.h".
10421
10422 Sun Feb 20 17:17:01 1994 Ian Lance Taylor (ian (a] lisa.cygnus.com)
10423
10424 * concat.c: Check ANSI_PROTOTYPES rather than __STDC__ to decide
10425 whether to use prototypes or not.
10426 * strerror.c (const): Never undefine; let ansidecl.h handle it.
10427 * strsignal.c (const): Likewise.
10428
10429 Thu Feb 17 13:27:35 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com)
10430
10431 * xatexit.c (_xexit_cleanup): Declare as extern; don't initialize.
10432 Merging common and initialized variables need not be supported by
10433 ANSI C compilers.
10434 (xatexit): Initialize _xexit_cleanup if not already set.
10435 * xexit.c: Comment fix.
10436
10437 Wed Feb 16 01:15:36 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com)
10438
10439 * xmalloc.c: Don't declare xexit; it's declared in libiberty.h.
10440 (xrealloc): If oldmem is NULL, allocate with malloc, rather than
10441 assuming that realloc works correctly.
10442
10443 Tue Feb 15 09:26:16 1994 Peter Schauer (pes (a] regent.e-technik.tu-muenchen.de)
10444
10445 * concat.c, ieee-float.c: Replace inclusion of <string.h>
10446 with explicit function declarations, as recommended by Ian Taylor.
10447
10448 Sat Feb 12 10:31:11 1994 David J. Mackenzie (djm (a] rtl.cygnus.com)
10449
10450 * xmalloc.c (xmalloc, xrealloc): Use PTR and size_t throughout.
10451 (malloc, realloc): Declare.
10452
10453 Thu Feb 10 17:08:19 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com)
10454
10455 * argv.c, basename.c: Include ansidecl.h and libiberty.h.
10456 * concat.c, fdmatch.c, getruntime.c, spaces.c: Likewise.
10457 * strerror.c, strsignal.c, xatexit.c, xexit.c: Likewise.
10458 * xmalloc.c: Likewise.
10459 * concat.c: Don't declare xmalloc. If __STDC__, use <stdarg.h>
10460 macros, not <varargs.h> macros.
10461 * spaces.c (spaces): Make return type const. Don't crash if
10462 malloc returns NULL.
10463 * strerror.c (struct error_info): Make name and msg fields const.
10464 (error_names): Make const.
10465 (strerrno): Make const.
10466 (strtoerrno): Make argument const.
10467 * strsignal.c (struct signal_info): Make name and msg fields
10468 const.
10469 (signal_names, sys_siglist): Make const.
10470 (strsignal, strsigno): Make const.
10471 (strtosigno): Make argument const.
10472 * xatexit.c: Declare parameter types.
10473 * xmalloc.c (name): Make const.
10474 (xmalloc_set_program_name): Make argument const.
10475 * Makefile.in (INCDIR): Define.
10476 (.c.o): Use $(INCDIR).
10477 (dummy.o): Likewise.
10478 (argv.o, basename.o): New targets; depend on libiberty.h.
10479 (concat.o, fdmatch.o, getruntime.o, spaces.o): Likewise.
10480 (strerror.o, strsignal.o, xatexit.o, xexit.o): Likewise.
10481 (xmalloc.o): Likewise.
10482 (cplus-dem.o): New target; depend on demangle.h.
10483 (getopt.o, getopt1.o): New targets; depend on getopt.h.
10484 (ieee-float.o): New target; depend on ieee-float.h.
10485 (obstack.o): New target; depend on obstack.h.
10486
10487 Tue Feb 8 05:29:08 1994 David J. Mackenzie (djm (a] thepub.cygnus.com)
10488
10489 Handle obstack_chunk_alloc returning NULL. This allows
10490 obstacks to be used by libraries, without forcing them
10491 to call exit or longjmp.
10492 * obstack.c (_obstack_begin, _obstack_begin_1, _obstack_newchunk):
10493 If CALL_CHUNKFUN returns NULL, set alloc_failed, else clear it.
10494 (_obstack_begin, _obstack_begin_1): Return 1 if successful, 0 if not.
10495
10496 Tue Feb 8 00:32:28 1994 Peter Schauer (pes (a] regent.e-technik.tu-muenchen.de)
10497
10498 * concat.c, ieee-float.c: Include <string.h>.
10499
10500 Sun Feb 6 21:28:46 1994 David J. Mackenzie (djm (a] thepub.cygnus.com)
10501
10502 * xmalloc.c (xmalloc_set_program_name): New function.
10503 (xmalloc, xrealloc): Include the name in the error message, if set.
10504
10505 * Replace atexit.c with xatexit.c.
10506 * Makefile.in (CFILES), functions.def: Change references.
10507
10508 Sat Feb 5 14:02:32 1994 Stan Shebs (shebs (a] andros.cygnus.com)
10509
10510 * getruntime.c (get_run_time): Use getrusage or times if
10511 HAVE_GETRUSAGE or HAVE_TIMES are defined.
10512
10513 Fri Feb 4 15:49:38 1994 David J. Mackenzie (djm (a] thepub.cygnus.com)
10514
10515 * atexit.c: New file.
10516 * Makefile.in (CFILES), functions.def: Add it.
10517 * xexit.c: New file.
10518 * Makefile.in (CFILES, REQUIRED_OFILES): Add it.
10519 * xmalloc.c (xmalloc, xrealloc): Call xexit instead of exit.
10520 Change request for 0 bytes into request for 1 byte.
10521
10522 Wed Feb 2 11:36:49 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com)
10523
10524 * xmalloc.c (xmalloc, xrealloc): Print size using %lu, and cast to
10525 unsigned long, to avoid warnings.
10526
10527 Fri Jan 28 17:49:06 1994 Ken Raeburn (raeburn (a] cujo.cygnus.com)
10528
10529 * dummy.c: Don't include time.h ever; always define clock_t as
10530 "unsigned long". Until gcc/fixincludes ensures that clock_t
10531 exists, __STDC__ isn't a sufficient test. And if clock() doesn't
10532 exist, clock_t probably doesn't either.
10533
10534 Mon Jan 24 11:52:31 1994 Stan Shebs (shebs (a] andros.cygnus.com)
10535
10536 * clock.c, getruntime.c: New files.
10537 * Makefile.in: Add to file lists.
10538 * functions.def (clock): Add to list.
10539 * dummy.c (time.h): Add if __STDC__.
10540 (clock_t): #define as "unsigned long" if not __STDC__.
10541
10542 Tue Jan 11 11:27:44 1994 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com)
10543
10544 * strtod.c: Declare atof. From edler (a] jan.ultra.nyu.edu (Jan
10545 Edler).
10546
10547 Tue Dec 28 14:17:30 1993 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com)
10548
10549 * Makefile.in (errors): Use CFLAGS as well as LDFLAGS when
10550 linking.
10551
10552 Fri Dec 17 12:26:07 1993 Kung Hsu (kung (a] cirdan.cygnus.com)
10553
10554 * cplus-dem.c (demangle_arm_pt): New function. Common code
10555 for ARM template demangling.
10556 * cplus-dem.c (demangle_class_name): Use demangle_arm_pt.
10557 * cplus-dem.c (demangle_prefix): Likewise.
10558
10559 Tue Nov 30 15:47:48 1993 Jason Merrill (jason (a] deneb.cygnus.com)
10560
10561 * cplus-dem.c (cplus_demangle_opname): Add CONST to please gcc.
10562
10563 Sat Nov 27 11:05:50 1993 Fred Fish (fnf (a] cygnus.com)
10564
10565 Merge changes from tom (a] basil.icce.rug.nl (Tom R.Hageman)
10566 * strerror.c, strsignal.c: As a small space optimization, don't
10567 include messages when they aren't actually used.
10568
10569 Merge changes from takefive.co.at!joe (Josef Leherbauer)
10570 * cplus-dem.c (demangle_prefix, demangle_function_name,
10571 cplus_demangle_opname): Fixes for systems where cplus_marker
10572 is something other than '$'.
10573
10574 Fri Nov 26 13:51:11 1993 Per Bothner (bothner (a] kalessin.cygnus.com)
10575
10576 * waitpid.c: Simple-minded approcimation to waitpid
10577 using vanilla wait.
10578 * functions.def, Makefile.in: Update accordingly,
10579
10580 Thu Nov 18 18:01:15 1993 Kung Hsu (kung (a] cirdan.cygnus.com)
10581
10582 * cplus-dem.c(demangle_template): fix bug template instantiation
10583 with value of user defined type.
10584
10585 Wed Nov 17 18:30:21 1993 Kung Hsu (kung (a] cirdan.cygnus.com)
10586
10587 * cplus-dem.c(cplus_demangle_opname): add the subject new function
10588 to support unified search of operator in class.
10589
10590 Wed Nov 10 09:47:22 1993 Jim Kingdon (kingdon (a] lioth.cygnus.com)
10591
10592 gcc -Wall lint:
10593 * strtoul.c (strtoul): use "(digit = *s) != '\0'" not just
10594 "digit = *s" as condition in while loop.
10595
10596 Tue Nov 9 15:52:22 1993 Mark Eichin (eichin (a] cygnus.com)
10597
10598 * Makefile.in: pass SHELL to recursive make
10599
10600 Thu Nov 4 12:09:26 1993 Per Bothner (bothner (a] kalessin.cygnus.com)
10601
10602 * vfprintf.c, vprintf.c, vsprintf.c: Make format arg
10603 be (const char*), for ANSI (and gcc w/fixproto) consistency.
10604
10605 Thu Nov 4 08:29:04 1993 Jim Kingdon (kingdon (a] lioth.cygnus.com)
10606
10607 * config.table: Make *-*-hiux* use mh-hpux.
10608
10609 Fri Oct 22 07:53:15 1993 Jim Kingdon (kingdon (a] lioth.cygnus.com)
10610
10611 * config.table: Add * to end of all OS names.
10612
10613 Tue Oct 19 17:12:01 1993 david d `zoo' zuhn (zoo (a] rtl.cygnus.com)
10614
10615 * Makefile.in (lneeded-list): ensure that object file names are
10616 not duplicated, as multiple instances of the same object file in
10617 a library causes problems on some machines
10618
10619 Mon Oct 18 21:59:28 1993 Jim Kingdon (kingdon (a] lioth.cygnus.com)
10620
10621 * strcasecmp.c, strncasecmp.c: Change u_char to unsigned char.
10622
10623 Fri Oct 15 22:17:11 1993 david d `zoo' zuhn (zoo (a] rtl.cygnus.com)
10624
10625 * strncasecmp.c: new file, implements strncasecmp
10626 * strcasecmp.c: new file, implement strcasecmp
10627
10628 * Makefile.in (CFILES): list these two new source files
10629
10630 * functions.def: add strcasecmp and strncasecmp entries
10631
10632 Fri Oct 15 14:53:05 1993 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com)
10633
10634 * strtoul.c (strtoul), strtol.c (strtol): Handle overflow
10635 according to ANSI C.
10636
10637 Thu Oct 14 16:34:19 1993 Kung Hsu (kung (a] cirdan.cygnus.com)
10638
10639 * cplus-dem.c: add support of ARM global constructor/destructor,
10640 and 'G' for passing record or union in parameter.
10641
10642 Wed Oct 13 13:36:19 1993 Jim Kingdon (kingdon (a] lioth.cygnus.com)
10643
10644 * Makefile.in: Fix comment to clarify that stuff in REQUIRED_OFILES
10645 should not be in functions.def.
10646
10647 Wed Oct 13 13:13:38 1993 Ian Lance Taylor (ian (a] tweedledumb.cygnus.com)
10648
10649 * functions.def: Removed xmalloc. Stuff in REQUIRED_OFILES should
10650 not be in functions.def.
10651
10652 Mon Oct 4 18:26:39 1993 Kung Hsu (kung (a] cirdan.cygnus.com)
10653
10654 * cplus-dem.c: change globl constructor/destructor to proper name
10655
10656 Tue Sep 28 18:11:07 1993 Kung Hsu (kung (a] cirdan.cygnus.com)
10657
10658 * cplus-dem.c: fix bug in constructor/destructor
10659
10660 Tue Sep 28 16:20:49 1993 Kung Hsu (kung (a] cirdan.cygnus.com)
10661
10662 * cplus-dem.c: support both old and new _vt$... vtbl mangled names
10663
10664 Fri Sep 24 19:07:16 1993 Jason Merrill (jason (a] deneb.cygnus.com)
10665
10666 * cplus-dem.c: Fix demangle_template prototype
10667
10668 Fri Sep 24 17:32:55 1993 Kung Hsu (kung (a] cirdan.cygnus.com)
10669
10670 * cplus-dem.c: fix template demangling
10671 * cplus-dem.c: fix const type demangling
10672 * cplus-dem.c: fix constructor/destructor, virtual table,
10673 qualifier, global constructor/destructor demangling
10674
10675 Wed Sep 1 23:13:11 1993 Jim Kingdon (kingdon (a] lioth.cygnus.com)
10676
10677 * strsignal.c, strerror.c: Use fully-bracketed initializer to
10678 keep gcc -Wall happy.
10679
10680 Fri Aug 27 10:30:09 1993 Jason Merrill (jason (a] deneb.cygnus.com)
10681
10682 * cplus-dem.c (do_type): Add CONSTS to make gcc happy with last
10683 patch.
10684
10685 Fri Aug 27 11:24:54 1993 Jim Kingdon (kingdon (a] lioth.cygnus.com)
10686
10687 Patch from Paul Flinders:
10688 * cplus-dem.c (do_type): Deal with arrays.
10689
10690 Tue Aug 24 14:23:50 1993 Jim Kingdon (kingdon (a] lioth.cygnus.com)
10691
10692 * cplus-dem.c (demangle_qualified: Deal with GNU format for more
10693 than 9 classes.
10694
10695 Wed Aug 18 19:50:29 1993 Jason Merrill (jason (a] deneb.cygnus.com)
10696
10697 * Makefile.in (dummy.o): Redirect to /dev/null to avoid "variable
10698 not initialized" warnings under HP/UX
10699
10700 Sun Aug 15 20:42:40 1993 Jim Kingdon (kingdon (a] lioth.cygnus.com)
10701
10702 * strerror.c: Move include of stdio.h after sys_errlist #define.
10703 Also remove NULL definition (stdio.h always defines NULL, so it
10704 never did anything but clutter up the code).
10705
10706 Sat Aug 14 14:21:49 1993 david d `zoo' zuhn (zoo (a] rtl.cygnus.com)
10707
10708 * Makefile.in, functions.def: handle xmalloc.c
10709
10710 * xmalloc.c: provide xmalloc and xrealloc functions
10711
10712 Thu Aug 12 17:38:57 1993 David J. Mackenzie (djm (a] thepub.cygnus.com)
10713
10714 * cplus-dem.c: Fix a comment.
10715
10716 Sat Aug 7 13:56:35 1993 David J. Mackenzie (djm (a] thepub.cygnus.com)
10717
10718 * getopt1.c: Declare const the way getopt.c does.
10719
10720 Fri Aug 6 17:03:13 1993 David J. Mackenzie (djm (a] thepub.cygnus.com)
10721
10722 * obstack.c, alloca.c: Update from FSF.
10723 * getopt.c, getopt1.c: Update to current FSF version, which
10724 doesn't use alloca.
10725
10726 Tue Jul 27 14:03:57 1993 Brendan Kehoe (brendan (a] lisa.cygnus.com)
10727
10728 * Makefile.in (demangle): Add the target with a message saying
10729 where demangle went.
10730
10731 Mon Jul 26 15:49:54 1993 Jim Kingdon (kingdon (a] lioth.cygnus.com)
10732
10733 * Makefile.in: Remove obsolete `demangle' target.
10734
10735 Thu Jul 22 08:31:01 1993 Fred Fish (fnf (a] deneb.cygnus.com)
10736
10737 * cplus-dem.c (arm_special): Apply patch from arg (a] lucid.com to
10738 avoid infinite loop on vtbl symbols with disambiguating "junk"
10739 tacked on the end.
10740
10741 Mon Jul 19 14:10:37 1993 david d `zoo' zuhn (zoo (a] rtl.cygnus.com)
10742
10743 * strsignal.c: work around some systems losing definitions of
10744 sys_siglist
10745
10746 * config/mh-lynxos: this system has a losing definition of
10747 sys_siglist
10748
10749 * config.table: use mh-lynxos for *-*-lynxos
10750
10751 Mon Jul 19 17:08:52 1993 Ken Raeburn (raeburn (a] rtl.cygnus.com)
10752
10753 * config.table: Add support for HPPA BSD hosts.
10754
10755 * config/mh-hpbsd: New file.
10756
10757 Mon Jul 12 18:00:40 1993 K. Richard Pixley (rich (a] cygnus.com)
10758
10759 * Makefile.in (TAGS): make work when srcdir != objdir.
10760
10761 Sun Jun 27 15:35:31 1993 David J. Mackenzie (djm (a] thepub.cygnus.com)
10762
10763 * cplus-dem.c (main): Add long options, including --help and
10764 --version.
10765 (usage): New function from code in main.
10766
10767 Tue Jun 22 11:37:38 1993 Per Bothner (bothner (a] deneb.cygnus.com)
10768
10769 * config.table: New shell scipt, sourced by both ./configure,in
10770 and ../xiberty/configure.in, to avoid maintainance lossages.
10771 * configure.in and ../xiberty/configure.in: Use config.table.
10772
10773 * configure.in: Don't use mh-aix for AIX 3.2, only for 3.1.
10774 * configure.in: Map *-*-irix* (except irix4) to mh-sysv.
10775 * ../xiberty/configure.in: Update from ./configure.in.
10776
10777 Tue Jun 15 17:05:31 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
10778
10779 * Makefile.in: remove parentdir support
10780
10781 Wed May 26 12:59:09 1993 Peter Schauer (pes (a] regent.e-technik.tu-muenchen.de)
10782
10783 * cplus-dem.c (xrealloc): Match definition with prototype.
10784
10785 Tue May 25 14:27:51 1993 Peter Schauer (pes (a] regent.e-technik.tu-muenchen.de)
10786
10787 * cplus-dem.c (demangle_prefix): Demangle cfront
10788 local variables as an extension to ARM demangling.
10789
10790 Fri May 21 09:53:57 1993 Jim Kingdon (kingdon (a] lioth.cygnus.com)
10791
10792 * ieee-float.c: Don't require pointers to double to be aligned.
10793
10794 Tue May 18 17:12:10 1993 Fred Fish (fnf (a] cygnus.com)
10795
10796 (merge changes from dlong (a] cse.ucsc.edu)
10797 * cplus-dem.c (consume_count): Simplify.
10798 * cplus-dem.c (arm_pt, demangle_class_name): New functions.
10799 * cplus-dem.c (various): Calls to arm_pt, demangle_class_name.
10800
10801 * cplus-dem.c (xmalloc, xrealloc, strstr): Make extern decls into
10802 full prototypes.
10803 * cplus-dem.c (free): Add prototype.
10804 * cplus-dem.c (optable): Fully bracketize initializer.
10805
10806 Fri May 14 17:13:05 1993 Per Bothner (bothner (a] cygnus.com)
10807
10808 * cplus-dem.c: Whether initial underscores are stripped
10809 depends on the external variable prepends_underscore
10810 (which is generated by the binutils Makefile).
10811
10812 Fri May 14 07:32:20 1993 Ken Raeburn (raeburn (a] deneb.cygnus.com)
10813
10814 * cplus-dem.c (mop_up, arm_special): Remove some unused variables.
10815
10816 Tue May 4 20:31:59 1993 Fred Fish (fnf (a] cygnus.com)
10817
10818 * cplus-dem.c (consume_count): Return zero if arg does not
10819 start with digit, and don't consume any input.
10820
10821 Tue May 4 08:10:28 1993 Jim Kingdon (kingdon (a] cygnus.com)
10822
10823 * Makefile.in (demangle): Use ${srcdir} not $^.
10824
10825 * strtod.c: New file, needed at least for BSD 4.3.
10826
10827 Sun May 2 11:30:42 1993 Fred Fish (fnf (a] cygnus.com)
10828
10829 * strsignal.c (sys_siglist): For ANSI compilations, type is
10830 "const char *const". Also remove conditionalization on __STDC__
10831 since const is defined away for non-ANSI.
10832
10833 Wed Apr 28 19:29:55 1993 Ken Raeburn (raeburn (a] deneb.cygnus.com)
10834
10835 * configure.in: Recognize *-*-hpux.
10836 * config/mh-hpux: New file.
10837
10838 Tue Apr 27 15:22:19 1993 Per Bothner (bothner (a] cygnus.com)
10839
10840 * tmpnam.c: Added ANSI tmpnam() function.
10841 * functions.def, Makefile.in: Update accordingly.
10842
10843 Tue Apr 27 13:38:38 1993 Peter Schauer (pes (a] regent.e-technik.tu-muenchen.de)
10844
10845 * cplus-dem.c (demangle_function_name): Get the demangling of
10846 stop__1A right.
10847
10848 Fri Apr 16 23:48:24 1993 Jim Kingdon (kingdon at calvin)
10849
10850 * cplus-dem.c: Declare strstr return type.
10851
10852 Fri Mar 26 12:01:26 1993 Jim Kingdon (kingdon (a] cygnus.com)
10853
10854 * strsignal.c: Add some AIX signals.
10855
10856 Thu Mar 25 15:17:23 1993 Ian Lance Taylor (ian (a] cygnus.com)
10857
10858 * Makefile.in (MAKEOVERRIDES): Define to be empty.
10859
10860 Wed Mar 24 01:59:25 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
10861
10862 * Makefile.in: add installcheck & dvi targets
10863
10864 Thu Mar 18 14:05:44 1993 Per Bothner (bothner (a] rtl.cygnus.com)
10865
10866 * ieee-float.c: New file, moved from ../gdb (since it is
10867 needed by ../opcode/m68k-dis.c).
10868
10869 Tue Mar 2 17:47:31 1993 Fred Fish (fnf (a] cygnus.com)
10870
10871 * cplus-dem.c: Replace all references to cfront with ARM.
10872
10873 Fri Feb 26 00:17:07 1993 Per Bothner (bothner (a] rtl.cygnus.com)
10874
10875 * cplus-dem.c: Fix main program (when compiled with -DMAIN)
10876 to be more useful as a filter.
10877
10878 Sat Feb 20 21:41:39 1993 Brendan Kehoe (brendan (a] lisa.cygnus.com)
10879
10880 * Makefile.in (install_to_libdir, install_to_tooldir): Go into the
10881 destination directory before running $(RANLIB), in case that
10882 program tries to create a file in the current directory as part of
10883 its work.
10884
10885 Thu Feb 18 23:00:19 1993 John Gilmore (gnu (a] cygnus.com)
10886
10887 * strsignal.c (sys_siglist): Remove yet another *%^&%&$# "const"
10888 because BSD 4.4 lacks one. Isn't this fun?
10889
10890 Thu Feb 18 11:24:25 1993 Fred Fish (fnf (a] cygnus.com)
10891
10892 * cplus-dem.c (demangle_signature): Set func_done after
10893 demangling a template.
10894 * cplus-dem.c (demangle_template): Fix several small bugs
10895 in demangling GNU style templates.
10896 * cplus-dem.c (demangle_prefix): Fix for templates in GNU
10897 style constructors.
10898 * cplus-dem.c (gnu_special): Fix for templates in GNU style
10899 static data members.
10900
10901 Tue Feb 16 17:28:35 1993 Fred Fish (fnf (a] cygnus.com)
10902
10903 * cplus-dem.c (demangle_signature): Modify to include type
10904 modifiers like static and const in remembered types.
10905
10906 Thu Feb 11 22:20:47 1993 Fred Fish (fnf (a] cygnus.com)
10907
10908 * cplus-dem.c (demangled_qualified): Add new parameter that tells
10909 whether to prepend or append the qualifiers.
10910 * cplus-dem.c (string_prepends): Used now, remove #if 0.
10911 * cplus-dem.c (demangle_signature): Call demangle_qualified
10912 with prepending.
10913 * cplus-dem.c (gnu_special): Recognize static data members that
10914 use qualified names.
10915 * cplus-dem.c (demangle_qualified): Accumulate qualifiers in a
10916 temporary buffer and the prepend or append them to the result,
10917 as specified by the new "append" flag.
10918 * cplus-dem.c (do_type): Call demangled_qualified with
10919 appending.
10920
10921 Mon Dec 28 10:47:19 1992 Ken Raeburn (raeburn (a] cygnus.com)
10922
10923 * strsignal.c (signal_table): Now const.
10924 (init_signal_tables): Variable eip now points to const.
10925
10926 * strerror.c (error_table): Now const.
10927 (init_error_tables): Variable eip now points to const.
10928
10929 Tue Dec 15 15:36:50 1992 Per Bothner (bothner (a] cygnus.com)
10930
10931 * memchr.c (memchr): New (ANSI standard) function.
10932 * Makefile.in, functions.def: Added memchr.
10933 * Makefile.in (AR_FLAGS): Use rc instad of non-standard cq.
10934
10935 Wed Dec 2 22:49:10 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
10936
10937 * getopt.c: remove use of USG around <alloca.h>, which never meant
10938 anything anyway
10939
10940 * config/mh-{aix,apollo68,ncr3000,sysv,sysv4}: removed definitions
10941 of USG and USGr4
10942
10943 Thu Nov 19 03:09:33 1992 Brendan Kehoe (brendan (a] lisa.cygnus.com)
10944
10945 * cplus-dem.c (demangle_fund_type): Recognize `w', a wide character;
10946 it's now a type according to the ANSI X3J16 working paper; output
10947 "wchar_t" for it.
10948 (demangle_template): Accept `w' as an integral type.
10949 (xmalloc, xrealloc): Use `char *', not `PTR'. Cast calls to their
10950 counterparts malloc and realloc to `char *'.
10951 (main): Exit with a 0 status.
10952 * Makefile.in (demangle): Don't expect the user to define
10953 DEMANGLE, instead force to be cplus-dem.c. Look in $(srcdir)/../include
10954 for demangle.h. Pass it any HDEFINES or XTRAFLAGS.
10955
10956 Wed Nov 18 18:56:20 1992 John Gilmore (gnu (a] cygnus.com)
10957
10958 * Makefile.in (AR_FLAGS): Avoid verbosity.
10959 * config/mh-sysv4: Remove AR_FLAGS override, use INSTALL=cp,
10960 replace USGr4 with HAVE_SYSCONF.
10961 * config/mh-solaris: Remove; mh-sysv4 works now.
10962 * getpagesize.c: Replace USGr4 with HAVE_SYSCONF.
10963 * configure.in: Simplify host matching table, remove separate
10964 solaris config file.
10965
10966 Sun Nov 15 09:35:16 1992 Fred Fish (fnf (a] cygnus.com)
10967
10968 * configure.in (i[34]86-*-solaris2*): Add, use mh-sysv4.
10969
10970 Tue Nov 3 21:27:03 1992 Brendan Kehoe (brendan (a] cygnus.com)
10971
10972 * cplus-dem.c (xmalloc, xrealloc): Add decls.
10973 (remember_type): Don't cast xmalloc.
10974 (string_need): Likewise; don't cast xrealloc either.
10975
10976 Fri Oct 23 08:52:01 1992 Ian Lance Taylor (ian (a] cygnus.com)
10977
10978 * Makefile.in, functions.defs, rename.c: added simple
10979 implementation of rename, since some binutils programs use it.
10980
10981 Thu Oct 15 15:18:22 1992 Per Bothner (bothner (a] cygnus.com)
10982
10983 * strsignal.c: Add appropriate 'const' to sys_siglist
10984 extern declaration (if __STDC__). (Needed for Linux.)
10985 * strsignal.c (strsignal): Add cast to remove const-ness.
10986
10987 Fri Oct 9 03:22:55 1992 John Gilmore (gnu (a] cygnus.com)
10988
10989 * Makefile.in (needed.awk, needed2.awk): Remove erroneous \'s
10990 before "'s, diagnosed by BSD 4.4 awk.
10991
10992 Thu Oct 8 15:25:12 1992 Ian Lance Taylor (ian (a] cygnus.com)
10993
10994 * Makefile.in: create config.h and needed-list through $(CONFIG_H)
10995 and $(NEEDED_LIST), to give some hooks for xiberty.
10996
10997 Thu Oct 1 23:31:42 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
10998
10999 * configure.in: use cpu-vendor-triple instead of nested cases
11000
11001 Wed Sep 30 11:26:59 1992 Per Bothner (bothner (a] rtl.cygnus.com)
11002
11003 * Makefile.in, argv.c, basename.c, bcmp.c, bcopy.c, bzero.c,
11004 concat.c, cplus-dem.c, fdmatch.c, getcwd.c, getopt.c, getopt1.c,
11005 getpagesize.c, insque.c, memcmp.c, memcpy.c, memmove.c, memset.c,
11006 obstack.c, sigsetmask.c, spaces.c, strchr.c, strerror.c,
11007 strrchr.c, strsignal.c, strstr.c, vfork.c, vsprintf.c:
11008 Convert from using GPL to LGPL.
11009
11010 Sat Sep 26 04:01:30 1992 John Gilmore (gnu (a] cygnus.com)
11011
11012 * Makefile.in (errors): Leave dummy.o and dummy around so that
11013 we can see how the needed list was generated (it's sometimes wrong).
11014 (mostlyclean): Remove them.
11015
11016 Mon Sep 21 14:50:42 1992 Ian Lance Taylor (ian (a] cygnus.com)
11017
11018 * getcwd.c: supply a default if MAXPATHLEN is not defined.
11019
11020 * config/mh-irix4: set EXTRA_OFILES to alloca.o, from WRS.
11021
11022 Wed Sep 9 12:41:48 1992 Ian Lance Taylor (ian (a] cygnus.com)
11023
11024 * Makefile.in: Use XTRAFLAGS when compiling, so that xiberty works
11025 when cross-compiling.
11026
11027 Thu Sep 3 13:29:39 1992 K. Richard Pixley (rich (a] sendai.cygnus.com)
11028
11029 * cplus-dem.c: (demangle_prefix): reduction in strength of strstr
11030 as a time optimization.
11031
11032 * cplus-dem.c (cplus_demangle): remove strpbrk test. Appears to
11033 be more expensive than simply demangling.
11034
11035 * cplus-dem.c (cplus_match): new function.
11036
11037 Tue Sep 1 15:24:04 1992 Per Bothner (bothner (a] rtl.cygnus.com)
11038
11039 * cplus-dem.c: #include <stdio.h>, to define NULL.
11040 Define current_demangling_style.
11041
11042 Sun Aug 30 17:58:19 1992 Per Bothner (bothner (a] rtl.cygnus.com)
11043
11044 * cplus-dem.c: New file, moved from ../gdb.
11045 * cplus-dem.c (set_cplus_marker_for_demangling): New exported
11046 function, to avoid compiling in target-dependency for CPLUS_MARKER.
11047 * cplus-dem.c (cplus_demangle): Allow demangling style option
11048 to be passed as a parameter, but using the global variable
11049 current_demangling_style as a default.
11050 * Makefile.in: Update for cplus-dem.c
11051
11052 Sat Aug 29 10:44:09 1992 Fred Fish (fnf (a] cygnus.com)
11053
11054 * obstack.c: Merge in comment changes from FSF version. Now
11055 matches the FSF version exactly.
11056
11057 Fri Aug 28 18:39:08 1992 John Gilmore (gnu (a] cygnus.com)
11058
11059 * obstack.c (CALL_FREEFUN): Can't use ?: with void values (at
11060 least on losing DECstations!); use if-then-else instead.
11061
11062 Wed Aug 19 14:40:34 1992 Ian Lance Taylor (ian (a] cygnus.com)
11063
11064 * Makefile.in: always create installation directories.
11065
11066 Mon Aug 10 17:33:40 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
11067
11068 * Makefile.in: clean up definition of CFILES, more comments
11069
11070 Sat Aug 8 23:10:59 1992 Fred Fish (fnf (a] cygnus.com)
11071
11072 * getopt.c (my_index): Make first arg const to match strchr,
11073 which it sometimes is remapped to.
11074
11075 Sat Aug 1 13:48:50 1992 Fred Fish (fnf (a] cygnus.com)
11076
11077 * obstack.c (DEFAULT_ALIGNMENT): Update to match FSF version.
11078 * obstack.c (_obstack_begin): Initialize use_extra_arg.
11079 * obstack.c (_obstack_begin_1): New, from FSF version.
11080
11081 Mon Jul 20 21:07:58 1992 Fred Fish (fnf (a] cygnus.com)
11082
11083 * obstack.c (CALL_CHECKFUN, CALL_FREEFUN): Use use_extra_arg and
11084 extra_arg.
11085 * obstack.c (_obstack_begin): Remove area_id and flags arguments
11086 (previously added for mmalloc support, interface has changed).
11087 Also convert flags usage to use use_extra_arg and maybe_empty_object.
11088
11089 Fri Jul 10 00:41:53 1992 Fred Fish (fnf (a] cygnus.com)
11090
11091 * argv.c: Move expandargv inline and eliminate static variables.
11092 Rewrite to always allocate in powers of two. Fix to return an
11093 argv with a single null string arg if passed a null string.
11094
11095 Fri Jul 3 20:27:29 1992 Fred Fish (fnf (a] cygnus.com)
11096
11097 * random.c, sigsetmask.c, strerror.c, strsignal.c: Remove
11098 "(void)" casts from function calls where the return value is
11099 ignored, in accordance with GNU coding standards.
11100
11101 Mon Jun 29 10:54:19 1992 Fred Fish (fnf at cygnus.com)
11102
11103 * bcopy.c, strerror.c, strsignal.c: Lint.
11104
11105 Thu Jun 25 09:18:41 1992 K. Richard Pixley (rich (a] rtl.cygnus.com)
11106
11107 * getopt.c: merge changes from make.
11108
11109 Thu Jun 25 04:43:22 1992 John Gilmore (gnu at cygnus.com)
11110
11111 * alloca.c: Incorporate fixes from gdb/alloca.c.
11112 FIXME: Eventually move gdb's alloca configuration files here,
11113 and remove gdb/alloca.c and its Makefile.in support.
11114
11115 Tue Jun 23 21:56:30 1992 Fred Fish (fnf (a] cygnus.com)
11116
11117 * dummy.c: Define NOTHING to /*nothing*/, change return type
11118 of main to int and return zero.
11119 * functions.def: Supply NOTHING as the fourth arg to macros
11120 that don't have an explicit arg, to satisfy picky preprocessors.
11121
11122 Wed Jun 17 18:13:58 1992 Per Bothner (bothner (a] rtl.cygnus.com)
11123
11124 * Makefile.in: Clean up *clean rules, as per standards.texi.
11125
11126 Tue Jun 16 16:11:59 1992 K. Richard Pixley (rich (a] rtl.cygnus.com)
11127
11128 * getopt.c, getopt1.c: merged largely gratuitous, mostly
11129 whitespace diffs from other prep distributions.
11130
11131 Mon Jun 15 12:25:46 1992 Fred Fish (fnf (a] cygnus.com)
11132
11133 * config/mh-ncr3000 (INSTALL): Don't use /usr/ucb/install,
11134 it is broken on ncr 3000's.
11135
11136 Mon Jun 15 01:03:26 1992 John Gilmore (gnu at cygnus.com)
11137
11138 * sigsetmask.c: Rewrite. Old one was very confused about its
11139 arguments and result. New one can't do much, but at least knows
11140 what it can't do, and it's good enough for GDB's use.
11141
11142 Sun Jun 14 15:17:40 1992 Stu Grossman (grossman at cygnus.com)
11143
11144 * functions.def: Use proper prototype for strtoul.
11145
11146 Fri Jun 12 19:22:40 1992 John Gilmore (gnu at cygnus.com)
11147
11148 * Makefile.in: Add random.c.
11149 * config/mh-*: Use "true" rather than "echo >/dev/null" for ranlib.
11150 * configure.in: update solaris2 config.
11151
11152 Wed Jun 10 16:31:29 1992 Fred Fish (fnf (a] cygnus.com)
11153
11154 * random.c: Add for random() and srandom().
11155 * functions.def: Add random
11156
11157 Tue Jun 9 17:27:18 1992 Fred Fish (fnf (a] cygnus.com)
11158
11159 * config/{mh-ncr3000, mh-sysv4}: Add definition for INSTALL
11160 using /usr/ucb/install.
11161
11162 Mon Jun 1 13:20:17 1992 Per Bothner (bothner (a] rtl.cygnus.com)
11163
11164 * strerror.c: Kludge to guard against a conflict with
11165 possible declaration of sys_errlist in errno.h.
11166
11167 Sun May 31 15:07:47 1992 Mark Eichin (eichin at cygnus.com)
11168
11169 * configure.in, config/mh-solaris: add solaris2 config support.
11170
11171 Fri May 29 17:23:23 1992 Per Bothner (bothner (a] rtl.cygnus.com)
11172
11173 * sigsetmask.c: #ifdef out sigsetmask if SIG_SETMASK
11174 is not defined (should be defined in signal.h, says Posix.).
11175
11176 Mon May 18 17:35:04 1992 K. Richard Pixley (rich (a] cygnus.com)
11177
11178 * getopt.c: merged changes from make-3.62.11.
11179
11180 Fri May 8 14:53:07 1992 K. Richard Pixley (rich (a] cygnus.com)
11181
11182 * getopt.c: merged changes from bison-1.18.
11183
11184 Tue May 5 11:51:40 1992 Per Bothner (bothner (a] rtl.cygnus.com)
11185
11186 * Makefile.in: Don't have $(EXTRA_OFILES) depend on config.h,
11187 since that introduces a circular dependency.
11188 ($(EXTRA_OFILES) are used to build config.h.)
11189
11190 * strtoul.c: Fixes to handle non-decimal bases better.
11191
11192 Wed Apr 22 09:27:51 1992 Fred Fish (fnf (a] cygnus.com)
11193
11194 * config/mh-ncr3000: Replace MINUS_G with CFLAGS.
11195 * Makefile.dos: Finish MINUS_G eradication.
11196 * Makefile.in (CFILES): Add strsignal.c.
11197 * Makefile.in (REQUIRED_OFILES): Add strerror.o strsignal.o
11198 * Makefile.in (needed-list): Split creation of errors file to
11199 separate make target.
11200 * Makefile.in (config.h, needed2.awk, errors): New targets.
11201 * Makefile.in (clean): Split to multiple lines, add needed2.awk
11202 and config.h.
11203 * dummy.c (DEFFUNC, DEFVAR): Add defines and undefs.
11204 * functions.def (strerror): Remove from optional list.
11205 * functions.def (sys_nerr, sys_errlist, sys_siglist): DEFVAR's
11206 * functions.def (strerror, psignal): DEFFUNC's
11207 * strerror.c: Rewrite from scratch to use sys_errlist only if
11208 available, add errno_max(), add strerrno(), add strtoerrno(),
11209 add test driver.
11210 * strsignal.c: New file, signal equivalent to strerror.c.
11211 Uses sys_siglist if available, defines signo_max(), strsignal(),
11212 strsigno(), strtosigno(), psignal(), and test driver.
11213
11214 Mon Apr 20 20:49:32 1992 K. Richard Pixley (rich (a] cygnus.com)
11215
11216 * Makefile.in: do not print recursion line.
11217
11218 * Makefile.in: allow CFLAGS to be passed in from command line.
11219 Removed MINUS_G. Default CFLAGS to -g.
11220
11221 Mon Apr 20 12:57:46 1992 Per Bothner (bothner (a] rtl.cygnus.com)
11222
11223 * config/mh-aix: New. EXTRA_OFILES lists copysign.o,
11224 so libg++ users don't have to be inconvenienced by a
11225 libc.a bug (libc.a needs copysign, but doesn't define it!).
11226 * configure.in: Use config/mh-aix.
11227 * strtoul.c: Handle '-' as required by ANSI.
11228 Clean up radix handling.
11229 * strstr.c: Fix buggy algorithm.
11230 * Makefile.in: Change so that ${EXTRA_OFILES} is
11231 appended to needed-list (which is used by libg++).
11232
11233 Fri Apr 10 22:51:41 1992 Fred Fish (fnf (a] cygnus.com)
11234
11235 * configure.in: Recognize new ncr3000 config.
11236 * config/mh-ncr3000: New config file.
11237
11238 Wed Apr 1 23:31:43 1992 John Gilmore (gnu at cygnus.com)
11239
11240 * argv.c, dummy.c: Lint.
11241
11242 Tue Mar 31 18:46:44 1992 Fred Fish (fnf (a] cygnus.com)
11243
11244 * config/mh-sysv4: New config file.
11245 * configure.in (host_makefile_frag): Set to config/mh-sysv4 for
11246 host_os == sysv4.
11247 * getpagesize.c: For SVR4, use sysconf(_SC_PAGESIZE) to get
11248 pagesize.
11249
11250 Sun Mar 29 12:26:42 1992 John Gilmore (gnu at cygnus.com)
11251
11252 * getopt.c: Lint.
11253
11254 Fri Mar 27 08:32:55 1992 Fred Fish (fnf (a] cygnus.com)
11255
11256 * functions.def (alloca): Fix return type and args to avoid
11257 type clash with gcc's builtin alloca.
11258
11259 Tue Mar 24 23:33:42 1992 K. Richard Pixley (rich (a] cygnus.com)
11260
11261 * configure.in, config/mh-irix4: irix4 support.
11262
11263 * Makefile.in, functions.def, alloca.c: added alloca.
11264
11265 Tue Mar 24 17:34:46 1992 Stu Grossman (grossman at cygnus.com)
11266
11267 * obstack.c (CALL_FREEFUN): Make it compile on DECstations.
11268
11269 Thu Mar 19 13:57:42 1992 Fred Fish (fnf (a] cygnus.com)
11270
11271 * argv.c: Fix various external function definitions to be
11272 correct in an ANSI compilation environment.
11273
11274 Sat Mar 14 17:28:17 1992 Fred Fish (fnf (a] cygnus.com)
11275
11276 * obstack.c: Changes to support calling mmalloc functions,
11277 which take an additional argument over malloc functions.
11278
11279 Fri Mar 6 22:01:10 1992 K. Richard Pixley (rich (a] cygnus.com)
11280
11281 * added check target.
11282
11283 Thu Feb 27 22:19:39 1992 Per Bothner (bothner (a] cygnus.com)
11284
11285 * argv.c: #include alloca-conf.h (needed by AIX).
11286
11287 Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich (a] cygnus.com)
11288
11289 * Makefile.in, configure.in: removed traces of namesubdir,
11290 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
11291 copyrights to '92, changed some from Cygnus to FSF.
11292
11293 Sat Feb 22 01:09:21 1992 Stu Grossman (grossman at cygnus.com)
11294
11295 * argv.c: Check in Fred's version which fixes problems with
11296 alloca().
11297
11298 Fri Feb 7 21:46:08 1992 Stu Grossman (grossman at cygnus.com)
11299
11300 * makefile.dos: Remove NUL to keep patch from failing.
11301
11302 Thu Jan 30 22:48:41 1992 Stu Grossman (grossman at cygnus.com)
11303
11304 * getopt.c (_getopt_internal): Fix usage of enum has_arg.
11305
11306 Mon Jan 20 18:53:23 1992 Stu Grossman (grossman at cygnus.com)
11307
11308 * getopt.c, getopt1.c, ../include/getopt.h: Get latest versions.
11309
11310 Sat Jan 18 16:53:01 1992 Fred Fish (fnf at cygnus.com)
11311
11312 * argv.c: New file to build and destroy standard argument
11313 vectors from a command string.
11314
11315 * Makefile.in: Add argv.c and argv.o to appropriate macros.
11316
11317 Fri Dec 20 12:12:57 1991 Fred Fish (fnf at cygnus.com)
11318
11319 * configure.in: Change svr4 references to sysv4.
11320
11321 * rindex.c: Declare return type of externally used function
11322 strrchr().
11323
11324 Thu Dec 19 18:35:03 1991 John Gilmore (gnu at cygnus.com)
11325
11326 * Makefile.in: Remove "***" in normal output, since Make produces
11327 this on errors, and it's convenient to search for.
11328
11329 Tue Dec 17 23:21:30 1991 Per Bothner (bothner at cygnus.com)
11330
11331 * memcmp.c, memcpy.c, memmove.c, memset.c, strchr.c, strrchr.c:
11332 New ANSI functions. The old non-ANSI functions (such as bcopy)
11333 should be avoided.
11334 * bcopy.c: Fix to correctly handle overlapping regions.
11335 * index.c, rindex.c: Re-write in terms of strchr() and strrchr().
11336 * functions.def: Add the new functions.
11337 * functions.def: Add 4th parameter to DEF macro,
11338 an ansidecl.h-style prototype.
11339 * dummy.c: Use expanded DEF macro to create a dummy function
11340 call, with correct parameter types. (This avoids some
11341 complaints from gcc about predefined builtins.)
11342
11343 Move the functionality of config/mh-default into Makefile.in.
11344 This avoid duplication, and simplifies things slightly.
11345 * Makefile.in: Tweak so we don't need config/mh-default.
11346 * README: Update.
11347 * configure.in: No longer need config/mh-default.
11348 * config/mh-default: Deleted.
11349 * config/mh-sysv: Remove lines copied from old mh-default.
11350
11351 Tue Dec 17 05:46:46 1991 John Gilmore (gnu at cygnus.com)
11352
11353 * fdmatch.c (fdmatch): Don't compare st_rdev, which is for
11354 'mknod' device numbers.
11355
11356 Mon Dec 16 12:25:34 1991 Fred Fish (fnf at cygnus.com)
11357
11358 * fdmatch.c, Makefile.in: Add new function that takes two
11359 open file descriptors and returns nonzero if they refer to
11360 the same file, zero otherwise. (used in gdb)
11361
11362 Wed Dec 11 17:40:39 1991 Steve Chamberlain (sac at rtl.cygnus.com)
11363 From DJ:
11364 * msdos.c: stub functions for dos.
11365 * makefile.dos, configdj.bat: new.
11366 * getopt.c: Don't include alloca-conf.h in a GO32 world.
11367
11368
11369 Tue Dec 10 04:14:49 1991 K. Richard Pixley (rich at rtl.cygnus.com)
11370
11371 * Makefile.in: infodir belongs in datadir.
11372
11373 Fri Dec 6 23:26:45 1991 K. Richard Pixley (rich at rtl.cygnus.com)
11374
11375 * Makefile.in: remove spaces following hyphens because bsd make
11376 can't cope. added standards.text support. install using
11377 INSTALL_DATA.
11378
11379 * configure.in: remove commontargets as it is no longer a
11380 recognized hook.
11381
11382 Thu Dec 5 22:46:46 1991 K. Richard Pixley (rich at rtl.cygnus.com)
11383
11384 * Makefile.in: idestdir and ddestdir go away. Added copyrights
11385 and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
11386 and mandir now keyed off datadir by default.
11387
11388 Fri Nov 22 19:15:29 1991 John Gilmore (gnu at cygnus.com)
11389
11390 * Makefile.in: find-needed.awk does not fit in 14 chars.
11391
11392 * Makefile.in: Suppress error checking when compiling the test
11393 program, because Ultrix make/sh aborts there due to a bug.
11394
11395 Fri Nov 22 12:23:17 1991 Per Bothner (bothner at cygnus.com)
11396
11397 * Makefile.in: Re-did how EXTRA_OFILES is used to be more useful.
11398 * README: Explained how the auto-configuration works,
11399 and how to add new files and/or configurations.
11400
11401 Fri Nov 22 09:45:23 1991 John Gilmore (gnu at cygnus.com)
11402
11403 * strtoul.c: Avoid defining ULONG_MAX if already defined;
11404 cast a const char * to char * for pedants.
11405
11406 * getopt.c: Only define "const" after local include files get to,
11407 and only if they haven't defined it.
11408
11409 Thu Nov 21 16:58:53 1991 John Gilmore (gnu at cygnus.com)
11410
11411 * getcwd.c (remove getwd.c): GNU code should call getcwd(). We
11412 emulate it with getwd() if available. This avoids callers having
11413 to find a MAXPATHLEN or PATH_MAX value from somewhere.
11414 * Makefile.in, functions.def: getwd->getcwd.
11415 * configure.in: Use generic case for every system.
11416 * config/mh-{delta88,mach,rs6000,svr4}: Remove.
11417 * config/mh-sysv: Use default handling, just add -DUSG.
11418
11419 Thu Nov 14 10:58:05 1991 Per Bothner (bothner at cygnus.com)
11420
11421 * Makefile.in, config/mh-default: Re-do make magic
11422 so that for the default ("automatic") mode we only
11423 compile the files we actually need. Do this using
11424 a recursive make: The top-level generates the list
11425 of needed files (loosely, the ones missing in libc),
11426 and then passes that list to the recursive make.
11427 * config/mh-mach: Remove obsolete STRERROR-{C,O} macros.
11428
11429 Tue Nov 12 19:10:57 1991 John Gilmore (gnu at cygnus.com)
11430
11431 RS/6000 host support (grumble).
11432
11433 * configure.in: Build alloca-conf.h file from alloca-norm.h
11434 (everything else) or alloca-botch.h (rs/6000).
11435 * Makefile.in: Include . on the include path.
11436 * getopt.c: Use alloca-conf.h.
11437 * alloca-norm.h: How to declare alloca on reasonable machines.
11438 * alloca-botch.h: How to declare alloca on braindead machines.
11439
11440 Tue Nov 12 09:21:48 1991 Fred Fish (fnf at cygnus.com)
11441
11442 * concat.c : New file, like concat() in gdb but can take a
11443 variable number of arguments rather than fixed at 3 args. For
11444 now, client applications must supply an xmalloc(), which is a
11445 front end function to malloc() that deals with out-of-memory
11446 conditions.
11447
11448 * Makefile.in: Add concat.c and concat.o to appropriate macros.
11449
11450 Sat Nov 9 13:29:59 1991 Fred Fish (fnf at cygnus.com)
11451
11452 * config/mh-svr4: Add sigsetmask to list of required functions.
11453
11454 Sun Nov 3 11:57:56 1991 Per Bothner (bothner at cygnus.com)
11455
11456 * vsprintf.c: New file.
11457 * functions.def, Makefile.in: Add vsprintf.
11458
11459 Sun Oct 27 16:31:22 1991 John Gilmore (gnu at cygnus.com)
11460
11461 * configure.in, config/mh-rs6000: Add rs/6000 host support.
11462 * Makefile.in: Compile with debug info.
11463
11464 Fri Oct 25 17:01:12 1991 Per Bothner (bothner at cygnus.com)
11465
11466 * Makefile.in, configure.in, and new files: dummy.c, functions.def,
11467 config/mf-default: Added a default configuration mode,
11468 which includes into libiberty.a functions that are "missing" in libc.
11469 * strdup.c, vprintf.c, vfprintf.c: New files.
11470
11471 Thu Oct 24 02:29:26 1991 Fred Fish (fnf at cygnus.com)
11472
11473 * config/hmake-svr4: New file.
11474
11475 * config/hmake-sysv: Add HOST_CFILES and HOST_OFILES.
11476
11477 * basename.c, bcmp.c, bcopy.c, bzero.c, getpagesize.c getwd.c,
11478 index.c, insque.c, rindex.c, spaces.c, strstr.c, vfork.c: New
11479 files containing either portable C versions or emulations using
11480 native library calls.
11481
11482 * strerror.c: Add copyright, internal documentation, etc.
11483
11484 * strtol.c: Replace hardwired hex constants with some more
11485 portable macros. Remove illegal (according to gcc) cast.
11486
11487 * strtoul.c: Replace hardwired hex constant with more portable
11488 macro.
11489
11490 * Makefile.in: Move TARGETLIB and CFLAGS where makefile fragments
11491 can override them. Add new source and object file names to CFILES
11492 and OFILES respectively.
11493
11494 * configure.in: Add support for SVR4 makefile fragments.
11495
11496 Tue Oct 22 19:00:23 1991 Steve Chamberlain (steve at cygnus.com)
11497
11498 * Makefile.in: Move RANLIB, AR and AR_FLAGS to where they can be
11499 over-ridden by config/hmake-*
11500 * configure.in: added m88kcvs to sysv list
11501
11502 Fri Oct 4 01:29:08 1991 John Gilmore (gnu at cygnus.com)
11503
11504 * Makefile.in: Most hosts need strerror, but one or two don't,
11505 and they override these definitions in the host-dependent makefile
11506 fragment.
11507 * config/hmake-mach: The odd man out on strerror -- it's supplied.
11508 * strerror.c: New file.
11509
11510 * strtol.c, strtoul.c: Add strtol to libiberty, since Mach lacks
11511 it and bfd uses it.
11512 * configure.in, Makefile.in, config/hmake-mach: Only configure
11513 strtol & strotoul in on Mach.
11514
11515 Tue Sep 3 06:36:23 1991 John Gilmore (gnu at cygint.cygnus.com)
11516
11517 * obstack.c: Merge with latest FSF version.
11518
11519
11521 Local Variables:
11522 version-control: never
11523 End:
11524